diff --git a/config.yaml b/config.yaml index 73cc4be77..86d2bece2 100644 --- a/config.yaml +++ b/config.yaml @@ -2,7 +2,7 @@ # should be ignored. packages: - googleapis: - version: 13.2.0-wip + version: 13.2.0 repository: https://github.com/google/googleapis.dart/tree/master/generated/googleapis readme: resources/README.md license: resources/LICENSE @@ -28,6 +28,7 @@ packages: - adsensehost:v4.1 # https://developers.google.com/adsense/host/ - advisorynotifications:v1 - aiplatform:v1 + - airquality:v1 - alloydb:v1 - analytics:v3 # https://developers.google.com/analytics/ - analyticshub:v1 @@ -75,6 +76,7 @@ packages: - cloudbuild:v1 # https://cloud.google.com/container-builder/docs/ - cloudbuild:v2 - cloudchannel:v1 + - cloudcommerceprocurement:v1 - cloudcontrolspartner:v1 - clouddeploy:v1 - cloudfunctions:v1 # https://cloud.google.com/functions/docs/ @@ -217,6 +219,7 @@ packages: - policyanalyzer:v1 - policysimulator:v1 - policytroubleshooter:v1 + - pollen:v1 - privateca:v1 - publicca:v1 - pubsub:v1 # https://cloud.google.com/pubsub/ @@ -388,6 +391,7 @@ skipped_apis: - deploymentmanager:v2beta # v1 included - dialogflow:v2beta1 # v2 included - dialogflow:v3beta1 # v3 included +- apim:v1alpha - discoveryengine:v1 # https://cloud.google.com/discovery-engine/media/docs - discoveryengine:v1alpha - discoveryengine:v1beta @@ -419,6 +423,16 @@ skipped_apis: - managedidentities:v1beta1 # v1 included - marketingplatformadmin:v1alpha - memcache:v1beta2 # v1 included +- merchantapi:accounts_v1beta +- merchantapi:conversions_v1beta +- merchantapi:datasources_v1beta +- merchantapi:inventories_v1beta +- merchantapi:lfp_v1beta +- merchantapi:notifications_v1beta +- merchantapi:products_v1beta +- merchantapi:promotions_v1beta +- merchantapi:quota_v1beta +- merchantapi:reports_v1beta - metastore:v1alpha # v1beta included - metastore:v1beta - migrationcenter:v1alpha1 diff --git a/discovery/googleapis/abusiveexperiencereport__v1.json b/discovery/googleapis/abusiveexperiencereport__v1.json index f55f3d201..307dd6fe6 100644 --- a/discovery/googleapis/abusiveexperiencereport__v1.json +++ b/discovery/googleapis/abusiveexperiencereport__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240610", "rootUrl": "https://abusiveexperiencereport.googleapis.com/", "servicePath": "", "title": "Abusive Experience Report API", diff --git a/discovery/googleapis/acceleratedmobilepageurl__v1.json b/discovery/googleapis/acceleratedmobilepageurl__v1.json index 848a870e6..d68b57dfd 100644 --- a/discovery/googleapis/acceleratedmobilepageurl__v1.json +++ b/discovery/googleapis/acceleratedmobilepageurl__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://acceleratedmobilepageurl.googleapis.com/", "servicePath": "", "title": "Accelerated Mobile Pages (AMP) URL API", diff --git a/discovery/googleapis/accessapproval__v1.json b/discovery/googleapis/accessapproval__v1.json index 2fb7b164f..cbfc7a362 100644 --- a/discovery/googleapis/accessapproval__v1.json +++ b/discovery/googleapis/accessapproval__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240524", + "revision": "20240607", "rootUrl": "https://accessapproval.googleapis.com/", "servicePath": "", "title": "Access Approval API", @@ -987,6 +987,22 @@ "format": "int32", "type": "integer" }, + "requestScopeMaxWidthPreference": { + "description": "Optional. A setting to indicate the maximum width of an Access Approval request.", + "enum": [ + "REQUEST_SCOPE_MAX_WIDTH_PREFERENCE_UNSPECIFIED", + "ORGANIZATION", + "FOLDER", + "PROJECT" + ], + "enumDescriptions": [ + "Default value for proto, shouldn't be used.", + "This is the widest scope possible. It means the customer has no scope restriction when it comes to Access Approval requests.", + "Customer allows the scope of Access Approval requests as broad as the Folder level.", + "Customer allows the scope of Access Approval requests as broad as the Project level." + ], + "type": "string" + }, "requireCustomerVisibleJustification": { "description": "Optional. A setting to require approval request justifications to be customer visible.", "type": "boolean" diff --git a/discovery/googleapis/accesscontextmanager__v1.json b/discovery/googleapis/accesscontextmanager__v1.json index 6590b773e..fb8f2ed69 100644 --- a/discovery/googleapis/accesscontextmanager__v1.json +++ b/discovery/googleapis/accesscontextmanager__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240527", + "revision": "20240605", "rootUrl": "https://accesscontextmanager.googleapis.com/", "servicePath": "", "title": "Access Context Manager API", diff --git a/discovery/googleapis/acmedns__v1.json b/discovery/googleapis/acmedns__v1.json index 698fba2de..615cc5496 100644 --- a/discovery/googleapis/acmedns__v1.json +++ b/discovery/googleapis/acmedns__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://acmedns.googleapis.com/", "servicePath": "", "title": "ACME DNS API", diff --git a/discovery/googleapis/addressvalidation__v1.json b/discovery/googleapis/addressvalidation__v1.json index 8c0d74245..f0e5716f1 100644 --- a/discovery/googleapis/addressvalidation__v1.json +++ b/discovery/googleapis/addressvalidation__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://addressvalidation.googleapis.com/", "servicePath": "", "title": "Address Validation API", diff --git a/discovery/googleapis/adexperiencereport__v1.json b/discovery/googleapis/adexperiencereport__v1.json index f7454ce21..ac1979c36 100644 --- a/discovery/googleapis/adexperiencereport__v1.json +++ b/discovery/googleapis/adexperiencereport__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240610", "rootUrl": "https://adexperiencereport.googleapis.com/", "servicePath": "", "title": "Ad Experience Report API", diff --git a/discovery/googleapis/admin__datatransfer_v1.json b/discovery/googleapis/admin__datatransfer_v1.json index 657bdd78e..4ffaebd87 100644 --- a/discovery/googleapis/admin__datatransfer_v1.json +++ b/discovery/googleapis/admin__datatransfer_v1.json @@ -29,7 +29,7 @@ "ownerName": "Google", "packagePath": "admin", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://admin.googleapis.com/", "servicePath": "", "title": "Admin SDK API", diff --git a/discovery/googleapis/admin__directory_v1.json b/discovery/googleapis/admin__directory_v1.json index 256d023ec..7e0fea747 100644 --- a/discovery/googleapis/admin__directory_v1.json +++ b/discovery/googleapis/admin__directory_v1.json @@ -110,7 +110,7 @@ "ownerName": "Google", "packagePath": "admin", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://admin.googleapis.com/", "servicePath": "", "title": "Admin SDK API", @@ -406,7 +406,7 @@ }, "maxResults": { "default": "100", - "description": "Maximum number of results to return, value should not exceed 300.", + "description": "Maximum number of results to return. Value should not exceed 300.", "format": "int32", "location": "query", "minimum": "1", @@ -3970,12 +3970,12 @@ "type": "string" }, "customer": { - "description": "The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users) resource. You must provide either the `customer` or the `domain` parameter.", + "description": "The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all users for a customer, use this field instead of `domain`. You can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](/admin-sdk/directory/v1/reference/users) resource. You must provide either the `customer` or the `domain` parameter.", "location": "query", "type": "string" }, "domain": { - "description": "The domain name. Use this field to get groups from only one domain. To return all domains for a customer account, use the `customer` query parameter instead. Either the `customer` or the `domain` parameter must be provided.", + "description": "The domain name. Use this field to get users from only one domain. To return all domains for a customer account, use the `customer` query parameter instead. Either the `customer` or the `domain` parameter must be provided.", "location": "query", "type": "string" }, diff --git a/discovery/googleapis/admin__reports_v1.json b/discovery/googleapis/admin__reports_v1.json index 7396719ba..5365b7f7a 100644 --- a/discovery/googleapis/admin__reports_v1.json +++ b/discovery/googleapis/admin__reports_v1.json @@ -29,7 +29,7 @@ "ownerName": "Google", "packagePath": "admin", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://admin.googleapis.com/", "servicePath": "", "title": "Admin SDK API", diff --git a/discovery/googleapis/admob__v1.json b/discovery/googleapis/admob__v1.json index ec432fb28..105b9cadf 100644 --- a/discovery/googleapis/admob__v1.json +++ b/discovery/googleapis/admob__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240530", + "revision": "20240613", "rootUrl": "https://admob.googleapis.com/", "servicePath": "", "title": "AdMob API", diff --git a/discovery/googleapis/adsense__v2.json b/discovery/googleapis/adsense__v2.json index ee4ddf722..20a129c49 100644 --- a/discovery/googleapis/adsense__v2.json +++ b/discovery/googleapis/adsense__v2.json @@ -27,7 +27,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240530", + "revision": "20240613", "rootUrl": "https://adsense.googleapis.com/", "servicePath": "", "title": "AdSense Management API", diff --git a/discovery/googleapis/advisorynotifications__v1.json b/discovery/googleapis/advisorynotifications__v1.json index a8ef45e36..f38274ef4 100644 --- a/discovery/googleapis/advisorynotifications__v1.json +++ b/discovery/googleapis/advisorynotifications__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240609", "rootUrl": "https://advisorynotifications.googleapis.com/", "servicePath": "", "title": "Advisory Notifications API", diff --git a/discovery/googleapis/aiplatform__v1.json b/discovery/googleapis/aiplatform__v1.json index c5425bea3..a0bac6933 100644 --- a/discovery/googleapis/aiplatform__v1.json +++ b/discovery/googleapis/aiplatform__v1.json @@ -225,7 +225,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240609", "rootUrl": "https://aiplatform.googleapis.com/", "servicePath": "", "title": "Vertex AI API", @@ -3158,7 +3158,8 @@ "$ref": "GoogleCloudAiplatformV1DirectPredictResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ] }, "directRawPredict": { @@ -3186,7 +3187,8 @@ "$ref": "GoogleCloudAiplatformV1DirectRawPredictResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ] }, "explain": { @@ -3214,7 +3216,8 @@ "$ref": "GoogleCloudAiplatformV1ExplainResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ] }, "generateContent": { @@ -3242,7 +3245,8 @@ "$ref": "GoogleCloudAiplatformV1GenerateContentResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ] }, "get": { @@ -3409,7 +3413,8 @@ "$ref": "GoogleCloudAiplatformV1PredictResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ] }, "rawPredict": { @@ -3437,7 +3442,8 @@ "$ref": "GoogleApiHttpBody" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ] }, "serverStreamingPredict": { @@ -3465,7 +3471,8 @@ "$ref": "GoogleCloudAiplatformV1StreamingPredictResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ] }, "streamGenerateContent": { @@ -3493,7 +3500,8 @@ "$ref": "GoogleCloudAiplatformV1GenerateContentResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ] }, "streamRawPredict": { @@ -3521,7 +3529,8 @@ "$ref": "GoogleApiHttpBody" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ] }, "undeployModel": { @@ -11279,6 +11288,40 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "patch": { + "description": "Updates a NotebookRuntimeTemplate.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}", + "httpMethod": "PATCH", + "id": "aiplatform.projects.locations.notebookRuntimeTemplates.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The resource name of the NotebookRuntimeTemplate.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/notebookRuntimeTemplates/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Input format: `{paths: \"${updated_filed}\"}` Updatable fields: * `encryption_spec.kms_key_name`", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudAiplatformV1NotebookRuntimeTemplate" + }, + "response": { + "$ref": "GoogleCloudAiplatformV1NotebookRuntimeTemplate" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "setIamPolicy": { "description": "Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notebookRuntimeTemplates/{notebookRuntimeTemplatesId}:setIamPolicy", @@ -12480,7 +12523,8 @@ "$ref": "GoogleCloudAiplatformV1GenerateContentResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ] }, "predict": { @@ -12508,7 +12552,8 @@ "$ref": "GoogleCloudAiplatformV1PredictResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ] }, "rawPredict": { @@ -12536,7 +12581,8 @@ "$ref": "GoogleApiHttpBody" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ] }, "serverStreamingPredict": { @@ -12564,7 +12610,8 @@ "$ref": "GoogleCloudAiplatformV1StreamingPredictResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ] }, "streamGenerateContent": { @@ -12592,7 +12639,8 @@ "$ref": "GoogleCloudAiplatformV1GenerateContentResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ] }, "streamRawPredict": { @@ -12620,7 +12668,8 @@ "$ref": "GoogleApiHttpBody" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only" ] } } @@ -16243,122 +16292,6 @@ } }, "schemas": { - "CloudAiLargeModelsVisionFilteredText": { - "description": "Details for filtered input text.", - "id": "CloudAiLargeModelsVisionFilteredText", - "properties": { - "category": { - "description": "Filtered category", - "enum": [ - "RAI_CATEGORY_UNSPECIFIED", - "OBSCENE", - "SEXUALLY_EXPLICIT", - "IDENTITY_ATTACK", - "VIOLENCE_ABUSE", - "CSAI", - "SPII", - "CELEBRITY", - "FACE_IMG", - "WATERMARK_IMG", - "MEMORIZATION_IMG", - "CSAI_IMG", - "PORN_IMG", - "VIOLENCE_IMG", - "CHILD_IMG", - "TOXIC", - "SENSITIVE_WORD", - "PERSON_IMG", - "ICA_IMG", - "AGILE_ICA_IMG", - "SEXUAL_IMG", - "IU_IMG", - "RACY_IMG", - "PEDO_IMG", - "DEATH_HARM_TRAGEDY", - "HEALTH", - "FIREARMS_WEAPONS", - "RELIGIOUS_BELIEF", - "ILLICIT_DRUGS", - "WAR_CONFLICT", - "POLITICS", - "HATE_SYMBOL_IMG", - "CHILD_TEXT", - "DANGEROUS_CONTENT", - "RECITATION_TEXT", - "CELEBRITY_IMG", - "WATERMARK_IMG_REMOVAL", - "RAID_IMG" - ], - "enumDescriptions": [ - "", - "", - "Porn", - "Hate", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "Agile ICA label currently for evaluation only.", - "", - "", - "", - "", - "SafetyAttributes returned but not filtered on", - "", - "", - "", - "", - "", - "", - "End of list", - "", - "Text category from SafetyCat v3", - "", - "", - "Error message when user attempts to remove watermark from editing image", - "" - ], - "type": "string" - }, - "confidence": { - "description": "Confidence score", - "enum": [ - "CONFIDENCE_UNSPECIFIED", - "CONFIDENCE_LOW", - "CONFIDENCE_MEDIUM", - "CONFIDENCE_HIGH" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "prompt": { - "description": "Input prompt", - "type": "string" - }, - "score": { - "description": "Score for category", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, "CloudAiLargeModelsVisionGenerateVideoResponse": { "description": "Generate video response.", "id": "CloudAiLargeModelsVisionGenerateVideoResponse", @@ -16370,10 +16303,6 @@ }, "type": "array" }, - "raiErrorMessage": { - "description": "Returns rai error message for filtered videos.", - "type": "string" - }, "raiMediaFilteredCount": { "description": "Returns if any videos were filtered due to RAI policies.", "format": "int32", @@ -16385,10 +16314,6 @@ "type": "string" }, "type": "array" - }, - "raiTextFilteredReason": { - "$ref": "CloudAiLargeModelsVisionFilteredText", - "description": "Returns filtered text rai info." } }, "type": "object" @@ -16501,6 +16426,7 @@ "id": "CloudAiLargeModelsVisionRaiInfo", "properties": { "detectedLabels": { + "description": "The list of detected labels for different rai categories.", "items": { "$ref": "CloudAiLargeModelsVisionRaiInfoDetectedLabels" }, @@ -16525,27 +16451,75 @@ "type": "object" }, "CloudAiLargeModelsVisionRaiInfoDetectedLabels": { - "description": "Filters which return labels with confidence scores.", + "description": "Filters returning list of deteceted labels, scores, and bounding boxes.", "id": "CloudAiLargeModelsVisionRaiInfoDetectedLabels", "properties": { - "descriptions": { - "description": "Descriptions of the detected labels.", + "entities": { + "description": "The list of detected entities for the rai signal.", "items": { - "type": "string" + "$ref": "CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity" }, "type": "array" }, "raiCategory": { "description": "The RAI category for the deteceted labels.", "type": "string" + } + }, + "type": "object" + }, + "CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox": { + "description": "An integer bounding box of original pixels of the image for the detected labels.", + "id": "CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox", + "properties": { + "x1": { + "description": "The X coordinate of the top-left corner, in pixels.", + "format": "int32", + "type": "integer" }, - "scores": { - "description": "Confidence scores mapping to the labels.", - "items": { - "format": "float", - "type": "number" - }, - "type": "array" + "x2": { + "description": "The X coordinate of the bottom-right corner, in pixels.", + "format": "int32", + "type": "integer" + }, + "y1": { + "description": "The Y coordinate of the top-left corner, in pixels.", + "format": "int32", + "type": "integer" + }, + "y2": { + "description": "The Y coordinate of the bottom-right corner, in pixels.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity": { + "description": "The properties for a detected entity from the rai signal.", + "id": "CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity", + "properties": { + "boundingBox": { + "$ref": "CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox", + "description": "Bounding box of the label" + }, + "description": { + "description": "Description of the label", + "type": "string" + }, + "iouScore": { + "description": "The intersection ratio between the detection bounding box and the mask.", + "format": "float", + "type": "number" + }, + "mid": { + "description": "MID of the label", + "type": "string" + }, + "score": { + "description": "Confidence score of the label", + "format": "float", + "type": "number" } }, "type": "object" @@ -16583,6 +16557,75 @@ }, "type": "object" }, + "CloudAiPlatformCommonCreatePipelineJobApiErrorDetail": { + "description": "Create API error message for Vertex Pipeline. Next Id: 3.", + "id": "CloudAiPlatformCommonCreatePipelineJobApiErrorDetail", + "properties": { + "errorCause": { + "description": "The error root cause returned by CreatePipelineJob API.", + "enum": [ + "ERROR_CAUSE_UNSPECIFIED", + "INVALID_PIPELINE_SPEC_FORMAT", + "INVALID_PIPELINE_SPEC", + "INVALID_DEPLOYMENT_CONFIG", + "INVALID_DEPLOYMENT_SPEC", + "INVALID_INSTANCE_SCHEMA", + "INVALID_CUSTOM_JOB", + "INVALID_CONTAINER_SPEC", + "INVALID_NOTIFICATION_EMAIL_SETUP", + "INVALID_SERVICE_ACCOUNT_SETUP", + "INVALID_KMS_SETUP", + "INVALID_NETWORK_SETUP", + "INVALID_PIPELINE_TASK_SPEC", + "INVALID_PIPELINE_TASK_ARTIFACT", + "INVALID_IMPORTER_SPEC", + "INVALID_RESOLVER_SPEC", + "INVALID_RUNTIME_PARAMETERS", + "CLOUD_API_NOT_ENABLED", + "INVALID_GCS_INPUT_URI", + "INVALID_GCS_OUTPUT_URI", + "INVALID_COMPONENT_SPEC", + "INVALID_DAG_OUTPUTS_SPEC", + "INVALID_DAG_SPEC", + "INSUFFICIENT_QUOTA", + "INTERNAL" + ], + "enumDescriptions": [ + "Should never be used.", + "IR Pipeline Spec can not been parsed to yaml or json format.", + "A pipeline spec is invalid.", + "A deployment config is invalid.", + "A deployment spec is invalid.", + "An instance schema is invalid.", + "A custom job is invalid.", + "A container spec is invalid.", + "Notification email setup is invalid.", + "Service account setup is invalid.", + "KMS setup is invalid.", + "Network setup is invalid.", + "Task spec is invalid.", + "Task artifact is invalid.", + "Importer spec is invalid.", + "Resolver spec is invalid.", + "Runtime Parameters are invalid.", + "Cloud API not enabled.", + "Invalid GCS input uri", + "Invalid GCS output uri", + "Component spec of pipeline is invalid.", + "DagOutputsSpec is invalid.", + "DagSpec is invalid.", + "Project does not have enough quota.", + "An internal error with unknown cause." + ], + "type": "string" + }, + "publicMessage": { + "description": "Public messages contains actionable items for the error cause.", + "type": "string" + } + }, + "type": "object" + }, "GoogleApiHttpBody": { "description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", "id": "GoogleApiHttpBody", @@ -18949,6 +18992,142 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1DatasetDistribution": { + "description": "Distribution computed over a tuning dataset.", + "id": "GoogleCloudAiplatformV1DatasetDistribution", + "properties": { + "buckets": { + "description": "Output only. Defines the histogram bucket.", + "items": { + "$ref": "GoogleCloudAiplatformV1DatasetDistributionDistributionBucket" + }, + "readOnly": true, + "type": "array" + }, + "max": { + "description": "Output only. The maximum of the population values.", + "format": "double", + "readOnly": true, + "type": "number" + }, + "mean": { + "description": "Output only. The arithmetic mean of the values in the population.", + "format": "double", + "readOnly": true, + "type": "number" + }, + "median": { + "description": "Output only. The median of the values in the population.", + "format": "double", + "readOnly": true, + "type": "number" + }, + "min": { + "description": "Output only. The minimum of the population values.", + "format": "double", + "readOnly": true, + "type": "number" + }, + "p5": { + "description": "Output only. The 5th percentile of the values in the population.", + "format": "double", + "readOnly": true, + "type": "number" + }, + "p95": { + "description": "Output only. The 95th percentile of the values in the population.", + "format": "double", + "readOnly": true, + "type": "number" + }, + "sum": { + "description": "Output only. Sum of a given population of values.", + "format": "double", + "readOnly": true, + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1DatasetDistributionDistributionBucket": { + "description": "Dataset bucket used to create a histogram for the distribution given a population of values.", + "id": "GoogleCloudAiplatformV1DatasetDistributionDistributionBucket", + "properties": { + "count": { + "description": "Output only. Number of values in the bucket.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "left": { + "description": "Output only. Left bound of the bucket.", + "format": "double", + "readOnly": true, + "type": "number" + }, + "right": { + "description": "Output only. Right bound of the bucket.", + "format": "double", + "readOnly": true, + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1DatasetStats": { + "description": "Statistics computed over a tuning dataset.", + "id": "GoogleCloudAiplatformV1DatasetStats", + "properties": { + "totalBillableCharacterCount": { + "description": "Output only. Number of billable characters in the tuning dataset.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "totalTuningCharacterCount": { + "description": "Output only. Number of tuning characters in the tuning dataset.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "tuningDatasetExampleCount": { + "description": "Output only. Number of examples in the tuning dataset.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "tuningStepCount": { + "description": "Output only. Number of tuning steps for this Tuning Job.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "userDatasetExamples": { + "description": "Output only. Sample user messages in the training dataset uri.", + "items": { + "$ref": "GoogleCloudAiplatformV1Content" + }, + "readOnly": true, + "type": "array" + }, + "userInputTokenDistribution": { + "$ref": "GoogleCloudAiplatformV1DatasetDistribution", + "description": "Output only. Dataset distributions for the user input tokens.", + "readOnly": true + }, + "userMessagePerExampleDistribution": { + "$ref": "GoogleCloudAiplatformV1DatasetDistribution", + "description": "Output only. Dataset distributions for the messages per example.", + "readOnly": true + }, + "userOutputTokenDistribution": { + "$ref": "GoogleCloudAiplatformV1DatasetDistribution", + "description": "Output only. Dataset distributions for the user output tokens.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1DatasetVersion": { "description": "Describes the dataset version.", "id": "GoogleCloudAiplatformV1DatasetVersion", @@ -19558,6 +19737,18 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1DistillationDataStats": { + "description": "Statistics computed for datasets used for distillation.", + "id": "GoogleCloudAiplatformV1DistillationDataStats", + "properties": { + "trainingDatasetStats": { + "$ref": "GoogleCloudAiplatformV1DatasetStats", + "description": "Output only. Statistics computed for the training dataset.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1DoubleArray": { "description": "A list of double values.", "id": "GoogleCloudAiplatformV1DoubleArray", @@ -21077,6 +21268,10 @@ "$ref": "GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint", "description": "Optional. The dedicated serving endpoint for this FeatureOnlineStore, which is different from common Vertex service endpoint." }, + "encryptionSpec": { + "$ref": "GoogleCloudAiplatformV1EncryptionSpec", + "description": "Optional. Customer-managed encryption key spec for data storage. If set, online store will be secured by this key." + }, "etag": { "description": "Optional. Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", "type": "string" @@ -22053,6 +22248,36 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1FunctionCallingConfig": { + "description": "Function calling config.", + "id": "GoogleCloudAiplatformV1FunctionCallingConfig", + "properties": { + "allowedFunctionNames": { + "description": "Optional. Function names to call. Only set when the Mode is ANY. Function names should match [FunctionDeclaration.name]. With mode set to ANY, model will predict a function call from the set of function names provided.", + "items": { + "type": "string" + }, + "type": "array" + }, + "mode": { + "description": "Optional. Function calling mode.", + "enum": [ + "MODE_UNSPECIFIED", + "AUTO", + "ANY", + "NONE" + ], + "enumDescriptions": [ + "Unspecified function calling mode. This value should not be used.", + "Default model behavior, model decides to predict either a function call or a natural language repspose.", + "Model is constrained to always predicting a function call only. If \"allowed_function_names\" are set, the predicted function call will be limited to any one of \"allowed_function_names\", else the predicted function call will be any one of the provided \"function_declarations\".", + "Model will not predict any function call. Model behavior is same as when not passing any function declarations." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1FunctionDeclaration": { "description": "Structured representation of a function declaration as defined by the [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included in this declaration are the function name and parameters. This FunctionDeclaration is a representation of a block of code that can be used as a `Tool` by the model and executed by the client.", "id": "GoogleCloudAiplatformV1FunctionDeclaration", @@ -22142,6 +22367,10 @@ "$ref": "GoogleCloudAiplatformV1Content", "description": "Optional. The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph." }, + "toolConfig": { + "$ref": "GoogleCloudAiplatformV1ToolConfig", + "description": "Optional. Tool config. This config is shared for all tools provided in the request." + }, "tools": { "description": "Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model.", "items": { @@ -22264,6 +22493,10 @@ "description": "Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.", "type": "string" }, + "responseSchema": { + "$ref": "GoogleCloudAiplatformV1Schema", + "description": "Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response." + }, "stopSequences": { "description": "Optional. Stop sequences.", "items": { @@ -26211,7 +26444,8 @@ "INVALID_ENCODING", "INVALID_SPARSE_DIMENSIONS", "INVALID_TOKEN_VALUE", - "INVALID_SPARSE_EMBEDDING" + "INVALID_SPARSE_EMBEDDING", + "INVALID_EMBEDDING" ], "enumDescriptions": [ "Default, shall not be used.", @@ -26230,7 +26464,8 @@ "File is not in UTF_8 format.", "Error parsing sparse dimensions field.", "Token restrict value is invalid.", - "Invalid sparse embedding." + "Invalid sparse embedding.", + "Invalid dense embedding." ], "type": "string" }, @@ -26385,6 +26620,11 @@ "description": "Required. The display name of the NotebookRuntime. The name can be up to 128 characters long and can consist of any UTF-8 characters.", "type": "string" }, + "encryptionSpec": { + "$ref": "GoogleCloudAiplatformV1EncryptionSpec", + "description": "Output only. Customer-managed encryption key spec for the notebook runtime.", + "readOnly": true + }, "expirationTime": { "description": "Output only. Timestamp when this NotebookRuntime will be expired: 1. System Predefined NotebookRuntime: 24 hours after creation. After expiration, system predifined runtime will be deleted. 2. User created NotebookRuntime: 6 months after last upgrade. After expiration, user created runtime will be stopped and allowed for upgrade.", "format": "google-datetime", @@ -27609,10 +27849,6 @@ "$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke", "description": "Optional. Deploy PublisherModel to Google Kubernetes Engine." }, - "fineTune": { - "$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences", - "description": "Optional. Fine tune the PublisherModel with the third-party model tuning UI." - }, "openEvaluationPipeline": { "$ref": "GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences", "description": "Optional. Open evaluation pipeline of the PublisherModel." @@ -28314,6 +28550,23 @@ "properties": {}, "type": "object" }, + "GoogleCloudAiplatformV1ReinforcementLearningDataStats": { + "description": "Statistics computed for datasets used for reinforcement learning.", + "id": "GoogleCloudAiplatformV1ReinforcementLearningDataStats", + "properties": { + "preferenceDatasetStats": { + "$ref": "GoogleCloudAiplatformV1DatasetStats", + "description": "Output only. Statistics computed for the preference dataset. This can be either a human preference dataset or a preference dataset generated from AI feedback.", + "readOnly": true + }, + "promptDatasetStats": { + "$ref": "GoogleCloudAiplatformV1DatasetStats", + "description": "Output only. Statistics computed for the prompt dataset used during reinforcement learning.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1RemoveContextChildrenRequest": { "description": "Request message for MetadataService.DeleteContextChildrenRequest.", "id": "GoogleCloudAiplatformV1RemoveContextChildrenRequest", @@ -30970,6 +31223,10 @@ }, "type": "array" }, + "systemInstruction": { + "description": "The content of the prompt dataset system instruction.", + "type": "string" + }, "systemInstructionGcsUri": { "description": "The Google Cloud Storage URI that stores the system instruction, starting with gs://.", "type": "string" @@ -34610,6 +34867,17 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1ToolConfig": { + "description": "Tool config. This config is shared for all tools provided in the request.", + "id": "GoogleCloudAiplatformV1ToolConfig", + "properties": { + "functionCallingConfig": { + "$ref": "GoogleCloudAiplatformV1FunctionCallingConfig", + "description": "Optional. Function calling config." + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1TrainingConfig": { "description": "CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems.", "id": "GoogleCloudAiplatformV1TrainingConfig", @@ -34884,6 +35152,14 @@ "description": "The tuning data statistic values for TuningJob.", "id": "GoogleCloudAiplatformV1TuningDataStats", "properties": { + "distillationDataStats": { + "$ref": "GoogleCloudAiplatformV1DistillationDataStats", + "description": "Statistics for distillation." + }, + "reinforcementLearningDataStats": { + "$ref": "GoogleCloudAiplatformV1ReinforcementLearningDataStats", + "description": "Statistics for reinforcement learning." + }, "supervisedTuningDataStats": { "$ref": "GoogleCloudAiplatformV1SupervisedTuningDataStats", "description": "The SFT Tuning data stats." diff --git a/discovery/googleapis/airquality__v1.json b/discovery/googleapis/airquality__v1.json new file mode 100644 index 000000000..788ab5159 --- /dev/null +++ b/discovery/googleapis/airquality__v1.json @@ -0,0 +1,873 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://airquality.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Air Quality", + "description": "The Air Quality API.", + "discoveryVersion": "v1", + "documentationLink": "https://developers.google.com/maps/documentation/air-quality", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "airquality:v1", + "kind": "discovery#restDescription", + "name": "airquality", + "ownerDomain": "google.com", + "ownerName": "Google", + "protocol": "rest", + "revision": "20240611", + "rootUrl": "https://airquality.googleapis.com/", + "servicePath": "", + "title": "Air Quality API", + "version": "v1", + "version_module": true, + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "resources": { + "currentConditions": { + "methods": { + "lookup": { + "description": "The Current Conditions endpoint provides hourly air quality information in more than 100 countries, up to a 500 x 500 meters resolution. Includes over 70 local indexes and global air quality index and categories.", + "flatPath": "v1/currentConditions:lookup", + "httpMethod": "POST", + "id": "airquality.currentConditions.lookup", + "parameterOrder": [], + "parameters": {}, + "path": "v1/currentConditions:lookup", + "request": { + "$ref": "LookupCurrentConditionsRequest" + }, + "response": { + "$ref": "LookupCurrentConditionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "forecast": { + "methods": { + "lookup": { + "description": "Returns air quality forecast for a specific location for a given time range.", + "flatPath": "v1/forecast:lookup", + "httpMethod": "POST", + "id": "airquality.forecast.lookup", + "parameterOrder": [], + "parameters": {}, + "path": "v1/forecast:lookup", + "request": { + "$ref": "LookupForecastRequest" + }, + "response": { + "$ref": "LookupForecastResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "history": { + "methods": { + "lookup": { + "description": "Returns air quality history for a specific location for a given time range.", + "flatPath": "v1/history:lookup", + "httpMethod": "POST", + "id": "airquality.history.lookup", + "parameterOrder": [], + "parameters": {}, + "path": "v1/history:lookup", + "request": { + "$ref": "LookupHistoryRequest" + }, + "response": { + "$ref": "LookupHistoryResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "mapTypes": { + "resources": { + "heatmapTiles": { + "methods": { + "lookupHeatmapTile": { + "description": "Returns a bytes array containing the data of the tile PNG image.", + "flatPath": "v1/mapTypes/{mapType}/heatmapTiles/{zoom}/{x}/{y}", + "httpMethod": "GET", + "id": "airquality.mapTypes.heatmapTiles.lookupHeatmapTile", + "parameterOrder": [ + "mapType", + "zoom", + "x", + "y" + ], + "parameters": { + "mapType": { + "description": "Required. The type of the air quality heatmap. Defines the pollutant that the map will graphically represent. Allowed values: - UAQI_RED_GREEN (UAQI, red-green palette) - UAQI_INDIGO_PERSIAN (UAQI, indigo-persian palette) - PM25_INDIGO_PERSIAN - GBR_DEFRA - DEU_UBA - CAN_EC - FRA_ATMO - US_AQI", + "enum": [ + "MAP_TYPE_UNSPECIFIED", + "UAQI_RED_GREEN", + "UAQI_INDIGO_PERSIAN", + "PM25_INDIGO_PERSIAN", + "GBR_DEFRA", + "DEU_UBA", + "CAN_EC", + "FRA_ATMO", + "US_AQI" + ], + "enumDescriptions": [ + "The default value. The server ignores it if it is passed as a parameter.", + "Universal Air Quality Index red-green palette.", + "Universal Air Quality Index indigo-persian palette.", + "PM2.5 index indigo-persian palette.", + "Daily Air Quality Index (UK) color palette.", + "German Local Air Quality Index color palette.", + "Canadian Air Quality Health Index color palette.", + "France Air Quality Index color palette.", + "US Air Quality Index color palette." + ], + "location": "path", + "required": true, + "type": "string" + }, + "x": { + "description": "Required. Defines the east-west point in the requested tile.", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + }, + "y": { + "description": "Required. Defines the north-south point in the requested tile.", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + }, + "zoom": { + "description": "Required. The map's zoom level. Defines how large or small the contents of a map appear in a map view. Zoom level 0 is the entire world in a single tile. Zoom level 1 is the entire world in 4 tiles. Zoom level 2 is the entire world in 16 tiles. Zoom level 16 is the entire world in 65,536 tiles. Allowed values: 0-16", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + } + }, + "path": "v1/mapTypes/{mapType}/heatmapTiles/{zoom}/{x}/{y}", + "response": { + "$ref": "HttpBody" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + }, + "schemas": { + "AdditionalInfo": { + "description": "The emission sources and health effects of a given pollutant.", + "id": "AdditionalInfo", + "properties": { + "effects": { + "description": "Text representing the pollutant's main health effects.", + "type": "string" + }, + "sources": { + "description": "Text representing the pollutant's main emission sources.", + "type": "string" + } + }, + "type": "object" + }, + "AirQualityIndex": { + "description": "The basic object for representing different air quality metrics. When brought together, these metrics provide a snapshot about the current air quality conditions. There are multiple indexes in the world serving different purposes and groups interested in measuring different aspects of air quality.", + "id": "AirQualityIndex", + "properties": { + "aqi": { + "description": " The index's numeric score. Examples: 10, 100. The value is not normalized and should only be interpreted in the context of its related air-quality index. For non-numeric indexes, this field will not be returned. Note: This field should be used for calculations, graph display, etc. For displaying the index score, you should use the AQI display field.", + "format": "int32", + "type": "integer" + }, + "aqiDisplay": { + "description": "Textual representation of the index numeric score, that may include prefix or suffix symbols, which usually represents the worst index score. Example: >100 or 10+. Note: This field should be used when you want to display the index score. For non-numeric indexes, this field is empty.", + "type": "string" + }, + "category": { + "description": "Textual classification of the index numeric score interpretation. For example: \"Excellent air quality\".", + "type": "string" + }, + "code": { + "description": "The index's code. This field represents the index for programming purposes by using snake case instead of spaces. Examples: \"uaqi\", \"fra_atmo\".", + "type": "string" + }, + "color": { + "$ref": "Color", + "description": "The color used to represent the AQI numeric score." + }, + "displayName": { + "description": "A human readable representation of the index name. Example: \"AQI (US)\"", + "type": "string" + }, + "dominantPollutant": { + "description": "The chemical symbol of the dominant pollutant. For example: \"CO\".", + "type": "string" + } + }, + "type": "object" + }, + "Color": { + "description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", + "id": "Color", + "properties": { + "alpha": { + "description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", + "format": "float", + "type": "number" + }, + "blue": { + "description": "The amount of blue in the color as a value in the interval [0, 1].", + "format": "float", + "type": "number" + }, + "green": { + "description": "The amount of green in the color as a value in the interval [0, 1].", + "format": "float", + "type": "number" + }, + "red": { + "description": "The amount of red in the color as a value in the interval [0, 1].", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "Concentration": { + "description": "The concentration of a given pollutant in the air.", + "id": "Concentration", + "properties": { + "units": { + "description": "Units for measuring this pollutant concentration.", + "enum": [ + "UNIT_UNSPECIFIED", + "PARTS_PER_BILLION", + "MICROGRAMS_PER_CUBIC_METER" + ], + "enumDescriptions": [ + "Unspecified concentration unit.", + "The ppb (parts per billion) concentration unit.", + "The \"µg/m^3\" (micrograms per cubic meter) concentration unit." + ], + "type": "string" + }, + "value": { + "description": "Value of pollutant concentration.", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "CustomLocalAqi": { + "description": "Expresses a 'country/region to AQI' relationship. Pairs a country/region with a desired AQI so that air quality data that is required for that country/region will be displayed according to the chosen AQI.", + "id": "CustomLocalAqi", + "properties": { + "aqi": { + "description": "The AQI to associate the country/region with. Value should be a [valid index](/maps/documentation/air-quality/laqis) code.", + "type": "string" + }, + "regionCode": { + "description": "The country/region requiring the custom AQI. Value should be provided using [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code.", + "type": "string" + } + }, + "type": "object" + }, + "HealthRecommendations": { + "description": "Health recommendations for different population groups in a free text format. The recommendations are derived from their associated air quality conditions.", + "id": "HealthRecommendations", + "properties": { + "athletes": { + "description": "Sports and other strenuous outdoor activities.", + "type": "string" + }, + "children": { + "description": "Younger populations including children, toddlers, and babies.", + "type": "string" + }, + "elderly": { + "description": "Retirees and people older than the general population.", + "type": "string" + }, + "generalPopulation": { + "description": "No specific sensitivities.", + "type": "string" + }, + "heartDiseasePopulation": { + "description": "Heart and circulatory system diseases.", + "type": "string" + }, + "lungDiseasePopulation": { + "description": "Respiratory related problems and asthma suffers.", + "type": "string" + }, + "pregnantWomen": { + "description": "Women at all stages of pregnancy.", + "type": "string" + } + }, + "type": "object" + }, + "HourInfo": { + "description": "Contains the air quality information for each hour in the requested range. For example, if the request is for 48 hours of history there will be 48 elements of hourly info.", + "id": "HourInfo", + "properties": { + "dateTime": { + "description": "A rounded down timestamp indicating the time the data refers to in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. For example: \"2014-10-02T15:00:00Z\".", + "format": "google-datetime", + "type": "string" + }, + "healthRecommendations": { + "$ref": "HealthRecommendations", + "description": "Health advice and recommended actions related to the reported air quality conditions. Recommendations are tailored differently for populations at risk, groups with greater sensitivities to pollutants, and the general population." + }, + "indexes": { + "description": "Based on the request parameters, this list will include (up to) two air quality indexes: - Universal AQI. Will be returned if the universalAqi boolean is set to true. - Local AQI. Will be returned if the LOCAL_AQI extra computation is specified.", + "items": { + "$ref": "AirQualityIndex" + }, + "type": "array" + }, + "pollutants": { + "description": "A list of pollutants affecting the location specified in the request. Note: This field will be returned only for requests that specified one or more of the following extra computations: POLLUTANT_ADDITIONAL_INFO, DOMINANT_POLLUTANT_CONCENTRATION, POLLUTANT_CONCENTRATION.", + "items": { + "$ref": "Pollutant" + }, + "type": "array" + } + }, + "type": "object" + }, + "HourlyForecast": { + "description": "Contains the air quality information for each hour in the requested range. For example, if the request is for 48 hours of forecast there will be 48 elements of hourly forecasts.", + "id": "HourlyForecast", + "properties": { + "dateTime": { + "description": "A rounded down timestamp indicating the time (hour) the data refers to in RFC3339 UTC \"Zulu\" format. For example: \"2014-10-02T15:00:00Z\".", + "format": "google-datetime", + "type": "string" + }, + "healthRecommendations": { + "$ref": "HealthRecommendations", + "description": "Health advice and recommended actions related to the reported air quality conditions. Recommendations are tailored differently for populations at risk, groups with greater sensitivities to pollutants, and the general population." + }, + "indexes": { + "description": "Based on the request parameters, this list will include (up to) two air quality indexes: - Universal AQI. Will be returned if the `universal_aqi` boolean is set to true. - Local AQI. Will be returned if the LOCAL_AQI extra computation is specified.", + "items": { + "$ref": "AirQualityIndex" + }, + "type": "array" + }, + "pollutants": { + "description": "A list of pollutants affecting the location specified in the request. Note: This field will be returned only for requests that specified one or more of the following extra computations: POLLUTANT_ADDITIONAL_INFO, DOMINANT_POLLUTANT_CONCENTRATION, POLLUTANT_CONCENTRATION.", + "items": { + "$ref": "Pollutant" + }, + "type": "array" + } + }, + "type": "object" + }, + "HttpBody": { + "description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", + "id": "HttpBody", + "properties": { + "contentType": { + "description": "The HTTP Content-Type header value specifying the content type of the body.", + "type": "string" + }, + "data": { + "description": "The HTTP request/response body as raw binary.", + "format": "byte", + "type": "string" + }, + "extensions": { + "description": "Application specific response metadata. Must be set in the first response for streaming APIs.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "Interval": { + "description": "Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.", + "id": "Interval", + "properties": { + "endTime": { + "description": "Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.", + "format": "google-datetime", + "type": "string" + }, + "startTime": { + "description": "Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "LatLng": { + "description": "An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.", + "id": "LatLng", + "properties": { + "latitude": { + "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", + "format": "double", + "type": "number" + }, + "longitude": { + "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "LookupCurrentConditionsRequest": { + "description": "The request definition of the air quality current conditions.", + "id": "LookupCurrentConditionsRequest", + "properties": { + "customLocalAqis": { + "description": "Optional. Expresses a 'country/region to AQI' relationship. Pairs a country/region with a desired AQI so that air quality data that is required for that country/region will be displayed according to the chosen AQI. This parameter can be used to specify a non-default AQI for a given country, for example, to get the US EPA index for Canada rather than the default index for Canada.", + "items": { + "$ref": "CustomLocalAqi" + }, + "type": "array" + }, + "extraComputations": { + "description": "Optional. Additional features that can be optionally enabled. Specifying extra computations will result in the relevant elements and fields to be returned in the response.", + "items": { + "enum": [ + "EXTRA_COMPUTATION_UNSPECIFIED", + "LOCAL_AQI", + "HEALTH_RECOMMENDATIONS", + "POLLUTANT_ADDITIONAL_INFO", + "DOMINANT_POLLUTANT_CONCENTRATION", + "POLLUTANT_CONCENTRATION" + ], + "enumDescriptions": [ + "The default value. The server ignores it if it is passed as a parameter.", + "Determines whether to include the local (national) AQI of the requested location (country) in the response. If specified, the response will contain an 'air_quality_index' data structure with all the relevant data on the location's local AQI.", + "Determines whether the response will include the health advice and recommended actions for the current AQI conditions. The recommendations are tailored for the general population and six populations at risk groups with greater sensitivities to pollutants than the general population. If specified, the `health_recommendations` field will be populated in the response when the relevant data is available.", + "Determines whether to include in the response the additional information of each pollutant. If specified, each air quality index object contained in the 'indexes' field response will include an `additional_info` field when the data is available.", + "Determines whether the response would include the concentrations of the dominant pollutants measured according to global and/or local indexes. If the request specified both the global AQI and the local AQI, there may be up to two pollutant codes returned. If specified, the dominant pollutant object contained in the 'pollutants' list will include a `concentration` field when the data is available.", + "Determines whether the response would include the concentrations of all pollutants with available measurements according to global and/or local indexes. If specified, each pollutant object contained in the 'pollutants' field in the response will include a `concentration` field when the data is available." + ], + "type": "string" + }, + "type": "array" + }, + "languageCode": { + "description": "Optional. Allows the client to choose the language for the response. If data cannot be provided for that language the API uses the closest match. Allowed values rely on the IETF standard. Default value is en.", + "type": "string" + }, + "location": { + "$ref": "LatLng", + "description": "Required. The longitude and latitude from which the API looks for air quality current conditions data." + }, + "uaqiColorPalette": { + "description": "Optional. Determines the color palette used for data provided by the 'Universal Air Quality Index' (UAQI). This color palette is relevant just for UAQI, other AQIs have a predetermined color palette that can't be controlled.", + "enum": [ + "COLOR_PALETTE_UNSPECIFIED", + "RED_GREEN", + "INDIGO_PERSIAN_DARK", + "INDIGO_PERSIAN_LIGHT" + ], + "enumDescriptions": [ + "The default value. Ignored if passed as a parameter.", + "Determines whether to use a red/green palette.", + "Determines whether to use a indigo/persian palette (dark theme).", + "Determines whether to use a indigo/persian palette (light theme)." + ], + "type": "string" + }, + "universalAqi": { + "description": "Optional. If set to true, the Universal AQI will be included in the 'indexes' field of the response. Default value is true.", + "type": "boolean" + } + }, + "type": "object" + }, + "LookupCurrentConditionsResponse": { + "id": "LookupCurrentConditionsResponse", + "properties": { + "dateTime": { + "description": "A rounded down timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. For example: \"2014-10-02T15:00:00Z\".", + "format": "google-datetime", + "type": "string" + }, + "healthRecommendations": { + "$ref": "HealthRecommendations", + "description": "Health advice and recommended actions related to the reported air quality conditions. Recommendations are tailored differently for populations at risk, groups with greater sensitivities to pollutants, and the general population." + }, + "indexes": { + "description": "Based on the request parameters, this list will include (up to) two air quality indexes: - Universal AQI. Will be returned if the universalAqi boolean is set to true. - Local AQI. Will be returned if the LOCAL_AQI extra computation is specified.", + "items": { + "$ref": "AirQualityIndex" + }, + "type": "array" + }, + "pollutants": { + "description": "A list of pollutants affecting the location specified in the request. Note: This field will be returned only for requests that specified one or more of the following extra computations: POLLUTANT_ADDITIONAL_INFO, DOMINANT_POLLUTANT_CONCENTRATION, POLLUTANT_CONCENTRATION.", + "items": { + "$ref": "Pollutant" + }, + "type": "array" + }, + "regionCode": { + "description": "The ISO_3166-1 alpha-2 code of the country/region corresponding to the location provided in the request. This field might be omitted from the response if the location provided in the request resides in a disputed territory.", + "type": "string" + } + }, + "type": "object" + }, + "LookupForecastRequest": { + "description": "The request object of the air quality forecast API.", + "id": "LookupForecastRequest", + "properties": { + "customLocalAqis": { + "description": "Optional. Expresses a 'country/region to AQI' relationship. Pairs a country/region with a desired AQI so that air quality data that is required for that country/region will be displayed according to the chosen AQI. This parameter can be used to specify a non-default AQI for a given country, for example, to get the US EPA index for Canada rather than the default index for Canada.", + "items": { + "$ref": "CustomLocalAqi" + }, + "type": "array" + }, + "dateTime": { + "description": "A timestamp for which to return the data for a specific point in time. The timestamp is rounded to the previous exact hour. Note: this will return hourly data for the requested timestamp only (i.e. a single hourly info element). For example, a request sent where the date_time parameter is set to 2023-01-03T11:05:49Z will be rounded down to 2023-01-03T11:00:00Z.", + "format": "google-datetime", + "type": "string" + }, + "extraComputations": { + "description": "Optional. Additional features that can be optionally enabled. Specifying extra computations will result in the relevant elements and fields to be returned in the response.", + "items": { + "enum": [ + "EXTRA_COMPUTATION_UNSPECIFIED", + "LOCAL_AQI", + "HEALTH_RECOMMENDATIONS", + "POLLUTANT_ADDITIONAL_INFO", + "DOMINANT_POLLUTANT_CONCENTRATION", + "POLLUTANT_CONCENTRATION" + ], + "enumDescriptions": [ + "The default value. The server ignores it if it is passed as a parameter.", + "Determines whether to include the local (national) AQI of the requested location (country) in the response. If specified, the response will contain an 'air_quality_index' data structure with all the relevant data on the location's local AQI.", + "Determines whether the response will include the health advice and recommended actions for the current AQI conditions. The recommendations are tailored for the general population and six populations at risk groups with greater sensitivities to pollutants than the general population. If specified, the `health_recommendations` field will be populated in the response when the relevant data is available.", + "Determines whether to include in the response the additional information of each pollutant. If specified, each air quality index object contained in the 'indexes' field response will include an `additional_info` field when the data is available.", + "Determines whether the response would include the concentrations of the dominant pollutants measured according to global and/or local indexes. If the request specified both the global AQI and the local AQI, there may be up to two pollutant codes returned. If specified, the dominant pollutant object contained in the 'pollutants' list will include a `concentration` field when the data is available.", + "Determines whether the response would include the concentrations of all pollutants with available measurements according to global and/or local indexes. If specified, each pollutant object contained in the 'pollutants' field in the response will include a `concentration` field when the data is available." + ], + "type": "string" + }, + "type": "array" + }, + "languageCode": { + "description": "Optional. Allows the client to choose the language for the response. If data cannot be provided for that language the API uses the closest match. Allowed values rely on the IETF standard (default = 'en').", + "type": "string" + }, + "location": { + "$ref": "LatLng", + "description": "Required. The latitude and longitude for which the API looks for air quality data." + }, + "pageSize": { + "description": "Optional. The maximum number of hourly info records to return per page (default = 24).", + "format": "int32", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token received from a previous forecast call. It is used to retrieve the subsequent page.", + "type": "string" + }, + "period": { + "$ref": "Interval", + "description": "Indicates the start and end period for which to get the forecast data. The timestamp is rounded to the previous exact hour." + }, + "uaqiColorPalette": { + "description": "Optional. Determines the color palette used for data provided by the 'Universal Air Quality Index' (UAQI). This color palette is relevant just for UAQI, other AQIs have a predetermined color palette that can't be controlled.", + "enum": [ + "COLOR_PALETTE_UNSPECIFIED", + "RED_GREEN", + "INDIGO_PERSIAN_DARK", + "INDIGO_PERSIAN_LIGHT" + ], + "enumDescriptions": [ + "The default value. Ignored if passed as a parameter.", + "Determines whether to use a red/green palette.", + "Determines whether to use a indigo/persian palette (dark theme).", + "Determines whether to use a indigo/persian palette (light theme)." + ], + "type": "string" + }, + "universalAqi": { + "description": "Optional. If set to true, the Universal AQI will be included in the 'indexes' field of the response (default = true).", + "type": "boolean" + } + }, + "type": "object" + }, + "LookupForecastResponse": { + "description": "The response object of the air quality forecast API.", + "id": "LookupForecastResponse", + "properties": { + "hourlyForecasts": { + "description": "Optional. Contains the air quality information for each hour in the requested range. For example, if the request is for 48 hours of forecast there will be 48 elements of hourly forecasts.", + "items": { + "$ref": "HourlyForecast" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Optional. The token to retrieve the next page.", + "type": "string" + }, + "regionCode": { + "description": "Optional. The ISO_3166-1 alpha-2 code of the country/region corresponding to the location provided in the request. This field might be omitted from the response if the location provided in the request resides in a disputed territory.", + "type": "string" + } + }, + "type": "object" + }, + "LookupHistoryRequest": { + "description": "The request object of the air quality history API.", + "id": "LookupHistoryRequest", + "properties": { + "customLocalAqis": { + "description": "Optional. Expresses a 'country/region to AQI' relationship. Pairs a country/region with a desired AQI so that air quality data that is required for that country/region will be displayed according to the chosen AQI. This parameter can be used to specify a non-default AQI for a given country, for example, to get the US EPA index for Canada rather than the default index for Canada.", + "items": { + "$ref": "CustomLocalAqi" + }, + "type": "array" + }, + "dateTime": { + "description": "A timestamp for which to return historical data. The timestamp is rounded to the previous exact hour. Note: this will return hourly data for the requested timestamp only (i.e. a single hourly info element). For example, a request sent where the dateTime parameter is set to 2023-01-03T11:05:49Z will be rounded down to 2023-01-03T11:00:00Z. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: \"2014-10-02T15:01:23Z\" and \"2014-10-02T15:01:23.045123456Z\".", + "format": "google-datetime", + "type": "string" + }, + "extraComputations": { + "description": "Optional. Additional features that can be optionally enabled. Specifying extra computations will result in the relevant elements and fields to be returned in the response.", + "items": { + "enum": [ + "EXTRA_COMPUTATION_UNSPECIFIED", + "LOCAL_AQI", + "HEALTH_RECOMMENDATIONS", + "POLLUTANT_ADDITIONAL_INFO", + "DOMINANT_POLLUTANT_CONCENTRATION", + "POLLUTANT_CONCENTRATION" + ], + "enumDescriptions": [ + "The default value. The server ignores it if it is passed as a parameter.", + "Determines whether to include the local (national) AQI of the requested location (country) in the response. If specified, the response will contain an 'air_quality_index' data structure with all the relevant data on the location's local AQI.", + "Determines whether the response will include the health advice and recommended actions for the current AQI conditions. The recommendations are tailored for the general population and six populations at risk groups with greater sensitivities to pollutants than the general population. If specified, the `health_recommendations` field will be populated in the response when the relevant data is available.", + "Determines whether to include in the response the additional information of each pollutant. If specified, each air quality index object contained in the 'indexes' field response will include an `additional_info` field when the data is available.", + "Determines whether the response would include the concentrations of the dominant pollutants measured according to global and/or local indexes. If the request specified both the global AQI and the local AQI, there may be up to two pollutant codes returned. If specified, the dominant pollutant object contained in the 'pollutants' list will include a `concentration` field when the data is available.", + "Determines whether the response would include the concentrations of all pollutants with available measurements according to global and/or local indexes. If specified, each pollutant object contained in the 'pollutants' field in the response will include a `concentration` field when the data is available." + ], + "type": "string" + }, + "type": "array" + }, + "hours": { + "description": "Number from 1 to 720 that indicates the hours range for the request. For example: A value of 48 will yield data from the last 48 hours.", + "format": "int32", + "type": "integer" + }, + "languageCode": { + "description": "Optional. Allows the client to choose the language for the response. If data cannot be provided for that language the API uses the closest match. Allowed values rely on the IETF standard. Default value is en.", + "type": "string" + }, + "location": { + "$ref": "LatLng", + "description": "Required. The latitude and longitude for which the API looks for air quality history data." + }, + "pageSize": { + "description": "Optional. The maximum number of hourly info records to return per page. The default is 72 and the max value is 168 (7 days of data).", + "format": "int32", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token received from a previous history call. It is used to retrieve the subsequent page. Note that when providing a value for this parameter all other parameters provided must match the call that provided the page token (the previous call).", + "type": "string" + }, + "period": { + "$ref": "Interval", + "description": "Indicates the start and end period for which to get the historical data. The timestamp is rounded to the previous exact hour." + }, + "uaqiColorPalette": { + "description": "Optional. Determines the color palette used for data provided by the 'Universal Air Quality Index' (UAQI). This color palette is relevant just for UAQI, other AQIs have a predetermined color palette that can't be controlled.", + "enum": [ + "COLOR_PALETTE_UNSPECIFIED", + "RED_GREEN", + "INDIGO_PERSIAN_DARK", + "INDIGO_PERSIAN_LIGHT" + ], + "enumDescriptions": [ + "The default value. Ignored if passed as a parameter.", + "Determines whether to use a red/green palette.", + "Determines whether to use a indigo/persian palette (dark theme).", + "Determines whether to use a indigo/persian palette (light theme)." + ], + "type": "string" + }, + "universalAqi": { + "description": "Optional. If set to true, the Universal AQI will be included in the 'indexes' field of the response. Default value is true.", + "type": "boolean" + } + }, + "type": "object" + }, + "LookupHistoryResponse": { + "id": "LookupHistoryResponse", + "properties": { + "hoursInfo": { + "description": "Optional. Contains the air quality information for each hour in the requested range. For example, if the request is for 48 hours of history there will be 48 elements of hourly info.", + "items": { + "$ref": "HourInfo" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Optional. The token to retrieve the next page.", + "type": "string" + }, + "regionCode": { + "description": "Optional. The ISO_3166-1 alpha-2 code of the country/region corresponding to the location provided in the request. This field might be omitted from the response if the location provided in the request resides in a disputed territory.", + "type": "string" + } + }, + "type": "object" + }, + "Pollutant": { + "description": "Data regarding an air quality pollutant.", + "id": "Pollutant", + "properties": { + "additionalInfo": { + "$ref": "AdditionalInfo", + "description": "Additional information about the pollutant." + }, + "code": { + "description": "The pollutant's code name. For example: \"so2\". A list of all available codes could be found [here](/maps/documentation/air-quality/pollutants#reported_pollutants).", + "type": "string" + }, + "concentration": { + "$ref": "Concentration", + "description": "The pollutant's concentration level measured by one of the standard air pollutation measure units." + }, + "displayName": { + "description": "The pollutant's display name. For example: \"NOx\".", + "type": "string" + }, + "fullName": { + "description": "The pollutant's full name. For chemical compounds, this is the IUPAC name. Example: \"Sulfur Dioxide\". For more information about the IUPAC names table, see https://iupac.org/what-we-do/periodic-table-of-elements/", + "type": "string" + } + }, + "type": "object" + } + } +} diff --git a/discovery/googleapis/alloydb__v1.json b/discovery/googleapis/alloydb__v1.json index 498f4a77f..4289e542a 100644 --- a/discovery/googleapis/alloydb__v1.json +++ b/discovery/googleapis/alloydb__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240517", + "revision": "20240529", "rootUrl": "https://alloydb.googleapis.com/", "servicePath": "", "title": "AlloyDB API", @@ -3377,9 +3377,17 @@ "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2", "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1", "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0", + "SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0", "SIGNAL_TYPE_VIOLATES_NIST_800_53", + "SIGNAL_TYPE_VIOLATES_NIST_800_53_R5", + "SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0", "SIGNAL_TYPE_VIOLATES_ISO_27001", + "SIGNAL_TYPE_VIOLATES_ISO_27001_V2022", "SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1", + "SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0", + "SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4", + "SIGNAL_TYPE_VIOLATES_HIPAA", + "SIGNAL_TYPE_VIOLATES_SOC2_V2017", "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING", "SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED", "SIGNAL_TYPE_VERBOSE_ERROR_LOGGING", @@ -3505,6 +3513,14 @@ false, false, false, + false, + false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -3523,9 +3539,17 @@ "Represents if a resource violates CIS GCP Foundation 1.2.", "Represents if a resource violates CIS GCP Foundation 1.1.", "Represents if a resource violates CIS GCP Foundation 1.0.", + "Represents if a resource violates CIS Controls 8.0.", "Represents if a resource violates NIST 800-53.", + "Represents if a resource violates NIST 800-53 R5.", + "Represents if a resource violates NIST Cybersecurity Framework 1.0.", "Represents if a resource violates ISO-27001.", + "Represents if a resource violates ISO 27001 2022.", "Represents if a resource violates PCI-DSS v3.2.1.", + "Represents if a resource violates PCI-DSS v4.0.", + "Represents if a resource violates Cloud Controls Matrix v4.0.", + "Represents if a resource violates HIPAA.", + "Represents if a resource violates SOC2 v2017.", "Represents if log_checkpoints database flag for a Cloud SQL for PostgreSQL instance is not set to on.", "Represents if the log_duration database flag for a Cloud SQL for PostgreSQL instance is not set to on.", "Represents if the log_error_verbosity database flag for a Cloud SQL for PostgreSQL instance is not set to default or stricter (default or terse).", @@ -3789,14 +3813,6 @@ "userLabelSet": { "$ref": "StorageDatabasecenterPartnerapiV1mainUserLabels", "description": "User-provided labels associated with the resource" - }, - "userLabels": { - "additionalProperties": { - "type": "string" - }, - "deprecated": true, - "description": "User-provided labels, represented as a dictionary where each label is a single key value pair.", - "type": "object" } }, "type": "object" @@ -3872,9 +3888,17 @@ "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2", "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1", "SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0", + "SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0", "SIGNAL_TYPE_VIOLATES_NIST_800_53", + "SIGNAL_TYPE_VIOLATES_NIST_800_53_R5", + "SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0", "SIGNAL_TYPE_VIOLATES_ISO_27001", + "SIGNAL_TYPE_VIOLATES_ISO_27001_V2022", "SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1", + "SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0", + "SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4", + "SIGNAL_TYPE_VIOLATES_HIPAA", + "SIGNAL_TYPE_VIOLATES_SOC2_V2017", "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING", "SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED", "SIGNAL_TYPE_VERBOSE_ERROR_LOGGING", @@ -4000,6 +4024,14 @@ false, false, false, + false, + false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -4018,9 +4050,17 @@ "Represents if a resource violates CIS GCP Foundation 1.2.", "Represents if a resource violates CIS GCP Foundation 1.1.", "Represents if a resource violates CIS GCP Foundation 1.0.", + "Represents if a resource violates CIS Controls 8.0.", "Represents if a resource violates NIST 800-53.", + "Represents if a resource violates NIST 800-53 R5.", + "Represents if a resource violates NIST Cybersecurity Framework 1.0.", "Represents if a resource violates ISO-27001.", + "Represents if a resource violates ISO 27001 2022.", "Represents if a resource violates PCI-DSS v3.2.1.", + "Represents if a resource violates PCI-DSS v4.0.", + "Represents if a resource violates Cloud Controls Matrix v4.0.", + "Represents if a resource violates HIPAA.", + "Represents if a resource violates SOC2 v2017.", "Represents if log_checkpoints database flag for a Cloud SQL for PostgreSQL instance is not set to on.", "Represents if the log_duration database flag for a Cloud SQL for PostgreSQL instance is not set to on.", "Represents if the log_error_verbosity database flag for a Cloud SQL for PostgreSQL instance is not set to default or stricter (default or terse).", @@ -4118,12 +4158,12 @@ "id": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration", "properties": { "cpuCount": { - "description": "The number of CPUs.", + "description": "The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.", "format": "int32", "type": "integer" }, "memorySizeInBytes": { - "description": "Memory size in bytes.", + "description": "Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.", "format": "int64", "type": "string" } @@ -4133,31 +4173,46 @@ "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData": { "id": "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData", "properties": { - "metricTimestamp": { - "description": "Required. The timestamp of the metric value.", - "format": "google-datetime", + "aggregationType": { + "description": "Required. Type of aggregation performed on the metric.", + "enum": [ + "AGGREGATION_TYPE_UNSPECIFIED", + "MAXIMUM" + ], + "enumDescriptions": [ + "Unspecified aggregation type.", + "Maximum aggregation type." + ], "type": "string" }, "metricType": { "description": "Required. Type of metric like CPU, Memory, etc.", "enum": [ "METRIC_TYPE_UNSPECIFIED", - "INSTANCE_PEAK_CPU_UTILISATION" + "CPU_UTILIZATION", + "MEMORY_UTILIZATION", + "NETWORK_CONNECTIONS" ], "enumDescriptions": [ - "", - "Peak CPU utilization for a DB instance as a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases) List will keep increasing, e.g. PEAK_MEMORY_UTILISATION, NUMBER_OF_CONNECTIONS, SUCCESS_RATIO_FOR_QUERIES, etc." + "Unspecified metric type.", + "CPU utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).", + "Memory utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).", + "Number of network connections for a resource." ], "type": "string" }, + "observationTime": { + "description": "Required. The time the metric value was observed.", + "format": "google-datetime", + "type": "string" + }, "resourceName": { "description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel", "type": "string" }, "value": { - "description": "Required. Value of the metric type.", - "format": "double", - "type": "number" + "$ref": "StorageDatabasecenterProtoCommonTypedValue", + "description": "Required. Value of the metric type." } }, "type": "object" @@ -4347,6 +4402,31 @@ }, "type": "object" }, + "StorageDatabasecenterProtoCommonTypedValue": { + "description": "TypedValue represents the value of a metric type. It can either be a double, an int64, a string or a bool.", + "id": "StorageDatabasecenterProtoCommonTypedValue", + "properties": { + "boolValue": { + "description": "For boolean value", + "type": "boolean" + }, + "doubleValue": { + "description": "For double value", + "format": "double", + "type": "number" + }, + "int64Value": { + "description": "For integer value", + "format": "int64", + "type": "string" + }, + "stringValue": { + "description": "For string value", + "type": "string" + } + }, + "type": "object" + }, "StringRestrictions": { "description": "Restrictions on STRING type values", "id": "StringRestrictions", diff --git a/discovery/googleapis/analyticshub__v1.json b/discovery/googleapis/analyticshub__v1.json index b57b07571..2a7c12742 100644 --- a/discovery/googleapis/analyticshub__v1.json +++ b/discovery/googleapis/analyticshub__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240610", "rootUrl": "https://analyticshub.googleapis.com/", "servicePath": "", "title": "Analytics Hub API", diff --git a/discovery/googleapis/androiddeviceprovisioning__v1.json b/discovery/googleapis/androiddeviceprovisioning__v1.json index 7e7c9645c..9fe0c9424 100644 --- a/discovery/googleapis/androiddeviceprovisioning__v1.json +++ b/discovery/googleapis/androiddeviceprovisioning__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240610", "rootUrl": "https://androiddeviceprovisioning.googleapis.com/", "servicePath": "", "title": "Android Device Provisioning Partner API", diff --git a/discovery/googleapis/androidenterprise__v1.json b/discovery/googleapis/androidenterprise__v1.json index 639590583..ae805db7c 100644 --- a/discovery/googleapis/androidenterprise__v1.json +++ b/discovery/googleapis/androidenterprise__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240612", "rootUrl": "https://androidenterprise.googleapis.com/", "servicePath": "", "title": "Google Play EMM API", diff --git a/discovery/googleapis/androidmanagement__v1.json b/discovery/googleapis/androidmanagement__v1.json index 8894dcdf0..5ad850f09 100644 --- a/discovery/googleapis/androidmanagement__v1.json +++ b/discovery/googleapis/androidmanagement__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240516", + "revision": "20240613", "rootUrl": "https://androidmanagement.googleapis.com/", "servicePath": "", "title": "Android Management API", @@ -642,7 +642,7 @@ ] }, "get": { - "description": "Gets an active, unexpired enrollment token. Only a partial view of EnrollmentToken is returned: all the fields but name and expiration_timestamp are empty. This method is meant to help manage active enrollment tokens lifecycle. For security reasons, it's recommended to delete active enrollment tokens as soon as they're not intended to be used anymore.", + "description": "Gets an active, unexpired enrollment token. A partial view of the enrollment token is returned. Only the following fields are populated: name, expirationTimestamp, allowPersonalUsage, value, qrCode. This method is meant to help manage active enrollment tokens lifecycle. For security reasons, it's recommended to delete active enrollment tokens as soon as they're not intended to be used anymore.", "flatPath": "v1/enterprises/{enterprisesId}/enrollmentTokens/{enrollmentTokensId}", "httpMethod": "GET", "id": "androidmanagement.enterprises.enrollmentTokens.get", @@ -667,7 +667,7 @@ ] }, "list": { - "description": "Lists active, unexpired enrollment tokens for a given enterprise. The list items contain only a partial view of EnrollmentToken: all the fields but name and expiration_timestamp are empty. This method is meant to help manage active enrollment tokens lifecycle. For security reasons, it's recommended to delete active enrollment tokens as soon as they're not intended to be used anymore.", + "description": "Lists active, unexpired enrollment tokens for a given enterprise. The list items contain only a partial view of EnrollmentToken object. Only the following fields are populated: name, expirationTimestamp, allowPersonalUsage, value, qrCode. This method is meant to help manage active enrollment tokens lifecycle. For security reasons, it's recommended to delete active enrollment tokens as soon as they're not intended to be used anymore.", "flatPath": "v1/enterprises/{enterprisesId}/enrollmentTokens", "httpMethod": "GET", "id": "androidmanagement.enterprises.enrollmentTokens.list", @@ -1661,7 +1661,7 @@ "Unspecified. Defaults to AUTO_UPDATE_DEFAULT.", "The default update mode.The app is automatically updated with low priority to minimize the impact on the user.The app is updated when all of the following constraints are met: The device is not actively used. The device is connected to an unmetered network. The device is charging. The app to be updated is not running in the foreground.The device is notified about a new update within 24 hours after it is published by the developer, after which the app is updated the next time the constraints above are met.", "The app is not automatically updated for a maximum of 90 days after the app becomes out of date.90 days after the app becomes out of date, the latest available version is installed automatically with low priority (see AUTO_UPDATE_DEFAULT). After the app is updated it is not automatically updated again until 90 days after it becomes out of date again.The user can still manually update the app from the Play Store at any time.", - "The app is updated as soon as possible. No constraints are applied.The device is notified as soon as possible about a new update after it becomes available." + "The app is updated as soon as possible. No constraints are applied.The device is notified as soon as possible about a new update after it becomes available.*NOTE:* Updates to apps with larger deployments across Android's ecosystem can take up to 24h." ], "type": "string" }, @@ -1813,6 +1813,20 @@ }, "type": "array" }, + "userControlSettings": { + "description": "Optional. Specifies whether user control is permitted for the app. User control includes user actions like force-stopping and clearing app data. Supported on Android 11 and above.", + "enum": [ + "USER_CONTROL_SETTINGS_UNSPECIFIED", + "USER_CONTROL_ALLOWED", + "USER_CONTROL_DISALLOWED" + ], + "enumDescriptions": [ + "Uses the default behaviour of the app to determine if user control is allowed or disallowed. For most apps, user control is allowed by default, but for some critical apps such as companion apps (extensionConfig set to true), kiosk apps and other critical system apps, user control is disallowed.", + "User control is allowed for the app. Kiosk apps can use this to allow user control.", + "User control is disallowed for the app. API_LEVEL is reported if the Android version is less than 11." + ], + "type": "string" + }, "workProfileWidgets": { "description": "Specifies whether the app installed in the work profile is allowed to add widgets to the home screen.", "enum": [ @@ -3014,12 +3028,14 @@ "enum": [ "ALLOW_PERSONAL_USAGE_UNSPECIFIED", "PERSONAL_USAGE_ALLOWED", - "PERSONAL_USAGE_DISALLOWED" + "PERSONAL_USAGE_DISALLOWED", + "PERSONAL_USAGE_DISALLOWED_USERLESS" ], "enumDescriptions": [ "Personal usage restriction is not specified", "Personal usage is allowed", - "Personal usage is disallowed" + "Personal usage is disallowed", + "Device is not associated with a single user, and thus both personal usage and corporate identity authentication are not expected." ], "type": "string" }, @@ -3109,6 +3125,10 @@ "description": "The name of the enterprise displayed to users. This field has a maximum length of 100 characters.", "type": "string" }, + "googleAuthenticationSettings": { + "$ref": "GoogleAuthenticationSettings", + "description": "Settings for Google-provided user authentication." + }, "logo": { "$ref": "ExternalData", "description": "An image displayed as a logo during device provisioning. Supported types are: image/bmp, image/gif, image/x-ico, image/jpeg, image/png, image/webp, image/vnd.wap.wbmp, image/x-adobe-dng." @@ -3213,6 +3233,28 @@ }, "type": "object" }, + "GoogleAuthenticationSettings": { + "description": "Contains settings for Google-provided user authentication.", + "id": "GoogleAuthenticationSettings", + "properties": { + "googleAuthenticationRequired": { + "description": "Output only. Whether users need to be authenticated by Google during the enrollment process. IT admin can specify if Google authentication is enabled for the enterprise for knowledge worker devices. This value can be set only via the Google Admin Console. Google authentication can be used with signin_url In the case where Google authentication is required and a signin_url is specified, Google authentication will be launched before signin_url.", + "enum": [ + "GOOGLE_AUTHENTICATION_REQUIRED_UNSPECIFIED", + "NOT_REQUIRED", + "REQUIRED" + ], + "enumDescriptions": [ + "This value is not used.", + "Google authentication is not required.", + "User is required to be successfully authenticated by Google." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "HardwareInfo": { "description": "Information about device hardware. The fields related to temperature thresholds are only available if hardwareStatusEnabled is true in the device's policy.", "id": "HardwareInfo", @@ -5458,6 +5500,10 @@ "format": "int32", "type": "integer" }, + "authenticatedUserEmail": { + "description": "The email address of the authenticated user (only present for Google Account provisioning method).", + "type": "string" + }, "brand": { "description": "The brand of the device. For example, Google.", "type": "string" @@ -5623,12 +5669,14 @@ "enum": [ "ALLOW_PERSONAL_USAGE_UNSPECIFIED", "PERSONAL_USAGE_ALLOWED", - "PERSONAL_USAGE_DISALLOWED" + "PERSONAL_USAGE_DISALLOWED", + "PERSONAL_USAGE_DISALLOWED_USERLESS" ], "enumDescriptions": [ "Personal usage restriction is not specified", "Personal usage is allowed", - "Personal usage is disallowed" + "Personal usage is disallowed", + "Device is not associated with a single user, and thus both personal usage and corporate identity authentication are not expected." ], "type": "string" }, diff --git a/discovery/googleapis/androidpublisher__v3.json b/discovery/googleapis/androidpublisher__v3.json index b8557acc4..73e8052e4 100644 --- a/discovery/googleapis/androidpublisher__v3.json +++ b/discovery/googleapis/androidpublisher__v3.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240530", + "revision": "20240613", "rootUrl": "https://androidpublisher.googleapis.com/", "servicePath": "", "title": "Google Play Android Developer API", @@ -9944,7 +9944,7 @@ "type": "integer" }, "voidedReason": { - "description": "The reason why the purchase was voided, possible values are: 0. Other 1. Remorse 2. Not_received 3. Defective 4. Accidental_purchase 5. Fraud 6. Friendly_fraud 7. Chargeback", + "description": "The reason why the purchase was voided, possible values are: 0. Other 1. Remorse 2. Not_received 3. Defective 4. Accidental_purchase 5. Fraud 6. Friendly_fraud 7. Chargeback 8. Unacknowledged_purchase", "format": "int32", "type": "integer" }, diff --git a/discovery/googleapis/apigateway__v1.json b/discovery/googleapis/apigateway__v1.json index 492b47c80..754cfba3f 100644 --- a/discovery/googleapis/apigateway__v1.json +++ b/discovery/googleapis/apigateway__v1.json @@ -24,7 +24,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240515", + "revision": "20240529", "rootUrl": "https://apigateway.googleapis.com/", "servicePath": "", "title": "API Gateway API", diff --git a/discovery/googleapis/apigee__v1.json b/discovery/googleapis/apigee__v1.json index ac474a208..d96639277 100644 --- a/discovery/googleapis/apigee__v1.json +++ b/discovery/googleapis/apigee__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240517", + "revision": "20240607", "rootUrl": "https://apigee.googleapis.com/", "servicePath": "", "title": "Apigee API", @@ -10209,7 +10209,7 @@ }, "analyticsConfig": { "$ref": "GoogleCloudApigeeV1AnalyticsConfig", - "description": "Configuration for the Analytics add-on." + "description": "Configuration for the Analytics add-on. Only used in organizations.environments.addonsConfig." }, "apiSecurityConfig": { "$ref": "GoogleCloudApigeeV1ApiSecurityConfig", diff --git a/discovery/googleapis/apikeys__v2.json b/discovery/googleapis/apikeys__v2.json index 0992c62ca..0036d9276 100644 --- a/discovery/googleapis/apikeys__v2.json +++ b/discovery/googleapis/apikeys__v2.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240609", "rootUrl": "https://apikeys.googleapis.com/", "servicePath": "", "title": "API Keys API", diff --git a/discovery/googleapis/appengine__v1.json b/discovery/googleapis/appengine__v1.json index 9f76b2dc1..223c32aa3 100644 --- a/discovery/googleapis/appengine__v1.json +++ b/discovery/googleapis/appengine__v1.json @@ -30,7 +30,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240513", + "revision": "20240610", "rootUrl": "https://appengine.googleapis.com/", "servicePath": "", "title": "App Engine Admin API", diff --git a/discovery/googleapis/apphub__v1.json b/discovery/googleapis/apphub__v1.json index 2c14c5e12..85350fafc 100644 --- a/discovery/googleapis/apphub__v1.json +++ b/discovery/googleapis/apphub__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240515", + "revision": "20240529", "rootUrl": "https://apphub.googleapis.com/", "servicePath": "", "title": "App Hub API", diff --git a/discovery/googleapis/artifactregistry__v1.json b/discovery/googleapis/artifactregistry__v1.json index 1ee57743a..1798f00da 100644 --- a/discovery/googleapis/artifactregistry__v1.json +++ b/discovery/googleapis/artifactregistry__v1.json @@ -245,7 +245,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240603", "rootUrl": "https://artifactregistry.googleapis.com/", "servicePath": "", "title": "Artifact Registry API", @@ -1641,7 +1641,7 @@ ], "parameters": { "filter": { - "description": "An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `version` An example of using a filter: * `version=\"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0\"` --> Tags that are applied to the version `1.0` in package `pkg1`.", + "description": "An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `version` An example of using a filter: * `version=\"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0\"` --> Tags that are applied to the version `1.0` in package `pkg1`. * `name=\"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/a%2Fb%2F*\"` --> tags with an ID starting with \"a/b/\". * `name=\"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/*%2Fb%2Fc\"` --> tags with an ID ending with \"/b/c\". * `name=\"projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/*%2Fb%2F*\"` --> tags with an ID containing \"/b/\".", "location": "query", "type": "string" }, @@ -3329,13 +3329,15 @@ "REDIRECTION_FROM_GCR_IO_DISABLED", "REDIRECTION_FROM_GCR_IO_ENABLED", "REDIRECTION_FROM_GCR_IO_FINALIZED", - "REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING" + "REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING", + "REDIRECTION_FROM_GCR_IO_PARTIAL_AND_COPYING" ], "enumDeprecated": [ false, false, false, true, + false, false ], "enumDescriptions": [ @@ -3343,7 +3345,8 @@ "Redirection is disabled.", "Redirection is enabled.", "Redirection is enabled, and has been finalized so cannot be reverted.", - "Redirection is enabled and missing images are copied from GCR" + "Redirection is enabled and missing images are copied from GCR", + "Redirection is partially enabled and missing images are copied from GCR" ], "type": "string" }, diff --git a/discovery/googleapis/assuredworkloads__v1.json b/discovery/googleapis/assuredworkloads__v1.json index 9c01f7f6d..885eb95e4 100644 --- a/discovery/googleapis/assuredworkloads__v1.json +++ b/discovery/googleapis/assuredworkloads__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240523", + "revision": "20240606", "rootUrl": "https://assuredworkloads.googleapis.com/", "servicePath": "", "title": "Assured Workloads API", @@ -1076,7 +1076,8 @@ "REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION", "REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION", "REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION", - "REMEDIATION_RESOURCE_VIOLATION" + "REMEDIATION_RESOURCE_VIOLATION", + "REMEDIATION_RESOURCE_VIOLATION_NON_CMEK_SERVICES" ], "enumDescriptions": [ "Unspecified remediation type", @@ -1084,7 +1085,8 @@ "Remediation type for list org policy which have allowed values in the monitoring rule", "Remediation type for list org policy which have denied values in the monitoring rule", "Remediation type for gcp.restrictCmekCryptoKeyProjects", - "Remediation type for resource violation." + "Remediation type for resource violation.", + "Remediation type for resource violation due to gcp.restrictNonCmekServices" ], "readOnly": true, "type": "string" diff --git a/discovery/googleapis/authorizedbuyersmarketplace__v1.json b/discovery/googleapis/authorizedbuyersmarketplace__v1.json index 3a41bce49..b4ceb985b 100644 --- a/discovery/googleapis/authorizedbuyersmarketplace__v1.json +++ b/discovery/googleapis/authorizedbuyersmarketplace__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240612", "rootUrl": "https://authorizedbuyersmarketplace.googleapis.com/", "servicePath": "", "title": "Authorized Buyers Marketplace API", @@ -868,7 +868,7 @@ ] }, "pause": { - "description": "Pauses serving of the given finalized deal. This call only pauses the serving status, and does not affect other fields of the finalized deal. Calling this method for an already paused deal has no effect. This method only applies to programmatic guaranteed deals.", + "description": "Pauses serving of the given finalized deal. This call only pauses the serving status, and does not affect other fields of the finalized deal. Calling this method for an already paused deal has no effect. This method only applies to programmatic guaranteed deals and preferred deals.", "flatPath": "v1/buyers/{buyersId}/finalizedDeals/{finalizedDealsId}:pause", "httpMethod": "POST", "id": "authorizedbuyersmarketplace.buyers.finalizedDeals.pause", @@ -896,7 +896,7 @@ ] }, "resume": { - "description": "Resumes serving of the given finalized deal. Calling this method for an running deal has no effect. If a deal is initially paused by the seller, calling this method will not resume serving of the deal until the seller also resumes the deal. This method only applies to programmatic guaranteed deals.", + "description": "Resumes serving of the given finalized deal. Calling this method for an running deal has no effect. If a deal is initially paused by the seller, calling this method will not resume serving of the deal until the seller also resumes the deal. This method only applies to programmatic guaranteed deals and preferred deals.", "flatPath": "v1/buyers/{buyersId}/finalizedDeals/{finalizedDealsId}:resume", "httpMethod": "POST", "id": "authorizedbuyersmarketplace.buyers.finalizedDeals.resume", diff --git a/discovery/googleapis/backupdr__v1.json b/discovery/googleapis/backupdr__v1.json index fe1b8f110..9e4213a7b 100644 --- a/discovery/googleapis/backupdr__v1.json +++ b/discovery/googleapis/backupdr__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240515", + "revision": "20240529", "rootUrl": "https://backupdr.googleapis.com/", "servicePath": "", "title": "Backup and DR Service API", @@ -795,6 +795,16 @@ "readOnly": true, "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" + }, "state": { "description": "Output only. The ManagementServer state.", "enum": [ diff --git a/discovery/googleapis/baremetalsolution__v2.json b/discovery/googleapis/baremetalsolution__v2.json index a018b1d80..8e0f47a94 100644 --- a/discovery/googleapis/baremetalsolution__v2.json +++ b/discovery/googleapis/baremetalsolution__v2.json @@ -24,7 +24,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240513", + "revision": "20240603", "rootUrl": "https://baremetalsolution.googleapis.com/", "servicePath": "", "title": "Bare Metal Solution API", diff --git a/discovery/googleapis/batch__v1.json b/discovery/googleapis/batch__v1.json index a542f987b..b83a9ce25 100644 --- a/discovery/googleapis/batch__v1.json +++ b/discovery/googleapis/batch__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240517", + "revision": "20240523", "rootUrl": "https://batch.googleapis.com/", "servicePath": "", "title": "Batch API", diff --git a/discovery/googleapis/beyondcorp__v1.json b/discovery/googleapis/beyondcorp__v1.json index 7027b5ba3..89dc2bf8d 100644 --- a/discovery/googleapis/beyondcorp__v1.json +++ b/discovery/googleapis/beyondcorp__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240508", + "revision": "20240527", "rootUrl": "https://beyondcorp.googleapis.com/", "servicePath": "", "title": "BeyondCorp API", diff --git a/discovery/googleapis/biglake__v1.json b/discovery/googleapis/biglake__v1.json index 6cebc3dbc..d9bead302 100644 --- a/discovery/googleapis/biglake__v1.json +++ b/discovery/googleapis/biglake__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240522", + "revision": "20240605", "rootUrl": "https://biglake.googleapis.com/", "servicePath": "", "title": "BigLake API", diff --git a/discovery/googleapis/bigquery__v2.json b/discovery/googleapis/bigquery__v2.json index 1d034bc05..758a01f75 100644 --- a/discovery/googleapis/bigquery__v2.json +++ b/discovery/googleapis/bigquery__v2.json @@ -75,7 +75,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240418", + "revision": "20240526", "rootUrl": "https://bigquery.googleapis.com/", "servicePath": "bigquery/v2/", "title": "BigQuery API", @@ -3161,7 +3161,7 @@ }, "defaultEncryptionConfiguration": { "$ref": "EncryptionConfiguration", - "description": "The default encryption key for all tables in the dataset. Once this property is set, all newly-created partitioned tables in the dataset will have encryption key set to this value, unless table creation request (or query) overrides the key." + "description": "The default encryption key for all tables in the dataset. After this property is set, the encryption key of all newly-created tables in the dataset is set to this value unless the table creation request or query explicitly overrides the key." }, "defaultPartitionExpirationMs": { "description": "This default partition expiration, expressed in milliseconds. When new time-partitioned tables are created in a dataset where this property is set, the table will inherit this value, propagated as the `TimePartitioning.expirationMs` property on the new table. If you set `TimePartitioning.expirationMs` explicitly when creating a table, the `defaultPartitionExpirationMs` of the containing dataset is ignored. When creating a partitioned table, if `defaultPartitionExpirationMs` is set, the `defaultTableExpirationMs` value is ignored and the table will not be inherit a table expiration deadline.", @@ -3254,6 +3254,13 @@ "format": "int64", "type": "string" }, + "resourceTags": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The [tags](/bigquery/docs/tags) attached to this dataset. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for example \"123456789012/environment\" where 123456789012 is the ID of the parent organization or project resource for this tag key. Tag value is expected to be the short name, for example \"Production\". See [Tag definitions](/iam/docs/tags-access-control#definitions) for more details.", + "type": "object" + }, "restrictions": { "$ref": "RestrictionConfig", "description": "Optional. Output only. Restriction config for all tables and dataset. If set, restrict certain accesses on the dataset and all its tables based on the config. See [Data egress](/bigquery/docs/analytics-hub-introduction#data_egress) for more details.", @@ -4185,6 +4192,21 @@ }, "type": "object" }, + "ForeignViewDefinition": { + "description": "A view can be represented in multiple ways. Each representation has its own dialect. This message stores the metadata required for these representations.", + "id": "ForeignViewDefinition", + "properties": { + "dialect": { + "description": "Optional. Represents the dialect of the query.", + "type": "string" + }, + "query": { + "description": "Required. The query that defines the view.", + "type": "string" + } + }, + "type": "object" + }, "GetIamPolicyRequest": { "description": "Request message for `GetIamPolicy` method.", "id": "GetIamPolicyRequest", @@ -4847,7 +4869,7 @@ "description": "[Pick one] Configures an extract job." }, "jobTimeoutMs": { - "description": "Optional. Job timeout in milliseconds. If this time limit is exceeded, BigQuery might attempt to stop the job.", + "description": "Optional. Job timeout in milliseconds. If this time limit is exceeded, BigQuery will attempt to stop a longer job, but may not always succeed in canceling it before the job completes. For example, a job that takes more than 60 seconds to complete has a better chance of being stopped than a job that takes 10 seconds to complete.", "format": "int64", "type": "string" }, @@ -4944,6 +4966,22 @@ "$ref": "Clustering", "description": "Clustering specification for the destination table." }, + "columnNameCharacterMap": { + "description": "Optional. Character map supported for column names in CSV/Parquet loads. Defaults to STRICT and can be overridden by Project Config Service. Using this option with unsupporting load formats will result in an error.", + "enum": [ + "COLUMN_NAME_CHARACTER_MAP_UNSPECIFIED", + "STRICT", + "V1", + "V2" + ], + "enumDescriptions": [ + "Unspecified column name character map.", + "Support flexible column name and reject invalid column names.", + "Support alphanumeric + underscore characters and names must start with a letter or underscore. Invalid column names will be normalized.", + "Support flexible column name. Invalid column names will be normalized." + ], + "type": "string" + }, "connectionProperties": { "description": "Optional. Connection properties which can modify the load job behavior. Currently, only the 'session_id' connection property is supported, and is used to resolve _SESSION appearing as the dataset id.", "items": { @@ -6676,14 +6714,14 @@ "type": "boolean" }, "mapTargetType": { - "description": "Optional. Will indicate how to represent a parquet map if present.", + "description": "Optional. Indicates how to represent a Parquet map if present.", "enum": [ "MAP_TARGET_TYPE_UNSPECIFIED", "ARRAY_OF_STRUCT" ], "enumDescriptions": [ - "In this mode, we fall back to the default. Currently (3/24) we represent the map as: struct map_field_name { repeated struct key_value { key value } }", - "In this mode, we omit parquet's key_value struct and represent the map as: repeated struct map_field_name { key value }" + "In this mode, the map will have the following schema: struct map_field_name { repeated struct key_value { key value } }.", + "In this mode, the map will have the following schema: repeated struct map_field_name { key value }." ], "type": "string" } @@ -8408,6 +8446,12 @@ "readOnly": true, "type": "string" }, + "numCurrentPhysicalBytes": { + "description": "Output only. Number of physical bytes used by current live data storage. This data is not kept in real time, and might be delayed by a few seconds to a few minutes.", + "format": "int64", + "readOnly": true, + "type": "string" + }, "numLongTermBytes": { "description": "Output only. The number of logical bytes in the table that are considered \"long-term storage\".", "format": "int64", @@ -9007,7 +9051,7 @@ "readOnly": true }, "replicationIntervalMs": { - "description": "Required. Specifies the interval at which the source table is polled for updates.", + "description": "Optional. Specifies the interval at which the source table is polled for updates. It's Optional. If not specified, default replication interval would be applied.", "format": "int64", "type": "string" }, @@ -10138,7 +10182,7 @@ "id": "UndeleteDatasetRequest", "properties": { "deletionTime": { - "description": "Optional. The exact time when the dataset was deleted. If not specified, the most recently deleted version is undeleted.", + "description": "Optional. The exact time when the dataset was deleted. If not specified, the most recently deleted version is undeleted. Undeleting a dataset using deletion time is not supported.", "format": "google-datetime", "type": "string" } @@ -10194,6 +10238,13 @@ "description": "Describes the definition of a logical view.", "id": "ViewDefinition", "properties": { + "foreignDefinitions": { + "description": "Optional. Foreign view representations.", + "items": { + "$ref": "ForeignViewDefinition" + }, + "type": "array" + }, "privacyPolicy": { "$ref": "PrivacyPolicy", "description": "Optional. Specifices the privacy policy for the view." diff --git a/discovery/googleapis/bigqueryconnection__v1.json b/discovery/googleapis/bigqueryconnection__v1.json index add2616e4..9ca0eb6b6 100644 --- a/discovery/googleapis/bigqueryconnection__v1.json +++ b/discovery/googleapis/bigqueryconnection__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240418", + "revision": "20240526", "rootUrl": "https://bigqueryconnection.googleapis.com/", "servicePath": "", "title": "BigQuery Connection API", @@ -683,7 +683,7 @@ "properties": { "asset": { "$ref": "ConnectorConfigurationAsset", - "description": "Optional. Data asset." + "description": "Data asset." }, "authentication": { "$ref": "ConnectorConfigurationAuthentication", @@ -709,7 +709,7 @@ "id": "ConnectorConfigurationAsset", "properties": { "database": { - "description": "Optional. Name of the database.", + "description": "Name of the database.", "type": "string" }, "googleCloudResource": { @@ -723,6 +723,11 @@ "description": "Client authentication.", "id": "ConnectorConfigurationAuthentication", "properties": { + "serviceAccount": { + "description": "Output only. Google-managed service account associated with this connection, e.g., `service-{project_number}@gcp-sa-bigqueryconnection.iam.gserviceaccount.com`. BigQuery jobs using this connection will act as `service_account` identity while connecting to the datasource.", + "readOnly": true, + "type": "string" + }, "usernamePassword": { "$ref": "ConnectorConfigurationUsernamePassword", "description": "Username/password authentication." diff --git a/discovery/googleapis/bigquerydatapolicy__v1.json b/discovery/googleapis/bigquerydatapolicy__v1.json index 1bceaa823..07ae24294 100644 --- a/discovery/googleapis/bigquerydatapolicy__v1.json +++ b/discovery/googleapis/bigquerydatapolicy__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240513", + "revision": "20240610", "rootUrl": "https://bigquerydatapolicy.googleapis.com/", "servicePath": "", "title": "BigQuery Data Policy API", diff --git a/discovery/googleapis/bigquerydatatransfer__v1.json b/discovery/googleapis/bigquerydatatransfer__v1.json index 103003c65..91ac9c60c 100644 --- a/discovery/googleapis/bigquerydatatransfer__v1.json +++ b/discovery/googleapis/bigquerydatatransfer__v1.json @@ -58,7 +58,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240519", + "revision": "20240527", "rootUrl": "https://bigquerydatatransfer.googleapis.com/", "servicePath": "", "title": "BigQuery Data Transfer API", diff --git a/discovery/googleapis/bigqueryreservation__v1.json b/discovery/googleapis/bigqueryreservation__v1.json index db4578ffb..124d0f22a 100644 --- a/discovery/googleapis/bigqueryreservation__v1.json +++ b/discovery/googleapis/bigqueryreservation__v1.json @@ -55,7 +55,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240518", + "revision": "20240604", "rootUrl": "https://bigqueryreservation.googleapis.com/", "servicePath": "", "title": "BigQuery Reservation API", diff --git a/discovery/googleapis/bigtableadmin__v2.json b/discovery/googleapis/bigtableadmin__v2.json index 1fd9bdca8..c2200dce2 100644 --- a/discovery/googleapis/bigtableadmin__v2.json +++ b/discovery/googleapis/bigtableadmin__v2.json @@ -49,7 +49,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240522", "rootUrl": "https://bigtableadmin.googleapis.com/", "servicePath": "", "title": "Cloud Bigtable Admin API", @@ -4105,7 +4105,7 @@ "type": "object" }, "Type": { - "description": "`Type` represents the type of data that is written to, read from, or stored in Bigtable. It is heavily based on the GoogleSQL standard to help maintain familiarity and consistency across products and features. For compatibility with Bigtable's existing untyped APIs, each `Type` includes an `Encoding` which describes how to convert to/from the underlying data. This might involve composing a series of steps into an \"encoding chain,\" for example to convert from INT64 -> STRING -> raw bytes. In most cases, a \"link\" in the encoding chain will be based an on existing GoogleSQL conversion function like `CAST`. Each link in the encoding chain also defines the following properties: * Natural sort: Does the encoded value sort consistently with the original typed value? Note that Bigtable will always sort data based on the raw encoded value, *not* the decoded type. - Example: STRING values sort in the same order as their UTF-8 encodings. - Counterexample: Encoding INT64 to a fixed-width STRING does *not* preserve sort order when dealing with negative numbers. INT64(1) > INT64(-1), but STRING(\"-00001\") > STRING(\"00001). - The overall encoding chain sorts naturally if *every* link does. * Self-delimiting: If we concatenate two encoded values, can we always tell where the first one ends and the second one begins? - Example: If we encode INT64s to fixed-width STRINGs, the first value will always contain exactly N digits, possibly preceded by a sign. - Counterexample: If we concatenate two UTF-8 encoded STRINGs, we have no way to tell where the first one ends. - The overall encoding chain is self-delimiting if *any* link is. * Compatibility: Which other systems have matching encoding schemes? For example, does this encoding have a GoogleSQL equivalent? HBase? Java?", + "description": "`Type` represents the type of data that is written to, read from, or stored in Bigtable. It is heavily based on the GoogleSQL standard to help maintain familiarity and consistency across products and features. For compatibility with Bigtable's existing untyped APIs, each `Type` includes an `Encoding` which describes how to convert to/from the underlying data. This might involve composing a series of steps into an \"encoding chain,\" for example to convert from INT64 -> STRING -> raw bytes. In most cases, a \"link\" in the encoding chain will be based an on existing GoogleSQL conversion function like `CAST`. Each link in the encoding chain also defines the following properties: * Natural sort: Does the encoded value sort consistently with the original typed value? Note that Bigtable will always sort data based on the raw encoded value, *not* the decoded type. - Example: BYTES values sort in the same order as their raw encodings. - Counterexample: Encoding INT64 to a fixed-width STRING does *not* preserve sort order when dealing with negative numbers. INT64(1) > INT64(-1), but STRING(\"-00001\") > STRING(\"00001). - The overall encoding chain has this property if *every* link does. * Self-delimiting: If we concatenate two encoded values, can we always tell where the first one ends and the second one begins? - Example: If we encode INT64s to fixed-width STRINGs, the first value will always contain exactly N digits, possibly preceded by a sign. - Counterexample: If we concatenate two UTF-8 encoded STRINGs, we have no way to tell where the first one ends. - The overall encoding chain has this property if *any* link does. * Compatibility: Which other systems have matching encoding schemes? For example, does this encoding have a GoogleSQL equivalent? HBase? Java?", "id": "Type", "properties": { "aggregateType": { diff --git a/discovery/googleapis/billingbudgets__v1.json b/discovery/googleapis/billingbudgets__v1.json index 216404277..2f47f0324 100644 --- a/discovery/googleapis/billingbudgets__v1.json +++ b/discovery/googleapis/billingbudgets__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240609", "rootUrl": "https://billingbudgets.googleapis.com/", "servicePath": "", "title": "Cloud Billing Budget API", diff --git a/discovery/googleapis/binaryauthorization__v1.json b/discovery/googleapis/binaryauthorization__v1.json index 9ab4c0a40..c3f1de8ed 100644 --- a/discovery/googleapis/binaryauthorization__v1.json +++ b/discovery/googleapis/binaryauthorization__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240524", + "revision": "20240607", "rootUrl": "https://binaryauthorization.googleapis.com/", "servicePath": "", "title": "Binary Authorization API", @@ -1344,7 +1344,7 @@ "id": "PkixPublicKey", "properties": { "keyId": { - "description": "Optional. The ID of this public key. Signatures verified by Binary Authorization must include the ID of the public key that can be used to verify them, and that ID must match the contents of this field exactly. This may be explicitly provided by the caller, but it MUST be a valid RFC3986 URI. If `key_id` is left blank and this `PkixPublicKey` is not used in the context of a wrapper (see next paragraph), a default key ID will be computed based on the digest of the DER encoding of the public key. If this `PkixPublicKey` is used in the context of a wrapper that has its own notion of key ID (e.g. `AttestorPublicKey`), then this field can either: * Match that value exactly. * Or be left blank, in which case it behaves exactly as though it is equal to that wrapper value.", + "description": "Optional. The ID of this public key. Signatures verified by Binary Authorization must include the ID of the public key that can be used to verify them. The ID must match exactly contents of the `key_id` field exactly. The ID may be explicitly provided by the caller, but it MUST be a valid RFC3986 URI. If `key_id` is left blank and this `PkixPublicKey` is not used in the context of a wrapper (see next paragraph), a default key ID will be computed based on the digest of the DER encoding of the public key. If this `PkixPublicKey` is used in the context of a wrapper that has its own notion of key ID (e.g. `AttestorPublicKey`), then this field can either match that value exactly, or be left blank, in which case it behaves exactly as though it is equal to that wrapper value.", "type": "string" }, "publicKeyPem": { diff --git a/discovery/googleapis/blockchainnodeengine__v1.json b/discovery/googleapis/blockchainnodeengine__v1.json index 6461cecf0..1b1e187c9 100644 --- a/discovery/googleapis/blockchainnodeengine__v1.json +++ b/discovery/googleapis/blockchainnodeengine__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240605", "rootUrl": "https://blockchainnodeengine.googleapis.com/", "servicePath": "", "title": "Blockchain Node Engine API", diff --git a/discovery/googleapis/blogger__v3.json b/discovery/googleapis/blogger__v3.json index 435bb80a7..3af763b73 100644 --- a/discovery/googleapis/blogger__v3.json +++ b/discovery/googleapis/blogger__v3.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240612", "rootUrl": "https://blogger.googleapis.com/", "servicePath": "", "title": "Blogger API", diff --git a/discovery/googleapis/books__v1.json b/discovery/googleapis/books__v1.json index 51f69272b..e6f705d90 100644 --- a/discovery/googleapis/books__v1.json +++ b/discovery/googleapis/books__v1.json @@ -24,7 +24,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240521", + "revision": "20240604", "rootUrl": "https://books.googleapis.com/", "servicePath": "", "title": "Books API", diff --git a/discovery/googleapis/businessprofileperformance__v1.json b/discovery/googleapis/businessprofileperformance__v1.json index c13ff3af9..fa4e9d547 100644 --- a/discovery/googleapis/businessprofileperformance__v1.json +++ b/discovery/googleapis/businessprofileperformance__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240612", "rootUrl": "https://businessprofileperformance.googleapis.com/", "servicePath": "", "title": "Business Profile Performance API", diff --git a/discovery/googleapis/chat__v1.json b/discovery/googleapis/chat__v1.json index ab523414c..13c8e1404 100644 --- a/discovery/googleapis/chat__v1.json +++ b/discovery/googleapis/chat__v1.json @@ -2,6 +2,21 @@ "auth": { "oauth2": { "scopes": { + "https://www.googleapis.com/auth/chat.admin.delete": { + "description": "Delete conversations and spaces owned by your organization and remove access to associated files in Google Chat" + }, + "https://www.googleapis.com/auth/chat.admin.memberships": { + "description": "View, add, update and remove members and managers in conversations owned by your organization" + }, + "https://www.googleapis.com/auth/chat.admin.memberships.readonly": { + "description": "View members and managers in conversations owned by your organization" + }, + "https://www.googleapis.com/auth/chat.admin.spaces": { + "description": "View or edit display name, description, and other metadata for all Google Chat conversations owned by your organization" + }, + "https://www.googleapis.com/auth/chat.admin.spaces.readonly": { + "description": "View display name, description, and other metadata for all Google Chat conversations owned by your organization" + }, "https://www.googleapis.com/auth/chat.bot": { "description": "Private Service: https://www.googleapis.com/auth/chat.bot" }, @@ -73,7 +88,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240521", + "revision": "20240604", "rootUrl": "https://chat.googleapis.com/", "servicePath": "", "title": "Google Chat API", @@ -314,6 +329,7 @@ "$ref": "Empty" }, "scopes": [ + "https://www.googleapis.com/auth/chat.admin.delete", "https://www.googleapis.com/auth/chat.delete", "https://www.googleapis.com/auth/chat.import" ] @@ -363,13 +379,15 @@ "$ref": "Space" }, "scopes": [ + "https://www.googleapis.com/auth/chat.admin.spaces", + "https://www.googleapis.com/auth/chat.admin.spaces.readonly", "https://www.googleapis.com/auth/chat.bot", "https://www.googleapis.com/auth/chat.spaces", "https://www.googleapis.com/auth/chat.spaces.readonly" ] }, "list": { - "description": "Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/workspace/chat/list-spaces). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed until the first message is sent. To list all named spaces by Google Workspace organization, use the `spaces.search()` method using Workspace administrator privileges instead.", + "description": "Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/workspace/chat/list-spaces). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed until the first message is sent. To list all named spaces by Google Workspace organization, use the [`spaces.search()`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/search) method using Workspace administrator privileges instead.", "flatPath": "v1/spaces", "httpMethod": "GET", "id": "chat.spaces.list", @@ -433,6 +451,7 @@ "$ref": "Space" }, "scopes": [ + "https://www.googleapis.com/auth/chat.admin.spaces", "https://www.googleapis.com/auth/chat.import", "https://www.googleapis.com/auth/chat.spaces" ] @@ -485,6 +504,7 @@ "$ref": "Membership" }, "scopes": [ + "https://www.googleapis.com/auth/chat.admin.memberships", "https://www.googleapis.com/auth/chat.import", "https://www.googleapis.com/auth/chat.memberships", "https://www.googleapis.com/auth/chat.memberships.app" @@ -512,6 +532,7 @@ "$ref": "Membership" }, "scopes": [ + "https://www.googleapis.com/auth/chat.admin.memberships", "https://www.googleapis.com/auth/chat.import", "https://www.googleapis.com/auth/chat.memberships", "https://www.googleapis.com/auth/chat.memberships.app" @@ -539,6 +560,8 @@ "$ref": "Membership" }, "scopes": [ + "https://www.googleapis.com/auth/chat.admin.memberships", + "https://www.googleapis.com/auth/chat.admin.memberships.readonly", "https://www.googleapis.com/auth/chat.bot", "https://www.googleapis.com/auth/chat.memberships", "https://www.googleapis.com/auth/chat.memberships.readonly" @@ -592,6 +615,8 @@ "$ref": "ListMembershipsResponse" }, "scopes": [ + "https://www.googleapis.com/auth/chat.admin.memberships", + "https://www.googleapis.com/auth/chat.admin.memberships.readonly", "https://www.googleapis.com/auth/chat.bot", "https://www.googleapis.com/auth/chat.import", "https://www.googleapis.com/auth/chat.memberships", @@ -629,6 +654,7 @@ "$ref": "Membership" }, "scopes": [ + "https://www.googleapis.com/auth/chat.admin.memberships", "https://www.googleapis.com/auth/chat.import", "https://www.googleapis.com/auth/chat.memberships" ] @@ -1667,7 +1693,7 @@ "The add-on launches from Google Sheets.", "The add-on launches from Google Slides.", "The add-on launches from Google Drawings.", - "A Google Chat app. Not used for Google Workspace Add-ons." + "A Google Chat app." ], "type": "string" }, @@ -2694,11 +2720,13 @@ "description": "A data source shared by all Google Workspace applications, such as users in a Google Workspace organization.", "enum": [ "UNKNOWN", - "USER" + "USER", + "DRIVE" ], "enumDescriptions": [ "Default value. Don't use.", - "Google Workspace users. The user can only view and select users from their Google Workspace organization." + "Google Workspace users. The user can only view and select users from their Google Workspace organization.", + "Represents a data source from Google Drive OnePick." ], "type": "string" }, diff --git a/discovery/googleapis/chromemanagement__v1.json b/discovery/googleapis/chromemanagement__v1.json index a024aa88d..cfade500e 100644 --- a/discovery/googleapis/chromemanagement__v1.json +++ b/discovery/googleapis/chromemanagement__v1.json @@ -31,7 +31,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240611", "rootUrl": "https://chromemanagement.googleapis.com/", "servicePath": "", "title": "Chrome Management API", @@ -1322,6 +1322,85 @@ }, "type": "object" }, + "GoogleChromeManagementV1AppReport": { + "description": "App report.", + "id": "GoogleChromeManagementV1AppReport", + "properties": { + "reportTime": { + "description": "Timestamp when the report was collected.", + "format": "google-datetime", + "type": "string" + }, + "usageData": { + "description": "App usage data.", + "items": { + "$ref": "GoogleChromeManagementV1AppUsageData" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleChromeManagementV1AppUsageData": { + "description": "App usage data.", + "id": "GoogleChromeManagementV1AppUsageData", + "properties": { + "appId": { + "description": "App id.", + "type": "string" + }, + "appInstanceId": { + "description": "Application instance id. This will be unique per window/instance.", + "type": "string" + }, + "appType": { + "description": "Type of app.", + "enum": [ + "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED", + "APPLICATION_TYPE_ARC", + "APPLICATION_TYPE_BUILT_IN", + "APPLICATION_TYPE_CROSTINI", + "APPLICATION_TYPE_CHROME_APP", + "APPLICATION_TYPE_WEB", + "APPLICATION_TYPE_MAC_OS", + "APPLICATION_TYPE_PLUGIN_VM", + "APPLICATION_TYPE_STANDALONE_BROWSER", + "APPLICATION_TYPE_REMOTE", + "APPLICATION_TYPE_BOREALIS", + "APPLICATION_TYPE_SYSTEM_WEB", + "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP", + "APPLICATION_TYPE_EXTENSION", + "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION", + "APPLICATION_TYPE_BRUSCHETTA" + ], + "enumDescriptions": [ + "Application type unknown.", + "Application type arc (Android app).", + "Application type built-in.", + "Application type Linux (via Crostini).", + "Application type Chrome app.", + "Application type web.", + "Application type Mac OS.", + "Application type Plugin VM.", + "Application type standalone browser (Lacros browser app).", + "Application type remote.", + "Application type borealis.", + "Application type system web.", + "Application type standalone browser chrome app (hosted in Lacros).", + "Application type extension.", + "Application type standalone browser extension.", + "Application type bruschetta." + ], + "type": "string" + }, + "runningDuration": { + "description": "App foreground running time.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "GoogleChromeManagementV1AudioStatusReport": { "description": "Status data for storage. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceAudioStatus](https://chromeenterprise.google/policies/#ReportDeviceAudioStatus) * Data Collection Frequency: 10 minutes * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_AUDIO_REPORT", "id": "GoogleChromeManagementV1AudioStatusReport", @@ -3773,6 +3852,14 @@ "description": "Telemetry data collected from a managed device. * Granular permission needed: TELEMETRY_API_DEVICE", "id": "GoogleChromeManagementV1TelemetryDevice", "properties": { + "appReport": { + "description": "Output only. App reports collected periodically sorted in a decreasing order of report_time.", + "items": { + "$ref": "GoogleChromeManagementV1AppReport" + }, + "readOnly": true, + "type": "array" + }, "audioStatusReport": { "description": "Output only. Audio reports collected periodically sorted in a decreasing order of report_time.", "items": { @@ -4304,6 +4391,14 @@ "description": "Telemetry data collected for a managed user and device. * Granular permission needed: TELEMETRY_API_DEVICE", "id": "GoogleChromeManagementV1TelemetryUserDevice", "properties": { + "appReport": { + "description": "Output only. App reports collected periodically sorted in a decreasing order of report_time.", + "items": { + "$ref": "GoogleChromeManagementV1AppReport" + }, + "readOnly": true, + "type": "array" + }, "audioStatusReport": { "description": "Output only. Audio reports collected periodically sorted in a decreasing order of report_time.", "items": { diff --git a/discovery/googleapis/chromepolicy__v1.json b/discovery/googleapis/chromepolicy__v1.json index ea58a5766..ddbe3381f 100644 --- a/discovery/googleapis/chromepolicy__v1.json +++ b/discovery/googleapis/chromepolicy__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://chromepolicy.googleapis.com/", "servicePath": "", "title": "Chrome Policy API", diff --git a/discovery/googleapis/chromeuxreport__v1.json b/discovery/googleapis/chromeuxreport__v1.json index 9bd82fe3f..bab5f4e60 100644 --- a/discovery/googleapis/chromeuxreport__v1.json +++ b/discovery/googleapis/chromeuxreport__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240605", "rootUrl": "https://chromeuxreport.googleapis.com/", "servicePath": "", "title": "Chrome UX Report API", diff --git a/discovery/googleapis/civicinfo__v2.json b/discovery/googleapis/civicinfo__v2.json index f87bba51c..74174e305 100644 --- a/discovery/googleapis/civicinfo__v2.json +++ b/discovery/googleapis/civicinfo__v2.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://civicinfo.googleapis.com/", "servicePath": "", "title": "Google Civic Information API", @@ -148,14 +148,11 @@ "flatPath": "civicinfo/v2/voterinfo", "httpMethod": "GET", "id": "civicinfo.elections.voterInfoQuery", - "parameterOrder": [ - "address" - ], + "parameterOrder": [], "parameters": { "address": { "description": "The registered address of the voter to look up.", "location": "query", - "required": true, "type": "string" }, "electionId": { diff --git a/discovery/googleapis/classroom__v1.json b/discovery/googleapis/classroom__v1.json index 0455fcbaa..ec8acb470 100644 --- a/discovery/googleapis/classroom__v1.json +++ b/discovery/googleapis/classroom__v1.json @@ -87,7 +87,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240523", + "revision": "20240604", "rootUrl": "https://classroom.googleapis.com/", "servicePath": "", "title": "Google Classroom API", diff --git a/discovery/googleapis/cloudasset__v1.json b/discovery/googleapis/cloudasset__v1.json index 68e5a1ab1..53fdd3b02 100644 --- a/discovery/googleapis/cloudasset__v1.json +++ b/discovery/googleapis/cloudasset__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240525", + "revision": "20240608", "rootUrl": "https://cloudasset.googleapis.com/", "servicePath": "", "title": "Cloud Asset API", @@ -2586,7 +2586,7 @@ "type": "string" }, "name": { - "description": "Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`.", + "description": "Identifier. Resource name for the `AccessLevel`. Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The `access_level` component must begin with a letter, followed by alphanumeric characters or `_`. Its maximum length is 50 characters. After you create an `AccessLevel`, you cannot change its `name`.", "type": "string" }, "title": { @@ -2601,11 +2601,11 @@ "id": "GoogleIdentityAccesscontextmanagerV1AccessPolicy", "properties": { "etag": { - "description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Polices will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", + "description": "Output only. An opaque identifier for the current version of the `AccessPolicy`. This will always be a strongly validated etag, meaning that two Access Policies will be identical if and only if their etags are identical. Clients should not expect this to be in any specific format.", "type": "string" }, "name": { - "description": "Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}`", + "description": "Output only. Identifier. Resource name of the `AccessPolicy`. Format: `accessPolicies/{access_policy}`", "type": "string" }, "parent": { @@ -3049,7 +3049,7 @@ "type": "string" }, "name": { - "description": "Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.", + "description": "Identifier. Resource name for the `ServicePerimeter`. Format: `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The `service_perimeter` component must begin with a letter, followed by alphanumeric characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.", "type": "string" }, "perimeterType": { @@ -4077,7 +4077,7 @@ "type": "object" }, "ResourceSearchResult": { - "description": "A result of Resource Search, containing information of a cloud resource. Next ID: 34", + "description": "A result of Resource Search, containing information of a cloud resource. Next ID: 36", "id": "ResourceSearchResult", "properties": { "additionalAttributes": { @@ -4142,7 +4142,7 @@ "additionalProperties": { "type": "string" }, - "description": "Labels associated with this resource. See [Labelling and grouping Google Cloud resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `labels`: * Use a field query: - query on any label's key or value. Example: `labels:prod` - query by a given label. Example: `labels.env:prod` - query by a given label's existence. Example: `labels.env:*` * Use a free text query. Example: `prod`", + "description": "User labels associated with this resource. See [Labelling and grouping Google Cloud resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) for more information. This field is available only when the resource's Protobuf contains it. To search against the `labels`: * Use a field query: - query on any label's key or value. Example: `labels:prod` - query by a given label. Example: `labels.env:prod` - query by a given label's existence. Example: `labels.env:*` * Use a free text query. Example: `prod`", "type": "object" }, "location": { diff --git a/discovery/googleapis/cloudbilling__v1.json b/discovery/googleapis/cloudbilling__v1.json index 0e8492eb9..fc8496f56 100644 --- a/discovery/googleapis/cloudbilling__v1.json +++ b/discovery/googleapis/cloudbilling__v1.json @@ -31,7 +31,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240517", + "revision": "20240607", "rootUrl": "https://cloudbilling.googleapis.com/", "servicePath": "", "title": "Cloud Billing API", diff --git a/discovery/googleapis/cloudbuild__v1.json b/discovery/googleapis/cloudbuild__v1.json index 149fe8ba3..93d003c7d 100644 --- a/discovery/googleapis/cloudbuild__v1.json +++ b/discovery/googleapis/cloudbuild__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240519", + "revision": "20240609", "rootUrl": "https://cloudbuild.googleapis.com/", "servicePath": "", "title": "Cloud Build API", @@ -457,7 +457,7 @@ "type": "string" }, "parent": { - "description": "Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}", + "description": "Required. Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -596,7 +596,7 @@ ], "parameters": { "name": { - "description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", + "description": "The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", "location": "path", "pattern": "^projects/[^/]+/githubEnterpriseConfigs/[^/]+$", "required": true, @@ -1388,7 +1388,7 @@ "type": "string" }, "parent": { - "description": "Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}", + "description": "Required. Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -1527,7 +1527,7 @@ ], "parameters": { "name": { - "description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", + "description": "The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/githubEnterpriseConfigs/[^/]+$", "required": true, @@ -2028,7 +2028,7 @@ "type": "string" }, "updateMask": { - "description": "A mask specifying which fields in `worker_pool` to update.", + "description": "Optional. A mask specifying which fields in `worker_pool` to update.", "format": "google-fieldmask", "location": "query", "type": "string" @@ -3910,7 +3910,7 @@ "type": "string" }, "displayName": { - "description": "Name to display for this config.", + "description": "Optional. Name to display for this config.", "type": "string" }, "hostUrl": { @@ -3918,7 +3918,7 @@ "type": "string" }, "name": { - "description": "Optional. The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", + "description": "The full resource name for the GitHubEnterpriseConfig For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", "type": "string" }, "peeredNetwork": { @@ -3927,7 +3927,7 @@ }, "secrets": { "$ref": "GitHubEnterpriseSecrets", - "description": "Names of secrets in Secret Manager." + "description": "Optional. Names of secrets in Secret Manager." }, "sslCa": { "description": "Optional. SSL certificate to use for requests to GitHub Enterprise.", @@ -3988,7 +3988,7 @@ "id": "GitHubEventsConfig", "properties": { "enterpriseConfigResourceName": { - "description": "Optional. The resource name of the github enterprise config that should be applied to this installation. For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", + "description": "The resource name of the github enterprise config that should be applied to this installation. For example: \"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}\"", "type": "string" }, "installationId": { @@ -4715,7 +4715,7 @@ "type": "string" }, "topic": { - "description": "The name of the topic from which this subscription is receiving messages. Format is `projects/{project}/topics/{topic}`.", + "description": "Optional. The name of the topic from which this subscription is receiving messages. Format is `projects/{project}/topics/{topic}`.", "type": "string" } }, @@ -5451,7 +5451,7 @@ "type": "string" }, "machineType": { - "description": "Machine type of a worker, such as `e2-medium`. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). If left blank, Cloud Build will use a sensible default.", + "description": "Optional. Machine type of a worker, such as `e2-medium`. See [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). If left blank, Cloud Build will use a sensible default.", "type": "string" } }, diff --git a/discovery/googleapis/cloudbuild__v2.json b/discovery/googleapis/cloudbuild__v2.json index 89c482a8d..6fa935cb6 100644 --- a/discovery/googleapis/cloudbuild__v2.json +++ b/discovery/googleapis/cloudbuild__v2.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240519", + "revision": "20240609", "rootUrl": "https://cloudbuild.googleapis.com/", "servicePath": "", "title": "Cloud Build API", @@ -979,7 +979,7 @@ "description": "Required. A http access token with the `REPO_ADMIN` scope access." }, "hostUri": { - "description": "Optional. The URI of the Bitbucket Data Center instance or cluster this connection is for.", + "description": "Required. The URI of the Bitbucket Data Center instance or cluster this connection is for.", "type": "string" }, "readAuthorizerCredential": { @@ -2725,6 +2725,20 @@ "description": "Name of the container specified as a DNS_LABEL.", "type": "string" }, + "onError": { + "description": "Optional. OnError defines the exiting behavior on error can be set to [ continue | stopAndFail ]", + "enum": [ + "ON_ERROR_TYPE_UNSPECIFIED", + "STOP_AND_FAIL", + "CONTINUE" + ], + "enumDescriptions": [ + "Default enum type; should not be used.", + "StopAndFail indicates exit if the step/task exits with non-zero exit code", + "Continue indicates continue executing the rest of the steps/tasks irrespective of the exit code" + ], + "type": "string" + }, "params": { "description": "Optional. Optional parameters passed to the StepAction.", "items": { diff --git a/discovery/googleapis/cloudchannel__v1.json b/discovery/googleapis/cloudchannel__v1.json index b48300365..e7e842ae0 100644 --- a/discovery/googleapis/cloudchannel__v1.json +++ b/discovery/googleapis/cloudchannel__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://cloudchannel.googleapis.com/", "servicePath": "", "title": "Cloud Channel API", diff --git a/discovery/googleapis/cloudcommerceprocurement__v1.json b/discovery/googleapis/cloudcommerceprocurement__v1.json new file mode 100644 index 000000000..b1e5c2b7a --- /dev/null +++ b/discovery/googleapis/cloudcommerceprocurement__v1.json @@ -0,0 +1,928 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://cloudcommerceprocurement.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Cloud Commerce Partner Procurement Service", + "description": "Partner API for the Cloud Commerce Procurement Service.", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/marketplace/docs/partners/", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "cloudcommerceprocurement:v1", + "kind": "discovery#restDescription", + "name": "cloudcommerceprocurement", + "ownerDomain": "google.com", + "ownerName": "Google", + "protocol": "rest", + "revision": "20240609", + "rootUrl": "https://cloudcommerceprocurement.googleapis.com/", + "servicePath": "", + "title": "Cloud Commerce Partner Procurement API", + "version": "v1", + "version_module": true, + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "resources": { + "providers": { + "resources": { + "accounts": { + "methods": { + "approve": { + "description": "Grants an approval on an Account.", + "flatPath": "v1/providers/{providersId}/accounts/{accountsId}:approve", + "httpMethod": "POST", + "id": "cloudcommerceprocurement.providers.accounts.approve", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the account, with the format `providers/{providerId}/accounts/{accountId}`.", + "location": "path", + "pattern": "^providers/[^/]+/accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:approve", + "request": { + "$ref": "ApproveAccountRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets a requested Account resource.", + "flatPath": "v1/providers/{providersId}/accounts/{accountsId}", + "httpMethod": "GET", + "id": "cloudcommerceprocurement.providers.accounts.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the account to retrieve.", + "location": "path", + "pattern": "^providers/[^/]+/accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Account" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists Accounts that the provider has access to.", + "flatPath": "v1/providers/{providersId}/accounts", + "httpMethod": "GET", + "id": "cloudcommerceprocurement.providers.accounts.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of entries that are requested. The default page size is 25 and the maximum page size is 200.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The token for fetching the next page.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource name.", + "location": "path", + "pattern": "^providers/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/accounts", + "response": { + "$ref": "ListAccountsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "reject": { + "description": "Rejects an approval on an Account.", + "flatPath": "v1/providers/{providersId}/accounts/{accountsId}:reject", + "httpMethod": "POST", + "id": "cloudcommerceprocurement.providers.accounts.reject", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the account.", + "location": "path", + "pattern": "^providers/[^/]+/accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:reject", + "request": { + "$ref": "RejectAccountRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "reset": { + "description": "Resets an Account and cancels all associated Entitlements. Partner can only reset accounts they own rather than customer accounts.", + "flatPath": "v1/providers/{providersId}/accounts/{accountsId}:reset", + "httpMethod": "POST", + "id": "cloudcommerceprocurement.providers.accounts.reset", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the account.", + "location": "path", + "pattern": "^providers/[^/]+/accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:reset", + "request": { + "$ref": "ResetAccountRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "entitlements": { + "methods": { + "approve": { + "description": "Approves an entitlement that is in the EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. This method is invoked by the provider to approve the creation of the entitlement resource.", + "flatPath": "v1/providers/{providersId}/entitlements/{entitlementsId}:approve", + "httpMethod": "POST", + "id": "cloudcommerceprocurement.providers.entitlements.approve", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the entitlement, with the format `providers/{providerId}/entitlements/{entitlementId}`.", + "location": "path", + "pattern": "^providers/[^/]+/entitlements/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:approve", + "request": { + "$ref": "ApproveEntitlementRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "approvePlanChange": { + "description": "Approves an entitlement plan change that is in the EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method is invoked by the provider to approve the plan change on the entitlement resource.", + "flatPath": "v1/providers/{providersId}/entitlements/{entitlementsId}:approvePlanChange", + "httpMethod": "POST", + "id": "cloudcommerceprocurement.providers.entitlements.approvePlanChange", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the entitlement.", + "location": "path", + "pattern": "^providers/[^/]+/entitlements/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:approvePlanChange", + "request": { + "$ref": "ApproveEntitlementPlanChangeRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets a requested Entitlement resource.", + "flatPath": "v1/providers/{providersId}/entitlements/{entitlementsId}", + "httpMethod": "GET", + "id": "cloudcommerceprocurement.providers.entitlements.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the entitlement to retrieve.", + "location": "path", + "pattern": "^providers/[^/]+/entitlements/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Entitlement" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists Entitlements for which the provider has read access.", + "flatPath": "v1/providers/{providersId}/entitlements", + "httpMethod": "GET", + "id": "cloudcommerceprocurement.providers.entitlements.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "The filter that can be used to limit the list request. The filter is a query string that can match a selected set of attributes with string values. For example `account=E-1234-5678-ABCD-EFGH`, `state=pending_cancellation`, and `plan!=foo-plan`. Supported query attributes are * `account` * `customer_billing_account` with value in the format of: `billingAccounts/{id}` * `product_external_name` * `quote_external_name` * `offer` * `new_pending_offer` * `plan` * `newPendingPlan` or `new_pending_plan` * `state` * `consumers.project` * `change_history.new_offer` Note that the consumers and change_history.new_offer match works on repeated structures, so equality (`consumers.project=projects/123456789`) is not supported. Set membership can be expressed with the `:` operator. For example, `consumers.project:projects/123456789` finds entitlements with at least one consumer with project field equal to `projects/123456789`. `change_history.new_offer` retrieves all entitlements that were once associated or are currently active with the offer. Also note that the state name match is case-insensitive and query can omit the prefix \"ENTITLEMENT_\". For example, `state=active` is equivalent to `state=ENTITLEMENT_ACTIVE`. If the query contains some special characters other than letters, underscore, or digits, the phrase must be quoted with double quotes. For example, `product=\"providerId:productId\"`, where the product name needs to be quoted because it contains special character colon. Queries can be combined with `AND`, `OR`, and `NOT` to form more complex queries. They can also be grouped to force a desired evaluation order. For example, `state=active AND (account=E-1234 OR account=5678) AND NOT (product=foo-product)`. Connective `AND` can be omitted between two predicates. For example `account=E-1234 state=active` is equivalent to `account=E-1234 AND state=active`.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of entries that are requested. The default page size is 200.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The token for fetching the next page.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource name.", + "location": "path", + "pattern": "^providers/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/entitlements", + "response": { + "$ref": "ListEntitlementsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates an existing Entitlement.", + "flatPath": "v1/providers/{providersId}/entitlements/{entitlementsId}", + "httpMethod": "PATCH", + "id": "cloudcommerceprocurement.providers.entitlements.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the entitlement to update.", + "location": "path", + "pattern": "^providers/[^/]+/entitlements/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The update mask that applies to the resource. See the [FieldMask definition] (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask) for more details.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Entitlement" + }, + "response": { + "$ref": "Entitlement" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "reject": { + "description": "Rejects an entitlement that is in the EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. This method is invoked by the provider to reject the creation of the entitlement resource.", + "flatPath": "v1/providers/{providersId}/entitlements/{entitlementsId}:reject", + "httpMethod": "POST", + "id": "cloudcommerceprocurement.providers.entitlements.reject", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the entitlement.", + "location": "path", + "pattern": "^providers/[^/]+/entitlements/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:reject", + "request": { + "$ref": "RejectEntitlementRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "rejectPlanChange": { + "description": "Rejects an entitlement plan change that is in the EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method is invoked by the provider to reject the plan change on the entitlement resource.", + "flatPath": "v1/providers/{providersId}/entitlements/{entitlementsId}:rejectPlanChange", + "httpMethod": "POST", + "id": "cloudcommerceprocurement.providers.entitlements.rejectPlanChange", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the entitlement.", + "location": "path", + "pattern": "^providers/[^/]+/entitlements/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:rejectPlanChange", + "request": { + "$ref": "RejectEntitlementPlanChangeRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "suspend": { + "description": "Requests suspension of an active Entitlement. This is not yet supported.", + "flatPath": "v1/providers/{providersId}/entitlements/{entitlementsId}:suspend", + "httpMethod": "POST", + "id": "cloudcommerceprocurement.providers.entitlements.suspend", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the entitlement to suspend.", + "location": "path", + "pattern": "^providers/[^/]+/entitlements/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:suspend", + "request": { + "$ref": "SuspendEntitlementRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + }, + "schemas": { + "Account": { + "description": "Represents an account that was established by the customer on the service provider's system.", + "id": "Account", + "properties": { + "approvals": { + "description": "Output only. The approvals for this account. These approvals are used to track actions that are permitted or have been completed by a customer within the context of the provider. This might include a sign up flow or a provisioning step, for example, that the provider can admit to having happened.", + "items": { + "$ref": "Approval" + }, + "type": "array" + }, + "createTime": { + "description": "Output only. The creation timestamp.", + "format": "google-datetime", + "type": "string" + }, + "inputProperties": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "deprecated": true, + "description": "Output only. The custom properties that were collected from the user to create this account.", + "type": "object" + }, + "name": { + "description": "Output only. The resource name of the account. Account names have the form `accounts/{account_id}`.", + "type": "string" + }, + "provider": { + "description": "Output only. The identifier of the service provider that this account was created against. Each service provider is assigned a unique provider value when they onboard with Cloud Commerce platform.", + "type": "string" + }, + "state": { + "description": "Output only. The state of the account. This is used to decide whether the customer is in good standing with the provider and is able to make purchases. An account might not be able to make a purchase if the billing account is suspended, for example.", + "enum": [ + "ACCOUNT_STATE_UNSPECIFIED", + "ACCOUNT_ACTIVATION_REQUESTED", + "ACCOUNT_ACTIVE" + ], + "enumDescriptions": [ + "Default state of the account. It's only set to this value when the account is first created and has not been initialized.", + "The customer has requested the creation of the account resource, and the provider notification message is dispatched. This state has been deprecated, as accounts now immediately transition to AccountState.ACCOUNT_ACTIVE.", + "The account is active and ready for use. The next possible states are: - Account getting deleted: After the user invokes delete from another API." + ], + "type": "string" + }, + "updateTime": { + "description": "Output only. The last update timestamp.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "Approval": { + "description": "An approval for some action on an account.", + "id": "Approval", + "properties": { + "name": { + "description": "Output only. The name of the approval.", + "type": "string" + }, + "reason": { + "description": "Output only. An explanation for the state of the approval.", + "type": "string" + }, + "state": { + "description": "Output only. The state of the approval.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING", + "APPROVED", + "REJECTED" + ], + "enumDescriptions": [ + "Sentinel value; do not use.", + "The approval is pending response from the provider. The approval state can transition to Account.Approval.State.APPROVED or Account.Approval.State.REJECTED.", + "The approval has been granted by the provider.", + "The approval has been rejected by the provider. A provider may choose to approve a previously rejected approval, so is it possible to transition to Account.Approval.State.APPROVED." + ], + "type": "string" + }, + "updateTime": { + "description": "Optional. The last update timestamp of the approval.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "ApproveAccountRequest": { + "description": "Request message for PartnerProcurementService.ApproveAccount.", + "id": "ApproveAccountRequest", + "properties": { + "approvalName": { + "description": "The name of the approval being approved. If absent and there is only one approval possible, that approval will be granted. If absent and there are many approvals possible, the request will fail with a 400 Bad Request. Optional.", + "type": "string" + }, + "properties": { + "additionalProperties": { + "type": "string" + }, + "description": "Set of properties that should be associated with the account. Optional.", + "type": "object" + }, + "reason": { + "description": "Free form text string explaining the approval reason. Optional. Max allowed length: 256 bytes. Longer strings will be truncated.", + "type": "string" + } + }, + "type": "object" + }, + "ApproveEntitlementPlanChangeRequest": { + "description": "Request message for [PartnerProcurementService.ApproveEntitlementPlanChange[].", + "id": "ApproveEntitlementPlanChangeRequest", + "properties": { + "pendingPlanName": { + "description": "Required. Name of the pending plan that's being approved.", + "type": "string" + } + }, + "type": "object" + }, + "ApproveEntitlementRequest": { + "description": "Request message for [PartnerProcurementService.ApproveEntitlement[].", + "id": "ApproveEntitlementRequest", + "properties": { + "entitlementMigrated": { + "description": "Optional. The resource name of the entitlement that was migrated, with the format `providers/{provider_id}/entitlements/{entitlement_id}`. Should only be sent when resources have been migrated from entitlement_migrated to the new entitlement. Optional.", + "type": "string" + }, + "properties": { + "additionalProperties": { + "type": "string" + }, + "deprecated": true, + "description": "Set of properties that should be associated with the entitlement. Optional.", + "type": "object" + } + }, + "type": "object" + }, + "Consumer": { + "description": "A resource using (consuming) this entitlement.", + "id": "Consumer", + "properties": { + "project": { + "description": "A project name with format `projects/`.", + "type": "string" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "Entitlement": { + "description": "Represents a procured product of a customer.", + "id": "Entitlement", + "properties": { + "account": { + "description": "Output only. The resource name of the account that this entitlement is based on, if any.", + "type": "string" + }, + "cancellationReason": { + "description": "Output only. The reason the entitlement was cancelled. If this entitlement wasn't cancelled, this field is empty. Possible values include \"unknown\", \"expired\", \"user-cancelled\", \"account-closed\", \"billing-disabled\" (if the customer has manually disabled billing to their resources), \"user-aborted\", and \"migrated\" (if the entitlement has migrated across products). Values of this field are subject to change, and we recommend that you don't build your technical integration to rely on these fields.", + "readOnly": true, + "type": "string" + }, + "consumers": { + "description": "Output only. The resources using this entitlement, if applicable.", + "items": { + "$ref": "Consumer" + }, + "type": "array" + }, + "createTime": { + "description": "Output only. The creation timestamp.", + "format": "google-datetime", + "type": "string" + }, + "entitlementBenefitIds": { + "description": "Output only. The entitlement benefit IDs associated with the purchase.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "inputProperties": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "deprecated": true, + "description": "Output only. The custom properties that were collected from the user to create this entitlement.", + "type": "object" + }, + "messageToUser": { + "description": "Provider-supplied message that is displayed to the end user. Currently this is used to communicate progress and ETA for provisioning. This field can be updated only when a user is waiting for an action from the provider, i.e. entitlement state is EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED or EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL. This field is cleared automatically when the entitlement state changes.", + "type": "string" + }, + "name": { + "description": "Output only. The resource name of the entitlement. Entitlement names have the form `providers/{provider_id}/entitlements/{entitlement_id}`.", + "type": "string" + }, + "newOfferEndTime": { + "description": "Output only. The end time of the new offer. If the offer was created with a term instead of a specified end date, this field is empty. This field is populated even if the entitlement isn't active yet. If there's no upcoming offer, the field is be empty.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "newOfferStartTime": { + "description": "Output only. The timestamp when the new offer becomes effective. This field is populated even if the entitlement isn't active yet. If there's no upcoming offer, the field is empty.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "newPendingOffer": { + "description": "Output only. The name of the offer the entitlement is switching to upon a pending plan change. Only exists if the pending plan change is moving to an offer. This field isn't populated for entitlements which aren't active yet. Format: 'projects/{project}/services/{service}/privateOffers/{offer-id}' OR 'projects/{project}/services/{service}/standardOffers/{offer-id}', depending on whether the offer is private or public. The {service} in the name is the listing service of the offer. It could be either the product service that the offer is referencing, or a generic private offer parent service. We recommend that you don't build your integration to rely on the meaning of this {service} part.", + "readOnly": true, + "type": "string" + }, + "newPendingOfferDuration": { + "description": "Output only. The duration of the new offer, in ISO 8601 duration format. This field isn't populated for entitlements which aren't active yet, only for pending offer changes. If the offer was created with a specified end date instead of a duration, this field is empty.", + "readOnly": true, + "type": "string" + }, + "newPendingPlan": { + "description": "Output only. The identifier of the pending new plan. Required if the product has plans and the entitlement has a pending plan change.", + "type": "string" + }, + "offer": { + "description": "Output only. The name of the offer that was procured. Field is empty if order was not made using an offer. Format: 'projects/{project}/services/{service}/privateOffers/{offer-id}' OR 'projects/{project}/services/{service}/standardOffers/{offer-id}', depending on whether the offer is private or public. The {service} in the name is the listing service of the offer. It could be either the product service that the offer is referencing, or a generic private offer parent service. We recommend that you don't build your integration to rely on the meaning of this {service} part.", + "readOnly": true, + "type": "string" + }, + "offerDuration": { + "description": "Output only. The offer duration of the current offer in ISO 8601 duration format. Field is empty if entitlement was not made using an offer. If the offer was created with a specified end date instead of a duration, this field is empty.", + "readOnly": true, + "type": "string" + }, + "offerEndTime": { + "description": "Output only. End time for the Offer association corresponding to this entitlement. The field is only populated if the entitlement is currently associated with an Offer.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "orderId": { + "description": "Output only. The order ID of this entitlement, without any `orders/` resource name prefix.", + "readOnly": true, + "type": "string" + }, + "plan": { + "description": "Output only. The identifier of the plan that was procured. Required if the product has plans.", + "type": "string" + }, + "product": { + "deprecated": true, + "description": "Output only. The identifier of the entity that was purchased. This may actually represent a product, quote, or offer. We strongly recommend that you use the following more explicit fields: productExternalName, quoteExternalName, or offer.", + "type": "string" + }, + "productExternalName": { + "description": "Output only. The identifier of the product that was procured.", + "readOnly": true, + "type": "string" + }, + "provider": { + "description": "Output only. The identifier of the service provider that this entitlement was created against. Each service provider is assigned a unique provider value when they onboard with Cloud Commerce platform.", + "type": "string" + }, + "quoteExternalName": { + "description": "Output only. The identifier of the quote that was used to procure. Empty if the order is not purchased using a quote.", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. The state of the entitlement.", + "enum": [ + "ENTITLEMENT_STATE_UNSPECIFIED", + "ENTITLEMENT_ACTIVATION_REQUESTED", + "ENTITLEMENT_ACTIVE", + "ENTITLEMENT_PENDING_CANCELLATION", + "ENTITLEMENT_CANCELLED", + "ENTITLEMENT_PENDING_PLAN_CHANGE", + "ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL", + "ENTITLEMENT_SUSPENDED" + ], + "enumDescriptions": [ + "Default state of the entitlement. It's only set to this value when the entitlement is first created and has not been initialized.", + "Indicates that the entitlement is being created and the backend has sent a notification to the provider for the activation approval. If the provider approves, then the entitlement will transition to the EntitlementState.ENTITLEMENT_ACTIVE state. Otherwise, the entitlement will be removed. Plan changes are not allowed in this state. Instead the entitlement is cancelled and re-created with a new plan name.", + "Indicates that the entitlement is active. The procured item is now usable and any associated billing events will start occurring. Entitlements in this state WILL renew. The analogous state for an unexpired but non-renewing entitlement is ENTITLEMENT_PENDING_CANCELLATION. In this state, the customer can decide to cancel the entitlement, which would change the state to EntitlementState.ENTITLEMENT_PENDING_CANCELLATION, and then EntitlementState.ENTITLEMENT_CANCELLED. The user can also request a change of plan, which will transition the state to EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE, and then back to EntitlementState.ENTITLEMENT_ACTIVE.", + "Indicates that the entitlement will expire at the end of its term. This could mean the customer has elected not to renew this entitlement or the customer elected to cancel an entitlement that only expires at term end. The entitlement typically stays in this state if the entitlement/plan allows use of the underlying resource until the end of the current billing cycle. Once the billing cycle completes, the resource will transition to EntitlementState.ENTITLEMENT_CANCELLED state. The resource cannot be modified during this state.", + "Indicates that the entitlement was cancelled. The entitlement can now be deleted.", + "Indicates that the entitlement is currently active, but there is a pending plan change that is requested by the customer. The entitlement typically stays in this state, if the entitlement/plan requires the completion of the current billing cycle before the plan can be changed. Once the billing cycle completes, the resource will transition to EntitlementState.ENTITLEMENT_ACTIVE, with its plan changed.", + "Indicates that the entitlement is currently active, but there is a plan change request pending provider approval. If the provider approves the plan change, then the entitlement will transition either to EntitlementState.ENTITLEMENT_ACTIVE or EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE depending on whether current plan requires that the billing cycle completes. If the provider rejects the plan change, then the pending plan change request is removed and the entitlement stays in EntitlementState.ENTITLEMENT_ACTIVE state with the old plan.", + "Indicates that the entitlement is suspended either by Google or provider request. This can be triggered for various external reasons (e.g. expiration of credit card on the billing account, violation of terms-of-service of the provider etc.). As such, any remediating action needs to be taken externally, before the entitlement can be activated. This is not yet supported." + ], + "type": "string" + }, + "subscriptionEndTime": { + "description": "Output only. End time for the subscription corresponding to this entitlement.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The last update timestamp.", + "format": "google-datetime", + "type": "string" + }, + "usageReportingId": { + "description": "Output only. The consumerId to use when reporting usage through the Service Control API. See the consumerId field at [Reporting Metrics](https://cloud.google.com/service-control/reporting-metrics) for more details. This field is present only if the product has usage-based billing configured.", + "type": "string" + } + }, + "type": "object" + }, + "ListAccountsResponse": { + "description": "Response message for [PartnerProcurementService.ListAccounts[].", + "id": "ListAccountsResponse", + "properties": { + "accounts": { + "description": "The list of accounts in this response.", + "items": { + "$ref": "Account" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The token for fetching the next page.", + "type": "string" + } + }, + "type": "object" + }, + "ListEntitlementsResponse": { + "description": "Response message for PartnerProcurementService.ListEntitlements.", + "id": "ListEntitlementsResponse", + "properties": { + "entitlements": { + "description": "The list of entitlements in this response.", + "items": { + "$ref": "Entitlement" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The token for fetching the next page.", + "type": "string" + } + }, + "type": "object" + }, + "RejectAccountRequest": { + "description": "Request message for PartnerProcurementService.RejectAccount.", + "id": "RejectAccountRequest", + "properties": { + "approvalName": { + "description": "The name of the approval being rejected. If absent and there is only one approval possible, that approval will be rejected. If absent and there are many approvals possible, the request will fail with a 400 Bad Request. Optional.", + "type": "string" + }, + "reason": { + "description": "Free form text string explaining the rejection reason. Max allowed length: 256 bytes. Longer strings will be truncated.", + "type": "string" + } + }, + "type": "object" + }, + "RejectEntitlementPlanChangeRequest": { + "description": "Request message for PartnerProcurementService.RejectEntitlementPlanChange.", + "id": "RejectEntitlementPlanChangeRequest", + "properties": { + "pendingPlanName": { + "description": "Required. Name of the pending plan that is being rejected.", + "type": "string" + }, + "reason": { + "description": "Free form text string explaining the rejection reason. Max allowed length: 256 bytes. Longer strings will be truncated.", + "type": "string" + } + }, + "type": "object" + }, + "RejectEntitlementRequest": { + "description": "Request message for PartnerProcurementService.RejectEntitlement.", + "id": "RejectEntitlementRequest", + "properties": { + "reason": { + "description": "Free form text string explaining the rejection reason. Max allowed length: 256 bytes. Longer strings will be truncated.", + "type": "string" + } + }, + "type": "object" + }, + "ResetAccountRequest": { + "description": "Request message for PartnerProcurementService.ResetAccount.", + "id": "ResetAccountRequest", + "properties": {}, + "type": "object" + }, + "SuspendEntitlementRequest": { + "description": "Request message for ParterProcurementService.SuspendEntitlement. This is not yet supported.", + "id": "SuspendEntitlementRequest", + "properties": { + "reason": { + "description": "A free-form reason string, explaining the reason for suspension request.", + "type": "string" + } + }, + "type": "object" + } + } +} diff --git a/discovery/googleapis/cloudcontrolspartner__v1.json b/discovery/googleapis/cloudcontrolspartner__v1.json index d531c3656..7c208b4fd 100644 --- a/discovery/googleapis/cloudcontrolspartner__v1.json +++ b/discovery/googleapis/cloudcontrolspartner__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240515", + "revision": "20240605", "rootUrl": "https://cloudcontrolspartner.googleapis.com/", "servicePath": "", "title": "Cloud Controls Partner API", diff --git a/discovery/googleapis/clouddeploy__v1.json b/discovery/googleapis/clouddeploy__v1.json index c6457697d..c13bd9552 100644 --- a/discovery/googleapis/clouddeploy__v1.json +++ b/discovery/googleapis/clouddeploy__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240515", + "revision": "20240529", "rootUrl": "https://clouddeploy.googleapis.com/", "servicePath": "", "title": "Cloud Deploy API", @@ -2350,7 +2350,6 @@ "TYPE_RESTRICTION_VIOLATED", "TYPE_RESOURCE_DELETED", "TYPE_ROLLOUT_UPDATE", - "TYPE_DEPLOY_POLICY_EVALUATION", "TYPE_RENDER_STATUES_CHANGE" ], "enumDeprecated": [ @@ -2361,7 +2360,6 @@ false, false, false, - false, true ], "enumDescriptions": [ @@ -2372,7 +2370,6 @@ "Restriction check failed.", "Resource deleted.", "Rollout updated.", - "Deploy Policy evaluation.", "Deprecated: This field is never used. Use release_render log type instead." ], "type": "string" @@ -2406,11 +2403,6 @@ "readOnly": true, "type": "array" }, - "currentRepairAutomationRun": { - "description": "Output only. The current AutomationRun repairing the rollout.", - "readOnly": true, - "type": "string" - }, "promoteAutomationRun": { "description": "Output only. The name of the AutomationRun initiated by a promote release rule.", "readOnly": true, @@ -2604,7 +2596,6 @@ "TYPE_RESTRICTION_VIOLATED", "TYPE_RESOURCE_DELETED", "TYPE_ROLLOUT_UPDATE", - "TYPE_DEPLOY_POLICY_EVALUATION", "TYPE_RENDER_STATUES_CHANGE" ], "enumDeprecated": [ @@ -2615,7 +2606,6 @@ false, false, false, - false, true ], "enumDescriptions": [ @@ -2626,7 +2616,6 @@ "Restriction check failed.", "Resource deleted.", "Rollout updated.", - "Deploy Policy evaluation.", "Deprecated: This field is never used. Use release_render log type instead." ], "type": "string" @@ -3159,7 +3148,6 @@ "TYPE_RESTRICTION_VIOLATED", "TYPE_RESOURCE_DELETED", "TYPE_ROLLOUT_UPDATE", - "TYPE_DEPLOY_POLICY_EVALUATION", "TYPE_RENDER_STATUES_CHANGE" ], "enumDeprecated": [ @@ -3170,7 +3158,6 @@ false, false, false, - false, true ], "enumDescriptions": [ @@ -3181,7 +3168,6 @@ "Restriction check failed.", "Resource deleted.", "Rollout updated.", - "Deploy Policy evaluation.", "Deprecated: This field is never used. Use release_render log type instead." ], "type": "string" @@ -3463,6 +3449,10 @@ "internalIp": { "description": "Optional. If true, `cluster` is accessed using the private IP address of the control plane endpoint. Otherwise, the default IP address of the control plane endpoint is used. The default IP address is the private IP address for clusters with private control-plane endpoints and the public IP address otherwise. Only specify this option when `cluster` is a [private GKE cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).", "type": "boolean" + }, + "proxyUrl": { + "description": "Optional. If set, used to configure a [proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy) to the Kubernetes server.", + "type": "string" } }, "type": "object" @@ -3713,7 +3703,6 @@ "TYPE_RESTRICTION_VIOLATED", "TYPE_RESOURCE_DELETED", "TYPE_ROLLOUT_UPDATE", - "TYPE_DEPLOY_POLICY_EVALUATION", "TYPE_RENDER_STATUES_CHANGE" ], "enumDeprecated": [ @@ -3724,7 +3713,6 @@ false, false, false, - false, true ], "enumDescriptions": [ @@ -3735,7 +3723,6 @@ "Restriction check failed.", "Resource deleted.", "Rollout updated.", - "Deploy Policy evaluation.", "Deprecated: This field is never used. Use release_render log type instead." ], "type": "string" @@ -4713,7 +4700,6 @@ "TYPE_RESTRICTION_VIOLATED", "TYPE_RESOURCE_DELETED", "TYPE_ROLLOUT_UPDATE", - "TYPE_DEPLOY_POLICY_EVALUATION", "TYPE_RENDER_STATUES_CHANGE" ], "enumDeprecated": [ @@ -4724,7 +4710,6 @@ false, false, false, - false, true ], "enumDescriptions": [ @@ -4735,7 +4720,6 @@ "Restriction check failed.", "Resource deleted.", "Rollout updated.", - "Deploy Policy evaluation.", "Deprecated: This field is never used. Use release_render log type instead." ], "type": "string" @@ -4796,7 +4780,6 @@ "TYPE_RESTRICTION_VIOLATED", "TYPE_RESOURCE_DELETED", "TYPE_ROLLOUT_UPDATE", - "TYPE_DEPLOY_POLICY_EVALUATION", "TYPE_RENDER_STATUES_CHANGE" ], "enumDeprecated": [ @@ -4807,7 +4790,6 @@ false, false, false, - false, true ], "enumDescriptions": [ @@ -4818,7 +4800,6 @@ "Restriction check failed.", "Resource deleted.", "Rollout updated.", - "Deploy Policy evaluation.", "Deprecated: This field is never used. Use release_render log type instead." ], "type": "string" @@ -4843,23 +4824,8 @@ }, "type": "object" }, - "RepairMode": { - "description": "Configuration of the repair action.", - "id": "RepairMode", - "properties": { - "retry": { - "$ref": "Retry", - "description": "Optional. Retries a failed job." - }, - "rollback": { - "$ref": "Rollback", - "description": "Optional. Rolls back a `Rollout`." - } - }, - "type": "object" - }, "RepairPhase": { - "description": "RepairPhase tracks the repair attempts that have been made for each `RepairMode` specified in the `Automation` resource.", + "description": "RepairPhase tracks the repair attempts that have been made for each `RepairPhaseConfig` specified in the `Automation` resource.", "id": "RepairPhase", "properties": { "retry": { @@ -4879,12 +4845,6 @@ "description": "Contains the information for an automated `repair rollout` operation.", "id": "RepairRolloutOperation", "properties": { - "currentRepairModeIndex": { - "description": "Output only. The index of the current repair action in the repair sequence.", - "format": "int64", - "readOnly": true, - "type": "string" - }, "jobId": { "description": "Output only. The job ID for the Job to repair.", "readOnly": true, @@ -4930,51 +4890,6 @@ "type": "string" }, "type": "array" - }, - "repairModes": { - "description": "Required. Defines the types of automatic repair actions for failed jobs.", - "items": { - "$ref": "RepairMode" - }, - "type": "array" - }, - "sourcePhases": { - "description": "Optional. Phases within which jobs are subject to automatic repair actions on failure. Proceeds only after phase name matched any one in the list, or for all phases if unspecified. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "Retry": { - "description": "Retries the failed job.", - "id": "Retry", - "properties": { - "attempts": { - "description": "Required. Total number of retries. Retry is skipped if set to 0; The minimum value is 1, and the maximum value is 10.", - "format": "int64", - "type": "string" - }, - "backoffMode": { - "description": "Optional. The pattern of how wait time will be increased. Default is linear. Backoff mode will be ignored if `wait` is 0.", - "enum": [ - "BACKOFF_MODE_UNSPECIFIED", - "BACKOFF_MODE_LINEAR", - "BACKOFF_MODE_EXPONENTIAL" - ], - "enumDescriptions": [ - "No WaitMode is specified.", - "Increases the wait time linearly.", - "Increases the wait time exponentially." - ], - "type": "string" - }, - "wait": { - "description": "Optional. How long to wait for the first retry. Default is 0, and the maximum value is 14d.", - "format": "google-duration", - "type": "string" } }, "type": "object" @@ -4998,7 +4913,6 @@ "REPAIR_STATE_FAILED", "REPAIR_STATE_IN_PROGRESS", "REPAIR_STATE_PENDING", - "REPAIR_STATE_SKIPPED", "REPAIR_STATE_ABORTED" ], "enumDescriptions": [ @@ -5008,7 +4922,6 @@ "The `repair` action has failed.", "The `repair` action is in progress.", "The `repair` action is pending.", - "The `repair` action was skipped.", "The `repair` action was aborted." ], "readOnly": true, @@ -5076,18 +4989,6 @@ "readOnly": true, "type": "string" }, - "jobId": { - "deprecated": true, - "description": "Output only. The job ID for the Job to retry.", - "readOnly": true, - "type": "string" - }, - "phaseId": { - "deprecated": true, - "description": "Output only. The phase ID of the phase that includes the job being retried.", - "readOnly": true, - "type": "string" - }, "totalAttempts": { "description": "Output only. The number of attempts that have been made.", "format": "int64", @@ -5097,17 +4998,6 @@ }, "type": "object" }, - "Rollback": { - "description": "Rolls back a `Rollout`.", - "id": "Rollback", - "properties": { - "destinationPhase": { - "description": "Optional. The starting phase ID for the `Rollout`. If unspecified, the `Rollout` will start in the stable phase.", - "type": "string" - } - }, - "type": "object" - }, "RollbackAttempt": { "description": "RollbackAttempt represents an action of rolling back a Cloud Deploy 'Target'.", "id": "RollbackAttempt", @@ -5131,7 +5021,6 @@ "REPAIR_STATE_FAILED", "REPAIR_STATE_IN_PROGRESS", "REPAIR_STATE_PENDING", - "REPAIR_STATE_SKIPPED", "REPAIR_STATE_ABORTED" ], "enumDescriptions": [ @@ -5141,7 +5030,6 @@ "The `repair` action has failed.", "The `repair` action is in progress.", "The `repair` action is pending.", - "The `repair` action was skipped.", "The `repair` action was aborted." ], "readOnly": true, @@ -5444,7 +5332,6 @@ "TYPE_RESTRICTION_VIOLATED", "TYPE_RESOURCE_DELETED", "TYPE_ROLLOUT_UPDATE", - "TYPE_DEPLOY_POLICY_EVALUATION", "TYPE_RENDER_STATUES_CHANGE" ], "enumDeprecated": [ @@ -5455,7 +5342,6 @@ false, false, false, - false, true ], "enumDescriptions": [ @@ -5466,7 +5352,6 @@ "Restriction check failed.", "Resource deleted.", "Rollout updated.", - "Deploy Policy evaluation.", "Deprecated: This field is never used. Use release_render log type instead." ], "type": "string" @@ -5548,7 +5433,6 @@ "TYPE_RESTRICTION_VIOLATED", "TYPE_RESOURCE_DELETED", "TYPE_ROLLOUT_UPDATE", - "TYPE_DEPLOY_POLICY_EVALUATION", "TYPE_RENDER_STATUES_CHANGE" ], "enumDeprecated": [ @@ -5559,7 +5443,6 @@ false, false, false, - false, true ], "enumDescriptions": [ @@ -5570,7 +5453,6 @@ "Restriction check failed.", "Resource deleted.", "Rollout updated.", - "Deploy Policy evaluation.", "Deprecated: This field is never used. Use release_render log type instead." ], "type": "string" @@ -6036,7 +5918,6 @@ "TYPE_RESTRICTION_VIOLATED", "TYPE_RESOURCE_DELETED", "TYPE_ROLLOUT_UPDATE", - "TYPE_DEPLOY_POLICY_EVALUATION", "TYPE_RENDER_STATUES_CHANGE" ], "enumDeprecated": [ @@ -6047,7 +5928,6 @@ false, false, false, - false, true ], "enumDescriptions": [ @@ -6058,7 +5938,6 @@ "Restriction check failed.", "Resource deleted.", "Rollout updated.", - "Deploy Policy evaluation.", "Deprecated: This field is never used. Use release_render log type instead." ], "type": "string" diff --git a/discovery/googleapis/cloudfunctions__v1.json b/discovery/googleapis/cloudfunctions__v1.json index 3db53acf9..848e64085 100644 --- a/discovery/googleapis/cloudfunctions__v1.json +++ b/discovery/googleapis/cloudfunctions__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240523", + "revision": "20240610", "rootUrl": "https://cloudfunctions.googleapis.com/", "servicePath": "", "title": "Cloud Functions API", diff --git a/discovery/googleapis/cloudfunctions__v2.json b/discovery/googleapis/cloudfunctions__v2.json index 1561c60e6..ed9c45f8e 100644 --- a/discovery/googleapis/cloudfunctions__v2.json +++ b/discovery/googleapis/cloudfunctions__v2.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240523", + "revision": "20240610", "rootUrl": "https://cloudfunctions.googleapis.com/", "servicePath": "", "title": "Cloud Functions API", diff --git a/discovery/googleapis/cloudidentity__v1.json b/discovery/googleapis/cloudidentity__v1.json index 7343ffed6..d1b1ee0c3 100644 --- a/discovery/googleapis/cloudidentity__v1.json +++ b/discovery/googleapis/cloudidentity__v1.json @@ -40,7 +40,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240527", + "revision": "20240611", "rootUrl": "https://cloudidentity.googleapis.com/", "servicePath": "", "title": "Cloud Identity API", @@ -1600,7 +1600,7 @@ "inboundSamlSsoProfiles": { "methods": { "create": { - "description": "Creates an InboundSamlSsoProfile for a customer.", + "description": "Creates an InboundSamlSsoProfile for a customer. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448), the `Operation` in the response will have `\"done\": false`, it will not have a response, and the metadata will have `\"state\": \"awaiting-multi-party-approval\"`.", "flatPath": "v1/inboundSamlSsoProfiles", "httpMethod": "POST", "id": "cloudidentity.inboundSamlSsoProfiles.create", @@ -1700,7 +1700,7 @@ ] }, "patch": { - "description": "Updates an InboundSamlSsoProfile.", + "description": "Updates an InboundSamlSsoProfile. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448), the `Operation` in the response will have `\"done\": false`, it will not have a response, and the metadata will have `\"state\": \"awaiting-multi-party-approval\"`.", "flatPath": "v1/inboundSamlSsoProfiles/{inboundSamlSsoProfilesId}", "httpMethod": "PATCH", "id": "cloudidentity.inboundSamlSsoProfiles.patch", @@ -1738,7 +1738,7 @@ "idpCredentials": { "methods": { "add": { - "description": "Adds an IdpCredential. Up to 2 credentials are allowed.", + "description": "Adds an IdpCredential. Up to 2 credentials are allowed. When the target customer has enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448), the `Operation` in the response will have `\"done\": false`, it will not have a response, and the metadata will have `\"state\": \"awaiting-multi-party-approval\"`.", "flatPath": "v1/inboundSamlSsoProfiles/{inboundSamlSsoProfilesId}/idpCredentials:add", "httpMethod": "POST", "id": "cloudidentity.inboundSamlSsoProfiles.idpCredentials.add", @@ -1998,7 +1998,12 @@ "AddIdpCredentialOperationMetadata": { "description": "LRO response metadata for InboundSamlSsoProfilesService.AddIdpCredential.", "id": "AddIdpCredentialOperationMetadata", - "properties": {}, + "properties": { + "state": { + "description": "State of this Operation Will be \"awaiting-multi-party-approval\" when the operation is deferred due to the target customer having enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448).", + "type": "string" + } + }, "type": "object" }, "AddIdpCredentialRequest": { @@ -2038,7 +2043,12 @@ "CreateInboundSamlSsoProfileOperationMetadata": { "description": "LRO response metadata for InboundSamlSsoProfilesService.CreateInboundSamlSsoProfile.", "id": "CreateInboundSamlSsoProfileOperationMetadata", - "properties": {}, + "properties": { + "state": { + "description": "State of this Operation Will be \"awaiting-multi-party-approval\" when the operation is deferred due to the target customer having enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448).", + "type": "string" + } + }, "type": "object" }, "CreateInboundSsoAssignmentOperationMetadata": { @@ -4184,7 +4194,12 @@ "UpdateInboundSamlSsoProfileOperationMetadata": { "description": "LRO response metadata for InboundSamlSsoProfilesService.UpdateInboundSamlSsoProfile.", "id": "UpdateInboundSamlSsoProfileOperationMetadata", - "properties": {}, + "properties": { + "state": { + "description": "State of this Operation Will be \"awaiting-multi-party-approval\" when the operation is deferred due to the target customer having enabled [Multi-party approval for sensitive actions](https://support.google.com/a/answer/13790448).", + "type": "string" + } + }, "type": "object" }, "UpdateInboundSsoAssignmentOperationMetadata": { diff --git a/discovery/googleapis/cloudprofiler__v2.json b/discovery/googleapis/cloudprofiler__v2.json index f00285da5..42b3e5ec8 100644 --- a/discovery/googleapis/cloudprofiler__v2.json +++ b/discovery/googleapis/cloudprofiler__v2.json @@ -31,7 +31,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240603", "rootUrl": "https://cloudprofiler.googleapis.com/", "servicePath": "", "title": "Cloud Profiler API", diff --git a/discovery/googleapis/cloudresourcemanager__v1.json b/discovery/googleapis/cloudresourcemanager__v1.json index 7b5b95ef8..a41501a7e 100644 --- a/discovery/googleapis/cloudresourcemanager__v1.json +++ b/discovery/googleapis/cloudresourcemanager__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240604", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "servicePath": "", "title": "Cloud Resource Manager API", diff --git a/discovery/googleapis/cloudresourcemanager__v2.json b/discovery/googleapis/cloudresourcemanager__v2.json index 3aec86718..581ebfe16 100644 --- a/discovery/googleapis/cloudresourcemanager__v2.json +++ b/discovery/googleapis/cloudresourcemanager__v2.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240604", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "servicePath": "", "title": "Cloud Resource Manager API", diff --git a/discovery/googleapis/cloudresourcemanager__v3.json b/discovery/googleapis/cloudresourcemanager__v3.json index bd35e7911..f17fa1915 100644 --- a/discovery/googleapis/cloudresourcemanager__v3.json +++ b/discovery/googleapis/cloudresourcemanager__v3.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240604", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "servicePath": "", "title": "Cloud Resource Manager API", diff --git a/discovery/googleapis/cloudscheduler__v1.json b/discovery/googleapis/cloudscheduler__v1.json index d3ff85998..80e2c9edd 100644 --- a/discovery/googleapis/cloudscheduler__v1.json +++ b/discovery/googleapis/cloudscheduler__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240419", + "revision": "20240524", "rootUrl": "https://cloudscheduler.googleapis.com/", "servicePath": "", "title": "Cloud Scheduler API", diff --git a/discovery/googleapis/cloudsearch__v1.json b/discovery/googleapis/cloudsearch__v1.json index 99435e57f..610b405bc 100644 --- a/discovery/googleapis/cloudsearch__v1.json +++ b/discovery/googleapis/cloudsearch__v1.json @@ -49,7 +49,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240501", + "revision": "20240529", "rootUrl": "https://cloudsearch.googleapis.com/", "servicePath": "", "title": "Cloud Search API", @@ -941,6 +941,25 @@ }, "query": { "methods": { + "debugSearch": { + "description": "Returns Debug information for Cloud Search Query API provides the search method. **Note:** This API requires a standard end user account to execute. A service account can't perform Query API requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/cloud-search/docs/guides/delegation/).", + "flatPath": "v1/query:debugSearch", + "httpMethod": "POST", + "id": "cloudsearch.query.debugSearch", + "parameterOrder": [], + "parameters": {}, + "path": "v1/query:debugSearch", + "request": { + "$ref": "SearchRequest" + }, + "response": { + "$ref": "DebugResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud_search", + "https://www.googleapis.com/auth/cloud_search.query" + ] + }, "removeActivity": { "description": "Provides functionality to remove logged activity for a user. Currently to be used only for Chat 1p clients **Note:** This API requires a standard end user account to execute. A service account can't perform Remove Activity requests directly; to use a service account to perform queries, set up [Google Workspace domain-wide delegation of authority](https://developers.google.com/cloud-search/docs/guides/delegation/).", "flatPath": "v1/query:removeActivity", @@ -2655,6 +2674,27 @@ }, "type": "object" }, + "DebugResponse": { + "description": "Debug Search Response.", + "id": "DebugResponse", + "properties": { + "gsrRequest": { + "description": "Serialized string of GenericSearchRequest.", + "format": "byte", + "type": "string" + }, + "gsrResponse": { + "description": "Serialized string of GenericSearchResponse.", + "format": "byte", + "type": "string" + }, + "searchResponse": { + "$ref": "SearchResponse", + "description": "Search response." + } + }, + "type": "object" + }, "DeleteQueueItemsRequest": { "id": "DeleteQueueItemsRequest", "properties": { diff --git a/discovery/googleapis/cloudshell__v1.json b/discovery/googleapis/cloudshell__v1.json index 005cdbc92..2eea5a451 100644 --- a/discovery/googleapis/cloudshell__v1.json +++ b/discovery/googleapis/cloudshell__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240603", "rootUrl": "https://cloudshell.googleapis.com/", "servicePath": "", "title": "Cloud Shell API", diff --git a/discovery/googleapis/cloudsupport__v2.json b/discovery/googleapis/cloudsupport__v2.json index 961e51687..6be5ed149 100644 --- a/discovery/googleapis/cloudsupport__v2.json +++ b/discovery/googleapis/cloudsupport__v2.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240611", "rootUrl": "https://cloudsupport.googleapis.com/", "servicePath": "", "title": "Google Cloud Support API", diff --git a/discovery/googleapis/cloudtasks__v2.json b/discovery/googleapis/cloudtasks__v2.json index 6db674510..f7987e872 100644 --- a/discovery/googleapis/cloudtasks__v2.json +++ b/discovery/googleapis/cloudtasks__v2.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240412", + "revision": "20240524", "rootUrl": "https://cloudtasks.googleapis.com/", "servicePath": "", "title": "Cloud Tasks API", diff --git a/discovery/googleapis/composer__v1.json b/discovery/googleapis/composer__v1.json index aa128bb22..014e3c078 100644 --- a/discovery/googleapis/composer__v1.json +++ b/discovery/googleapis/composer__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240604", "rootUrl": "https://composer.googleapis.com/", "servicePath": "", "title": "Cloud Composer API", diff --git a/discovery/googleapis/compute__v1.json b/discovery/googleapis/compute__v1.json index 6fd08934f..c2a6a41f5 100644 --- a/discovery/googleapis/compute__v1.json +++ b/discovery/googleapis/compute__v1.json @@ -39,7 +39,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240604", "rootUrl": "https://compute.googleapis.com/", "servicePath": "compute/v1/", "title": "Compute Engine API", @@ -38656,6 +38656,22 @@ "description": "Whether to enable UEFI networking for instance creation.", "type": "boolean" }, + "performanceMonitoringUnit": { + "description": "Type of Performance Monitoring Unit requested on instance.", + "enum": [ + "ARCHITECTURAL", + "ENHANCED", + "PERFORMANCE_MONITORING_UNIT_UNSPECIFIED", + "STANDARD" + ], + "enumDescriptions": [ + "Architecturally defined non-LLC events.", + "Most documented core/L2 and LLC events.", + "", + "Most documented core/L2 events." + ], + "type": "string" + }, "threadsPerCore": { "description": "The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.", "format": "int32", @@ -42794,6 +42810,20 @@ "description": "A set of Confidential Instance options.", "id": "ConfidentialInstanceConfig", "properties": { + "confidentialInstanceType": { + "description": "Defines the type of technology used by the confidential instance.", + "enum": [ + "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED", + "SEV", + "SEV_SNP" + ], + "enumDescriptions": [ + "No type specified. Do not use this value.", + "AMD Secure Encrypted Virtualization.", + "AMD Secure Encrypted Virtualization - Secure Nested Paging." + ], + "type": "string" + }, "enableConfidentialCompute": { "description": "Defines whether the instance should have confidential compute enabled.", "type": "boolean" @@ -71163,6 +71193,10 @@ "description": "An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.", "type": "string" }, + "maxRunDuration": { + "$ref": "Duration", + "description": "Specifies the max run duration for the given instance. If specified, the instance termination action will be performed at the end of the run duration." + }, "minNodeCpus": { "description": "The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.", "format": "int32", @@ -71187,6 +71221,9 @@ ], "type": "string" }, + "onInstanceStopAction": { + "$ref": "SchedulingOnInstanceStopAction" + }, "preemptible": { "description": "Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.", "type": "boolean" @@ -71202,6 +71239,10 @@ "Standard provisioning with user controlled runtime, no discounts." ], "type": "string" + }, + "terminationTime": { + "description": "Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time.", + "type": "string" } }, "type": "object" @@ -71238,6 +71279,17 @@ }, "type": "object" }, + "SchedulingOnInstanceStopAction": { + "description": "Defines the behaviour for instances with the instance_termination_action STOP.", + "id": "SchedulingOnInstanceStopAction", + "properties": { + "discardLocalSsd": { + "description": "If true, the contents of any attached Local SSD disks will be discarded else, the Local SSD data will be preserved when the instance is stopped at the end of the run duration/termination time.", + "type": "boolean" + } + }, + "type": "object" + }, "Screenshot": { "description": "An instance's screenshot.", "id": "Screenshot", @@ -83765,7 +83817,7 @@ "description": "Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true." }, "weight": { - "description": "Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000.", + "description": "Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. Don't configure session affinity if you're using weighted traffic splitting. If you do, the weighted traffic splitting configuration takes precedence. The value must be from 0 to 1000.", "format": "uint32", "type": "integer" } diff --git a/discovery/googleapis/config__v1.json b/discovery/googleapis/config__v1.json index 8eb53667f..9d1a57d45 100644 --- a/discovery/googleapis/config__v1.json +++ b/discovery/googleapis/config__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240515", + "revision": "20240527", "rootUrl": "https://config.googleapis.com/", "servicePath": "", "title": "Infrastructure Manager API", diff --git a/discovery/googleapis/connectors__v1.json b/discovery/googleapis/connectors__v1.json index 41ee78b68..24bdcf1fd 100644 --- a/discovery/googleapis/connectors__v1.json +++ b/discovery/googleapis/connectors__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240515", + "revision": "20240606", "rootUrl": "https://connectors.googleapis.com/", "servicePath": "", "title": "Connectors API", @@ -2757,6 +2757,10 @@ ], "type": "string" }, + "multipleSelectConfig": { + "$ref": "MultipleSelectConfig", + "description": "Optional. MultipleSelectConfig represents the multiple options for a config variable." + }, "required": { "description": "Flag represents that this `ConfigVariable` must be provided for a connection.", "type": "boolean" @@ -2797,7 +2801,8 @@ "SECRET", "ENUM", "AUTHORIZATION_CODE", - "ENCRYPTION_KEY" + "ENCRYPTION_KEY", + "MULTIPLE_SELECT" ], "enumDescriptions": [ "Value type is not specified.", @@ -2807,7 +2812,8 @@ "Value type is secret.", "Value type is enum.", "Value type is authorization code.", - "Encryption Key." + "Encryption Key.", + "Value type is multiple select." ], "type": "string" } @@ -3105,6 +3111,11 @@ "description": "Connectors indicates a specific connector type, e.x. Salesforce, SAP etc.", "id": "Connector", "properties": { + "category": { + "description": "Output only. Category of the connector.", + "readOnly": true, + "type": "string" + }, "createTime": { "description": "Output only. Created time.", "format": "google-datetime", @@ -3168,6 +3179,14 @@ "readOnly": true, "type": "string" }, + "tags": { + "description": "Output only. Tags of the connector.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "updateTime": { "description": "Output only. Updated time.", "format": "google-datetime", @@ -5838,6 +5857,51 @@ }, "type": "object" }, + "MultipleSelectConfig": { + "description": "MultipleSelectConfig represents the multiple options for a config variable.", + "id": "MultipleSelectConfig", + "properties": { + "allowCustomValues": { + "description": "Optional. Allow custom values.", + "type": "boolean" + }, + "multipleSelectOptions": { + "description": "Required. Multiple select options.", + "items": { + "$ref": "MultipleSelectOption" + }, + "type": "array" + }, + "valueSeparator": { + "description": "Required. Value separator.", + "type": "string" + } + }, + "type": "object" + }, + "MultipleSelectOption": { + "description": "MultiplSelecteOption represents the single option for a config variable.", + "id": "MultipleSelectOption", + "properties": { + "description": { + "description": "Optional. Value of the option.", + "type": "string" + }, + "displayName": { + "description": "Required. Display name of the option.", + "type": "string" + }, + "key": { + "description": "Required. Key of the option.", + "type": "string" + }, + "preselected": { + "description": "Optional. Indicates if the option is preselected.", + "type": "boolean" + } + }, + "type": "object" + }, "NetworkConfig": { "description": "Regional Network Config.", "id": "NetworkConfig", diff --git a/discovery/googleapis/connectors__v2.json b/discovery/googleapis/connectors__v2.json index 015e96727..907dfbf5f 100644 --- a/discovery/googleapis/connectors__v2.json +++ b/discovery/googleapis/connectors__v2.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240515", + "revision": "20240606", "rootUrl": "https://connectors.googleapis.com/", "servicePath": "", "title": "Connectors API", @@ -654,6 +654,45 @@ ] } } + }, + "entitieswithacls": { + "methods": { + "list": { + "description": "Lists entity rows with ACLs of a particular entity type contained in the request. Note: 1. Currently, only max of one 'sort_by' column is supported. 2. If no 'sort_by' column is provided, the primary key of the table is used. If zero or more than one primary key is available, we default to the unpaginated list entities logic which only returns the first page. 3. The values of the 'sort_by' columns must uniquely identify an entity row, otherwise undefined behaviors may be observed during pagination. 4. Since transactions are not supported, any updates, inserts or deletes during pagination can lead to stale data being returned or other unexpected behaviors.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/entityTypes/{entityTypesId}/entitieswithacls", + "httpMethod": "GET", + "id": "connectors.projects.locations.connections.entityTypes.entitieswithacls.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "conditions": { + "description": "Conditions to be used when listing entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation should have information about what format of filters/conditions are supported.", + "location": "query", + "type": "string" + }, + "gsutilUri": { + "description": "Format: gs://object_path", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/entityTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/entitieswithacls", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } } } } @@ -1881,6 +1920,41 @@ }, "type": "object" }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, "PerSliSloEligibility": { "description": "PerSliSloEligibility is a mapping from an SLI name to eligibility.", "id": "PerSliSloEligibility", @@ -2363,6 +2437,33 @@ }, "type": "object" }, + "Status": { + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "id": "Status", + "properties": { + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "format": "int32", + "type": "integer" + }, + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + }, + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", + "type": "string" + } + }, + "type": "object" + }, "TimeOfDay": { "description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", "id": "TimeOfDay", diff --git a/discovery/googleapis/contactcenterinsights__v1.json b/discovery/googleapis/contactcenterinsights__v1.json index 00ed60e49..26e2500be 100644 --- a/discovery/googleapis/contactcenterinsights__v1.json +++ b/discovery/googleapis/contactcenterinsights__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240527", + "revision": "20240611", "rootUrl": "https://contactcenterinsights.googleapis.com/", "servicePath": "", "title": "Contact Center AI Insights API", @@ -264,7 +264,7 @@ }, "create": { "deprecated": true, - "description": "Creates a conversation. DEPRECATED: Use UploadConversation instead. CreateConversation does not support audio transcription or DLP redaction.", + "description": "Creates a conversation. Does not support audio transcription or DLP redaction. Use `conversations.upload` instead.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations", "httpMethod": "POST", "id": "contactcenterinsights.projects.locations.conversations.create", @@ -409,7 +409,7 @@ "type": "string" }, "orderBy": { - "description": "Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc`, i.e. `create_time desc`. See https://google.aip.dev/132#ordering for more details.", + "description": "Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering).", "location": "query", "type": "string" }, @@ -490,7 +490,7 @@ ] }, "upload": { - "description": "Create a longrunning conversation upload operation. This method differs from CreateConversation by allowing audio transcription and optional DLP redaction.", + "description": "Create a long-running conversation upload operation. This method differs from `CreateConversation` by allowing audio transcription and optional DLP redaction.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/conversations:upload", "httpMethod": "POST", "id": "contactcenterinsights.projects.locations.conversations.upload", @@ -794,7 +794,7 @@ ], "parameters": { "name": { - "description": "Required. The issue model to export", + "description": "Required. The issue model to export.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/issueModels/[^/]+$", "required": true, @@ -1479,128 +1479,6 @@ } }, "schemas": { - "GoogleCloudContactcenterinsightsV1AgentCoachingInstruction": { - "description": "Agent Coaching instructions that customer can configure.", - "id": "GoogleCloudContactcenterinsightsV1AgentCoachingInstruction", - "properties": { - "agentAction": { - "description": "Optional. The action that human agent should take. For example, \"apologize for the slow shipping\". If the users only want to use agent coaching for intent detection, agent_action can be empty", - "type": "string" - }, - "condition": { - "description": "Optional. The condition of the instruction. For example, \"the customer wants to cancel an order\". If the users want the instruction to be triggered unconditionally, the condition can be empty.", - "type": "string" - }, - "description": { - "description": "Optional. The detailed description of this instruction.", - "type": "string" - }, - "displayName": { - "description": "Optional. Display name for the instruction.", - "type": "string" - }, - "metadata": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Additional information attached to this instruction.", - "type": "object" - }, - "systemAction": { - "description": "Optional. The action that system should take. For example, \"call GetOrderTime with order_number={order number provided by the customer}\". If the users don't have plugins or don't want to trigger plugins, the system_action can be empty", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion": { - "description": "Suggestion for coaching agents.", - "id": "GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion", - "properties": { - "agentActionSuggestions": { - "description": "Optional. Suggested actions for the agent to take.", - "items": { - "$ref": "GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion" - }, - "type": "array" - }, - "applicableInstructions": { - "description": "Optional. Instructions applicable based on the current context.", - "items": { - "$ref": "GoogleCloudContactcenterinsightsV1AgentCoachingInstruction" - }, - "type": "array" - }, - "sampleResponses": { - "description": "Optional. Sample response for the Agent.", - "items": { - "$ref": "GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse" - }, - "type": "array" - }, - "suggestionEval": { - "$ref": "GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval", - "description": "Self evaluation of the suggestion." - }, - "suggestionReasoning": { - "$ref": "GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning", - "description": "Reasoning for the suggestion." - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion": { - "description": "Actions suggested for the agent. This is based on applicable instructions.", - "id": "GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion", - "properties": { - "agentAction": { - "description": "Optional. The suggested action for the agent.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval": { - "description": "Self evaluations of the suggestion.", - "id": "GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval", - "properties": { - "actionActionSuggestionEval": { - "description": "Optional. Eval for Agent action suggestion.", - "type": "string" - }, - "sampleResponseEval": { - "description": "Optional. Eval for sample response.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning": { - "description": "Reasoning for the suggestion.", - "id": "GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning", - "properties": { - "agentActionTaken": { - "description": "Optional. The actions that the agent has taken already.", - "type": "string" - }, - "issueSummary": { - "description": "Optional. Summary of the issue.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse": { - "description": "Sample response that the agent can use. This could be based on applicable instructions and ingested data from other systems.", - "id": "GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse", - "properties": { - "responseText": { - "description": "Optional. Sample response for Agent in text.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudContactcenterinsightsV1Analysis": { "description": "The analysis resource.", "id": "GoogleCloudContactcenterinsightsV1Analysis", @@ -2990,10 +2868,10 @@ "properties": { "gcsDestination": { "$ref": "GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination", - "description": "Google Cloud Storage URI to export the Issue Model to." + "description": "Google Cloud Storage URI to export the issue model to." }, "name": { - "description": "Required. The issue model to export", + "description": "Required. The issue model to export.", "type": "string" } }, @@ -3051,24 +2929,6 @@ }, "type": "object" }, - "GoogleCloudContactcenterinsightsV1FreeFormSuggestion": { - "description": "Suggestion generated using free form generator.", - "id": "GoogleCloudContactcenterinsightsV1FreeFormSuggestion", - "properties": { - "labels": { - "description": "Optional. Labels for the generator.", - "items": { - "type": "string" - }, - "type": "array" - }, - "response": { - "description": "Required. Free form suggestion.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudContactcenterinsightsV1GcsSource": { "description": "A Cloud Storage source of conversation data.", "id": "GoogleCloudContactcenterinsightsV1GcsSource", @@ -3084,162 +2944,6 @@ }, "type": "object" }, - "GoogleCloudContactcenterinsightsV1GeneratorSuggestion": { - "description": "Suggestion generated using a Generator.", - "id": "GoogleCloudContactcenterinsightsV1GeneratorSuggestion", - "properties": { - "agentCoachingSuggestion": { - "$ref": "GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion", - "description": "Optional. Suggestion to coach the agent." - }, - "freeFormSuggestion": { - "$ref": "GoogleCloudContactcenterinsightsV1FreeFormSuggestion", - "description": "Optional. Free form suggestion." - }, - "summarySuggestion": { - "$ref": "GoogleCloudContactcenterinsightsV1SummarySuggestion", - "description": "Optional. Suggested summary." - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse": { - "description": "Represents response from generators.", - "id": "GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse", - "properties": { - "generatorSuggestion": { - "$ref": "GoogleCloudContactcenterinsightsV1GeneratorSuggestion", - "description": "The suggestion generated from the Generator." - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse": { - "description": "Response for Knowledge Assist. Contains suggested query and optionally includes an answer for the query.", - "id": "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse", - "properties": { - "suggestedQuery": { - "$ref": "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery", - "description": "The query suggested based on the context. Suggestion is made only if it is different from the previous suggestion." - }, - "suggestedQueryAnswer": { - "$ref": "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer", - "description": "The answer generated for the suggested query. Whether or not an answer is generated depends on how confident we are about the generated query." - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer": { - "description": "Represents an answer from Knowledge. Cuurently supports FAQ and Generative answers.", - "id": "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer", - "properties": { - "answerText": { - "description": "The piece of text from the `source` that answers this suggested query.", - "type": "string" - }, - "faqSource": { - "$ref": "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource", - "description": "Populated if the prediction came from FAQ." - }, - "generativeSource": { - "$ref": "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource", - "description": "Populated if the prediction was Generative." - }, - "intentMatchingSource": { - "$ref": "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource", - "description": "Populated if the prediction was from intent matching." - }, - "matchConfidence": { - "description": "The system's confidence score that this answer is a good match for this conversational query. The range is from 0.0 (completely uncertain) to 1.0 (completely certain).", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource": { - "description": "Details about source of FAQ answer.", - "id": "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource", - "properties": { - "document": { - "description": "Indicates which Knowledge Document this answer was extracted from. Format: `projects//knowledgeBases//documents/`.", - "type": "string" - }, - "question": { - "description": "The corresponding FAQ question.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource": { - "description": "Details about source of Generative answer.", - "id": "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource", - "properties": { - "snippets": { - "description": "All snippets used for this Generative Prediction, with their source URI and data.", - "items": { - "$ref": "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet": { - "description": "Snippet Source for a Generative Prediction.", - "id": "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet", - "properties": { - "document": { - "description": "Indicates which Knowledge Document this snippet was extracted from. Format: `projects//knowledgeBases//documents/`.", - "type": "string" - }, - "text": { - "description": "text taken from that URI.", - "type": "string" - }, - "title": { - "description": "Title of the document.", - "type": "string" - }, - "uri": { - "description": "URI the data is sourced from.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource": { - "description": "Details about source of Intent Matching answer.", - "id": "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource", - "properties": { - "title": { - "description": "Title of the document.", - "type": "string" - }, - "uri": { - "description": "URI the data is sourced from.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery": { - "description": "Represents a suggested query.", - "id": "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery", - "properties": { - "queryText": { - "description": "Suggested query text.", - "type": "string" - }, - "score": { - "description": "Suggested query score.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, "GoogleCloudContactcenterinsightsV1HoldData": { "description": "The data for a hold annotation.", "id": "GoogleCloudContactcenterinsightsV1HoldData", @@ -3272,7 +2976,7 @@ "id": "GoogleCloudContactcenterinsightsV1ImportIssueModelRequest", "properties": { "createNewModel": { - "description": "Optional. If set to true, will create a new issue model from the imported file with randomly generated IDs for the issue model and corresponding issues. Otherwise, replaces an existing model with the same ID as the file.", + "description": "Optional. If set to true, will create an issue model from the imported file with randomly generated IDs for the issue model and corresponding issues. Otherwise, replaces an existing model with the same ID as the file.", "type": "boolean" }, "gcsSource": { @@ -3392,7 +3096,7 @@ "description": "Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings." }, "sampleSize": { - "description": "Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Note that conversations produced via sampling will not be ingested by subsequent ingest requests unless they are first deleted.", + "description": "Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Unless they are first deleted, conversations produced through sampling won't be ingested by subsequent ingest requests.", "format": "int32", "type": "integer" }, @@ -3417,7 +3121,7 @@ "type": "integer" }, "agentId": { - "description": "Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided via the `metadata_bucket_uri`.", + "description": "Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided through the `metadata_bucket_uri`.", "type": "string" }, "customerChannel": { @@ -3458,7 +3162,7 @@ "type": "array" }, "metadataBucketUri": { - "description": "Optional. The Cloud Storage path to the source object metadata. Note that: [1] metadata files are expected to be in JSON format [2] metadata and source objects must be in separate buckets [3] a source object's metadata object must share the same name to be properly ingested", + "description": "Optional. The Cloud Storage path to the conversation metadata. Note that: [1] Metadata files are expected to be in JSON format. [2] Metadata and source files (transcripts or audio) must be in separate buckets. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/conversation1.json`.", "type": "string" } }, @@ -4023,7 +3727,7 @@ "type": "object" }, "GoogleCloudContactcenterinsightsV1RedactionConfig": { - "description": "DLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations redaction should be performed in Dialogflow / Agent Assist.", + "description": "DLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the `CreateConversation` endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations, redaction should be performed in Dialogflow / Agent Assist.", "id": "GoogleCloudContactcenterinsightsV1RedactionConfig", "properties": { "deidentifyTemplate": { @@ -4074,18 +3778,6 @@ "$ref": "GoogleCloudContactcenterinsightsV1FaqAnswerData", "description": "Agent Assist FAQ answer data." }, - "generatorSuggestionResult": { - "$ref": "GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse", - "description": "The generator suggestion result." - }, - "knowledgeAssistResult": { - "$ref": "GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse", - "description": "The Knowledge Assist result." - }, - "knowledgeSearchResult": { - "$ref": "GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer", - "description": "The Knowledge Search result." - }, "smartComposeSuggestion": { "$ref": "GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData", "description": "Agent Assist Smart Compose suggestion data." @@ -4097,71 +3789,24 @@ "startBoundary": { "$ref": "GoogleCloudContactcenterinsightsV1AnnotationBoundary", "description": "The boundary in the conversation where the annotation starts, inclusive." - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer": { - "description": "Represents a SearchKnowledge answer.", - "id": "GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer", - "properties": { - "answer": { - "description": "The piece of text from the knowledge base documents that answers the search query", - "type": "string" - }, - "answerRecord": { - "description": "The name of the answer record. Format: `projects//locations//answer Records/`", - "type": "string" - }, - "answerSources": { - "description": "All sources used to generate the answer.", - "items": { - "$ref": "GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource" - }, - "type": "array" - }, - "answerType": { - "description": "The type of the answer.", - "enum": [ - "ANSWER_TYPE_UNSPECIFIED", - "FAQ", - "GENERATIVE", - "INTENT" - ], - "enumDescriptions": [ - "The answer has a unspecified type.", - "The answer is from FAQ documents.", - "The answer is from generative model.", - "The answer is from intent matching." - ], - "type": "string" }, - "confidenceScore": { - "description": "The confidence score in [0.0, 1.0] range.", - "format": "float", - "type": "number" + "userInput": { + "$ref": "GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput", + "description": "Explicit input used for generating the answer" } }, "type": "object" }, - "GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource": { - "description": "The sources of the answers.", - "id": "GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource", + "GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput": { + "description": "Explicit input used for generating the answer", + "id": "GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput", "properties": { - "document": { - "description": "The document from which the snippet was extracted. Format: `projects//knowledgeBases//documents/`", + "generatorName": { + "description": "The resource name of associated generator. Format: `projects//locations//generators/`", "type": "string" }, - "snippet": { - "description": "The relevant snippet of the article.", - "type": "string" - }, - "title": { - "description": "The title of the article.", - "type": "string" - }, - "uri": { - "description": "The URI of the article.", + "query": { + "description": "Query text. Article Search uses this to store the input query used to generate the search results.", "type": "string" } }, @@ -4185,7 +3830,7 @@ "type": "object" }, "GoogleCloudContactcenterinsightsV1Settings": { - "description": "The settings resource.", + "description": "The CCAI Insights project wide settings. Use these settings to configure the behavior of Insights. View these settings with [`getsettings`](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/getSettings) and change the settings with [`updateSettings`](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/updateSettings).", "id": "GoogleCloudContactcenterinsightsV1Settings", "properties": { "analysisConfig": { @@ -4215,16 +3860,16 @@ "additionalProperties": { "type": "string" }, - "description": "A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic. Keys are notification triggers. Supported keys are: * \"all-triggers\": Notify each time any of the supported triggers occurs. * \"create-analysis\": Notify each time an analysis is created. * \"create-conversation\": Notify each time a conversation is created. * \"export-insights-data\": Notify each time an export is complete. * \"ingest-conversations\": Notify each time an IngestConversations LRO completes. * \"update-conversation\": Notify each time a conversation is updated via UpdateConversation. * \"upload-conversation\": Notify when an UploadConversation LRO completes. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}", + "description": "A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic. Keys are notification triggers. Supported keys are: * \"all-triggers\": Notify each time any of the supported triggers occurs. * \"create-analysis\": Notify each time an analysis is created. * \"create-conversation\": Notify each time a conversation is created. * \"export-insights-data\": Notify each time an export is complete. * \"ingest-conversations\": Notify each time an IngestConversations LRO is complete. * \"update-conversation\": Notify each time a conversation is updated via UpdateConversation. * \"upload-conversation\": Notify when an UploadConversation LRO is complete. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}", "type": "object" }, "redactionConfig": { "$ref": "GoogleCloudContactcenterinsightsV1RedactionConfig", - "description": "Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform." + "description": "Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversations coming from CCAI Platform." }, "speechConfig": { "$ref": "GoogleCloudContactcenterinsightsV1SpeechConfig", - "description": "Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform." + "description": "Optional. Default Speech-to-Text resources to use while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversations coming from CCAI Platform." }, "updateTime": { "description": "Output only. The time at which the settings were last updated.", @@ -4317,7 +3962,7 @@ "type": "object" }, "GoogleCloudContactcenterinsightsV1SpeechConfig": { - "description": "Speech-to-Text configuration. Speech-to-Text settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint.", + "description": "Speech-to-Text configuration. Speech-to-Text settings are applied to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the `CreateConversation` endpoint.", "id": "GoogleCloudContactcenterinsightsV1SpeechConfig", "properties": { "speechRecognizer": { @@ -4327,35 +3972,6 @@ }, "type": "object" }, - "GoogleCloudContactcenterinsightsV1SummarySuggestion": { - "description": "Suggested summary of the conversation.", - "id": "GoogleCloudContactcenterinsightsV1SummarySuggestion", - "properties": { - "summarySections": { - "description": "Required. All the parts of generated summary.", - "items": { - "$ref": "GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection": { - "description": "A component of the generated summary.", - "id": "GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection", - "properties": { - "section": { - "description": "Required. Name of the section.", - "type": "string" - }, - "summary": { - "description": "Required. Summary text for the section.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata": { "description": "Metadata for undeploying an issue model.", "id": "GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata", @@ -4397,7 +4013,7 @@ "type": "object" }, "GoogleCloudContactcenterinsightsV1UploadConversationMetadata": { - "description": "The metadata for an UploadConversation operation.", + "description": "The metadata for an `UploadConversation` operation.", "id": "GoogleCloudContactcenterinsightsV1UploadConversationMetadata", "properties": { "analysisOperation": { @@ -4488,128 +4104,6 @@ }, "type": "object" }, - "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction": { - "description": "Agent Coaching instructions that customer can configure.", - "id": "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction", - "properties": { - "agentAction": { - "description": "Optional. The action that human agent should take. For example, \"apologize for the slow shipping\". If the users only want to use agent coaching for intent detection, agent_action can be empty", - "type": "string" - }, - "condition": { - "description": "Optional. The condition of the instruction. For example, \"the customer wants to cancel an order\". If the users want the instruction to be triggered unconditionally, the condition can be empty.", - "type": "string" - }, - "description": { - "description": "Optional. The detailed description of this instruction.", - "type": "string" - }, - "displayName": { - "description": "Optional. Display name for the instruction.", - "type": "string" - }, - "metadata": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Additional information attached to this instruction.", - "type": "object" - }, - "systemAction": { - "description": "Optional. The action that system should take. For example, \"call GetOrderTime with order_number={order number provided by the customer}\". If the users don't have plugins or don't want to trigger plugins, the system_action can be empty", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestion": { - "description": "Suggestion for coaching agents.", - "id": "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestion", - "properties": { - "agentActionSuggestions": { - "description": "Optional. Suggested actions for the agent to take.", - "items": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentActionSuggestion" - }, - "type": "array" - }, - "applicableInstructions": { - "description": "Optional. Instructions applicable based on the current context.", - "items": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction" - }, - "type": "array" - }, - "sampleResponses": { - "description": "Optional. Sample response for the Agent.", - "items": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionSampleResponse" - }, - "type": "array" - }, - "suggestionEval": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionEval", - "description": "Self evaluation of the suggestion." - }, - "suggestionReasoning": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionReasoning", - "description": "Reasoning for the suggestion." - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentActionSuggestion": { - "description": "Actions suggested for the agent. This is based on applicable instructions.", - "id": "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentActionSuggestion", - "properties": { - "agentAction": { - "description": "Optional. The suggested action for the agent.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionEval": { - "description": "Self evaluations of the suggestion.", - "id": "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionEval", - "properties": { - "actionActionSuggestionEval": { - "description": "Optional. Eval for Agent action suggestion.", - "type": "string" - }, - "sampleResponseEval": { - "description": "Optional. Eval for sample response.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionReasoning": { - "description": "Reasoning for the suggestion.", - "id": "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionReasoning", - "properties": { - "agentActionTaken": { - "description": "Optional. The actions that the agent has taken already.", - "type": "string" - }, - "issueSummary": { - "description": "Optional. Summary of the issue.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionSampleResponse": { - "description": "Sample response that the agent can use. This could be based on applicable instructions and ingested data from other systems.", - "id": "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionSampleResponse", - "properties": { - "responseText": { - "description": "Optional. Sample response for Agent in text.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudContactcenterinsightsV1alpha1Analysis": { "description": "The analysis resource.", "id": "GoogleCloudContactcenterinsightsV1alpha1Analysis", @@ -5883,10 +5377,10 @@ "properties": { "gcsDestination": { "$ref": "GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination", - "description": "Google Cloud Storage URI to export the Issue Model to." + "description": "Google Cloud Storage URI to export the issue model to." }, "name": { - "description": "Required. The issue model to export", + "description": "Required. The issue model to export.", "type": "string" } }, @@ -5944,24 +5438,6 @@ }, "type": "object" }, - "GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion": { - "description": "Suggestion generated using free form generator.", - "id": "GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion", - "properties": { - "labels": { - "description": "Optional. Labels for the generator.", - "items": { - "type": "string" - }, - "type": "array" - }, - "response": { - "description": "Required. Free form suggestion.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudContactcenterinsightsV1alpha1GcsSource": { "description": "A Cloud Storage source of conversation data.", "id": "GoogleCloudContactcenterinsightsV1alpha1GcsSource", @@ -5977,162 +5453,6 @@ }, "type": "object" }, - "GoogleCloudContactcenterinsightsV1alpha1GeneratorSuggestion": { - "description": "Suggestion generated using a Generator.", - "id": "GoogleCloudContactcenterinsightsV1alpha1GeneratorSuggestion", - "properties": { - "agentCoachingSuggestion": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestion", - "description": "Optional. Suggestion to coach the agent." - }, - "freeFormSuggestion": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion", - "description": "Optional. Free form suggestion." - }, - "summarySuggestion": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1SummarySuggestion", - "description": "Optional. Suggested summary." - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1alpha1GetGeneratorSuggestionResponse": { - "description": "Represents response from generators.", - "id": "GoogleCloudContactcenterinsightsV1alpha1GetGeneratorSuggestionResponse", - "properties": { - "generatorSuggestion": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1GeneratorSuggestion", - "description": "The suggestion generated from the Generator." - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse": { - "description": "Response for Knowledge Assist. Contains suggested query and optionally includes an answer for the query.", - "id": "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse", - "properties": { - "suggestedQuery": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery", - "description": "The query suggested based on the context. Suggestion is made only if it is different from the previous suggestion." - }, - "suggestedQueryAnswer": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswer", - "description": "The answer generated for the suggested query. Whether or not an answer is generated depends on how confident we are about the generated query." - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswer": { - "description": "Represents an answer from Knowledge. Cuurently supports FAQ and Generative answers.", - "id": "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswer", - "properties": { - "answerText": { - "description": "The piece of text from the `source` that answers this suggested query.", - "type": "string" - }, - "faqSource": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource", - "description": "Populated if the prediction came from FAQ." - }, - "generativeSource": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource", - "description": "Populated if the prediction was Generative." - }, - "intentMatchingSource": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource", - "description": "Populated if the prediction was from intent matching." - }, - "matchConfidence": { - "description": "The system's confidence score that this answer is a good match for this conversational query. The range is from 0.0 (completely uncertain) to 1.0 (completely certain).", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource": { - "description": "Details about source of FAQ answer.", - "id": "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource", - "properties": { - "document": { - "description": "Indicates which Knowledge Document this answer was extracted from. Format: `projects//knowledgeBases//documents/`.", - "type": "string" - }, - "question": { - "description": "The corresponding FAQ question.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource": { - "description": "Details about source of Generative answer.", - "id": "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource", - "properties": { - "snippets": { - "description": "All snippets used for this Generative Prediction, with their source URI and data.", - "items": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet": { - "description": "Snippet Source for a Generative Prediction.", - "id": "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet", - "properties": { - "document": { - "description": "Indicates which Knowledge Document this snippet was extracted from. Format: `projects//knowledgeBases//documents/`.", - "type": "string" - }, - "text": { - "description": "text taken from that URI.", - "type": "string" - }, - "title": { - "description": "Title of the document.", - "type": "string" - }, - "uri": { - "description": "URI the data is sourced from.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource": { - "description": "Details about source of Intent Matching answer.", - "id": "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource", - "properties": { - "title": { - "description": "Title of the document.", - "type": "string" - }, - "uri": { - "description": "URI the data is sourced from.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery": { - "description": "Represents a suggested query.", - "id": "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery", - "properties": { - "queryText": { - "description": "Suggested query text.", - "type": "string" - }, - "score": { - "description": "Suggested query score.", - "format": "float", - "type": "number" - } - }, - "type": "object" - }, "GoogleCloudContactcenterinsightsV1alpha1HoldData": { "description": "The data for a hold annotation.", "id": "GoogleCloudContactcenterinsightsV1alpha1HoldData", @@ -6165,7 +5485,7 @@ "id": "GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest", "properties": { "createNewModel": { - "description": "Optional. If set to true, will create a new issue model from the imported file with randomly generated IDs for the issue model and corresponding issues. Otherwise, replaces an existing model with the same ID as the file.", + "description": "Optional. If set to true, will create an issue model from the imported file with randomly generated IDs for the issue model and corresponding issues. Otherwise, replaces an existing model with the same ID as the file.", "type": "boolean" }, "gcsSource": { @@ -6285,7 +5605,7 @@ "description": "Optional. DLP settings for transcript redaction. Optional, will default to the config specified in Settings." }, "sampleSize": { - "description": "Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Note that conversations produced via sampling will not be ingested by subsequent ingest requests unless they are first deleted.", + "description": "Optional. If set, this fields indicates the number of objects to ingest from the Cloud Storage bucket. If empty, the entire bucket will be ingested. Unless they are first deleted, conversations produced through sampling won't be ingested by subsequent ingest requests.", "format": "int32", "type": "integer" }, @@ -6310,7 +5630,7 @@ "type": "integer" }, "agentId": { - "description": "Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided via the `metadata_bucket_uri`.", + "description": "Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided through the `metadata_bucket_uri`.", "type": "string" }, "customerChannel": { @@ -6351,7 +5671,7 @@ "type": "array" }, "metadataBucketUri": { - "description": "Optional. The Cloud Storage path to the source object metadata. Note that: [1] metadata files are expected to be in JSON format [2] metadata and source objects must be in separate buckets [3] a source object's metadata object must share the same name to be properly ingested", + "description": "Optional. The Cloud Storage path to the conversation metadata. Note that: [1] Metadata files are expected to be in JSON format. [2] Metadata and source files (transcripts or audio) must be in separate buckets. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/conversation1.json`.", "type": "string" } }, @@ -6638,7 +5958,7 @@ "type": "object" }, "GoogleCloudContactcenterinsightsV1alpha1RedactionConfig": { - "description": "DLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations redaction should be performed in Dialogflow / Agent Assist.", + "description": "DLP resources used for redaction while ingesting conversations. DLP settings are applied to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the `CreateConversation` endpoint or the Dialogflow / Agent Assist runtime integrations. When using Dialogflow / Agent Assist runtime integrations, redaction should be performed in Dialogflow / Agent Assist.", "id": "GoogleCloudContactcenterinsightsV1alpha1RedactionConfig", "properties": { "deidentifyTemplate": { @@ -6689,18 +6009,6 @@ "$ref": "GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData", "description": "Agent Assist FAQ answer data." }, - "generatorSuggestionResult": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1GetGeneratorSuggestionResponse", - "description": "The generator suggestion result." - }, - "knowledgeAssistResult": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse", - "description": "The Knowledge Assist result." - }, - "knowledgeSearchResult": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswer", - "description": "The Knowledge Search result." - }, "smartComposeSuggestion": { "$ref": "GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData", "description": "Agent Assist Smart Compose suggestion data." @@ -6712,71 +6020,24 @@ "startBoundary": { "$ref": "GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary", "description": "The boundary in the conversation where the annotation starts, inclusive." - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswer": { - "description": "Represents a SearchKnowledge answer.", - "id": "GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswer", - "properties": { - "answer": { - "description": "The piece of text from the knowledge base documents that answers the search query", - "type": "string" - }, - "answerRecord": { - "description": "The name of the answer record. Format: `projects//locations//answer Records/`", - "type": "string" - }, - "answerSources": { - "description": "All sources used to generate the answer.", - "items": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource" - }, - "type": "array" - }, - "answerType": { - "description": "The type of the answer.", - "enum": [ - "ANSWER_TYPE_UNSPECIFIED", - "FAQ", - "GENERATIVE", - "INTENT" - ], - "enumDescriptions": [ - "The answer has a unspecified type.", - "The answer is from FAQ documents.", - "The answer is from generative model.", - "The answer is from intent matching." - ], - "type": "string" }, - "confidenceScore": { - "description": "The confidence score in [0.0, 1.0] range.", - "format": "float", - "type": "number" + "userInput": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput", + "description": "Explicit input used for generating the answer" } }, "type": "object" }, - "GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource": { - "description": "The sources of the answers.", - "id": "GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource", + "GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput": { + "description": "Explicit input used for generating the answer", + "id": "GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput", "properties": { - "document": { - "description": "The document from which the snippet was extracted. Format: `projects//knowledgeBases//documents/`", + "generatorName": { + "description": "The resource name of associated generator. Format: `projects//locations//generators/`", "type": "string" }, - "snippet": { - "description": "The relevant snippet of the article.", - "type": "string" - }, - "title": { - "description": "The title of the article.", - "type": "string" - }, - "uri": { - "description": "The URI of the article.", + "query": { + "description": "Query text. Article Search uses this to store the input query used to generate the search results.", "type": "string" } }, @@ -6860,7 +6121,7 @@ "type": "object" }, "GoogleCloudContactcenterinsightsV1alpha1SpeechConfig": { - "description": "Speech-to-Text configuration. Speech-to-Text settings are applied to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the CreateConversation endpoint.", + "description": "Speech-to-Text configuration. Speech-to-Text settings are applied to conversations ingested from the `UploadConversation` and `IngestConversations` endpoints, including conversation coming from CCAI Platform. They are not applied to conversations ingested from the `CreateConversation` endpoint.", "id": "GoogleCloudContactcenterinsightsV1alpha1SpeechConfig", "properties": { "speechRecognizer": { @@ -6870,35 +6131,6 @@ }, "type": "object" }, - "GoogleCloudContactcenterinsightsV1alpha1SummarySuggestion": { - "description": "Suggested summary of the conversation.", - "id": "GoogleCloudContactcenterinsightsV1alpha1SummarySuggestion", - "properties": { - "summarySections": { - "description": "Required. All the parts of generated summary.", - "items": { - "$ref": "GoogleCloudContactcenterinsightsV1alpha1SummarySuggestionSummarySection" - }, - "type": "array" - } - }, - "type": "object" - }, - "GoogleCloudContactcenterinsightsV1alpha1SummarySuggestionSummarySection": { - "description": "A component of the generated summary.", - "id": "GoogleCloudContactcenterinsightsV1alpha1SummarySuggestionSummarySection", - "properties": { - "section": { - "description": "Required. Name of the section.", - "type": "string" - }, - "summary": { - "description": "Required. Summary text for the section.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata": { "description": "Metadata for undeploying an issue model.", "id": "GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata", @@ -6940,7 +6172,7 @@ "type": "object" }, "GoogleCloudContactcenterinsightsV1alpha1UploadConversationMetadata": { - "description": "The metadata for an UploadConversation operation.", + "description": "The metadata for an `UploadConversation` operation.", "id": "GoogleCloudContactcenterinsightsV1alpha1UploadConversationMetadata", "properties": { "analysisOperation": { diff --git a/discovery/googleapis/container__v1.json b/discovery/googleapis/container__v1.json index be2f2d049..5810bfc52 100644 --- a/discovery/googleapis/container__v1.json +++ b/discovery/googleapis/container__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240514", + "revision": "20240520", "rootUrl": "https://container.googleapis.com/", "servicePath": "", "title": "Kubernetes Engine API", diff --git a/discovery/googleapis/containeranalysis__v1.json b/discovery/googleapis/containeranalysis__v1.json index 5b6646cfc..94382735c 100644 --- a/discovery/googleapis/containeranalysis__v1.json +++ b/discovery/googleapis/containeranalysis__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240514", + "revision": "20240531", "rootUrl": "https://containeranalysis.googleapis.com/", "servicePath": "", "title": "Container Analysis API", @@ -2389,7 +2389,7 @@ }, "source": { "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1Source", - "description": "The location of the source files to build." + "description": "Optional. The location of the source files to build." }, "sourceProvenance": { "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1SourceProvenance", @@ -2571,7 +2571,7 @@ "type": "string" }, "diskSizeGb": { - "description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 2000GB; builds that request more than the maximum are rejected with an error.", + "description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 4000GB; builds that request more than the maximum are rejected with an error.", "format": "int64", "type": "string" }, @@ -2916,7 +2916,7 @@ "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository", "properties": { "dir": { - "description": "Directory, relative to the source root, in which to run the build.", + "description": "Optional. Directory, relative to the source root, in which to run the build.", "type": "string" }, "repository": { @@ -2924,7 +2924,7 @@ "type": "string" }, "revision": { - "description": "The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.", + "description": "Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.", "type": "string" } }, @@ -3014,15 +3014,15 @@ "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource", "properties": { "dir": { - "description": "Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", + "description": "Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", "type": "string" }, "revision": { - "description": "The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision from the Git repository; therefore make sure that the string you provide for `revision` is parsable by the command. For information on string values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch.", + "description": "Optional. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision from the Git repository; therefore make sure that the string you provide for `revision` is parsable by the command. For information on string values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch.", "type": "string" }, "url": { - "description": "Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote.", + "description": "Required. Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote.", "type": "string" } }, @@ -3088,26 +3088,26 @@ "type": "string" }, "dir": { - "description": "Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", + "description": "Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", "type": "string" }, "invertRegex": { - "description": "Only trigger a build if the revision regex does NOT match the revision regex.", + "description": "Optional. Only trigger a build if the revision regex does NOT match the revision regex.", "type": "boolean" }, "projectId": { - "description": "ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.", + "description": "Optional. ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.", "type": "string" }, "repoName": { - "description": "Name of the Cloud Source Repository.", + "description": "Required. Name of the Cloud Source Repository.", "type": "string" }, "substitutions": { "additionalProperties": { "type": "string" }, - "description": "Substitutions to use in a triggered build. Should only be used with RunBuildTrigger", + "description": "Optional. Substitutions to use in a triggered build. Should only be used with RunBuildTrigger", "type": "object" }, "tagName": { @@ -3312,12 +3312,12 @@ "type": "string" }, "generation": { - "description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", + "description": "Optional. Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", "format": "int64", "type": "string" }, "object": { - "description": "Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.", + "description": "Required. Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.", "type": "string" }, "sourceFetcher": { @@ -3342,7 +3342,7 @@ "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest", "properties": { "bucket": { - "description": "Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", + "description": "Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", "type": "string" }, "generation": { @@ -3351,7 +3351,7 @@ "type": "string" }, "object": { - "description": "Cloud Storage object containing the source manifest. This object must be a JSON file.", + "description": "Required. Cloud Storage object containing the source manifest. This object must be a JSON file.", "type": "string" } }, diff --git a/discovery/googleapis/content__v2.1.json b/discovery/googleapis/content__v2.1.json index ff4bd4b2b..4ec8dae1f 100644 --- a/discovery/googleapis/content__v2.1.json +++ b/discovery/googleapis/content__v2.1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240613", "rootUrl": "https://shoppingcontent.googleapis.com/", "servicePath": "content/v2.1/", "title": "Content API for Shopping", @@ -14767,7 +14767,7 @@ "description": "Clarifies the severity of the issue. The summarizing message, if present, should be shown right under the title for each issue. It helps merchants to quickly understand the impact of the issue. The detailed breakdown helps the merchant to fully understand the impact of the issue. It can be rendered as dialog that opens when the merchant mouse over the summarized impact statement. Issues with different severity can be styled differently. They may use a different color or icon to signal the difference between `ERROR`, `WARNING` and `INFO`." }, "prerenderedContent": { - "description": "Details of the issue as a pre-rendered HTML. HTML elements contain CSS classes that can be used to customize the style of the content. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `issue-detail` - top level container for the detail of the issue * `callout-banners` - section of the `issue-detail` with callout banners * `callout-banner` - single callout banner, inside `callout-banners` * `callout-banner-info` - callout with important information (default) * `callout-banner-warning` - callout with a warning * `callout-banner-error` - callout informing about an error (most severe) * `issue-content` - section of the `issue-detail`, contains multiple `content-element` * `content-element` - content element such as a list, link or paragraph, inside `issue-content` * `root-causes` - unordered list with items describing root causes of the issue, inside `issue-content` * `root-causes-intro` - intro text before the `root-causes` list, inside `issue-content` * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon. * `content-moderation` - marks the paragraph that explains how the issue was identified. * `new-element` - Present for new elements added to the pre-rendered content in the future. To make sure that a new content element does not break your style, you can hide everything with this class.", + "description": "Details of the issue as a pre-rendered HTML. HTML elements contain CSS classes that can be used to customize the style of the content. Always sanitize the HTML before embedding it directly to your application. The sanitizer needs to allow basic HTML tags, such as: `div`, `span`, `p`, `a`, `ul`, `li`, `table`, `tr`, `td`. For example, you can use [DOMPurify](https://www.npmjs.com/package/dompurify). CSS classes: * `issue-detail` - top level container for the detail of the issue * `callout-banners` - section of the `issue-detail` with callout banners * `callout-banner` - single callout banner, inside `callout-banners` * `callout-banner-info` - callout with important information (default) * `callout-banner-warning` - callout with a warning * `callout-banner-error` - callout informing about an error (most severe) * `issue-content` - section of the `issue-detail`, contains multiple `content-element` * `content-element` - content element such as a list, link or paragraph, inside `issue-content` * `root-causes` - unordered list with items describing root causes of the issue, inside `issue-content` * `root-causes-intro` - intro text before the `root-causes` list, inside `issue-content` * `segment` - section of the text, `span` inside paragraph * `segment-attribute` - section of the text that represents a product attribute, for example 'image\\_link' * `segment-literal` - section of the text that contains a special value, for example '0-1000 kg' * `segment-bold` - section of the text that should be rendered as bold * `segment-italic` - section of the text that should be rendered as italic * `tooltip` - used on paragraphs that should be rendered with a tooltip. A section of the text in such a paragraph will have a class `tooltip-text` and is intended to be shown in a mouse over dialog. If the style is not used, the `tooltip-text` section would be shown on a new line, after the main part of the text. * `tooltip-text` - marks a section of the text within a `tooltip`, that is intended to be shown in a mouse over dialog. * `tooltip-icon` - marks a section of the text within a `tooltip`, that can be replaced with a tooltip icon, for example '?' or 'i'. By default, this section contains a `br` tag, that is separating the main text and the tooltip text when the style is not used. * `tooltip-style-question` - the tooltip shows helpful information, can use the '?' as an icon. * `tooltip-style-info` - the tooltip adds additional information fitting to the context, can use the 'i' as an icon. * `content-moderation` - marks the paragraph that explains how the issue was identified. * `list-intro` - marks the paragraph that contains an intro for a list. This paragraph will be always followed by a list. * `new-element` - Present for new elements added to the pre-rendered content in the future. To make sure that a new content element does not break your style, you can hide everything with this class.", "type": "string" }, "title": { diff --git a/discovery/googleapis/customsearch__v1.json b/discovery/googleapis/customsearch__v1.json index 0ebc1a585..ee90bce03 100644 --- a/discovery/googleapis/customsearch__v1.json +++ b/discovery/googleapis/customsearch__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240611", "rootUrl": "https://customsearch.googleapis.com/", "servicePath": "", "title": "Custom Search API", diff --git a/discovery/googleapis/datacatalog__v1.json b/discovery/googleapis/datacatalog__v1.json index 99487b265..a73b313ba 100644 --- a/discovery/googleapis/datacatalog__v1.json +++ b/discovery/googleapis/datacatalog__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240605", "rootUrl": "https://datacatalog.googleapis.com/", "servicePath": "", "title": "Google Cloud Data Catalog API", diff --git a/discovery/googleapis/datalineage__v1.json b/discovery/googleapis/datalineage__v1.json index b6774f05b..b23505f4c 100644 --- a/discovery/googleapis/datalineage__v1.json +++ b/discovery/googleapis/datalineage__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240517", + "revision": "20240607", "rootUrl": "https://datalineage.googleapis.com/", "servicePath": "", "title": "Data Lineage API", diff --git a/discovery/googleapis/datamigration__v1.json b/discovery/googleapis/datamigration__v1.json index 22e22c1ea..78ad76a5c 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": "20240515", + "revision": "20240605", "rootUrl": "https://datamigration.googleapis.com/", "servicePath": "", "title": "Database Migration API", @@ -2539,7 +2539,8 @@ "POSTGRES_12", "POSTGRES_13", "POSTGRES_14", - "POSTGRES_15" + "POSTGRES_15", + "POSTGRES_16" ], "enumDescriptions": [ "Unspecified version.", @@ -2563,7 +2564,8 @@ "PostgreSQL 12.", "PostgreSQL 13.", "PostgreSQL 14.", - "PostgreSQL 15." + "PostgreSQL 15.", + "PostgreSQL 16." ], "type": "string" }, @@ -5731,6 +5733,10 @@ "$ref": "SqlServerDatabaseBackup" }, "type": "array" + }, + "useDiffBackup": { + "description": "Optional. Enable differential backups.", + "type": "boolean" } }, "type": "object" diff --git a/discovery/googleapis/datapipelines__v1.json b/discovery/googleapis/datapipelines__v1.json index c16160f09..c301eb008 100644 --- a/discovery/googleapis/datapipelines__v1.json +++ b/discovery/googleapis/datapipelines__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240512", + "revision": "20240602", "rootUrl": "https://datapipelines.googleapis.com/", "servicePath": "", "title": "Data pipelines API", diff --git a/discovery/googleapis/dataplex__v1.json b/discovery/googleapis/dataplex__v1.json index 5fd26de8d..6a57ef722 100644 --- a/discovery/googleapis/dataplex__v1.json +++ b/discovery/googleapis/dataplex__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240513", + "revision": "20240529", "rootUrl": "https://dataplex.googleapis.com/", "servicePath": "", "title": "Cloud Dataplex API", @@ -896,7 +896,7 @@ ] }, "generateDataQualityRules": { - "description": "Generates recommended DataQualityRule from a data profiling DataScan.", + "description": "Generates recommended data quality rules based on the results of a data profiling scan.Use the recommendations to build rules for a data quality scan.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataScans/{dataScansId}:generateDataQualityRules", "httpMethod": "POST", "id": "dataplex.projects.locations.dataScans.generateDataQualityRules", @@ -905,7 +905,7 @@ ], "parameters": { "name": { - "description": "Required. The name should be either * the name of a datascan with at least one successful completed data profiling job, or * the name of a successful completed data profiling datascan job.", + "description": "Required. The name must be one of the following: The name of a data scan with at least one successful, completed data profiling job The name of a successful, completed data profiling job (a data scan job where the job type is data profiling)", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dataScans/[^/]+$", "required": true, @@ -1168,7 +1168,7 @@ "jobs": { "methods": { "generateDataQualityRules": { - "description": "Generates recommended DataQualityRule from a data profiling DataScan.", + "description": "Generates recommended data quality rules based on the results of a data profiling scan.Use the recommendations to build rules for a data quality scan.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataScans/{dataScansId}/jobs/{jobsId}:generateDataQualityRules", "httpMethod": "POST", "id": "dataplex.projects.locations.dataScans.jobs.generateDataQualityRules", @@ -1177,7 +1177,7 @@ ], "parameters": { "name": { - "description": "Required. The name should be either * the name of a datascan with at least one successful completed data profiling job, or * the name of a successful completed data profiling datascan job.", + "description": "Required. The name must be one of the following: The name of a data scan with at least one successful, completed data profiling job The name of a successful, completed data profiling job (a data scan job where the job type is data profiling)", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/dataScans/[^/]+/jobs/[^/]+$", "required": true, @@ -6890,7 +6890,7 @@ }, "sqlAssertion": { "$ref": "GoogleCloudDataplexV1DataQualityRuleSqlAssertion", - "description": "Aggregate rule which evaluates the number of rows returned for the provided statement." + "description": "Aggregate rule which evaluates the number of rows returned for the provided statement. If any rows are returned, this rule fails." }, "statisticRangeExpectation": { "$ref": "GoogleCloudDataplexV1DataQualityRuleStatisticRangeExpectation", @@ -6957,7 +6957,7 @@ "id": "GoogleCloudDataplexV1DataQualityRuleResult", "properties": { "assertionRowCount": { - "description": "Output only. The number of rows returned by the sql statement in the SqlAssertion rule.This field is only valid for SqlAssertion rules.", + "description": "Output only. The number of rows returned by the SQL statement in a SQL assertion rule.This field is only valid for SQL assertion rules.", "format": "int64", "readOnly": true, "type": "string" @@ -7023,7 +7023,7 @@ "type": "object" }, "GoogleCloudDataplexV1DataQualityRuleSqlAssertion": { - "description": "Queries for rows returned by the provided SQL statement. If any rows are are returned, this rule fails.The SQL statement needs to use BigQuery standard SQL syntax, and must not contain any semicolons.${data()} can be used to reference the rows being evaluated, i.e. the table after all additional filters (row filters, incremental data filters, sampling) are applied.Example: SELECT * FROM ${data()} WHERE price < 0", + "description": "A SQL statement that is evaluated to return rows that match an invalid state. If any rows are are returned, this rule fails.The SQL statement must use BigQuery standard SQL syntax, and must not contain any semicolons.You can use the data reference parameter ${data()} to reference the source table with all of its precondition filters applied. Examples of precondition filters include row filters, incremental data filters, and sampling. For more information, see Data reference parameter (https://cloud.google.com/dataplex/docs/auto-data-quality-overview#data-reference-parameter).Example: SELECT * FROM ${data()} WHERE price < 0", "id": "GoogleCloudDataplexV1DataQualityRuleSqlAssertion", "properties": { "sqlStatement": { @@ -7094,7 +7094,7 @@ "id": "GoogleCloudDataplexV1DataQualityScanRuleResult", "properties": { "assertionRowCount": { - "description": "The number of rows returned by the sql statement in the SqlAssertion rule. This field is only valid for SqlAssertion rules.", + "description": "The number of rows returned by the SQL statement in a SQL assertion rule. This field is only valid for SQL assertion rules.", "format": "int64", "type": "string" }, @@ -7177,15 +7177,15 @@ ], "enumDescriptions": [ "An unspecified rule type.", - "Please see https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation.", - "Please see https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation.", - "Please see https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation.", - "Please see https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation.", - "Please see https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation.", - "Please see https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation.", - "Please see https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation.", - "Please see https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation.", - "Please see https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#sqlAssertion." + "See DataQualityRule.NonNullExpectation.", + "See DataQualityRule.RangeExpectation.", + "See DataQualityRule.RegexExpectation.", + "See DataQualityRule.RowConditionExpectation.", + "See DataQualityRule.SetExpectation.", + "See DataQualityRule.StatisticRangeExpectation.", + "See DataQualityRule.TableConditionExpectation.", + "See DataQualityRule.UniquenessExpectation.", + "See DataQualityRule.SqlAssertion." ], "type": "string" }, @@ -8304,6 +8304,11 @@ "description": "User-defined labels. The maximum size of keys and values is 128 characters each.", "type": "object" }, + "location": { + "description": "Output only. Location of the resource in the source system. Entry will be searchable by this location. By default, this should match the location of the EntryGroup containing this entry. A different value allows capturing source location for data external to GCP.", + "readOnly": true, + "type": "string" + }, "platform": { "description": "The platform containing the source system. The maximum size of the field is 64 characters.", "type": "string" @@ -8630,17 +8635,17 @@ "type": "object" }, "GoogleCloudDataplexV1GenerateDataQualityRulesRequest": { - "description": "Generate recommended DataQualityRules request.", + "description": "Request details for generating data quality rule recommendations.", "id": "GoogleCloudDataplexV1GenerateDataQualityRulesRequest", "properties": {}, "type": "object" }, "GoogleCloudDataplexV1GenerateDataQualityRulesResponse": { - "description": "Generate recommended DataQualityRules response.", + "description": "Response details for data quality rule recommendations.", "id": "GoogleCloudDataplexV1GenerateDataQualityRulesResponse", "properties": { "rule": { - "description": "Generated recommended {@link DataQualityRule}s.", + "description": "The data quality rules that Dataplex generates based on the results of a data profiling scan.", "items": { "$ref": "GoogleCloudDataplexV1DataQualityRule" }, @@ -9862,26 +9867,29 @@ "id": "GoogleCloudDataplexV1SearchEntriesResult", "properties": { "dataplexEntry": { - "$ref": "GoogleCloudDataplexV1Entry", - "description": "Entry format of the result." + "$ref": "GoogleCloudDataplexV1Entry" }, "linkedResource": { + "deprecated": true, "description": "Linked resource name.", "type": "string" }, "snippets": { "$ref": "GoogleCloudDataplexV1SearchEntriesResultSnippets", + "deprecated": true, "description": "Snippets." } }, "type": "object" }, "GoogleCloudDataplexV1SearchEntriesResultSnippets": { + "deprecated": true, "description": "Snippets for the entry, contains HTML-style highlighting for matched tokens, will be used in UI.", "id": "GoogleCloudDataplexV1SearchEntriesResultSnippets", "properties": { "dataplexEntry": { "$ref": "GoogleCloudDataplexV1Entry", + "deprecated": true, "description": "Entry" } }, diff --git a/discovery/googleapis/dataportability__v1.json b/discovery/googleapis/dataportability__v1.json index 5789dd455..180b10df5 100644 --- a/discovery/googleapis/dataportability__v1.json +++ b/discovery/googleapis/dataportability__v1.json @@ -211,7 +211,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://dataportability.googleapis.com/", "servicePath": "", "title": "Data Portability API", diff --git a/discovery/googleapis/dataproc__v1.json b/discovery/googleapis/dataproc__v1.json index aea10dd8b..c0debd3ae 100644 --- a/discovery/googleapis/dataproc__v1.json +++ b/discovery/googleapis/dataproc__v1.json @@ -42,7 +42,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240525", + "revision": "20240605", "rootUrl": "https://dataproc.googleapis.com/", "servicePath": "", "title": "Cloud Dataproc API", @@ -3211,6 +3211,32 @@ }, "type": "object" }, + "AutotuningConfig": { + "description": "Autotuning configuration of the workload.", + "id": "AutotuningConfig", + "properties": { + "scenarios": { + "description": "Optional. Scenarios for which tunings are applied.", + "items": { + "enum": [ + "SCENARIO_UNSPECIFIED", + "SCALING", + "BROADCAST_HASH_JOIN", + "MEMORY" + ], + "enumDescriptions": [ + "Default value.", + "Scaling recommendations such as initialExecutors.", + "Adding hints for potential relation broadcasts.", + "Memory management for workloads." + ], + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "AuxiliaryNodeGroup": { "description": "Node group identification and configuration information.", "id": "AuxiliaryNodeGroup", @@ -5607,7 +5633,9 @@ "DELETE", "RESIZE", "REPAIR", - "UPDATE_LABELS" + "UPDATE_LABELS", + "START", + "STOP" ], "enumDescriptions": [ "Node group operation type is unknown.", @@ -5616,7 +5644,9 @@ "Delete node group operation type.", "Resize node group operation type.", "Repair node group operation type.", - "Update node group label operation type." + "Update node group label operation type.", + "Start node group operation type.", + "Stop node group operation type." ], "type": "string" }, @@ -6209,6 +6239,14 @@ "description": "Runtime configuration for a workload.", "id": "RuntimeConfig", "properties": { + "autotuningConfig": { + "$ref": "AutotuningConfig", + "description": "Optional. Autotuning configuration of the workload." + }, + "cohort": { + "description": "Optional. Cohort identifier. Identifies families of the workloads having the same shape, e.g. daily ETL jobs.", + "type": "string" + }, "containerImage": { "description": "Optional. Optional custom container image for the job runtime environment. If not specified, a default container image will be used.", "type": "string" diff --git a/discovery/googleapis/datastream__v1.json b/discovery/googleapis/datastream__v1.json index 06a0d0ba0..4692852e0 100644 --- a/discovery/googleapis/datastream__v1.json +++ b/discovery/googleapis/datastream__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240501", + "revision": "20240529", "rootUrl": "https://datastream.googleapis.com/", "servicePath": "", "title": "Datastream API", @@ -1562,6 +1562,10 @@ "postgresqlRdbms": { "$ref": "PostgresqlRdbms", "description": "PostgreSQL RDBMS to enrich with child data objects and metadata." + }, + "sqlServerRdbms": { + "$ref": "SqlServerRdbms", + "description": "SQLServer RDBMS to enrich with child data objects and metadata." } }, "type": "object" @@ -1581,6 +1585,10 @@ "postgresqlRdbms": { "$ref": "PostgresqlRdbms", "description": "Enriched PostgreSQL RDBMS object." + }, + "sqlServerRdbms": { + "$ref": "SqlServerRdbms", + "description": "Enriched SQLServer RDBMS object." } }, "type": "object" @@ -2863,6 +2871,12 @@ }, "type": "object" }, + "SqlServerChangeTables": { + "description": "Configuration to use Change Tables CDC read method.", + "id": "SqlServerChangeTables", + "properties": {}, + "type": "object" + }, "SqlServerColumn": { "description": "SQLServer Column.", "id": "SqlServerColumn", @@ -2985,6 +2999,10 @@ "description": "SQLServer data source configuration", "id": "SqlServerSourceConfig", "properties": { + "changeTables": { + "$ref": "SqlServerChangeTables", + "description": "CDC reader reads from change tables." + }, "excludeObjects": { "$ref": "SqlServerRdbms", "description": "SQLServer objects to exclude from the stream." @@ -3002,6 +3020,10 @@ "description": "Max concurrent CDC tasks.", "format": "int32", "type": "integer" + }, + "transactionLogs": { + "$ref": "SqlServerTransactionLogs", + "description": "CDC reader reads from transaction logs." } }, "type": "object" @@ -3024,6 +3046,12 @@ }, "type": "object" }, + "SqlServerTransactionLogs": { + "description": "Configuration to use Transaction Logs CDC read method.", + "id": "SqlServerTransactionLogs", + "properties": {}, + "type": "object" + }, "StartBackfillJobRequest": { "description": "Request for manually initiating a backfill job for a specific stream object.", "id": "StartBackfillJobRequest", diff --git a/discovery/googleapis/developerconnect__v1.json b/discovery/googleapis/developerconnect__v1.json index 157db8d50..b8467d3c4 100644 --- a/discovery/googleapis/developerconnect__v1.json +++ b/discovery/googleapis/developerconnect__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240527", + "revision": "20240605", "rootUrl": "https://developerconnect.googleapis.com/", "servicePath": "", "title": "Developer Connect API", diff --git a/discovery/googleapis/dialogflow__v2.json b/discovery/googleapis/dialogflow__v2.json index 11fb9c1cf..f22434cfa 100644 --- a/discovery/googleapis/dialogflow__v2.json +++ b/discovery/googleapis/dialogflow__v2.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240605", "rootUrl": "https://dialogflow.googleapis.com/", "servicePath": "", "title": "Dialogflow API", @@ -3648,6 +3648,35 @@ "https://www.googleapis.com/auth/dialogflow" ] }, + "suggestKnowledgeAssist": { + "description": "Gets knowledge assist suggestions based on historical messages.", + "flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestKnowledgeAssist", + "httpMethod": "POST", + "id": "dialogflow.projects.conversations.participants.suggestions.suggestKnowledgeAssist", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The name of the participant to fetch suggestions for. Format: `projects//locations//conversations//participants/`.", + "location": "path", + "pattern": "^projects/[^/]+/conversations/[^/]+/participants/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/suggestions:suggestKnowledgeAssist", + "request": { + "$ref": "GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, "suggestSmartReplies": { "description": "Gets smart replies for a participant based on specific historical messages.", "flatPath": "v2/projects/{projectsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestSmartReplies", @@ -3745,6 +3774,81 @@ } } }, + "generators": { + "methods": { + "create": { + "description": "Creates a generator.", + "flatPath": "v2/projects/{projectsId}/generators", + "httpMethod": "POST", + "id": "dialogflow.projects.generators.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "generatorId": { + "description": "Optional. The ID to use for the generator, which will become the final component of the generator's resource name. The generator ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is not provided, an Id will be auto-generated. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The project/location to create generator for. Format: `projects//locations/`", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/generators", + "request": { + "$ref": "GoogleCloudDialogflowV2Generator" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2Generator" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Lists generators.", + "flatPath": "v2/projects/{projectsId}/generators", + "httpMethod": "GET", + "id": "dialogflow.projects.generators.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. Maximum number of conversation models to return in a single page. Default to 10.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The project/location to list generators for. Format: `projects//locations/`", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/generators", + "response": { + "$ref": "GoogleCloudDialogflowV2ListGeneratorsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + }, "knowledgeBases": { "methods": { "create": { @@ -7491,6 +7595,35 @@ "https://www.googleapis.com/auth/dialogflow" ] }, + "suggestKnowledgeAssist": { + "description": "Gets knowledge assist suggestions based on historical messages.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestKnowledgeAssist", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.conversations.participants.suggestions.suggestKnowledgeAssist", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The name of the participant to fetch suggestions for. Format: `projects//locations//conversations//participants/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/conversations/[^/]+/participants/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/suggestions:suggestKnowledgeAssist", + "request": { + "$ref": "GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, "suggestSmartReplies": { "description": "Gets smart replies for a participant based on specific historical messages.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/conversations/{conversationsId}/participants/{participantsId}/suggestions:suggestSmartReplies", @@ -7588,6 +7721,168 @@ } } }, + "generators": { + "methods": { + "create": { + "description": "Creates a generator.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/generators", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.generators.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "generatorId": { + "description": "Optional. The ID to use for the generator, which will become the final component of the generator's resource name. The generator ID must be compliant with the regression fomula `a-zA-Z*` with the characters length in range of [3,64]. If the field is not provided, an Id will be auto-generated. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The project/location to create generator for. Format: `projects//locations/`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/generators", + "request": { + "$ref": "GoogleCloudDialogflowV2Generator" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2Generator" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "delete": { + "description": "Deletes a generator.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}", + "httpMethod": "DELETE", + "id": "dialogflow.projects.locations.generators.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The generator resource name to delete. Format: `projects//locations//generators/`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/generators/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "get": { + "description": "Retrieves a generator.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.generators.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The generator resource name to retrieve. Format: `projects//locations/`/generators/`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/generators/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "GoogleCloudDialogflowV2Generator" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "list": { + "description": "Lists generators.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/generators", + "httpMethod": "GET", + "id": "dialogflow.projects.locations.generators.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. Maximum number of conversation models to return in a single page. Default to 10.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The next_page_token value returned from a previous list request.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The project/location to list generators for. Format: `projects//locations/`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/generators", + "response": { + "$ref": "GoogleCloudDialogflowV2ListGeneratorsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + }, + "patch": { + "description": "Updates a generator.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/generators/{generatorsId}", + "httpMethod": "PATCH", + "id": "dialogflow.projects.locations.generators.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Identifier. The resource name of the generator. Format: `projects//locations//generators/`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/generators/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The list of fields to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v2/{+name}", + "request": { + "$ref": "GoogleCloudDialogflowV2Generator" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2Generator" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + }, "knowledgeBases": { "methods": { "create": { @@ -8104,6 +8399,39 @@ } } }, + "statelessSuggestion": { + "methods": { + "generate": { + "description": "Generates and returns a suggestion for a conversation that does not have a resource created for it.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/statelessSuggestion:generate", + "httpMethod": "POST", + "id": "dialogflow.projects.locations.statelessSuggestion.generate", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource to charge for the Suggestion's generation. Format: `projects//locations/`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/statelessSuggestion:generate", + "request": { + "$ref": "GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest" + }, + "response": { + "$ref": "GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/dialogflow" + ] + } + } + }, "suggestions": { "methods": { "generateStatelessSummary": { @@ -8390,11 +8718,11 @@ "id": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings", "properties": { "enableInteractionLogging": { - "description": "If true, DF Interaction logging is currently enabled.", + "description": "Enables DF Interaction logging.", "type": "boolean" }, "enableStackdriverLogging": { - "description": "If true, StackDriver logging is currently enabled.", + "description": "Enables StackDriver logging.", "type": "boolean" } }, @@ -10780,11 +11108,11 @@ "id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings", "properties": { "enableInteractionLogging": { - "description": "If true, DF Interaction logging is currently enabled.", + "description": "Enables DF Interaction logging.", "type": "boolean" }, "enableStackdriverLogging": { - "description": "If true, StackDriver logging is currently enabled.", + "description": "Enables StackDriver logging.", "type": "boolean" } }, @@ -12137,6 +12465,10 @@ "text": { "$ref": "GoogleCloudDialogflowCxV3beta1TextInput", "description": "The natural language text to be processed." + }, + "toolCallResult": { + "$ref": "GoogleCloudDialogflowCxV3beta1ToolCallResult", + "description": "The results of a tool executed by the client." } }, "type": "object" @@ -12205,6 +12537,10 @@ "text": { "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText", "description": "Returns a text response." + }, + "toolCall": { + "$ref": "GoogleCloudDialogflowCxV3beta1ToolCall", + "description": "Returns the definition of a tool call that should be executed by the client." } }, "type": "object" @@ -12599,11 +12935,72 @@ }, "type": "object" }, - "GoogleCloudDialogflowCxV3beta1TransitionRoute": { - "description": "A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow.", - "id": "GoogleCloudDialogflowCxV3beta1TransitionRoute", + "GoogleCloudDialogflowCxV3beta1ToolCall": { + "description": "Represents a call of a specific tool's action with the specified inputs.", + "id": "GoogleCloudDialogflowCxV3beta1ToolCall", "properties": { - "condition": { + "action": { + "description": "Required. The name of the tool's action associated with this call.", + "type": "string" + }, + "inputParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. The action's input parameters.", + "type": "object" + }, + "tool": { + "description": "Required. The tool associated with this call. Format: `projects//locations//agents//tools/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ToolCallResult": { + "description": "The result of calling a tool's action that has been executed by the client.", + "id": "GoogleCloudDialogflowCxV3beta1ToolCallResult", + "properties": { + "action": { + "description": "Required. The name of the tool's action associated with this call.", + "type": "string" + }, + "error": { + "$ref": "GoogleCloudDialogflowCxV3beta1ToolCallResultError", + "description": "The tool call's error." + }, + "outputParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The tool call's output parameters.", + "type": "object" + }, + "tool": { + "description": "Required. The tool associated with this call. Format: `projects//locations//agents//tools/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ToolCallResultError": { + "description": "An error produced by the tool call.", + "id": "GoogleCloudDialogflowCxV3beta1ToolCallResultError", + "properties": { + "message": { + "description": "Optional. The error message of the function.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1TransitionRoute": { + "description": "A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow.", + "id": "GoogleCloudDialogflowCxV3beta1TransitionRoute", + "properties": { + "condition": { "description": "The condition to evaluate against form parameters or session parameters. See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least one of `intent` or `condition` must be specified. When both `intent` and `condition` are specified, the transition can only happen when both are fulfilled.", "type": "string" }, @@ -13242,6 +13639,10 @@ ], "type": "string" }, + "knowledgeAssistFeedback": { + "$ref": "GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback", + "description": "Optional. Feedback for knowledge assist." + }, "knowledgeSearchFeedback": { "$ref": "GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback", "description": "Optional. Feedback for knowledge search." @@ -13253,6 +13654,24 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback": { + "description": "Feedback for knowledge assist.", + "id": "GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback", + "properties": { + "answerCopied": { + "description": "Whether the suggested answer was copied by the human agent. If the value is set to be true, AnswerFeedback.clicked will be updated to be true.", + "type": "boolean" + }, + "clickedUris": { + "description": "The URIs clicked by the human agent. The value is appended for each UpdateAnswerRecordRequest. If the value is not empty, AnswerFeedback.clicked will be updated to be true.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback": { "description": "Feedback for knowledge search.", "id": "GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback", @@ -13821,14 +14240,16 @@ "ARTICLE_SUGGESTION", "FAQ", "SMART_REPLY", - "KNOWLEDGE_SEARCH" + "KNOWLEDGE_SEARCH", + "KNOWLEDGE_ASSIST" ], "enumDescriptions": [ "Unspecified feature type.", "Run article suggestion model for chat.", "Run FAQ model for chat.", "Run smart reply model for chat.", - "Run knowledge search with text input from agent or text generated query." + "Run knowledge search with text input from agent or text generated query.", + "Run knowledge assist with automatic query generation." ], "type": "string" } @@ -13862,14 +14283,16 @@ "ARTICLE_SUGGESTION", "FAQ", "SMART_REPLY", - "KNOWLEDGE_SEARCH" + "KNOWLEDGE_SEARCH", + "KNOWLEDGE_ASSIST" ], "enumDescriptions": [ "Unspecified feature type.", "Run article suggestion model for chat.", "Run FAQ model for chat.", "Run smart reply model for chat.", - "Run knowledge search with text input from agent or text generated query." + "Run knowledge search with text input from agent or text generated query.", + "Run knowledge assist with automatic query generation." ], "type": "string" } @@ -13968,6 +14391,20 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2ConversationContext": { + "description": "Context of the conversation, including transcripts.", + "id": "GoogleCloudDialogflowV2ConversationContext", + "properties": { + "messageEntries": { + "description": "Optional. List of message transcripts in the conversation.", + "items": { + "$ref": "GoogleCloudDialogflowV2MessageEntry" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2ConversationDataset": { "description": "Represents a conversation dataset that a user imports raw data into. The data inside ConversationDataset can not be changed after ImportConversationData finishes (and calling ImportConversationData on a dataset that already has data is not allowed).", "id": "GoogleCloudDialogflowV2ConversationDataset", @@ -14929,6 +15366,32 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2FewShotExample": { + "description": "Providing examples in the generator (i.e. building a few-shot generator) helps convey the desired format of the LLM response. NEXT_ID: 10", + "id": "GoogleCloudDialogflowV2FewShotExample", + "properties": { + "conversationContext": { + "$ref": "GoogleCloudDialogflowV2ConversationContext", + "description": "Optional. Conversation transcripts." + }, + "extraInfo": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Key is the placeholder field name in input, value is the value of the placeholder. E.g. instruction contains \"@price\", and ingested data has <\"price\", \"10\">", + "type": "object" + }, + "output": { + "$ref": "GoogleCloudDialogflowV2GeneratorSuggestion", + "description": "Required. Example output of the model." + }, + "summarizationSectionList": { + "$ref": "GoogleCloudDialogflowV2SummarizationSectionList", + "description": "Summarization sections." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2Fulfillment": { "description": "By default, your agent responds to a matched intent with a static response. As an alternative, you can provide a more dynamic response by using fulfillment. When you enable fulfillment for an intent, Dialogflow responds to that intent by calling a service that you define. For example, if an end-user wants to schedule a haircut on Friday, your service can check your database and respond to the end-user with availability information for Friday. For more information, see the [fulfillment guide](https://cloud.google.com/dialogflow/docs/fulfillment-overview).", "id": "GoogleCloudDialogflowV2Fulfillment", @@ -15034,6 +15497,53 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest": { + "description": "The request message for Conversations.GenerateStatelessSuggestion.", + "id": "GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest", + "properties": { + "conversationContext": { + "$ref": "GoogleCloudDialogflowV2ConversationContext", + "description": "Optional. Context of the conversation, including transcripts." + }, + "generator": { + "$ref": "GoogleCloudDialogflowV2Generator", + "description": "Uncreated generator. It should be a complete generator that includes all information about the generator." + }, + "generatorName": { + "description": "The resource name of the existing created generator. Format: `projects//locations//generators/`", + "type": "string" + }, + "triggerEvents": { + "description": "Optional. A list of trigger events. Generator will be triggered only if it's trigger event is included here.", + "items": { + "enum": [ + "TRIGGER_EVENT_UNSPECIFIED", + "END_OF_UTTERANCE", + "MANUAL_CALL" + ], + "enumDescriptions": [ + "Default value for TriggerEvent.", + "Triggers when each chat message or voice utterance ends.", + "Triggers on the conversation manually by API calls, such as Conversations.GenerateStatelessSuggestion and Conversations.GenerateSuggestions." + ], + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse": { + "description": "The response message for Conversations.GenerateStatelessSuggestion.", + "id": "GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse", + "properties": { + "generatorSuggestion": { + "$ref": "GoogleCloudDialogflowV2GeneratorSuggestion", + "description": "Required. Generated suggestion for a conversation." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2GenerateStatelessSummaryRequest": { "description": "The request message for Conversations.GenerateStatelessSummary.", "id": "GoogleCloudDialogflowV2GenerateStatelessSummaryRequest", @@ -15114,6 +15624,67 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2Generator": { + "description": "LLM generator.", + "id": "GoogleCloudDialogflowV2Generator", + "properties": { + "createTime": { + "description": "Output only. Creation time of this generator.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. Human readable description of the generator.", + "type": "string" + }, + "inferenceParameter": { + "$ref": "GoogleCloudDialogflowV2InferenceParameter", + "description": "Optional. Inference parameters for this generator." + }, + "name": { + "description": "Output only. Identifier. The resource name of the generator. Format: `projects//locations//generators/`", + "readOnly": true, + "type": "string" + }, + "summarizationContext": { + "$ref": "GoogleCloudDialogflowV2SummarizationContext", + "description": "Input of prebuilt Summarization feature." + }, + "triggerEvent": { + "description": "Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.", + "enum": [ + "TRIGGER_EVENT_UNSPECIFIED", + "END_OF_UTTERANCE", + "MANUAL_CALL" + ], + "enumDescriptions": [ + "Default value for TriggerEvent.", + "Triggers when each chat message or voice utterance ends.", + "Triggers on the conversation manually by API calls, such as Conversations.GenerateStatelessSuggestion and Conversations.GenerateSuggestions." + ], + "type": "string" + }, + "updateTime": { + "description": "Output only. Update time of this generator.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2GeneratorSuggestion": { + "description": "Suggestion generated using a Generator.", + "id": "GoogleCloudDialogflowV2GeneratorSuggestion", + "properties": { + "summarySuggestion": { + "$ref": "GoogleCloudDialogflowV2SummarySuggestion", + "description": "Optional. Suggested summary." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2HumanAgentAssistantConfig": { "description": "Defines the Human Agent Assist to connect to a conversation.", "id": "GoogleCloudDialogflowV2HumanAgentAssistantConfig", @@ -15183,6 +15754,10 @@ "description": "Detail human agent assistant config.", "id": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig", "properties": { + "disableHighLatencyFeaturesSyncDelivery": { + "description": "Optional. When disable_high_latency_features_sync_delivery is true and using the AnalyzeContent API, we will not deliver the responses from high latency features in the API response. The human_agent_assistant_config.notification_config must be configured and enable_event_based_suggestion must be set to true to receive the responses from high latency features in Pub/Sub. High latency feature(s): KNOWLEDGE_ASSIST.", + "type": "boolean" + }, "featureConfigs": { "description": "Configuration of different suggestion features. One feature can have only one config.", "items": { @@ -15190,6 +15765,13 @@ }, "type": "array" }, + "generators": { + "description": "Optional. List of various generator resource names used in the conversation profile.", + "items": { + "type": "string" + }, + "type": "array" + }, "groupSuggestionResponses": { "description": "If `group_suggestion_responses` is false, and there are multiple `feature_configs` in `event based suggestion` or StreamingAnalyzeContent, we will try to deliver suggestions to customers as soon as we get new suggestion. Different type of suggestions based on the same context will be in separate Pub/Sub event or `StreamingAnalyzeContentResponse`. If `group_suggestion_responses` set to true. All the suggestions to the same participant based on the same context will be grouped into a single Pub/Sub event or StreamingAnalyzeContentResponse.", "type": "boolean" @@ -15221,6 +15803,14 @@ "description": "Automatically iterates all participants and tries to compile suggestions. Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, KNOWLEDGE_ASSIST.", "type": "boolean" }, + "enableQuerySuggestionOnly": { + "description": "Optional. Enable query suggestion only. Supported features: KNOWLEDGE_ASSIST", + "type": "boolean" + }, + "enableQuerySuggestionWhenNoAnswer": { + "description": "Optional. Enable query suggestion even if we can't find its answer. By default, queries are suggested only if we find its answer. Supported features: KNOWLEDGE_ASSIST", + "type": "boolean" + }, "queryConfig": { "$ref": "GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig", "description": "Configs of query." @@ -15421,7 +16011,7 @@ "properties": { "livePersonConfig": { "$ref": "GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig", - "description": "Uses LivePerson (https://www.liveperson.com)." + "description": "Uses [LivePerson](https://www.liveperson.com)." }, "salesforceLiveAgentConfig": { "$ref": "GoogleCloudDialogflowV2HumanAgentHandoffConfigSalesforceLiveAgentConfig", @@ -15431,7 +16021,7 @@ "type": "object" }, "GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig": { - "description": "Configuration specific to LivePerson (https://www.liveperson.com).", + "description": "Configuration specific to [LivePerson](https://www.liveperson.com).", "id": "GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig", "properties": { "accountNumber": { @@ -15602,6 +16192,33 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2InferenceParameter": { + "description": "The parameters of inference.", + "id": "GoogleCloudDialogflowV2InferenceParameter", + "properties": { + "maxOutputTokens": { + "description": "Optional. Maximum number of the output tokens for the generator.", + "format": "int32", + "type": "integer" + }, + "temperature": { + "description": "Optional. Controls the randomness of LLM predictions. Low temperature = less random. High temperature = more random. If unset (or 0), uses a default value of 0.", + "format": "double", + "type": "number" + }, + "topK": { + "description": "Optional. Top-k changes how the model selects tokens for output. A top-k of 1 means the selected token is the most probable among all tokens in the model's vocabulary (also called greedy decoding), while a top-k of 3 means that the next token is selected from among the 3 most probable tokens (using temperature). For each token selection step, the top K tokens with the highest probabilities are sampled. Then tokens are further filtered based on topP with the final token selected using temperature sampling. Specify a lower value for less random responses and a higher value for more random responses. Acceptable value is [1, 40], default to 40.", + "format": "int32", + "type": "integer" + }, + "topP": { + "description": "Optional. Top-p changes how the model selects tokens for output. Tokens are selected from most K (see topK parameter) probable to least until the sum of their probabilities equals the top-p value. For example, if tokens A, B, and C have a probability of 0.3, 0.2, and 0.1 and the top-p value is 0.5, then the model will select either A or B as the next token (using temperature) and doesn't consider C. The default top-p value is 0.95. Specify a lower value for less random responses and a higher value for more random responses. Acceptable value is [0.0, 1.0], default to 0.95.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2InputAudioConfig": { "description": "Instructs the speech recognizer how to process the audio content.", "id": "GoogleCloudDialogflowV2InputAudioConfig", @@ -16667,6 +17284,99 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2KnowledgeAssistAnswer": { + "description": "Represents a Knowledge Assist answer.", + "id": "GoogleCloudDialogflowV2KnowledgeAssistAnswer", + "properties": { + "answerRecord": { + "description": "The name of the answer record. Format: `projects//locations//answer Records/`.", + "type": "string" + }, + "suggestedQuery": { + "$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery", + "description": "The query suggested based on the context. Suggestion is made only if it is different from the previous suggestion." + }, + "suggestedQueryAnswer": { + "$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer", + "description": "The answer generated for the suggested query. Whether or not an answer is generated depends on how confident we are about the generated query." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer": { + "description": "Represents an answer from Knowledge. Currently supports FAQ and Generative answers.", + "id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer", + "properties": { + "answerText": { + "description": "The piece of text from the `source` that answers this suggested query.", + "type": "string" + }, + "faqSource": { + "$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource", + "description": "Populated if the prediction came from FAQ." + }, + "generativeSource": { + "$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource", + "description": "Populated if the prediction was Generative." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource": { + "description": "Details about source of FAQ answer.", + "id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource", + "properties": { + "question": { + "description": "The corresponding FAQ question.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource": { + "description": "Details about source of Generative answer.", + "id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource", + "properties": { + "snippets": { + "description": "All snippets used for this Generative Prediction, with their source URI and data.", + "items": { + "$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet": { + "description": "Snippet Source for a Generative Prediction.", + "id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", + "properties": { + "text": { + "description": "Text taken from that URI.", + "type": "string" + }, + "title": { + "description": "Title of the document.", + "type": "string" + }, + "uri": { + "description": "URI the data is sourced from.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery": { + "description": "Represents a suggested query.", + "id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery", + "properties": { + "queryText": { + "description": "Suggested query text.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2KnowledgeBase": { "description": "A knowledge base represents a collection of knowledge documents that you provide to Dialogflow. Your knowledge documents contain information that may be useful during conversations with end-users. Some Dialogflow features use knowledge bases when looking for a response to an end-user input. For more information, see the [knowledge base guide](https://cloud.google.com/dialogflow/docs/how/knowledge-bases). Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.", "id": "GoogleCloudDialogflowV2KnowledgeBase", @@ -16898,6 +17608,24 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2ListGeneratorsResponse": { + "description": "Response of ListGenerators.", + "id": "GoogleCloudDialogflowV2ListGeneratorsResponse", + "properties": { + "generators": { + "description": "List of generators retrieved.", + "items": { + "$ref": "GoogleCloudDialogflowV2Generator" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2ListIntentsResponse": { "description": "The response message for Intents.ListIntents.", "id": "GoogleCloudDialogflowV2ListIntentsResponse", @@ -17097,6 +17825,42 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2MessageEntry": { + "description": "Represents a message entry of a conversation.", + "id": "GoogleCloudDialogflowV2MessageEntry", + "properties": { + "createTime": { + "description": "Optional. Create time of the message entry.", + "format": "google-datetime", + "type": "string" + }, + "languageCode": { + "description": "Optional. The language of the text. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.", + "type": "string" + }, + "role": { + "description": "Optional. Participant role of the message.", + "enum": [ + "ROLE_UNSPECIFIED", + "HUMAN_AGENT", + "AUTOMATED_AGENT", + "END_USER" + ], + "enumDescriptions": [ + "Participant role not set.", + "Participant is a human agent.", + "Participant is an automated agent, such as a Dialogflow agent.", + "Participant is an end user that has called or chatted with Dialogflow services." + ], + "type": "string" + }, + "text": { + "description": "Optional. Transcript content of the message.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2NotificationConfig": { "description": "Defines notification behavior.", "id": "GoogleCloudDialogflowV2NotificationConfig", @@ -17671,14 +18435,16 @@ "ARTICLE_SUGGESTION", "FAQ", "SMART_REPLY", - "KNOWLEDGE_SEARCH" + "KNOWLEDGE_SEARCH", + "KNOWLEDGE_ASSIST" ], "enumDescriptions": [ "Unspecified feature type.", "Run article suggestion model for chat.", "Run FAQ model for chat.", "Run smart reply model for chat.", - "Run knowledge search with text input from agent or text generated query." + "Run knowledge search with text input from agent or text generated query.", + "Run knowledge assist with automatic query generation." ], "type": "string" } @@ -17996,6 +18762,47 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest": { + "description": "The request message for Participants.SuggestKnowledgeAssist.", + "id": "GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest", + "properties": { + "contextSize": { + "description": "Optional. Max number of messages prior to and including latest_message to use as context when compiling the suggestion. The context size is by default 100 and at most 100.", + "format": "int32", + "type": "integer" + }, + "latestMessage": { + "description": "Optional. The name of the latest conversation message to compile suggestions for. If empty, it will be the latest message of the conversation. Format: `projects//locations//conversations//messages/`.", + "type": "string" + }, + "previousSuggestedQuery": { + "description": "Optional. The previously suggested query for the given conversation. This helps identify whether the next suggestion we generate is resonably different from the previous one. This is useful to avoid similar suggestions within the conversation.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse": { + "description": "The response message for Participants.SuggestKnowledgeAssist.", + "id": "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse", + "properties": { + "contextSize": { + "description": "Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the SuggestKnowledgeAssistRequest.context_size field in the request if there are fewer messages in the conversation.", + "format": "int32", + "type": "integer" + }, + "knowledgeAssistAnswer": { + "$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswer", + "description": "Output only. Knowledge Assist suggestion.", + "readOnly": true + }, + "latestMessage": { + "description": "The name of the latest conversation message used to compile suggestion for. Format: `projects//locations//conversations//messages/`.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2SuggestSmartRepliesRequest": { "description": "The request message for Participants.SuggestSmartReplies.", "id": "GoogleCloudDialogflowV2SuggestSmartRepliesRequest", @@ -18051,14 +18858,16 @@ "ARTICLE_SUGGESTION", "FAQ", "SMART_REPLY", - "KNOWLEDGE_SEARCH" + "KNOWLEDGE_SEARCH", + "KNOWLEDGE_ASSIST" ], "enumDescriptions": [ "Unspecified feature type.", "Run article suggestion model for chat.", "Run FAQ model for chat.", "Run smart reply model for chat.", - "Run knowledge search with text input from agent or text generated query." + "Run knowledge search with text input from agent or text generated query.", + "Run knowledge assist with automatic query generation." ], "type": "string" } @@ -18092,6 +18901,10 @@ "$ref": "GoogleCloudDialogflowV2SuggestFaqAnswersResponse", "description": "SuggestFaqAnswersResponse if request is for FAQ_ANSWER." }, + "suggestKnowledgeAssistResponse": { + "$ref": "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse", + "description": "SuggestKnowledgeAssistResponse if request is for KNOWLEDGE_ASSIST." + }, "suggestSmartRepliesResponse": { "$ref": "GoogleCloudDialogflowV2SuggestSmartRepliesResponse", "description": "SuggestSmartRepliesResponse if request is for SMART_REPLY." @@ -18099,6 +18912,117 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2SummarizationContext": { + "description": "Summarization context that customer can configure.", + "id": "GoogleCloudDialogflowV2SummarizationContext", + "properties": { + "fewShotExamples": { + "description": "Optional. List of few shot examples.", + "items": { + "$ref": "GoogleCloudDialogflowV2FewShotExample" + }, + "type": "array" + }, + "outputLanguageCode": { + "description": "Optional. The target language of the generated summary. The language code for conversation will be used if this field is empty. Supported 2.0 and later versions.", + "type": "string" + }, + "summarizationSections": { + "description": "Optional. List of sections. Note it contains both predefined section sand customer defined sections.", + "items": { + "$ref": "GoogleCloudDialogflowV2SummarizationSection" + }, + "type": "array" + }, + "version": { + "description": "Optional. Version of the feature. If not set, default to latest version. Current candidates are [\"1.0\"].", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SummarizationSection": { + "description": "Represents the section of summarization.", + "id": "GoogleCloudDialogflowV2SummarizationSection", + "properties": { + "definition": { + "description": "Optional. Definition of the section, for example, \"what the customer needs help with or has question about.\"", + "type": "string" + }, + "key": { + "description": "Optional. Name of the section, for example, \"situation\".", + "type": "string" + }, + "type": { + "description": "Optional. Type of the summarization section.", + "enum": [ + "TYPE_UNSPECIFIED", + "SITUATION", + "ACTION", + "RESOLUTION", + "REASON_FOR_CANCELLATION", + "CUSTOMER_SATISFACTION", + "ENTITIES", + "CUSTOMER_DEFINED" + ], + "enumDescriptions": [ + "Undefined section type, does not return anything.", + "What the customer needs help with or has question about. Section name: \"situation\".", + "What the agent does to help the customer. Section name: \"action\".", + "Result of the customer service. A single word describing the result of the conversation. Section name: \"resolution\".", + "Reason for cancellation if the customer requests for a cancellation. \"N/A\" otherwise. Section name: \"reason_for_cancellation\".", + "\"Unsatisfied\" or \"Satisfied\" depending on the customer's feelings at the end of the conversation. Section name: \"customer_satisfaction\".", + "Key entities extracted from the conversation, such as ticket number, order number, dollar amount, etc. Section names are prefixed by \"entities/\".", + "Customer defined sections." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SummarizationSectionList": { + "description": "List of summarization sections.", + "id": "GoogleCloudDialogflowV2SummarizationSectionList", + "properties": { + "summarizationSections": { + "description": "Optional. Summarization sections.", + "items": { + "$ref": "GoogleCloudDialogflowV2SummarizationSection" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SummarySuggestion": { + "description": "Suggested summary of the conversation.", + "id": "GoogleCloudDialogflowV2SummarySuggestion", + "properties": { + "summarySections": { + "description": "Required. All the parts of generated summary.", + "items": { + "$ref": "GoogleCloudDialogflowV2SummarySuggestionSummarySection" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2SummarySuggestionSummarySection": { + "description": "A component of the generated summary.", + "id": "GoogleCloudDialogflowV2SummarySuggestionSummarySection", + "properties": { + "section": { + "description": "Required. Name of the section.", + "type": "string" + }, + "summary": { + "description": "Required. Summary text for the section.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2SynthesizeSpeechConfig": { "description": "Configuration of how speech should be synthesized.", "id": "GoogleCloudDialogflowV2SynthesizeSpeechConfig", @@ -18529,7 +19453,8 @@ "SMART_REPLY", "DIALOGFLOW_ASSIST", "CONVERSATION_SUMMARIZATION", - "KNOWLEDGE_SEARCH" + "KNOWLEDGE_SEARCH", + "KNOWLEDGE_ASSIST" ], "enumDescriptions": [ "Unspecified feature type.", @@ -18538,7 +19463,8 @@ "Run smart reply model for chat.", "Run Dialogflow assist model for chat, which will return automated agent response as suggestion.", "Run conversation summarization model for chat.", - "Run knowledge search with text input from agent or text generated query." + "Run knowledge search with text input from agent or text generated query.", + "Run knowledge assist with automatic query generation." ], "type": "string" } @@ -20116,6 +21042,99 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer": { + "description": "Represents a Knowledge Assist answer.", + "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer", + "properties": { + "answerRecord": { + "description": "The name of the answer record. Format: `projects//locations//answer Records/`.", + "type": "string" + }, + "suggestedQuery": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery", + "description": "The query suggested based on the context. Suggestion is made only if it is different from the previous suggestion." + }, + "suggestedQueryAnswer": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer", + "description": "The answer generated for the suggested query. Whether or not an answer is generated depends on how confident we are about the generated query." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer": { + "description": "Represents an answer from Knowledge. Currently supports FAQ and Generative answers.", + "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer", + "properties": { + "answerText": { + "description": "The piece of text from the `source` that answers this suggested query.", + "type": "string" + }, + "faqSource": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource", + "description": "Populated if the prediction came from FAQ." + }, + "generativeSource": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource", + "description": "Populated if the prediction was Generative." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource": { + "description": "Details about source of FAQ answer.", + "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource", + "properties": { + "question": { + "description": "The corresponding FAQ question.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource": { + "description": "Details about source of Generative answer.", + "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource", + "properties": { + "snippets": { + "description": "All snippets used for this Generative Prediction, with their source URI and data.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet": { + "description": "Snippet Source for a Generative Prediction.", + "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", + "properties": { + "text": { + "description": "Text taken from that URI.", + "type": "string" + }, + "title": { + "description": "Title of the document.", + "type": "string" + }, + "uri": { + "description": "URI the data is sourced from.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery": { + "description": "Represents a suggested query.", + "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery", + "properties": { + "queryText": { + "description": "Suggested query text.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata": { "description": "Metadata in google::longrunning::Operation for Knowledge operations.", "id": "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata", @@ -20444,7 +21463,8 @@ "SMART_REPLY", "DIALOGFLOW_ASSIST", "CONVERSATION_SUMMARIZATION", - "KNOWLEDGE_SEARCH" + "KNOWLEDGE_SEARCH", + "KNOWLEDGE_ASSIST" ], "enumDescriptions": [ "Unspecified feature type.", @@ -20453,7 +21473,8 @@ "Run smart reply model for chat.", "Run Dialogflow assist model for chat, which will return automated agent response as suggestion.", "Run conversation summarization model for chat.", - "Run knowledge search with text input from agent or text generated query." + "Run knowledge search with text input from agent or text generated query.", + "Run knowledge assist with automatic query generation." ], "type": "string" } @@ -20549,6 +21570,27 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse": { + "description": "The response message for Participants.SuggestKnowledgeAssist.", + "id": "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse", + "properties": { + "contextSize": { + "description": "Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the SuggestKnowledgeAssistRequest.context_size field in the request if there are fewer messages in the conversation.", + "format": "int32", + "type": "integer" + }, + "knowledgeAssistAnswer": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer", + "description": "Output only. Knowledge Assist suggestion.", + "readOnly": true + }, + "latestMessage": { + "description": "The name of the latest conversation message used to compile suggestion for. Format: `projects//locations//conversations//messages/`.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse": { "description": "The response message for Participants.SuggestSmartReplies.", "id": "GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse", @@ -20596,6 +21638,10 @@ "$ref": "GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse", "description": "SuggestFaqAnswersResponse if request is for FAQ_ANSWER." }, + "suggestKnowledgeAssistResponse": { + "$ref": "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse", + "description": "SuggestKnowledgeAssistResponse if request is for KNOWLEDGE_ASSIST." + }, "suggestSmartRepliesResponse": { "$ref": "GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse", "description": "SuggestSmartRepliesResponse if request is for SMART_REPLY." diff --git a/discovery/googleapis/dialogflow__v3.json b/discovery/googleapis/dialogflow__v3.json index 4a3fecaaa..32b07e001 100644 --- a/discovery/googleapis/dialogflow__v3.json +++ b/discovery/googleapis/dialogflow__v3.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240605", "rootUrl": "https://dialogflow.googleapis.com/", "servicePath": "", "title": "Dialogflow API", @@ -4516,11 +4516,11 @@ "id": "GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings", "properties": { "enableInteractionLogging": { - "description": "If true, DF Interaction logging is currently enabled.", + "description": "Enables DF Interaction logging.", "type": "boolean" }, "enableStackdriverLogging": { - "description": "If true, StackDriver logging is currently enabled.", + "description": "Enables StackDriver logging.", "type": "boolean" } }, @@ -10263,11 +10263,11 @@ "id": "GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings", "properties": { "enableInteractionLogging": { - "description": "If true, DF Interaction logging is currently enabled.", + "description": "Enables DF Interaction logging.", "type": "boolean" }, "enableStackdriverLogging": { - "description": "If true, StackDriver logging is currently enabled.", + "description": "Enables StackDriver logging.", "type": "boolean" } }, @@ -11620,6 +11620,10 @@ "text": { "$ref": "GoogleCloudDialogflowCxV3beta1TextInput", "description": "The natural language text to be processed." + }, + "toolCallResult": { + "$ref": "GoogleCloudDialogflowCxV3beta1ToolCallResult", + "description": "The results of a tool executed by the client." } }, "type": "object" @@ -11688,6 +11692,10 @@ "text": { "$ref": "GoogleCloudDialogflowCxV3beta1ResponseMessageText", "description": "Returns a text response." + }, + "toolCall": { + "$ref": "GoogleCloudDialogflowCxV3beta1ToolCall", + "description": "Returns the definition of a tool call that should be executed by the client." } }, "type": "object" @@ -12082,6 +12090,67 @@ }, "type": "object" }, + "GoogleCloudDialogflowCxV3beta1ToolCall": { + "description": "Represents a call of a specific tool's action with the specified inputs.", + "id": "GoogleCloudDialogflowCxV3beta1ToolCall", + "properties": { + "action": { + "description": "Required. The name of the tool's action associated with this call.", + "type": "string" + }, + "inputParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. The action's input parameters.", + "type": "object" + }, + "tool": { + "description": "Required. The tool associated with this call. Format: `projects//locations//agents//tools/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ToolCallResult": { + "description": "The result of calling a tool's action that has been executed by the client.", + "id": "GoogleCloudDialogflowCxV3beta1ToolCallResult", + "properties": { + "action": { + "description": "Required. The name of the tool's action associated with this call.", + "type": "string" + }, + "error": { + "$ref": "GoogleCloudDialogflowCxV3beta1ToolCallResultError", + "description": "The tool call's error." + }, + "outputParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "The tool call's output parameters.", + "type": "object" + }, + "tool": { + "description": "Required. The tool associated with this call. Format: `projects//locations//agents//tools/`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowCxV3beta1ToolCallResultError": { + "description": "An error produced by the tool call.", + "id": "GoogleCloudDialogflowCxV3beta1ToolCallResultError", + "properties": { + "message": { + "description": "Optional. The error message of the function.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowCxV3beta1TransitionRoute": { "description": "A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow.", "id": "GoogleCloudDialogflowCxV3beta1TransitionRoute", @@ -12721,14 +12790,16 @@ "ARTICLE_SUGGESTION", "FAQ", "SMART_REPLY", - "KNOWLEDGE_SEARCH" + "KNOWLEDGE_SEARCH", + "KNOWLEDGE_ASSIST" ], "enumDescriptions": [ "Unspecified feature type.", "Run article suggestion model for chat.", "Run FAQ model for chat.", "Run smart reply model for chat.", - "Run knowledge search with text input from agent or text generated query." + "Run knowledge search with text input from agent or text generated query.", + "Run knowledge assist with automatic query generation." ], "type": "string" } @@ -14161,6 +14232,99 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2KnowledgeAssistAnswer": { + "description": "Represents a Knowledge Assist answer.", + "id": "GoogleCloudDialogflowV2KnowledgeAssistAnswer", + "properties": { + "answerRecord": { + "description": "The name of the answer record. Format: `projects//locations//answer Records/`.", + "type": "string" + }, + "suggestedQuery": { + "$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery", + "description": "The query suggested based on the context. Suggestion is made only if it is different from the previous suggestion." + }, + "suggestedQueryAnswer": { + "$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer", + "description": "The answer generated for the suggested query. Whether or not an answer is generated depends on how confident we are about the generated query." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer": { + "description": "Represents an answer from Knowledge. Currently supports FAQ and Generative answers.", + "id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer", + "properties": { + "answerText": { + "description": "The piece of text from the `source` that answers this suggested query.", + "type": "string" + }, + "faqSource": { + "$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource", + "description": "Populated if the prediction came from FAQ." + }, + "generativeSource": { + "$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource", + "description": "Populated if the prediction was Generative." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource": { + "description": "Details about source of FAQ answer.", + "id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource", + "properties": { + "question": { + "description": "The corresponding FAQ question.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource": { + "description": "Details about source of Generative answer.", + "id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource", + "properties": { + "snippets": { + "description": "All snippets used for this Generative Prediction, with their source URI and data.", + "items": { + "$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet": { + "description": "Snippet Source for a Generative Prediction.", + "id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", + "properties": { + "text": { + "description": "Text taken from that URI.", + "type": "string" + }, + "title": { + "description": "Title of the document.", + "type": "string" + }, + "uri": { + "description": "URI the data is sourced from.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery": { + "description": "Represents a suggested query.", + "id": "GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery", + "properties": { + "queryText": { + "description": "Suggested query text.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2KnowledgeOperationMetadata": { "description": "Metadata in google::longrunning::Operation for Knowledge operations.", "id": "GoogleCloudDialogflowV2KnowledgeOperationMetadata", @@ -14483,14 +14647,16 @@ "ARTICLE_SUGGESTION", "FAQ", "SMART_REPLY", - "KNOWLEDGE_SEARCH" + "KNOWLEDGE_SEARCH", + "KNOWLEDGE_ASSIST" ], "enumDescriptions": [ "Unspecified feature type.", "Run article suggestion model for chat.", "Run FAQ model for chat.", "Run smart reply model for chat.", - "Run knowledge search with text input from agent or text generated query." + "Run knowledge search with text input from agent or text generated query.", + "Run knowledge assist with automatic query generation." ], "type": "string" } @@ -14584,6 +14750,27 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse": { + "description": "The response message for Participants.SuggestKnowledgeAssist.", + "id": "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse", + "properties": { + "contextSize": { + "description": "Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the SuggestKnowledgeAssistRequest.context_size field in the request if there are fewer messages in the conversation.", + "format": "int32", + "type": "integer" + }, + "knowledgeAssistAnswer": { + "$ref": "GoogleCloudDialogflowV2KnowledgeAssistAnswer", + "description": "Output only. Knowledge Assist suggestion.", + "readOnly": true + }, + "latestMessage": { + "description": "The name of the latest conversation message used to compile suggestion for. Format: `projects//locations//conversations//messages/`.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2SuggestSmartRepliesResponse": { "description": "The response message for Participants.SuggestSmartReplies.", "id": "GoogleCloudDialogflowV2SuggestSmartRepliesResponse", @@ -14624,6 +14811,10 @@ "$ref": "GoogleCloudDialogflowV2SuggestFaqAnswersResponse", "description": "SuggestFaqAnswersResponse if request is for FAQ_ANSWER." }, + "suggestKnowledgeAssistResponse": { + "$ref": "GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse", + "description": "SuggestKnowledgeAssistResponse if request is for KNOWLEDGE_ASSIST." + }, "suggestSmartRepliesResponse": { "$ref": "GoogleCloudDialogflowV2SuggestSmartRepliesResponse", "description": "SuggestSmartRepliesResponse if request is for SMART_REPLY." @@ -14836,7 +15027,8 @@ "SMART_REPLY", "DIALOGFLOW_ASSIST", "CONVERSATION_SUMMARIZATION", - "KNOWLEDGE_SEARCH" + "KNOWLEDGE_SEARCH", + "KNOWLEDGE_ASSIST" ], "enumDescriptions": [ "Unspecified feature type.", @@ -14845,7 +15037,8 @@ "Run smart reply model for chat.", "Run Dialogflow assist model for chat, which will return automated agent response as suggestion.", "Run conversation summarization model for chat.", - "Run knowledge search with text input from agent or text generated query." + "Run knowledge search with text input from agent or text generated query.", + "Run knowledge assist with automatic query generation." ], "type": "string" } @@ -16423,6 +16616,99 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer": { + "description": "Represents a Knowledge Assist answer.", + "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer", + "properties": { + "answerRecord": { + "description": "The name of the answer record. Format: `projects//locations//answer Records/`.", + "type": "string" + }, + "suggestedQuery": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery", + "description": "The query suggested based on the context. Suggestion is made only if it is different from the previous suggestion." + }, + "suggestedQueryAnswer": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer", + "description": "The answer generated for the suggested query. Whether or not an answer is generated depends on how confident we are about the generated query." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer": { + "description": "Represents an answer from Knowledge. Currently supports FAQ and Generative answers.", + "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer", + "properties": { + "answerText": { + "description": "The piece of text from the `source` that answers this suggested query.", + "type": "string" + }, + "faqSource": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource", + "description": "Populated if the prediction came from FAQ." + }, + "generativeSource": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource", + "description": "Populated if the prediction was Generative." + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource": { + "description": "Details about source of FAQ answer.", + "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource", + "properties": { + "question": { + "description": "The corresponding FAQ question.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource": { + "description": "Details about source of Generative answer.", + "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource", + "properties": { + "snippets": { + "description": "All snippets used for this Generative Prediction, with their source URI and data.", + "items": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet": { + "description": "Snippet Source for a Generative Prediction.", + "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet", + "properties": { + "text": { + "description": "Text taken from that URI.", + "type": "string" + }, + "title": { + "description": "Title of the document.", + "type": "string" + }, + "uri": { + "description": "URI the data is sourced from.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery": { + "description": "Represents a suggested query.", + "id": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery", + "properties": { + "queryText": { + "description": "Suggested query text.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata": { "description": "Metadata in google::longrunning::Operation for Knowledge operations.", "id": "GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata", @@ -16751,7 +17037,8 @@ "SMART_REPLY", "DIALOGFLOW_ASSIST", "CONVERSATION_SUMMARIZATION", - "KNOWLEDGE_SEARCH" + "KNOWLEDGE_SEARCH", + "KNOWLEDGE_ASSIST" ], "enumDescriptions": [ "Unspecified feature type.", @@ -16760,7 +17047,8 @@ "Run smart reply model for chat.", "Run Dialogflow assist model for chat, which will return automated agent response as suggestion.", "Run conversation summarization model for chat.", - "Run knowledge search with text input from agent or text generated query." + "Run knowledge search with text input from agent or text generated query.", + "Run knowledge assist with automatic query generation." ], "type": "string" } @@ -16856,6 +17144,27 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse": { + "description": "The response message for Participants.SuggestKnowledgeAssist.", + "id": "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse", + "properties": { + "contextSize": { + "description": "Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the SuggestKnowledgeAssistRequest.context_size field in the request if there are fewer messages in the conversation.", + "format": "int32", + "type": "integer" + }, + "knowledgeAssistAnswer": { + "$ref": "GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer", + "description": "Output only. Knowledge Assist suggestion.", + "readOnly": true + }, + "latestMessage": { + "description": "The name of the latest conversation message used to compile suggestion for. Format: `projects//locations//conversations//messages/`.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse": { "description": "The response message for Participants.SuggestSmartReplies.", "id": "GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse", @@ -16903,6 +17212,10 @@ "$ref": "GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse", "description": "SuggestFaqAnswersResponse if request is for FAQ_ANSWER." }, + "suggestKnowledgeAssistResponse": { + "$ref": "GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse", + "description": "SuggestKnowledgeAssistResponse if request is for KNOWLEDGE_ASSIST." + }, "suggestSmartRepliesResponse": { "$ref": "GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse", "description": "SuggestSmartRepliesResponse if request is for SMART_REPLY." diff --git a/discovery/googleapis/digitalassetlinks__v1.json b/discovery/googleapis/digitalassetlinks__v1.json index d0e36523c..44e0b6ad0 100644 --- a/discovery/googleapis/digitalassetlinks__v1.json +++ b/discovery/googleapis/digitalassetlinks__v1.json @@ -15,7 +15,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240525", + "revision": "20240610", "rootUrl": "https://digitalassetlinks.googleapis.com/", "servicePath": "", "title": "Digital Asset Links API", diff --git a/discovery/googleapis/displayvideo__v2.json b/discovery/googleapis/displayvideo__v2.json index 2b303d5ef..f8313d787 100644 --- a/discovery/googleapis/displayvideo__v2.json +++ b/discovery/googleapis/displayvideo__v2.json @@ -34,7 +34,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240604", "rootUrl": "https://displayvideo.googleapis.com/", "servicePath": "", "title": "Display & Video 360 API", @@ -19762,7 +19762,7 @@ "type": "array" }, "publisherReviewStatuses": { - "description": "Publisher review statuses for the creative.", + "description": "Publisher review statuses for the creative. **Warning:** This field will be deprecated on June 26th, 2024. After this date, this field will be empty. Read our [feature deprecation announcement](/display-video/api/deprecations#features.creative_publisher_review_statuses) for more information.", "items": { "$ref": "PublisherReviewStatus" }, diff --git a/discovery/googleapis/displayvideo__v3.json b/discovery/googleapis/displayvideo__v3.json index af533c4fe..9ed2fd201 100644 --- a/discovery/googleapis/displayvideo__v3.json +++ b/discovery/googleapis/displayvideo__v3.json @@ -34,7 +34,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240604", "rootUrl": "https://displayvideo.googleapis.com/", "servicePath": "", "title": "Display & Video 360 API", @@ -20491,7 +20491,7 @@ "type": "array" }, "publisherReviewStatuses": { - "description": "Publisher review statuses for the creative.", + "description": "Publisher review statuses for the creative. **Warning:** This field will be deprecated on June 26th, 2024. After this date, this field will be empty. Read our [feature deprecation announcement](/display-video/api/deprecations#features.creative_publisher_review_statuses) for more information.", "items": { "$ref": "PublisherReviewStatus" }, diff --git a/discovery/googleapis/dlp__v2.json b/discovery/googleapis/dlp__v2.json index 17fbc1e2b..589e2c930 100644 --- a/discovery/googleapis/dlp__v2.json +++ b/discovery/googleapis/dlp__v2.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240602", "rootUrl": "https://dlp.googleapis.com/", "servicePath": "", "title": "Sensitive Data Protection (DLP)", diff --git a/discovery/googleapis/dns__v1.json b/discovery/googleapis/dns__v1.json index b858a04f8..33ad9e613 100644 --- a/discovery/googleapis/dns__v1.json +++ b/discovery/googleapis/dns__v1.json @@ -34,7 +34,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240524", + "revision": "20240610", "rootUrl": "https://dns.googleapis.com/", "servicePath": "", "title": "Cloud DNS API", @@ -1829,7 +1829,7 @@ }, "schemas": { "Change": { - "description": "A Change represents a set of ResourceRecordSet additions and deletions applied atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are modified by creating a new Change element in the Changes collection. In turn the Changes collection also records the past modifications to the ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is the sum effect of applying all Change elements in the Changes collection in sequence.", + "description": "A Change represents a set of `ResourceRecordSet` additions and deletions applied atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are modified by creating a new Change element in the Changes collection. In turn the Changes collection also records the past modifications to the `ResourceRecordSets` in a `ManagedZone`. The current state of the `ManagedZone` is the sum effect of applying all `Change` elements in the `Changes` collection in sequence.", "id": "Change", "properties": { "additions": { @@ -1888,16 +1888,13 @@ }, "type": "array" }, - "header": { - "$ref": "ResponseHeader" - }, "kind": { "default": "dns#changesListResponse", "description": "Type of resource.", "type": "string" }, "nextPageToken": { - "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token. This lets you retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You cannot retrieve a \"snapshot\" of collections larger than the maximum page size.", + "description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", "type": "string" } }, @@ -2062,16 +2059,13 @@ }, "type": "array" }, - "header": { - "$ref": "ResponseHeader" - }, "kind": { "default": "dns#dnsKeysListResponse", "description": "Type of resource.", "type": "string" }, "nextPageToken": { - "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token. In this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. There is no way to retrieve a \"snapshot\" of collections larger than the maximum page size.", + "description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", "type": "string" } }, @@ -2349,8 +2343,8 @@ "private" ], "enumDescriptions": [ - "", - "" + "Indicates that records in this zone can be queried from the public internet.", + "Indicates that records in this zone cannot be queried from the public internet. Access to private zones depends on the zone configuration." ], "type": "string" } @@ -2393,8 +2387,8 @@ "nsec3" ], "enumDescriptions": [ - "", - "" + "Indicates that Cloud DNS will sign records in the managed zone according to RFC 4034 and respond with NSEC records for names that do not exist.", + "Indicates that Cloud DNS will sign records in the managed zone according to RFC 5155 and respond with NSEC3 records for names that do not exist." ], "type": "string" }, @@ -2465,16 +2459,13 @@ "ManagedZoneOperationsListResponse": { "id": "ManagedZoneOperationsListResponse", "properties": { - "header": { - "$ref": "ResponseHeader" - }, "kind": { "default": "dns#managedZoneOperationsListResponse", "description": "Type of resource.", "type": "string" }, "nextPageToken": { - "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token. This lets you retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.", + "description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", "type": "string" }, "operations": { @@ -2513,7 +2504,7 @@ "type": "string" }, "networkUrl": { - "description": "The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}", + "description": "The fully qualified URL of the VPC network to forward queries to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`", "type": "string" } }, @@ -2565,7 +2556,7 @@ "type": "string" }, "networkUrl": { - "description": "The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}", + "description": "The fully qualified URL of the VPC network to bind to. Format this URL like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`", "type": "string" } }, @@ -2608,7 +2599,7 @@ "type": "string" }, "namespaceUrl": { - "description": "The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}", + "description": "The fully qualified URL of the namespace associated with the zone. Format must be `https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}`", "type": "string" } }, @@ -2617,9 +2608,6 @@ "ManagedZonesListResponse": { "id": "ManagedZonesListResponse", "properties": { - "header": { - "$ref": "ResponseHeader" - }, "kind": { "default": "dns#managedZonesListResponse", "description": "Type of resource.", @@ -2633,7 +2621,7 @@ "type": "array" }, "nextPageToken": { - "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token. This lets you the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.", + "description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", "type": "string" } }, @@ -2717,16 +2705,13 @@ "PoliciesListResponse": { "id": "PoliciesListResponse", "properties": { - "header": { - "$ref": "ResponseHeader" - }, "kind": { "default": "dns#policiesListResponse", "description": "Type of resource.", "type": "string" }, "nextPageToken": { - "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token. This lets you the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.", + "description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", "type": "string" }, "policies": { @@ -2742,9 +2727,6 @@ "PoliciesPatchResponse": { "id": "PoliciesPatchResponse", "properties": { - "header": { - "$ref": "ResponseHeader" - }, "policy": { "$ref": "Policy" } @@ -2754,9 +2736,6 @@ "PoliciesUpdateResponse": { "id": "PoliciesUpdateResponse", "properties": { - "header": { - "$ref": "ResponseHeader" - }, "policy": { "$ref": "Policy" } @@ -2868,7 +2847,7 @@ "type": "object" }, "Project": { - "description": "A project resource. The project is a top level container for resources including Cloud DNS ManagedZones. Projects can be created only in the APIs console. Next tag: 7.", + "description": "A project resource. The project is a top level container for resources including Cloud DNS ManagedZones. Projects can be created only in the APIs console.", "id": "Project", "properties": { "id": { @@ -3045,7 +3024,7 @@ "type": "object" }, "RRSetRoutingPolicyGeoPolicy": { - "description": "Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.", + "description": "Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.", "id": "RRSetRoutingPolicyGeoPolicy", "properties": { "enableFencing": { @@ -3072,7 +3051,7 @@ "properties": { "healthCheckedTargets": { "$ref": "RRSetRoutingPolicyHealthCheckTargets", - "description": "For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with rrdata within this item." + "description": "For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item." }, "kind": { "default": "dns#rRSetRoutingPolicyGeoPolicyGeoPolicyItem", @@ -3089,7 +3068,7 @@ "type": "array" }, "signatureRrdatas": { - "description": "DNSSEC generated signatures for all the rrdata within this item. If health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item.", + "description": "DNSSEC generated signatures for all the `rrdata` within this item. If health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item.", "items": { "type": "string" }, @@ -3099,7 +3078,7 @@ "type": "object" }, "RRSetRoutingPolicyHealthCheckTargets": { - "description": "HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Only one of internal_load_balancer and external_endpoints should be set.", + "description": "HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response.", "id": "RRSetRoutingPolicyHealthCheckTargets", "properties": { "internalLoadBalancers": { @@ -3129,8 +3108,8 @@ ], "enumDescriptions": [ "", - "", - "" + "Indicates the load balancer is accessible via TCP.", + "Indicates the load balancer is accessible via UDP." ], "type": "string" }, @@ -3148,14 +3127,14 @@ ], "enumDescriptions": [ "", - "", - "", - "" + "Indicates the load balancer is a Cross-Region Application Load Balancer.", + "Indicates the load balancer is a Regional Network Passthrough Load Balancer.", + "Indicates the load balancer is a Regional Application Load Balancer." ], "type": "string" }, "networkUrl": { - "description": "The fully qualified URL of the network that the load balancer is attached to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} .", + "description": "The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`.", "type": "string" }, "port": { @@ -3179,7 +3158,7 @@ "properties": { "backupGeoTargets": { "$ref": "RRSetRoutingPolicyGeoPolicy", - "description": "Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to BACKUP, this policy essentially becomes a geo routing policy." + "description": "Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to `BACKUP`, this policy essentially becomes a geo routing policy." }, "kind": { "default": "dns#rRSetRoutingPolicyPrimaryBackupPolicy", @@ -3187,10 +3166,10 @@ }, "primaryTargets": { "$ref": "RRSetRoutingPolicyHealthCheckTargets", - "description": "Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the backup_geo_targets." + "description": "Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the `backup_geo_targets`." }, "trickleTraffic": { - "description": "When serving state is PRIMARY, this field provides the option of sending a small percentage of the traffic to the backup targets.", + "description": "When serving state is `PRIMARY`, this field provides the option of sending a small percentage of the traffic to the backup targets.", "format": "double", "type": "number" } @@ -3220,7 +3199,7 @@ "properties": { "healthCheckedTargets": { "$ref": "RRSetRoutingPolicyHealthCheckTargets", - "description": "Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of rrdata or health_checked_targets can be set." + "description": "Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set." }, "kind": { "default": "dns#rRSetRoutingPolicyWrrPolicyWrrPolicyItem", @@ -3233,14 +3212,14 @@ "type": "array" }, "signatureRrdatas": { - "description": "DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item.", + "description": "DNSSEC generated signatures for all the `rrdata` within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item.", "items": { "type": "string" }, "type": "array" }, "weight": { - "description": "The weight corresponding to this WrrPolicyItem object. When multiple WrrPolicyItem objects are configured, the probability of returning an WrrPolicyItem object's data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.", + "description": "The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object's data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative.", "format": "double", "type": "number" } @@ -3261,7 +3240,7 @@ }, "routingPolicy": { "$ref": "RRSetRoutingPolicy", - "description": "Configures dynamic query responses based on either the geo location of the querying user or a weighted round robin based routing policy. A valid ResourceRecordSet contains only rrdata (for static resolution) or a routing_policy (for dynamic resolution)." + "description": "Configures dynamic query responses based on either the geo location of the querying user or a weighted round robin based routing policy. A valid `ResourceRecordSet` contains only `rrdata` (for static resolution) or a `routing_policy` (for dynamic resolution)." }, "rrdatas": { "description": "As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.", @@ -3278,7 +3257,7 @@ "type": "array" }, "ttl": { - "description": "Number of seconds that this ResourceRecordSet can be cached by resolvers.", + "description": "Number of seconds that this `ResourceRecordSet` can be cached by resolvers.", "format": "int32", "type": "integer" }, @@ -3297,16 +3276,13 @@ "ResourceRecordSetsListResponse": { "id": "ResourceRecordSetsListResponse", "properties": { - "header": { - "$ref": "ResponseHeader" - }, "kind": { "default": "dns#resourceRecordSetsListResponse", "description": "Type of resource.", "type": "string" }, "nextPageToken": { - "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token. This lets you retrieve the complete contents of even larger collections, one page at a time. However, if the collection changes between paginated list requests, the set of elements returned is an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.", + "description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", "type": "string" }, "rrsets": { @@ -3319,25 +3295,11 @@ }, "type": "object" }, - "ResponseHeader": { - "description": "Elements common to every response.", - "id": "ResponseHeader", - "properties": { - "operationId": { - "description": "For mutating operation requests that completed successfully. This is the client_operation_id if the client specified it, otherwise it is generated by the server (output only).", - "type": "string" - } - }, - "type": "object" - }, "ResponsePoliciesListResponse": { "id": "ResponsePoliciesListResponse", "properties": { - "header": { - "$ref": "ResponseHeader" - }, "nextPageToken": { - "description": "The presence of this field indicates that more results exist following your last page of results in pagination order. To fetch them, make another list request by using this value as your page token. This lets you view the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.", + "description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", "type": "string" }, "responsePolicies": { @@ -3353,9 +3315,6 @@ "ResponsePoliciesPatchResponse": { "id": "ResponsePoliciesPatchResponse", "properties": { - "header": { - "$ref": "ResponseHeader" - }, "responsePolicy": { "$ref": "ResponsePolicy" } @@ -3365,9 +3324,6 @@ "ResponsePoliciesUpdateResponse": { "id": "ResponsePoliciesUpdateResponse", "properties": { - "header": { - "$ref": "ResponseHeader" - }, "responsePolicy": { "$ref": "ResponsePolicy" } @@ -3441,7 +3397,7 @@ "type": "string" }, "networkUrl": { - "description": "The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}", + "description": "The fully qualified URL of the VPC network to bind to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`", "type": "string" } }, @@ -3459,7 +3415,7 @@ ], "enumDescriptions": [ "", - "Skip a less-specific ResponsePolicyRule and continue normal query logic. This can be used with a less-specific wildcard selector to exempt a subset of the wildcard ResponsePolicyRule from the ResponsePolicy behavior and query the public Internet instead. For instance, if these rules exist: *.example.com -> LocalData 1.2.3.4 foo.example.com -> Behavior 'bypassResponsePolicy' Then a query for 'foo.example.com' skips the wildcard. This additionally functions to facilitate the allowlist feature. RPZs can be applied to multiple levels in the (eventually org, folder, project, network) hierarchy. If a rule is applied at a higher level of the hierarchy, adding a passthru rule at a lower level will supersede that, and a query from an affected vm to that domain will be exempt from the RPZ and proceed to normal resolution behavior." + "Skip a less-specific Response Policy Rule and let the query logic continue. This mechanism, when used with wildcard selectors, lets you exempt specific subdomains from a broader Response Policy Rule and direct the queries to the public internet instead. For example, if the following rules exist: ``` *.example.com -> LocalData 1.2.3.4 foo.example.com -> Behavior 'passthrough' ``` A query for foo.example.com skips the wildcard rule. This functionality also facilitates allowlisting. Response Policy Zones (RPZs) can be applied at multiple levels within the hierarchy: for example, an organization, a folder, a project, or a VPC network. If an RPZ rule is applied at a higher level, adding a `passthrough` rule at a lower level will override it. Queries from affected virtual machines (VMs) to that domain bypass the RPZ and proceed with normal resolution." ], "type": "string" }, @@ -3498,11 +3454,8 @@ "ResponsePolicyRulesListResponse": { "id": "ResponsePolicyRulesListResponse", "properties": { - "header": { - "$ref": "ResponseHeader" - }, "nextPageToken": { - "description": "The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token. This lets you the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.", + "description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.", "type": "string" }, "responsePolicyRules": { @@ -3518,9 +3471,6 @@ "ResponsePolicyRulesPatchResponse": { "id": "ResponsePolicyRulesPatchResponse", "properties": { - "header": { - "$ref": "ResponseHeader" - }, "responsePolicyRule": { "$ref": "ResponsePolicyRule" } @@ -3530,9 +3480,6 @@ "ResponsePolicyRulesUpdateResponse": { "id": "ResponsePolicyRulesUpdateResponse", "properties": { - "header": { - "$ref": "ResponseHeader" - }, "responsePolicyRule": { "$ref": "ResponsePolicyRule" } diff --git a/discovery/googleapis/docs__v1.json b/discovery/googleapis/docs__v1.json index 3bb00cae6..91baf7110 100644 --- a/discovery/googleapis/docs__v1.json +++ b/discovery/googleapis/docs__v1.json @@ -37,7 +37,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240521", + "revision": "20240610", "rootUrl": "https://docs.googleapis.com/", "servicePath": "", "title": "Google Docs API", diff --git a/discovery/googleapis/documentai__v1.json b/discovery/googleapis/documentai__v1.json index 62091f81c..c634fdd28 100644 --- a/discovery/googleapis/documentai__v1.json +++ b/discovery/googleapis/documentai__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240523", + "revision": "20240609", "rootUrl": "https://documentai.googleapis.com/", "servicePath": "", "title": "Cloud Document AI API", @@ -2219,11 +2219,19 @@ "description": "Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality.", "id": "GoogleCloudDocumentaiV1Document", "properties": { + "chunkedDocument": { + "$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocument", + "description": "Document chunked based on chunking config." + }, "content": { "description": "Optional. Inline document content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.", "format": "byte", "type": "string" }, + "documentLayout": { + "$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayout", + "description": "Parsed layout of the document." + }, "entities": { "description": "A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.", "items": { @@ -2290,6 +2298,282 @@ }, "type": "object" }, + "GoogleCloudDocumentaiV1DocumentChunkedDocument": { + "description": "Represents the chunks that the document is divided into.", + "id": "GoogleCloudDocumentaiV1DocumentChunkedDocument", + "properties": { + "chunks": { + "description": "List of chunks.", + "items": { + "$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk": { + "description": "Represents a chunk.", + "id": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk", + "properties": { + "chunkId": { + "description": "ID of the chunk.", + "type": "string" + }, + "content": { + "description": "Text content of the chunk.", + "type": "string" + }, + "pageFooters": { + "description": "Page footers associated with the chunk.", + "items": { + "$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter" + }, + "type": "array" + }, + "pageHeaders": { + "description": "Page headers associated with the chunk.", + "items": { + "$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader" + }, + "type": "array" + }, + "pageSpan": { + "$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan", + "description": "Page span of the chunk." + }, + "sourceBlockIds": { + "description": "Unused.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter": { + "description": "Represents the page footer associated with the chunk.", + "id": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter", + "properties": { + "pageSpan": { + "$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan", + "description": "Page span of the footer." + }, + "text": { + "description": "Footer in text format.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader": { + "description": "Represents the page header associated with the chunk.", + "id": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader", + "properties": { + "pageSpan": { + "$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan", + "description": "Page span of the header." + }, + "text": { + "description": "Header in text format.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan": { + "description": "Represents where the chunk starts and ends in the document.", + "id": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan", + "properties": { + "pageEnd": { + "description": "Page where chunk ends in the document.", + "format": "int32", + "type": "integer" + }, + "pageStart": { + "description": "Page where chunk starts in the document.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1DocumentDocumentLayout": { + "description": "Represents the parsed layout of a document as a collection of blocks that the document is divided into.", + "id": "GoogleCloudDocumentaiV1DocumentDocumentLayout", + "properties": { + "blocks": { + "description": "List of blocks in the document.", + "items": { + "$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock": { + "description": "Represents a block. A block could be one of the various types (text, table, list) supported.", + "id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock", + "properties": { + "blockId": { + "description": "ID of the block.", + "type": "string" + }, + "listBlock": { + "$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", + "description": "Block consisting of list content/structure." + }, + "pageSpan": { + "$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", + "description": "Page span of the block." + }, + "tableBlock": { + "$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", + "description": "Block consisting of table content/structure." + }, + "textBlock": { + "$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", + "description": "Block consisting of text content." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock": { + "description": "Represents a list type block.", + "id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", + "properties": { + "listEntries": { + "description": "List entries that constitute a list block.", + "items": { + "$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry" + }, + "type": "array" + }, + "type": { + "description": "Type of the list_entries (if exist). Available options are `ordered` and `unordered`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry": { + "description": "Represents an entry in the list.", + "id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry", + "properties": { + "blocks": { + "description": "A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", + "items": { + "$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan": { + "description": "Represents where the block starts and ends in the document.", + "id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", + "properties": { + "pageEnd": { + "description": "Page where block ends in the document.", + "format": "int32", + "type": "integer" + }, + "pageStart": { + "description": "Page where block starts in the document.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock": { + "description": "Represents a table type block.", + "id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", + "properties": { + "bodyRows": { + "description": "Body rows containing main table content.", + "items": { + "$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" + }, + "type": "array" + }, + "caption": { + "description": "Table caption/title.", + "type": "string" + }, + "headerRows": { + "description": "Header rows at the top of the table.", + "items": { + "$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell": { + "description": "Represents a cell in a table row.", + "id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell", + "properties": { + "blocks": { + "description": "A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", + "items": { + "$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock" + }, + "type": "array" + }, + "colSpan": { + "description": "How many columns this cell spans.", + "format": "int32", + "type": "integer" + }, + "rowSpan": { + "description": "How many rows this cell spans.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow": { + "description": "Represents a row in a table.", + "id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow", + "properties": { + "cells": { + "description": "A table row is a list of table cells.", + "items": { + "$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock": { + "description": "Represents a text type block.", + "id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", + "properties": { + "blocks": { + "description": "A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.", + "items": { + "$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock" + }, + "type": "array" + }, + "text": { + "description": "Text content stored in the block.", + "type": "string" + }, + "type": { + "description": "Type of the text in the block. Available options are: `paragraph`, `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, `header`, `footer`.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDocumentaiV1DocumentEntity": { "description": "An entity that could be a phrase in the text or a property that belongs to the document. It is a known entity type, such as a person, an organization, or location.", "id": "GoogleCloudDocumentaiV1DocumentEntity", @@ -4119,6 +4403,10 @@ "$ref": "GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector", "description": "Which pages to process (1-indexed)." }, + "layoutConfig": { + "$ref": "GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig", + "description": "Optional. Only applicable to `LAYOUT_PARSER_PROCESSOR`. Returns error if set on other processor types." + }, "ocrConfig": { "$ref": "GoogleCloudDocumentaiV1OcrConfig", "description": "Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`. Returns error if set on other processor types." @@ -4145,6 +4433,33 @@ }, "type": "object" }, + "GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig": { + "description": "Serving config for layout parser processor.", + "id": "GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig", + "properties": { + "chunkingConfig": { + "$ref": "GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig", + "description": "Optional. Config for chunking in layout parser processor." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig": { + "description": "Serving config for chunking.", + "id": "GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig", + "properties": { + "chunkSize": { + "description": "Optional. The chunk sizes to use when splitting documents, in order of level.", + "format": "int32", + "type": "integer" + }, + "includeAncestorHeadings": { + "description": "Optional. Whether or not to include ancestor headings when splitting.", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleCloudDocumentaiV1ProcessRequest": { "description": "Request message for the ProcessDocument method.", "id": "GoogleCloudDocumentaiV1ProcessRequest", @@ -4238,6 +4553,16 @@ "readOnly": true, "type": "array" }, + "satisfiesPzi": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, "state": { "description": "Output only. The state of the processor.", "enum": [ @@ -4399,6 +4724,16 @@ "description": "Identifier. The resource name of the processor version. Format: `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}`", "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" + }, "state": { "description": "Output only. The state of the processor version.", "enum": [ @@ -4808,90 +5143,374 @@ "normalizedVertices": { "description": "The bounding polygon normalized vertices.", "items": { - "$ref": "GoogleCloudDocumentaiV1beta1NormalizedVertex" + "$ref": "GoogleCloudDocumentaiV1beta1NormalizedVertex" + }, + "type": "array" + }, + "vertices": { + "description": "The bounding polygon vertices.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta1Vertex" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta1Document": { + "description": "Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality.", + "id": "GoogleCloudDocumentaiV1beta1Document", + "properties": { + "chunkedDocument": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocument", + "description": "Document chunked based on chunking config." + }, + "content": { + "description": "Optional. Inline document content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.", + "format": "byte", + "type": "string" + }, + "documentLayout": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayout", + "description": "Parsed layout of the document." + }, + "entities": { + "description": "A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentEntity" + }, + "type": "array" + }, + "entityRelations": { + "description": "Placeholder. Relationship among Document.entities.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentEntityRelation" + }, + "type": "array" + }, + "error": { + "$ref": "GoogleRpcStatus", + "description": "Any error that occurred while processing this document." + }, + "mimeType": { + "description": "An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml).", + "type": "string" + }, + "pages": { + "description": "Visual page layout for the Document.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentPage" + }, + "type": "array" + }, + "revisions": { + "description": "Placeholder. Revision history of this document.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentRevision" + }, + "type": "array" + }, + "shardInfo": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentShardInfo", + "description": "Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified." + }, + "text": { + "description": "Optional. UTF-8 encoded text in reading order from the document.", + "type": "string" + }, + "textChanges": { + "description": "Placeholder. A list of text corrections made to Document.text. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentTextChange" + }, + "type": "array" + }, + "textStyles": { + "deprecated": true, + "description": "Styles for the Document.text.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentStyle" + }, + "type": "array" + }, + "uri": { + "description": "Optional. Currently supports Google Cloud Storage URI of the form `gs://bucket_name/object_name`. Object versioning is not supported. For more information, refer to [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-uris).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta1DocumentChunkedDocument": { + "description": "Represents the chunks that the document is divided into.", + "id": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocument", + "properties": { + "chunks": { + "description": "List of chunks.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk": { + "description": "Represents a chunk.", + "id": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunk", + "properties": { + "chunkId": { + "description": "ID of the chunk.", + "type": "string" + }, + "content": { + "description": "Text content of the chunk.", + "type": "string" + }, + "pageFooters": { + "description": "Page footers associated with the chunk.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter" + }, + "type": "array" + }, + "pageHeaders": { + "description": "Page headers associated with the chunk.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader" + }, + "type": "array" + }, + "pageSpan": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan", + "description": "Page span of the chunk." + }, + "sourceBlockIds": { + "description": "Unused.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter": { + "description": "Represents the page footer associated with the chunk.", + "id": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageFooter", + "properties": { + "pageSpan": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan", + "description": "Page span of the footer." + }, + "text": { + "description": "Footer in text format.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader": { + "description": "Represents the page header associated with the chunk.", + "id": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageHeader", + "properties": { + "pageSpan": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan", + "description": "Page span of the header." + }, + "text": { + "description": "Header in text format.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan": { + "description": "Represents where the chunk starts and ends in the document.", + "id": "GoogleCloudDocumentaiV1beta1DocumentChunkedDocumentChunkChunkPageSpan", + "properties": { + "pageEnd": { + "description": "Page where chunk ends in the document.", + "format": "int32", + "type": "integer" + }, + "pageStart": { + "description": "Page where chunk starts in the document.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta1DocumentDocumentLayout": { + "description": "Represents the parsed layout of a document as a collection of blocks that the document is divided into.", + "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayout", + "properties": { + "blocks": { + "description": "List of blocks in the document.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock": { + "description": "Represents a block. A block could be one of the various types (text, table, list) supported.", + "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock", + "properties": { + "blockId": { + "description": "ID of the block.", + "type": "string" + }, + "listBlock": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", + "description": "Block consisting of list content/structure." + }, + "pageSpan": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", + "description": "Page span of the block." + }, + "tableBlock": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", + "description": "Block consisting of table content/structure." + }, + "textBlock": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", + "description": "Block consisting of text content." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock": { + "description": "Represents a list type block.", + "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", + "properties": { + "listEntries": { + "description": "List entries that constitute a list block.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry" + }, + "type": "array" + }, + "type": { + "description": "Type of the list_entries (if exist). Available options are `ordered` and `unordered`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry": { + "description": "Represents an entry in the list.", + "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry", + "properties": { + "blocks": { + "description": "A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan": { + "description": "Represents where the block starts and ends in the document.", + "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", + "properties": { + "pageEnd": { + "description": "Page where block ends in the document.", + "format": "int32", + "type": "integer" + }, + "pageStart": { + "description": "Page where block starts in the document.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock": { + "description": "Represents a table type block.", + "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", + "properties": { + "bodyRows": { + "description": "Body rows containing main table content.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" }, "type": "array" }, - "vertices": { - "description": "The bounding polygon vertices.", + "caption": { + "description": "Table caption/title.", + "type": "string" + }, + "headerRows": { + "description": "Header rows at the top of the table.", "items": { - "$ref": "GoogleCloudDocumentaiV1beta1Vertex" + "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" }, "type": "array" } }, "type": "object" }, - "GoogleCloudDocumentaiV1beta1Document": { - "description": "Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality.", - "id": "GoogleCloudDocumentaiV1beta1Document", + "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell": { + "description": "Represents a cell in a table row.", + "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell", "properties": { - "content": { - "description": "Optional. Inline document content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.", - "format": "byte", - "type": "string" - }, - "entities": { - "description": "A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentEntity" - }, - "type": "array" - }, - "entityRelations": { - "description": "Placeholder. Relationship among Document.entities.", + "blocks": { + "description": "A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentEntityRelation" + "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock" }, "type": "array" }, - "error": { - "$ref": "GoogleRpcStatus", - "description": "Any error that occurred while processing this document." - }, - "mimeType": { - "description": "An IANA published [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml).", - "type": "string" + "colSpan": { + "description": "How many columns this cell spans.", + "format": "int32", + "type": "integer" }, - "pages": { - "description": "Visual page layout for the Document.", + "rowSpan": { + "description": "How many rows this cell spans.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow": { + "description": "Represents a row in a table.", + "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow", + "properties": { + "cells": { + "description": "A table row is a list of table cells.", "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentPage" + "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell" }, "type": "array" - }, - "revisions": { - "description": "Placeholder. Revision history of this document.", + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock": { + "description": "Represents a text type block.", + "id": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", + "properties": { + "blocks": { + "description": "A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.", "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentRevision" + "$ref": "GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlock" }, "type": "array" }, - "shardInfo": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentShardInfo", - "description": "Information about the sharding if this document is sharded part of a larger document. If the document is not sharded, this message is not specified." - }, "text": { - "description": "Optional. UTF-8 encoded text in reading order from the document.", + "description": "Text content stored in the block.", "type": "string" }, - "textChanges": { - "description": "Placeholder. A list of text corrections made to Document.text. This is usually used for annotating corrections to OCR mistakes. Text changes for a given revision may not overlap with each other.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentTextChange" - }, - "type": "array" - }, - "textStyles": { - "deprecated": true, - "description": "Styles for the Document.text.", - "items": { - "$ref": "GoogleCloudDocumentaiV1beta1DocumentStyle" - }, - "type": "array" - }, - "uri": { - "description": "Optional. Currently supports Google Cloud Storage URI of the form `gs://bucket_name/object_name`. Object versioning is not supported. For more information, refer to [Google Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-uris).", + "type": { + "description": "Type of the text in the block. Available options are: `paragraph`, `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, `header`, `footer`.", "type": "string" } }, @@ -6200,11 +6819,19 @@ "description": "Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality.", "id": "GoogleCloudDocumentaiV1beta2Document", "properties": { + "chunkedDocument": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocument", + "description": "Document chunked based on chunking config." + }, "content": { "description": "Optional. Inline document content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.", "format": "byte", "type": "string" }, + "documentLayout": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayout", + "description": "Parsed layout of the document." + }, "entities": { "description": "A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.", "items": { @@ -6278,6 +6905,282 @@ }, "type": "object" }, + "GoogleCloudDocumentaiV1beta2DocumentChunkedDocument": { + "description": "Represents the chunks that the document is divided into.", + "id": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocument", + "properties": { + "chunks": { + "description": "List of chunks.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk": { + "description": "Represents a chunk.", + "id": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunk", + "properties": { + "chunkId": { + "description": "ID of the chunk.", + "type": "string" + }, + "content": { + "description": "Text content of the chunk.", + "type": "string" + }, + "pageFooters": { + "description": "Page footers associated with the chunk.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter" + }, + "type": "array" + }, + "pageHeaders": { + "description": "Page headers associated with the chunk.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader" + }, + "type": "array" + }, + "pageSpan": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan", + "description": "Page span of the chunk." + }, + "sourceBlockIds": { + "description": "Unused.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter": { + "description": "Represents the page footer associated with the chunk.", + "id": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageFooter", + "properties": { + "pageSpan": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan", + "description": "Page span of the footer." + }, + "text": { + "description": "Footer in text format.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader": { + "description": "Represents the page header associated with the chunk.", + "id": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageHeader", + "properties": { + "pageSpan": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan", + "description": "Page span of the header." + }, + "text": { + "description": "Header in text format.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan": { + "description": "Represents where the chunk starts and ends in the document.", + "id": "GoogleCloudDocumentaiV1beta2DocumentChunkedDocumentChunkChunkPageSpan", + "properties": { + "pageEnd": { + "description": "Page where chunk ends in the document.", + "format": "int32", + "type": "integer" + }, + "pageStart": { + "description": "Page where chunk starts in the document.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta2DocumentDocumentLayout": { + "description": "Represents the parsed layout of a document as a collection of blocks that the document is divided into.", + "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayout", + "properties": { + "blocks": { + "description": "List of blocks in the document.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock": { + "description": "Represents a block. A block could be one of the various types (text, table, list) supported.", + "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock", + "properties": { + "blockId": { + "description": "ID of the block.", + "type": "string" + }, + "listBlock": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", + "description": "Block consisting of list content/structure." + }, + "pageSpan": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", + "description": "Page span of the block." + }, + "tableBlock": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", + "description": "Block consisting of table content/structure." + }, + "textBlock": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", + "description": "Block consisting of text content." + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock": { + "description": "Represents a list type block.", + "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock", + "properties": { + "listEntries": { + "description": "List entries that constitute a list block.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry" + }, + "type": "array" + }, + "type": { + "description": "Type of the list_entries (if exist). Available options are `ordered` and `unordered`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry": { + "description": "Represents an entry in the list.", + "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry", + "properties": { + "blocks": { + "description": "A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan": { + "description": "Represents where the block starts and ends in the document.", + "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan", + "properties": { + "pageEnd": { + "description": "Page where block ends in the document.", + "format": "int32", + "type": "integer" + }, + "pageStart": { + "description": "Page where block starts in the document.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock": { + "description": "Represents a table type block.", + "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock", + "properties": { + "bodyRows": { + "description": "Body rows containing main table content.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" + }, + "type": "array" + }, + "caption": { + "description": "Table caption/title.", + "type": "string" + }, + "headerRows": { + "description": "Header rows at the top of the table.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell": { + "description": "Represents a cell in a table row.", + "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell", + "properties": { + "blocks": { + "description": "A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock" + }, + "type": "array" + }, + "colSpan": { + "description": "How many columns this cell spans.", + "format": "int32", + "type": "integer" + }, + "rowSpan": { + "description": "How many rows this cell spans.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow": { + "description": "Represents a row in a table.", + "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow", + "properties": { + "cells": { + "description": "A table row is a list of table cells.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock": { + "description": "Represents a text type block.", + "id": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock", + "properties": { + "blocks": { + "description": "A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.", + "items": { + "$ref": "GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock" + }, + "type": "array" + }, + "text": { + "description": "Text content stored in the block.", + "type": "string" + }, + "type": { + "description": "Type of the text in the block. Available options are: `paragraph`, `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, `header`, `footer`.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDocumentaiV1beta2DocumentEntity": { "description": "An entity that could be a phrase in the text or a property that belongs to the document. It is a known entity type, such as a person, an organization, or location.", "id": "GoogleCloudDocumentaiV1beta2DocumentEntity", @@ -7742,6 +8645,16 @@ "description": "Dataset resource name. Format: `projects/{project}/locations/{location}/processors/{processor}/dataset`", "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" + }, "spannerIndexingConfig": { "$ref": "GoogleCloudDocumentaiV1beta3DatasetSpannerIndexingConfig", "description": "Optional. A lightweight indexing source with low latency and high reliability, but lacking advanced features like CMEK and content-based search." diff --git a/discovery/googleapis/domains__v1.json b/discovery/googleapis/domains__v1.json index 2060f55ad..471b4df7f 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": "20240520", + "revision": "20240603", "rootUrl": "https://domains.googleapis.com/", "servicePath": "", "title": "Cloud Domains API", @@ -476,6 +476,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "initiatePushTransfer": { + "description": "Initiates the `Push Transfer` process to transfer the domain to another registrar. The process might complete instantly or might require confirmation or additional work. Check the emails sent to the email address of the registrant. The process is aborted after a timeout if it's not completed. This method is only supported for domains that have the `REQUIRE_PUSH_TRANSFER` property in the list of `domain_properties`. The domain must also be unlocked before it can be transferred to a different registrar. For more information, see [Transfer a registered domain to another registrar](https://cloud.google.com/domains/docs/transfer-domain-to-another-registrar).", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:initiatePushTransfer", + "httpMethod": "POST", + "id": "domains.projects.locations.registrations.initiatePushTransfer", + "parameterOrder": [ + "registration" + ], + "parameters": { + "registration": { + "description": "Required. The name of the `Registration` for which the push transfer is initiated, in the format `projects/*/locations/*/registrations/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+registration}:initiatePushTransfer", + "request": { + "$ref": "InitiatePushTransferRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists the `Registration` resources in a project.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registrations", @@ -579,8 +607,36 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "renewDomain": { + "description": "Renews a recently expired domain. This method can only be called on domains that expired in the previous 30 days. After the renewal, the new expiration time of the domain is one year after the old expiration time and you are charged a `yearly_price` for the renewal.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:renewDomain", + "httpMethod": "POST", + "id": "domains.projects.locations.registrations.renewDomain", + "parameterOrder": [ + "registration" + ], + "parameters": { + "registration": { + "description": "Required. The name of the `Registration` whish is being renewed, in the format `projects/*/locations/*/registrations/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+registration}:renewDomain", + "request": { + "$ref": "RenewDomainRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "resetAuthorizationCode": { - "description": "Resets the authorization code of the `Registration` to a new random string. You can call this method only after 60 days have elapsed since the initial domain registration.", + "description": "Resets the authorization code of the `Registration` to a new random string. You can call this method only after 60 days have elapsed since the initial domain registration. Domains that have the `REQUIRE_PUSH_TRANSFER` property in the list of `domain_properties` don't support authorization codes and must use the `InitiatePushTransfer` method to initiate the process to transfer the domain to a different registrar.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:resetAuthorizationCode", "httpMethod": "POST", "id": "domains.projects.locations.registrations.resetAuthorizationCode", @@ -608,7 +664,7 @@ ] }, "retrieveAuthorizationCode": { - "description": "Gets the authorization code of the `Registration` for the purpose of transferring the domain to another registrar. You can call this method only after 60 days have elapsed since the initial domain registration.", + "description": "Gets the authorization code of the `Registration` for the purpose of transferring the domain to another registrar. You can call this method only after 60 days have elapsed since the initial domain registration. Domains that have the `REQUIRE_PUSH_TRANSFER` property in the list of `domain_properties` don't support authorization codes and must use the `InitiatePushTransfer` method to initiate the process to transfer the domain to a different registrar.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:retrieveAuthorizationCode", "httpMethod": "GET", "id": "domains.projects.locations.registrations.retrieveAuthorizationCode", @@ -632,6 +688,31 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "retrieveGoogleDomainsForwardingConfig": { + "description": "Lists the deprecated domain and email forwarding configurations you set up in the deprecated Google Domains UI. The configuration is present only for domains with the `google_domains_redirects_data_available` set to `true` in the `Registration`'s `dns_settings`. A forwarding configuration might not work correctly if required DNS records are not present in the domain's authoritative DNS Zone.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/registrations/{registrationsId}:retrieveGoogleDomainsForwardingConfig", + "httpMethod": "GET", + "id": "domains.projects.locations.registrations.retrieveGoogleDomainsForwardingConfig", + "parameterOrder": [ + "registration" + ], + "parameters": { + "registration": { + "description": "Required. The name of the `Registration` whose Google Domains forwarding configuration details are being retrieved, in the format `projects/*/locations/*/registrations/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/registrations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+registration}:retrieveGoogleDomainsForwardingConfig", + "response": { + "$ref": "RetrieveGoogleDomainsForwardingConfigResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "retrieveImportableDomains": { "deprecated": true, "description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Lists domain names from [Google Domains](https://domains.google/) that can be imported to Cloud Domains using the `ImportDomain` method. Since individual users can own domains in Google Domains, the list of domains returned depends on the individual user making the call. Domains already managed by Cloud Domains are not returned.", @@ -1148,6 +1229,47 @@ }, "type": "object" }, + "DomainForwarding": { + "description": "Domain forwarding configuration.", + "id": "DomainForwarding", + "properties": { + "pathForwarding": { + "description": "If true, forwards the path after the domain name to the same path at the new address.", + "type": "boolean" + }, + "pemCertificate": { + "description": "The PEM-encoded certificate chain.", + "type": "string" + }, + "redirectType": { + "description": "The redirect type.", + "enum": [ + "REDIRECT_TYPE_UNSPECIFIED", + "TEMPORARY", + "PERMANENT" + ], + "enumDescriptions": [ + "Redirect Type is unspecified.", + "301 redirect. Allows to propagate changes to the forwarding address quickly.", + "302 redirect. Allows browsers to cache the forwarding address. This may help the address resolve more quickly. Changes may take longer to propagate" + ], + "type": "string" + }, + "sslEnabled": { + "description": "If true, the forwarding works also over HTTPS.", + "type": "boolean" + }, + "subdomain": { + "description": "The subdomain of the registered domain that is being forwarded. E.g. `www.example.com`, `example.com` (i.e. the registered domain itself) or `*.example.com` (i.e. all subdomains).", + "type": "string" + }, + "targetUri": { + "description": "The target of the domain forwarding, i.e. the path to redirect the `subdomain` to.", + "type": "string" + } + }, + "type": "object" + }, "DsRecord": { "description": "Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC for a domain. It contains a digest (hash) of a DNSKEY record that must be present in the domain's DNS zone.", "id": "DsRecord", @@ -1226,6 +1348,21 @@ }, "type": "object" }, + "EmailForwarding": { + "description": "Email forwarding configuration.", + "id": "EmailForwarding", + "properties": { + "alias": { + "description": "An alias recipient email that forwards emails to the `target_email_address`. For example, `admin@example.com` or `*@example.com` (wildcard alias forwards all the emails under the registered domain).", + "type": "string" + }, + "targetEmailAddress": { + "description": "Target email that receives emails sent to the `alias`.", + "type": "string" + } + }, + "type": "object" + }, "ExportRegistrationRequest": { "deprecated": true, "description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Request for the `ExportRegistration` method.", @@ -1338,6 +1475,17 @@ }, "type": "object" }, + "InitiatePushTransferRequest": { + "description": "Request for the `InitiatePushTransfer` method.", + "id": "InitiatePushTransferRequest", + "properties": { + "tag": { + "description": "Required. The Tag of the new registrar. Can be found at [List of registrars](https://nominet.uk/registrar-list/).", + "type": "string" + } + }, + "type": "object" + }, "ListLocationsResponse": { "description": "The response message for Locations.ListLocations.", "id": "ListLocationsResponse", @@ -1430,6 +1578,21 @@ "description": "Defines renewal, billing, and transfer settings for a `Registration`.", "id": "ManagementSettings", "properties": { + "effectiveTransferLockState": { + "description": "Output only. The actual transfer lock state for this `Registration`.", + "enum": [ + "TRANSFER_LOCK_STATE_UNSPECIFIED", + "UNLOCKED", + "LOCKED" + ], + "enumDescriptions": [ + "The state is unspecified.", + "The domain is unlocked and can be transferred to another registrar.", + "The domain is locked and cannot be transferred to another registrar." + ], + "readOnly": true, + "type": "string" + }, "preferredRenewalMethod": { "description": "Optional. The desired renewal method for this `Registration`. The actual `renewal_method` is automatically updated to reflect this choice. If unset or equal to `RENEWAL_METHOD_UNSPECIFIED`, the actual `renewalMethod` is treated as if it were set to `AUTOMATIC_RENEWAL`. You cannot use `RENEWAL_DISABLED` during resource creation, and you can update the renewal status only when the `Registration` resource has state `ACTIVE` or `SUSPENDED`. When `preferred_renewal_method` is set to `AUTOMATIC_RENEWAL`, the actual `renewal_method` can be set to `RENEWAL_DISABLED` in case of problems with the billing account or reported domain abuse. In such cases, check the `issues` field on the `Registration`. After the problem is resolved, the `renewal_method` is automatically updated to `preferred_renewal_method` in a few hours.", "enum": [ @@ -1476,7 +1639,7 @@ "type": "string" }, "transferLockState": { - "description": "This is the desired transfer lock state for this `Registration`. A transfer lock controls whether the domain can be transferred to another registrar.", + "description": "This is the desired transfer lock state for this `Registration`. A transfer lock controls whether the domain can be transferred to another registrar. The transfer lock state of the domain is returned in the `effective_transfer_lock_state` property. The transfer lock state values might be different for the following reasons: * `transfer_lock_state` was updated only a short time ago. * Domains with the `TRANSFER_LOCK_UNSUPPORTED_BY_REGISTRY` state are in the list of `domain_properties`. These domains are always in the `UNLOCKED` state.", "enum": [ "TRANSFER_LOCK_STATE_UNSPECIFIED", "UNLOCKED", @@ -1814,6 +1977,24 @@ "description": "Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.", "type": "string" }, + "domainProperties": { + "description": "Output only. Special properties of the domain.", + "items": { + "enum": [ + "DOMAIN_PROPERTY_UNSPECIFIED", + "TRANSFER_LOCK_UNSUPPORTED_BY_REGISTRY", + "REQUIRE_PUSH_TRANSFER" + ], + "enumDescriptions": [ + "The property is undefined.", + "The domain does not support transfer locks due to restrictions of the registry. Such domains are effectively always unlocked and any change made to `management_settings.transfer_lock_state` is ignored.", + "The domain uses an alternative `Push Transfer` process to transfer the domain to another registrar. There are two important consequences: * Cloud Domains does not supply the authorization codes. * To initiate the process to transfer the domain to another registrar, you must provide a tag of the registrar you want to transfer to. You can do this by using the `InitiatePushTransfer` method. For more information, see [Transfer a registered domain to another registrar](https://cloud.google.com/domains/docs/transfer-domain-to-another-registrar)." + ], + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "expireTime": { "description": "Output only. The expiration timestamp of the `Registration`.", "format": "google-datetime", @@ -1827,13 +2008,15 @@ "ISSUE_UNSPECIFIED", "CONTACT_SUPPORT", "UNVERIFIED_EMAIL", - "PROBLEM_WITH_BILLING" + "PROBLEM_WITH_BILLING", + "DNS_NOT_ACTIVATED" ], "enumDescriptions": [ "The issue is undefined.", "Contact the Cloud Support team to resolve a problem with this domain.", "[ICANN](https://icann.org/) requires verification of the email address in the `Registration`'s `contact_settings.registrant_contact` field. To verify the email address, follow the instructions in the email the `registrant_contact` receives following registration. If you do not complete email verification within 15 days of registration, the domain is suspended. To resend the verification email, call ConfigureContactSettings and provide the current `registrant_contact.email`.", - "The billing account is not in good standing. The domain is not automatically renewed at its expiration time unless you resolve problems with your billing account." + "The billing account is not in good standing. The domain is not automatically renewed at its expiration time unless you resolve problems with your billing account.", + "The registry failed to validate your DNS configuration and activate your domain. The failure might happen for the following reasons: * You recently registered the domain (wait up to 72 hours). * You provided invalid name servers or name servers that correspond to a newly created DNS zone. Verify your DNS configuration. If the configuration is incorrect, you must fix it. If the configuration is correct, either wait or call the ConfigureDnsSettings method to retry the registry validation." ], "type": "string" }, @@ -1980,12 +2163,48 @@ }, "type": "object" }, + "RenewDomainRequest": { + "description": "Request for the `RenewDomain` method.", + "id": "RenewDomainRequest", + "properties": { + "validateOnly": { + "description": "Optional. When true, only validation is performed, without actually renewing the domain. For more information, see [Request validation](https://cloud.google.com/apis/design/design_patterns#request_validation)", + "type": "boolean" + }, + "yearlyPrice": { + "$ref": "Money", + "description": "Required. Acknowledgement of the price to renew the domain for one year. To get the price, see [Cloud Domains pricing](https://cloud.google.com/domains/pricing). If not provided, the expected price is returned in the error message." + } + }, + "type": "object" + }, "ResetAuthorizationCodeRequest": { "description": "Request for the `ResetAuthorizationCode` method.", "id": "ResetAuthorizationCodeRequest", "properties": {}, "type": "object" }, + "RetrieveGoogleDomainsForwardingConfigResponse": { + "description": "Response for the `RetrieveGoogleDomainsForwardingConfig` method.", + "id": "RetrieveGoogleDomainsForwardingConfigResponse", + "properties": { + "domainForwardings": { + "description": "The list of domain forwarding configurations. A forwarding configuration might not work correctly if the required DNS records are not present in the domain's authoritative DNS zone.", + "items": { + "$ref": "DomainForwarding" + }, + "type": "array" + }, + "emailForwardings": { + "description": "The list of email forwarding configurations. A forwarding configuration might not work correctly if the required DNS records are not present in the domain's authoritative DNS zone.", + "items": { + "$ref": "EmailForwarding" + }, + "type": "array" + } + }, + "type": "object" + }, "RetrieveImportableDomainsResponse": { "deprecated": true, "description": "Deprecated: For more information, see [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). Response for the `RetrieveImportableDomains` method.", diff --git a/discovery/googleapis/domainsrdap__v1.json b/discovery/googleapis/domainsrdap__v1.json index 8414b6163..b0f2b2a97 100644 --- a/discovery/googleapis/domainsrdap__v1.json +++ b/discovery/googleapis/domainsrdap__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240612", "rootUrl": "https://domainsrdap.googleapis.com/", "servicePath": "", "title": "Domains RDAP API", diff --git a/discovery/googleapis/doubleclickbidmanager__v2.json b/discovery/googleapis/doubleclickbidmanager__v2.json index 53f051aa7..4db80a230 100644 --- a/discovery/googleapis/doubleclickbidmanager__v2.json +++ b/discovery/googleapis/doubleclickbidmanager__v2.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240522", + "revision": "20240605", "rootUrl": "https://doubleclickbidmanager.googleapis.com/", "servicePath": "v2/", "title": "DoubleClick Bid Manager API", diff --git a/discovery/googleapis/doubleclicksearch__v2.json b/discovery/googleapis/doubleclicksearch__v2.json index de7eb8245..e7c827e52 100644 --- a/discovery/googleapis/doubleclicksearch__v2.json +++ b/discovery/googleapis/doubleclicksearch__v2.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240507", + "revision": "20240605", "rootUrl": "https://doubleclicksearch.googleapis.com/", "servicePath": "", "title": "Search Ads 360 API", diff --git a/discovery/googleapis/drive__v2.json b/discovery/googleapis/drive__v2.json index 0f7cc1496..46cd40300 100644 --- a/discovery/googleapis/drive__v2.json +++ b/discovery/googleapis/drive__v2.json @@ -51,7 +51,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240521", + "revision": "20240604", "rootUrl": "https://www.googleapis.com/", "servicePath": "drive/v2/", "title": "Google Drive API", diff --git a/discovery/googleapis/drive__v3.json b/discovery/googleapis/drive__v3.json index 739d9efc8..ab5e18165 100644 --- a/discovery/googleapis/drive__v3.json +++ b/discovery/googleapis/drive__v3.json @@ -51,7 +51,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240521", + "revision": "20240604", "rootUrl": "https://www.googleapis.com/", "servicePath": "drive/v3/", "title": "Google Drive API", diff --git a/discovery/googleapis/driveactivity__v2.json b/discovery/googleapis/driveactivity__v2.json index 6327d5351..3014fe33c 100644 --- a/discovery/googleapis/driveactivity__v2.json +++ b/discovery/googleapis/driveactivity__v2.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://driveactivity.googleapis.com/", "servicePath": "", "title": "Drive Activity API", diff --git a/discovery/googleapis/drivelabels__v2.json b/discovery/googleapis/drivelabels__v2.json index 9f3c94964..063ee3e11 100644 --- a/discovery/googleapis/drivelabels__v2.json +++ b/discovery/googleapis/drivelabels__v2.json @@ -34,7 +34,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240527", + "revision": "20240603", "rootUrl": "https://drivelabels.googleapis.com/", "servicePath": "", "title": "Drive Labels API", diff --git a/discovery/googleapis/essentialcontacts__v1.json b/discovery/googleapis/essentialcontacts__v1.json index 6dbcc5568..8cadb4509 100644 --- a/discovery/googleapis/essentialcontacts__v1.json +++ b/discovery/googleapis/essentialcontacts__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240609", "rootUrl": "https://essentialcontacts.googleapis.com/", "servicePath": "", "title": "Essential Contacts API", diff --git a/discovery/googleapis/eventarc__v1.json b/discovery/googleapis/eventarc__v1.json index 710f1fa01..db9e21dbf 100644 --- a/discovery/googleapis/eventarc__v1.json +++ b/discovery/googleapis/eventarc__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240510", + "revision": "20240531", "rootUrl": "https://eventarc.googleapis.com/", "servicePath": "", "title": "Eventarc API", diff --git a/discovery/googleapis/fcm__v1.json b/discovery/googleapis/fcm__v1.json index ad5fc941e..5070b16c0 100644 --- a/discovery/googleapis/fcm__v1.json +++ b/discovery/googleapis/fcm__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240524", + "revision": "20240607", "rootUrl": "https://fcm.googleapis.com/", "servicePath": "", "title": "Firebase Cloud Messaging API", diff --git a/discovery/googleapis/file__v1.json b/discovery/googleapis/file__v1.json index ffaf0bc42..035ab0267 100644 --- a/discovery/googleapis/file__v1.json +++ b/discovery/googleapis/file__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240511", + "revision": "20240523", "rootUrl": "https://file.googleapis.com/", "servicePath": "", "title": "Cloud Filestore API", diff --git a/discovery/googleapis/firebaseappcheck__v1.json b/discovery/googleapis/firebaseappcheck__v1.json index fe852cc93..3f325edad 100644 --- a/discovery/googleapis/firebaseappcheck__v1.json +++ b/discovery/googleapis/firebaseappcheck__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240610", "rootUrl": "https://firebaseappcheck.googleapis.com/", "servicePath": "", "title": "Firebase App Check API", diff --git a/discovery/googleapis/firebaseappdistribution__v1.json b/discovery/googleapis/firebaseappdistribution__v1.json index 0d029e40e..d11e5306a 100644 --- a/discovery/googleapis/firebaseappdistribution__v1.json +++ b/discovery/googleapis/firebaseappdistribution__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240613", "rootUrl": "https://firebaseappdistribution.googleapis.com/", "servicePath": "", "title": "Firebase App Distribution API", @@ -1261,7 +1261,7 @@ }, "hash": { "deprecated": true, - "description": "Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be populated on Scotty based media uploads and will contain the content of the hash group in the NotificationRequest: http://cs/#google3/uploader/service/proto/upload_listener.proto&q=class:Hash Hex encoded hash value of the uploaded media.", + "description": "Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be populated on Scotty based media uploads and will contain the content of the hash group in the NotificationRequest: http://cs/#google3/blobstore2/api/scotty/service/proto/upload_listener.proto&q=class:Hash Hex encoded hash value of the uploaded media.", "type": "string" }, "hashVerified": { diff --git a/discovery/googleapis/firebasedynamiclinks__v1.json b/discovery/googleapis/firebasedynamiclinks__v1.json index a51c8c8aa..e4c4fa890 100644 --- a/discovery/googleapis/firebasedynamiclinks__v1.json +++ b/discovery/googleapis/firebasedynamiclinks__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240527", + "revision": "20240610", "rootUrl": "https://firebasedynamiclinks.googleapis.com/", "servicePath": "", "title": "Firebase Dynamic Links API", diff --git a/discovery/googleapis/firebasehosting__v1.json b/discovery/googleapis/firebasehosting__v1.json index d8e2b7d81..e8d574d20 100644 --- a/discovery/googleapis/firebasehosting__v1.json +++ b/discovery/googleapis/firebasehosting__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://firebasehosting.googleapis.com/", "servicePath": "", "title": "Firebase Hosting API", diff --git a/discovery/googleapis/firebaseml__v1.json b/discovery/googleapis/firebaseml__v1.json index 4b4615bbb..fea6c14ef 100644 --- a/discovery/googleapis/firebaseml__v1.json +++ b/discovery/googleapis/firebaseml__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://firebaseml.googleapis.com/", "servicePath": "", "title": "Firebase ML API", diff --git a/discovery/googleapis/firebaseremoteconfig__v1.json b/discovery/googleapis/firebaseremoteconfig__v1.json index 9dbeb13b5..6ac980faa 100644 --- a/discovery/googleapis/firebaseremoteconfig__v1.json +++ b/discovery/googleapis/firebaseremoteconfig__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://firebaseremoteconfig.googleapis.com/", "servicePath": "", "title": "Firebase Remote Config API", @@ -260,7 +260,7 @@ "Catch-all for unrecognized enum values.", "Returns a response in XML format.", "Returns a response in property list (plist) format.", - "Returns a response in JSON format." + "Returns a response in raw JSON format (not packaged in an HttpBody object)." ], "location": "query", "type": "string" @@ -701,7 +701,7 @@ "type": "object" }, "RemoteConfig": { - "description": "A RemoteConfig represents a Remote Config template. A project's Remote Config template is evaluated during each application instance's fetch. The resolved value of a parameter is determined as follows: Given the conditional values that refer to `true` conditions for the application instance, the parameter's resolved value is the conditional value whose name is the earliest in the conditions list. Else, if the parameter has a default value, the resolved value is set to the default value. Else, the parameter has no value and is omitted from the result that the application instance fetches. For example, assume we have parameter key `fruit`, with default value `pear` and conditional value submap `{\"is_ios\": \"apple\", \"is_in_20_percent\": \"banana\"}` where `\"is_ios\"` and `\"is_20_percent\"` are names of conditions in the ordered condition list. The value of `fruit` would evaluate to `apple` if `is_ios` is true. Otherwise, if `is_in_20_percent` is `true`, `fruit` would evaluate to `banana`, and if `is_ios` and `is_in_20_percent` are both false, `fruit` would evaluate to `pear`. If no default value were specified, and `is_ios` and `is_in_20_percent` were both false, no value for `fruit` would be returned from the Remote Config server to the client. Once a project's Remote Config template has been published via a successful UpdateRemoteConfig call, clients can fetch these parameter values and display them to users.", + "description": "A RemoteConfig represents a Remote Config template. A project's Remote Config template is evaluated during each application instance's fetch. Note: Server templates currently support percentage conditions. Publishing a server template with unsupported conditional values will return a validation error. See [Remote Config in Server Environments](https://firebase.google.com/docs/remote-config/server) for more information. The resolved value of a parameter is determined as follows: Given the conditional values that refer to `true` conditions for the application instance, the parameter's resolved value is the conditional value whose name is the earliest in the conditions list. Else, if the parameter has a default value, the resolved value is set to the default value. Else, the parameter has no value and is omitted from the result that the application instance fetches. For example, assume we have parameter key `fruit`, with default value `pear` and conditional value submap `{\"is_ios\": \"apple\", \"is_in_20_percent\": \"banana\"}` where `\"is_ios\"` and `\"is_20_percent\"` are names of conditions in the ordered condition list. The value of `fruit` would evaluate to `apple` if `is_ios` is true. Otherwise, if `is_in_20_percent` is `true`, `fruit` would evaluate to `banana`, and if `is_ios` and `is_in_20_percent` are both false, `fruit` would evaluate to `pear`. If no default value were specified, and `is_ios` and `is_in_20_percent` were both false, no value for `fruit` would be returned from the Remote Config server to the client. Once a project's Remote Config template has been published via a successful UpdateRemoteConfig call, clients can fetch these parameter values and display them to users.", "id": "RemoteConfig", "properties": { "conditions": { diff --git a/discovery/googleapis/firebaserules__v1.json b/discovery/googleapis/firebaserules__v1.json index 2563e3fb2..b686f54ae 100644 --- a/discovery/googleapis/firebaserules__v1.json +++ b/discovery/googleapis/firebaserules__v1.json @@ -31,7 +31,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240513", + "revision": "20240603", "rootUrl": "https://firebaserules.googleapis.com/", "servicePath": "", "title": "Firebase Rules API", diff --git a/discovery/googleapis/fitness__v1.json b/discovery/googleapis/fitness__v1.json index bc3a97e0b..fb97b8ef0 100644 --- a/discovery/googleapis/fitness__v1.json +++ b/discovery/googleapis/fitness__v1.json @@ -87,7 +87,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://fitness.googleapis.com/", "servicePath": "fitness/v1/users/", "title": "Fitness API", diff --git a/discovery/googleapis/forms__v1.json b/discovery/googleapis/forms__v1.json index 79abe07d9..939dacfe7 100644 --- a/discovery/googleapis/forms__v1.json +++ b/discovery/googleapis/forms__v1.json @@ -40,7 +40,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240521", + "revision": "20240604", "rootUrl": "https://forms.googleapis.com/", "servicePath": "", "title": "Google Forms API", diff --git a/discovery/googleapis/gamesConfiguration__v1configuration.json b/discovery/googleapis/gamesConfiguration__v1configuration.json index 395c54f22..557390aec 100644 --- a/discovery/googleapis/gamesConfiguration__v1configuration.json +++ b/discovery/googleapis/gamesConfiguration__v1configuration.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240515", + "revision": "20240605", "rootUrl": "https://gamesconfiguration.googleapis.com/", "servicePath": "", "title": "Google Play Game Services Publishing API", diff --git a/discovery/googleapis/gamesManagement__v1management.json b/discovery/googleapis/gamesManagement__v1management.json index 593af8f44..b17badfd5 100644 --- a/discovery/googleapis/gamesManagement__v1management.json +++ b/discovery/googleapis/gamesManagement__v1management.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240515", + "revision": "20240605", "rootUrl": "https://gamesmanagement.googleapis.com/", "servicePath": "", "title": "Google Play Game Management", diff --git a/discovery/googleapis/games__v1.json b/discovery/googleapis/games__v1.json index cac2a3636..1789f0c5b 100644 --- a/discovery/googleapis/games__v1.json +++ b/discovery/googleapis/games__v1.json @@ -31,7 +31,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240515", + "revision": "20240605", "rootUrl": "https://games.googleapis.com/", "servicePath": "", "title": "Google Play Game Services", @@ -826,8 +826,38 @@ }, "recall": { "methods": { + "gamesPlayerTokens": { + "description": "Retrieve the Recall tokens from all requested games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have an active PGS Player profile.", + "flatPath": "games/v1/recall/gamesPlayerTokens/{sessionId}", + "httpMethod": "GET", + "id": "games.recall.gamesPlayerTokens", + "parameterOrder": [ + "sessionId" + ], + "parameters": { + "applicationIds": { + "description": "Required. The application IDs from the Google Play developer console for the games to return scoped ids for.", + "location": "query", + "repeated": true, + "type": "string" + }, + "sessionId": { + "description": "Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "games/v1/recall/gamesPlayerTokens/{sessionId}", + "response": { + "$ref": "RetrieveGamesPlayerTokensResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidpublisher" + ] + }, "lastTokenFromAllDeveloperGames": { - "description": "Retrieve the last Recall token from all developer games that is associated with the PGS Player principal encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.", + "description": "Retrieve the last Recall token from all developer games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.", "flatPath": "games/v1/recall/developerGamesLastPlayerToken/{sessionId}", "httpMethod": "GET", "id": "games.recall.lastTokenFromAllDeveloperGames", @@ -887,7 +917,7 @@ ] }, "retrieveTokens": { - "description": "Retrieve all Recall tokens associated with the PGS Player principal encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.", + "description": "Retrieve all Recall tokens associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.", "flatPath": "games/v1/recall/tokens/{sessionId}", "httpMethod": "GET", "id": "games.recall.retrieveTokens", @@ -2134,6 +2164,24 @@ }, "type": "object" }, + "GamePlayerToken": { + "description": "Recall tokens for a game.", + "id": "GamePlayerToken", + "properties": { + "applicationId": { + "description": "The application that this player identifier is for.", + "type": "string" + }, + "token": { + "description": "Recall token data.", + "items": { + "$ref": "RecallToken" + }, + "type": "array" + } + }, + "type": "object" + }, "GamesAchievementIncrement": { "description": "The payload to request to increment an achievement.", "id": "GamesAchievementIncrement", @@ -3181,6 +3229,20 @@ }, "type": "object" }, + "RetrieveGamesPlayerTokensResponse": { + "description": "A list of recall token data returned from the RetrieveGamesPlayerTokens RPC", + "id": "RetrieveGamesPlayerTokensResponse", + "properties": { + "applicationRecallTokens": { + "description": "The requested applications along with the recall tokens for the player. If the player does not have recall tokens for an application, that application is not included in the response.", + "items": { + "$ref": "GamePlayerToken" + }, + "type": "array" + } + }, + "type": "object" + }, "RetrievePlayerTokensResponse": { "description": "Response for the RetrievePlayerTokens RPC", "id": "RetrievePlayerTokensResponse", diff --git a/discovery/googleapis/gkebackup__v1.json b/discovery/googleapis/gkebackup__v1.json index e9ec3d070..771bb6622 100644 --- a/discovery/googleapis/gkebackup__v1.json +++ b/discovery/googleapis/gkebackup__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240518", + "revision": "20240529", "rootUrl": "https://gkebackup.googleapis.com/", "servicePath": "", "title": "Backup for GKE API", diff --git a/discovery/googleapis/gkehub__v1.json b/discovery/googleapis/gkehub__v1.json index 2e8c7792a..0203252c2 100644 --- a/discovery/googleapis/gkehub__v1.json +++ b/discovery/googleapis/gkehub__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240519", + "revision": "20240522", "rootUrl": "https://gkehub.googleapis.com/", "servicePath": "", "title": "GKE Hub API", diff --git a/discovery/googleapis/gmail__v1.json b/discovery/googleapis/gmail__v1.json index 47789b458..a672aa308 100644 --- a/discovery/googleapis/gmail__v1.json +++ b/discovery/googleapis/gmail__v1.json @@ -64,7 +64,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240527", + "revision": "20240610", "rootUrl": "https://gmail.googleapis.com/", "servicePath": "", "title": "Gmail API", diff --git a/discovery/googleapis/gmailpostmastertools__v1.json b/discovery/googleapis/gmailpostmastertools__v1.json index b9974d556..ff9216a28 100644 --- a/discovery/googleapis/gmailpostmastertools__v1.json +++ b/discovery/googleapis/gmailpostmastertools__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://gmailpostmastertools.googleapis.com/", "servicePath": "", "title": "Gmail Postmaster Tools API", diff --git a/discovery/googleapis/groupsmigration__v1.json b/discovery/googleapis/groupsmigration__v1.json index 2c6ecf664..d74481d30 100644 --- a/discovery/googleapis/groupsmigration__v1.json +++ b/discovery/googleapis/groupsmigration__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240610", "rootUrl": "https://groupsmigration.googleapis.com/", "servicePath": "", "title": "Groups Migration API", diff --git a/discovery/googleapis/healthcare__v1.json b/discovery/googleapis/healthcare__v1.json index d441d8bd5..4436a2f9f 100644 --- a/discovery/googleapis/healthcare__v1.json +++ b/discovery/googleapis/healthcare__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240521", + "revision": "20240605", "rootUrl": "https://healthcare.googleapis.com/", "servicePath": "", "title": "Cloud Healthcare API", diff --git a/discovery/googleapis/homegraph__v1.json b/discovery/googleapis/homegraph__v1.json index 8e793b943..daec2c1f1 100644 --- a/discovery/googleapis/homegraph__v1.json +++ b/discovery/googleapis/homegraph__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240523", + "revision": "20240605", "rootUrl": "https://homegraph.googleapis.com/", "servicePath": "", "title": "HomeGraph API", diff --git a/discovery/googleapis/iam__v1.json b/discovery/googleapis/iam__v1.json index 25f2333d4..9b7bd7d42 100644 --- a/discovery/googleapis/iam__v1.json +++ b/discovery/googleapis/iam__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240523", + "revision": "20240530", "rootUrl": "https://iam.googleapis.com/", "servicePath": "", "title": "Identity and Access Management (IAM) API", @@ -4055,7 +4055,7 @@ "type": "object" }, "OauthClient": { - "description": "Represents an OauthClient. Used to access Google Cloud resources on behave of a user by using OAuth 2.0 Protocol to obtain an access token from Google Cloud Platform.", + "description": "Represents an OauthClient. Used to access Google Cloud resources on behalf of a Workforce Identity Federation user by using OAuth 2.0 Protocol to obtain an access token from Google Cloud.", "id": "OauthClient", "properties": { "allowedGrantTypes": { @@ -4083,7 +4083,7 @@ "type": "array" }, "allowedScopes": { - "description": "Required. The list of scopes that the OauthClient is allowed to request during OAuth flows. The following scopes are supported: * `https://www.googleapis.com/auth/cloud-platform`: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account. * `openid`: Associate you with your personal info on Google Cloud. * `email`: See your Google Cloud Account email address.", + "description": "Required. The list of scopes that the OauthClient is allowed to request during OAuth flows. The following scopes are supported: * `https://www.googleapis.com/auth/cloud-platform`: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.", "items": { "type": "string" }, diff --git a/discovery/googleapis/iam__v2.json b/discovery/googleapis/iam__v2.json index e09d9e18c..9ca266f93 100644 --- a/discovery/googleapis/iam__v2.json +++ b/discovery/googleapis/iam__v2.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240523", + "revision": "20240530", "rootUrl": "https://iam.googleapis.com/", "servicePath": "", "title": "Identity and Access Management (IAM) API", @@ -613,6 +613,182 @@ }, "type": "object" }, + "GoogleIamV3OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleIamV3OperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleIamV3alphaOperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleIamV3alphaOperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleIamV3betaOperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleIamV3betaOperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleIamV3mainOperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "GoogleIamV3mainOperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleLongrunningOperation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "GoogleLongrunningOperation", diff --git a/discovery/googleapis/iamcredentials__v1.json b/discovery/googleapis/iamcredentials__v1.json index 8fc5b8044..d2ef3d458 100644 --- a/discovery/googleapis/iamcredentials__v1.json +++ b/discovery/googleapis/iamcredentials__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240515", + "revision": "20240605", "rootUrl": "https://iamcredentials.googleapis.com/", "servicePath": "", "title": "IAM Service Account Credentials API", diff --git a/discovery/googleapis/iap__v1.json b/discovery/googleapis/iap__v1.json index 6a85106ac..20e68de0d 100644 --- a/discovery/googleapis/iap__v1.json +++ b/discovery/googleapis/iap__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240527", + "revision": "20240610", "rootUrl": "https://iap.googleapis.com/", "servicePath": "", "title": "Cloud Identity-Aware Proxy API", diff --git a/discovery/googleapis/identitytoolkit__v1.json b/discovery/googleapis/identitytoolkit__v1.json index c52eed868..db8d4c632 100644 --- a/discovery/googleapis/identitytoolkit__v1.json +++ b/discovery/googleapis/identitytoolkit__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240610", "rootUrl": "https://identitytoolkit.googleapis.com/", "servicePath": "", "title": "Identity Toolkit API", diff --git a/discovery/googleapis/identitytoolkit__v2.json b/discovery/googleapis/identitytoolkit__v2.json index 5894d2e85..7d7fb484f 100644 --- a/discovery/googleapis/identitytoolkit__v2.json +++ b/discovery/googleapis/identitytoolkit__v2.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240610", "rootUrl": "https://identitytoolkit.googleapis.com/", "servicePath": "", "title": "Identity Toolkit API", @@ -1711,7 +1711,8 @@ "type": "array" }, "codeFlowConfig": { - "$ref": "GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig" + "$ref": "GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig", + "description": "Additional config for Apple for code flow." } }, "type": "object" diff --git a/discovery/googleapis/indexing__v3.json b/discovery/googleapis/indexing__v3.json index 258ec6c29..62f69d8e0 100644 --- a/discovery/googleapis/indexing__v3.json +++ b/discovery/googleapis/indexing__v3.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240521", + "revision": "20240604", "rootUrl": "https://indexing.googleapis.com/", "servicePath": "", "title": "Web Search Indexing API", diff --git a/discovery/googleapis/integrations__v1.json b/discovery/googleapis/integrations__v1.json index fc70bd141..5f520bff9 100644 --- a/discovery/googleapis/integrations__v1.json +++ b/discovery/googleapis/integrations__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240519", + "revision": "20240609", "rootUrl": "https://integrations.googleapis.com/", "servicePath": "", "title": "Application Integration API", @@ -1378,6 +1378,34 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "replay": { + "description": "Re-execute an existing execution, with same request parameters and execution strategy", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/integrations/{integrationsId}/executions/{executionsId}:replay", + "httpMethod": "POST", + "id": "integrations.projects.locations.integrations.executions.replay", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The execution resource name. Format: projects/{gcp_project_id}/locations/{location}/integrations/{integration}/executions/{execution_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/integrations/[^/]+/executions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:replay", + "request": { + "$ref": "GoogleCloudIntegrationsV1alphaReplayExecutionRequest" + }, + "response": { + "$ref": "GoogleCloudIntegrationsV1alphaReplayExecutionResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } }, "resources": { @@ -4414,6 +4442,23 @@ }, "type": "object" }, + "EnterpriseCrmEventbusProtoConditionalFailurePolicies": { + "id": "EnterpriseCrmEventbusProtoConditionalFailurePolicies", + "properties": { + "defaultFailurePolicy": { + "$ref": "EnterpriseCrmEventbusProtoFailurePolicy", + "description": "The default failure policy to be applied if no conditional failure policy matches" + }, + "failurePolicies": { + "description": "The list of failure policies that will be applied to the task in order.", + "items": { + "$ref": "EnterpriseCrmEventbusProtoFailurePolicy" + }, + "type": "array" + } + }, + "type": "object" + }, "EnterpriseCrmEventbusProtoConnectorsConnection": { "id": "EnterpriseCrmEventbusProtoConnectorsConnection", "properties": { @@ -4752,13 +4797,17 @@ "type": "object" }, "EnterpriseCrmEventbusProtoEventExecutionSnapshot": { - "description": "Contains the snapshot of the event execution for a given checkpoint. Next available id: 13", + "description": "Contains the snapshot of the event execution for a given checkpoint. Next available id: 15", "id": "EnterpriseCrmEventbusProtoEventExecutionSnapshot", "properties": { "checkpointTaskNumber": { "description": "Indicates \"right after which checkpoint task's execution\" this snapshot is taken.", "type": "string" }, + "clientId": { + "description": "Client that the execution snapshot is associated to.", + "type": "string" + }, "conditionResults": { "description": "All of the computed conditions that been calculated.", "items": { @@ -4805,6 +4854,10 @@ "deprecated": true, "description": "The task name associated with this snapshot. Could be empty.", "type": "string" + }, + "workflowName": { + "description": "Name of the workflow this event execution snapshot belongs to.", + "type": "string" } }, "type": "object" @@ -7796,6 +7849,10 @@ }, "type": "array" }, + "conditionalFailurePolicies": { + "$ref": "EnterpriseCrmEventbusProtoConditionalFailurePolicies", + "description": "Optional. Determines the number of times the task will be retried on failure and with what retry strategy. This is applicable for synchronous calls to Eventbus alone (Post)." + }, "createTime": { "description": "Auto-generated.", "format": "google-datetime", @@ -9829,6 +9886,24 @@ }, "type": "object" }, + "GoogleCloudIntegrationsV1alphaConditionalFailurePolicies": { + "description": "Conditional task failur retry strategies", + "id": "GoogleCloudIntegrationsV1alphaConditionalFailurePolicies", + "properties": { + "defaultFailurePolicy": { + "$ref": "GoogleCloudIntegrationsV1alphaFailurePolicy", + "description": "The default failure policy to be applied if no conditional failure policy matches." + }, + "failurePolicies": { + "description": "The list of failure policies that will be applied to the task in order.", + "items": { + "$ref": "GoogleCloudIntegrationsV1alphaFailurePolicy" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata": { "description": "Metadata of runtime connection schema.", "id": "GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata", @@ -11776,6 +11851,40 @@ }, "type": "object" }, + "GoogleCloudIntegrationsV1alphaReplayExecutionRequest": { + "description": "Request for replaying an execution Next ID: 3", + "id": "GoogleCloudIntegrationsV1alphaReplayExecutionRequest", + "properties": { + "replayReason": { + "description": "Optional. The user provided reason for replaying the execution.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudIntegrationsV1alphaReplayExecutionResponse": { + "description": "Response for replaying an execution Next ID: 4", + "id": "GoogleCloudIntegrationsV1alphaReplayExecutionResponse", + "properties": { + "executionId": { + "description": "The id of the execution corresponding to this run of integration.", + "type": "string" + }, + "outputParameters": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "OUTPUT parameters in format of Map. Where Key is the name of the parameter. The parameters would only be present in case of synchrounous execution Note: Name of the system generated parameters are wrapped by backtick(`) to distinguish them from the user defined parameters.", + "type": "object" + }, + "replayedExecutionId": { + "description": "The execution id which is replayed", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudIntegrationsV1alphaResolveSuspensionRequest": { "description": "Request for [Suspensions.ResolveSuspensions].", "id": "GoogleCloudIntegrationsV1alphaResolveSuspensionRequest", @@ -12232,6 +12341,10 @@ "description": "The task configuration details. This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.", "id": "GoogleCloudIntegrationsV1alphaTaskConfig", "properties": { + "conditionalFailurePolicies": { + "$ref": "GoogleCloudIntegrationsV1alphaConditionalFailurePolicies", + "description": "Optional. The list of conditional failure policies that will be applied to the task in order." + }, "description": { "description": "Optional. User-provided description intended to give additional business context about the task.", "type": "string" diff --git a/discovery/googleapis/keep__v1.json b/discovery/googleapis/keep__v1.json index 366c08d4d..328db87af 100644 --- a/discovery/googleapis/keep__v1.json +++ b/discovery/googleapis/keep__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240521", + "revision": "20240604", "rootUrl": "https://keep.googleapis.com/", "servicePath": "", "title": "Google Keep API", diff --git a/discovery/googleapis/kgsearch__v1.json b/discovery/googleapis/kgsearch__v1.json index 1351aaf20..264723ea8 100644 --- a/discovery/googleapis/kgsearch__v1.json +++ b/discovery/googleapis/kgsearch__v1.json @@ -15,7 +15,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240609", "rootUrl": "https://kgsearch.googleapis.com/", "servicePath": "", "title": "Knowledge Graph Search API", diff --git a/discovery/googleapis/kmsinventory__v1.json b/discovery/googleapis/kmsinventory__v1.json index 5efdf5940..2a0ce9197 100644 --- a/discovery/googleapis/kmsinventory__v1.json +++ b/discovery/googleapis/kmsinventory__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240609", "rootUrl": "https://kmsinventory.googleapis.com/", "servicePath": "", "title": "KMS Inventory API", diff --git a/discovery/googleapis/language__v1.json b/discovery/googleapis/language__v1.json index fb27c9b2d..f0c6449cd 100644 --- a/discovery/googleapis/language__v1.json +++ b/discovery/googleapis/language__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240609", "rootUrl": "https://language.googleapis.com/", "servicePath": "", "title": "Cloud Natural Language API", diff --git a/discovery/googleapis/language__v2.json b/discovery/googleapis/language__v2.json index 021c041ed..1dcbafc28 100644 --- a/discovery/googleapis/language__v2.json +++ b/discovery/googleapis/language__v2.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240609", "rootUrl": "https://language.googleapis.com/", "servicePath": "", "title": "Cloud Natural Language API", diff --git a/discovery/googleapis/libraryagent__v1.json b/discovery/googleapis/libraryagent__v1.json index ce40db427..475e9efe0 100644 --- a/discovery/googleapis/libraryagent__v1.json +++ b/discovery/googleapis/libraryagent__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://libraryagent.googleapis.com/", "servicePath": "", "title": "Library Agent API", diff --git a/discovery/googleapis/licensing__v1.json b/discovery/googleapis/licensing__v1.json index 9429faf9f..f8770a7a2 100644 --- a/discovery/googleapis/licensing__v1.json +++ b/discovery/googleapis/licensing__v1.json @@ -24,7 +24,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240524", + "revision": "20240610", "rootUrl": "https://licensing.googleapis.com/", "servicePath": "", "title": "Enterprise License Manager API", diff --git a/discovery/googleapis/localservices__v1.json b/discovery/googleapis/localservices__v1.json index e4f837150..425a095e8 100644 --- a/discovery/googleapis/localservices__v1.json +++ b/discovery/googleapis/localservices__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://localservices.googleapis.com/", "servicePath": "", "title": "Local Services API", diff --git a/discovery/googleapis/logging__v2.json b/discovery/googleapis/logging__v2.json index 8e4968ef4..69271bfc3 100644 --- a/discovery/googleapis/logging__v2.json +++ b/discovery/googleapis/logging__v2.json @@ -119,7 +119,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240503", + "revision": "20240531", "rootUrl": "https://logging.googleapis.com/", "servicePath": "", "title": "Cloud Logging API", diff --git a/discovery/googleapis/looker__v1.json b/discovery/googleapis/looker__v1.json index c6924f3bf..6a4f7e8c1 100644 --- a/discovery/googleapis/looker__v1.json +++ b/discovery/googleapis/looker__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240516", + "revision": "20240522", "rootUrl": "https://looker.googleapis.com/", "servicePath": "", "title": "Looker (Google Cloud core) API", @@ -1061,7 +1061,7 @@ "type": "object" }, "Instance": { - "description": "A Looker instance. LINT.IfChange", + "description": "A Looker instance.", "id": "Instance", "properties": { "adminSettings": { diff --git a/discovery/googleapis/managedidentities__v1.json b/discovery/googleapis/managedidentities__v1.json index de78a200f..00ad453c7 100644 --- a/discovery/googleapis/managedidentities__v1.json +++ b/discovery/googleapis/managedidentities__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240112", + "revision": "20240530", "rootUrl": "https://managedidentities.googleapis.com/", "servicePath": "", "title": "Managed Service for Microsoft Active Directory API", @@ -1617,7 +1617,7 @@ "type": "array" }, "role": { - "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", + "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", "type": "string" } }, @@ -1808,7 +1808,7 @@ "type": "object" }, "locations": { - "description": "Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.", + "description": "Required. Locations where domain needs to be provisioned. The locations can be specified according to https://cloud.google.com/compute/docs/regions-zones, such as `us-west1` or `us-east4`. Each domain supports up to 4 locations, separated by commas. Each location will use a /26 block.", "items": { "type": "string" }, @@ -2573,7 +2573,7 @@ "type": "object" }, "MaintenancePolicy": { - "description": "LINT.IfChange Defines policies to service maintenance events.", + "description": "Defines policies to service maintenance events.", "id": "MaintenancePolicy", "properties": { "createTime": { diff --git a/discovery/googleapis/memcache__v1.json b/discovery/googleapis/memcache__v1.json index 8bfe98cbd..db73104f8 100644 --- a/discovery/googleapis/memcache__v1.json +++ b/discovery/googleapis/memcache__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240502", + "revision": "20240604", "rootUrl": "https://memcache.googleapis.com/", "servicePath": "", "title": "Cloud Memorystore for Memcached API", @@ -1163,6 +1163,16 @@ }, "type": "array" }, + "satisfiesPzi": { + "description": "Optional. Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Optional. Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, "state": { "description": "Output only. The state of this Memcached instance.", "enum": [ diff --git a/discovery/googleapis/migrationcenter__v1.json b/discovery/googleapis/migrationcenter__v1.json index 1ede4bcf2..5e2b48e21 100644 --- a/discovery/googleapis/migrationcenter__v1.json +++ b/discovery/googleapis/migrationcenter__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240516", + "revision": "20240530", "rootUrl": "https://migrationcenter.googleapis.com/", "servicePath": "", "title": "Migration Center API", diff --git a/discovery/googleapis/monitoring__v3.json b/discovery/googleapis/monitoring__v3.json index 8fefdad96..9242f91d1 100644 --- a/discovery/googleapis/monitoring__v3.json +++ b/discovery/googleapis/monitoring__v3.json @@ -34,7 +34,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240513", + "revision": "20240602", "rootUrl": "https://monitoring.googleapis.com/", "servicePath": "", "title": "Cloud Monitoring API", @@ -1762,7 +1762,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the Snooze. The format is: projects/[PROJECT_ID_OR_NUMBER]/snoozes/[SNOOZE_ID] The ID of the Snooze will be generated by the system.", + "description": "Required. Identifier. The name of the Snooze. The format is: projects/[PROJECT_ID_OR_NUMBER]/snoozes/[SNOOZE_ID] The ID of the Snooze will be generated by the system.", "location": "path", "pattern": "^projects/[^/]+/snoozes/[^/]+$", "required": true, @@ -2687,7 +2687,7 @@ "uptimeCheckIps": { "methods": { "list": { - "description": "Returns the list of IP addresses that checkers run from", + "description": "Returns the list of IP addresses that checkers run from.", "flatPath": "v3/uptimeCheckIps", "httpMethod": "GET", "id": "monitoring.uptimeCheckIps.list", @@ -5505,7 +5505,7 @@ "description": "Required. The Snooze will be active from interval.start_time through interval.end_time. interval.start_time cannot be in the past. There is a 15 second clock skew to account for the time it takes for a request to reach the API from the UI." }, "name": { - "description": "Required. The name of the Snooze. The format is: projects/[PROJECT_ID_OR_NUMBER]/snoozes/[SNOOZE_ID] The ID of the Snooze will be generated by the system.", + "description": "Required. Identifier. The name of the Snooze. The format is: projects/[PROJECT_ID_OR_NUMBER]/snoozes/[SNOOZE_ID] The ID of the Snooze will be generated by the system.", "type": "string" } }, diff --git a/discovery/googleapis/mybusinessaccountmanagement__v1.json b/discovery/googleapis/mybusinessaccountmanagement__v1.json index e96c8bd67..352f97f7d 100644 --- a/discovery/googleapis/mybusinessaccountmanagement__v1.json +++ b/discovery/googleapis/mybusinessaccountmanagement__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240612", "rootUrl": "https://mybusinessaccountmanagement.googleapis.com/", "servicePath": "", "title": "My Business Account Management API", diff --git a/discovery/googleapis/mybusinessbusinessinformation__v1.json b/discovery/googleapis/mybusinessbusinessinformation__v1.json index a75ea97f8..a7efbd393 100644 --- a/discovery/googleapis/mybusinessbusinessinformation__v1.json +++ b/discovery/googleapis/mybusinessbusinessinformation__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240612", "rootUrl": "https://mybusinessbusinessinformation.googleapis.com/", "servicePath": "", "title": "My Business Business Information API", diff --git a/discovery/googleapis/mybusinesslodging__v1.json b/discovery/googleapis/mybusinesslodging__v1.json index 16e963ba3..186991156 100644 --- a/discovery/googleapis/mybusinesslodging__v1.json +++ b/discovery/googleapis/mybusinesslodging__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240612", "rootUrl": "https://mybusinesslodging.googleapis.com/", "servicePath": "", "title": "My Business Lodging API", diff --git a/discovery/googleapis/mybusinessnotifications__v1.json b/discovery/googleapis/mybusinessnotifications__v1.json index aa8ecbafe..74cefe02a 100644 --- a/discovery/googleapis/mybusinessnotifications__v1.json +++ b/discovery/googleapis/mybusinessnotifications__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240612", "rootUrl": "https://mybusinessnotifications.googleapis.com/", "servicePath": "", "title": "My Business Notifications API", diff --git a/discovery/googleapis/mybusinessplaceactions__v1.json b/discovery/googleapis/mybusinessplaceactions__v1.json index fe00b8f84..b3d3b0578 100644 --- a/discovery/googleapis/mybusinessplaceactions__v1.json +++ b/discovery/googleapis/mybusinessplaceactions__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240612", "rootUrl": "https://mybusinessplaceactions.googleapis.com/", "servicePath": "", "title": "My Business Place Actions API", diff --git a/discovery/googleapis/mybusinessqanda__v1.json b/discovery/googleapis/mybusinessqanda__v1.json index 73a5a294c..746bfdf3e 100644 --- a/discovery/googleapis/mybusinessqanda__v1.json +++ b/discovery/googleapis/mybusinessqanda__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240612", "rootUrl": "https://mybusinessqanda.googleapis.com/", "servicePath": "", "title": "My Business Q&A API", diff --git a/discovery/googleapis/mybusinessverifications__v1.json b/discovery/googleapis/mybusinessverifications__v1.json index f8da25668..73612b652 100644 --- a/discovery/googleapis/mybusinessverifications__v1.json +++ b/discovery/googleapis/mybusinessverifications__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240612", "rootUrl": "https://mybusinessverifications.googleapis.com/", "servicePath": "", "title": "My Business Verifications API", diff --git a/discovery/googleapis/networkconnectivity__v1.json b/discovery/googleapis/networkconnectivity__v1.json index f9d368fcf..735076474 100644 --- a/discovery/googleapis/networkconnectivity__v1.json +++ b/discovery/googleapis/networkconnectivity__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240508", + "revision": "20240529", "rootUrl": "https://networkconnectivity.googleapis.com/", "servicePath": "", "title": "Network Connectivity API", @@ -954,7 +954,7 @@ "type": "string" }, "requestId": { - "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" } @@ -987,7 +987,7 @@ "type": "string" }, "requestId": { - "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" } @@ -2947,6 +2947,14 @@ "description": "The consumer project where PSC connections are allowed to be created in.", "type": "string" }, + "serviceAttachmentIpAddressMap": { + "additionalProperties": { + "type": "string" + }, + "description": "Output only. A map to store mapping between customer vip and target service attachment. Only service attachment with producer specified ip addresses are stored here.", + "readOnly": true, + "type": "object" + }, "state": { "description": "Output only. Overall state of PSC Connections management for this consumer psc config.", "enum": [ @@ -3097,7 +3105,7 @@ "type": "string" }, "protocolVersion": { - "description": "Required. Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported.", + "description": "Required. Internet protocol versions this policy-based route applies to. For this version, only IPV4 is supported. IPV6 is supported in preview.", "enum": [ "PROTOCOL_VERSION_UNSPECIFIED", "IPV4" @@ -3589,6 +3597,13 @@ }, "type": "array" }, + "includeExportRanges": { + "description": "Optional. IP ranges allowed to be included from peering.", + "items": { + "type": "string" + }, + "type": "array" + }, "uri": { "description": "Required. The URI of the VPC network resource.", "type": "string" @@ -4020,6 +4035,63 @@ }, "type": "object" }, + "NextHopInterconnectAttachment": { + "description": "A route next hop that leads to an interconnect attachment resource.", + "id": "NextHopInterconnectAttachment", + "properties": { + "siteToSiteDataTransfer": { + "description": "Indicates whether site-to-site data transfer is allowed for this interconnect attachment resource. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).", + "type": "boolean" + }, + "uri": { + "description": "The URI of the interconnect attachment resource.", + "type": "string" + }, + "vpcNetwork": { + "description": "The VPC network where this interconnect attachment is located.", + "type": "string" + } + }, + "type": "object" + }, + "NextHopRouterApplianceInstance": { + "description": "A route next hop that leads to a Router appliance instance.", + "id": "NextHopRouterApplianceInstance", + "properties": { + "siteToSiteDataTransfer": { + "description": "Indicates whether site-to-site data transfer is allowed for this Router appliance instance resource. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).", + "type": "boolean" + }, + "uri": { + "description": "The URI of the Router appliance instance.", + "type": "string" + }, + "vpcNetwork": { + "description": "The VPC network where this VM is located.", + "type": "string" + } + }, + "type": "object" + }, + "NextHopVPNTunnel": { + "description": "A route next hop that leads to a VPN tunnel resource.", + "id": "NextHopVPNTunnel", + "properties": { + "siteToSiteDataTransfer": { + "description": "Indicates whether site-to-site data transfer is allowed for this VPN tunnel resource. Data transfer is available only in [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).", + "type": "boolean" + }, + "uri": { + "description": "The URI of the VPN tunnel resource.", + "type": "string" + }, + "vpcNetwork": { + "description": "The VPC network where this VPN tunnel is located.", + "type": "string" + } + }, + "type": "object" + }, "NextHopVpcNetwork": { "id": "NextHopVpcNetwork", "properties": { @@ -4106,7 +4178,7 @@ "type": "object" }, "PolicyBasedRoute": { - "description": "Policy-based routes route L4 network traffic based on not just destination IP address, but also source IP address, protocol, and more. If a policy-based route conflicts with other types of routes, the policy-based route always take precedence.", + "description": "Policy-based routes route L4 network traffic based on not just destination IP address, but also source IP address, protocol, and more. If a policy-based route conflicts with other types of routes, the policy-based route always takes precedence.", "id": "PolicyBasedRoute", "properties": { "createTime": { @@ -4159,7 +4231,7 @@ ], "enumDescriptions": [ "Default value.", - "Use the routes from the default routing tables (system-generated routes, custom routes, peering route) to determine the next hop. This will effectively exclude matching packets being applied on other PBRs with a lower priority." + "Use the routes from the default routing tables (system-generated routes, custom routes, peering route) to determine the next hop. This effectively excludes matching packets being applied on other PBRs with a lower priority." ], "type": "string" }, @@ -4181,7 +4253,7 @@ }, "virtualMachine": { "$ref": "VirtualMachine", - "description": "Optional. VM instances to which this policy-based route applies to." + "description": "Optional. VM instances that this policy-based route applies to." }, "warnings": { "description": "Output only. If potential misconfigurations are detected for this route, this field will be populated with warning messages.", @@ -4444,10 +4516,28 @@ "description": "Immutable. The name of the route. Route names must be unique. Route names use the following form: `projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}/routes/{route_id}`", "type": "string" }, + "nextHopInterconnectAttachment": { + "$ref": "NextHopInterconnectAttachment", + "description": "Immutable. The next-hop VLAN attachment for packets on this route." + }, + "nextHopRouterApplianceInstance": { + "$ref": "NextHopRouterApplianceInstance", + "description": "Immutable. The next-hop Router appliance instance for packets on this route." + }, "nextHopVpcNetwork": { "$ref": "NextHopVpcNetwork", "description": "Immutable. The destination VPC network for packets on this route." }, + "nextHopVpnTunnel": { + "$ref": "NextHopVPNTunnel", + "description": "Immutable. The next-hop VPN tunnel for packets on this route." + }, + "priority": { + "description": "Output only. The priority of this route. Priority is used to break ties in cases where a destination matches more than one route. In these cases the route with the lowest-numbered priority value wins.", + "format": "int64", + "readOnly": true, + "type": "string" + }, "spoke": { "description": "Immutable. The spoke that this route leads to. Example: projects/12345/locations/global/spokes/SPOKE", "type": "string" @@ -4484,12 +4574,14 @@ "enum": [ "ROUTE_TYPE_UNSPECIFIED", "VPC_PRIMARY_SUBNET", - "VPC_SECONDARY_SUBNET" + "VPC_SECONDARY_SUBNET", + "DYNAMIC_ROUTE" ], "enumDescriptions": [ "No route type information specified", "The route leads to a destination within the primary address range of the VPC network's subnet.", - "The route leads to a destination within the secondary address range of the VPC network's subnet." + "The route leads to a destination within the secondary address range of the VPC network's subnet.", + "The route leads to a destination in a dynamic route. Dynamic routes are derived from Border Gateway Protocol (BGP) advertisements received from an NCC hybrid spoke." ], "readOnly": true, "type": "string" @@ -5187,11 +5279,11 @@ "type": "object" }, "VirtualMachine": { - "description": "VM instances to which this policy-based route applies to.", + "description": "VM instances that this policy-based route applies to.", "id": "VirtualMachine", "properties": { "tags": { - "description": "Optional. A list of VM instance tags the this policy-based route applies to. VM instances that have ANY of tags specified here will install this PBR.", + "description": "Optional. A list of VM instance tags that this policy-based route applies to. VM instances that have ANY of tags specified here installs this PBR.", "items": { "type": "string" }, @@ -5213,7 +5305,7 @@ ], "enumDescriptions": [ "Default value.", - "The policy-based route is not active and functioning. Common causes are the dependent network was deleted or the resource project was turned off.", + "The policy-based route is not active and functioning. Common causes are that the dependent network was deleted or the resource project was turned off.", "The policy-based route is being modified (e.g. created/deleted) at this time." ], "readOnly": true, diff --git a/discovery/googleapis/networkmanagement__v1.json b/discovery/googleapis/networkmanagement__v1.json index 319b2a51f..909737549 100644 --- a/discovery/googleapis/networkmanagement__v1.json +++ b/discovery/googleapis/networkmanagement__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240515", + "revision": "20240522", "rootUrl": "https://networkmanagement.googleapis.com/", "servicePath": "", "title": "Network Management API", diff --git a/discovery/googleapis/networksecurity__v1.json b/discovery/googleapis/networksecurity__v1.json index c032f3605..46d073864 100644 --- a/discovery/googleapis/networksecurity__v1.json +++ b/discovery/googleapis/networksecurity__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240510", + "revision": "20240527", "rootUrl": "https://networksecurity.googleapis.com/", "servicePath": "", "title": "Network Security API", diff --git a/discovery/googleapis/notebooks__v1.json b/discovery/googleapis/notebooks__v1.json index 3245bf9cb..417e56db9 100644 --- a/discovery/googleapis/notebooks__v1.json +++ b/discovery/googleapis/notebooks__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240422", + "revision": "20240604", "rootUrl": "https://notebooks.googleapis.com/", "servicePath": "", "title": "Notebooks API", diff --git a/discovery/googleapis/notebooks__v2.json b/discovery/googleapis/notebooks__v2.json index 98e6fc74a..e2f6ca0c6 100644 --- a/discovery/googleapis/notebooks__v2.json +++ b/discovery/googleapis/notebooks__v2.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240422", + "revision": "20240604", "rootUrl": "https://notebooks.googleapis.com/", "servicePath": "", "title": "Notebooks API", @@ -923,6 +923,17 @@ }, "type": "object" }, + "AccessConfig": { + "description": "An access configuration attached to an instance's network interface.", + "id": "AccessConfig", + "properties": { + "externalIp": { + "description": "An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.", + "type": "string" + } + }, + "type": "object" + }, "Binding": { "description": "Associates `members`, or principals, with a `role`.", "id": "Binding", @@ -1425,6 +1436,16 @@ "readOnly": true, "type": "string" }, + "satisfiesPzi": { + "description": "Output only. Reserved for future use for Zone Isolation.", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Output only. Reserved for future use for Zone Separation.", + "readOnly": true, + "type": "boolean" + }, "state": { "description": "Output only. The state of this instance.", "enum": [ @@ -1577,6 +1598,13 @@ "description": "The definition of a network interface resource attached to a VM.", "id": "NetworkInterface", "properties": { + "accessConfigs": { + "description": "Optional. An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If no accessConfigs specified, the instance will have an external internet access through an ephemeral external IP address.", + "items": { + "$ref": "AccessConfig" + }, + "type": "array" + }, "network": { "description": "Optional. The name of the VPC that this VM instance is in. Format: `projects/{project_id}/global/networks/{network_id}`", "type": "string" diff --git a/discovery/googleapis/ondemandscanning__v1.json b/discovery/googleapis/ondemandscanning__v1.json index 1cf847c84..7ce10d54c 100644 --- a/discovery/googleapis/ondemandscanning__v1.json +++ b/discovery/googleapis/ondemandscanning__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240527", + "revision": "20240603", "rootUrl": "https://ondemandscanning.googleapis.com/", "servicePath": "", "title": "On-Demand Scanning API", diff --git a/discovery/googleapis/orgpolicy__v2.json b/discovery/googleapis/orgpolicy__v2.json index 726d838f5..8e01e2459 100644 --- a/discovery/googleapis/orgpolicy__v2.json +++ b/discovery/googleapis/orgpolicy__v2.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240524", + "revision": "20240607", "rootUrl": "https://orgpolicy.googleapis.com/", "servicePath": "", "title": "Organization Policy API", diff --git a/discovery/googleapis/osconfig__v1.json b/discovery/googleapis/osconfig__v1.json index 6337582f1..f1a2c97fc 100644 --- a/discovery/googleapis/osconfig__v1.json +++ b/discovery/googleapis/osconfig__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240610", "rootUrl": "https://osconfig.googleapis.com/", "servicePath": "", "title": "OS Config API", @@ -2279,7 +2279,7 @@ "type": "string" }, "complianceStateReason": { - "description": "The reason for the OS policy to be in an unknown compliance state. This field is always populated when `compliance_state` is `UNKNOWN`. If populated, the field can contain one of the following values: * `vm-not-running`: The VM was not running. * `os-policies-not-supported-by-agent`: The version of the OS Config agent running on the VM does not support running OS policies. * `no-agent-detected`: The OS Config agent is not detected for the VM. * `resource-execution-errors`: The OS Config agent encountered errors while executing one or more resources in the policy. See `os_policy_resource_compliances` for details. * `task-timeout`: The task sent to the agent to apply the policy timed out. * `unexpected-agent-state`: The OS Config agent did not report the final status of the task that attempted to apply the policy. Instead, the agent unexpectedly started working on a different task. This mostly happens when the agent or VM unexpectedly restarts while applying OS policies. * `internal-service-errors`: Internal service errors were encountered while attempting to apply the policy.", + "description": "The reason for the OS policy to be in an unknown compliance state. This field is always populated when `compliance_state` is `UNKNOWN`. If populated, the field can contain one of the following values: * `vm-not-running`: The VM was not running. * `os-policies-not-supported-by-agent`: The version of the OS Config agent running on the VM does not support running OS policies. * `no-agent-detected`: The OS Config agent is not detected for the VM. * `resource-execution-errors`: The OS Config agent encountered errors while executing one or more resources in the policy. See `os_policy_resource_compliances` for details. * `task-timeout`: The task sent to the agent to apply the policy timed out. * `unexpected-agent-state`: The OS Config agent did not report the final status of the task that attempted to apply the policy. Instead, the agent unexpectedly started working on a different task. This mostly happens when the agent or VM unexpectedly restarts while applying OS policies. * `internal-service-errors`: Internal service errors were encountered while attempting to apply the policy. * `os-policy-execution-pending`: OS policy was assigned to the given VM, but was not executed yet. Typically this is a transient condition that will go away after the next policy execution cycle.", "type": "string" }, "osPolicyId": { @@ -2315,7 +2315,7 @@ "type": "string" }, "complianceStateReason": { - "description": "A reason for the resource to be in the given compliance state. This field is always populated when `compliance_state` is `UNKNOWN`. The following values are supported when `compliance_state == UNKNOWN` * `execution-errors`: Errors were encountered by the agent while executing the resource and the compliance state couldn't be determined. * `execution-skipped-by-agent`: Resource execution was skipped by the agent because errors were encountered while executing prior resources in the OS policy. * `os-policy-execution-attempt-failed`: The execution of the OS policy containing this resource failed and the compliance state couldn't be determined.", + "description": "A reason for the resource to be in the given compliance state. This field is always populated when `compliance_state` is `UNKNOWN`. The following values are supported when `compliance_state == UNKNOWN` * `execution-errors`: Errors were encountered by the agent while executing the resource and the compliance state couldn't be determined. * `execution-skipped-by-agent`: Resource execution was skipped by the agent because errors were encountered while executing prior resources in the OS policy. * `os-policy-execution-attempt-failed`: The execution of the OS policy containing this resource failed and the compliance state couldn't be determined. * `os-policy-execution-pending`: OS policy that owns this resource was assigned to the given VM, but was not executed yet.", "type": "string" }, "configSteps": { diff --git a/discovery/googleapis/oslogin__v1.json b/discovery/googleapis/oslogin__v1.json index 61be08afb..88907d6b2 100644 --- a/discovery/googleapis/oslogin__v1.json +++ b/discovery/googleapis/oslogin__v1.json @@ -34,7 +34,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240519", + "revision": "20240609", "rootUrl": "https://oslogin.googleapis.com/", "servicePath": "", "title": "Cloud OS Login API", diff --git a/discovery/googleapis/pagespeedonline__v5.json b/discovery/googleapis/pagespeedonline__v5.json index 3cc64f63b..cebfb3390 100644 --- a/discovery/googleapis/pagespeedonline__v5.json +++ b/discovery/googleapis/pagespeedonline__v5.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://pagespeedonline.googleapis.com/", "servicePath": "", "title": "PageSpeed Insights API", diff --git a/discovery/googleapis/paymentsresellersubscription__v1.json b/discovery/googleapis/paymentsresellersubscription__v1.json index 5949ecdce..34af41a7d 100644 --- a/discovery/googleapis/paymentsresellersubscription__v1.json +++ b/discovery/googleapis/paymentsresellersubscription__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://paymentsresellersubscription.googleapis.com/", "servicePath": "", "title": "Payments Reseller Subscription API", diff --git a/discovery/googleapis/people__v1.json b/discovery/googleapis/people__v1.json index 42e5d1b34..46080a63a 100644 --- a/discovery/googleapis/people__v1.json +++ b/discovery/googleapis/people__v1.json @@ -58,7 +58,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://people.googleapis.com/", "servicePath": "", "title": "People API", diff --git a/discovery/googleapis/photoslibrary__v1.json b/discovery/googleapis/photoslibrary__v1.json index 8bc148bbc..2b6791854 100644 --- a/discovery/googleapis/photoslibrary__v1.json +++ b/discovery/googleapis/photoslibrary__v1.json @@ -40,7 +40,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240605", "rootUrl": "https://photoslibrary.googleapis.com/", "servicePath": "", "title": "Photos Library API", diff --git a/discovery/googleapis/places__v1.json b/discovery/googleapis/places__v1.json index 2865aea10..09750a9eb 100644 --- a/discovery/googleapis/places__v1.json +++ b/discovery/googleapis/places__v1.json @@ -40,7 +40,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://places.googleapis.com/", "servicePath": "", "title": "Places API (New)", diff --git a/discovery/googleapis/playcustomapp__v1.json b/discovery/googleapis/playcustomapp__v1.json index a92c88378..bc5d823aa 100644 --- a/discovery/googleapis/playcustomapp__v1.json +++ b/discovery/googleapis/playcustomapp__v1.json @@ -24,7 +24,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240611", "rootUrl": "https://playcustomapp.googleapis.com/", "servicePath": "", "title": "Google Play Custom App Publishing API", diff --git a/discovery/googleapis/playintegrity__v1.json b/discovery/googleapis/playintegrity__v1.json index b7a9d7ef1..94bc9e76b 100644 --- a/discovery/googleapis/playintegrity__v1.json +++ b/discovery/googleapis/playintegrity__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240611", "rootUrl": "https://playintegrity.googleapis.com/", "servicePath": "", "title": "Google Play Integrity API", diff --git a/discovery/googleapis/policyanalyzer__v1.json b/discovery/googleapis/policyanalyzer__v1.json index 367d06f3f..eac4b8791 100644 --- a/discovery/googleapis/policyanalyzer__v1.json +++ b/discovery/googleapis/policyanalyzer__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240609", "rootUrl": "https://policyanalyzer.googleapis.com/", "servicePath": "", "title": "Policy Analyzer API", @@ -109,6 +109,120 @@ } }, "resources": { + "folders": { + "resources": { + "locations": { + "resources": { + "activityTypes": { + "resources": { + "activities": { + "methods": { + "query": { + "description": "Queries policy activities on Google Cloud resources.", + "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/activityTypes/{activityTypesId}/activities:query", + "httpMethod": "GET", + "id": "policyanalyzer.folders.locations.activityTypes.activities.query", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filter expression to restrict the activities returned. For serviceAccountLastAuthentication activities, supported filters are: - `activities.full_resource_name {=} [STRING]` - `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full resource name of the service account. For serviceAccountKeyLastAuthentication activities, supported filters are: - `activities.full_resource_name {=} [STRING]` - `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full resource name of the service account key.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return from this request. Max limit is 1000. Non-positive values are ignored. The presence of `nextPageToken` in the response indicates that more results might be available.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. `pageToken` must be the value of `nextPageToken` from the previous response. The values of other method parameters should be identical to those in the previous call.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The container resource on which to execute the request. Acceptable formats: `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/activityTypes/[ACTIVITY_TYPE]` LOCATION here refers to Google Cloud Locations: https://cloud.google.com/about/locations/", + "location": "path", + "pattern": "^folders/[^/]+/locations/[^/]+/activityTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/activities:query", + "response": { + "$ref": "GoogleCloudPolicyanalyzerV1QueryActivityResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + } + }, + "organizations": { + "resources": { + "locations": { + "resources": { + "activityTypes": { + "resources": { + "activities": { + "methods": { + "query": { + "description": "Queries policy activities on Google Cloud resources.", + "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/activityTypes/{activityTypesId}/activities:query", + "httpMethod": "GET", + "id": "policyanalyzer.organizations.locations.activityTypes.activities.query", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filter expression to restrict the activities returned. For serviceAccountLastAuthentication activities, supported filters are: - `activities.full_resource_name {=} [STRING]` - `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full resource name of the service account. For serviceAccountKeyLastAuthentication activities, supported filters are: - `activities.full_resource_name {=} [STRING]` - `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full resource name of the service account key.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of results to return from this request. Max limit is 1000. Non-positive values are ignored. The presence of `nextPageToken` in the response indicates that more results might be available.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. If present, then retrieve the next batch of results from the preceding call to this method. `pageToken` must be the value of `nextPageToken` from the previous response. The values of other method parameters should be identical to those in the previous call.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The container resource on which to execute the request. Acceptable formats: `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/activityTypes/[ACTIVITY_TYPE]` LOCATION here refers to Google Cloud Locations: https://cloud.google.com/about/locations/", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/activityTypes/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/activities:query", + "response": { + "$ref": "GoogleCloudPolicyanalyzerV1QueryActivityResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + } + }, "projects": { "resources": { "locations": { @@ -169,6 +283,7 @@ }, "schemas": { "GoogleCloudPolicyanalyzerV1Activity": { + "description": "Represents Activity on a GCP resource over specific observation period.", "id": "GoogleCloudPolicyanalyzerV1Activity", "properties": { "activity": { diff --git a/discovery/googleapis/policysimulator__v1.json b/discovery/googleapis/policysimulator__v1.json index fbc3d70af..3e6cbc20a 100644 --- a/discovery/googleapis/policysimulator__v1.json +++ b/discovery/googleapis/policysimulator__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240609", "rootUrl": "https://policysimulator.googleapis.com/", "servicePath": "", "title": "Policy Simulator API", diff --git a/discovery/googleapis/policytroubleshooter__v1.json b/discovery/googleapis/policytroubleshooter__v1.json index aef6774d7..09552cb71 100644 --- a/discovery/googleapis/policytroubleshooter__v1.json +++ b/discovery/googleapis/policytroubleshooter__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240609", "rootUrl": "https://policytroubleshooter.googleapis.com/", "servicePath": "", "title": "Policy Troubleshooter API", diff --git a/discovery/googleapis/pollen__v1.json b/discovery/googleapis/pollen__v1.json new file mode 100644 index 000000000..fe9f41318 --- /dev/null +++ b/discovery/googleapis/pollen__v1.json @@ -0,0 +1,560 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://pollen.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Pollen", + "description": "The Pollen API. ", + "discoveryVersion": "v1", + "documentationLink": "https://developers.google.com/maps/documentation/pollen", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "pollen:v1", + "kind": "discovery#restDescription", + "name": "pollen", + "ownerDomain": "google.com", + "ownerName": "Google", + "protocol": "rest", + "revision": "20240611", + "rootUrl": "https://pollen.googleapis.com/", + "servicePath": "", + "title": "Pollen API", + "version": "v1", + "version_module": true, + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "resources": { + "forecast": { + "methods": { + "lookup": { + "description": "Returns up to 5 days of daily pollen information in more than 65 countries, up to 1km resolution.", + "flatPath": "v1/forecast:lookup", + "httpMethod": "GET", + "id": "pollen.forecast.lookup", + "parameterOrder": [], + "parameters": { + "days": { + "description": "Required. A number that indicates how many forecast days to request (minimum value 1, maximum value is 5).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "languageCode": { + "description": "Optional. Allows the client to choose the language for the response. If data cannot be provided for that language the API uses the closest match. Allowed values rely on the IETF BCP-47 standard. Default value is \"en\".", + "location": "query", + "type": "string" + }, + "location.latitude": { + "description": "The latitude in degrees. It must be in the range [-90.0, +90.0].", + "format": "double", + "location": "query", + "type": "number" + }, + "location.longitude": { + "description": "The longitude in degrees. It must be in the range [-180.0, +180.0].", + "format": "double", + "location": "query", + "type": "number" + }, + "pageSize": { + "description": "Optional. The maximum number of daily info records to return per page. The default and max value is 5 (5 days of data).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token received from a previous daily call. It is used to retrieve the subsequent page. Note that when providing a value for the page token all other request parameters provided must match the previous call that provided the page token.", + "location": "query", + "type": "string" + }, + "plantsDescription": { + "description": "Optional. Contains general information about plants, including details on their seasonality, special shapes and colors, information about allergic cross-reactions, and plant photos.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/forecast:lookup", + "response": { + "$ref": "LookupForecastResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, + "mapTypes": { + "resources": { + "heatmapTiles": { + "methods": { + "lookupHeatmapTile": { + "description": "Returns a byte array containing the data of the tile PNG image.", + "flatPath": "v1/mapTypes/{mapType}/heatmapTiles/{zoom}/{x}/{y}", + "httpMethod": "GET", + "id": "pollen.mapTypes.heatmapTiles.lookupHeatmapTile", + "parameterOrder": [ + "mapType", + "zoom", + "x", + "y" + ], + "parameters": { + "mapType": { + "description": "Required. The type of the pollen heatmap. Defines the combination of pollen type and index that the map will graphically represent.", + "enum": [ + "MAP_TYPE_UNSPECIFIED", + "TREE_UPI", + "GRASS_UPI", + "WEED_UPI" + ], + "enumDescriptions": [ + "Unspecified map type.", + "The heatmap type will represent a tree index graphical map.", + "The heatmap type will represent a grass index graphical map.", + "The heatmap type will represent a weed index graphically map." + ], + "location": "path", + "required": true, + "type": "string" + }, + "x": { + "description": "Required. Defines the east-west point in the requested tile.", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + }, + "y": { + "description": "Required. Defines the north-south point in the requested tile.", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + }, + "zoom": { + "description": "Required. The map's zoom level. Defines how large or small the contents of a map appear in a map view. * Zoom level 0 is the entire world in a single tile. * Zoom level 1 is the entire world in 4 tiles. * Zoom level 2 is the entire world in 16 tiles. * Zoom level 16 is the entire world in 65,536 tiles. Allowed values: 0-16", + "format": "int32", + "location": "path", + "required": true, + "type": "integer" + } + }, + "path": "v1/mapTypes/{mapType}/heatmapTiles/{zoom}/{x}/{y}", + "response": { + "$ref": "HttpBody" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + }, + "schemas": { + "Color": { + "description": "Represents a color in the RGBA color space. This representation is designed for simplicity of conversion to and from color representations in various languages over compactness. For example, the fields of this representation can be trivially provided to the constructor of `java.awt.Color` in Java; it can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just a little work, it can be easily formatted into a CSS `rgba()` string in JavaScript. This reference page doesn't have information about the absolute color space that should be used to interpret the RGB value—for example, sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume the sRGB color space. When color equality needs to be decided, implementations, unless documented otherwise, treat two colors as equal if all their red, green, blue, and alpha values each differ by at most `1e-5`. Example (Java): import com.google.type.Color; // ... public static java.awt.Color fromProto(Color protocolor) { float alpha = protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color color) { float red = (float) color.getRed(); float green = (float) color.getGreen(); float blue = (float) color.getBlue(); float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue / denominator); int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... static UIColor* fromProto(Color* protocolor) { float red = [protocolor red]; float green = [protocolor green]; float blue = [protocolor blue]; FloatValue* alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper != nil) { alpha = [alpha_wrapper value]; } return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; } static Color* toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) { return nil; } Color* result = [[Color alloc] init]; [result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <= 0.9999) { [result setAlpha:floatWrapperWithValue(alpha)]; } [result autorelease]; return result; } // ... Example (JavaScript): // ... var protoToCssColor = function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || 0.0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); }; var rgbToCssColor = function(red, green, blue) { var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) { resultBuilder.push('0'); } resultBuilder.push(hexString); return resultBuilder.join(''); }; // ...", + "id": "Color", + "properties": { + "alpha": { + "description": "The fraction of this color that should be applied to the pixel. That is, the final pixel color is defined by the equation: `pixel color = alpha * (this color) + (1.0 - alpha) * (background color)` This means that a value of 1.0 corresponds to a solid color, whereas a value of 0.0 corresponds to a completely transparent color. This uses a wrapper message rather than a simple float scalar so that it is possible to distinguish between a default value and the value being unset. If omitted, this color object is rendered as a solid color (as if the alpha value had been explicitly given a value of 1.0).", + "format": "float", + "type": "number" + }, + "blue": { + "description": "The amount of blue in the color as a value in the interval [0, 1].", + "format": "float", + "type": "number" + }, + "green": { + "description": "The amount of green in the color as a value in the interval [0, 1].", + "format": "float", + "type": "number" + }, + "red": { + "description": "The amount of red in the color as a value in the interval [0, 1].", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, + "Date": { + "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", + "id": "Date", + "properties": { + "day": { + "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", + "format": "int32", + "type": "integer" + }, + "month": { + "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", + "format": "int32", + "type": "integer" + }, + "year": { + "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "DayInfo": { + "description": "This object contains the daily forecast information for each day requested.", + "id": "DayInfo", + "properties": { + "date": { + "$ref": "Date", + "description": "The date in UTC at which the pollen forecast data is represented." + }, + "plantInfo": { + "description": "This list will include (up to) 15 pollen species affecting the location specified in the request.", + "items": { + "$ref": "PlantInfo" + }, + "type": "array" + }, + "pollenTypeInfo": { + "description": "This list will include (up to) three pollen types (grass, weed, tree) affecting the location specified in the request.", + "items": { + "$ref": "PollenTypeInfo" + }, + "type": "array" + } + }, + "type": "object" + }, + "HttpBody": { + "description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.", + "id": "HttpBody", + "properties": { + "contentType": { + "description": "The HTTP Content-Type header value specifying the content type of the body.", + "type": "string" + }, + "data": { + "description": "The HTTP request/response body as raw binary.", + "format": "byte", + "type": "string" + }, + "extensions": { + "description": "Application specific response metadata. Must be set in the first response for streaming APIs.", + "items": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "type": "object" + }, + "type": "array" + } + }, + "type": "object" + }, + "IndexInfo": { + "description": "This object contains data representing specific pollen index value, category and description.", + "id": "IndexInfo", + "properties": { + "category": { + "description": "Text classification of index numerical score interpretation. The index consists of six categories: * 0: \"None\" * 1: \"Very low\" * 2: \"Low\" * 3: \"Moderate\" * 4: \"High\" * 5: \"Very high", + "type": "string" + }, + "code": { + "description": "The index's code. This field represents the index for programming purposes by using snake cases instead of spaces. Example: \"UPI\".", + "enum": [ + "INDEX_UNSPECIFIED", + "UPI" + ], + "enumDescriptions": [ + "Unspecified index.", + "Universal Pollen Index." + ], + "type": "string" + }, + "color": { + "$ref": "Color", + "description": "The color used to represent the Pollen Index numeric score." + }, + "displayName": { + "description": "A human readable representation of the index name. Example: \"Universal Pollen Index\".", + "type": "string" + }, + "indexDescription": { + "description": "Textual explanation of current index level.", + "type": "string" + }, + "value": { + "description": "The index's numeric score. Numeric range is between 0 and 5.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "LookupForecastResponse": { + "id": "LookupForecastResponse", + "properties": { + "dailyInfo": { + "description": "Required. This object contains the daily forecast information for each day requested.", + "items": { + "$ref": "DayInfo" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Optional. The token to retrieve the next page.", + "type": "string" + }, + "regionCode": { + "description": "The ISO_3166-1 alpha-2 code of the country/region corresponding to the location provided in the request. This field might be omitted from the response if the location provided in the request resides in a disputed territory.", + "type": "string" + } + }, + "type": "object" + }, + "PlantDescription": { + "description": "Contains general information about plants, including details on their seasonality, special shapes and colors, information about allergic cross-reactions, and plant photos.", + "id": "PlantDescription", + "properties": { + "crossReaction": { + "description": "Textual description of pollen cross reaction plants. Example: Alder, Hazel, Hornbeam, Beech, Willow, and Oak pollen.", + "type": "string" + }, + "family": { + "description": "A human readable representation of the plant family name. Example: \"Betulaceae (the Birch family)\".", + "type": "string" + }, + "picture": { + "description": "Link to the picture of the plant.", + "type": "string" + }, + "pictureCloseup": { + "description": "Link to a closeup picture of the plant.", + "type": "string" + }, + "season": { + "description": "Textual list of explanations of seasons where the pollen is active. Example: \"Late winter, spring\".", + "type": "string" + }, + "specialColors": { + "description": "Textual description of the plants' colors of leaves, bark, flowers or seeds that helps identify the plant.", + "type": "string" + }, + "specialShapes": { + "description": "Textual description of the plants' shapes of leaves, bark, flowers or seeds that helps identify the plant.", + "type": "string" + }, + "type": { + "description": "The plant's pollen type. For example: \"GRASS\". A list of all available codes could be found here.", + "enum": [ + "POLLEN_TYPE_UNSPECIFIED", + "GRASS", + "TREE", + "WEED" + ], + "enumDescriptions": [ + "Unspecified plant type.", + "Grass pollen type.", + "Tree pollen type.", + "Weed pollen type." + ], + "type": "string" + } + }, + "type": "object" + }, + "PlantInfo": { + "description": "This object contains the daily information on specific plant.", + "id": "PlantInfo", + "properties": { + "code": { + "description": "The plant code name. For example: \"COTTONWOOD\". A list of all available codes could be found here.", + "enum": [ + "PLANT_UNSPECIFIED", + "ALDER", + "ASH", + "BIRCH", + "COTTONWOOD", + "ELM", + "MAPLE", + "OLIVE", + "JUNIPER", + "OAK", + "PINE", + "CYPRESS_PINE", + "HAZEL", + "GRAMINALES", + "RAGWEED", + "MUGWORT" + ], + "enumDescriptions": [ + "Unspecified plant code.", + "Alder is classified as a tree pollen type.", + "Ash is classified as a tree pollen type.", + "Birch is classified as a tree pollen type.", + "Cottonwood is classified as a tree pollen type.", + "Elm is classified as a tree pollen type.", + "Maple is classified as a tree pollen type.", + "Olive is classified as a tree pollen type.", + "Juniper is classified as a tree pollen type.", + "Oak is classified as a tree pollen type.", + "Pine is classified as a tree pollen type.", + "Cypress pine is classified as a tree pollen type.", + "Hazel is classified as a tree pollen type.", + "Graminales is classified as a grass pollen type.", + "Ragweed is classified as a weed pollen type.", + "Mugwort is classified as a weed pollen type." + ], + "type": "string" + }, + "displayName": { + "description": "A human readable representation of the plant name. Example: “Cottonwood\".", + "type": "string" + }, + "inSeason": { + "description": "Indication of either the plant is in season or not.", + "type": "boolean" + }, + "indexInfo": { + "$ref": "IndexInfo", + "description": "This object contains data representing specific pollen index value, category and description." + }, + "plantDescription": { + "$ref": "PlantDescription", + "description": "Contains general information about plants, including details on their seasonality, special shapes and colors, information about allergic cross-reactions, and plant photos." + } + }, + "type": "object" + }, + "PollenTypeInfo": { + "description": "This object contains the pollen type index and health recommendation information on specific pollen type.", + "id": "PollenTypeInfo", + "properties": { + "code": { + "description": "The pollen type's code name. For example: \"GRASS\"", + "enum": [ + "POLLEN_TYPE_UNSPECIFIED", + "GRASS", + "TREE", + "WEED" + ], + "enumDescriptions": [ + "Unspecified plant type.", + "Grass pollen type.", + "Tree pollen type.", + "Weed pollen type." + ], + "type": "string" + }, + "displayName": { + "description": "A human readable representation of the pollen type name. Example: \"Grass\"", + "type": "string" + }, + "healthRecommendations": { + "description": "Textual list of explanations, related to health insights based on the current pollen levels.", + "items": { + "type": "string" + }, + "type": "array" + }, + "inSeason": { + "description": "Indication whether the plant is in season or not.", + "type": "boolean" + }, + "indexInfo": { + "$ref": "IndexInfo", + "description": "Contains the Universal Pollen Index (UPI) data for the pollen type." + } + }, + "type": "object" + } + } +} diff --git a/discovery/googleapis/privateca__v1.json b/discovery/googleapis/privateca__v1.json index 9dfcfcc90..8e8f66567 100644 --- a/discovery/googleapis/privateca__v1.json +++ b/discovery/googleapis/privateca__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240515", + "revision": "20240529", "rootUrl": "https://privateca.googleapis.com/", "servicePath": "", "title": "Certificate Authority API", @@ -1733,15 +1733,15 @@ "type": "object" }, "CaOptions": { - "description": "Describes values that are relevant in a CA certificate.", + "description": "Describes the X.509 basic constraints extension, per [RFC 5280 section 4.2.1.9](https://tools.ietf.org/html/rfc5280#section-4.2.1.9)", "id": "CaOptions", "properties": { "isCa": { - "description": "Optional. Refers to the \"CA\" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.", + "description": "Optional. Refers to the \"CA\" boolean field in the X.509 extension. When this value is missing, the basic constraints extension will be omitted from the certificate.", "type": "boolean" }, "maxIssuerPathLength": { - "description": "Optional. Refers to the path length restriction X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the CA certificate.", + "description": "Optional. Refers to the path length constraint field in the X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the certificate.", "format": "int32", "type": "integer" } @@ -3512,7 +3512,7 @@ }, "caOptions": { "$ref": "CaOptions", - "description": "Optional. Describes options in this X509Parameters that are relevant in a CA certificate." + "description": "Optional. Describes options in this X509Parameters that are relevant in a CA certificate. If not specified, a default basic constraints extension with `is_ca=false` will be added for leaf certificates." }, "keyUsage": { "$ref": "KeyUsage", diff --git a/discovery/googleapis/publicca__v1.json b/discovery/googleapis/publicca__v1.json index 461c8f674..7841965ce 100644 --- a/discovery/googleapis/publicca__v1.json +++ b/discovery/googleapis/publicca__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240527", + "revision": "20240612", "rootUrl": "https://publicca.googleapis.com/", "servicePath": "", "title": "Public Certificate Authority API", diff --git a/discovery/googleapis/pubsub__v1.json b/discovery/googleapis/pubsub__v1.json index f91226e0e..02b05b593 100644 --- a/discovery/googleapis/pubsub__v1.json +++ b/discovery/googleapis/pubsub__v1.json @@ -45,7 +45,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240514", + "revision": "20240607", "rootUrl": "https://pubsub.googleapis.com/", "servicePath": "", "title": "Cloud Pub/Sub API", @@ -1606,6 +1606,10 @@ "description": "Configuration for writing message data in Avro format. Message payloads and metadata will be written to files as an Avro binary.", "id": "AvroConfig", "properties": { + "useTopicSchema": { + "description": "Optional. When true, the output Cloud Storage file will be serialized using the topic schema, if it exists.", + "type": "boolean" + }, "writeMetadata": { "description": "Optional. When true, write the subscription name, message_id, publish_time, attributes, and ordering_key as additional fields in the output. The subscription name, message_id, and publish_time fields are put in their own fields while all other message properties other than data (for example, an ordering_key, if present) are added as entries in the attributes map.", "type": "boolean" diff --git a/discovery/googleapis/pubsublite__v1.json b/discovery/googleapis/pubsublite__v1.json index 20c14bdd4..b7e9ee1f5 100644 --- a/discovery/googleapis/pubsublite__v1.json +++ b/discovery/googleapis/pubsublite__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240510", + "revision": "20240531", "rootUrl": "https://pubsublite.googleapis.com/", "servicePath": "", "title": "Pub/Sub Lite API", diff --git a/discovery/googleapis/rapidmigrationassessment__v1.json b/discovery/googleapis/rapidmigrationassessment__v1.json index abc76aedd..a63c8567d 100644 --- a/discovery/googleapis/rapidmigrationassessment__v1.json +++ b/discovery/googleapis/rapidmigrationassessment__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240510", + "revision": "20240525", "rootUrl": "https://rapidmigrationassessment.googleapis.com/", "servicePath": "", "title": "Rapid Migration Assessment API", diff --git a/discovery/googleapis/readerrevenuesubscriptionlinking__v1.json b/discovery/googleapis/readerrevenuesubscriptionlinking__v1.json index 416b62822..ce6e1670e 100644 --- a/discovery/googleapis/readerrevenuesubscriptionlinking__v1.json +++ b/discovery/googleapis/readerrevenuesubscriptionlinking__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240612", "rootUrl": "https://readerrevenuesubscriptionlinking.googleapis.com/", "servicePath": "", "title": "Reader Revenue Subscription Linking API", diff --git a/discovery/googleapis/realtimebidding__v1.json b/discovery/googleapis/realtimebidding__v1.json index af1c2ffca..0ca822945 100644 --- a/discovery/googleapis/realtimebidding__v1.json +++ b/discovery/googleapis/realtimebidding__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240612", "rootUrl": "https://realtimebidding.googleapis.com/", "servicePath": "", "title": "Real-time Bidding API", diff --git a/discovery/googleapis/recaptchaenterprise__v1.json b/discovery/googleapis/recaptchaenterprise__v1.json index 6e3e50462..f858df419 100644 --- a/discovery/googleapis/recaptchaenterprise__v1.json +++ b/discovery/googleapis/recaptchaenterprise__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240609", "rootUrl": "https://recaptchaenterprise.googleapis.com/", "servicePath": "", "title": "reCAPTCHA Enterprise API", diff --git a/discovery/googleapis/recommender__v1.json b/discovery/googleapis/recommender__v1.json index 5f320e5fd..6ff62b7e0 100644 --- a/discovery/googleapis/recommender__v1.json +++ b/discovery/googleapis/recommender__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240519", + "revision": "20240609", "rootUrl": "https://recommender.googleapis.com/", "servicePath": "", "title": "Recommender API", diff --git a/discovery/googleapis/redis__v1.json b/discovery/googleapis/redis__v1.json index 7047d47cc..8647d589b 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": "20240524", + "revision": "20240604", "rootUrl": "https://redis.googleapis.com/", "servicePath": "", "title": "Google Cloud Memorystore for Redis API", @@ -1113,6 +1113,10 @@ "description": "Output only. System assigned, unique identifier for the cluster.", "readOnly": true, "type": "string" + }, + "zoneDistributionConfig": { + "$ref": "ZoneDistributionConfig", + "description": "Optional. This config will be used to determine how the customer wants us to distribute cluster resources within the region." } }, "type": "object" @@ -2803,11 +2807,17 @@ "description": "Required. Type of aggregation performed on the metric.", "enum": [ "AGGREGATION_TYPE_UNSPECIFIED", - "MAXIMUM" + "PEAK", + "P99", + "P95", + "CURRENT" ], "enumDescriptions": [ "Unspecified aggregation type.", - "Maximum aggregation type." + "PEAK aggregation type.", + "P99 aggregation type.", + "P95 aggregation type.", + "current aggregation type." ], "type": "string" }, @@ -2817,13 +2827,17 @@ "METRIC_TYPE_UNSPECIFIED", "CPU_UTILIZATION", "MEMORY_UTILIZATION", - "NETWORK_CONNECTIONS" + "NETWORK_CONNECTIONS", + "STORAGE_UTILIZATION", + "STORAGE_USED_BYTES" ], "enumDescriptions": [ - "", + "Unspecified metric type.", "CPU utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).", "Memory utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).", - "Number of network connections for a resource." + "Number of network connections for a resource.", + "Storage utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).", + "Sotrage used by a resource." ], "type": "string" }, @@ -3386,17 +3400,21 @@ "id": "TypedValue", "properties": { "boolValue": { + "description": "For boolean value", "type": "boolean" }, "doubleValue": { + "description": "For double value", "format": "double", "type": "number" }, "int64Value": { + "description": "For integer value", "format": "int64", "type": "string" }, "stringValue": { + "description": "For string value", "type": "string" } }, @@ -3483,6 +3501,31 @@ } }, "type": "object" + }, + "ZoneDistributionConfig": { + "description": "Zone distribution config for allocation of cluster resources.", + "id": "ZoneDistributionConfig", + "properties": { + "mode": { + "description": "Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified.", + "enum": [ + "ZONE_DISTRIBUTION_MODE_UNSPECIFIED", + "MULTI_ZONE", + "SINGLE_ZONE" + ], + "enumDescriptions": [ + "Not Set. Default: MULTI_ZONE", + "Distribute all resources across 3 zones picked at random, within the region.", + "Distribute all resources in a single zone. The zone field must be specified, when this mode is selected." + ], + "type": "string" + }, + "zone": { + "description": "Optional. When SINGLE ZONE distribution is selected, zone field would be used to allocate all resources in that zone. This is not applicable to MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.", + "type": "string" + } + }, + "type": "object" } } } diff --git a/discovery/googleapis/reseller__v1.json b/discovery/googleapis/reseller__v1.json index 21f18e33b..6c5ac0ea4 100644 --- a/discovery/googleapis/reseller__v1.json +++ b/discovery/googleapis/reseller__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://reseller.googleapis.com/", "servicePath": "", "title": "Google Workspace Reseller API", diff --git a/discovery/googleapis/resourcesettings__v1.json b/discovery/googleapis/resourcesettings__v1.json index 33f1c9d68..f6592dc34 100644 --- a/discovery/googleapis/resourcesettings__v1.json +++ b/discovery/googleapis/resourcesettings__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://resourcesettings.googleapis.com/", "servicePath": "", "title": "Resource Settings API", @@ -112,8 +112,10 @@ "folders": { "resources": { "settings": { + "deprecated": true, "methods": { "get": { + "deprecated": true, "description": "Returns a specified setting. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the setting does not exist.", "flatPath": "v1/folders/{foldersId}/settings/{settingsId}", "httpMethod": "GET", @@ -156,6 +158,7 @@ ] }, "list": { + "deprecated": true, "description": "Lists all the settings that are available on the Cloud resource `parent`.", "flatPath": "v1/folders/{foldersId}/settings", "httpMethod": "GET", @@ -209,6 +212,7 @@ ] }, "patch": { + "deprecated": true, "description": "Updates a specified setting. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the setting does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.FAILED_PRECONDITION` if the setting is flagged as read only. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the setting value. On success, the response will contain only `name`, `local_value` and `etag`. The `metadata` and `effective_value` cannot be updated through this API. Note: the supplied setting will perform a full overwrite of the `local_value` field.", "flatPath": "v1/folders/{foldersId}/settings/{settingsId}", "httpMethod": "PATCH", @@ -243,8 +247,10 @@ "organizations": { "resources": { "settings": { + "deprecated": true, "methods": { "get": { + "deprecated": true, "description": "Returns a specified setting. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the setting does not exist.", "flatPath": "v1/organizations/{organizationsId}/settings/{settingsId}", "httpMethod": "GET", @@ -287,6 +293,7 @@ ] }, "list": { + "deprecated": true, "description": "Lists all the settings that are available on the Cloud resource `parent`.", "flatPath": "v1/organizations/{organizationsId}/settings", "httpMethod": "GET", @@ -340,6 +347,7 @@ ] }, "patch": { + "deprecated": true, "description": "Updates a specified setting. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the setting does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.FAILED_PRECONDITION` if the setting is flagged as read only. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the setting value. On success, the response will contain only `name`, `local_value` and `etag`. The `metadata` and `effective_value` cannot be updated through this API. Note: the supplied setting will perform a full overwrite of the `local_value` field.", "flatPath": "v1/organizations/{organizationsId}/settings/{settingsId}", "httpMethod": "PATCH", @@ -374,8 +382,10 @@ "projects": { "resources": { "settings": { + "deprecated": true, "methods": { "get": { + "deprecated": true, "description": "Returns a specified setting. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the setting does not exist.", "flatPath": "v1/projects/{projectsId}/settings/{settingsId}", "httpMethod": "GET", @@ -418,6 +428,7 @@ ] }, "list": { + "deprecated": true, "description": "Lists all the settings that are available on the Cloud resource `parent`.", "flatPath": "v1/projects/{projectsId}/settings", "httpMethod": "GET", @@ -471,6 +482,7 @@ ] }, "patch": { + "deprecated": true, "description": "Updates a specified setting. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the setting does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.FAILED_PRECONDITION` if the setting is flagged as read only. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the setting value. On success, the response will contain only `name`, `local_value` and `etag`. The `metadata` and `effective_value` cannot be updated through this API. Note: the supplied setting will perform a full overwrite of the `local_value` field.", "flatPath": "v1/projects/{projectsId}/settings/{settingsId}", "httpMethod": "PATCH", diff --git a/discovery/googleapis/retail__v2.json b/discovery/googleapis/retail__v2.json index 5d5af027d..52b44b045 100644 --- a/discovery/googleapis/retail__v2.json +++ b/discovery/googleapis/retail__v2.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240523", + "revision": "20240610", "rootUrl": "https://retail.googleapis.com/", "servicePath": "", "title": "Vertex AI Search for Retail API", @@ -142,7 +142,7 @@ "type": "string" }, "enableAttributeSuggestions": { - "description": "If true, attribute suggestions are enabled and provided in response. This field is only available for \"cloud-retail\" dataset.", + "description": "If true, attribute suggestions are enabled and provided in the response. This field is only available for the \"cloud-retail\" dataset.", "location": "query", "type": "boolean" }, @@ -6519,23 +6519,6 @@ }, "type": "object" }, - "GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata": { - "description": "Common metadata related to the progress of the operations.", - "id": "GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata", - "properties": { - "createTime": { - "description": "Operation create time.", - "format": "google-datetime", - "type": "string" - }, - "updateTime": { - "description": "Operation last update time. If the operation is done, this is also the finish time.", - "format": "google-datetime", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudRetailV2betaCreateModelMetadata": { "description": "Metadata associated with a create operation.", "id": "GoogleCloudRetailV2betaCreateModelMetadata", @@ -6753,89 +6736,6 @@ }, "type": "object" }, - "GoogleCloudRetailV2betaMerchantCenterAccountLink": { - "description": "Represents a link between a Merchant Center account and a branch. After a link is established, products from the linked Merchant Center account are streamed to the linked branch.", - "id": "GoogleCloudRetailV2betaMerchantCenterAccountLink", - "properties": { - "branchId": { - "description": "Required. The branch ID (e.g. 0/1/2) within the catalog that products from merchant_center_account_id are streamed to. When updating this field, an empty value will use the currently configured default branch. However, changing the default branch later on won't change the linked branch here. A single branch ID can only have one linked Merchant Center account ID.", - "type": "string" - }, - "feedFilters": { - "description": "Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.", - "items": { - "$ref": "GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter" - }, - "type": "array" - }, - "feedLabel": { - "description": "The FeedLabel used to perform filtering. Note: this replaces [region_id](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.", - "type": "string" - }, - "id": { - "description": "Output only. Immutable. MerchantCenterAccountLink identifier, which is the final component of name. This field is auto generated and follows the convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/id_1`.", - "readOnly": true, - "type": "string" - }, - "languageCode": { - "description": "Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO 639-1. This specifies the language of offers in Merchant Center that will be accepted. If empty, no language filtering will be performed. Example value: `en`.", - "type": "string" - }, - "merchantCenterAccountId": { - "description": "Required. The linked [Merchant center account id](https://developers.google.com/shopping-content/guides/accountstatuses). The account must be a standalone account or a sub-account of a MCA.", - "format": "int64", - "type": "string" - }, - "name": { - "description": "Output only. Immutable. Full resource name of the Merchant Center Account Link, such as `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/merchant_center_account_link`.", - "readOnly": true, - "type": "string" - }, - "projectId": { - "description": "Output only. Google Cloud project ID.", - "readOnly": true, - "type": "string" - }, - "source": { - "description": "Optional. An optional arbitrary string that could be used as a tag for tracking link source.", - "type": "string" - }, - "state": { - "description": "Output only. Represents the state of the link.", - "enum": [ - "STATE_UNSPECIFIED", - "PENDING", - "ACTIVE", - "FAILED" - ], - "enumDescriptions": [ - "Default value.", - "Link is created and LRO is not complete.", - "Link is active.", - "Link creation failed." - ], - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter": { - "description": "Merchant Center Feed filter criterion.", - "id": "GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter", - "properties": { - "primaryFeedId": { - "description": "Merchant Center primary feed ID.", - "format": "int64", - "type": "string" - }, - "primaryFeedName": { - "description": "Merchant Center primary feed name. The name is used for the display purposes only.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudRetailV2betaModel": { "description": "Metadata that describes the training and serving parameters of a Model. A Model can be associated with a ServingConfig and then queried through the Predict API.", "id": "GoogleCloudRetailV2betaModel", diff --git a/discovery/googleapis/run__v1.json b/discovery/googleapis/run__v1.json index 3b9f8e76e..81e39d218 100644 --- a/discovery/googleapis/run__v1.json +++ b/discovery/googleapis/run__v1.json @@ -227,7 +227,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240510", + "revision": "20240607", "rootUrl": "https://run.googleapis.com/", "servicePath": "", "title": "Cloud Run Admin API", @@ -381,7 +381,7 @@ ] }, "list": { - "description": "List configurations.", + "description": "List configurations. Results are sorted by creation time, descending.", "flatPath": "apis/serving.knative.dev/v1/namespaces/{namespacesId}/configurations", "httpMethod": "GET", "id": "run.namespaces.configurations.list", @@ -707,7 +707,7 @@ ] }, "list": { - "description": "List executions.", + "description": "List executions. Results are sorted by creation time, descending.", "flatPath": "apis/run.googleapis.com/v1/namespaces/{namespacesId}/executions", "httpMethod": "GET", "id": "run.namespaces.executions.list", @@ -865,7 +865,7 @@ ] }, "list": { - "description": "List jobs.", + "description": "List jobs. Results are sorted by creation time, descending.", "flatPath": "apis/run.googleapis.com/v1/namespaces/{namespacesId}/jobs", "httpMethod": "GET", "id": "run.namespaces.jobs.list", @@ -1056,7 +1056,7 @@ ] }, "list": { - "description": "List revisions.", + "description": "List revisions. Results are sorted by creation time, descending.", "flatPath": "apis/serving.knative.dev/v1/namespaces/{namespacesId}/revisions", "httpMethod": "GET", "id": "run.namespaces.revisions.list", @@ -1146,7 +1146,7 @@ ] }, "list": { - "description": "List routes.", + "description": "List routes. Results are sorted by creation time, descending.", "flatPath": "apis/serving.knative.dev/v1/namespaces/{namespacesId}/routes", "httpMethod": "GET", "id": "run.namespaces.routes.list", @@ -1314,7 +1314,7 @@ ] }, "list": { - "description": "Lists services for the given project and region.", + "description": "Lists services for the given project and region. Results are sorted by creation time, descending.", "flatPath": "apis/serving.knative.dev/v1/namespaces/{namespacesId}/services", "httpMethod": "GET", "id": "run.namespaces.services.list", @@ -1656,7 +1656,7 @@ ] }, "list": { - "description": "List configurations.", + "description": "List configurations. Results are sorted by creation time, descending.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/configurations", "httpMethod": "GET", "id": "run.projects.locations.configurations.list", @@ -2173,7 +2173,7 @@ ] }, "list": { - "description": "List revisions.", + "description": "List revisions. Results are sorted by creation time, descending.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/revisions", "httpMethod": "GET", "id": "run.projects.locations.revisions.list", @@ -2263,7 +2263,7 @@ ] }, "list": { - "description": "List routes.", + "description": "List routes. Results are sorted by creation time, descending.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/routes", "httpMethod": "GET", "id": "run.projects.locations.routes.list", @@ -2462,7 +2462,7 @@ ] }, "list": { - "description": "Lists services for the given project and region.", + "description": "Lists services for the given project and region. Results are sorted by creation time, descending.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services", "httpMethod": "GET", "id": "run.projects.locations.services.list", @@ -3627,7 +3627,7 @@ }, "source": { "$ref": "GoogleDevtoolsCloudbuildV1Source", - "description": "The location of the source files to build." + "description": "Optional. The location of the source files to build." }, "sourceProvenance": { "$ref": "GoogleDevtoolsCloudbuildV1SourceProvenance", @@ -3787,7 +3787,7 @@ "type": "string" }, "diskSizeGb": { - "description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 2000GB; builds that request more than the maximum are rejected with an error.", + "description": "Requested disk size for the VM that runs the build. Note that this is *NOT* \"disk free\"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 4000GB; builds that request more than the maximum are rejected with an error.", "format": "int64", "type": "string" }, @@ -4094,7 +4094,7 @@ "id": "GoogleDevtoolsCloudbuildV1ConnectedRepository", "properties": { "dir": { - "description": "Directory, relative to the source root, in which to run the build.", + "description": "Optional. Directory, relative to the source root, in which to run the build.", "type": "string" }, "repository": { @@ -4102,7 +4102,7 @@ "type": "string" }, "revision": { - "description": "The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.", + "description": "Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.", "type": "string" } }, @@ -4210,15 +4210,15 @@ "id": "GoogleDevtoolsCloudbuildV1GitSource", "properties": { "dir": { - "description": "Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", + "description": "Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", "type": "string" }, "revision": { - "description": "The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision from the Git repository; therefore make sure that the string you provide for `revision` is parsable by the command. For information on string values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch.", + "description": "Optional. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision from the Git repository; therefore make sure that the string you provide for `revision` is parsable by the command. For information on string values accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information on `git fetch`, see https://git-scm.com/docs/git-fetch.", "type": "string" }, "url": { - "description": "Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote.", + "description": "Required. Location of the Git repo to build. This will be used as a `git remote`, see https://git-scm.com/docs/git-remote.", "type": "string" } }, @@ -4370,26 +4370,26 @@ "type": "string" }, "dir": { - "description": "Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", + "description": "Optional. Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for that step's execution.", "type": "string" }, "invertRegex": { - "description": "Only trigger a build if the revision regex does NOT match the revision regex.", + "description": "Optional. Only trigger a build if the revision regex does NOT match the revision regex.", "type": "boolean" }, "projectId": { - "description": "ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.", + "description": "Optional. ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.", "type": "string" }, "repoName": { - "description": "Name of the Cloud Source Repository.", + "description": "Required. Name of the Cloud Source Repository.", "type": "string" }, "substitutions": { "additionalProperties": { "type": "string" }, - "description": "Substitutions to use in a triggered build. Should only be used with RunBuildTrigger", + "description": "Optional. Substitutions to use in a triggered build. Should only be used with RunBuildTrigger", "type": "object" }, "tagName": { @@ -4594,12 +4594,12 @@ "type": "string" }, "generation": { - "description": "Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", + "description": "Optional. Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", "format": "int64", "type": "string" }, "object": { - "description": "Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.", + "description": "Required. Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.", "type": "string" }, "sourceFetcher": { @@ -4624,7 +4624,7 @@ "id": "GoogleDevtoolsCloudbuildV1StorageSourceManifest", "properties": { "bucket": { - "description": "Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", + "description": "Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", "type": "string" }, "generation": { @@ -4633,7 +4633,7 @@ "type": "string" }, "object": { - "description": "Cloud Storage object containing the source manifest. This object must be a JSON file.", + "description": "Required. Cloud Storage object containing the source manifest. This object must be a JSON file.", "type": "string" } }, diff --git a/discovery/googleapis/run__v2.json b/discovery/googleapis/run__v2.json index d837b3e24..591e32d60 100644 --- a/discovery/googleapis/run__v2.json +++ b/discovery/googleapis/run__v2.json @@ -227,7 +227,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240524", + "revision": "20240607", "rootUrl": "https://run.googleapis.com/", "servicePath": "", "title": "Cloud Run Admin API", @@ -2143,7 +2143,7 @@ "id": "GoogleCloudRunV2GCSVolumeSource", "properties": { "bucket": { - "description": "Cloud Storage Bucket name.", + "description": "Cloud Storage Bucket name. TODO (b/344678062) Fix the error validation once dynamic mounting is public.", "type": "string" }, "readOnly": { diff --git a/discovery/googleapis/safebrowsing__v4.json b/discovery/googleapis/safebrowsing__v4.json index 639f9c442..83e89aad5 100644 --- a/discovery/googleapis/safebrowsing__v4.json +++ b/discovery/googleapis/safebrowsing__v4.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240519", + "revision": "20240609", "rootUrl": "https://safebrowsing.googleapis.com/", "servicePath": "", "title": "Safe Browsing API", diff --git a/discovery/googleapis/safebrowsing__v5.json b/discovery/googleapis/safebrowsing__v5.json index 5c019467f..cf7ac3616 100644 --- a/discovery/googleapis/safebrowsing__v5.json +++ b/discovery/googleapis/safebrowsing__v5.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240519", + "revision": "20240609", "rootUrl": "https://safebrowsing.googleapis.com/", "servicePath": "", "title": "Safe Browsing API", diff --git a/discovery/googleapis/script__v1.json b/discovery/googleapis/script__v1.json index 73677676a..adb391420 100644 --- a/discovery/googleapis/script__v1.json +++ b/discovery/googleapis/script__v1.json @@ -76,7 +76,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240602", "rootUrl": "https://script.googleapis.com/", "servicePath": "", "title": "Apps Script API", diff --git a/discovery/googleapis/searchconsole__v1.json b/discovery/googleapis/searchconsole__v1.json index 7a3ed7e62..c58ff2b63 100644 --- a/discovery/googleapis/searchconsole__v1.json +++ b/discovery/googleapis/searchconsole__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240608", "rootUrl": "https://searchconsole.googleapis.com/", "servicePath": "", "title": "Google Search Console API", diff --git a/discovery/googleapis/secretmanager__v1.json b/discovery/googleapis/secretmanager__v1.json index 01b39c16e..ea0082b47 100644 --- a/discovery/googleapis/secretmanager__v1.json +++ b/discovery/googleapis/secretmanager__v1.json @@ -102,7 +102,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240527", + "revision": "20240531", "rootUrl": "https://secretmanager.googleapis.com/", "servicePath": "", "title": "Secret Manager API", diff --git a/discovery/googleapis/securitycenter__v1.json b/discovery/googleapis/securitycenter__v1.json index f0ce08bd9..bc8451c5d 100644 --- a/discovery/googleapis/securitycenter__v1.json +++ b/discovery/googleapis/securitycenter__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240531", "rootUrl": "https://securitycenter.googleapis.com/", "servicePath": "", "title": "Security Command Center API", diff --git a/discovery/googleapis/serviceconsumermanagement__v1.json b/discovery/googleapis/serviceconsumermanagement__v1.json index 0c873edf7..4272d94cb 100644 --- a/discovery/googleapis/serviceconsumermanagement__v1.json +++ b/discovery/googleapis/serviceconsumermanagement__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240609", "rootUrl": "https://serviceconsumermanagement.googleapis.com/", "servicePath": "", "title": "Service Consumer Management API", @@ -1497,7 +1497,7 @@ "type": "object" }, "HttpRule": { - "description": "# gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/{name=messages/*}\" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: \"messages/123456\")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:\"/v1/messages/{message_id}\" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"message\" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"*\" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" text: \"Hi!\")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/messages/{message_id}\" additional_bindings { get: \"/v1/users/{user_id}/messages/{message_id}\" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id: \"123456\")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is \"*\", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = \"/\" Segments [ Verb ] ; Segments = Segment { \"/\" Segment } ; Segment = \"*\" | \"**\" | LITERAL | Variable ; Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ; FieldPath = IDENT { \".\" IDENT } ; Verb = \":\" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `\"{var}\"` or `\"{var=*}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `\"{var=foo/*}\"` or `\"{var=**}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading \"/\" character. The reason is that the most common use case \"{var}\" does not capture the leading \"/\" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.", + "description": "gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/{name=messages/*}\" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(name: \"messages/123456\")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:\"/v1/messages/{message_id}\" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` - gRPC: `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"message\" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"*\" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" text: \"Hi!\")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/messages/{message_id}\" additional_bindings { get: \"/v1/users/{user_id}/messages/{message_id}\" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(message_id: \"123456\")` - HTTP: `GET /v1/users/me/messages/123456` - gRPC: `GetMessage(user_id: \"me\" message_id: \"123456\")` Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is \"*\", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. Path template syntax Template = \"/\" Segments [ Verb ] ; Segments = Segment { \"/\" Segment } ; Segment = \"*\" | \"**\" | LITERAL | Variable ; Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ; FieldPath = IDENT { \".\" IDENT } ; Verb = \":\" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `\"{var}\"` or `\"{var=*}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `\"{var=foo/*}\"` or `\"{var=**}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example below selects a gRPC method and applies HttpRule to it. http: rules: - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading \"/\" character. The reason is that the most common use case \"{var}\" does not capture the leading \"/\" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.", "id": "HttpRule", "properties": { "additionalBindings": { diff --git a/discovery/googleapis/servicecontrol__v1.json b/discovery/googleapis/servicecontrol__v1.json index 9bf51f279..5d3e5ad08 100644 --- a/discovery/googleapis/servicecontrol__v1.json +++ b/discovery/googleapis/servicecontrol__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240516", + "revision": "20240531", "rootUrl": "https://servicecontrol.googleapis.com/", "servicePath": "", "title": "Service Control API", @@ -1291,14 +1291,16 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request. This payload should not contain any core content.", + "deprecated": true, + "description": "Optional. Deprecated. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request.", "type": "object" }, "resourceTags": { "additionalProperties": { "type": "string" }, - "description": "Optional. Tags referenced on the resource at the time of evaluation. These also include the federated tags, if they are supplied in the CheckOrgPolicy or CheckCustomConstraints Requests. Optional field as of now. These tags are the Cloud tags that are available on the resource during the policy evaluation and will be available as part of the OrgPolicy check response for logging purposes.", + "deprecated": true, + "description": "Optional. Deprecated. Tags referenced on the resource at the time of evaluation.", "type": "object" }, "resourceType": { diff --git a/discovery/googleapis/servicecontrol__v2.json b/discovery/googleapis/servicecontrol__v2.json index 214bb6173..ad24b0466 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": "20240516", + "revision": "20240531", "rootUrl": "https://servicecontrol.googleapis.com/", "servicePath": "", "title": "Service Control API", @@ -531,14 +531,16 @@ "description": "Properties of the object.", "type": "any" }, - "description": "Optional. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request. This payload should not contain any core content.", + "deprecated": true, + "description": "Optional. Deprecated. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request.", "type": "object" }, "resourceTags": { "additionalProperties": { "type": "string" }, - "description": "Optional. Tags referenced on the resource at the time of evaluation. These also include the federated tags, if they are supplied in the CheckOrgPolicy or CheckCustomConstraints Requests. Optional field as of now. These tags are the Cloud tags that are available on the resource during the policy evaluation and will be available as part of the OrgPolicy check response for logging purposes.", + "deprecated": true, + "description": "Optional. Deprecated. Tags referenced on the resource at the time of evaluation.", "type": "object" }, "resourceType": { diff --git a/discovery/googleapis/servicedirectory__v1.json b/discovery/googleapis/servicedirectory__v1.json index a80832cdf..8082fdb35 100644 --- a/discovery/googleapis/servicedirectory__v1.json +++ b/discovery/googleapis/servicedirectory__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240516", + "revision": "20240602", "rootUrl": "https://servicedirectory.googleapis.com/", "servicePath": "", "title": "Service Directory API", diff --git a/discovery/googleapis/servicemanagement__v1.json b/discovery/googleapis/servicemanagement__v1.json index 8b5136afc..e91e63c3c 100644 --- a/discovery/googleapis/servicemanagement__v1.json +++ b/discovery/googleapis/servicemanagement__v1.json @@ -34,7 +34,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240517", + "revision": "20240607", "rootUrl": "https://servicemanagement.googleapis.com/", "servicePath": "", "title": "Service Management API", @@ -2044,7 +2044,7 @@ "type": "object" }, "HttpRule": { - "description": "# gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/{name=messages/*}\" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: \"messages/123456\")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:\"/v1/messages/{message_id}\" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"message\" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"*\" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" text: \"Hi!\")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/messages/{message_id}\" additional_bindings { get: \"/v1/users/{user_id}/messages/{message_id}\" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id: \"123456\")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is \"*\", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = \"/\" Segments [ Verb ] ; Segments = Segment { \"/\" Segment } ; Segment = \"*\" | \"**\" | LITERAL | Variable ; Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ; FieldPath = IDENT { \".\" IDENT } ; Verb = \":\" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `\"{var}\"` or `\"{var=*}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `\"{var=foo/*}\"` or `\"{var=**}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading \"/\" character. The reason is that the most common use case \"{var}\" does not capture the leading \"/\" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.", + "description": "gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/{name=messages/*}\" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(name: \"messages/123456\")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:\"/v1/messages/{message_id}\" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` - gRPC: `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"message\" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"*\" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" text: \"Hi!\")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/messages/{message_id}\" additional_bindings { get: \"/v1/users/{user_id}/messages/{message_id}\" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(message_id: \"123456\")` - HTTP: `GET /v1/users/me/messages/123456` - gRPC: `GetMessage(user_id: \"me\" message_id: \"123456\")` Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is \"*\", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. Path template syntax Template = \"/\" Segments [ Verb ] ; Segments = Segment { \"/\" Segment } ; Segment = \"*\" | \"**\" | LITERAL | Variable ; Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ; FieldPath = IDENT { \".\" IDENT } ; Verb = \":\" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `\"{var}\"` or `\"{var=*}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `\"{var=foo/*}\"` or `\"{var=**}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example below selects a gRPC method and applies HttpRule to it. http: rules: - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading \"/\" character. The reason is that the most common use case \"{var}\" does not capture the leading \"/\" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.", "id": "HttpRule", "properties": { "additionalBindings": { diff --git a/discovery/googleapis/servicenetworking__v1.json b/discovery/googleapis/servicenetworking__v1.json index d2020bc9e..303cbc489 100644 --- a/discovery/googleapis/servicenetworking__v1.json +++ b/discovery/googleapis/servicenetworking__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://servicenetworking.googleapis.com/", "servicePath": "", "title": "Service Networking API", @@ -2423,7 +2423,7 @@ "type": "object" }, "HttpRule": { - "description": "# gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/{name=messages/*}\" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: \"messages/123456\")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:\"/v1/messages/{message_id}\" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"message\" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"*\" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" text: \"Hi!\")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/messages/{message_id}\" additional_bindings { get: \"/v1/users/{user_id}/messages/{message_id}\" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id: \"123456\")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is \"*\", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = \"/\" Segments [ Verb ] ; Segments = Segment { \"/\" Segment } ; Segment = \"*\" | \"**\" | LITERAL | Variable ; Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ; FieldPath = IDENT { \".\" IDENT } ; Verb = \":\" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `\"{var}\"` or `\"{var=*}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `\"{var=foo/*}\"` or `\"{var=**}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading \"/\" character. The reason is that the most common use case \"{var}\" does not capture the leading \"/\" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.", + "description": "gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/{name=messages/*}\" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(name: \"messages/123456\")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:\"/v1/messages/{message_id}\" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` - gRPC: `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"message\" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"*\" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" text: \"Hi!\")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/messages/{message_id}\" additional_bindings { get: \"/v1/users/{user_id}/messages/{message_id}\" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(message_id: \"123456\")` - HTTP: `GET /v1/users/me/messages/123456` - gRPC: `GetMessage(user_id: \"me\" message_id: \"123456\")` Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is \"*\", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. Path template syntax Template = \"/\" Segments [ Verb ] ; Segments = Segment { \"/\" Segment } ; Segment = \"*\" | \"**\" | LITERAL | Variable ; Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ; FieldPath = IDENT { \".\" IDENT } ; Verb = \":\" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `\"{var}\"` or `\"{var=*}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `\"{var=foo/*}\"` or `\"{var=**}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example below selects a gRPC method and applies HttpRule to it. http: rules: - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading \"/\" character. The reason is that the most common use case \"{var}\" does not capture the leading \"/\" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.", "id": "HttpRule", "properties": { "additionalBindings": { diff --git a/discovery/googleapis/serviceusage__v1.json b/discovery/googleapis/serviceusage__v1.json index 645affaf3..f042cf8a6 100644 --- a/discovery/googleapis/serviceusage__v1.json +++ b/discovery/googleapis/serviceusage__v1.json @@ -31,7 +31,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240609", "rootUrl": "https://serviceusage.googleapis.com/", "servicePath": "", "title": "Service Usage API", @@ -1973,7 +1973,7 @@ "type": "object" }, "HttpRule": { - "description": "# gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/{name=messages/*}\" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: \"messages/123456\")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:\"/v1/messages/{message_id}\" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"message\" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"*\" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" text: \"Hi!\")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/messages/{message_id}\" additional_bindings { get: \"/v1/users/{user_id}/messages/{message_id}\" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id: \"123456\")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is \"*\", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = \"/\" Segments [ Verb ] ; Segments = Segment { \"/\" Segment } ; Segment = \"*\" | \"**\" | LITERAL | Variable ; Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ; FieldPath = IDENT { \".\" IDENT } ; Verb = \":\" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `\"{var}\"` or `\"{var=*}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `\"{var=foo/*}\"` or `\"{var=**}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading \"/\" character. The reason is that the most common use case \"{var}\" does not capture the leading \"/\" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.", + "description": "gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/{name=messages/*}\" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(name: \"messages/123456\")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:\"/v1/messages/{message_id}\" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` - gRPC: `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"message\" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" message { text: \"Hi!\" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: \"/v1/messages/{message_id}\" body: \"*\" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: - HTTP: `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` - gRPC: `UpdateMessage(message_id: \"123456\" text: \"Hi!\")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: \"/v1/messages/{message_id}\" additional_bindings { get: \"/v1/users/{user_id}/messages/{message_id}\" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: - HTTP: `GET /v1/messages/123456` - gRPC: `GetMessage(message_id: \"123456\")` - HTTP: `GET /v1/users/me/messages/123456` - gRPC: `GetMessage(user_id: \"me\" message_id: \"123456\")` Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is \"*\", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. Path template syntax Template = \"/\" Segments [ Verb ] ; Segments = Segment { \"/\" Segment } ; Segment = \"*\" | \"**\" | LITERAL | Variable ; Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ; FieldPath = IDENT { \".\" IDENT } ; Verb = \":\" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `\"{var}\"` or `\"{var=*}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `\"{var=foo/*}\"` or `\"{var=**}\"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example below selects a gRPC method and applies HttpRule to it. http: rules: - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading \"/\" character. The reason is that the most common use case \"{var}\" does not capture the leading \"/\" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.", "id": "HttpRule", "properties": { "additionalBindings": { diff --git a/discovery/googleapis/sheets__v4.json b/discovery/googleapis/sheets__v4.json index 8c2cef14a..7d720f5af 100644 --- a/discovery/googleapis/sheets__v4.json +++ b/discovery/googleapis/sheets__v4.json @@ -37,7 +37,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240521", + "revision": "20240604", "rootUrl": "https://sheets.googleapis.com/", "servicePath": "", "title": "Google Sheets API", diff --git a/discovery/googleapis/slides__v1.json b/discovery/googleapis/slides__v1.json index 26664b1b0..8b0fef254 100644 --- a/discovery/googleapis/slides__v1.json +++ b/discovery/googleapis/slides__v1.json @@ -43,7 +43,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240521", + "revision": "20240604", "rootUrl": "https://slides.googleapis.com/", "servicePath": "", "title": "Google Slides API", diff --git a/discovery/googleapis/smartdevicemanagement__v1.json b/discovery/googleapis/smartdevicemanagement__v1.json index 5b2cefd83..289c16e33 100644 --- a/discovery/googleapis/smartdevicemanagement__v1.json +++ b/discovery/googleapis/smartdevicemanagement__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240503", + "revision": "20240527", "rootUrl": "https://smartdevicemanagement.googleapis.com/", "servicePath": "", "title": "Smart Device Management API", diff --git a/discovery/googleapis/solar__v1.json b/discovery/googleapis/solar__v1.json index ed90510e7..49306ef61 100644 --- a/discovery/googleapis/solar__v1.json +++ b/discovery/googleapis/solar__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240610", "rootUrl": "https://solar.googleapis.com/", "servicePath": "", "title": "Solar API", diff --git a/discovery/googleapis/sourcerepo__v1.json b/discovery/googleapis/sourcerepo__v1.json index 63dc59358..32ac42ae6 100644 --- a/discovery/googleapis/sourcerepo__v1.json +++ b/discovery/googleapis/sourcerepo__v1.json @@ -34,7 +34,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240610", "rootUrl": "https://sourcerepo.googleapis.com/", "servicePath": "", "title": "Cloud Source Repositories API", diff --git a/discovery/googleapis/spanner__v1.json b/discovery/googleapis/spanner__v1.json index f03a9f471..c22b76018 100644 --- a/discovery/googleapis/spanner__v1.json +++ b/discovery/googleapis/spanner__v1.json @@ -38,7 +38,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240527", + "revision": "20240607", "rootUrl": "https://spanner.googleapis.com/", "servicePath": "", "title": "Cloud Spanner API", diff --git a/discovery/googleapis/speech__v1.json b/discovery/googleapis/speech__v1.json index 6cc4a79e3..9adb015d3 100644 --- a/discovery/googleapis/speech__v1.json +++ b/discovery/googleapis/speech__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240523", + "revision": "20240605", "rootUrl": "https://speech.googleapis.com/", "servicePath": "", "title": "Cloud Speech-to-Text API", diff --git a/discovery/googleapis/speech__v2.json b/discovery/googleapis/speech__v2.json index 39768b517..d6290450f 100644 --- a/discovery/googleapis/speech__v2.json +++ b/discovery/googleapis/speech__v2.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240523", + "revision": "20240605", "rootUrl": "https://speech.googleapis.com/", "servicePath": "", "title": "Cloud Speech-to-Text API", @@ -1056,7 +1056,7 @@ "type": "object" }, "AutoDetectDecodingConfig": { - "description": "Automatically detected decoding parameters. Supported for the following encodings: * WAV_LINEAR16: 16-bit signed little-endian PCM samples in a WAV container. * WAV_MULAW: 8-bit companded mulaw samples in a WAV container. * WAV_ALAW: 8-bit companded alaw samples in a WAV container. * RFC4867_5_AMR: AMR frames with an rfc4867.5 header. * RFC4867_5_AMRWB: AMR-WB frames with an rfc4867.5 header. * FLAC: FLAC frames in the \"native FLAC\" container format. * MP3: MPEG audio frames with optional (ignored) ID3 metadata. * OGG_OPUS: Opus audio frames in an Ogg container. * WEBM_OPUS: Opus audio frames in a WebM container. * M4A: M4A audio format.", + "description": "Automatically detected decoding parameters. Supported for the following encodings: * WAV_LINEAR16: 16-bit signed little-endian PCM samples in a WAV container. * WAV_MULAW: 8-bit companded mulaw samples in a WAV container. * WAV_ALAW: 8-bit companded alaw samples in a WAV container. * RFC4867_5_AMR: AMR frames with an rfc4867.5 header. * RFC4867_5_AMRWB: AMR-WB frames with an rfc4867.5 header. * FLAC: FLAC frames in the \"native FLAC\" container format. * MP3: MPEG audio frames with optional (ignored) ID3 metadata. * OGG_OPUS: Opus audio frames in an Ogg container. * WEBM_OPUS: Opus audio frames in a WebM container. * MP4_AAC: AAC audio frames in an MP4 container. * M4A_AAC: AAC audio frames in an M4A container. * MOV_AAC: AAC audio frames in an MOV container.", "id": "AutoDetectDecodingConfig", "properties": {}, "type": "object" diff --git a/discovery/googleapis/storage__v1.json b/discovery/googleapis/storage__v1.json index 8378abfd7..54b341d6d 100644 --- a/discovery/googleapis/storage__v1.json +++ b/discovery/googleapis/storage__v1.json @@ -33,7 +33,7 @@ "location": "me-central2" } ], - "etag": "\"3132383134303835313436343635393933303731\"", + "etag": "\"3135333230323737323330303239393232303334\"", "icons": { "x16": "https://www.google.com/images/icons/product/cloud_storage-16.png", "x32": "https://www.google.com/images/icons/product/cloud_storage-32.png" @@ -47,7 +47,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240524", + "revision": "20240610", "rootUrl": "https://storage.googleapis.com/", "servicePath": "storage/v1/", "title": "Cloud Storage JSON API", diff --git a/discovery/googleapis/storagetransfer__v1.json b/discovery/googleapis/storagetransfer__v1.json index 3e4f43e9a..121dd25f3 100644 --- a/discovery/googleapis/storagetransfer__v1.json +++ b/discovery/googleapis/storagetransfer__v1.json @@ -24,7 +24,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240518", + "revision": "20240608", "rootUrl": "https://storagetransfer.googleapis.com/", "servicePath": "", "title": "Storage Transfer API", diff --git a/discovery/googleapis/streetviewpublish__v1.json b/discovery/googleapis/streetviewpublish__v1.json index 66d202c5e..4085a2b07 100644 --- a/discovery/googleapis/streetviewpublish__v1.json +++ b/discovery/googleapis/streetviewpublish__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://streetviewpublish.googleapis.com/", "servicePath": "", "title": "Street View Publish API", diff --git a/discovery/googleapis/sts__v1.json b/discovery/googleapis/sts__v1.json index 105b52853..81f5fb106 100644 --- a/discovery/googleapis/sts__v1.json +++ b/discovery/googleapis/sts__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240610", "rootUrl": "https://sts.googleapis.com/", "servicePath": "", "title": "Security Token Service API", diff --git a/discovery/googleapis/tagmanager__v1.json b/discovery/googleapis/tagmanager__v1.json index 26c338848..737d4781d 100644 --- a/discovery/googleapis/tagmanager__v1.json +++ b/discovery/googleapis/tagmanager__v1.json @@ -43,7 +43,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240522", + "revision": "20240610", "rootUrl": "https://tagmanager.googleapis.com/", "servicePath": "", "title": "Tag Manager API", diff --git a/discovery/googleapis/tagmanager__v2.json b/discovery/googleapis/tagmanager__v2.json index 6c3e466df..f91dc8d14 100644 --- a/discovery/googleapis/tagmanager__v2.json +++ b/discovery/googleapis/tagmanager__v2.json @@ -43,7 +43,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240522", + "revision": "20240610", "rootUrl": "https://tagmanager.googleapis.com/", "servicePath": "", "title": "Tag Manager API", @@ -4355,7 +4355,7 @@ "", "", "", - "NOTE(lanzone): When defining a ConditionType here, don't forget to also define a matching PredicateType (in condition.proto)." + "" ], "type": "string" } diff --git a/discovery/googleapis/tasks__v1.json b/discovery/googleapis/tasks__v1.json index 261973b7d..7dbd1d670 100644 --- a/discovery/googleapis/tasks__v1.json +++ b/discovery/googleapis/tasks__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://tasks.googleapis.com/", "servicePath": "", "title": "Google Tasks API", diff --git a/discovery/googleapis/testing__v1.json b/discovery/googleapis/testing__v1.json index b1c418f9d..343bc6619 100644 --- a/discovery/googleapis/testing__v1.json +++ b/discovery/googleapis/testing__v1.json @@ -27,7 +27,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240524", + "revision": "20240604", "rootUrl": "https://testing.googleapis.com/", "servicePath": "", "title": "Cloud Testing API", diff --git a/discovery/googleapis/texttospeech__v1.json b/discovery/googleapis/texttospeech__v1.json index aead4baca..bb744b289 100644 --- a/discovery/googleapis/texttospeech__v1.json +++ b/discovery/googleapis/texttospeech__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240525", + "revision": "20240530", "rootUrl": "https://texttospeech.googleapis.com/", "servicePath": "", "title": "Cloud Text-to-Speech API", diff --git a/discovery/googleapis/tpu__v1.json b/discovery/googleapis/tpu__v1.json index 793af4e56..3c16b69e0 100644 --- a/discovery/googleapis/tpu__v1.json +++ b/discovery/googleapis/tpu__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240519", + "revision": "20240530", "rootUrl": "https://tpu.googleapis.com/", "servicePath": "", "title": "Cloud TPU API", diff --git a/discovery/googleapis/tpu__v2.json b/discovery/googleapis/tpu__v2.json index c22727b91..1aea1c87d 100644 --- a/discovery/googleapis/tpu__v2.json +++ b/discovery/googleapis/tpu__v2.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240519", + "revision": "20240530", "rootUrl": "https://tpu.googleapis.com/", "servicePath": "", "title": "Cloud TPU API", @@ -907,6 +907,7 @@ "V2", "V3", "V4", + "V5LITE_POD", "V5P" ], "enumDescriptions": [ @@ -914,6 +915,7 @@ "TPU v2.", "TPU v3.", "TPU v4.", + "TPU v5lite pod.", "TPU v5p" ], "type": "string" diff --git a/discovery/googleapis/trafficdirector__v2.json b/discovery/googleapis/trafficdirector__v2.json index bdb16ca27..3c3386b9e 100644 --- a/discovery/googleapis/trafficdirector__v2.json +++ b/discovery/googleapis/trafficdirector__v2.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240513", + "revision": "20240522", "rootUrl": "https://trafficdirector.googleapis.com/", "servicePath": "", "title": "Traffic Director API", diff --git a/discovery/googleapis/trafficdirector__v3.json b/discovery/googleapis/trafficdirector__v3.json index 35550adc1..b60a30b70 100644 --- a/discovery/googleapis/trafficdirector__v3.json +++ b/discovery/googleapis/trafficdirector__v3.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240513", + "revision": "20240522", "rootUrl": "https://trafficdirector.googleapis.com/", "servicePath": "", "title": "Traffic Director API", diff --git a/discovery/googleapis/transcoder__v1.json b/discovery/googleapis/transcoder__v1.json index b54d1a783..a1c5da09e 100644 --- a/discovery/googleapis/transcoder__v1.json +++ b/discovery/googleapis/transcoder__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240515", + "revision": "20240529", "rootUrl": "https://transcoder.googleapis.com/", "servicePath": "", "title": "Transcoder API", diff --git a/discovery/googleapis/travelimpactmodel__v1.json b/discovery/googleapis/travelimpactmodel__v1.json index 41820e5fa..082fc6a5f 100644 --- a/discovery/googleapis/travelimpactmodel__v1.json +++ b/discovery/googleapis/travelimpactmodel__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240611", "rootUrl": "https://travelimpactmodel.googleapis.com/", "servicePath": "", "title": "Travel Impact Model API", diff --git a/discovery/googleapis/vault__v1.json b/discovery/googleapis/vault__v1.json index 853d36c99..adafa765a 100644 --- a/discovery/googleapis/vault__v1.json +++ b/discovery/googleapis/vault__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240510", + "revision": "20240605", "rootUrl": "https://vault.googleapis.com/", "servicePath": "", "title": "Google Vault API", diff --git a/discovery/googleapis/verifiedaccess__v1.json b/discovery/googleapis/verifiedaccess__v1.json index 9a3da3663..c77f7cf35 100644 --- a/discovery/googleapis/verifiedaccess__v1.json +++ b/discovery/googleapis/verifiedaccess__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240514", + "revision": "20240605", "rootUrl": "https://verifiedaccess.googleapis.com/", "servicePath": "", "title": "Chrome Verified Access API", diff --git a/discovery/googleapis/verifiedaccess__v2.json b/discovery/googleapis/verifiedaccess__v2.json index 9bd0a1fb5..1208ccc60 100644 --- a/discovery/googleapis/verifiedaccess__v2.json +++ b/discovery/googleapis/verifiedaccess__v2.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240514", + "revision": "20240605", "rootUrl": "https://verifiedaccess.googleapis.com/", "servicePath": "", "title": "Chrome Verified Access API", diff --git a/discovery/googleapis/versionhistory__v1.json b/discovery/googleapis/versionhistory__v1.json index 809440078..f22910e0a 100644 --- a/discovery/googleapis/versionhistory__v1.json +++ b/discovery/googleapis/versionhistory__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://versionhistory.googleapis.com/", "servicePath": "", "title": "versionhistory.googleapis.com API", diff --git a/discovery/googleapis/videointelligence__v1.json b/discovery/googleapis/videointelligence__v1.json index 3bd25d69e..78445946f 100644 --- a/discovery/googleapis/videointelligence__v1.json +++ b/discovery/googleapis/videointelligence__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240327", + "revision": "20240530", "rootUrl": "https://videointelligence.googleapis.com/", "servicePath": "", "title": "Cloud Video Intelligence API", diff --git a/discovery/googleapis/vision__v1.json b/discovery/googleapis/vision__v1.json index 8cdb741f1..461ecb4de 100644 --- a/discovery/googleapis/vision__v1.json +++ b/discovery/googleapis/vision__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240524", + "revision": "20240607", "rootUrl": "https://vision.googleapis.com/", "servicePath": "", "title": "Cloud Vision API", diff --git a/discovery/googleapis/vmmigration__v1.json b/discovery/googleapis/vmmigration__v1.json index 90c2de7d2..1633cf13b 100644 --- a/discovery/googleapis/vmmigration__v1.json +++ b/discovery/googleapis/vmmigration__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240516", + "revision": "20240530", "rootUrl": "https://vmmigration.googleapis.com/", "servicePath": "", "title": "VM Migration API", @@ -2331,17 +2331,20 @@ "id": "AwsDiskDetails", "properties": { "diskNumber": { - "description": "The ordinal number of the disk.", + "description": "Output only. The ordinal number of the disk.", "format": "int32", + "readOnly": true, "type": "integer" }, "sizeGb": { - "description": "Size in GB.", + "description": "Output only. Size in GB.", "format": "int64", + "readOnly": true, "type": "string" }, "volumeId": { - "description": "AWS volume ID.", + "description": "Output only. AWS volume ID.", + "readOnly": true, "type": "string" } }, @@ -2430,19 +2433,21 @@ "id": "AwsSourceVmDetails", "properties": { "committedStorageBytes": { - "description": "The total size of the disks being migrated in bytes.", + "description": "Output only. The total size of the disks being migrated in bytes.", "format": "int64", + "readOnly": true, "type": "string" }, "disks": { - "description": "The disks attached to the source VM.", + "description": "Output only. The disks attached to the source VM.", "items": { "$ref": "AwsDiskDetails" }, + "readOnly": true, "type": "array" }, "firmware": { - "description": "The firmware type of the source VM.", + "description": "Output only. The firmware type of the source VM.", "enum": [ "FIRMWARE_UNSPECIFIED", "EFI", @@ -2453,6 +2458,7 @@ "The firmware is EFI.", "The firmware is BIOS." ], + "readOnly": true, "type": "string" }, "vmCapabilitiesInfo": { @@ -2620,17 +2626,20 @@ "id": "AzureDiskDetails", "properties": { "diskId": { - "description": "Azure disk ID.", + "description": "Output only. Azure disk ID.", + "readOnly": true, "type": "string" }, "diskNumber": { - "description": "The ordinal number of the disk.", + "description": "Output only. The ordinal number of the disk.", "format": "int32", + "readOnly": true, "type": "integer" }, "sizeGb": { - "description": "Size in GB.", + "description": "Output only. Size in GB.", "format": "int64", + "readOnly": true, "type": "string" } }, @@ -2694,19 +2703,21 @@ "id": "AzureSourceVmDetails", "properties": { "committedStorageBytes": { - "description": "The total size of the disks being migrated in bytes.", + "description": "Output only. The total size of the disks being migrated in bytes.", "format": "int64", + "readOnly": true, "type": "string" }, "disks": { - "description": "The disks attached to the source VM.", + "description": "Output only. The disks attached to the source VM.", "items": { "$ref": "AzureDiskDetails" }, + "readOnly": true, "type": "array" }, "firmware": { - "description": "The firmware type of the source VM.", + "description": "Output only. The firmware type of the source VM.", "enum": [ "FIRMWARE_UNSPECIFIED", "EFI", @@ -2717,6 +2728,7 @@ "The firmware is EFI.", "The firmware is BIOS." ], + "readOnly": true, "type": "string" }, "vmCapabilitiesInfo": { @@ -4789,7 +4801,8 @@ "properties": { "actionItem": { "$ref": "LocalizedMessage", - "description": "Suggested action for solving the warning." + "description": "Output only. Suggested action for solving the warning.", + "readOnly": true }, "code": { "description": "The warning code.", @@ -4804,15 +4817,17 @@ "type": "string" }, "helpLinks": { - "description": "URL(s) pointing to additional information on handling the current warning.", + "description": "Output only. URL(s) pointing to additional information on handling the current warning.", "items": { "$ref": "Link" }, + "readOnly": true, "type": "array" }, "warningMessage": { "$ref": "LocalizedMessage", - "description": "The localized warning message." + "description": "Output only. The localized warning message.", + "readOnly": true }, "warningTime": { "description": "The time the warning occurred.", @@ -4827,11 +4842,11 @@ "id": "NetworkInterface", "properties": { "externalIp": { - "description": "The external IP to define in the NIC.", + "description": "Optional. The external IP to define in the NIC.", "type": "string" }, "internalIp": { - "description": "The internal IP to define in the NIC. The formats accepted are: `ephemeral` \\ ipv4 address \\ a named address resource full path.", + "description": "Optional. The internal IP to define in the NIC. The formats accepted are: `ephemeral` \\ ipv4 address \\ a named address resource full path.", "type": "string" }, "network": { @@ -5102,7 +5117,8 @@ }, "error": { "$ref": "Status", - "description": "Provides details on the state of the cycle in case of an error." + "description": "Output only. Provides details on the state of the cycle in case of an error.", + "readOnly": true }, "name": { "description": "The identifier of the ReplicationCycle.", @@ -5321,11 +5337,11 @@ "id": "Tag", "properties": { "key": { - "description": "Key of tag.", + "description": "Required. Key of tag.", "type": "string" }, "value": { - "description": "Value of tag.", + "description": "Required. Value of tag.", "type": "string" } }, @@ -5380,7 +5396,8 @@ "properties": { "error": { "$ref": "Status", - "description": "Provides details on the state of the upgrade operation in case of an error." + "description": "Output only. Provides details on the state of the upgrade operation in case of an error.", + "readOnly": true }, "previousVersion": { "description": "The version from which we upgraded.", @@ -5612,17 +5629,20 @@ "id": "VmwareDiskDetails", "properties": { "diskNumber": { - "description": "The ordinal number of the disk.", + "description": "Output only. The ordinal number of the disk.", "format": "int32", + "readOnly": true, "type": "integer" }, "label": { - "description": "The disk label.", + "description": "Output only. The disk label.", + "readOnly": true, "type": "string" }, "sizeGb": { - "description": "Size in GB.", + "description": "Output only. Size in GB.", "format": "int64", + "readOnly": true, "type": "string" } }, @@ -5660,19 +5680,21 @@ "id": "VmwareSourceVmDetails", "properties": { "committedStorageBytes": { - "description": "The total size of the disks being migrated in bytes.", + "description": "Output only. The total size of the disks being migrated in bytes.", "format": "int64", + "readOnly": true, "type": "string" }, "disks": { - "description": "The disks attached to the source VM.", + "description": "Output only. The disks attached to the source VM.", "items": { "$ref": "VmwareDiskDetails" }, + "readOnly": true, "type": "array" }, "firmware": { - "description": "The firmware type of the source VM.", + "description": "Output only. The firmware type of the source VM.", "enum": [ "FIRMWARE_UNSPECIFIED", "EFI", @@ -5683,6 +5705,7 @@ "The firmware is EFI.", "The firmware is BIOS." ], + "readOnly": true, "type": "string" }, "vmCapabilitiesInfo": { diff --git a/discovery/googleapis/vmwareengine__v1.json b/discovery/googleapis/vmwareengine__v1.json index 11b2ed62e..ebcbb226c 100644 --- a/discovery/googleapis/vmwareengine__v1.json +++ b/discovery/googleapis/vmwareengine__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240424", + "revision": "20240528", "rootUrl": "https://vmwareengine.googleapis.com/", "servicePath": "", "title": "VMware Engine API", @@ -3641,12 +3641,14 @@ "enum": [ "STATE_UNSPECIFIED", "ACTIVE", - "CREATING" + "CREATING", + "ACTIVATING" ], "enumDescriptions": [ "Unspecified appliance state. This is the default value.", "The appliance is operational and can be used.", - "The appliance is being deployed." + "The appliance is being deployed.", + "The appliance is being activated." ], "readOnly": true, "type": "string" @@ -4438,7 +4440,8 @@ "PRIVATE_SERVICES_ACCESS", "NETAPP_CLOUD_VOLUMES", "THIRD_PARTY_SERVICE", - "DELL_POWERSCALE" + "DELL_POWERSCALE", + "GOOGLE_CLOUD_NETAPP_VOLUMES" ], "enumDescriptions": [ "Unspecified", @@ -4447,7 +4450,8 @@ "Peering connection used for establishing [private services access](https://cloud.google.com/vpc/docs/private-services-access).", "Peering connection used for connecting to NetApp Cloud Volumes.", "Peering connection used for connecting to third-party services. Most third-party services require manual setup of reverse peering on the VPC network associated with the third-party service.", - "Peering connection used for connecting to Dell PowerScale Filers" + "Peering connection used for connecting to Dell PowerScale Filers", + "Peering connection used for connecting to Google Cloud NetApp Volumes." ], "type": "string" }, diff --git a/discovery/googleapis/vpcaccess__v1.json b/discovery/googleapis/vpcaccess__v1.json index 964b734d5..628fe2b7a 100644 --- a/discovery/googleapis/vpcaccess__v1.json +++ b/discovery/googleapis/vpcaccess__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240502", + "revision": "20240530", "rootUrl": "https://vpcaccess.googleapis.com/", "servicePath": "", "title": "Serverless VPC Access API", diff --git a/discovery/googleapis/walletobjects__v1.json b/discovery/googleapis/walletobjects__v1.json index c9f2708bd..36d2c083d 100644 --- a/discovery/googleapis/walletobjects__v1.json +++ b/discovery/googleapis/walletobjects__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240530", + "revision": "20240613", "rootUrl": "https://walletobjects.googleapis.com/", "servicePath": "", "title": "Google Wallet API", @@ -6852,7 +6852,7 @@ }, "hash": { "deprecated": true, - "description": "Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be populated on Scotty based media uploads and will contain the content of the hash group in the NotificationRequest: http://cs/#google3/uploader/service/proto/upload_listener.proto&q=class:Hash Hex encoded hash value of the uploaded media.", + "description": "Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be populated on Scotty based media uploads and will contain the content of the hash group in the NotificationRequest: http://cs/#google3/blobstore2/api/scotty/service/proto/upload_listener.proto&q=class:Hash Hex encoded hash value of the uploaded media.", "type": "string" }, "hashVerified": { diff --git a/discovery/googleapis/webfonts__v1.json b/discovery/googleapis/webfonts__v1.json index 32b4416ad..0c6452b34 100644 --- a/discovery/googleapis/webfonts__v1.json +++ b/discovery/googleapis/webfonts__v1.json @@ -16,7 +16,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240605", "rootUrl": "https://webfonts.googleapis.com/", "servicePath": "", "title": "Web Fonts Developer API", diff --git a/discovery/googleapis/webrisk__v1.json b/discovery/googleapis/webrisk__v1.json index 4d7b4ec14..8c6e2ea2a 100644 --- a/discovery/googleapis/webrisk__v1.json +++ b/discovery/googleapis/webrisk__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240519", + "revision": "20240609", "rootUrl": "https://webrisk.googleapis.com/", "servicePath": "", "title": "Web Risk API", diff --git a/discovery/googleapis/websecurityscanner__v1.json b/discovery/googleapis/websecurityscanner__v1.json index 16befc79a..c297e5796 100644 --- a/discovery/googleapis/websecurityscanner__v1.json +++ b/discovery/googleapis/websecurityscanner__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240609", "rootUrl": "https://websecurityscanner.googleapis.com/", "servicePath": "", "title": "Web Security Scanner API", diff --git a/discovery/googleapis/workflowexecutions__v1.json b/discovery/googleapis/workflowexecutions__v1.json index d9b0c6cf7..d389b7fb6 100644 --- a/discovery/googleapis/workflowexecutions__v1.json +++ b/discovery/googleapis/workflowexecutions__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240507", + "revision": "20240528", "rootUrl": "https://workflowexecutions.googleapis.com/", "servicePath": "", "title": "Workflow Executions API", @@ -278,7 +278,7 @@ ], "parameters": { "filter": { - "description": "Optional. Filters applied to the `[Executions.ListExecutions]` results. The following fields are supported for filtering: `executionId`, `state`, `createTime`, `startTime`, `endTime`, `duration`, `workflowRevisionId`, `stepName`, and `label`. For details, see AIP-160. For example, if you are using the Google APIs Explorer: `state=\"SUCCEEDED\"` or `startTime>\"2023-08-01\" AND state=\"FAILED\"`", + "description": "Optional. Filters applied to the `[Executions.ListExecutions]` results. The following fields are supported for filtering: `executionId`, `state`, `createTime`, `startTime`, `endTime`, `duration`, `workflowRevisionId`, `stepName`, and `label`. For details, see AIP-160. For more information, see Filter executions. For example, if you are using the Google APIs Explorer: `state=\"SUCCEEDED\"` or `startTime>\"2023-08-01\" AND state=\"FAILED\"`", "location": "query", "type": "string" }, @@ -1008,6 +1008,11 @@ "description": "StepEntryMetadata contains metadata information about this step.", "id": "StepEntryMetadata", "properties": { + "expectedIteration": { + "description": "Expected iteration represents the expected number of iterations in the step's progress.", + "format": "int64", + "type": "string" + }, "progressNumber": { "description": "Progress number represents the current state of the current progress. eg: A step entry represents the 4th iteration in a progress of PROGRESS_TYPE_FOR.", "format": "int64", diff --git a/discovery/googleapis/workflows__v1.json b/discovery/googleapis/workflows__v1.json index c7394039c..6e502c6b0 100644 --- a/discovery/googleapis/workflows__v1.json +++ b/discovery/googleapis/workflows__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240508", + "revision": "20240529", "rootUrl": "https://workflows.googleapis.com/", "servicePath": "", "title": "Workflows API", diff --git a/discovery/googleapis/workspaceevents__v1.json b/discovery/googleapis/workspaceevents__v1.json index 4cb841c22..fc546d537 100644 --- a/discovery/googleapis/workspaceevents__v1.json +++ b/discovery/googleapis/workspaceevents__v1.json @@ -55,7 +55,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240604", "rootUrl": "https://workspaceevents.googleapis.com/", "servicePath": "", "title": "Google Workspace Events API", diff --git a/discovery/googleapis/workstations__v1.json b/discovery/googleapis/workstations__v1.json index 592304088..0bb789465 100644 --- a/discovery/googleapis/workstations__v1.json +++ b/discovery/googleapis/workstations__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240528", "rootUrl": "https://workstations.googleapis.com/", "servicePath": "", "title": "Cloud Workstations API", @@ -1349,11 +1349,11 @@ "type": "object" }, "DomainConfig": { - "description": "Configuration options for a custom domain.", + "description": "Configuration options for private workstation clusters.", "id": "DomainConfig", "properties": { "domain": { - "description": "Immutable. Domain used by Workstations for HTTP ingress.", + "description": "Immutable. Whether Workstations endpoint is private.", "type": "string" } }, @@ -1437,7 +1437,7 @@ "type": "boolean" }, "enableNestedVirtualization": { - "description": "Optional. Whether to enable nested virtualization on Cloud Workstations VMs created using this workstation configuration. Nested virtualization lets you run virtual machine (VM) instances inside your workstation. Before enabling nested virtualization, consider the following important considerations. Cloud Workstations instances are subject to the [same restrictions as Compute Engine instances](https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions): * **Organization policy**: projects, folders, or organizations may be restricted from creating nested VMs if the **Disable VM nested virtualization** constraint is enforced in the organization policy. For more information, see the Compute Engine section, [Checking whether nested virtualization is allowed](https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed). * **Performance**: nested VMs might experience a 10% or greater decrease in performance for workloads that are CPU-bound and possibly greater than a 10% decrease for workloads that are input/output bound. * **Machine Type**: nested virtualization can only be enabled on workstation configurations that specify a machine_type in the N1 or N2 machine series. * **GPUs**: nested virtualization may not be enabled on workstation configurations with accelerators. * **Operating System**: Because [Container-Optimized OS](https://cloud.google.com/compute/docs/images/os-details#container-optimized_os_cos) does not support nested virtualization, when nested virtualization is enabled, the underlying Compute Engine VM instances boot from an [Ubuntu LTS](https://cloud.google.com/compute/docs/images/os-details#ubuntu_lts) image.", + "description": "Optional. Whether to enable nested virtualization on Cloud Workstations VMs created using this workstation configuration. Nested virtualization lets you run virtual machine (VM) instances inside your workstation. Before enabling nested virtualization, consider the following important considerations. Cloud Workstations instances are subject to the [same restrictions as Compute Engine instances](https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions): * **Organization policy**: projects, folders, or organizations may be restricted from creating nested VMs if the **Disable VM nested virtualization** constraint is enforced in the organization policy. For more information, see the Compute Engine section, [Checking whether nested virtualization is allowed](https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed). * **Performance**: nested VMs might experience a 10% or greater decrease in performance for workloads that are CPU-bound and possibly greater than a 10% decrease for workloads that are input/output bound. * **Machine Type**: nested virtualization can only be enabled on workstation configurations that specify a machine_type in the N1 or N2 machine series. * **GPUs**: nested virtualization may not be enabled on workstation configurations with accelerators. * **Operating System**: because [Container-Optimized OS](https://cloud.google.com/compute/docs/images/os-details#container-optimized_os_cos) does not support nested virtualization, when nested virtualization is enabled, the underlying Compute Engine VM instances boot from an [Ubuntu LTS](https://cloud.google.com/compute/docs/images/os-details#ubuntu_lts) image.", "type": "boolean" }, "machineType": { @@ -1931,27 +1931,22 @@ "type": "object" }, "PrivateClusterConfig": { - "description": "Configuration options for private workstation clusters.", "id": "PrivateClusterConfig", "properties": { "allowedProjects": { - "description": "Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.", "items": { "type": "string" }, "type": "array" }, "clusterHostname": { - "description": "Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.", "readOnly": true, "type": "string" }, "enablePrivateEndpoint": { - "description": "Immutable. Whether Workstations endpoint is private.", "type": "boolean" }, "serviceAttachmentUri": { - "description": "Output only. Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).", "readOnly": true, "type": "string" } diff --git a/discovery/googleapis/youtubeAnalytics__v2.json b/discovery/googleapis/youtubeAnalytics__v2.json index 5af4595f3..a797fb433 100644 --- a/discovery/googleapis/youtubeAnalytics__v2.json +++ b/discovery/googleapis/youtubeAnalytics__v2.json @@ -37,7 +37,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240611", "rootUrl": "https://youtubeanalytics.googleapis.com/", "servicePath": "", "title": "YouTube Analytics API", diff --git a/discovery/googleapis/youtube__v3.json b/discovery/googleapis/youtube__v3.json index 1a4d6627e..2ce7cb406 100644 --- a/discovery/googleapis/youtube__v3.json +++ b/discovery/googleapis/youtube__v3.json @@ -43,7 +43,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://youtube.googleapis.com/", "servicePath": "", "title": "YouTube Data API v3", diff --git a/discovery/googleapis/youtubereporting__v1.json b/discovery/googleapis/youtubereporting__v1.json index cca402c1e..64abdecf4 100644 --- a/discovery/googleapis/youtubereporting__v1.json +++ b/discovery/googleapis/youtubereporting__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240611", "rootUrl": "https://youtubereporting.googleapis.com/", "servicePath": "", "title": "YouTube Reporting API", diff --git a/discovery/googleapis_beta/adexchangebuyer2__v2beta1.json b/discovery/googleapis_beta/adexchangebuyer2__v2beta1.json index 853946a2f..92753e533 100644 --- a/discovery/googleapis_beta/adexchangebuyer2__v2beta1.json +++ b/discovery/googleapis_beta/adexchangebuyer2__v2beta1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240613", "rootUrl": "https://adexchangebuyer.googleapis.com/", "servicePath": "", "title": "Ad Exchange Buyer API II", diff --git a/discovery/googleapis_beta/alertcenter__v1beta1.json b/discovery/googleapis_beta/alertcenter__v1beta1.json index 98c08b49d..1e91ebd94 100644 --- a/discovery/googleapis_beta/alertcenter__v1beta1.json +++ b/discovery/googleapis_beta/alertcenter__v1beta1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240527", + "revision": "20240610", "rootUrl": "https://alertcenter.googleapis.com/", "servicePath": "", "title": "Google Workspace Alert Center API", diff --git a/discovery/googleapis_beta/analyticsadmin__v1alpha.json b/discovery/googleapis_beta/analyticsadmin__v1alpha.json index 6f771e942..f7f710dc6 100644 --- a/discovery/googleapis_beta/analyticsadmin__v1alpha.json +++ b/discovery/googleapis_beta/analyticsadmin__v1alpha.json @@ -34,7 +34,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://analyticsadmin.googleapis.com/", "servicePath": "", "title": "Google Analytics Admin API", @@ -3020,6 +3020,35 @@ } } }, + "eventEditRules": { + "methods": { + "reorder": { + "description": "Changes the processing order of event edit rules on the specified stream.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/eventEditRules:reorder", + "httpMethod": "POST", + "id": "analyticsadmin.properties.dataStreams.eventEditRules.reorder", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Example format: properties/123/dataStreams/456", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/eventEditRules:reorder", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest" + }, + "response": { + "$ref": "GoogleProtobufEmpty" + } + } + } + }, "measurementProtocolSecrets": { "methods": { "create": { @@ -8208,6 +8237,20 @@ }, "type": "object" }, + "GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest": { + "description": "Request message for ReorderEventEditRules RPC.", + "id": "GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest", + "properties": { + "eventEditRules": { + "description": "Required. EventEditRule resource names for the specified data stream, in the needed processing order. All EventEditRules for the stream must be present in the list.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleAnalyticsAdminV1alphaRollupPropertySourceLink": { "description": "A link that references a source property under the parent rollup property.", "id": "GoogleAnalyticsAdminV1alphaRollupPropertySourceLink", diff --git a/discovery/googleapis_beta/analyticsadmin__v1beta.json b/discovery/googleapis_beta/analyticsadmin__v1beta.json index 38e4e092d..50fc21bf3 100644 --- a/discovery/googleapis_beta/analyticsadmin__v1beta.json +++ b/discovery/googleapis_beta/analyticsadmin__v1beta.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://analyticsadmin.googleapis.com/", "servicePath": "", "title": "Google Analytics Admin API", @@ -1257,6 +1257,35 @@ } }, "resources": { + "eventEditRules": { + "methods": { + "reorder": { + "description": "Changes the processing order of event edit rules on the specified stream.", + "flatPath": "v1beta/properties/{propertiesId}/dataStreams/{dataStreamsId}/eventEditRules:reorder", + "httpMethod": "POST", + "id": "analyticsadmin.properties.dataStreams.eventEditRules.reorder", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Example format: properties/123/dataStreams/456", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+parent}/eventEditRules:reorder", + "request": { + "$ref": "GoogleAnalyticsAdminV1betaReorderEventEditRulesRequest" + }, + "response": { + "$ref": "GoogleProtobufEmpty" + } + } + } + }, "measurementProtocolSecrets": { "methods": { "create": { @@ -3325,6 +3354,20 @@ }, "type": "object" }, + "GoogleAnalyticsAdminV1betaReorderEventEditRulesRequest": { + "description": "Request message for ReorderEventEditRules RPC.", + "id": "GoogleAnalyticsAdminV1betaReorderEventEditRulesRequest", + "properties": { + "eventEditRules": { + "description": "Required. EventEditRule resource names for the specified data stream, in the needed processing order. All EventEditRules for the stream must be present in the list.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleAnalyticsAdminV1betaRunAccessReportRequest": { "description": "The request for a Data Access Record Report.", "id": "GoogleAnalyticsAdminV1betaRunAccessReportRequest", diff --git a/discovery/googleapis_beta/analyticsdata__v1beta.json b/discovery/googleapis_beta/analyticsdata__v1beta.json index e4630a246..e02ffdf35 100644 --- a/discovery/googleapis_beta/analyticsdata__v1beta.json +++ b/discovery/googleapis_beta/analyticsdata__v1beta.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240611", "rootUrl": "https://analyticsdata.googleapis.com/", "servicePath": "", "title": "Google Analytics Data API", diff --git a/discovery/googleapis_beta/area120tables__v1alpha1.json b/discovery/googleapis_beta/area120tables__v1alpha1.json index 2b13fd005..881e666ef 100644 --- a/discovery/googleapis_beta/area120tables__v1alpha1.json +++ b/discovery/googleapis_beta/area120tables__v1alpha1.json @@ -40,7 +40,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240611", "rootUrl": "https://area120tables.googleapis.com/", "servicePath": "", "title": "Area120 Tables API", diff --git a/discovery/googleapis_beta/bigqueryconnection__v1beta1.json b/discovery/googleapis_beta/bigqueryconnection__v1beta1.json index f074897c4..127a95807 100644 --- a/discovery/googleapis_beta/bigqueryconnection__v1beta1.json +++ b/discovery/googleapis_beta/bigqueryconnection__v1beta1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240418", + "revision": "20240526", "rootUrl": "https://bigqueryconnection.googleapis.com/", "servicePath": "", "title": "BigQuery Connection API", diff --git a/discovery/googleapis_beta/clouderrorreporting__v1beta1.json b/discovery/googleapis_beta/clouderrorreporting__v1beta1.json index 867143a76..9e3130ae7 100644 --- a/discovery/googleapis_beta/clouderrorreporting__v1beta1.json +++ b/discovery/googleapis_beta/clouderrorreporting__v1beta1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240524", + "revision": "20240607", "rootUrl": "https://clouderrorreporting.googleapis.com/", "servicePath": "", "title": "Error Reporting API", diff --git a/discovery/googleapis_beta/cloudsupport__v2beta.json b/discovery/googleapis_beta/cloudsupport__v2beta.json index ba35e7ee0..ba6cca303 100644 --- a/discovery/googleapis_beta/cloudsupport__v2beta.json +++ b/discovery/googleapis_beta/cloudsupport__v2beta.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240611", "rootUrl": "https://cloudsupport.googleapis.com/", "servicePath": "", "title": "Google Cloud Support API", diff --git a/discovery/googleapis_beta/dataflow__v1b3.json b/discovery/googleapis_beta/dataflow__v1b3.json index dd97e1186..e0b1bdf4e 100644 --- a/discovery/googleapis_beta/dataflow__v1b3.json +++ b/discovery/googleapis_beta/dataflow__v1b3.json @@ -24,18 +24,28 @@ "endpoints": [ { "description": "Regional Endpoint", - "endpointUrl": "https://dataflow.me-central2.rep.googleapis.com/", - "location": "me-central2" + "endpointUrl": "https://dataflow.europe-west3.rep.googleapis.com/", + "location": "europe-west3" }, { "description": "Regional Endpoint", - "endpointUrl": "https://dataflow.europe-west3.rep.googleapis.com/", - "location": "europe-west3" + "endpointUrl": "https://dataflow.europe-west8.rep.googleapis.com/", + "location": "europe-west8" }, { "description": "Regional Endpoint", "endpointUrl": "https://dataflow.europe-west9.rep.googleapis.com/", "location": "europe-west9" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dataflow.me-central2.rep.googleapis.com/", + "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dataflow.us-east7.rep.googleapis.com/", + "location": "us-east7" } ], "icons": { @@ -48,7 +58,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240520", + "revision": "20240603", "rootUrl": "https://dataflow.googleapis.com/", "servicePath": "", "title": "Dataflow API", @@ -4982,7 +4992,34 @@ "BOOLEAN", "ENUM", "NUMBER", - "KAFKA_TOPIC" + "KAFKA_TOPIC", + "KAFKA_READ_TOPIC", + "KAFKA_WRITE_TOPIC" + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + true, + false, + false ], "enumDescriptions": [ "Default input type.", @@ -5005,7 +5042,9 @@ "The parameter specifies a boolean input.", "The parameter specifies an enum input.", "The parameter specifies a number input.", - "The parameter specifies the fully-qualified name of an Apache Kafka topic. This can be either a Google Managed Kafka topic or a non-managed Kafka topic." + "Deprecated. Please use KAFKA_READ_TOPIC instead.", + "The parameter specifies the fully-qualified name of an Apache Kafka topic. This can be either a Google Managed Kafka topic or a non-managed Kafka topic.", + "The parameter specifies the fully-qualified name of an Apache Kafka topic. This can be an existing Google Managed Kafka topic, the name for a new Google Managed Kafka topic, or an existing non-managed Kafka topic." ], "type": "string" }, diff --git a/discovery/googleapis_beta/datastream__v1alpha1.json b/discovery/googleapis_beta/datastream__v1alpha1.json index d2dc4e773..d5060c842 100644 --- a/discovery/googleapis_beta/datastream__v1alpha1.json +++ b/discovery/googleapis_beta/datastream__v1alpha1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240501", + "revision": "20240529", "rootUrl": "https://datastream.googleapis.com/", "servicePath": "", "title": "Datastream API", diff --git a/discovery/googleapis_beta/factchecktools__v1alpha1.json b/discovery/googleapis_beta/factchecktools__v1alpha1.json index 99f472783..2e50cb3ce 100644 --- a/discovery/googleapis_beta/factchecktools__v1alpha1.json +++ b/discovery/googleapis_beta/factchecktools__v1alpha1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240526", + "revision": "20240609", "rootUrl": "https://factchecktools.googleapis.com/", "servicePath": "", "title": "Fact Check Tools API", diff --git a/discovery/googleapis_beta/fcmdata__v1beta1.json b/discovery/googleapis_beta/fcmdata__v1beta1.json index e9b0cd672..8a55da4a4 100644 --- a/discovery/googleapis_beta/fcmdata__v1beta1.json +++ b/discovery/googleapis_beta/fcmdata__v1beta1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://fcmdata.googleapis.com/", "servicePath": "", "title": "Firebase Cloud Messaging Data API", @@ -281,6 +281,11 @@ "description": "Percentage breakdown of message delivery outcomes. These categories are mutually exclusive. All percentages are calculated with countMessagesAccepted as the denominator. These categories may not account for all message outcomes.", "id": "GoogleFirebaseFcmDataV1beta1MessageOutcomePercents", "properties": { + "collapsed": { + "description": "The percentage of accepted messages that were [collapsed](https://firebase.google.com/docs/cloud-messaging/concept-options#collapsible_and_non-collapsible_messages) by another message.", + "format": "float", + "type": "number" + }, "delivered": { "description": "The percentage of all accepted messages that were successfully delivered to the device.", "format": "float", @@ -301,6 +306,11 @@ "format": "float", "type": "number" }, + "droppedTtlExpired": { + "description": "The percentage of accepted messages that expired because [Time To Live (TTL)](https://firebase.google.com/docs/cloud-messaging/concept-options#ttl) elapsed before the target device reconnected.", + "format": "float", + "type": "number" + }, "pending": { "description": "The percentage of messages accepted on this day that were not dropped and not delivered, due to the device being disconnected (as of the end of the America/Los_Angeles day when the message was sent to FCM). A portion of these messages will be delivered the next day when the device connects but others may be destined to devices that ultimately never reconnect.", "format": "float", @@ -310,7 +320,7 @@ "type": "object" }, "GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents": { - "description": "Additional information about proxy notification delivery. All percentages are calculated with countNotificationsAccepted as the denominator.", + "description": "Additional information about [proxy notification](https://firebase.google.com/docs/cloud-messaging/android/message-priority#proxy) delivery. All percentages are calculated with countNotificationsAccepted as the denominator.", "id": "GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents", "properties": { "failed": { diff --git a/discovery/googleapis_beta/firebase__v1beta1.json b/discovery/googleapis_beta/firebase__v1beta1.json index 003249ecf..cba043d95 100644 --- a/discovery/googleapis_beta/firebase__v1beta1.json +++ b/discovery/googleapis_beta/firebase__v1beta1.json @@ -34,7 +34,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240612", "rootUrl": "https://firebase.googleapis.com/", "servicePath": "", "title": "Firebase Management API", diff --git a/discovery/googleapis_beta/firebaseappcheck__v1beta.json b/discovery/googleapis_beta/firebaseappcheck__v1beta.json index e4764f340..7c0b35358 100644 --- a/discovery/googleapis_beta/firebaseappcheck__v1beta.json +++ b/discovery/googleapis_beta/firebaseappcheck__v1beta.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240610", "rootUrl": "https://firebaseappcheck.googleapis.com/", "servicePath": "", "title": "Firebase App Check API", diff --git a/discovery/googleapis_beta/firebasedatabase__v1beta.json b/discovery/googleapis_beta/firebasedatabase__v1beta.json index f429c1417..368b1e045 100644 --- a/discovery/googleapis_beta/firebasedatabase__v1beta.json +++ b/discovery/googleapis_beta/firebasedatabase__v1beta.json @@ -34,7 +34,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240528", + "revision": "20240611", "rootUrl": "https://firebasedatabase.googleapis.com/", "servicePath": "", "title": "Firebase Realtime Database API", diff --git a/discovery/googleapis_beta/firebasestorage__v1beta.json b/discovery/googleapis_beta/firebasestorage__v1beta.json index 0327d4d4e..9c9bb6eab 100644 --- a/discovery/googleapis_beta/firebasestorage__v1beta.json +++ b/discovery/googleapis_beta/firebasestorage__v1beta.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240524", + "revision": "20240607", "rootUrl": "https://firebasestorage.googleapis.com/", "servicePath": "", "title": "Cloud Storage for Firebase API", diff --git a/discovery/googleapis_beta/gkehub__v2alpha.json b/discovery/googleapis_beta/gkehub__v2alpha.json index 4a01a1d04..5e5354236 100644 --- a/discovery/googleapis_beta/gkehub__v2alpha.json +++ b/discovery/googleapis_beta/gkehub__v2alpha.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240519", + "revision": "20240522", "rootUrl": "https://gkehub.googleapis.com/", "servicePath": "", "title": "GKE Hub API", diff --git a/discovery/googleapis_beta/lifesciences__v2beta.json b/discovery/googleapis_beta/lifesciences__v2beta.json index 8e591aca6..0ab03b7c1 100644 --- a/discovery/googleapis_beta/lifesciences__v2beta.json +++ b/discovery/googleapis_beta/lifesciences__v2beta.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240426", + "revision": "20240531", "rootUrl": "https://lifesciences.googleapis.com/", "servicePath": "", "title": "Cloud Life Sciences API", diff --git a/discovery/googleapis_beta/prod_tt_sasportal__v1alpha1.json b/discovery/googleapis_beta/prod_tt_sasportal__v1alpha1.json index 4ede6b1c8..fbb3eead5 100644 --- a/discovery/googleapis_beta/prod_tt_sasportal__v1alpha1.json +++ b/discovery/googleapis_beta/prod_tt_sasportal__v1alpha1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240523", + "revision": "20240610", "rootUrl": "https://prod-tt-sasportal.googleapis.com/", "servicePath": "", "title": "SAS Portal API (Testing)", diff --git a/discovery/googleapis_beta/recommendationengine__v1beta1.json b/discovery/googleapis_beta/recommendationengine__v1beta1.json index 72e00c932..89a7fa060 100644 --- a/discovery/googleapis_beta/recommendationengine__v1beta1.json +++ b/discovery/googleapis_beta/recommendationengine__v1beta1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240523", + "revision": "20240610", "rootUrl": "https://recommendationengine.googleapis.com/", "servicePath": "", "title": "Recommendations AI (Beta)", diff --git a/discovery/googleapis_beta/sasportal__v1alpha1.json b/discovery/googleapis_beta/sasportal__v1alpha1.json index 497e0a13a..594995a0b 100644 --- a/discovery/googleapis_beta/sasportal__v1alpha1.json +++ b/discovery/googleapis_beta/sasportal__v1alpha1.json @@ -27,7 +27,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240521", + "revision": "20240610", "rootUrl": "https://sasportal.googleapis.com/", "servicePath": "", "title": "SAS Portal API", diff --git a/discovery/googleapis_beta/sqladmin__v1beta4.json b/discovery/googleapis_beta/sqladmin__v1beta4.json index 48a38e4ee..d2e09b108 100644 --- a/discovery/googleapis_beta/sqladmin__v1beta4.json +++ b/discovery/googleapis_beta/sqladmin__v1beta4.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240521", + "revision": "20240529", "rootUrl": "https://sqladmin.googleapis.com/", "servicePath": "", "title": "Cloud SQL Admin API", @@ -5549,7 +5549,10 @@ "PG_SUBSCRIPTION_COUNT", "PG_SYNC_PARALLEL_LEVEL", "INSUFFICIENT_DISK_SIZE", - "INSUFFICIENT_MACHINE_TIER" + "INSUFFICIENT_MACHINE_TIER", + "UNSUPPORTED_EXTENSIONS_NOT_MIGRATED", + "EXTENSIONS_NOT_MIGRATED", + "PG_CRON_FLAG_ENABLED_IN_REPLICA" ], "enumDescriptions": [ "", @@ -5596,7 +5599,10 @@ "Count of subscriptions needed to sync source data for PostgreSQL database.", "Final parallel level that is used to do migration.", "The disk size of the replica instance is smaller than the data size of the source instance.", - "The data size of the source instance is greater than 1 TB, the number of cores of the replica instance is less than 8, and the memory of the replica is less than 32 GB." + "The data size of the source instance is greater than 1 TB, the number of cores of the replica instance is less than 8, and the memory of the replica is less than 32 GB.", + "The warning message indicates the unsupported extensions will not be migrated to the destination.", + "The warning message indicates the pg_cron extension and settings will not be migrated to the destination.", + "The error message indicates that pg_cron flags are enabled on the destination which is not supported during the migration." ], "type": "string" } diff --git a/discovery/googleapis_beta/toolresults__v1beta3.json b/discovery/googleapis_beta/toolresults__v1beta3.json index 84155abe0..34a45759e 100644 --- a/discovery/googleapis_beta/toolresults__v1beta3.json +++ b/discovery/googleapis_beta/toolresults__v1beta3.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240529", + "revision": "20240612", "rootUrl": "https://toolresults.googleapis.com/", "servicePath": "", "title": "Cloud Tool Results API", diff --git a/generated/googleapis/CHANGELOG.md b/generated/googleapis/CHANGELOG.md index 57bb557c5..5320b03f3 100644 --- a/generated/googleapis/CHANGELOG.md +++ b/generated/googleapis/CHANGELOG.md @@ -1,4 +1,4 @@ -## 13.2.0-wip +## 13.2.0 - Require Dart 3.4 or later. - Require `package:http` `1.0.0`. @@ -6,8 +6,13 @@ ### APIs - `addressvalidation` - new! +- `airquality` - new! +- `cloudcommerceprocurement` - new! - `cloudcontrolspartner` - new! +- `config` - new! - `developerconnect` - new! +- `integrations` - new! +- `pollen` - new! - `solar` - new! ## 13.1.0 diff --git a/generated/googleapis/README.md b/generated/googleapis/README.md index f447a99e9..a62d3e8aa 100644 --- a/generated/googleapis/README.md +++ b/generated/googleapis/README.md @@ -18,1885 +18,1906 @@ package. Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences. - [Original documentation](https://developers.google.com/abusive-experience-report/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/abusiveexperiencereport_v1/abusiveexperiencereport_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/abusiveexperiencereport_v1/abusiveexperiencereport_v1-library.html) #### Accelerated Mobile Pages (AMP) URL API - `acceleratedmobilepageurl/v1` Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s). - [Original documentation](https://developers.google.com/amp/cache/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/acceleratedmobilepageurl_v1/acceleratedmobilepageurl_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/acceleratedmobilepageurl_v1/acceleratedmobilepageurl_v1-library.html) #### Access Approval API - `accessapproval/v1` An API for controlling access to data by Google personnel. - [Original documentation](https://cloud.google.com/assured-workloads/access-approval/docs) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/accessapproval_v1/accessapproval_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/accessapproval_v1/accessapproval_v1-library.html) #### Access Context Manager API - `accesscontextmanager/v1` An API for setting attribute based access control to requests to Google Cloud services. *Warning:* Do not mix *v1alpha* and *v1* API usage in the same access policy. The v1alpha API supports new Access Context Manager features, which may have different attributes or behaviors that are not supported by v1. The practice of mixed API usage within a policy may result in the inability to update that policy, including any access levels or service perimeters belonging to it. It is not recommended to use both v1 and v1alpha for modifying policies with critical service perimeters. Modifications using v1alpha should be limited to policies with non-production/non-critical service perimeters. - [Original documentation](https://cloud.google.com/access-context-manager/docs/reference/rest/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/accesscontextmanager_v1/accesscontextmanager_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/accesscontextmanager_v1/accesscontextmanager_v1-library.html) #### ACME DNS API - `acmedns/v1` Google Domains ACME DNS API that allows users to complete ACME DNS-01 challenges for a domain. - [Original documentation](https://developers.google.com/domains/acme-dns/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/acmedns_v1/acmedns_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/acmedns_v1/acmedns_v1-library.html) #### Address Validation API - `addressvalidation/v1` The Address Validation API allows developers to verify the accuracy of addresses. Given an address, it returns information about the correctness of the components of the parsed address, a geocode, and a verdict on the deliverability of the parsed address. - [Original documentation](https://developers.google.com/maps/documentation/addressvalidation) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/addressvalidation_v1/addressvalidation_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/addressvalidation_v1/addressvalidation_v1-library.html) #### Ad Experience Report API - `adexperiencereport/v1` Views Ad Experience Report data, and gets a list of sites that have a significant number of annoying ads. - [Original documentation](https://developers.google.com/ad-experience-report/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/adexperiencereport_v1/adexperiencereport_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/adexperiencereport_v1/adexperiencereport_v1-library.html) #### Admin SDK API - `admin/datatransfer_v1` Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain. - [Original documentation](https://developers.google.com/admin-sdk/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/admin_datatransfer_v1/admin_datatransfer_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/admin_datatransfer_v1/admin_datatransfer_v1-library.html) #### Admin SDK API - `admin/directory_v1` Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain. - [Original documentation](https://developers.google.com/admin-sdk/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/admin_directory_v1/admin_directory_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/admin_directory_v1/admin_directory_v1-library.html) #### Admin SDK API - `admin/reports_v1` Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain. - [Original documentation](https://developers.google.com/admin-sdk/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/admin_reports_v1/admin_reports_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/admin_reports_v1/admin_reports_v1-library.html) #### AdMob API - `admob/v1` The AdMob API allows publishers to programmatically get information about their AdMob account. - [Original documentation](https://developers.google.com/admob/api/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/admob_v1/admob_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/admob_v1/admob_v1-library.html) #### AdSense Management API - `adsense/v2` The AdSense Management API allows publishers to access their inventory and run earnings and performance reports. - [Original documentation](https://developers.google.com/adsense/management/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/adsense_v2/adsense_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/adsense_v2/adsense_v2-library.html) #### ![Logo](https://www.google.com/images/icons/product/adsense-16.png) AdSense Host API - `adsensehost/v4_1` Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts. - [Original documentation](https://developers.google.com/adsense/host/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/adsensehost_v4_1/adsensehost_v4_1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/adsensehost_v4_1/adsensehost_v4_1-library.html) #### Advisory Notifications API - `advisorynotifications/v1` An API for accessing Advisory Notifications in Google Cloud - [Original documentation](https://cloud.google.com/advisory-notifications) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/advisorynotifications_v1/advisorynotifications_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/advisorynotifications_v1/advisorynotifications_v1-library.html) #### Vertex AI API - `aiplatform/v1` Train high-quality custom machine learning models with minimal machine learning expertise and effort. - [Original documentation](https://cloud.google.com/vertex-ai/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/aiplatform_v1/aiplatform_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/aiplatform_v1/aiplatform_v1-library.html) + +#### Air Quality API - `airquality/v1` + +The Air Quality API. + +- [Original documentation](https://developers.google.com/maps/documentation/air-quality) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/airquality_v1/airquality_v1-library.html) #### AlloyDB API - `alloydb/v1` AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized for the most demanding use cases, allowing you to build new applications that require high transaction throughput, large database sizes, or multiple read resources; scale existing PostgreSQL workloads with no application changes; and modernize legacy proprietary databases. - [Original documentation](https://cloud.google.com/alloydb/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/alloydb_v1/alloydb_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/alloydb_v1/alloydb_v1-library.html) #### ![Logo](https://www.google.com/images/icons/product/analytics-16.png) Google Analytics API - `analytics/v3` Views and manages your Google Analytics data. - [Original documentation](https://developers.google.com/analytics/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/analytics_v3/analytics_v3-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/analytics_v3/analytics_v3-library.html) #### Analytics Hub API - `analyticshub/v1` Exchange data and analytics assets securely and efficiently. - [Original documentation](https://cloud.google.com/bigquery/docs/analytics-hub-introduction) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/analyticshub_v1/analyticshub_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/analyticshub_v1/analyticshub_v1-library.html) #### Analytics Reporting API - `analyticsreporting/v4` Accesses Analytics report data. - [Original documentation](https://developers.google.com/analytics/devguides/reporting/core/v4/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/analyticsreporting_v4/analyticsreporting_v4-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/analyticsreporting_v4/analyticsreporting_v4-library.html) #### Android Device Provisioning Partner API - `androiddeviceprovisioning/v1` Automates Android zero-touch enrollment for device resellers, customers, and EMMs. - [Original documentation](https://developers.google.com/zero-touch/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/androiddeviceprovisioning_v1/androiddeviceprovisioning_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/androiddeviceprovisioning_v1/androiddeviceprovisioning_v1-library.html) #### Google Play EMM API - `androidenterprise/v1` Manages the deployment of apps to Android Enterprise devices. - [Original documentation](https://developers.google.com/android/work/play/emm-api) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/androidenterprise_v1/androidenterprise_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/androidenterprise_v1/androidenterprise_v1-library.html) #### Android Management API - `androidmanagement/v1` The Android Management API provides remote enterprise management of Android devices and apps. - [Original documentation](https://developers.google.com/android/management) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/androidmanagement_v1/androidmanagement_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/androidmanagement_v1/androidmanagement_v1-library.html) #### Google Play Android Developer API - `androidpublisher/v3` Lets Android application developers access their Google Play accounts. At a high level, the expected workflow is to "insert" an Edit, make changes as necessary, and then "commit" it. - [Original documentation](https://developers.google.com/android-publisher) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/androidpublisher_v3/androidpublisher_v3-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/androidpublisher_v3/androidpublisher_v3-library.html) #### API Gateway API - `apigateway/v1` - [Original documentation](https://cloud.google.com/api-gateway/docs) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/apigateway_v1/apigateway_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/apigateway_v1/apigateway_v1-library.html) #### Apigee API - `apigee/v1` Use the Apigee API to programmatically develop and manage APIs with a set of RESTful operations. Develop and secure API proxies, deploy and undeploy API proxy revisions, monitor APIs, configure environments, manage users, and more. Note: This product is available as a free trial for a time period of 60 days. - [Original documentation](https://cloud.google.com/apigee-api-management/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/apigee_v1/apigee_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/apigee_v1/apigee_v1-library.html) #### Apigee Registry API - `apigeeregistry/v1` - [Original documentation](https://cloud.google.com/apigee/docs/api-hub/what-is-api-hub) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/apigeeregistry_v1/apigeeregistry_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/apigeeregistry_v1/apigeeregistry_v1-library.html) #### API Keys API - `apikeys/v2` Manages the API keys associated with developer projects. - [Original documentation](https://cloud.google.com/api-keys/docs) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/apikeys_v2/apikeys_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/apikeys_v2/apikeys_v2-library.html) #### App Engine Admin API - `appengine/v1` Provisions and manages developers' App Engine applications. - [Original documentation](https://cloud.google.com/appengine/docs/admin-api/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/appengine_v1/appengine_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/appengine_v1/appengine_v1-library.html) #### App Hub API - `apphub/v1` - [Original documentation](https://cloud.google.com/app-hub/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/apphub_v1/apphub_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/apphub_v1/apphub_v1-library.html) #### Artifact Registry API - `artifactregistry/v1` Store and manage build artifacts in a scalable and integrated service built on Google infrastructure. - [Original documentation](https://cloud.google.com/artifacts/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/artifactregistry_v1/artifactregistry_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/artifactregistry_v1/artifactregistry_v1-library.html) #### Assured Workloads API - `assuredworkloads/v1` - [Original documentation](https://cloud.google.com/learnmoreurl) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/assuredworkloads_v1/assuredworkloads_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/assuredworkloads_v1/assuredworkloads_v1-library.html) #### Authorized Buyers Marketplace API - `authorizedbuyersmarketplace/v1` The Authorized Buyers Marketplace API lets buyers programmatically discover inventory; propose, retrieve and negotiate deals with publishers. - [Original documentation](https://developers.google.com/authorized-buyers/apis/marketplace/reference/rest/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/authorizedbuyersmarketplace_v1/authorizedbuyersmarketplace_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/authorizedbuyersmarketplace_v1/authorizedbuyersmarketplace_v1-library.html) #### Backup and DR Service API - `backupdr/v1` - [Original documentation](https://cloud.google.com/backup-disaster-recovery) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/backupdr_v1/backupdr_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/backupdr_v1/backupdr_v1-library.html) #### Bare Metal Solution API - `baremetalsolution/v2` Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center. - [Original documentation](https://cloud.google.com/bare-metal) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/baremetalsolution_v2/baremetalsolution_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/baremetalsolution_v2/baremetalsolution_v2-library.html) #### Batch API - `batch/v1` An API to manage the running of Batch resources on Google Cloud Platform. - [Original documentation](https://cloud.google.com/batch/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/batch_v1/batch_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/batch_v1/batch_v1-library.html) #### BeyondCorp API - `beyondcorp/v1` Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity solutions. - [Original documentation](https://cloud.google.com/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/beyondcorp_v1/beyondcorp_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/beyondcorp_v1/beyondcorp_v1-library.html) #### BigLake API - `biglake/v1` The BigLake API provides access to BigLake Metastore, a serverless, fully managed, and highly available metastore for open-source data that can be used for querying Apache Iceberg tables in BigQuery. - [Original documentation](https://cloud.google.com/bigquery/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/biglake_v1/biglake_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/biglake_v1/biglake_v1-library.html) #### BigQuery API - `bigquery/v2` A data platform for customers to create, manage, share and query data. - [Original documentation](https://cloud.google.com/bigquery/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/bigquery_v2/bigquery_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/bigquery_v2/bigquery_v2-library.html) #### BigQuery Connection API - `bigqueryconnection/v1` Allows users to manage BigQuery connections to external data sources. - [Original documentation](https://cloud.google.com/bigquery/docs/connections-api-intro) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/bigqueryconnection_v1/bigqueryconnection_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/bigqueryconnection_v1/bigqueryconnection_v1-library.html) #### BigQuery Data Policy API - `bigquerydatapolicy/v1` Allows users to manage BigQuery data policies. - [Original documentation](https://cloud.google.com/bigquery/docs/column-data-masking) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/bigquerydatapolicy_v1/bigquerydatapolicy_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/bigquerydatapolicy_v1/bigquerydatapolicy_v1-library.html) #### BigQuery Data Transfer API - `bigquerydatatransfer/v1` Schedule queries or transfer external data from SaaS applications to Google BigQuery on a regular basis. - [Original documentation](https://cloud.google.com/bigquery-transfer/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/bigquerydatatransfer_v1/bigquerydatatransfer_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/bigquerydatatransfer_v1/bigquerydatatransfer_v1-library.html) #### BigQuery Reservation API - `bigqueryreservation/v1` A service to modify your BigQuery flat-rate reservations. - [Original documentation](https://cloud.google.com/bigquery/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/bigqueryreservation_v1/bigqueryreservation_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/bigqueryreservation_v1/bigqueryreservation_v1-library.html) #### Cloud Bigtable Admin API - `bigtableadmin/v2` Administer your Cloud Bigtable tables and instances. - [Original documentation](https://cloud.google.com/bigtable/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/bigtableadmin_v2/bigtableadmin_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/bigtableadmin_v2/bigtableadmin_v2-library.html) #### Cloud Billing Budget API - `billingbudgets/v1` The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan. - [Original documentation](https://cloud.google.com/billing/docs/how-to/budget-api-overview) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/billingbudgets_v1/billingbudgets_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/billingbudgets_v1/billingbudgets_v1-library.html) #### Binary Authorization API - `binaryauthorization/v1` The management interface for Binary Authorization, a service that provides policy-based deployment validation and control for images deployed to Google Kubernetes Engine (GKE), Anthos Service Mesh, Anthos Clusters, and Cloud Run. - [Original documentation](https://cloud.google.com/binary-authorization/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/binaryauthorization_v1/binaryauthorization_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/binaryauthorization_v1/binaryauthorization_v1-library.html) #### Blockchain Node Engine API - `blockchainnodeengine/v1` - [Original documentation](https://cloud.google.com/blockchain-node-engine) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/blockchainnodeengine_v1/blockchainnodeengine_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/blockchainnodeengine_v1/blockchainnodeengine_v1-library.html) #### Blogger API - `blogger/v3` The Blogger API provides access to posts, comments and pages of a Blogger blog. - [Original documentation](https://developers.google.com/blogger/docs/3.0/getting_started) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/blogger_v3/blogger_v3-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/blogger_v3/blogger_v3-library.html) #### Books API - `books/v1` The Google Books API allows clients to access the Google Books repository. - [Original documentation](https://code.google.com/apis/books/docs/v1/getting_started.html) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/books_v1/books_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/books_v1/books_v1-library.html) #### Business Profile Performance API - `businessprofileperformance/v1` The Business Profile Performance API allows merchants to fetch performance reports about their business profile on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access. - [Original documentation](https://developers.google.com/my-business/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/businessprofileperformance_v1/businessprofileperformance_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/businessprofileperformance_v1/businessprofileperformance_v1-library.html) #### Calendar API - `calendar/v3` Manipulates events and other calendar data. - [Original documentation](https://developers.google.com/google-apps/calendar/firstapp) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/calendar_v3/calendar_v3-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/calendar_v3/calendar_v3-library.html) #### Certificate Manager API - `certificatemanager/v1` - [Original documentation](https://cloud.google.com/certificate-manager) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/certificatemanager_v1/certificatemanager_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/certificatemanager_v1/certificatemanager_v1-library.html) #### Google Chat API - `chat/v1` The Google Chat API lets you build Chat apps to integrate your services with Google Chat and manage Chat resources such as spaces, members, and messages. - [Original documentation](https://developers.google.com/hangouts/chat) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/chat_v1/chat_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/chat_v1/chat_v1-library.html) #### Chrome Management API - `chromemanagement/v1` The Chrome Management API is a suite of services that allows Chrome administrators to view, manage and gain insights on their Chrome OS and Chrome Browser devices. - [Original documentation](https://developers.google.com/chrome/management/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/chromemanagement_v1/chromemanagement_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/chromemanagement_v1/chromemanagement_v1-library.html) #### Chrome Policy API - `chromepolicy/v1` The Chrome Policy API is a suite of services that allows Chrome administrators to control the policies applied to their managed Chrome OS devices and Chrome browsers. - [Original documentation](https://developers.google.com/chrome/policy) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/chromepolicy_v1/chromepolicy_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/chromepolicy_v1/chromepolicy_v1-library.html) #### Chrome UX Report API - `chromeuxreport/v1` The Chrome UX Report API lets you view real user experience data for millions of websites. - [Original documentation](https://developers.google.com/web/tools/chrome-user-experience-report/api/reference) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/chromeuxreport_v1/chromeuxreport_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/chromeuxreport_v1/chromeuxreport_v1-library.html) #### Google Civic Information API - `civicinfo/v2` Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses. - [Original documentation](https://developers.google.com/civic-information/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/civicinfo_v2/civicinfo_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/civicinfo_v2/civicinfo_v2-library.html) #### Google Classroom API - `classroom/v1` Manages classes, rosters, and invitations in Google Classroom. - [Original documentation](https://developers.google.com/classroom/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/classroom_v1/classroom_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/classroom_v1/classroom_v1-library.html) #### Cloud Asset API - `cloudasset/v1` The Cloud Asset API manages the history and inventory of Google Cloud resources. - [Original documentation](https://cloud.google.com/asset-inventory/docs/quickstart) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudasset_v1/cloudasset_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudasset_v1/cloudasset_v1-library.html) #### Cloud Billing API - `cloudbilling/v1` Allows developers to manage billing for their Google Cloud Platform projects programmatically. - [Original documentation](https://cloud.google.com/billing/docs/apis) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudbilling_v1/cloudbilling_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudbilling_v1/cloudbilling_v1-library.html) #### Cloud Build API - `cloudbuild/v1` Creates and manages builds on Google Cloud Platform. - [Original documentation](https://cloud.google.com/cloud-build/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudbuild_v1/cloudbuild_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudbuild_v1/cloudbuild_v1-library.html) #### Cloud Build API - `cloudbuild/v2` Creates and manages builds on Google Cloud Platform. - [Original documentation](https://cloud.google.com/cloud-build/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudbuild_v2/cloudbuild_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudbuild_v2/cloudbuild_v2-library.html) #### Cloud Channel API - `cloudchannel/v1` The Cloud Channel API enables Google Cloud partners to have a single unified resale platform and APIs across all of Google Cloud including GCP, Workspace, Maps and Chrome. - [Original documentation](https://cloud.google.com/channel) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudchannel_v1/cloudchannel_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudchannel_v1/cloudchannel_v1-library.html) + +#### Cloud Commerce Partner Procurement API - `cloudcommerceprocurement/v1` + +Partner API for the Cloud Commerce Procurement Service. + +- [Original documentation](https://cloud.google.com/marketplace/docs/partners/) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudcommerceprocurement_v1/cloudcommerceprocurement_v1-library.html) #### Cloud Controls Partner API - `cloudcontrolspartner/v1` Provides insights about your customers and their Assured Workloads based on your Sovereign Controls by Partners offering. - [Original documentation](https://cloud.google.com/sovereign-controls-by-partners/docs/sovereign-partners/reference/rest) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudcontrolspartner_v1/cloudcontrolspartner_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudcontrolspartner_v1/cloudcontrolspartner_v1-library.html) #### Cloud Deploy API - `clouddeploy/v1` - [Original documentation](https://cloud.google.com/deploy/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/clouddeploy_v1/clouddeploy_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/clouddeploy_v1/clouddeploy_v1-library.html) #### Cloud Functions API - `cloudfunctions/v1` Manages lightweight user-provided functions executed in response to events. - [Original documentation](https://cloud.google.com/functions) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudfunctions_v1/cloudfunctions_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudfunctions_v1/cloudfunctions_v1-library.html) #### Cloud Functions API - `cloudfunctions/v2` Manages lightweight user-provided functions executed in response to events. - [Original documentation](https://cloud.google.com/functions) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudfunctions_v2/cloudfunctions_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudfunctions_v2/cloudfunctions_v2-library.html) #### Cloud Identity API - `cloudidentity/v1` API for provisioning and managing identity resources. - [Original documentation](https://cloud.google.com/identity/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudidentity_v1/cloudidentity_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudidentity_v1/cloudidentity_v1-library.html) #### Cloud Key Management Service (KMS) API - `cloudkms/v1` Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications. - [Original documentation](https://cloud.google.com/kms/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudkms_v1/cloudkms_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudkms_v1/cloudkms_v1-library.html) #### Cloud Profiler API - `cloudprofiler/v2` Manages continuous profiling information. - [Original documentation](https://cloud.google.com/profiler/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudprofiler_v2/cloudprofiler_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudprofiler_v2/cloudprofiler_v2-library.html) #### Cloud Resource Manager API - `cloudresourcemanager/v1` Creates, reads, and updates metadata for Google Cloud Platform resource containers. - [Original documentation](https://cloud.google.com/resource-manager) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudresourcemanager_v1/cloudresourcemanager_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudresourcemanager_v1/cloudresourcemanager_v1-library.html) #### Cloud Resource Manager API - `cloudresourcemanager/v2` Creates, reads, and updates metadata for Google Cloud Platform resource containers. - [Original documentation](https://cloud.google.com/resource-manager) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudresourcemanager_v2/cloudresourcemanager_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudresourcemanager_v2/cloudresourcemanager_v2-library.html) #### Cloud Resource Manager API - `cloudresourcemanager/v3` Creates, reads, and updates metadata for Google Cloud Platform resource containers. - [Original documentation](https://cloud.google.com/resource-manager) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudresourcemanager_v3/cloudresourcemanager_v3-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudresourcemanager_v3/cloudresourcemanager_v3-library.html) #### Cloud Scheduler API - `cloudscheduler/v1` Creates and manages jobs run on a regular recurring schedule. - [Original documentation](https://cloud.google.com/scheduler/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudscheduler_v1/cloudscheduler_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudscheduler_v1/cloudscheduler_v1-library.html) #### Cloud Search API - `cloudsearch/v1` Cloud Search provides cloud-based search capabilities over Google Workspace data. The Cloud Search API allows indexing of non-Google Workspace data into Cloud Search. - [Original documentation](https://developers.google.com/cloud-search/docs/guides/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudsearch_v1/cloudsearch_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudsearch_v1/cloudsearch_v1-library.html) #### Cloud Shell API - `cloudshell/v1` Allows users to start, configure, and connect to interactive shell sessions running in the cloud. - [Original documentation](https://cloud.google.com/shell/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudshell_v1/cloudshell_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudshell_v1/cloudshell_v1-library.html) #### Google Cloud Support API - `cloudsupport/v2` Manages Google Cloud technical support cases for Customer Care support offerings. - [Original documentation](https://cloud.google.com/support/docs/apis) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudsupport_v2/cloudsupport_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudsupport_v2/cloudsupport_v2-library.html) #### Cloud Tasks API - `cloudtasks/v2` Manages the execution of large numbers of distributed requests. - [Original documentation](https://cloud.google.com/tasks/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudtasks_v2/cloudtasks_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudtasks_v2/cloudtasks_v2-library.html) #### Cloud Trace API - `cloudtrace/v2` Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenTelemetry. - [Original documentation](https://cloud.google.com/trace) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/cloudtrace_v2/cloudtrace_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/cloudtrace_v2/cloudtrace_v2-library.html) #### Cloud Composer API - `composer/v1` Manages Apache Airflow environments on Google Cloud Platform. - [Original documentation](https://cloud.google.com/composer/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/composer_v1/composer_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/composer_v1/composer_v1-library.html) #### ![Logo](https://www.google.com/images/icons/product/compute_engine-16.png) Compute Engine API - `compute/v1` Creates and runs virtual machines on Google Cloud Platform. - [Original documentation](https://cloud.google.com/compute/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/compute_v1/compute_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/compute_v1/compute_v1-library.html) #### Infrastructure Manager API - `config/v1` Creates and manages Google Cloud Platform resources and infrastructure. - [Original documentation](https://cloud.google.com/infrastructure-manager/docs) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/config_v1/config_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/config_v1/config_v1-library.html) #### Connectors API - `connectors/v1` Enables users to create and manage connections to Google Cloud services and third-party business applications using the Connectors interface. - [Original documentation](https://cloud.google.com/apigee/docs/api-platform/connectors/about-connectors) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/connectors_v1/connectors_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/connectors_v1/connectors_v1-library.html) #### Connectors API - `connectors/v2` Enables users to create and manage connections to Google Cloud services and third-party business applications using the Connectors interface. - [Original documentation](https://cloud.google.com/apigee/docs/api-platform/connectors/about-connectors) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/connectors_v2/connectors_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/connectors_v2/connectors_v2-library.html) #### Contact Center AI Insights API - `contactcenterinsights/v1` - [Original documentation](https://cloud.google.com/contact-center/insights/docs) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/contactcenterinsights_v1/contactcenterinsights_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/contactcenterinsights_v1/contactcenterinsights_v1-library.html) #### Kubernetes Engine API - `container/v1` Builds and manages container-based applications, powered by the open source Kubernetes technology. - [Original documentation](https://cloud.google.com/container-engine/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/container_v1/container_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/container_v1/container_v1-library.html) #### Container Analysis API - `containeranalysis/v1` This API is a prerequisite for leveraging Artifact Analysis scanning capabilities in both Artifact Registry and with Advanced Vulnerability Insights (runtime scanning) in GKE. In addition, the Container Analysis API is an implementation of the Grafeas API, which enables storing, querying, and retrieval of critical metadata about all of your software artifacts. - [Original documentation](https://cloud.google.com/container-analysis/api/reference/rest/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/containeranalysis_v1/containeranalysis_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/containeranalysis_v1/containeranalysis_v1-library.html) #### Content API for Shopping - `content/v2_1` Manage your product listings and accounts for Google Shopping - [Original documentation](https://developers.google.com/shopping-content/v2/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/content_v2_1/content_v2_1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/content_v2_1/content_v2_1-library.html) #### Document AI Warehouse API - `contentwarehouse/v1` - [Original documentation](https://cloud.google.com/document-warehouse) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/contentwarehouse_v1/contentwarehouse_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/contentwarehouse_v1/contentwarehouse_v1-library.html) #### Custom Search API - `customsearch/v1` Searches over a website or collection of websites - [Original documentation](https://developers.google.com/custom-search/v1/introduction) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/customsearch_v1/customsearch_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/customsearch_v1/customsearch_v1-library.html) #### Google Cloud Data Catalog API - `datacatalog/v1` A fully managed and highly scalable data discovery and metadata management service. - [Original documentation](https://cloud.google.com/data-catalog/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/datacatalog_v1/datacatalog_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/datacatalog_v1/datacatalog_v1-library.html) #### Cloud Data Fusion API - `datafusion/v1` Cloud Data Fusion is a fully-managed, cloud native, enterprise data integration service for quickly building and managing data pipelines. It provides a graphical interface to increase time efficiency and reduce complexity, and allows business users, developers, and data scientists to easily and reliably build scalable data integration solutions to cleanse, prepare, blend, transfer and transform data without having to wrestle with infrastructure. - [Original documentation](https://cloud.google.com/data-fusion/docs) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/datafusion_v1/datafusion_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/datafusion_v1/datafusion_v1-library.html) #### Data Lineage API - `datalineage/v1` - [Original documentation](https://cloud.google.com/data-catalog) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/datalineage_v1/datalineage_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/datalineage_v1/datalineage_v1-library.html) #### Database Migration API - `datamigration/v1` Manage Cloud Database Migration Service resources on Google Cloud Platform. - [Original documentation](https://cloud.google.com/database-migration/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/datamigration_v1/datamigration_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/datamigration_v1/datamigration_v1-library.html) #### Data pipelines API - `datapipelines/v1` Data Pipelines provides an interface for creating, updating, and managing recurring Data Analytics jobs. - [Original documentation](https://cloud.google.com/dataflow/docs/guides/data-pipelines) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/datapipelines_v1/datapipelines_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/datapipelines_v1/datapipelines_v1-library.html) #### Cloud Dataplex API - `dataplex/v1` Dataplex API is used to manage the lifecycle of data lakes. - [Original documentation](https://cloud.google.com/dataplex/docs) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/dataplex_v1/dataplex_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/dataplex_v1/dataplex_v1-library.html) #### Data Portability API - `dataportability/v1` The Data Portability API lets you build applications that request authorization from a user to move a copy of data from Google services into your application. This enables data portability and facilitates switching services. - [Original documentation](https://developers.google.com/data-portability) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/dataportability_v1/dataportability_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/dataportability_v1/dataportability_v1-library.html) #### Cloud Dataproc API - `dataproc/v1` Manages Hadoop-based clusters and jobs on Google Cloud Platform. - [Original documentation](https://cloud.google.com/dataproc/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/dataproc_v1/dataproc_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/dataproc_v1/dataproc_v1-library.html) #### Cloud Datastore API - `datastore/v1` Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application. - [Original documentation](https://cloud.google.com/datastore/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/datastore_v1/datastore_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/datastore_v1/datastore_v1-library.html) #### Datastream API - `datastream/v1` - [Original documentation](https://cloud.google.com/datastream/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/datastream_v1/datastream_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/datastream_v1/datastream_v1-library.html) #### Cloud Deployment Manager V2 API - `deploymentmanager/v2` The Google Cloud Deployment Manager v2 API provides services for configuring, deploying, and viewing Google Cloud services and APIs via templates which specify deployments of Cloud resources. - [Original documentation](https://cloud.google.com/deployment-manager) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/deploymentmanager_v2/deploymentmanager_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/deploymentmanager_v2/deploymentmanager_v2-library.html) #### Developer Connect API - `developerconnect/v1` Connect third-party source code management to Google - [Original documentation](http://cloud.google.com/developer-connect/docs/overview) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/developerconnect_v1/developerconnect_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/developerconnect_v1/developerconnect_v1-library.html) #### Campaign Manager 360 API - `dfareporting/v3_5` Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360. - [Original documentation](https://developers.google.com/doubleclick-advertisers/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/dfareporting_v3_5/dfareporting_v3_5-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/dfareporting_v3_5/dfareporting_v3_5-library.html) #### Campaign Manager 360 API - `dfareporting/v4` Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360. - [Original documentation](https://developers.google.com/doubleclick-advertisers/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/dfareporting_v4/dfareporting_v4-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/dfareporting_v4/dfareporting_v4-library.html) #### Dialogflow API - `dialogflow/v2` Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices). - [Original documentation](https://cloud.google.com/dialogflow/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/dialogflow_v2/dialogflow_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/dialogflow_v2/dialogflow_v2-library.html) #### Dialogflow API - `dialogflow/v3` Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices). - [Original documentation](https://cloud.google.com/dialogflow/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/dialogflow_v3/dialogflow_v3-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/dialogflow_v3/dialogflow_v3-library.html) #### Digital Asset Links API - `digitalassetlinks/v1` Discovers relationships between online assets such as websites or mobile apps. - [Original documentation](https://developers.google.com/digital-asset-links/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/digitalassetlinks_v1/digitalassetlinks_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/digitalassetlinks_v1/digitalassetlinks_v1-library.html) #### API Discovery Service - `discovery/v1` Provides information about other Google APIs, such as what APIs are available, the resource, and method details for each API. - [Original documentation](https://developers.google.com/discovery/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/discovery_v1/discovery_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/discovery_v1/discovery_v1-library.html) #### Display & Video 360 API - `displayvideo/v2` Display & Video 360 API allows users to automate complex Display & Video 360 workflows, such as creating insertion orders and setting targeting options for individual line items. - [Original documentation](https://developers.google.com/display-video/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/displayvideo_v2/displayvideo_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/displayvideo_v2/displayvideo_v2-library.html) #### Display & Video 360 API - `displayvideo/v3` Display & Video 360 API allows users to automate complex Display & Video 360 workflows, such as creating insertion orders and setting targeting options for individual line items. - [Original documentation](https://developers.google.com/display-video/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/displayvideo_v3/displayvideo_v3-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/displayvideo_v3/displayvideo_v3-library.html) #### Sensitive Data Protection (DLP) - `dlp/v2` Discover and protect your sensitive data. A fully managed service designed to help you discover, classify, and protect your valuable data assets with ease. - [Original documentation](https://cloud.google.com/sensitive-data-protection/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/dlp_v2/dlp_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/dlp_v2/dlp_v2-library.html) #### Cloud DNS API - `dns/v1` - [Original documentation](https://cloud.google.com/dns/docs) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/dns_v1/dns_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/dns_v1/dns_v1-library.html) #### Google Docs API - `docs/v1` Reads and writes Google Docs documents. - [Original documentation](https://developers.google.com/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/docs_v1/docs_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/docs_v1/docs_v1-library.html) #### Cloud Document AI API - `documentai/v1` Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML. - [Original documentation](https://cloud.google.com/document-ai/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/documentai_v1/documentai_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/documentai_v1/documentai_v1-library.html) #### Cloud Domains API - `domains/v1` Enables management and configuration of domain names. - [Original documentation](https://cloud.google.com/domains/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/domains_v1/domains_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/domains_v1/domains_v1-library.html) #### Domains RDAP API - `domainsrdap/v1` Read-only public API that lets users search for information about domain names. - [Original documentation](https://developers.google.com/domains/rdap/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/domainsrdap_v1/domainsrdap_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/domainsrdap_v1/domainsrdap_v1-library.html) #### DoubleClick Bid Manager API - `doubleclickbidmanager/v2` DoubleClick Bid Manager API allows users to manage and create campaigns and reports. - [Original documentation](https://developers.google.com/bid-manager/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/doubleclickbidmanager_v2/doubleclickbidmanager_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/doubleclickbidmanager_v2/doubleclickbidmanager_v2-library.html) #### Search Ads 360 API - `doubleclicksearch/v2` The Search Ads 360 API allows developers to automate uploading conversions and downloading reports from Search Ads 360. - [Original documentation](https://developers.google.com/search-ads) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/doubleclicksearch_v2/doubleclicksearch_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/doubleclicksearch_v2/doubleclicksearch_v2-library.html) #### Google Drive API - `drive/v2` The Google Drive API allows clients to access resources from Google Drive. - [Original documentation](https://developers.google.com/drive/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/drive_v2/drive_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/drive_v2/drive_v2-library.html) #### Google Drive API - `drive/v3` The Google Drive API allows clients to access resources from Google Drive. - [Original documentation](https://developers.google.com/drive/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/drive_v3/drive_v3-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/drive_v3/drive_v3-library.html) #### Drive Activity API - `driveactivity/v2` Provides a historical view of activity in Google Drive. - [Original documentation](https://developers.google.com/drive/activity/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/driveactivity_v2/driveactivity_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/driveactivity_v2/driveactivity_v2-library.html) #### Drive Labels API - `drivelabels/v2` An API for managing Drive Labels - [Original documentation](https://developers.google.com/drive/labels) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/drivelabels_v2/drivelabels_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/drivelabels_v2/drivelabels_v2-library.html) #### Essential Contacts API - `essentialcontacts/v1` - [Original documentation](https://cloud.google.com/essentialcontacts/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/essentialcontacts_v1/essentialcontacts_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/essentialcontacts_v1/essentialcontacts_v1-library.html) #### Eventarc API - `eventarc/v1` Build event-driven applications on Google Cloud Platform. - [Original documentation](https://cloud.google.com/eventarc) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/eventarc_v1/eventarc_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/eventarc_v1/eventarc_v1-library.html) #### Firebase Cloud Messaging API - `fcm/v1` FCM send API that provides a cross-platform messaging solution to reliably deliver messages at no cost. - [Original documentation](https://firebase.google.com/docs/cloud-messaging) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/fcm_v1/fcm_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/fcm_v1/fcm_v1-library.html) #### Cloud Filestore API - `file/v1` The Cloud Filestore API is used for creating and managing cloud file servers. - [Original documentation](https://cloud.google.com/filestore/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/file_v1/file_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/file_v1/file_v1-library.html) #### Firebase App Check API - `firebaseappcheck/v1` Firebase App Check works alongside other Firebase services to help protect your backend resources from abuse, such as billing fraud or phishing. - [Original documentation](https://firebase.google.com/docs/app-check) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/firebaseappcheck_v1/firebaseappcheck_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/firebaseappcheck_v1/firebaseappcheck_v1-library.html) #### Firebase App Distribution API - `firebaseappdistribution/v1` - [Original documentation](https://firebase.google.com/products/app-distribution) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/firebaseappdistribution_v1/firebaseappdistribution_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/firebaseappdistribution_v1/firebaseappdistribution_v1-library.html) #### Firebase Dynamic Links API - `firebasedynamiclinks/v1` Programmatically creates and manages Firebase Dynamic Links. - [Original documentation](https://firebase.google.com/docs/dynamic-links/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/firebasedynamiclinks_v1/firebasedynamiclinks_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/firebasedynamiclinks_v1/firebasedynamiclinks_v1-library.html) #### Firebase Hosting API - `firebasehosting/v1` The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites. Use this REST API to create and manage channels and sites as well as to deploy new or updated hosting configurations and content files. - [Original documentation](https://firebase.google.com/docs/hosting/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/firebasehosting_v1/firebasehosting_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/firebasehosting_v1/firebasehosting_v1-library.html) #### Firebase ML API - `firebaseml/v1` Access custom machine learning models hosted via Firebase ML. - [Original documentation](https://firebase.google.com) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/firebaseml_v1/firebaseml_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/firebaseml_v1/firebaseml_v1-library.html) #### Firebase Remote Config API - `firebaseremoteconfig/v1` The Firebase Remote Config API lets developers change the behavior and appearance of their apps without requiring users to download an app update. It is an alternative to, but can be used in tandem with, the Firebase console at https://console.firebase.google.com. - [Original documentation](https://firebase.google.com/docs/remote-config/use-config-rest) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/firebaseremoteconfig_v1/firebaseremoteconfig_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/firebaseremoteconfig_v1/firebaseremoteconfig_v1-library.html) #### Firebase Rules API - `firebaserules/v1` Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request. - [Original documentation](https://firebase.google.com/docs/storage/security) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/firebaserules_v1/firebaserules_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/firebaserules_v1/firebaserules_v1-library.html) #### Cloud Firestore API - `firestore/v1` Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development. - [Original documentation](https://cloud.google.com/firestore) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/firestore_v1/firestore_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/firestore_v1/firestore_v1-library.html) #### Fitness API - `fitness/v1` The Fitness API for managing users' fitness tracking data. - [Original documentation](https://developers.google.com/fit/rest/v1/get-started) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/fitness_v1/fitness_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/fitness_v1/fitness_v1-library.html) #### Google Forms API - `forms/v1` Reads and writes Google Forms and responses. - [Original documentation](https://developers.google.com/forms/api) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/forms_v1/forms_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/forms_v1/forms_v1-library.html) #### Google Play Game Services - `games/v1` The Google Play games service allows developers to enhance games with social leaderboards, achievements, game state, sign-in with Google, and more. - [Original documentation](https://developers.google.com/games/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/games_v1/games_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/games_v1/games_v1-library.html) #### Google Play Game Services Publishing API - `gamesConfiguration/v1configuration` The Google Play Game Services Publishing API allows developers to configure their games in Game Services. - [Original documentation](https://developers.google.com/games/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/gamesConfiguration_v1configuration/gamesConfiguration_v1configuration-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/gamesConfiguration_v1configuration/gamesConfiguration_v1configuration-library.html) #### Google Play Game Management - `gamesManagement/v1management` The Google Play Game Management API allows developers to manage resources from the Google Play Game service. - [Original documentation](https://developers.google.com/games/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/gamesManagement_v1management/gamesManagement_v1management-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/gamesManagement_v1management/gamesManagement_v1management-library.html) #### Backup for GKE API - `gkebackup/v1` Backup for GKE is a managed Kubernetes workload backup and restore service for GKE clusters. - [Original documentation](https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/gkebackup_v1/gkebackup_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/gkebackup_v1/gkebackup_v1-library.html) #### GKE Hub API - `gkehub/v1` - [Original documentation](https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/gkehub_v1/gkehub_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/gkehub_v1/gkehub_v1-library.html) #### Anthos On-Prem API - `gkeonprem/v1` - [Original documentation](https://cloud.google.com/anthos/clusters/docs/on-prem/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/gkeonprem_v1/gkeonprem_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/gkeonprem_v1/gkeonprem_v1-library.html) #### Gmail API - `gmail/v1` The Gmail API lets you view and manage Gmail mailbox data like threads, messages, and labels. - [Original documentation](https://developers.google.com/gmail/api/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/gmail_v1/gmail_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/gmail_v1/gmail_v1-library.html) #### Gmail Postmaster Tools API - `gmailpostmastertools/v1` The Postmaster Tools API is a RESTful API that provides programmatic access to email traffic metrics (like spam reports, delivery errors etc) otherwise available through the Gmail Postmaster Tools UI currently. - [Original documentation](https://developers.google.com/gmail/postmaster) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/gmailpostmastertools_v1/gmailpostmastertools_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/gmailpostmastertools_v1/gmailpostmastertools_v1-library.html) #### Groups Migration API - `groupsmigration/v1` The Groups Migration API allows domain administrators to archive emails into Google groups. - [Original documentation](https://developers.google.com/google-apps/groups-migration/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/groupsmigration_v1/groupsmigration_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/groupsmigration_v1/groupsmigration_v1-library.html) #### ![Logo](https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png) Groups Settings API - `groupssettings/v1` Manages permission levels and related settings of a group. - [Original documentation](https://developers.google.com/google-apps/groups-settings/get_started) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/groupssettings_v1/groupssettings_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/groupssettings_v1/groupssettings_v1-library.html) #### Cloud Healthcare API - `healthcare/v1` Manage, store, and access healthcare data in Google Cloud Platform. - [Original documentation](https://cloud.google.com/healthcare) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/healthcare_v1/healthcare_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/healthcare_v1/healthcare_v1-library.html) #### HomeGraph API - `homegraph/v1` - [Original documentation](https://developers.home.google.com/cloud-to-cloud/get-started) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/homegraph_v1/homegraph_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/homegraph_v1/homegraph_v1-library.html) #### Identity and Access Management (IAM) API - `iam/v1` Manages identity and access control for Google Cloud resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. Enabling this API also enables the IAM Service Account Credentials API (iamcredentials.googleapis.com). However, disabling this API doesn't disable the IAM Service Account Credentials API. - [Original documentation](https://cloud.google.com/iam/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/iam_v1/iam_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/iam_v1/iam_v1-library.html) #### Identity and Access Management (IAM) API - `iam/v2` Manages identity and access control for Google Cloud resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. Enabling this API also enables the IAM Service Account Credentials API (iamcredentials.googleapis.com). However, disabling this API doesn't disable the IAM Service Account Credentials API. - [Original documentation](https://cloud.google.com/iam/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/iam_v2/iam_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/iam_v2/iam_v2-library.html) #### IAM Service Account Credentials API - `iamcredentials/v1` Creates short-lived credentials for impersonating IAM service accounts. Disabling this API also disables the IAM API (iam.googleapis.com). However, enabling this API doesn't enable the IAM API. - [Original documentation](https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/iamcredentials_v1/iamcredentials_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/iamcredentials_v1/iamcredentials_v1-library.html) #### Cloud Identity-Aware Proxy API - `iap/v1` Controls access to cloud applications running on Google Cloud Platform. - [Original documentation](https://cloud.google.com/iap) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/iap_v1/iap_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/iap_v1/iap_v1-library.html) #### Identity Toolkit API - `identitytoolkit/v1` The Google Identity Toolkit API lets you use open standards to verify a user's identity. - [Original documentation](https://cloud.google.com/identity-platform) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/identitytoolkit_v1/identitytoolkit_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/identitytoolkit_v1/identitytoolkit_v1-library.html) #### Identity Toolkit API - `identitytoolkit/v2` The Google Identity Toolkit API lets you use open standards to verify a user's identity. - [Original documentation](https://cloud.google.com/identity-platform) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/identitytoolkit_v2/identitytoolkit_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/identitytoolkit_v2/identitytoolkit_v2-library.html) #### ![Logo](https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png) Google Identity Toolkit API - `identitytoolkit/v3` Help the third party sites to implement federated login. - [Original documentation](https://developers.google.com/identity-toolkit/v3/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/identitytoolkit_v3/identitytoolkit_v3-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/identitytoolkit_v3/identitytoolkit_v3-library.html) #### Cloud IDS API - `ids/v1` Cloud IDS (Cloud Intrusion Detection System) detects malware, spyware, command-and-control attacks, and other network-based threats. Its security efficacy is industry leading, built with Palo Alto Networks technologies. When you use this product, your organization name and consumption levels will be shared with Palo Alto Networks. - [Original documentation](https://cloud.google.com/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/ids_v1/ids_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/ids_v1/ids_v1-library.html) #### Web Search Indexing API - `indexing/v3` Notifies Google Web Search when your web pages change. - [Original documentation](https://developers.google.com/search/apis/indexing-api/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/indexing_v3/indexing_v3-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/indexing_v3/indexing_v3-library.html) #### Application Integration API - `integrations/v1` - [Original documentation](https://cloud.google.com/application-integration) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/integrations_v1/integrations_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/integrations_v1/integrations_v1-library.html) #### Cloud Talent Solution API - `jobs/v3` Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters. - [Original documentation](https://cloud.google.com/talent-solution/job-search/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/jobs_v3/jobs_v3-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/jobs_v3/jobs_v3-library.html) #### Cloud Talent Solution API - `jobs/v4` Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters. - [Original documentation](https://cloud.google.com/talent-solution/job-search/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/jobs_v4/jobs_v4-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/jobs_v4/jobs_v4-library.html) #### Google Keep API - `keep/v1` The Google Keep API is used in an enterprise environment to manage Google Keep content and resolve issues identified by cloud security software. - [Original documentation](https://developers.google.com/keep/api) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/keep_v1/keep_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/keep_v1/keep_v1-library.html) #### Knowledge Graph Search API - `kgsearch/v1` Searches the Google Knowledge Graph for entities. - [Original documentation](https://developers.google.com/knowledge-graph/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/kgsearch_v1/kgsearch_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/kgsearch_v1/kgsearch_v1-library.html) #### KMS Inventory API - `kmsinventory/v1` - [Original documentation](https://cloud.google.com/kms/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/kmsinventory_v1/kmsinventory_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/kmsinventory_v1/kmsinventory_v1-library.html) #### Cloud Natural Language API - `language/v1` Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers. - [Original documentation](https://cloud.google.com/natural-language/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/language_v1/language_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/language_v1/language_v1-library.html) #### Cloud Natural Language API - `language/v2` Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers. - [Original documentation](https://cloud.google.com/natural-language/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/language_v2/language_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/language_v2/language_v2-library.html) #### Library Agent API - `libraryagent/v1` A simple Google Example Library API. - [Original documentation](https://cloud.google.com/docs/quota) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/libraryagent_v1/libraryagent_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/libraryagent_v1/libraryagent_v1-library.html) #### Enterprise License Manager API - `licensing/v1` The Google Enterprise License Manager API lets you manage Google Workspace and related licenses for all users of a customer that you manage. - [Original documentation](https://developers.google.com/admin-sdk/licensing/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/licensing_v1/licensing_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/licensing_v1/licensing_v1-library.html) #### Local Services API - `localservices/v1` - [Original documentation](https://ads.google.com/local-services-ads/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/localservices_v1/localservices_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/localservices_v1/localservices_v1-library.html) #### Cloud Logging API - `logging/v2` Writes log entries and manages your Cloud Logging configuration. - [Original documentation](https://cloud.google.com/logging/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/logging_v2/logging_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/logging_v2/logging_v2-library.html) #### Looker (Google Cloud core) API - `looker/v1` - [Original documentation](https://cloud.google.com/looker/docs/reference/rest/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/looker_v1/looker_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/looker_v1/looker_v1-library.html) #### Managed Service for Microsoft Active Directory API - `managedidentities/v1` The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD). - [Original documentation](https://cloud.google.com/managed-microsoft-ad/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/managedidentities_v1/managedidentities_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/managedidentities_v1/managedidentities_v1-library.html) #### Manufacturer Center API - `manufacturers/v1` Public API for managing Manufacturer Center related data. - [Original documentation](https://developers.google.com/manufacturers/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/manufacturers_v1/manufacturers_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/manufacturers_v1/manufacturers_v1-library.html) #### Cloud Memorystore for Memcached API - `memcache/v1` Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP. - [Original documentation](https://cloud.google.com/memorystore/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/memcache_v1/memcache_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/memcache_v1/memcache_v1-library.html) #### Dataproc Metastore API - `metastore/v1` The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services. - [Original documentation](https://cloud.google.com/dataproc-metastore/docs) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/metastore_v1/metastore_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/metastore_v1/metastore_v1-library.html) #### Migration Center API - `migrationcenter/v1` A unified platform that helps you accelerate your end-to-end cloud journey from your current on-premises or cloud environments to Google Cloud. - [Original documentation](https://cloud.google.com/migration-center) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/migrationcenter_v1/migrationcenter_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/migrationcenter_v1/migrationcenter_v1-library.html) #### AI Platform Training & Prediction API - `ml/v1` An API to enable creating and using machine learning models. - [Original documentation](https://cloud.google.com/ml/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/ml_v1/ml_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/ml_v1/ml_v1-library.html) #### Cloud Monitoring API - `monitoring/v3` Manages your Cloud Monitoring data and configurations. - [Original documentation](https://cloud.google.com/monitoring/api/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/monitoring_v3/monitoring_v3-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/monitoring_v3/monitoring_v3-library.html) #### My Business Account Management API - `mybusinessaccountmanagement/v1` The My Business Account Management API provides an interface for managing access to a location on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access. - [Original documentation](https://developers.google.com/my-business/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/mybusinessaccountmanagement_v1/mybusinessaccountmanagement_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/mybusinessaccountmanagement_v1/mybusinessaccountmanagement_v1-library.html) #### My Business Business Information API - `mybusinessbusinessinformation/v1` The My Business Business Information API provides an interface for managing business information. Note - If you have a quota of 0 after enabling the API, please request for GBP API access. - [Original documentation](https://developers.google.com/my-business/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/mybusinessbusinessinformation_v1/mybusinessbusinessinformation_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/mybusinessbusinessinformation_v1/mybusinessbusinessinformation_v1-library.html) #### My Business Lodging API - `mybusinesslodging/v1` The My Business Lodging API enables managing lodging business information on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access. - [Original documentation](https://developers.google.com/my-business/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/mybusinesslodging_v1/mybusinesslodging_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/mybusinesslodging_v1/mybusinesslodging_v1-library.html) #### My Business Notifications API - `mybusinessnotifications/v1` The My Business Notification Settings API enables managing notification settings for business accounts. Note - If you have a quota of 0 after enabling the API, please request for GBP API access. - [Original documentation](https://developers.google.com/my-business/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/mybusinessnotifications_v1/mybusinessnotifications_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/mybusinessnotifications_v1/mybusinessnotifications_v1-library.html) #### My Business Place Actions API - `mybusinessplaceactions/v1` The My Business Place Actions API provides an interface for managing place action links of a location on Google. Note - If you have a quota of 0 after enabling the API, please request for GBP API access. - [Original documentation](https://developers.google.com/my-business/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/mybusinessplaceactions_v1/mybusinessplaceactions_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/mybusinessplaceactions_v1/mybusinessplaceactions_v1-library.html) #### My Business Q&A API - `mybusinessqanda/v1` The My Business Q&A API allows questions and answers to be posted for specific listings. Note - If you have a quota of 0 after enabling the API, please request for GBP API access. - [Original documentation](https://developers.google.com/my-business/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/mybusinessqanda_v1/mybusinessqanda_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/mybusinessqanda_v1/mybusinessqanda_v1-library.html) #### My Business Verifications API - `mybusinessverifications/v1` The My Business Verifications API provides an interface for taking verifications related actions for locations. - [Original documentation](https://developers.google.com/my-business/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/mybusinessverifications_v1/mybusinessverifications_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/mybusinessverifications_v1/mybusinessverifications_v1-library.html) #### Network Connectivity API - `networkconnectivity/v1` This API enables connectivity with and between Google Cloud resources. - [Original documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/networkconnectivity_v1/networkconnectivity_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/networkconnectivity_v1/networkconnectivity_v1-library.html) #### Network Management API - `networkmanagement/v1` The Network Management API provides a collection of network performance monitoring and diagnostic capabilities. - [Original documentation](https://cloud.google.com/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/networkmanagement_v1/networkmanagement_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/networkmanagement_v1/networkmanagement_v1-library.html) #### Network Security API - `networksecurity/v1` - [Original documentation](https://cloud.google.com/networking) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/networksecurity_v1/networksecurity_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/networksecurity_v1/networksecurity_v1-library.html) #### Network Services API - `networkservices/v1` - [Original documentation](https://cloud.google.com/networking) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/networkservices_v1/networkservices_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/networkservices_v1/networkservices_v1-library.html) #### Notebooks API - `notebooks/v1` Notebooks API is used to manage notebook resources in Google Cloud. - [Original documentation](https://cloud.google.com/notebooks/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/notebooks_v1/notebooks_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/notebooks_v1/notebooks_v1-library.html) #### Notebooks API - `notebooks/v2` Notebooks API is used to manage notebook resources in Google Cloud. - [Original documentation](https://cloud.google.com/notebooks/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/notebooks_v2/notebooks_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/notebooks_v2/notebooks_v2-library.html) #### ![Logo](https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png) Google OAuth2 API - `oauth2/v2` Obtains end-user authorization grants for use with other Google APIs. - [Original documentation](https://developers.google.com/identity/protocols/oauth2/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/oauth2_v2/oauth2_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/oauth2_v2/oauth2_v2-library.html) #### On-Demand Scanning API - `ondemandscanning/v1` A service to scan container images for vulnerabilities. - [Original documentation](https://cloud.google.com/container-analysis/docs/on-demand-scanning/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/ondemandscanning_v1/ondemandscanning_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/ondemandscanning_v1/ondemandscanning_v1-library.html) #### Organization Policy API - `orgpolicy/v2` The Organization Policy API allows users to configure governance rules on their Google Cloud resources across the resource hierarchy. - [Original documentation](https://cloud.google.com/orgpolicy/docs/reference/rest/index.html) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/orgpolicy_v2/orgpolicy_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/orgpolicy_v2/orgpolicy_v2-library.html) #### OS Config API - `osconfig/v1` OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances. - [Original documentation](https://cloud.google.com/compute/docs/osconfig/rest) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/osconfig_v1/osconfig_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/osconfig_v1/osconfig_v1-library.html) #### Cloud OS Login API - `oslogin/v1` You can use OS Login to manage access to your VM instances using IAM roles. - [Original documentation](https://cloud.google.com/compute/docs/oslogin/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/oslogin_v1/oslogin_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/oslogin_v1/oslogin_v1-library.html) #### PageSpeed Insights API - `pagespeedonline/v5` The PageSpeed Insights API lets you analyze the performance of your website with a simple API. It offers tailored suggestions for how you can optimize your site, and lets you easily integrate PageSpeed Insights analysis into your development tools and workflow. - [Original documentation](https://developers.google.com/speed/docs/insights/v5/about) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/pagespeedonline_v5/pagespeedonline_v5-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/pagespeedonline_v5/pagespeedonline_v5-library.html) #### Payments Reseller Subscription API - `paymentsresellersubscription/v1` - [Original documentation](https://developers.google.com/payments/reseller/subscription/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/paymentsresellersubscription_v1/paymentsresellersubscription_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/paymentsresellersubscription_v1/paymentsresellersubscription_v1-library.html) #### People API - `people/v1` Provides access to information about profiles and contacts. - [Original documentation](https://developers.google.com/people/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/people_v1/people_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/people_v1/people_v1-library.html) #### Photos Library API - `photoslibrary/v1` Manage photos, videos, and albums in Google Photos - [Original documentation](https://developers.google.com/photos/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/photoslibrary_v1/photoslibrary_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/photoslibrary_v1/photoslibrary_v1-library.html) #### Places API (New) - `places/v1` - [Original documentation](https://mapsplatform.google.com/maps-products/#places-section) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/places_v1/places_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/places_v1/places_v1-library.html) #### Google Play Custom App Publishing API - `playcustomapp/v1` API to create and publish custom Android apps - [Original documentation](https://developers.google.com/android/work/play/custom-app-api/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/playcustomapp_v1/playcustomapp_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/playcustomapp_v1/playcustomapp_v1-library.html) #### Google Play Integrity API - `playintegrity/v1` The Play Integrity API helps you check that you're interacting with your genuine app on a genuine Android device powered by Google Play services. The Play Integrity API has replaced SafetyNet Attestation and Android Device Verification. - [Original documentation](https://developer.android.com/google/play/integrity) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/playintegrity_v1/playintegrity_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/playintegrity_v1/playintegrity_v1-library.html) #### Policy Analyzer API - `policyanalyzer/v1` - [Original documentation](https://www.google.com) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/policyanalyzer_v1/policyanalyzer_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/policyanalyzer_v1/policyanalyzer_v1-library.html) #### Policy Simulator API - `policysimulator/v1` Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy. - [Original documentation](https://cloud.google.com/iam/docs/simulating-access) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/policysimulator_v1/policysimulator_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/policysimulator_v1/policysimulator_v1-library.html) #### Policy Troubleshooter API - `policytroubleshooter/v1` - [Original documentation](https://cloud.google.com/iam/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/policytroubleshooter_v1/policytroubleshooter_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/policytroubleshooter_v1/policytroubleshooter_v1-library.html) + +#### Pollen API - `pollen/v1` + +The Pollen API. + +- [Original documentation](https://developers.google.com/maps/documentation/pollen) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/pollen_v1/pollen_v1-library.html) #### Certificate Authority API - `privateca/v1` The Certificate Authority Service API is a highly-available, scalable service that enables you to simplify and automate the management of private certificate authorities (CAs) while staying in control of your private keys. - [Original documentation](https://cloud.google.com/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/privateca_v1/privateca_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/privateca_v1/privateca_v1-library.html) #### Public Certificate Authority API - `publicca/v1` The Public Certificate Authority API may be used to create and manage ACME external account binding keys associated with Google Trust Services' publicly trusted certificate authority. - [Original documentation](https://cloud.google.com/public-certificate-authority/docs) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/publicca_v1/publicca_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/publicca_v1/publicca_v1-library.html) #### Cloud Pub/Sub API - `pubsub/v1` Provides reliable, many-to-many, asynchronous messaging between applications. - [Original documentation](https://cloud.google.com/pubsub/docs) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/pubsub_v1/pubsub_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/pubsub_v1/pubsub_v1-library.html) #### Pub/Sub Lite API - `pubsublite/v1` - [Original documentation](https://cloud.google.com/pubsub/lite/docs) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/pubsublite_v1/pubsublite_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/pubsublite_v1/pubsublite_v1-library.html) #### Rapid Migration Assessment API - `rapidmigrationassessment/v1` The Rapid Migration Assessment service is our first-party migration assessment and planning tool. - [Original documentation](https://cloud.google.com/migration-center) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/rapidmigrationassessment_v1/rapidmigrationassessment_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/rapidmigrationassessment_v1/rapidmigrationassessment_v1-library.html) #### Reader Revenue Subscription Linking API - `readerrevenuesubscriptionlinking/v1` readerrevenuesubscriptionlinking.googleapis.com API. - [Original documentation](https://developers.google.com/news/subscribe/subscription-linking/overview) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/readerrevenuesubscriptionlinking_v1/readerrevenuesubscriptionlinking_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/readerrevenuesubscriptionlinking_v1/readerrevenuesubscriptionlinking_v1-library.html) #### Real-time Bidding API - `realtimebidding/v1` Allows external bidders to manage their RTB integration with Google. This includes managing bidder endpoints, QPS quotas, configuring what ad inventory to receive via pretargeting, submitting creatives for verification, and accessing creative metadata such as approval status. - [Original documentation](https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/realtimebidding_v1/realtimebidding_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/realtimebidding_v1/realtimebidding_v1-library.html) #### reCAPTCHA Enterprise API - `recaptchaenterprise/v1` Help protect your website from fraudulent activity, spam, and abuse without creating friction. - [Original documentation](https://cloud.google.com/recaptcha-enterprise/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/recaptchaenterprise_v1/recaptchaenterprise_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/recaptchaenterprise_v1/recaptchaenterprise_v1-library.html) #### Recommender API - `recommender/v1` - [Original documentation](https://cloud.google.com/recommender/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/recommender_v1/recommender_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/recommender_v1/recommender_v1-library.html) #### Google Cloud Memorystore for Redis API - `redis/v1` Creates and manages Redis instances on the Google Cloud Platform. - [Original documentation](https://cloud.google.com/memorystore/docs/redis/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/redis_v1/redis_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/redis_v1/redis_v1-library.html) #### Google Workspace Reseller API - `reseller/v1` Perform common functions that are available on the Channel Services console at scale, like placing orders and viewing customer information - [Original documentation](https://developers.google.com/google-apps/reseller/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/reseller_v1/reseller_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/reseller_v1/reseller_v1-library.html) #### Resource Settings API - `resourcesettings/v1` The Resource Settings API allows users to control and modify the behavior of their GCP resources (e.g., VM, firewall, Project, etc.) across the Cloud Resource Hierarchy. - [Original documentation](https://cloud.google.com/resource-manager/docs/resource-settings/overview) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/resourcesettings_v1/resourcesettings_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/resourcesettings_v1/resourcesettings_v1-library.html) #### Vertex AI Search for Retail API - `retail/v2` Vertex AI Search for Retail API is made up of Retail Search, Browse and Recommendations. These discovery AI solutions help you implement personalized search, browse and recommendations, based on machine learning models, across your websites and mobile applications. - [Original documentation](https://cloud.google.com/recommendations) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/retail_v2/retail_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/retail_v2/retail_v2-library.html) #### Cloud Run Admin API - `run/v1` Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/. - [Original documentation](https://cloud.google.com/run/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/run_v1/run_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/run_v1/run_v1-library.html) #### Cloud Run Admin API - `run/v2` Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/. - [Original documentation](https://cloud.google.com/run/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/run_v2/run_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/run_v2/run_v2-library.html) #### Cloud Runtime Configuration API - `runtimeconfig/v1` The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions. - [Original documentation](https://cloud.google.com/deployment-manager/runtime-configurator/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/runtimeconfig_v1/runtimeconfig_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/runtimeconfig_v1/runtimeconfig_v1-library.html) #### Safe Browsing API - `safebrowsing/v4` Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API. - [Original documentation](https://developers.google.com/safe-browsing/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/safebrowsing_v4/safebrowsing_v4-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/safebrowsing_v4/safebrowsing_v4-library.html) #### Safe Browsing API - `safebrowsing/v5` Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API. - [Original documentation](https://developers.google.com/safe-browsing/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/safebrowsing_v5/safebrowsing_v5-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/safebrowsing_v5/safebrowsing_v5-library.html) #### Apps Script API - `script/v1` Manages and executes Google Apps Script projects. - [Original documentation](https://developers.google.com/apps-script/api/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/script_v1/script_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/script_v1/script_v1-library.html) #### Google Search Console API - `searchconsole/v1` The Search Console API provides access to both Search Console data (verified users only) and to public information on an URL basis (anyone) - [Original documentation](https://developers.google.com/webmaster-tools/search-console-api/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/searchconsole_v1/searchconsole_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/searchconsole_v1/searchconsole_v1-library.html) #### Secret Manager API - `secretmanager/v1` Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security. - [Original documentation](https://cloud.google.com/secret-manager/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/secretmanager_v1/secretmanager_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/secretmanager_v1/secretmanager_v1-library.html) #### Security Command Center API - `securitycenter/v1` Security Command Center API provides access to temporal views of assets and findings within an organization. - [Original documentation](https://cloud.google.com/security-command-center) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/securitycenter_v1/securitycenter_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/securitycenter_v1/securitycenter_v1-library.html) #### Service Consumer Management API - `serviceconsumermanagement/v1` Manages the service consumers of a Service Infrastructure service. - [Original documentation](https://cloud.google.com/service-consumer-management/docs/overview) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/serviceconsumermanagement_v1/serviceconsumermanagement_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/serviceconsumermanagement_v1/serviceconsumermanagement_v1-library.html) #### Service Control API - `servicecontrol/v1` Provides admission control and telemetry reporting for services integrated with Service Infrastructure. - [Original documentation](https://cloud.google.com/service-control/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/servicecontrol_v1/servicecontrol_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/servicecontrol_v1/servicecontrol_v1-library.html) #### Service Control API - `servicecontrol/v2` Provides admission control and telemetry reporting for services integrated with Service Infrastructure. - [Original documentation](https://cloud.google.com/service-control/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/servicecontrol_v2/servicecontrol_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/servicecontrol_v2/servicecontrol_v2-library.html) #### Service Directory API - `servicedirectory/v1` Service Directory is a platform for discovering, publishing, and connecting services. - [Original documentation](https://cloud.google.com/service-directory) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/servicedirectory_v1/servicedirectory_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/servicedirectory_v1/servicedirectory_v1-library.html) #### Service Management API - `servicemanagement/v1` Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers. - [Original documentation](https://cloud.google.com/service-management/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/servicemanagement_v1/servicemanagement_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/servicemanagement_v1/servicemanagement_v1-library.html) #### Service Networking API - `servicenetworking/v1` Provides automatic management of network configurations necessary for certain services. - [Original documentation](https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/servicenetworking_v1/servicenetworking_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/servicenetworking_v1/servicenetworking_v1-library.html) #### Service Usage API - `serviceusage/v1` Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use. - [Original documentation](https://cloud.google.com/service-usage/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/serviceusage_v1/serviceusage_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/serviceusage_v1/serviceusage_v1-library.html) #### Google Sheets API - `sheets/v4` Reads and writes Google Sheets. - [Original documentation](https://developers.google.com/sheets/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/sheets_v4/sheets_v4-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/sheets_v4/sheets_v4-library.html) #### ![Logo](https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png) Google Site Verification API - `siteVerification/v1` Verifies ownership of websites or domains with Google. - [Original documentation](https://developers.google.com/site-verification/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/siteVerification_v1/siteVerification_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/siteVerification_v1/siteVerification_v1-library.html) #### Google Slides API - `slides/v1` Reads and writes Google Slides presentations. - [Original documentation](https://developers.google.com/slides/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/slides_v1/slides_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/slides_v1/slides_v1-library.html) #### Smart Device Management API - `smartdevicemanagement/v1` Allow select enterprise partners to access, control, and manage Google and Nest devices programmatically. - [Original documentation](https://developers.google.com/nest/device-access) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/smartdevicemanagement_v1/smartdevicemanagement_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/smartdevicemanagement_v1/smartdevicemanagement_v1-library.html) #### Solar API - `solar/v1` Solar API. - [Original documentation](https://developers.google.com/maps/documentation/solar) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/solar_v1/solar_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/solar_v1/solar_v1-library.html) #### Cloud Source Repositories API - `sourcerepo/v1` Accesses source code repositories hosted by Google. Important: Cloud Source Repositories is scheduled for end of sales starting June 17, 2024. Customers who have enabled the API prior to this date will not be affected and can continue to use Cloud Source Repositories. Organizations or projects who have not previously enabled the API cannot use Cloud Source Repositories after this date. View Cloud Source Repositories documentation for more info. - [Original documentation](https://cloud.google.com/source-repositories/docs) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/sourcerepo_v1/sourcerepo_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/sourcerepo_v1/sourcerepo_v1-library.html) #### Cloud Spanner API - `spanner/v1` Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service. - [Original documentation](https://cloud.google.com/spanner/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/spanner_v1/spanner_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/spanner_v1/spanner_v1-library.html) #### Cloud Speech-to-Text API - `speech/v1` Converts audio to text by applying powerful neural network models. - [Original documentation](https://cloud.google.com/speech-to-text/docs/quickstart-protocol) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/speech_v1/speech_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/speech_v1/speech_v1-library.html) #### Cloud Speech-to-Text API - `speech/v2` Converts audio to text by applying powerful neural network models. - [Original documentation](https://cloud.google.com/speech-to-text/docs/quickstart-protocol) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/speech_v2/speech_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/speech_v2/speech_v2-library.html) #### ![Logo](https://www.google.com/images/icons/product/cloud_storage-16.png) Cloud Storage JSON API - `storage/v1` Stores and retrieves potentially large, immutable data objects. - [Original documentation](https://developers.google.com/storage/docs/json_api/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/storage_v1/storage_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/storage_v1/storage_v1-library.html) #### Storage Transfer API - `storagetransfer/v1` Transfers data from external data sources to a Google Cloud Storage bucket or between Google Cloud Storage buckets. - [Original documentation](https://cloud.google.com/storage-transfer/docs) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/storagetransfer_v1/storagetransfer_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/storagetransfer_v1/storagetransfer_v1-library.html) #### Street View Publish API - `streetviewpublish/v1` Publishes 360 photos to Google Maps, along with position, orientation, and connectivity metadata. Apps can offer an interface for positioning, connecting, and uploading user-generated Street View images. - [Original documentation](https://developers.google.com/streetview/publish/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/streetviewpublish_v1/streetviewpublish_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/streetviewpublish_v1/streetviewpublish_v1-library.html) #### Security Token Service API - `sts/v1` The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources. - [Original documentation](https://cloud.google.com/iam/docs/workload-identity-federation) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/sts_v1/sts_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/sts_v1/sts_v1-library.html) #### Tag Manager API - `tagmanager/v1` This API allows clients to access and modify container and tag configuration. - [Original documentation](https://developers.google.com/tag-manager) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/tagmanager_v1/tagmanager_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/tagmanager_v1/tagmanager_v1-library.html) #### Tag Manager API - `tagmanager/v2` This API allows clients to access and modify container and tag configuration. - [Original documentation](https://developers.google.com/tag-manager) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/tagmanager_v2/tagmanager_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/tagmanager_v2/tagmanager_v2-library.html) #### Google Tasks API - `tasks/v1` The Google Tasks API lets you manage your tasks and task lists. - [Original documentation](https://developers.google.com/tasks/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/tasks_v1/tasks_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/tasks_v1/tasks_v1-library.html) #### Cloud Testing API - `testing/v1` Allows developers to run automated tests for their mobile applications on Google infrastructure. - [Original documentation](https://firebase.google.com/docs/test-lab/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/testing_v1/testing_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/testing_v1/testing_v1-library.html) #### Cloud Text-to-Speech API - `texttospeech/v1` Synthesizes natural-sounding speech by applying powerful neural network models. - [Original documentation](https://cloud.google.com/text-to-speech/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/texttospeech_v1/texttospeech_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/texttospeech_v1/texttospeech_v1-library.html) #### Cloud TPU API - `tpu/v1` TPU API provides customers with access to Google TPU technology. - [Original documentation](https://cloud.google.com/tpu/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/tpu_v1/tpu_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/tpu_v1/tpu_v1-library.html) #### Cloud TPU API - `tpu/v2` TPU API provides customers with access to Google TPU technology. - [Original documentation](https://cloud.google.com/tpu/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/tpu_v2/tpu_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/tpu_v2/tpu_v2-library.html) #### Traffic Director API - `trafficdirector/v2` - [Original documentation](https://cloud.google.com/traffic-director) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/trafficdirector_v2/trafficdirector_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/trafficdirector_v2/trafficdirector_v2-library.html) #### Traffic Director API - `trafficdirector/v3` - [Original documentation](https://cloud.google.com/traffic-director) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/trafficdirector_v3/trafficdirector_v3-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/trafficdirector_v3/trafficdirector_v3-library.html) #### Transcoder API - `transcoder/v1` This API converts video files into formats suitable for consumer distribution. For more information, see the Transcoder API overview. - [Original documentation](https://cloud.google.com/transcoder/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/transcoder_v1/transcoder_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/transcoder_v1/transcoder_v1-library.html) #### Cloud Translation API - `translate/v3` Integrates text translation into your website or application. - [Original documentation](https://cloud.google.com/translate/docs/quickstarts) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/translate_v3/translate_v3-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/translate_v3/translate_v3-library.html) #### Travel Impact Model API - `travelimpactmodel/v1` Travel Impact Model API lets you query travel carbon emission estimates. - [Original documentation](https://developers.google.com/travel/impact-model) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/travelimpactmodel_v1/travelimpactmodel_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/travelimpactmodel_v1/travelimpactmodel_v1-library.html) #### Google Vault API - `vault/v1` Retention and eDiscovery for Google Workspace. To work with Vault resources, the account must have the [required Vault privileges](https://support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the **View All Matters** privilege. For example, to download an export, an account needs the **Manage Exports** privilege and the matter shared with them. - [Original documentation](https://developers.google.com/vault) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/vault_v1/vault_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/vault_v1/vault_v1-library.html) #### Chrome Verified Access API - `verifiedaccess/v1` API for Verified Access chrome extension to provide credential verification for chrome devices connecting to an enterprise network - [Original documentation](https://developers.google.com/chrome/verified-access) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/verifiedaccess_v1/verifiedaccess_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/verifiedaccess_v1/verifiedaccess_v1-library.html) #### Chrome Verified Access API - `verifiedaccess/v2` API for Verified Access chrome extension to provide credential verification for chrome devices connecting to an enterprise network - [Original documentation](https://developers.google.com/chrome/verified-access) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/verifiedaccess_v2/verifiedaccess_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/verifiedaccess_v2/verifiedaccess_v2-library.html) #### versionhistory.googleapis.com API - `versionhistory/v1` Version History API - Prod - [Original documentation](https://developer.chrome.com/docs/versionhistory/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/versionhistory_v1/versionhistory_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/versionhistory_v1/versionhistory_v1-library.html) #### Cloud Video Intelligence API - `videointelligence/v1` Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API. - [Original documentation](https://cloud.google.com/video-intelligence/docs/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/videointelligence_v1/videointelligence_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/videointelligence_v1/videointelligence_v1-library.html) #### Cloud Vision API - `vision/v1` Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications. - [Original documentation](https://cloud.google.com/vision/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/vision_v1/vision_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/vision_v1/vision_v1-library.html) #### VM Migration API - `vmmigration/v1` Use the Migrate to Virtual Machines API to programmatically migrate workloads. - [Original documentation](https://cloud.google.com/migrate/virtual-machines) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/vmmigration_v1/vmmigration_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/vmmigration_v1/vmmigration_v1-library.html) #### VMware Engine API - `vmwareengine/v1` The Google VMware Engine API lets you programmatically manage VMware environments. - [Original documentation](https://cloud.google.com/solutions/vmware-as-a-service) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/vmwareengine_v1/vmwareengine_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/vmwareengine_v1/vmwareengine_v1-library.html) #### Serverless VPC Access API - `vpcaccess/v1` API for managing VPC access connectors. - [Original documentation](https://cloud.google.com/vpc/docs/configure-serverless-vpc-access) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/vpcaccess_v1/vpcaccess_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/vpcaccess_v1/vpcaccess_v1-library.html) #### Google Wallet API - `walletobjects/v1` API for issuers to save and manage Google Wallet Objects. - [Original documentation](https://developers.google.com/pay/passes) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/walletobjects_v1/walletobjects_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/walletobjects_v1/walletobjects_v1-library.html) #### Web Fonts Developer API - `webfonts/v1` The Google Web Fonts Developer API lets you retrieve information about web fonts served by Google. - [Original documentation](https://developers.google.com/fonts/docs/developer_api) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/webfonts_v1/webfonts_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/webfonts_v1/webfonts_v1-library.html) #### Web Risk API - `webrisk/v1` - [Original documentation](https://cloud.google.com/web-risk/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/webrisk_v1/webrisk_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/webrisk_v1/webrisk_v1-library.html) #### Web Security Scanner API - `websecurityscanner/v1` Scans your Compute and App Engine apps for common web vulnerabilities. - [Original documentation](https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/websecurityscanner_v1/websecurityscanner_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/websecurityscanner_v1/websecurityscanner_v1-library.html) #### Workflow Executions API - `workflowexecutions/v1` Execute workflows created with Workflows API. - [Original documentation](https://cloud.google.com/workflows) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/workflowexecutions_v1/workflowexecutions_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/workflowexecutions_v1/workflowexecutions_v1-library.html) #### Workflows API - `workflows/v1` Manage workflow definitions. To execute workflows and manage executions, see the Workflows Executions API. - [Original documentation](https://cloud.google.com/workflows) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/workflows_v1/workflows_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/workflows_v1/workflows_v1-library.html) #### Workload Manager API - `workloadmanager/v1` Workload Manager is a service that provides tooling for enterprise workloads to automate the deployment and validation of your workloads against best practices and recommendations. - [Original documentation](https://cloud.google.com/workload-manager/docs) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/workloadmanager_v1/workloadmanager_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/workloadmanager_v1/workloadmanager_v1-library.html) #### Google Workspace Events API - `workspaceevents/v1` The Google Workspace Events API lets you subscribe to events and manage change notifications across Google Workspace applications. - [Original documentation](https://developers.google.com/workspace/events) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/workspaceevents_v1/workspaceevents_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/workspaceevents_v1/workspaceevents_v1-library.html) #### Cloud Workstations API - `workstations/v1` Allows administrators to create managed developer environments in the cloud. - [Original documentation](https://cloud.google.com/workstations) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/workstations_v1/workstations_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/workstations_v1/workstations_v1-library.html) #### YouTube Data API v3 - `youtube/v3` The YouTube Data API v3 is an API that provides access to YouTube data, such as videos, playlists, and channels. - [Original documentation](https://developers.google.com/youtube/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/youtube_v3/youtube_v3-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/youtube_v3/youtube_v3-library.html) #### YouTube Analytics API - `youtubeAnalytics/v2` Retrieves your YouTube Analytics data. - [Original documentation](https://developers.google.com/youtube/analytics) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/youtubeAnalytics_v2/youtubeAnalytics_v2-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/youtubeAnalytics_v2/youtubeAnalytics_v2-library.html) #### YouTube Reporting API - `youtubereporting/v1` Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files. - [Original documentation](https://developers.google.com/youtube/reporting/v1/reports/) -- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0-wip/youtubereporting_v1/youtubereporting_v1-library.html) +- [Dart package details](https://pub.dev/documentation/googleapis/13.2.0/youtubereporting_v1/youtubereporting_v1-library.html) diff --git a/generated/googleapis/lib/accessapproval/v1.dart b/generated/googleapis/lib/accessapproval/v1.dart index 0769adc55..fa96facf3 100644 --- a/generated/googleapis/lib/accessapproval/v1.dart +++ b/generated/googleapis/lib/accessapproval/v1.dart @@ -1455,6 +1455,21 @@ class AccessApprovalSettings { /// The approver ultimately can set the expiration at approval time. core.int? preferredRequestExpirationDays; + /// A setting to indicate the maximum width of an Access Approval request. + /// + /// Optional. + /// Possible string values are: + /// - "REQUEST_SCOPE_MAX_WIDTH_PREFERENCE_UNSPECIFIED" : Default value for + /// proto, shouldn't be used. + /// - "ORGANIZATION" : This is the widest scope possible. It means the + /// customer has no scope restriction when it comes to Access Approval + /// requests. + /// - "FOLDER" : Customer allows the scope of Access Approval requests as + /// broad as the Folder level. + /// - "PROJECT" : Customer allows the scope of Access Approval requests as + /// broad as the Project level. + core.String? requestScopeMaxWidthPreference; + /// A setting to require approval request justifications to be customer /// visible. /// @@ -1472,6 +1487,7 @@ class AccessApprovalSettings { this.notificationPubsubTopic, this.preferNoBroadApprovalRequests, this.preferredRequestExpirationDays, + this.requestScopeMaxWidthPreference, this.requireCustomerVisibleJustification, }); @@ -1513,6 +1529,10 @@ class AccessApprovalSettings { json_.containsKey('preferredRequestExpirationDays') ? json_['preferredRequestExpirationDays'] as core.int : null, + requestScopeMaxWidthPreference: + json_.containsKey('requestScopeMaxWidthPreference') + ? json_['requestScopeMaxWidthPreference'] as core.String + : null, requireCustomerVisibleJustification: json_.containsKey('requireCustomerVisibleJustification') ? json_['requireCustomerVisibleJustification'] as core.bool @@ -1535,6 +1555,8 @@ class AccessApprovalSettings { 'preferNoBroadApprovalRequests': preferNoBroadApprovalRequests!, if (preferredRequestExpirationDays != null) 'preferredRequestExpirationDays': preferredRequestExpirationDays!, + if (requestScopeMaxWidthPreference != null) + 'requestScopeMaxWidthPreference': requestScopeMaxWidthPreference!, if (requireCustomerVisibleJustification != null) 'requireCustomerVisibleJustification': requireCustomerVisibleJustification!, diff --git a/generated/googleapis/lib/accesscontextmanager/v1.dart b/generated/googleapis/lib/accesscontextmanager/v1.dart index 4f2f52a8d..82417de06 100644 --- a/generated/googleapis/lib/accesscontextmanager/v1.dart +++ b/generated/googleapis/lib/accesscontextmanager/v1.dart @@ -2016,7 +2016,85 @@ class AccessLevel { /// /// An access policy is globally visible within an organization, and the /// restrictions it specifies apply to all projects within an organization. -typedef AccessPolicy = $AccessPolicy; +class AccessPolicy { + /// An opaque identifier for the current version of the `AccessPolicy`. + /// + /// This will always be a strongly validated etag, meaning that two Access + /// Polices will be identical if and only if their etags are identical. + /// Clients should not expect this to be in any specific format. + /// + /// Output only. + core.String? etag; + + /// Resource name of the `AccessPolicy`. + /// + /// Format: `accessPolicies/{access_policy}` + /// + /// Output only. + core.String? name; + + /// The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. + /// + /// Currently immutable once created. Format: + /// `organizations/{organization_id}` + /// + /// Required. + core.String? parent; + + /// The scopes of the AccessPolicy. + /// + /// Scopes define which resources a policy can restrict and where its + /// resources can be referenced. For example, policy A with + /// `scopes=["folders/123"]` has the following behavior: - ServicePerimeter + /// can only restrict projects within `folders/123`. - ServicePerimeter within + /// policy A can only reference access levels defined within policy A. - Only + /// one policy can include a given scope; thus, attempting to create a second + /// policy which includes `folders/123` will result in an error. If no scopes + /// are provided, then any resource within the organization can be restricted. + /// Scopes cannot be modified after a policy is created. Policies can only + /// have a single scope. Format: list of `folders/{folder_number}` or + /// `projects/{project_number}` + core.List? scopes; + + /// Human readable title. + /// + /// Does not affect behavior. + /// + /// Required. + core.String? title; + + AccessPolicy({ + this.etag, + this.name, + this.parent, + this.scopes, + this.title, + }); + + AccessPolicy.fromJson(core.Map json_) + : this( + etag: json_.containsKey('etag') ? json_['etag'] as core.String : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + parent: json_.containsKey('parent') + ? json_['parent'] as core.String + : null, + scopes: json_.containsKey('scopes') + ? (json_['scopes'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + title: + json_.containsKey('title') ? json_['title'] as core.String : null, + ); + + core.Map toJson() => { + if (etag != null) 'etag': etag!, + if (name != null) 'name': name!, + if (parent != null) 'parent': parent!, + if (scopes != null) 'scopes': scopes!, + if (title != null) 'title': title!, + }; +} /// Identification for an API Operation. class ApiOperation { diff --git a/generated/googleapis/lib/admin/directory_v1.dart b/generated/googleapis/lib/admin/directory_v1.dart index 232027c76..4ddbf9d7b 100644 --- a/generated/googleapis/lib/admin/directory_v1.dart +++ b/generated/googleapis/lib/admin/directory_v1.dart @@ -531,7 +531,7 @@ class ChromeosdevicesResource { /// as the specified org unit. If this is set to true, 'orgUnitPath' must be /// provided. /// - /// [maxResults] - Maximum number of results to return, value should not + /// [maxResults] - Maximum number of results to return. Value should not /// exceed 300. /// /// [orderBy] - Device property to use for sorting results. @@ -5533,14 +5533,14 @@ class UsersResource { /// `projection=custom`. /// /// [customer] - The unique ID for the customer's Google Workspace account. In - /// case of a multi-domain account, to fetch all groups for a customer, use + /// case of a multi-domain account, to fetch all users for a customer, use /// this field instead of `domain`. You can also use the `my_customer` alias /// to represent your account's `customerId`. The `customerId` is also /// returned as part of the \[Users\](/admin-sdk/directory/v1/reference/users) /// resource. You must provide either the `customer` or the `domain` /// parameter. /// - /// [domain] - The domain name. Use this field to get groups from only one + /// [domain] - The domain name. Use this field to get users from only one /// domain. To return all domains for a customer account, use the `customer` /// query parameter instead. Either the `customer` or the `domain` parameter /// must be provided. diff --git a/generated/googleapis/lib/aiplatform/v1.dart b/generated/googleapis/lib/aiplatform/v1.dart index ec852f6c5..705469a1e 100644 --- a/generated/googleapis/lib/aiplatform/v1.dart +++ b/generated/googleapis/lib/aiplatform/v1.dart @@ -17427,6 +17427,55 @@ class ProjectsLocationsNotebookRuntimeTemplatesResource { response_ as core.Map); } + /// Updates a NotebookRuntimeTemplate. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - The resource name of the NotebookRuntimeTemplate. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/notebookRuntimeTemplates/\[^/\]+$`. + /// + /// [updateMask] - Required. The update mask applies to the resource. For the + /// `FieldMask` definition, see google.protobuf.FieldMask. Input format: + /// `{paths: "${updated_filed}"}` Updatable fields: * + /// `encryption_spec.kms_key_name` + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudAiplatformV1NotebookRuntimeTemplate]. + /// + /// 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 patch( + GoogleCloudAiplatformV1NotebookRuntimeTemplate request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleCloudAiplatformV1NotebookRuntimeTemplate.fromJson( + response_ as core.Map); + } + /// Sets the access control policy on the specified resource. /// /// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, @@ -29514,6 +29563,265 @@ class GoogleCloudAiplatformV1Dataset { }; } +/// Distribution computed over a tuning dataset. +class GoogleCloudAiplatformV1DatasetDistribution { + /// Defines the histogram bucket. + /// + /// Output only. + core.List? + buckets; + + /// The maximum of the population values. + /// + /// Output only. + core.double? max; + + /// The arithmetic mean of the values in the population. + /// + /// Output only. + core.double? mean; + + /// The median of the values in the population. + /// + /// Output only. + core.double? median; + + /// The minimum of the population values. + /// + /// Output only. + core.double? min; + + /// The 5th percentile of the values in the population. + /// + /// Output only. + core.double? p5; + + /// The 95th percentile of the values in the population. + /// + /// Output only. + core.double? p95; + + /// Sum of a given population of values. + /// + /// Output only. + core.double? sum; + + GoogleCloudAiplatformV1DatasetDistribution({ + this.buckets, + this.max, + this.mean, + this.median, + this.min, + this.p5, + this.p95, + this.sum, + }); + + GoogleCloudAiplatformV1DatasetDistribution.fromJson(core.Map json_) + : this( + buckets: json_.containsKey('buckets') + ? (json_['buckets'] as core.List) + .map((value) => + GoogleCloudAiplatformV1DatasetDistributionDistributionBucket + .fromJson( + value as core.Map)) + .toList() + : null, + max: json_.containsKey('max') + ? (json_['max'] as core.num).toDouble() + : null, + mean: json_.containsKey('mean') + ? (json_['mean'] as core.num).toDouble() + : null, + median: json_.containsKey('median') + ? (json_['median'] as core.num).toDouble() + : null, + min: json_.containsKey('min') + ? (json_['min'] as core.num).toDouble() + : null, + p5: json_.containsKey('p5') + ? (json_['p5'] as core.num).toDouble() + : null, + p95: json_.containsKey('p95') + ? (json_['p95'] as core.num).toDouble() + : null, + sum: json_.containsKey('sum') + ? (json_['sum'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (buckets != null) 'buckets': buckets!, + if (max != null) 'max': max!, + if (mean != null) 'mean': mean!, + if (median != null) 'median': median!, + if (min != null) 'min': min!, + if (p5 != null) 'p5': p5!, + if (p95 != null) 'p95': p95!, + if (sum != null) 'sum': sum!, + }; +} + +/// Dataset bucket used to create a histogram for the distribution given a +/// population of values. +class GoogleCloudAiplatformV1DatasetDistributionDistributionBucket { + /// Number of values in the bucket. + /// + /// Output only. + core.String? count; + + /// Left bound of the bucket. + /// + /// Output only. + core.double? left; + + /// Right bound of the bucket. + /// + /// Output only. + core.double? right; + + GoogleCloudAiplatformV1DatasetDistributionDistributionBucket({ + this.count, + this.left, + this.right, + }); + + GoogleCloudAiplatformV1DatasetDistributionDistributionBucket.fromJson( + core.Map json_) + : this( + count: + json_.containsKey('count') ? json_['count'] as core.String : null, + left: json_.containsKey('left') + ? (json_['left'] as core.num).toDouble() + : null, + right: json_.containsKey('right') + ? (json_['right'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (count != null) 'count': count!, + if (left != null) 'left': left!, + if (right != null) 'right': right!, + }; +} + +/// Statistics computed over a tuning dataset. +class GoogleCloudAiplatformV1DatasetStats { + /// Number of billable characters in the tuning dataset. + /// + /// Output only. + core.String? totalBillableCharacterCount; + + /// Number of tuning characters in the tuning dataset. + /// + /// Output only. + core.String? totalTuningCharacterCount; + + /// Number of examples in the tuning dataset. + /// + /// Output only. + core.String? tuningDatasetExampleCount; + + /// Number of tuning steps for this Tuning Job. + /// + /// Output only. + core.String? tuningStepCount; + + /// Sample user messages in the training dataset uri. + /// + /// Output only. + core.List? userDatasetExamples; + + /// Dataset distributions for the user input tokens. + /// + /// Output only. + GoogleCloudAiplatformV1DatasetDistribution? userInputTokenDistribution; + + /// Dataset distributions for the messages per example. + /// + /// Output only. + GoogleCloudAiplatformV1DatasetDistribution? userMessagePerExampleDistribution; + + /// Dataset distributions for the user output tokens. + /// + /// Output only. + GoogleCloudAiplatformV1DatasetDistribution? userOutputTokenDistribution; + + GoogleCloudAiplatformV1DatasetStats({ + this.totalBillableCharacterCount, + this.totalTuningCharacterCount, + this.tuningDatasetExampleCount, + this.tuningStepCount, + this.userDatasetExamples, + this.userInputTokenDistribution, + this.userMessagePerExampleDistribution, + this.userOutputTokenDistribution, + }); + + GoogleCloudAiplatformV1DatasetStats.fromJson(core.Map json_) + : this( + totalBillableCharacterCount: + json_.containsKey('totalBillableCharacterCount') + ? json_['totalBillableCharacterCount'] as core.String + : null, + totalTuningCharacterCount: + json_.containsKey('totalTuningCharacterCount') + ? json_['totalTuningCharacterCount'] as core.String + : null, + tuningDatasetExampleCount: + json_.containsKey('tuningDatasetExampleCount') + ? json_['tuningDatasetExampleCount'] as core.String + : null, + tuningStepCount: json_.containsKey('tuningStepCount') + ? json_['tuningStepCount'] as core.String + : null, + userDatasetExamples: json_.containsKey('userDatasetExamples') + ? (json_['userDatasetExamples'] as core.List) + .map((value) => GoogleCloudAiplatformV1Content.fromJson( + value as core.Map)) + .toList() + : null, + userInputTokenDistribution: + json_.containsKey('userInputTokenDistribution') + ? GoogleCloudAiplatformV1DatasetDistribution.fromJson( + json_['userInputTokenDistribution'] + as core.Map) + : null, + userMessagePerExampleDistribution: + json_.containsKey('userMessagePerExampleDistribution') + ? GoogleCloudAiplatformV1DatasetDistribution.fromJson( + json_['userMessagePerExampleDistribution'] + as core.Map) + : null, + userOutputTokenDistribution: + json_.containsKey('userOutputTokenDistribution') + ? GoogleCloudAiplatformV1DatasetDistribution.fromJson( + json_['userOutputTokenDistribution'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (totalBillableCharacterCount != null) + 'totalBillableCharacterCount': totalBillableCharacterCount!, + if (totalTuningCharacterCount != null) + 'totalTuningCharacterCount': totalTuningCharacterCount!, + if (tuningDatasetExampleCount != null) + 'tuningDatasetExampleCount': tuningDatasetExampleCount!, + if (tuningStepCount != null) 'tuningStepCount': tuningStepCount!, + if (userDatasetExamples != null) + 'userDatasetExamples': userDatasetExamples!, + if (userInputTokenDistribution != null) + 'userInputTokenDistribution': userInputTokenDistribution!, + if (userMessagePerExampleDistribution != null) + 'userMessagePerExampleDistribution': + userMessagePerExampleDistribution!, + if (userOutputTokenDistribution != null) + 'userOutputTokenDistribution': userOutputTokenDistribution!, + }; +} + /// Describes the dataset version. class GoogleCloudAiplatformV1DatasetVersion { /// Name of the associated BigQuery dataset. @@ -30700,7 +31008,33 @@ class GoogleCloudAiplatformV1DirectRawPredictResponse { } /// Represents the spec of disk options. -typedef GoogleCloudAiplatformV1DiskSpec = $Shared04; +typedef GoogleCloudAiplatformV1DiskSpec = $Shared03; + +/// Statistics computed for datasets used for distillation. +class GoogleCloudAiplatformV1DistillationDataStats { + /// Statistics computed for the training dataset. + /// + /// Output only. + GoogleCloudAiplatformV1DatasetStats? trainingDatasetStats; + + GoogleCloudAiplatformV1DistillationDataStats({ + this.trainingDatasetStats, + }); + + GoogleCloudAiplatformV1DistillationDataStats.fromJson(core.Map json_) + : this( + trainingDatasetStats: json_.containsKey('trainingDatasetStats') + ? GoogleCloudAiplatformV1DatasetStats.fromJson( + json_['trainingDatasetStats'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (trainingDatasetStats != null) + 'trainingDatasetStats': trainingDatasetStats!, + }; +} /// A list of double values. class GoogleCloudAiplatformV1DoubleArray { @@ -33737,6 +34071,13 @@ class GoogleCloudAiplatformV1FeatureOnlineStore { GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint? dedicatedServingEndpoint; + /// Customer-managed encryption key spec for data storage. + /// + /// If set, online store will be secured by this key. + /// + /// Optional. + GoogleCloudAiplatformV1EncryptionSpec? encryptionSpec; + /// Used to perform consistent read-modify-write updates. /// /// If not set, a blind "overwrite" update happens. @@ -33794,6 +34135,7 @@ class GoogleCloudAiplatformV1FeatureOnlineStore { this.bigtable, this.createTime, this.dedicatedServingEndpoint, + this.encryptionSpec, this.etag, this.labels, this.name, @@ -33817,6 +34159,11 @@ class GoogleCloudAiplatformV1FeatureOnlineStore { .fromJson(json_['dedicatedServingEndpoint'] as core.Map) : null, + encryptionSpec: json_.containsKey('encryptionSpec') + ? GoogleCloudAiplatformV1EncryptionSpec.fromJson( + json_['encryptionSpec'] + as core.Map) + : null, etag: json_.containsKey('etag') ? json_['etag'] as core.String : null, labels: json_.containsKey('labels') ? (json_['labels'] as core.Map).map( @@ -33843,6 +34190,7 @@ class GoogleCloudAiplatformV1FeatureOnlineStore { if (createTime != null) 'createTime': createTime!, if (dedicatedServingEndpoint != null) 'dedicatedServingEndpoint': dedicatedServingEndpoint!, + if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!, if (etag != null) 'etag': etag!, if (labels != null) 'labels': labels!, if (name != null) 'name': name!, @@ -35892,6 +36240,55 @@ class GoogleCloudAiplatformV1FunctionCall { }; } +/// Function calling config. +class GoogleCloudAiplatformV1FunctionCallingConfig { + /// Function names to call. + /// + /// Only set when the Mode is ANY. Function names should match + /// \[FunctionDeclaration.name\]. With mode set to ANY, model will predict a + /// function call from the set of function names provided. + /// + /// Optional. + core.List? allowedFunctionNames; + + /// Function calling mode. + /// + /// Optional. + /// Possible string values are: + /// - "MODE_UNSPECIFIED" : Unspecified function calling mode. This value + /// should not be used. + /// - "AUTO" : Default model behavior, model decides to predict either a + /// function call or a natural language repspose. + /// - "ANY" : Model is constrained to always predicting a function call only. + /// If "allowed_function_names" are set, the predicted function call will be + /// limited to any one of "allowed_function_names", else the predicted + /// function call will be any one of the provided "function_declarations". + /// - "NONE" : Model will not predict any function call. Model behavior is + /// same as when not passing any function declarations. + core.String? mode; + + GoogleCloudAiplatformV1FunctionCallingConfig({ + this.allowedFunctionNames, + this.mode, + }); + + GoogleCloudAiplatformV1FunctionCallingConfig.fromJson(core.Map json_) + : this( + allowedFunctionNames: json_.containsKey('allowedFunctionNames') + ? (json_['allowedFunctionNames'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + mode: json_.containsKey('mode') ? json_['mode'] as core.String : null, + ); + + core.Map toJson() => { + if (allowedFunctionNames != null) + 'allowedFunctionNames': allowedFunctionNames!, + if (mode != null) 'mode': mode!, + }; +} + /// Structured representation of a function declaration as defined by the /// [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). /// @@ -36079,6 +36476,13 @@ class GoogleCloudAiplatformV1GenerateContentRequest { /// Optional. GoogleCloudAiplatformV1Content? systemInstruction; + /// Tool config. + /// + /// This config is shared for all tools provided in the request. + /// + /// Optional. + GoogleCloudAiplatformV1ToolConfig? toolConfig; + /// A list of `Tools` the model may use to generate the next response. /// /// A `Tool` is a piece of code that enables the system to interact with @@ -36093,6 +36497,7 @@ class GoogleCloudAiplatformV1GenerateContentRequest { this.generationConfig, this.safetySettings, this.systemInstruction, + this.toolConfig, this.tools, }); @@ -36120,6 +36525,10 @@ class GoogleCloudAiplatformV1GenerateContentRequest { json_['systemInstruction'] as core.Map) : null, + toolConfig: json_.containsKey('toolConfig') + ? GoogleCloudAiplatformV1ToolConfig.fromJson( + json_['toolConfig'] as core.Map) + : null, tools: json_.containsKey('tools') ? (json_['tools'] as core.List) .map((value) => GoogleCloudAiplatformV1Tool.fromJson( @@ -36133,6 +36542,7 @@ class GoogleCloudAiplatformV1GenerateContentRequest { if (generationConfig != null) 'generationConfig': generationConfig!, if (safetySettings != null) 'safetySettings': safetySettings!, if (systemInstruction != null) 'systemInstruction': systemInstruction!, + if (toolConfig != null) 'toolConfig': toolConfig!, if (tools != null) 'tools': tools!, }; } @@ -36312,6 +36722,17 @@ class GoogleCloudAiplatformV1GenerationConfig { /// Optional. core.String? responseMimeType; + /// The `Schema` object allows the definition of input and output data types. + /// + /// These types can be objects, but also primitives and arrays. Represents a + /// select subset of an + /// [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). + /// If set, a compatible response_mime_type must also be set. Compatible + /// mimetypes: `application/json`: Schema for JSON response. + /// + /// Optional. + GoogleCloudAiplatformV1Schema? responseSchema; + /// Stop sequences. /// /// Optional. @@ -36338,6 +36759,7 @@ class GoogleCloudAiplatformV1GenerationConfig { this.maxOutputTokens, this.presencePenalty, this.responseMimeType, + this.responseSchema, this.stopSequences, this.temperature, this.topK, @@ -36361,6 +36783,10 @@ class GoogleCloudAiplatformV1GenerationConfig { responseMimeType: json_.containsKey('responseMimeType') ? json_['responseMimeType'] as core.String : null, + responseSchema: json_.containsKey('responseSchema') + ? GoogleCloudAiplatformV1Schema.fromJson(json_['responseSchema'] + as core.Map) + : null, stopSequences: json_.containsKey('stopSequences') ? (json_['stopSequences'] as core.List) .map((value) => value as core.String) @@ -36383,6 +36809,7 @@ class GoogleCloudAiplatformV1GenerationConfig { if (maxOutputTokens != null) 'maxOutputTokens': maxOutputTokens!, if (presencePenalty != null) 'presencePenalty': presencePenalty!, if (responseMimeType != null) 'responseMimeType': responseMimeType!, + if (responseSchema != null) 'responseSchema': responseSchema!, if (stopSequences != null) 'stopSequences': stopSequences!, if (temperature != null) 'temperature': temperature!, if (topK != null) 'topK': topK!, @@ -44589,6 +45016,11 @@ class GoogleCloudAiplatformV1NotebookRuntime { /// Required. core.String? displayName; + /// Customer-managed encryption key spec for the notebook runtime. + /// + /// Output only. + GoogleCloudAiplatformV1EncryptionSpec? encryptionSpec; + /// Timestamp when this NotebookRuntime will be expired: 1. /// /// System Predefined NotebookRuntime: 24 hours after creation. After @@ -44719,6 +45151,7 @@ class GoogleCloudAiplatformV1NotebookRuntime { this.createTime, this.description, this.displayName, + this.encryptionSpec, this.expirationTime, this.healthState, this.idleShutdownConfig, @@ -44749,6 +45182,11 @@ class GoogleCloudAiplatformV1NotebookRuntime { displayName: json_.containsKey('displayName') ? json_['displayName'] as core.String : null, + encryptionSpec: json_.containsKey('encryptionSpec') + ? GoogleCloudAiplatformV1EncryptionSpec.fromJson( + json_['encryptionSpec'] + as core.Map) + : null, expirationTime: json_.containsKey('expirationTime') ? json_['expirationTime'] as core.String : null, @@ -44816,6 +45254,7 @@ class GoogleCloudAiplatformV1NotebookRuntime { if (createTime != null) 'createTime': createTime!, if (description != null) 'description': description!, if (displayName != null) 'displayName': displayName!, + if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!, if (expirationTime != null) 'expirationTime': expirationTime!, if (healthState != null) 'healthState': healthState!, if (idleShutdownConfig != null) @@ -47032,12 +47471,6 @@ class GoogleCloudAiplatformV1PublisherModelCallToAction { /// Optional. GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke? deployGke; - /// Fine tune the PublisherModel with the third-party model tuning UI. - /// - /// Optional. - GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences? - fineTune; - /// Open evaluation pipeline of the PublisherModel. /// /// Optional. @@ -47100,7 +47533,6 @@ class GoogleCloudAiplatformV1PublisherModelCallToAction { this.createApplication, this.deploy, this.deployGke, - this.fineTune, this.openEvaluationPipeline, this.openFineTuningPipeline, this.openFineTuningPipelines, @@ -47130,11 +47562,6 @@ class GoogleCloudAiplatformV1PublisherModelCallToAction { .fromJson( json_['deployGke'] as core.Map) : null, - fineTune: json_.containsKey('fineTune') - ? GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences - .fromJson( - json_['fineTune'] as core.Map) - : null, openEvaluationPipeline: json_.containsKey('openEvaluationPipeline') ? GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences .fromJson(json_['openEvaluationPipeline'] @@ -47192,7 +47619,6 @@ class GoogleCloudAiplatformV1PublisherModelCallToAction { if (createApplication != null) 'createApplication': createApplication!, if (deploy != null) 'deploy': deploy!, if (deployGke != null) 'deployGke': deployGke!, - if (fineTune != null) 'fineTune': fineTune!, if (openEvaluationPipeline != null) 'openEvaluationPipeline': openEvaluationPipeline!, if (openFineTuningPipeline != null) @@ -48448,6 +48874,49 @@ class GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData { /// Request message for PersistentResourceService.RebootPersistentResource. typedef GoogleCloudAiplatformV1RebootPersistentResourceRequest = $Empty; +/// Statistics computed for datasets used for reinforcement learning. +class GoogleCloudAiplatformV1ReinforcementLearningDataStats { + /// Statistics computed for the preference dataset. + /// + /// This can be either a human preference dataset or a preference dataset + /// generated from AI feedback. + /// + /// Output only. + GoogleCloudAiplatformV1DatasetStats? preferenceDatasetStats; + + /// Statistics computed for the prompt dataset used during reinforcement + /// learning. + /// + /// Output only. + GoogleCloudAiplatformV1DatasetStats? promptDatasetStats; + + GoogleCloudAiplatformV1ReinforcementLearningDataStats({ + this.preferenceDatasetStats, + this.promptDatasetStats, + }); + + GoogleCloudAiplatformV1ReinforcementLearningDataStats.fromJson(core.Map json_) + : this( + preferenceDatasetStats: json_.containsKey('preferenceDatasetStats') + ? GoogleCloudAiplatformV1DatasetStats.fromJson( + json_['preferenceDatasetStats'] + as core.Map) + : null, + promptDatasetStats: json_.containsKey('promptDatasetStats') + ? GoogleCloudAiplatformV1DatasetStats.fromJson( + json_['promptDatasetStats'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (preferenceDatasetStats != null) + 'preferenceDatasetStats': preferenceDatasetStats!, + if (promptDatasetStats != null) + 'promptDatasetStats': promptDatasetStats!, + }; +} + /// Request message for MetadataService.DeleteContextChildrenRequest. typedef GoogleCloudAiplatformV1RemoveContextChildrenRequest = $ContextChildrenRequest; @@ -53385,6 +53854,34 @@ class GoogleCloudAiplatformV1Tool { }; } +/// Tool config. +/// +/// This config is shared for all tools provided in the request. +class GoogleCloudAiplatformV1ToolConfig { + /// Function calling config. + /// + /// Optional. + GoogleCloudAiplatformV1FunctionCallingConfig? functionCallingConfig; + + GoogleCloudAiplatformV1ToolConfig({ + this.functionCallingConfig, + }); + + GoogleCloudAiplatformV1ToolConfig.fromJson(core.Map json_) + : this( + functionCallingConfig: json_.containsKey('functionCallingConfig') + ? GoogleCloudAiplatformV1FunctionCallingConfig.fromJson( + json_['functionCallingConfig'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (functionCallingConfig != null) + 'functionCallingConfig': functionCallingConfig!, + }; +} + /// CMLE training config. /// /// For every active learning labeling iteration, system will train a machine @@ -53979,15 +54476,35 @@ class GoogleCloudAiplatformV1TunedModel { /// The tuning data statistic values for TuningJob. class GoogleCloudAiplatformV1TuningDataStats { + /// Statistics for distillation. + GoogleCloudAiplatformV1DistillationDataStats? distillationDataStats; + + /// Statistics for reinforcement learning. + GoogleCloudAiplatformV1ReinforcementLearningDataStats? + reinforcementLearningDataStats; + /// The SFT Tuning data stats. GoogleCloudAiplatformV1SupervisedTuningDataStats? supervisedTuningDataStats; GoogleCloudAiplatformV1TuningDataStats({ + this.distillationDataStats, + this.reinforcementLearningDataStats, this.supervisedTuningDataStats, }); GoogleCloudAiplatformV1TuningDataStats.fromJson(core.Map json_) : this( + distillationDataStats: json_.containsKey('distillationDataStats') + ? GoogleCloudAiplatformV1DistillationDataStats.fromJson( + json_['distillationDataStats'] + as core.Map) + : null, + reinforcementLearningDataStats: json_ + .containsKey('reinforcementLearningDataStats') + ? GoogleCloudAiplatformV1ReinforcementLearningDataStats.fromJson( + json_['reinforcementLearningDataStats'] + as core.Map) + : null, supervisedTuningDataStats: json_.containsKey('supervisedTuningDataStats') ? GoogleCloudAiplatformV1SupervisedTuningDataStats.fromJson( @@ -53997,6 +54514,10 @@ class GoogleCloudAiplatformV1TuningDataStats { ); core.Map toJson() => { + if (distillationDataStats != null) + 'distillationDataStats': distillationDataStats!, + if (reinforcementLearningDataStats != null) + 'reinforcementLearningDataStats': reinforcementLearningDataStats!, if (supervisedTuningDataStats != null) 'supervisedTuningDataStats': supervisedTuningDataStats!, }; diff --git a/generated/googleapis/lib/airquality/v1.dart b/generated/googleapis/lib/airquality/v1.dart new file mode 100644 index 000000000..df472bef4 --- /dev/null +++ b/generated/googleapis/lib/airquality/v1.dart @@ -0,0 +1,1451 @@ +// This is a generated file (see the discoveryapis_generator project). + +// ignore_for_file: camel_case_types +// ignore_for_file: comment_references +// ignore_for_file: deprecated_member_use_from_same_package +// ignore_for_file: doc_directive_unknown +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_string_interpolations + +/// Air Quality API - v1 +/// +/// The Air Quality API. +/// +/// For more information, see +/// +/// +/// Create an instance of [AirQualityApi] to access these resources: +/// +/// - [CurrentConditionsResource] +/// - [ForecastResource] +/// - [HistoryResource] +/// - [MapTypesResource] +/// - [MapTypesHeatmapTilesResource] +library; + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; +import 'package:http/http.dart' as http; + +import '../shared.dart'; +import '../src/user_agent.dart'; + +export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' + show ApiRequestError, DetailedApiRequestError; + +/// The Air Quality API. +class AirQualityApi { + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. + static const cloudPlatformScope = + 'https://www.googleapis.com/auth/cloud-platform'; + + final commons.ApiRequester _requester; + + CurrentConditionsResource get currentConditions => + CurrentConditionsResource(_requester); + ForecastResource get forecast => ForecastResource(_requester); + HistoryResource get history => HistoryResource(_requester); + MapTypesResource get mapTypes => MapTypesResource(_requester); + + AirQualityApi(http.Client client, + {core.String rootUrl = 'https://airquality.googleapis.com/', + core.String servicePath = ''}) + : _requester = + commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); +} + +class CurrentConditionsResource { + final commons.ApiRequester _requester; + + CurrentConditionsResource(commons.ApiRequester client) : _requester = client; + + /// The Current Conditions endpoint provides hourly air quality information in + /// more than 100 countries, up to a 500 x 500 meters resolution. + /// + /// Includes over 70 local indexes and global air quality index and + /// categories. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [LookupCurrentConditionsResponse]. + /// + /// 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 lookup( + LookupCurrentConditionsRequest request, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1/currentConditions:lookup'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return LookupCurrentConditionsResponse.fromJson( + response_ as core.Map); + } +} + +class ForecastResource { + final commons.ApiRequester _requester; + + ForecastResource(commons.ApiRequester client) : _requester = client; + + /// Returns air quality forecast for a specific location for a given time + /// range. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [LookupForecastResponse]. + /// + /// 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 lookup( + LookupForecastRequest request, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1/forecast:lookup'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return LookupForecastResponse.fromJson( + response_ as core.Map); + } +} + +class HistoryResource { + final commons.ApiRequester _requester; + + HistoryResource(commons.ApiRequester client) : _requester = client; + + /// Returns air quality history for a specific location for a given time + /// range. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [LookupHistoryResponse]. + /// + /// 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 lookup( + LookupHistoryRequest request, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1/history:lookup'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return LookupHistoryResponse.fromJson( + response_ as core.Map); + } +} + +class MapTypesResource { + final commons.ApiRequester _requester; + + MapTypesHeatmapTilesResource get heatmapTiles => + MapTypesHeatmapTilesResource(_requester); + + MapTypesResource(commons.ApiRequester client) : _requester = client; +} + +class MapTypesHeatmapTilesResource { + final commons.ApiRequester _requester; + + MapTypesHeatmapTilesResource(commons.ApiRequester client) + : _requester = client; + + /// Returns a bytes array containing the data of the tile PNG image. + /// + /// Request parameters: + /// + /// [mapType] - Required. The type of the air quality heatmap. Defines the + /// pollutant that the map will graphically represent. Allowed values: - + /// UAQI_RED_GREEN (UAQI, red-green palette) - UAQI_INDIGO_PERSIAN (UAQI, + /// indigo-persian palette) - PM25_INDIGO_PERSIAN - GBR_DEFRA - DEU_UBA - + /// CAN_EC - FRA_ATMO - US_AQI + /// Possible string values are: + /// - "MAP_TYPE_UNSPECIFIED" : The default value. The server ignores it if it + /// is passed as a parameter. + /// - "UAQI_RED_GREEN" : Universal Air Quality Index red-green palette. + /// - "UAQI_INDIGO_PERSIAN" : Universal Air Quality Index indigo-persian + /// palette. + /// - "PM25_INDIGO_PERSIAN" : PM2.5 index indigo-persian palette. + /// - "GBR_DEFRA" : Daily Air Quality Index (UK) color palette. + /// - "DEU_UBA" : German Local Air Quality Index color palette. + /// - "CAN_EC" : Canadian Air Quality Health Index color palette. + /// - "FRA_ATMO" : France Air Quality Index color palette. + /// - "US_AQI" : US Air Quality Index color palette. + /// + /// [zoom] - Required. The map's zoom level. Defines how large or small the + /// contents of a map appear in a map view. Zoom level 0 is the entire world + /// in a single tile. Zoom level 1 is the entire world in 4 tiles. Zoom level + /// 2 is the entire world in 16 tiles. Zoom level 16 is the entire world in + /// 65,536 tiles. Allowed values: 0-16 + /// + /// [x] - Required. Defines the east-west point in the requested tile. + /// + /// [y] - Required. Defines the north-south point in the requested tile. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [HttpBody]. + /// + /// 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 lookupHeatmapTile( + core.String mapType, + core.int zoom, + core.int x, + core.int y, { + core.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/mapTypes/' + + commons.escapeVariable('$mapType') + + '/heatmapTiles/' + + commons.escapeVariable('$zoom') + + '/' + + commons.escapeVariable('$x') + + '/' + + commons.escapeVariable('$y'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return HttpBody.fromJson(response_ as core.Map); + } +} + +/// The emission sources and health effects of a given pollutant. +class AdditionalInfo { + /// Text representing the pollutant's main health effects. + core.String? effects; + + /// Text representing the pollutant's main emission sources. + core.String? sources; + + AdditionalInfo({ + this.effects, + this.sources, + }); + + AdditionalInfo.fromJson(core.Map json_) + : this( + effects: json_.containsKey('effects') + ? json_['effects'] as core.String + : null, + sources: json_.containsKey('sources') + ? json_['sources'] as core.String + : null, + ); + + core.Map toJson() => { + if (effects != null) 'effects': effects!, + if (sources != null) 'sources': sources!, + }; +} + +/// The basic object for representing different air quality metrics. +/// +/// When brought together, these metrics provide a snapshot about the current +/// air quality conditions. There are multiple indexes in the world serving +/// different purposes and groups interested in measuring different aspects of +/// air quality. +class AirQualityIndex { + /// The index's numeric score. + /// + /// Examples: 10, 100. The value is not normalized and should only be + /// interpreted in the context of its related air-quality index. For + /// non-numeric indexes, this field will not be returned. Note: This field + /// should be used for calculations, graph display, etc. For displaying the + /// index score, you should use the AQI display field. + core.int? aqi; + + /// Textual representation of the index numeric score, that may include prefix + /// or suffix symbols, which usually represents the worst index score. + /// + /// Example: \>100 or 10+. Note: This field should be used when you want to + /// display the index score. For non-numeric indexes, this field is empty. + core.String? aqiDisplay; + + /// Textual classification of the index numeric score interpretation. + /// + /// For example: "Excellent air quality". + core.String? category; + + /// The index's code. + /// + /// This field represents the index for programming purposes by using snake + /// case instead of spaces. Examples: "uaqi", "fra_atmo". + core.String? code; + + /// The color used to represent the AQI numeric score. + Color? color; + + /// A human readable representation of the index name. + /// + /// Example: "AQI (US)" + core.String? displayName; + + /// The chemical symbol of the dominant pollutant. + /// + /// For example: "CO". + core.String? dominantPollutant; + + AirQualityIndex({ + this.aqi, + this.aqiDisplay, + this.category, + this.code, + this.color, + this.displayName, + this.dominantPollutant, + }); + + AirQualityIndex.fromJson(core.Map json_) + : this( + aqi: json_.containsKey('aqi') ? json_['aqi'] as core.int : null, + aqiDisplay: json_.containsKey('aqiDisplay') + ? json_['aqiDisplay'] as core.String + : null, + category: json_.containsKey('category') + ? json_['category'] as core.String + : null, + code: json_.containsKey('code') ? json_['code'] as core.String : null, + color: json_.containsKey('color') + ? Color.fromJson( + json_['color'] as core.Map) + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + dominantPollutant: json_.containsKey('dominantPollutant') + ? json_['dominantPollutant'] as core.String + : null, + ); + + core.Map toJson() => { + if (aqi != null) 'aqi': aqi!, + if (aqiDisplay != null) 'aqiDisplay': aqiDisplay!, + if (category != null) 'category': category!, + if (code != null) 'code': code!, + if (color != null) 'color': color!, + if (displayName != null) 'displayName': displayName!, + if (dominantPollutant != null) 'dominantPollutant': dominantPollutant!, + }; +} + +/// Represents a color in the RGBA color space. +/// +/// This representation is designed for simplicity of conversion to and from +/// color representations in various languages over compactness. For example, +/// the fields of this representation can be trivially provided to the +/// constructor of `java.awt.Color` in Java; it can also be trivially provided +/// to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just +/// a little work, it can be easily formatted into a CSS `rgba()` string in +/// JavaScript. This reference page doesn't have information about the absolute +/// color space that should be used to interpret the RGB value—for example, +/// sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume +/// the sRGB color space. When color equality needs to be decided, +/// implementations, unless documented otherwise, treat two colors as equal if +/// all their red, green, blue, and alpha values each differ by at most `1e-5`. +/// Example (Java): import com.google.type.Color; // ... public static +/// java.awt.Color fromProto(Color protocolor) { float alpha = +/// protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new +/// java.awt.Color( protocolor.getRed(), protocolor.getGreen(), +/// protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color +/// color) { float red = (float) color.getRed(); float green = (float) +/// color.getGreen(); float blue = (float) color.getBlue(); float denominator = +/// 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / +/// denominator) .setGreen(green / denominator) .setBlue(blue / denominator); +/// int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( +/// FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); +/// } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... +/// static UIColor* fromProto(Color* protocolor) { float red = \[protocolor +/// red\]; float green = \[protocolor green\]; float blue = \[protocolor blue\]; +/// FloatValue* alpha_wrapper = \[protocolor alpha\]; float alpha = 1.0; if +/// (alpha_wrapper != nil) { alpha = \[alpha_wrapper value\]; } return \[UIColor +/// colorWithRed:red green:green blue:blue alpha:alpha\]; } static Color* +/// toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (!\[color +/// getRed:&red green:&green blue:&blue alpha:&alpha\]) { return nil; } Color* +/// result = \[\[Color alloc\] init\]; \[result setRed:red\]; \[result +/// setGreen:green\]; \[result setBlue:blue\]; if (alpha \<= 0.9999) { \[result +/// setAlpha:floatWrapperWithValue(alpha)\]; } \[result autorelease\]; return +/// result; } // ... Example (JavaScript): // ... var protoToCssColor = +/// function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = +/// rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = +/// Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue +/// = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return +/// rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || +/// 0.0; var rgbParams = \[red, green, blue\].join(','); return \['rgba(', +/// rgbParams, ',', alphaFrac, ')'\].join(''); }; var rgbToCssColor = +/// function(red, green, blue) { var rgbNumber = new Number((red \<\< 16) | +/// (green \<\< 8) | blue); var hexString = rgbNumber.toString(16); var +/// missingZeros = 6 - hexString.length; var resultBuilder = \['#'\]; for (var i +/// = 0; i \< missingZeros; i++) { resultBuilder.push('0'); } +/// resultBuilder.push(hexString); return resultBuilder.join(''); }; // ... +typedef Color = $Color; + +/// The concentration of a given pollutant in the air. +class Concentration { + /// Units for measuring this pollutant concentration. + /// Possible string values are: + /// - "UNIT_UNSPECIFIED" : Unspecified concentration unit. + /// - "PARTS_PER_BILLION" : The ppb (parts per billion) concentration unit. + /// - "MICROGRAMS_PER_CUBIC_METER" : The "µg/m^3" (micrograms per cubic meter) + /// concentration unit. + core.String? units; + + /// Value of pollutant concentration. + core.double? value; + + Concentration({ + this.units, + this.value, + }); + + Concentration.fromJson(core.Map json_) + : this( + units: + json_.containsKey('units') ? json_['units'] as core.String : null, + value: json_.containsKey('value') + ? (json_['value'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (units != null) 'units': units!, + if (value != null) 'value': value!, + }; +} + +/// Expresses a 'country/region to AQI' relationship. +/// +/// Pairs a country/region with a desired AQI so that air quality data that is +/// required for that country/region will be displayed according to the chosen +/// AQI. +class CustomLocalAqi { + /// The AQI to associate the country/region with. + /// + /// Value should be a \[valid index\](/maps/documentation/air-quality/laqis) + /// code. + core.String? aqi; + + /// The country/region requiring the custom AQI. + /// + /// Value should be provided using \[ISO 3166-1 + /// alpha-2\](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code. + core.String? regionCode; + + CustomLocalAqi({ + this.aqi, + this.regionCode, + }); + + CustomLocalAqi.fromJson(core.Map json_) + : this( + aqi: json_.containsKey('aqi') ? json_['aqi'] as core.String : null, + regionCode: json_.containsKey('regionCode') + ? json_['regionCode'] as core.String + : null, + ); + + core.Map toJson() => { + if (aqi != null) 'aqi': aqi!, + if (regionCode != null) 'regionCode': regionCode!, + }; +} + +/// Health recommendations for different population groups in a free text +/// format. +/// +/// The recommendations are derived from their associated air quality +/// conditions. +class HealthRecommendations { + /// Sports and other strenuous outdoor activities. + core.String? athletes; + + /// Younger populations including children, toddlers, and babies. + core.String? children; + + /// Retirees and people older than the general population. + core.String? elderly; + + /// No specific sensitivities. + core.String? generalPopulation; + + /// Heart and circulatory system diseases. + core.String? heartDiseasePopulation; + + /// Respiratory related problems and asthma suffers. + core.String? lungDiseasePopulation; + + /// Women at all stages of pregnancy. + core.String? pregnantWomen; + + HealthRecommendations({ + this.athletes, + this.children, + this.elderly, + this.generalPopulation, + this.heartDiseasePopulation, + this.lungDiseasePopulation, + this.pregnantWomen, + }); + + HealthRecommendations.fromJson(core.Map json_) + : this( + athletes: json_.containsKey('athletes') + ? json_['athletes'] as core.String + : null, + children: json_.containsKey('children') + ? json_['children'] as core.String + : null, + elderly: json_.containsKey('elderly') + ? json_['elderly'] as core.String + : null, + generalPopulation: json_.containsKey('generalPopulation') + ? json_['generalPopulation'] as core.String + : null, + heartDiseasePopulation: json_.containsKey('heartDiseasePopulation') + ? json_['heartDiseasePopulation'] as core.String + : null, + lungDiseasePopulation: json_.containsKey('lungDiseasePopulation') + ? json_['lungDiseasePopulation'] as core.String + : null, + pregnantWomen: json_.containsKey('pregnantWomen') + ? json_['pregnantWomen'] as core.String + : null, + ); + + core.Map toJson() => { + if (athletes != null) 'athletes': athletes!, + if (children != null) 'children': children!, + if (elderly != null) 'elderly': elderly!, + if (generalPopulation != null) 'generalPopulation': generalPopulation!, + if (heartDiseasePopulation != null) + 'heartDiseasePopulation': heartDiseasePopulation!, + if (lungDiseasePopulation != null) + 'lungDiseasePopulation': lungDiseasePopulation!, + if (pregnantWomen != null) 'pregnantWomen': pregnantWomen!, + }; +} + +/// Contains the air quality information for each hour in the requested range. +/// +/// For example, if the request is for 48 hours of history there will be 48 +/// elements of hourly info. +class HourInfo { + /// A rounded down timestamp indicating the time the data refers to in RFC3339 + /// UTC "Zulu" format, with nanosecond resolution and up to nine fractional + /// digits. + /// + /// For example: "2014-10-02T15:00:00Z". + core.String? dateTime; + + /// Health advice and recommended actions related to the reported air quality + /// conditions. + /// + /// Recommendations are tailored differently for populations at risk, groups + /// with greater sensitivities to pollutants, and the general population. + HealthRecommendations? healthRecommendations; + + /// Based on the request parameters, this list will include (up to) two air + /// quality indexes: - Universal AQI. + /// + /// Will be returned if the universalAqi boolean is set to true. - Local AQI. + /// Will be returned if the LOCAL_AQI extra computation is specified. + core.List? indexes; + + /// A list of pollutants affecting the location specified in the request. + /// + /// Note: This field will be returned only for requests that specified one or + /// more of the following extra computations: POLLUTANT_ADDITIONAL_INFO, + /// DOMINANT_POLLUTANT_CONCENTRATION, POLLUTANT_CONCENTRATION. + core.List? pollutants; + + HourInfo({ + this.dateTime, + this.healthRecommendations, + this.indexes, + this.pollutants, + }); + + HourInfo.fromJson(core.Map json_) + : this( + dateTime: json_.containsKey('dateTime') + ? json_['dateTime'] as core.String + : null, + healthRecommendations: json_.containsKey('healthRecommendations') + ? HealthRecommendations.fromJson(json_['healthRecommendations'] + as core.Map) + : null, + indexes: json_.containsKey('indexes') + ? (json_['indexes'] as core.List) + .map((value) => AirQualityIndex.fromJson( + value as core.Map)) + .toList() + : null, + pollutants: json_.containsKey('pollutants') + ? (json_['pollutants'] as core.List) + .map((value) => Pollutant.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (dateTime != null) 'dateTime': dateTime!, + if (healthRecommendations != null) + 'healthRecommendations': healthRecommendations!, + if (indexes != null) 'indexes': indexes!, + if (pollutants != null) 'pollutants': pollutants!, + }; +} + +/// Contains the air quality information for each hour in the requested range. +/// +/// For example, if the request is for 48 hours of forecast there will be 48 +/// elements of hourly forecasts. +class HourlyForecast { + /// A rounded down timestamp indicating the time (hour) the data refers to in + /// RFC3339 UTC "Zulu" format. + /// + /// For example: "2014-10-02T15:00:00Z". + core.String? dateTime; + + /// Health advice and recommended actions related to the reported air quality + /// conditions. + /// + /// Recommendations are tailored differently for populations at risk, groups + /// with greater sensitivities to pollutants, and the general population. + HealthRecommendations? healthRecommendations; + + /// Based on the request parameters, this list will include (up to) two air + /// quality indexes: - Universal AQI. + /// + /// Will be returned if the `universal_aqi` boolean is set to true. - Local + /// AQI. Will be returned if the LOCAL_AQI extra computation is specified. + core.List? indexes; + + /// A list of pollutants affecting the location specified in the request. + /// + /// Note: This field will be returned only for requests that specified one or + /// more of the following extra computations: POLLUTANT_ADDITIONAL_INFO, + /// DOMINANT_POLLUTANT_CONCENTRATION, POLLUTANT_CONCENTRATION. + core.List? pollutants; + + HourlyForecast({ + this.dateTime, + this.healthRecommendations, + this.indexes, + this.pollutants, + }); + + HourlyForecast.fromJson(core.Map json_) + : this( + dateTime: json_.containsKey('dateTime') + ? json_['dateTime'] as core.String + : null, + healthRecommendations: json_.containsKey('healthRecommendations') + ? HealthRecommendations.fromJson(json_['healthRecommendations'] + as core.Map) + : null, + indexes: json_.containsKey('indexes') + ? (json_['indexes'] as core.List) + .map((value) => AirQualityIndex.fromJson( + value as core.Map)) + .toList() + : null, + pollutants: json_.containsKey('pollutants') + ? (json_['pollutants'] as core.List) + .map((value) => Pollutant.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (dateTime != null) 'dateTime': dateTime!, + if (healthRecommendations != null) + 'healthRecommendations': healthRecommendations!, + if (indexes != null) 'indexes': indexes!, + if (pollutants != null) 'pollutants': pollutants!, + }; +} + +/// Message that represents an arbitrary HTTP body. +/// +/// It should only be used for payload formats that can't be represented as +/// JSON, such as raw binary or an HTML page. This message can be used both in +/// streaming and non-streaming API methods in the request as well as the +/// response. It can be used as a top-level request field, which is convenient +/// if one wants to extract parameters from either the URL or HTTP template into +/// the request fields and also want access to the raw HTTP body. Example: +/// message GetResourceRequest { // A unique request id. string request_id = 1; +/// // The raw HTTP body is bound to this field. google.api.HttpBody http_body = +/// 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns +/// (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns +/// (google.protobuf.Empty); } Example with streaming methods: service +/// CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream +/// google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns +/// (stream google.api.HttpBody); } Use of this type only changes how the +/// request and response bodies are handled, all other features will continue to +/// work unchanged. +typedef HttpBody = $HttpBody; + +/// Represents a time interval, encoded as a Timestamp start (inclusive) and a +/// Timestamp end (exclusive). +/// +/// The start must be less than or equal to the end. When the start equals the +/// end, the interval is empty (matches no time). When both start and end are +/// unspecified, the interval matches any time. +typedef Interval = $Interval; + +/// An object that represents a latitude/longitude pair. +/// +/// This is expressed as a pair of doubles to represent degrees latitude and +/// degrees longitude. Unless specified otherwise, this object must conform to +/// the WGS84 standard. Values must be within normalized ranges. +typedef LatLng = $LatLng; + +/// The request definition of the air quality current conditions. +class LookupCurrentConditionsRequest { + /// Expresses a 'country/region to AQI' relationship. + /// + /// Pairs a country/region with a desired AQI so that air quality data that is + /// required for that country/region will be displayed according to the chosen + /// AQI. This parameter can be used to specify a non-default AQI for a given + /// country, for example, to get the US EPA index for Canada rather than the + /// default index for Canada. + /// + /// Optional. + core.List? customLocalAqis; + + /// Additional features that can be optionally enabled. + /// + /// Specifying extra computations will result in the relevant elements and + /// fields to be returned in the response. + /// + /// Optional. + core.List? extraComputations; + + /// Allows the client to choose the language for the response. + /// + /// If data cannot be provided for that language the API uses the closest + /// match. Allowed values rely on the IETF standard. Default value is en. + /// + /// Optional. + core.String? languageCode; + + /// The longitude and latitude from which the API looks for air quality + /// current conditions data. + /// + /// Required. + LatLng? location; + + /// Determines the color palette used for data provided by the 'Universal Air + /// Quality Index' (UAQI). + /// + /// This color palette is relevant just for UAQI, other AQIs have a + /// predetermined color palette that can't be controlled. + /// + /// Optional. + /// Possible string values are: + /// - "COLOR_PALETTE_UNSPECIFIED" : The default value. Ignored if passed as a + /// parameter. + /// - "RED_GREEN" : Determines whether to use a red/green palette. + /// - "INDIGO_PERSIAN_DARK" : Determines whether to use a indigo/persian + /// palette (dark theme). + /// - "INDIGO_PERSIAN_LIGHT" : Determines whether to use a indigo/persian + /// palette (light theme). + core.String? uaqiColorPalette; + + /// If set to true, the Universal AQI will be included in the 'indexes' field + /// of the response. + /// + /// Default value is true. + /// + /// Optional. + core.bool? universalAqi; + + LookupCurrentConditionsRequest({ + this.customLocalAqis, + this.extraComputations, + this.languageCode, + this.location, + this.uaqiColorPalette, + this.universalAqi, + }); + + LookupCurrentConditionsRequest.fromJson(core.Map json_) + : this( + customLocalAqis: json_.containsKey('customLocalAqis') + ? (json_['customLocalAqis'] as core.List) + .map((value) => CustomLocalAqi.fromJson( + value as core.Map)) + .toList() + : null, + extraComputations: json_.containsKey('extraComputations') + ? (json_['extraComputations'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + languageCode: json_.containsKey('languageCode') + ? json_['languageCode'] as core.String + : null, + location: json_.containsKey('location') + ? LatLng.fromJson( + json_['location'] as core.Map) + : null, + uaqiColorPalette: json_.containsKey('uaqiColorPalette') + ? json_['uaqiColorPalette'] as core.String + : null, + universalAqi: json_.containsKey('universalAqi') + ? json_['universalAqi'] as core.bool + : null, + ); + + core.Map toJson() => { + if (customLocalAqis != null) 'customLocalAqis': customLocalAqis!, + if (extraComputations != null) 'extraComputations': extraComputations!, + if (languageCode != null) 'languageCode': languageCode!, + if (location != null) 'location': location!, + if (uaqiColorPalette != null) 'uaqiColorPalette': uaqiColorPalette!, + if (universalAqi != null) 'universalAqi': universalAqi!, + }; +} + +class LookupCurrentConditionsResponse { + /// A rounded down timestamp in RFC3339 UTC "Zulu" format, with nanosecond + /// resolution and up to nine fractional digits. + /// + /// For example: "2014-10-02T15:00:00Z". + core.String? dateTime; + + /// Health advice and recommended actions related to the reported air quality + /// conditions. + /// + /// Recommendations are tailored differently for populations at risk, groups + /// with greater sensitivities to pollutants, and the general population. + HealthRecommendations? healthRecommendations; + + /// Based on the request parameters, this list will include (up to) two air + /// quality indexes: - Universal AQI. + /// + /// Will be returned if the universalAqi boolean is set to true. - Local AQI. + /// Will be returned if the LOCAL_AQI extra computation is specified. + core.List? indexes; + + /// A list of pollutants affecting the location specified in the request. + /// + /// Note: This field will be returned only for requests that specified one or + /// more of the following extra computations: POLLUTANT_ADDITIONAL_INFO, + /// DOMINANT_POLLUTANT_CONCENTRATION, POLLUTANT_CONCENTRATION. + core.List? pollutants; + + /// The ISO_3166-1 alpha-2 code of the country/region corresponding to the + /// location provided in the request. + /// + /// This field might be omitted from the response if the location provided in + /// the request resides in a disputed territory. + core.String? regionCode; + + LookupCurrentConditionsResponse({ + this.dateTime, + this.healthRecommendations, + this.indexes, + this.pollutants, + this.regionCode, + }); + + LookupCurrentConditionsResponse.fromJson(core.Map json_) + : this( + dateTime: json_.containsKey('dateTime') + ? json_['dateTime'] as core.String + : null, + healthRecommendations: json_.containsKey('healthRecommendations') + ? HealthRecommendations.fromJson(json_['healthRecommendations'] + as core.Map) + : null, + indexes: json_.containsKey('indexes') + ? (json_['indexes'] as core.List) + .map((value) => AirQualityIndex.fromJson( + value as core.Map)) + .toList() + : null, + pollutants: json_.containsKey('pollutants') + ? (json_['pollutants'] as core.List) + .map((value) => Pollutant.fromJson( + value as core.Map)) + .toList() + : null, + regionCode: json_.containsKey('regionCode') + ? json_['regionCode'] as core.String + : null, + ); + + core.Map toJson() => { + if (dateTime != null) 'dateTime': dateTime!, + if (healthRecommendations != null) + 'healthRecommendations': healthRecommendations!, + if (indexes != null) 'indexes': indexes!, + if (pollutants != null) 'pollutants': pollutants!, + if (regionCode != null) 'regionCode': regionCode!, + }; +} + +/// The request object of the air quality forecast API. +class LookupForecastRequest { + /// Expresses a 'country/region to AQI' relationship. + /// + /// Pairs a country/region with a desired AQI so that air quality data that is + /// required for that country/region will be displayed according to the chosen + /// AQI. This parameter can be used to specify a non-default AQI for a given + /// country, for example, to get the US EPA index for Canada rather than the + /// default index for Canada. + /// + /// Optional. + core.List? customLocalAqis; + + /// A timestamp for which to return the data for a specific point in time. + /// + /// The timestamp is rounded to the previous exact hour. Note: this will + /// return hourly data for the requested timestamp only (i.e. a single hourly + /// info element). For example, a request sent where the date_time parameter + /// is set to 2023-01-03T11:05:49Z will be rounded down to + /// 2023-01-03T11:00:00Z. + core.String? dateTime; + + /// Additional features that can be optionally enabled. + /// + /// Specifying extra computations will result in the relevant elements and + /// fields to be returned in the response. + /// + /// Optional. + core.List? extraComputations; + + /// Allows the client to choose the language for the response. + /// + /// If data cannot be provided for that language the API uses the closest + /// match. Allowed values rely on the IETF standard (default = 'en'). + /// + /// Optional. + core.String? languageCode; + + /// The latitude and longitude for which the API looks for air quality data. + /// + /// Required. + LatLng? location; + + /// The maximum number of hourly info records to return per page (default = + /// 24). + /// + /// Optional. + core.int? pageSize; + + /// A page token received from a previous forecast call. + /// + /// It is used to retrieve the subsequent page. + /// + /// Optional. + core.String? pageToken; + + /// Indicates the start and end period for which to get the forecast data. + /// + /// The timestamp is rounded to the previous exact hour. + Interval? period; + + /// Determines the color palette used for data provided by the 'Universal Air + /// Quality Index' (UAQI). + /// + /// This color palette is relevant just for UAQI, other AQIs have a + /// predetermined color palette that can't be controlled. + /// + /// Optional. + /// Possible string values are: + /// - "COLOR_PALETTE_UNSPECIFIED" : The default value. Ignored if passed as a + /// parameter. + /// - "RED_GREEN" : Determines whether to use a red/green palette. + /// - "INDIGO_PERSIAN_DARK" : Determines whether to use a indigo/persian + /// palette (dark theme). + /// - "INDIGO_PERSIAN_LIGHT" : Determines whether to use a indigo/persian + /// palette (light theme). + core.String? uaqiColorPalette; + + /// If set to true, the Universal AQI will be included in the 'indexes' field + /// of the response (default = true). + /// + /// Optional. + core.bool? universalAqi; + + LookupForecastRequest({ + this.customLocalAqis, + this.dateTime, + this.extraComputations, + this.languageCode, + this.location, + this.pageSize, + this.pageToken, + this.period, + this.uaqiColorPalette, + this.universalAqi, + }); + + LookupForecastRequest.fromJson(core.Map json_) + : this( + customLocalAqis: json_.containsKey('customLocalAqis') + ? (json_['customLocalAqis'] as core.List) + .map((value) => CustomLocalAqi.fromJson( + value as core.Map)) + .toList() + : null, + dateTime: json_.containsKey('dateTime') + ? json_['dateTime'] as core.String + : null, + extraComputations: json_.containsKey('extraComputations') + ? (json_['extraComputations'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + languageCode: json_.containsKey('languageCode') + ? json_['languageCode'] as core.String + : null, + location: json_.containsKey('location') + ? LatLng.fromJson( + json_['location'] as core.Map) + : null, + pageSize: json_.containsKey('pageSize') + ? json_['pageSize'] as core.int + : null, + pageToken: json_.containsKey('pageToken') + ? json_['pageToken'] as core.String + : null, + period: json_.containsKey('period') + ? Interval.fromJson( + json_['period'] as core.Map) + : null, + uaqiColorPalette: json_.containsKey('uaqiColorPalette') + ? json_['uaqiColorPalette'] as core.String + : null, + universalAqi: json_.containsKey('universalAqi') + ? json_['universalAqi'] as core.bool + : null, + ); + + core.Map toJson() => { + if (customLocalAqis != null) 'customLocalAqis': customLocalAqis!, + if (dateTime != null) 'dateTime': dateTime!, + if (extraComputations != null) 'extraComputations': extraComputations!, + if (languageCode != null) 'languageCode': languageCode!, + if (location != null) 'location': location!, + if (pageSize != null) 'pageSize': pageSize!, + if (pageToken != null) 'pageToken': pageToken!, + if (period != null) 'period': period!, + if (uaqiColorPalette != null) 'uaqiColorPalette': uaqiColorPalette!, + if (universalAqi != null) 'universalAqi': universalAqi!, + }; +} + +/// The response object of the air quality forecast API. +class LookupForecastResponse { + /// Contains the air quality information for each hour in the requested range. + /// + /// For example, if the request is for 48 hours of forecast there will be 48 + /// elements of hourly forecasts. + /// + /// Optional. + core.List? hourlyForecasts; + + /// The token to retrieve the next page. + /// + /// Optional. + core.String? nextPageToken; + + /// The ISO_3166-1 alpha-2 code of the country/region corresponding to the + /// location provided in the request. + /// + /// This field might be omitted from the response if the location provided in + /// the request resides in a disputed territory. + /// + /// Optional. + core.String? regionCode; + + LookupForecastResponse({ + this.hourlyForecasts, + this.nextPageToken, + this.regionCode, + }); + + LookupForecastResponse.fromJson(core.Map json_) + : this( + hourlyForecasts: json_.containsKey('hourlyForecasts') + ? (json_['hourlyForecasts'] as core.List) + .map((value) => HourlyForecast.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + regionCode: json_.containsKey('regionCode') + ? json_['regionCode'] as core.String + : null, + ); + + core.Map toJson() => { + if (hourlyForecasts != null) 'hourlyForecasts': hourlyForecasts!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (regionCode != null) 'regionCode': regionCode!, + }; +} + +/// The request object of the air quality history API. +class LookupHistoryRequest { + /// Expresses a 'country/region to AQI' relationship. + /// + /// Pairs a country/region with a desired AQI so that air quality data that is + /// required for that country/region will be displayed according to the chosen + /// AQI. This parameter can be used to specify a non-default AQI for a given + /// country, for example, to get the US EPA index for Canada rather than the + /// default index for Canada. + /// + /// Optional. + core.List? customLocalAqis; + + /// A timestamp for which to return historical data. + /// + /// The timestamp is rounded to the previous exact hour. Note: this will + /// return hourly data for the requested timestamp only (i.e. a single hourly + /// info element). For example, a request sent where the dateTime parameter is + /// set to 2023-01-03T11:05:49Z will be rounded down to 2023-01-03T11:00:00Z. + /// A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and + /// up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and + /// "2014-10-02T15:01:23.045123456Z". + core.String? dateTime; + + /// Additional features that can be optionally enabled. + /// + /// Specifying extra computations will result in the relevant elements and + /// fields to be returned in the response. + /// + /// Optional. + core.List? extraComputations; + + /// Number from 1 to 720 that indicates the hours range for the request. + /// + /// For example: A value of 48 will yield data from the last 48 hours. + core.int? hours; + + /// Allows the client to choose the language for the response. + /// + /// If data cannot be provided for that language the API uses the closest + /// match. Allowed values rely on the IETF standard. Default value is en. + /// + /// Optional. + core.String? languageCode; + + /// The latitude and longitude for which the API looks for air quality history + /// data. + /// + /// Required. + LatLng? location; + + /// The maximum number of hourly info records to return per page. + /// + /// The default is 72 and the max value is 168 (7 days of data). + /// + /// Optional. + core.int? pageSize; + + /// A page token received from a previous history call. + /// + /// It is used to retrieve the subsequent page. Note that when providing a + /// value for this parameter all other parameters provided must match the call + /// that provided the page token (the previous call). + /// + /// Optional. + core.String? pageToken; + + /// Indicates the start and end period for which to get the historical data. + /// + /// The timestamp is rounded to the previous exact hour. + Interval? period; + + /// Determines the color palette used for data provided by the 'Universal Air + /// Quality Index' (UAQI). + /// + /// This color palette is relevant just for UAQI, other AQIs have a + /// predetermined color palette that can't be controlled. + /// + /// Optional. + /// Possible string values are: + /// - "COLOR_PALETTE_UNSPECIFIED" : The default value. Ignored if passed as a + /// parameter. + /// - "RED_GREEN" : Determines whether to use a red/green palette. + /// - "INDIGO_PERSIAN_DARK" : Determines whether to use a indigo/persian + /// palette (dark theme). + /// - "INDIGO_PERSIAN_LIGHT" : Determines whether to use a indigo/persian + /// palette (light theme). + core.String? uaqiColorPalette; + + /// If set to true, the Universal AQI will be included in the 'indexes' field + /// of the response. + /// + /// Default value is true. + /// + /// Optional. + core.bool? universalAqi; + + LookupHistoryRequest({ + this.customLocalAqis, + this.dateTime, + this.extraComputations, + this.hours, + this.languageCode, + this.location, + this.pageSize, + this.pageToken, + this.period, + this.uaqiColorPalette, + this.universalAqi, + }); + + LookupHistoryRequest.fromJson(core.Map json_) + : this( + customLocalAqis: json_.containsKey('customLocalAqis') + ? (json_['customLocalAqis'] as core.List) + .map((value) => CustomLocalAqi.fromJson( + value as core.Map)) + .toList() + : null, + dateTime: json_.containsKey('dateTime') + ? json_['dateTime'] as core.String + : null, + extraComputations: json_.containsKey('extraComputations') + ? (json_['extraComputations'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + hours: json_.containsKey('hours') ? json_['hours'] as core.int : null, + languageCode: json_.containsKey('languageCode') + ? json_['languageCode'] as core.String + : null, + location: json_.containsKey('location') + ? LatLng.fromJson( + json_['location'] as core.Map) + : null, + pageSize: json_.containsKey('pageSize') + ? json_['pageSize'] as core.int + : null, + pageToken: json_.containsKey('pageToken') + ? json_['pageToken'] as core.String + : null, + period: json_.containsKey('period') + ? Interval.fromJson( + json_['period'] as core.Map) + : null, + uaqiColorPalette: json_.containsKey('uaqiColorPalette') + ? json_['uaqiColorPalette'] as core.String + : null, + universalAqi: json_.containsKey('universalAqi') + ? json_['universalAqi'] as core.bool + : null, + ); + + core.Map toJson() => { + if (customLocalAqis != null) 'customLocalAqis': customLocalAqis!, + if (dateTime != null) 'dateTime': dateTime!, + if (extraComputations != null) 'extraComputations': extraComputations!, + if (hours != null) 'hours': hours!, + if (languageCode != null) 'languageCode': languageCode!, + if (location != null) 'location': location!, + if (pageSize != null) 'pageSize': pageSize!, + if (pageToken != null) 'pageToken': pageToken!, + if (period != null) 'period': period!, + if (uaqiColorPalette != null) 'uaqiColorPalette': uaqiColorPalette!, + if (universalAqi != null) 'universalAqi': universalAqi!, + }; +} + +class LookupHistoryResponse { + /// Contains the air quality information for each hour in the requested range. + /// + /// For example, if the request is for 48 hours of history there will be 48 + /// elements of hourly info. + /// + /// Optional. + core.List? hoursInfo; + + /// The token to retrieve the next page. + /// + /// Optional. + core.String? nextPageToken; + + /// The ISO_3166-1 alpha-2 code of the country/region corresponding to the + /// location provided in the request. + /// + /// This field might be omitted from the response if the location provided in + /// the request resides in a disputed territory. + /// + /// Optional. + core.String? regionCode; + + LookupHistoryResponse({ + this.hoursInfo, + this.nextPageToken, + this.regionCode, + }); + + LookupHistoryResponse.fromJson(core.Map json_) + : this( + hoursInfo: json_.containsKey('hoursInfo') + ? (json_['hoursInfo'] as core.List) + .map((value) => HourInfo.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + regionCode: json_.containsKey('regionCode') + ? json_['regionCode'] as core.String + : null, + ); + + core.Map toJson() => { + if (hoursInfo != null) 'hoursInfo': hoursInfo!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (regionCode != null) 'regionCode': regionCode!, + }; +} + +/// Data regarding an air quality pollutant. +class Pollutant { + /// Additional information about the pollutant. + AdditionalInfo? additionalInfo; + + /// The pollutant's code name. + /// + /// For example: "so2". A list of all available codes could be found + /// \[here\](/maps/documentation/air-quality/pollutants#reported_pollutants). + core.String? code; + + /// The pollutant's concentration level measured by one of the standard air + /// pollutation measure units. + Concentration? concentration; + + /// The pollutant's display name. + /// + /// For example: "NOx". + core.String? displayName; + + /// The pollutant's full name. + /// + /// For chemical compounds, this is the IUPAC name. Example: "Sulfur Dioxide". + /// For more information about the IUPAC names table, see + /// https://iupac.org/what-we-do/periodic-table-of-elements/ + core.String? fullName; + + Pollutant({ + this.additionalInfo, + this.code, + this.concentration, + this.displayName, + this.fullName, + }); + + Pollutant.fromJson(core.Map json_) + : this( + additionalInfo: json_.containsKey('additionalInfo') + ? AdditionalInfo.fromJson(json_['additionalInfo'] + as core.Map) + : null, + code: json_.containsKey('code') ? json_['code'] as core.String : null, + concentration: json_.containsKey('concentration') + ? Concentration.fromJson( + json_['concentration'] as core.Map) + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + fullName: json_.containsKey('fullName') + ? json_['fullName'] as core.String + : null, + ); + + core.Map toJson() => { + if (additionalInfo != null) 'additionalInfo': additionalInfo!, + if (code != null) 'code': code!, + if (concentration != null) 'concentration': concentration!, + if (displayName != null) 'displayName': displayName!, + if (fullName != null) 'fullName': fullName!, + }; +} diff --git a/generated/googleapis/lib/androidmanagement/v1.dart b/generated/googleapis/lib/androidmanagement/v1.dart index 920f0fc83..154be4dc5 100644 --- a/generated/googleapis/lib/androidmanagement/v1.dart +++ b/generated/googleapis/lib/androidmanagement/v1.dart @@ -867,11 +867,11 @@ class EnterprisesEnrollmentTokensResource { /// Gets an active, unexpired enrollment token. /// - /// Only a partial view of EnrollmentToken is returned: all the fields but - /// name and expiration_timestamp are empty. This method is meant to help - /// manage active enrollment tokens lifecycle. For security reasons, it's - /// recommended to delete active enrollment tokens as soon as they're not - /// intended to be used anymore. + /// A partial view of the enrollment token is returned. Only the following + /// fields are populated: name, expirationTimestamp, allowPersonalUsage, + /// value, qrCode. This method is meant to help manage active enrollment + /// tokens lifecycle. For security reasons, it's recommended to delete active + /// enrollment tokens as soon as they're not intended to be used anymore. /// /// Request parameters: /// @@ -910,11 +910,12 @@ class EnterprisesEnrollmentTokensResource { /// Lists active, unexpired enrollment tokens for a given enterprise. /// - /// The list items contain only a partial view of EnrollmentToken: all the - /// fields but name and expiration_timestamp are empty. This method is meant - /// to help manage active enrollment tokens lifecycle. For security reasons, - /// it's recommended to delete active enrollment tokens as soon as they're not - /// intended to be used anymore. + /// The list items contain only a partial view of EnrollmentToken object. Only + /// the following fields are populated: name, expirationTimestamp, + /// allowPersonalUsage, value, qrCode. This method is meant to help manage + /// active enrollment tokens lifecycle. For security reasons, it's recommended + /// to delete active enrollment tokens as soon as they're not intended to be + /// used anymore. /// /// Request parameters: /// @@ -2318,7 +2319,8 @@ class ApplicationPolicy { /// the Play Store at any time. /// - "AUTO_UPDATE_HIGH_PRIORITY" : The app is updated as soon as possible. No /// constraints are applied.The device is notified as soon as possible about a - /// new update after it becomes available. + /// new update after it becomes available.*NOTE:* Updates to apps with larger + /// deployments across Android's ecosystem can take up to 24h. core.String? autoUpdateMode; /// Controls whether the app can communicate with itself across a device’s @@ -2479,6 +2481,24 @@ class ApplicationPolicy { /// which apply to all apps. core.List? permissionGrants; + /// Specifies whether user control is permitted for the app. + /// + /// User control includes user actions like force-stopping and clearing app + /// data. Supported on Android 11 and above. + /// + /// Optional. + /// Possible string values are: + /// - "USER_CONTROL_SETTINGS_UNSPECIFIED" : Uses the default behaviour of the + /// app to determine if user control is allowed or disallowed. For most apps, + /// user control is allowed by default, but for some critical apps such as + /// companion apps (extensionConfig set to true), kiosk apps and other + /// critical system apps, user control is disallowed. + /// - "USER_CONTROL_ALLOWED" : User control is allowed for the app. Kiosk apps + /// can use this to allow user control. + /// - "USER_CONTROL_DISALLOWED" : User control is disallowed for the app. + /// API_LEVEL is reported if the Android version is less than 11. + core.String? userControlSettings; + /// Specifies whether the app installed in the work profile is allowed to add /// widgets to the home screen. /// Possible string values are: @@ -2510,6 +2530,7 @@ class ApplicationPolicy { this.minimumVersionCode, this.packageName, this.permissionGrants, + this.userControlSettings, this.workProfileWidgets, }); @@ -2587,6 +2608,9 @@ class ApplicationPolicy { value as core.Map)) .toList() : null, + userControlSettings: json_.containsKey('userControlSettings') + ? json_['userControlSettings'] as core.String + : null, workProfileWidgets: json_.containsKey('workProfileWidgets') ? json_['workProfileWidgets'] as core.String : null, @@ -2619,6 +2643,8 @@ class ApplicationPolicy { 'minimumVersionCode': minimumVersionCode!, if (packageName != null) 'packageName': packageName!, if (permissionGrants != null) 'permissionGrants': permissionGrants!, + if (userControlSettings != null) + 'userControlSettings': userControlSettings!, if (workProfileWidgets != null) 'workProfileWidgets': workProfileWidgets!, }; @@ -4502,6 +4528,9 @@ class EnrollmentToken { /// specified /// - "PERSONAL_USAGE_ALLOWED" : Personal usage is allowed /// - "PERSONAL_USAGE_DISALLOWED" : Personal usage is disallowed + /// - "PERSONAL_USAGE_DISALLOWED_USERLESS" : Device is not associated with a + /// single user, and thus both personal usage and corporate identity + /// authentication are not expected. core.String? allowPersonalUsage; /// The length of time the enrollment token is valid, ranging from 1 minute to @@ -4641,6 +4670,9 @@ class Enterprise { /// This field has a maximum length of 100 characters. core.String? enterpriseDisplayName; + /// Settings for Google-provided user authentication. + GoogleAuthenticationSettings? googleAuthenticationSettings; + /// An image displayed as a logo during device provisioning. /// /// Supported types are: image/bmp, image/gif, image/x-ico, image/jpeg, @@ -4678,6 +4710,7 @@ class Enterprise { this.contactInfo, this.enabledNotificationTypes, this.enterpriseDisplayName, + this.googleAuthenticationSettings, this.logo, this.name, this.primaryColor, @@ -4704,6 +4737,12 @@ class Enterprise { enterpriseDisplayName: json_.containsKey('enterpriseDisplayName') ? json_['enterpriseDisplayName'] as core.String : null, + googleAuthenticationSettings: + json_.containsKey('googleAuthenticationSettings') + ? GoogleAuthenticationSettings.fromJson( + json_['googleAuthenticationSettings'] + as core.Map) + : null, logo: json_.containsKey('logo') ? ExternalData.fromJson( json_['logo'] as core.Map) @@ -4737,6 +4776,8 @@ class Enterprise { 'enabledNotificationTypes': enabledNotificationTypes!, if (enterpriseDisplayName != null) 'enterpriseDisplayName': enterpriseDisplayName!, + if (googleAuthenticationSettings != null) + 'googleAuthenticationSettings': googleAuthenticationSettings!, if (logo != null) 'logo': logo!, if (name != null) 'name': name!, if (primaryColor != null) 'primaryColor': primaryColor!, @@ -4890,6 +4931,44 @@ class FreezePeriod { }; } +/// Contains settings for Google-provided user authentication. +class GoogleAuthenticationSettings { + /// Whether users need to be authenticated by Google during the enrollment + /// process. + /// + /// IT admin can specify if Google authentication is enabled for the + /// enterprise for knowledge worker devices. This value can be set only via + /// the Google Admin Console. Google authentication can be used with + /// signin_url In the case where Google authentication is required and a + /// signin_url is specified, Google authentication will be launched before + /// signin_url. + /// + /// Output only. + /// Possible string values are: + /// - "GOOGLE_AUTHENTICATION_REQUIRED_UNSPECIFIED" : This value is not used. + /// - "NOT_REQUIRED" : Google authentication is not required. + /// - "REQUIRED" : User is required to be successfully authenticated by + /// Google. + core.String? googleAuthenticationRequired; + + GoogleAuthenticationSettings({ + this.googleAuthenticationRequired, + }); + + GoogleAuthenticationSettings.fromJson(core.Map json_) + : this( + googleAuthenticationRequired: + json_.containsKey('googleAuthenticationRequired') + ? json_['googleAuthenticationRequired'] as core.String + : null, + ); + + core.Map toJson() => { + if (googleAuthenticationRequired != null) + 'googleAuthenticationRequired': googleAuthenticationRequired!, + }; +} + /// Information about device hardware. /// /// The fields related to temperature thresholds are only available if @@ -8528,6 +8607,10 @@ class ProvisioningInfo { /// The API level of the Android platform version running on the device. core.int? apiLevel; + /// The email address of the authenticated user (only present for Google + /// Account provisioning method). + core.String? authenticatedUserEmail; + /// The brand of the device. /// /// For example, Google. @@ -8576,6 +8659,7 @@ class ProvisioningInfo { ProvisioningInfo({ this.apiLevel, + this.authenticatedUserEmail, this.brand, this.enterprise, this.imei, @@ -8592,6 +8676,9 @@ class ProvisioningInfo { apiLevel: json_.containsKey('apiLevel') ? json_['apiLevel'] as core.int : null, + authenticatedUserEmail: json_.containsKey('authenticatedUserEmail') + ? json_['authenticatedUserEmail'] as core.String + : null, brand: json_.containsKey('brand') ? json_['brand'] as core.String : null, enterprise: json_.containsKey('enterprise') @@ -8615,6 +8702,8 @@ class ProvisioningInfo { core.Map toJson() => { if (apiLevel != null) 'apiLevel': apiLevel!, + if (authenticatedUserEmail != null) + 'authenticatedUserEmail': authenticatedUserEmail!, if (brand != null) 'brand': brand!, if (enterprise != null) 'enterprise': enterprise!, if (imei != null) 'imei': imei!, @@ -8796,6 +8885,9 @@ class SigninDetail { /// specified /// - "PERSONAL_USAGE_ALLOWED" : Personal usage is allowed /// - "PERSONAL_USAGE_DISALLOWED" : Personal usage is disallowed + /// - "PERSONAL_USAGE_DISALLOWED_USERLESS" : Device is not associated with a + /// single user, and thus both personal usage and corporate identity + /// authentication are not expected. core.String? allowPersonalUsage; /// A JSON string whose UTF-8 representation can be used to generate a QR code diff --git a/generated/googleapis/lib/androidpublisher/v3.dart b/generated/googleapis/lib/androidpublisher/v3.dart index b31dcf9b3..3c43c38ef 100644 --- a/generated/googleapis/lib/androidpublisher/v3.dart +++ b/generated/googleapis/lib/androidpublisher/v3.dart @@ -16281,7 +16281,7 @@ class VoidedPurchase { /// The reason why the purchase was voided, possible values are: 0. /// /// Other 1. Remorse 2. Not_received 3. Defective 4. Accidental_purchase 5. - /// Fraud 6. Friendly_fraud 7. Chargeback + /// Fraud 6. Friendly_fraud 7. Chargeback 8. Unacknowledged_purchase core.int? voidedReason; /// The initiator of voided purchase, possible values are: 0. diff --git a/generated/googleapis/lib/apigee/v1.dart b/generated/googleapis/lib/apigee/v1.dart index 2d13b1868..5fa2c12a0 100644 --- a/generated/googleapis/lib/apigee/v1.dart +++ b/generated/googleapis/lib/apigee/v1.dart @@ -15970,7 +15970,7 @@ class GoogleCloudApigeeV1Access { /// Get action. /// /// For example, "Get" : { "name" : "target.name", "value" : "default" } -typedef GoogleCloudApigeeV1AccessGet = $Shared05; +typedef GoogleCloudApigeeV1AccessGet = $Shared04; /// Access logging configuration enables customers to ship the access logs from /// the tenant projects to their own project's cloud logging. @@ -16085,6 +16085,8 @@ class GoogleCloudApigeeV1AddonsConfig { GoogleCloudApigeeV1AdvancedApiOpsConfig? advancedApiOpsConfig; /// Configuration for the Analytics add-on. + /// + /// Only used in organizations.environments.addonsConfig. GoogleCloudApigeeV1AnalyticsConfig? analyticsConfig; /// Configuration for the API Security add-on. diff --git a/generated/googleapis/lib/artifactregistry/v1.dart b/generated/googleapis/lib/artifactregistry/v1.dart index 3d3871cf2..f76c95bb8 100644 --- a/generated/googleapis/lib/artifactregistry/v1.dart +++ b/generated/googleapis/lib/artifactregistry/v1.dart @@ -2042,7 +2042,13 @@ class ProjectsLocationsRepositoriesPackagesTagsResource { /// rules are case insensitive. The fields eligible for filtering are: * /// `version` An example of using a filter: * /// `version="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` - /// --\> Tags that are applied to the version `1.0` in package `pkg1`. + /// --\> Tags that are applied to the version `1.0` in package `pkg1`. * + /// `name="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/a%2Fb%2F*"` + /// --\> tags with an ID starting with "a/b/". * + /// `name="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags + /// / * %2Fb%2Fc"` --\> tags with an ID ending with "/b/c". * + /// `name="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags + /// / * %2Fb%2F*"` --\> tags with an ID containing "/b/". /// /// [pageSize] - The maximum number of tags to return. Maximum page size is /// 1,000. @@ -4381,6 +4387,8 @@ class ProjectSettings { /// been finalized so cannot be reverted. /// - "REDIRECTION_FROM_GCR_IO_ENABLED_AND_COPYING" : Redirection is enabled /// and missing images are copied from GCR + /// - "REDIRECTION_FROM_GCR_IO_PARTIAL_AND_COPYING" : Redirection is partially + /// enabled and missing images are copied from GCR core.String? legacyRedirectionState; /// The name of the project's settings. diff --git a/generated/googleapis/lib/assuredworkloads/v1.dart b/generated/googleapis/lib/assuredworkloads/v1.dart index f0422c73c..8047705e2 100644 --- a/generated/googleapis/lib/assuredworkloads/v1.dart +++ b/generated/googleapis/lib/assuredworkloads/v1.dart @@ -1553,6 +1553,8 @@ class GoogleCloudAssuredworkloadsV1ViolationRemediation { /// Remediation type for gcp.restrictCmekCryptoKeyProjects /// - "REMEDIATION_RESOURCE_VIOLATION" : Remediation type for resource /// violation. + /// - "REMEDIATION_RESOURCE_VIOLATION_NON_CMEK_SERVICES" : Remediation type + /// for resource violation due to gcp.restrictNonCmekServices core.String? remediationType; GoogleCloudAssuredworkloadsV1ViolationRemediation({ diff --git a/generated/googleapis/lib/authorizedbuyersmarketplace/v1.dart b/generated/googleapis/lib/authorizedbuyersmarketplace/v1.dart index 56150e8ca..ecff676ec 100644 --- a/generated/googleapis/lib/authorizedbuyersmarketplace/v1.dart +++ b/generated/googleapis/lib/authorizedbuyersmarketplace/v1.dart @@ -1274,7 +1274,8 @@ class BuyersFinalizedDealsResource { /// /// This call only pauses the serving status, and does not affect other fields /// of the finalized deal. Calling this method for an already paused deal has - /// no effect. This method only applies to programmatic guaranteed deals. + /// no effect. This method only applies to programmatic guaranteed deals and + /// preferred deals. /// /// [request] - The metadata request object. /// @@ -1320,7 +1321,7 @@ class BuyersFinalizedDealsResource { /// Calling this method for an running deal has no effect. If a deal is /// initially paused by the seller, calling this method will not resume /// serving of the deal until the seller also resumes the deal. This method - /// only applies to programmatic guaranteed deals. + /// only applies to programmatic guaranteed deals and preferred deals. /// /// [request] - The metadata request object. /// diff --git a/generated/googleapis/lib/backupdr/v1.dart b/generated/googleapis/lib/backupdr/v1.dart index 6c02fd913..fdaaad752 100644 --- a/generated/googleapis/lib/backupdr/v1.dart +++ b/generated/googleapis/lib/backupdr/v1.dart @@ -1094,6 +1094,16 @@ class ManagementServer { /// Output only. core.String? oauth2ClientId; + /// Reserved for future use. + /// + /// Output only. + core.bool? satisfiesPzi; + + /// Reserved for future use. + /// + /// Output only. + core.bool? satisfiesPzs; + /// The ManagementServer state. /// /// Output only. @@ -1147,6 +1157,8 @@ class ManagementServer { this.name, this.networks, this.oauth2ClientId, + this.satisfiesPzi, + this.satisfiesPzs, this.state, this.type, this.updateTime, @@ -1190,6 +1202,12 @@ class ManagementServer { oauth2ClientId: json_.containsKey('oauth2ClientId') ? json_['oauth2ClientId'] as core.String : null, + satisfiesPzi: json_.containsKey('satisfiesPzi') + ? json_['satisfiesPzi'] as core.bool + : null, + satisfiesPzs: json_.containsKey('satisfiesPzs') + ? json_['satisfiesPzs'] as core.bool + : null, state: json_.containsKey('state') ? json_['state'] as core.String : null, type: json_.containsKey('type') ? json_['type'] as core.String : null, @@ -1220,6 +1238,8 @@ class ManagementServer { if (name != null) 'name': name!, if (networks != null) 'networks': networks!, if (oauth2ClientId != null) 'oauth2ClientId': oauth2ClientId!, + if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!, + if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!, if (state != null) 'state': state!, if (type != null) 'type': type!, if (updateTime != null) 'updateTime': updateTime!, diff --git a/generated/googleapis/lib/bigquery/v2.dart b/generated/googleapis/lib/bigquery/v2.dart index 270522fee..319b5f1aa 100644 --- a/generated/googleapis/lib/bigquery/v2.dart +++ b/generated/googleapis/lib/bigquery/v2.dart @@ -4830,9 +4830,9 @@ class Dataset { /// The default encryption key for all tables in the dataset. /// - /// Once this property is set, all newly-created partitioned tables in the - /// dataset will have encryption key set to this value, unless table creation - /// request (or query) overrides the key. + /// After this property is set, the encryption key of all newly-created tables + /// in the dataset is set to this value unless the table creation request or + /// query explicitly overrides the key. EncryptionConfiguration? defaultEncryptionConfiguration; /// This default partition expiration, expressed in milliseconds. @@ -4986,6 +4986,18 @@ class Dataset { /// Optional. core.String? maxTimeTravelHours; + /// The \[tags\](/bigquery/docs/tags) attached to this dataset. + /// + /// Tag keys are globally unique. Tag key is expected to be in the namespaced + /// format, for example "123456789012/environment" where 123456789012 is the + /// ID of the parent organization or project resource for this tag key. Tag + /// value is expected to be the short name, for example "Production". See + /// \[Tag definitions\](/iam/docs/tags-access-control#definitions) for more + /// details. + /// + /// Optional. + core.Map? resourceTags; + /// Restriction config for all tables and dataset. /// /// If set, restrict certain accesses on the dataset and all its tables based @@ -5060,6 +5072,7 @@ class Dataset { this.linkedDatasetSource, this.location, this.maxTimeTravelHours, + this.resourceTags, this.restrictions, this.satisfiesPzi, this.satisfiesPzs, @@ -5153,6 +5166,15 @@ class Dataset { maxTimeTravelHours: json_.containsKey('maxTimeTravelHours') ? json_['maxTimeTravelHours'] as core.String : null, + resourceTags: json_.containsKey('resourceTags') + ? (json_['resourceTags'] as core.Map) + .map( + (key, value) => core.MapEntry( + key, + value as core.String, + ), + ) + : null, restrictions: json_.containsKey('restrictions') ? RestrictionConfig.fromJson( json_['restrictions'] as core.Map) @@ -5210,6 +5232,7 @@ class Dataset { if (location != null) 'location': location!, if (maxTimeTravelHours != null) 'maxTimeTravelHours': maxTimeTravelHours!, + if (resourceTags != null) 'resourceTags': resourceTags!, if (restrictions != null) 'restrictions': restrictions!, if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!, if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!, @@ -7029,6 +7052,41 @@ class ForeignTypeInfo { }; } +/// A view can be represented in multiple ways. +/// +/// Each representation has its own dialect. This message stores the metadata +/// required for these representations. +class ForeignViewDefinition { + /// Represents the dialect of the query. + /// + /// Optional. + core.String? dialect; + + /// The query that defines the view. + /// + /// Required. + core.String? query; + + ForeignViewDefinition({ + this.dialect, + this.query, + }); + + ForeignViewDefinition.fromJson(core.Map json_) + : this( + dialect: json_.containsKey('dialect') + ? json_['dialect'] as core.String + : null, + query: + json_.containsKey('query') ? json_['query'] as core.String : null, + ); + + core.Map toJson() => { + if (dialect != null) 'dialect': dialect!, + if (query != null) 'query': query!, + }; +} + /// Request message for `GetIamPolicy` method. class GetIamPolicyRequest { /// OPTIONAL: A `GetPolicyOptions` object for specifying options to @@ -8294,7 +8352,11 @@ class JobConfiguration { /// Job timeout in milliseconds. /// - /// If this time limit is exceeded, BigQuery might attempt to stop the job. + /// If this time limit is exceeded, BigQuery will attempt to stop a longer + /// job, but may not always succeed in canceling it before the job completes. + /// For example, a job that takes more than 60 seconds to complete has a + /// better chance of being stopped than a job that takes 10 seconds to + /// complete. /// /// Optional. core.String? jobTimeoutMs; @@ -8541,6 +8603,22 @@ class JobConfigurationLoad { /// Clustering specification for the destination table. Clustering? clustering; + /// Character map supported for column names in CSV/Parquet loads. + /// + /// Defaults to STRICT and can be overridden by Project Config Service. Using + /// this option with unsupporting load formats will result in an error. + /// + /// Optional. + /// Possible string values are: + /// - "COLUMN_NAME_CHARACTER_MAP_UNSPECIFIED" : Unspecified column name + /// character map. + /// - "STRICT" : Support flexible column name and reject invalid column names. + /// - "V1" : Support alphanumeric + underscore characters and names must start + /// with a letter or underscore. Invalid column names will be normalized. + /// - "V2" : Support flexible column name. Invalid column names will be + /// normalized. + core.String? columnNameCharacterMap; + /// Connection properties which can modify the load job behavior. /// /// Currently, only the 'session_id' connection property is supported, and is @@ -8889,6 +8967,7 @@ class JobConfigurationLoad { this.allowQuotedNewlines, this.autodetect, this.clustering, + this.columnNameCharacterMap, this.connectionProperties, this.copyFilesOnly, this.createDisposition, @@ -8938,6 +9017,9 @@ class JobConfigurationLoad { ? Clustering.fromJson( json_['clustering'] as core.Map) : null, + columnNameCharacterMap: json_.containsKey('columnNameCharacterMap') + ? json_['columnNameCharacterMap'] as core.String + : null, connectionProperties: json_.containsKey('connectionProperties') ? (json_['connectionProperties'] as core.List) .map((value) => ConnectionProperty.fromJson( @@ -9066,6 +9148,8 @@ class JobConfigurationLoad { 'allowQuotedNewlines': allowQuotedNewlines!, if (autodetect != null) 'autodetect': autodetect!, if (clustering != null) 'clustering': clustering!, + if (columnNameCharacterMap != null) + 'columnNameCharacterMap': columnNameCharacterMap!, if (connectionProperties != null) 'connectionProperties': connectionProperties!, if (copyFilesOnly != null) 'copyFilesOnly': copyFilesOnly!, @@ -12303,15 +12387,15 @@ class ParquetOptions { /// Optional. core.bool? enumAsString; - /// Will indicate how to represent a parquet map if present. + /// Indicates how to represent a Parquet map if present. /// /// Optional. /// Possible string values are: - /// - "MAP_TARGET_TYPE_UNSPECIFIED" : In this mode, we fall back to the - /// default. Currently (3/24) we represent the map as: struct map_field_name { - /// repeated struct key_value { key value } } - /// - "ARRAY_OF_STRUCT" : In this mode, we omit parquet's key_value struct and - /// represent the map as: repeated struct map_field_name { key value } + /// - "MAP_TARGET_TYPE_UNSPECIFIED" : In this mode, the map will have the + /// following schema: struct map_field_name { repeated struct key_value { key + /// value } }. + /// - "ARRAY_OF_STRUCT" : In this mode, the map will have the following + /// schema: repeated struct map_field_name { key value }. core.String? mapTargetType; ParquetOptions({ @@ -15885,6 +15969,14 @@ class Table { /// Output only. core.String? numBytes; + /// Number of physical bytes used by current live data storage. + /// + /// This data is not kept in real time, and might be delayed by a few seconds + /// to a few minutes. + /// + /// Output only. + core.String? numCurrentPhysicalBytes; + /// The number of logical bytes in the table that are considered "long-term /// storage". /// @@ -16079,6 +16171,7 @@ class Table { this.numActiveLogicalBytes, this.numActivePhysicalBytes, this.numBytes, + this.numCurrentPhysicalBytes, this.numLongTermBytes, this.numLongTermLogicalBytes, this.numLongTermPhysicalBytes, @@ -16196,6 +16289,9 @@ class Table { numBytes: json_.containsKey('numBytes') ? json_['numBytes'] as core.String : null, + numCurrentPhysicalBytes: json_.containsKey('numCurrentPhysicalBytes') + ? json_['numCurrentPhysicalBytes'] as core.String + : null, numLongTermBytes: json_.containsKey('numLongTermBytes') ? json_['numLongTermBytes'] as core.String : null, @@ -16327,6 +16423,8 @@ class Table { if (numActivePhysicalBytes != null) 'numActivePhysicalBytes': numActivePhysicalBytes!, if (numBytes != null) 'numBytes': numBytes!, + if (numCurrentPhysicalBytes != null) + 'numCurrentPhysicalBytes': numCurrentPhysicalBytes!, if (numLongTermBytes != null) 'numLongTermBytes': numLongTermBytes!, if (numLongTermLogicalBytes != null) 'numLongTermLogicalBytes': numLongTermLogicalBytes!, @@ -17430,7 +17528,10 @@ class TableReplicationInfo { /// Specifies the interval at which the source table is polled for updates. /// - /// Required. + /// It's Optional. If not specified, default replication interval would be + /// applied. + /// + /// Optional. core.String? replicationIntervalMs; /// Replication status of configured replication. @@ -18829,6 +18930,7 @@ class UndeleteDatasetRequest { /// The exact time when the dataset was deleted. /// /// If not specified, the most recently deleted version is undeleted. + /// Undeleting a dataset using deletion time is not supported. /// /// Optional. core.String? deletionTime; @@ -18940,6 +19042,11 @@ class VectorSearchStatistics { /// Describes the definition of a logical view. class ViewDefinition { + /// Foreign view representations. + /// + /// Optional. + core.List? foreignDefinitions; + /// Specifices the privacy policy for the view. /// /// Optional. @@ -18968,6 +19075,7 @@ class ViewDefinition { core.List? userDefinedFunctionResources; ViewDefinition({ + this.foreignDefinitions, this.privacyPolicy, this.query, this.useExplicitColumnNames, @@ -18977,6 +19085,12 @@ class ViewDefinition { ViewDefinition.fromJson(core.Map json_) : this( + foreignDefinitions: json_.containsKey('foreignDefinitions') + ? (json_['foreignDefinitions'] as core.List) + .map((value) => ForeignViewDefinition.fromJson( + value as core.Map)) + .toList() + : null, privacyPolicy: json_.containsKey('privacyPolicy') ? PrivacyPolicy.fromJson( json_['privacyPolicy'] as core.Map) @@ -18999,6 +19113,8 @@ class ViewDefinition { ); core.Map toJson() => { + if (foreignDefinitions != null) + 'foreignDefinitions': foreignDefinitions!, if (privacyPolicy != null) 'privacyPolicy': privacyPolicy!, if (query != null) 'query': query!, if (useExplicitColumnNames != null) diff --git a/generated/googleapis/lib/bigqueryconnection/v1.dart b/generated/googleapis/lib/bigqueryconnection/v1.dart index 536455eb5..119b8fb8d 100644 --- a/generated/googleapis/lib/bigqueryconnection/v1.dart +++ b/generated/googleapis/lib/bigqueryconnection/v1.dart @@ -1132,8 +1132,6 @@ class Connection { /// Represents concrete parameter values for Connector Configuration. class ConnectorConfiguration { /// Data asset. - /// - /// Optional. ConnectorConfigurationAsset? asset; /// Client authentication. @@ -1197,8 +1195,6 @@ class ConnectorConfiguration { /// For example a database name in a SQL DB. class ConnectorConfigurationAsset { /// Name of the database. - /// - /// Optional. core.String? database; /// Full Google Cloud resource name - @@ -1231,15 +1227,28 @@ class ConnectorConfigurationAsset { /// Client authentication. class ConnectorConfigurationAuthentication { + /// Google-managed service account associated with this connection, e.g., + /// `service-{project_number}@gcp-sa-bigqueryconnection.iam.gserviceaccount.com`. + /// + /// BigQuery jobs using this connection will act as `service_account` identity + /// while connecting to the datasource. + /// + /// Output only. + core.String? serviceAccount; + /// Username/password authentication. ConnectorConfigurationUsernamePassword? usernamePassword; ConnectorConfigurationAuthentication({ + this.serviceAccount, this.usernamePassword, }); ConnectorConfigurationAuthentication.fromJson(core.Map json_) : this( + serviceAccount: json_.containsKey('serviceAccount') + ? json_['serviceAccount'] as core.String + : null, usernamePassword: json_.containsKey('usernamePassword') ? ConnectorConfigurationUsernamePassword.fromJson( json_['usernamePassword'] @@ -1248,6 +1257,7 @@ class ConnectorConfigurationAuthentication { ); core.Map toJson() => { + if (serviceAccount != null) 'serviceAccount': serviceAccount!, if (usernamePassword != null) 'usernamePassword': usernamePassword!, }; } diff --git a/generated/googleapis/lib/bigtableadmin/v2.dart b/generated/googleapis/lib/bigtableadmin/v2.dart index c0fddfdfa..f405d02e0 100644 --- a/generated/googleapis/lib/bigtableadmin/v2.dart +++ b/generated/googleapis/lib/bigtableadmin/v2.dart @@ -6066,20 +6066,19 @@ typedef TestIamPermissionsResponse = $PermissionsResponse; /// `CAST`. Each link in the encoding chain also defines the following /// properties: * Natural sort: Does the encoded value sort consistently with /// the original typed value? Note that Bigtable will always sort data based on -/// the raw encoded value, *not* the decoded type. - Example: STRING values sort -/// in the same order as their UTF-8 encodings. - Counterexample: Encoding INT64 +/// the raw encoded value, *not* the decoded type. - Example: BYTES values sort +/// in the same order as their raw encodings. - Counterexample: Encoding INT64 /// to a fixed-width STRING does *not* preserve sort order when dealing with /// negative numbers. INT64(1) \> INT64(-1), but STRING("-00001") \> -/// STRING("00001). - The overall encoding chain sorts naturally if *every* link -/// does. * Self-delimiting: If we concatenate two encoded values, can we always -/// tell where the first one ends and the second one begins? - Example: If we -/// encode INT64s to fixed-width STRINGs, the first value will always contain -/// exactly N digits, possibly preceded by a sign. - Counterexample: If we -/// concatenate two UTF-8 encoded STRINGs, we have no way to tell where the -/// first one ends. - The overall encoding chain is self-delimiting if *any* -/// link is. * Compatibility: Which other systems have matching encoding -/// schemes? For example, does this encoding have a GoogleSQL equivalent? HBase? -/// Java? +/// STRING("00001). - The overall encoding chain has this property if *every* +/// link does. * Self-delimiting: If we concatenate two encoded values, can we +/// always tell where the first one ends and the second one begins? - Example: +/// If we encode INT64s to fixed-width STRINGs, the first value will always +/// contain exactly N digits, possibly preceded by a sign. - Counterexample: If +/// we concatenate two UTF-8 encoded STRINGs, we have no way to tell where the +/// first one ends. - The overall encoding chain has this property if *any* link +/// does. * Compatibility: Which other systems have matching encoding schemes? +/// For example, does this encoding have a GoogleSQL equivalent? HBase? Java? class Type { /// Aggregate GoogleBigtableAdminV2TypeAggregate? aggregateType; diff --git a/generated/googleapis/lib/binaryauthorization/v1.dart b/generated/googleapis/lib/binaryauthorization/v1.dart index 749c93535..1ae376a5e 100644 --- a/generated/googleapis/lib/binaryauthorization/v1.dart +++ b/generated/googleapis/lib/binaryauthorization/v1.dart @@ -2475,16 +2475,16 @@ class PkixPublicKey { /// The ID of this public key. /// /// Signatures verified by Binary Authorization must include the ID of the - /// public key that can be used to verify them, and that ID must match the - /// contents of this field exactly. This may be explicitly provided by the - /// caller, but it MUST be a valid RFC3986 URI. If `key_id` is left blank and - /// this `PkixPublicKey` is not used in the context of a wrapper (see next - /// paragraph), a default key ID will be computed based on the digest of the - /// DER encoding of the public key. If this `PkixPublicKey` is used in the - /// context of a wrapper that has its own notion of key ID (e.g. - /// `AttestorPublicKey`), then this field can either: * Match that value - /// exactly. * Or be left blank, in which case it behaves exactly as though it - /// is equal to that wrapper value. + /// public key that can be used to verify them. The ID must match exactly + /// contents of the `key_id` field exactly. The ID may be explicitly provided + /// by the caller, but it MUST be a valid RFC3986 URI. If `key_id` is left + /// blank and this `PkixPublicKey` is not used in the context of a wrapper + /// (see next paragraph), a default key ID will be computed based on the + /// digest of the DER encoding of the public key. If this `PkixPublicKey` is + /// used in the context of a wrapper that has its own notion of key ID (e.g. + /// `AttestorPublicKey`), then this field can either match that value exactly, + /// or be left blank, in which case it behaves exactly as though it is equal + /// to that wrapper value. /// /// Optional. core.String? keyId; diff --git a/generated/googleapis/lib/chat/v1.dart b/generated/googleapis/lib/chat/v1.dart index 4f4cf5cf3..0a1dcdd5c 100644 --- a/generated/googleapis/lib/chat/v1.dart +++ b/generated/googleapis/lib/chat/v1.dart @@ -56,6 +56,30 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' /// The Google Chat API lets you build Chat apps to integrate your services with /// Google Chat and manage Chat resources such as spaces, members, and messages. class HangoutsChatApi { + /// Delete conversations and spaces owned by your organization and remove + /// access to associated files in Google Chat + static const chatAdminDeleteScope = + 'https://www.googleapis.com/auth/chat.admin.delete'; + + /// View, add, update and remove members and managers in conversations owned + /// by your organization + static const chatAdminMembershipsScope = + 'https://www.googleapis.com/auth/chat.admin.memberships'; + + /// View members and managers in conversations owned by your organization + static const chatAdminMembershipsReadonlyScope = + 'https://www.googleapis.com/auth/chat.admin.memberships.readonly'; + + /// View or edit display name, description, and other metadata for all Google + /// Chat conversations owned by your organization + static const chatAdminSpacesScope = + 'https://www.googleapis.com/auth/chat.admin.spaces'; + + /// View display name, description, and other metadata for all Google Chat + /// conversations owned by your organization + static const chatAdminSpacesReadonlyScope = + 'https://www.googleapis.com/auth/chat.admin.spaces.readonly'; + /// Private Service: https://www.googleapis.com/auth/chat.bot static const chatBotScope = 'https://www.googleapis.com/auth/chat.bot'; @@ -535,8 +559,9 @@ class SpacesResource { /// [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). /// Lists spaces visible to the caller or authenticated user. Group chats and /// DMs aren't listed until the first message is sent. To list all named - /// spaces by Google Workspace organization, use the `spaces.search()` method - /// using Workspace administrator privileges instead. + /// spaces by Google Workspace organization, use the + /// \[`spaces.search()`\](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/search) + /// method using Workspace administrator privileges instead. /// /// Request parameters: /// @@ -4665,6 +4690,7 @@ class GoogleAppsCardV1PlatformDataSource { /// - "UNKNOWN" : Default value. Don't use. /// - "USER" : Google Workspace users. The user can only view and select users /// from their Google Workspace organization. + /// - "DRIVE" : Represents a data source from Google Drive OnePick. core.String? commonDataSource; /// A data source that's unique to a Google Workspace host application, such diff --git a/generated/googleapis/lib/chromemanagement/v1.dart b/generated/googleapis/lib/chromemanagement/v1.dart index 4b08420cd..81be8fd38 100644 --- a/generated/googleapis/lib/chromemanagement/v1.dart +++ b/generated/googleapis/lib/chromemanagement/v1.dart @@ -1879,6 +1879,104 @@ class GoogleChromeManagementV1AppDetails { }; } +/// App report. +class GoogleChromeManagementV1AppReport { + /// Timestamp when the report was collected. + core.String? reportTime; + + /// App usage data. + core.List? usageData; + + GoogleChromeManagementV1AppReport({ + this.reportTime, + this.usageData, + }); + + GoogleChromeManagementV1AppReport.fromJson(core.Map json_) + : this( + reportTime: json_.containsKey('reportTime') + ? json_['reportTime'] as core.String + : null, + usageData: json_.containsKey('usageData') + ? (json_['usageData'] as core.List) + .map((value) => GoogleChromeManagementV1AppUsageData.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (reportTime != null) 'reportTime': reportTime!, + if (usageData != null) 'usageData': usageData!, + }; +} + +/// App usage data. +class GoogleChromeManagementV1AppUsageData { + /// App id. + core.String? appId; + + /// Application instance id. + /// + /// This will be unique per window/instance. + core.String? appInstanceId; + + /// Type of app. + /// Possible string values are: + /// - "TELEMETRY_APPLICATION_TYPE_UNSPECIFIED" : Application type unknown. + /// - "APPLICATION_TYPE_ARC" : Application type arc (Android app). + /// - "APPLICATION_TYPE_BUILT_IN" : Application type built-in. + /// - "APPLICATION_TYPE_CROSTINI" : Application type Linux (via Crostini). + /// - "APPLICATION_TYPE_CHROME_APP" : Application type Chrome app. + /// - "APPLICATION_TYPE_WEB" : Application type web. + /// - "APPLICATION_TYPE_MAC_OS" : Application type Mac OS. + /// - "APPLICATION_TYPE_PLUGIN_VM" : Application type Plugin VM. + /// - "APPLICATION_TYPE_STANDALONE_BROWSER" : Application type standalone + /// browser (Lacros browser app). + /// - "APPLICATION_TYPE_REMOTE" : Application type remote. + /// - "APPLICATION_TYPE_BOREALIS" : Application type borealis. + /// - "APPLICATION_TYPE_SYSTEM_WEB" : Application type system web. + /// - "APPLICATION_TYPE_STANDALONE_BROWSER_CHROME_APP" : Application type + /// standalone browser chrome app (hosted in Lacros). + /// - "APPLICATION_TYPE_EXTENSION" : Application type extension. + /// - "APPLICATION_TYPE_STANDALONE_BROWSER_EXTENSION" : Application type + /// standalone browser extension. + /// - "APPLICATION_TYPE_BRUSCHETTA" : Application type bruschetta. + core.String? appType; + + /// App foreground running time. + core.String? runningDuration; + + GoogleChromeManagementV1AppUsageData({ + this.appId, + this.appInstanceId, + this.appType, + this.runningDuration, + }); + + GoogleChromeManagementV1AppUsageData.fromJson(core.Map json_) + : this( + appId: + json_.containsKey('appId') ? json_['appId'] as core.String : null, + appInstanceId: json_.containsKey('appInstanceId') + ? json_['appInstanceId'] as core.String + : null, + appType: json_.containsKey('appType') + ? json_['appType'] as core.String + : null, + runningDuration: json_.containsKey('runningDuration') + ? json_['runningDuration'] as core.String + : null, + ); + + core.Map toJson() => { + if (appId != null) 'appId': appId!, + if (appInstanceId != null) 'appInstanceId': appInstanceId!, + if (appType != null) 'appType': appType!, + if (runningDuration != null) 'runningDuration': runningDuration!, + }; +} + /// Status data for storage. /// /// * This field is telemetry information and this will change over time as the @@ -6029,6 +6127,12 @@ typedef GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent = $Empty; /// /// * Granular permission needed: TELEMETRY_API_DEVICE class GoogleChromeManagementV1TelemetryDevice { + /// App reports collected periodically sorted in a decreasing order of + /// report_time. + /// + /// Output only. + core.List? appReport; + /// Audio reports collected periodically sorted in a decreasing order of /// report_time. /// @@ -6184,6 +6288,7 @@ class GoogleChromeManagementV1TelemetryDevice { core.List? thunderboltInfo; GoogleChromeManagementV1TelemetryDevice({ + this.appReport, this.audioStatusReport, this.batteryInfo, this.batteryStatusReport, @@ -6215,6 +6320,12 @@ class GoogleChromeManagementV1TelemetryDevice { GoogleChromeManagementV1TelemetryDevice.fromJson(core.Map json_) : this( + appReport: json_.containsKey('appReport') + ? (json_['appReport'] as core.List) + .map((value) => GoogleChromeManagementV1AppReport.fromJson( + value as core.Map)) + .toList() + : null, audioStatusReport: json_.containsKey('audioStatusReport') ? (json_['audioStatusReport'] as core.List) .map((value) => @@ -6372,6 +6483,7 @@ class GoogleChromeManagementV1TelemetryDevice { ); core.Map toJson() => { + if (appReport != null) 'appReport': appReport!, if (audioStatusReport != null) 'audioStatusReport': audioStatusReport!, if (batteryInfo != null) 'batteryInfo': batteryInfo!, if (batteryStatusReport != null) @@ -7018,6 +7130,12 @@ class GoogleChromeManagementV1TelemetryUser { /// /// * Granular permission needed: TELEMETRY_API_DEVICE class GoogleChromeManagementV1TelemetryUserDevice { + /// App reports collected periodically sorted in a decreasing order of + /// report_time. + /// + /// Output only. + core.List? appReport; + /// Audio reports collected periodically sorted in a decreasing order of /// report_time. /// @@ -7050,6 +7168,7 @@ class GoogleChromeManagementV1TelemetryUserDevice { core.List? peripheralsReport; GoogleChromeManagementV1TelemetryUserDevice({ + this.appReport, this.audioStatusReport, this.deviceActivityReport, this.deviceId, @@ -7059,6 +7178,12 @@ class GoogleChromeManagementV1TelemetryUserDevice { GoogleChromeManagementV1TelemetryUserDevice.fromJson(core.Map json_) : this( + appReport: json_.containsKey('appReport') + ? (json_['appReport'] as core.List) + .map((value) => GoogleChromeManagementV1AppReport.fromJson( + value as core.Map)) + .toList() + : null, audioStatusReport: json_.containsKey('audioStatusReport') ? (json_['audioStatusReport'] as core.List) .map((value) => @@ -7093,6 +7218,7 @@ class GoogleChromeManagementV1TelemetryUserDevice { ); core.Map toJson() => { + if (appReport != null) 'appReport': appReport!, if (audioStatusReport != null) 'audioStatusReport': audioStatusReport!, if (deviceActivityReport != null) 'deviceActivityReport': deviceActivityReport!, diff --git a/generated/googleapis/lib/civicinfo/v2.dart b/generated/googleapis/lib/civicinfo/v2.dart index 05a130649..2d40e880c 100644 --- a/generated/googleapis/lib/civicinfo/v2.dart +++ b/generated/googleapis/lib/civicinfo/v2.dart @@ -178,8 +178,8 @@ class ElectionsResource { /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. - async.Future voterInfoQuery( - core.String address, { + async.Future voterInfoQuery({ + core.String? address, core.String? electionId, core.bool? officialOnly, core.bool? productionDataOnly, @@ -187,7 +187,7 @@ class ElectionsResource { core.String? $fields, }) async { final queryParams_ = >{ - 'address': [address], + if (address != null) 'address': [address], if (electionId != null) 'electionId': [electionId], if (officialOnly != null) 'officialOnly': ['${officialOnly}'], if (productionDataOnly != null) diff --git a/generated/googleapis/lib/cloudasset/v1.dart b/generated/googleapis/lib/cloudasset/v1.dart index feeb6bc33..f50a232bc 100644 --- a/generated/googleapis/lib/cloudasset/v1.dart +++ b/generated/googleapis/lib/cloudasset/v1.dart @@ -4614,9 +4614,10 @@ class GoogleIdentityAccesscontextmanagerV1AccessLevel { /// Does not affect behavior. core.String? description; - /// Resource name for the `AccessLevel`. + /// Identifier. /// - /// Format: `accessPolicies/{access_policy}/accessLevels/{access_level}`. The + /// Resource name for the `AccessLevel`. Format: + /// `accessPolicies/{access_policy}/accessLevels/{access_level}`. The /// `access_level` component must begin with a letter, followed by /// alphanumeric characters or `_`. Its maximum length is 50 characters. After /// you create an `AccessLevel`, you cannot change its `name`. @@ -4668,7 +4669,86 @@ class GoogleIdentityAccesscontextmanagerV1AccessLevel { /// /// An access policy is globally visible within an organization, and the /// restrictions it specifies apply to all projects within an organization. -typedef GoogleIdentityAccesscontextmanagerV1AccessPolicy = $AccessPolicy; +class GoogleIdentityAccesscontextmanagerV1AccessPolicy { + /// An opaque identifier for the current version of the `AccessPolicy`. + /// + /// This will always be a strongly validated etag, meaning that two Access + /// Policies will be identical if and only if their etags are identical. + /// Clients should not expect this to be in any specific format. + /// + /// Output only. + core.String? etag; + + /// Identifier. + /// + /// Resource name of the `AccessPolicy`. Format: + /// `accessPolicies/{access_policy}` + /// + /// Output only. + core.String? name; + + /// The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. + /// + /// Currently immutable once created. Format: + /// `organizations/{organization_id}` + /// + /// Required. + core.String? parent; + + /// The scopes of the AccessPolicy. + /// + /// Scopes define which resources a policy can restrict and where its + /// resources can be referenced. For example, policy A with + /// `scopes=["folders/123"]` has the following behavior: - ServicePerimeter + /// can only restrict projects within `folders/123`. - ServicePerimeter within + /// policy A can only reference access levels defined within policy A. - Only + /// one policy can include a given scope; thus, attempting to create a second + /// policy which includes `folders/123` will result in an error. If no scopes + /// are provided, then any resource within the organization can be restricted. + /// Scopes cannot be modified after a policy is created. Policies can only + /// have a single scope. Format: list of `folders/{folder_number}` or + /// `projects/{project_number}` + core.List? scopes; + + /// Human readable title. + /// + /// Does not affect behavior. + /// + /// Required. + core.String? title; + + GoogleIdentityAccesscontextmanagerV1AccessPolicy({ + this.etag, + this.name, + this.parent, + this.scopes, + this.title, + }); + + GoogleIdentityAccesscontextmanagerV1AccessPolicy.fromJson(core.Map json_) + : this( + etag: json_.containsKey('etag') ? json_['etag'] as core.String : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + parent: json_.containsKey('parent') + ? json_['parent'] as core.String + : null, + scopes: json_.containsKey('scopes') + ? (json_['scopes'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + title: + json_.containsKey('title') ? json_['title'] as core.String : null, + ); + + core.Map toJson() => { + if (etag != null) 'etag': etag!, + if (name != null) 'name': name!, + if (parent != null) 'parent': parent!, + if (scopes != null) 'scopes': scopes!, + if (title != null) 'title': title!, + }; +} /// Identification for an API Operation. class GoogleIdentityAccesscontextmanagerV1ApiOperation { @@ -5377,9 +5457,9 @@ class GoogleIdentityAccesscontextmanagerV1ServicePerimeter { /// Does not affect behavior. core.String? description; - /// Resource name for the `ServicePerimeter`. + /// Identifier. /// - /// Format: + /// Resource name for the `ServicePerimeter`. Format: /// `accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. /// The `service_perimeter` component must begin with a letter, followed by /// alphanumeric characters or `_`. After you create a `ServicePerimeter`, you @@ -7636,7 +7716,7 @@ class Resource { /// A result of Resource Search, containing information of a cloud resource. /// -/// Next ID: 34 +/// Next ID: 36 class ResourceSearchResult { /// The additional searchable attributes of this resource. /// @@ -7751,7 +7831,7 @@ class ResourceSearchResult { /// * Use a free text query. Example: `key` core.List? kmsKeys; - /// Labels associated with this resource. + /// User labels associated with this resource. /// /// See /// [Labelling and grouping Google Cloud resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources) diff --git a/generated/googleapis/lib/cloudbuild/v1.dart b/generated/googleapis/lib/cloudbuild/v1.dart index f15bee1b7..e24b47fe7 100644 --- a/generated/googleapis/lib/cloudbuild/v1.dart +++ b/generated/googleapis/lib/cloudbuild/v1.dart @@ -615,7 +615,7 @@ class ProjectsGithubEnterpriseConfigsResource { /// /// Request parameters: /// - /// [parent] - Name of the parent project. For example: + /// [parent] - Required. Name of the parent project. For example: /// projects/{$project_number} or projects/{$project_id} /// Value must have pattern `^projects/\[^/\]+$`. /// @@ -806,8 +806,8 @@ class ProjectsGithubEnterpriseConfigsResource { /// /// Request parameters: /// - /// [name] - Optional. The full resource name for the GitHubEnterpriseConfig - /// For example: + /// [name] - The full resource name for the GitHubEnterpriseConfig For + /// example: /// "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" /// Value must have pattern /// `^projects/\[^/\]+/githubEnterpriseConfigs/\[^/\]+$`. @@ -2047,7 +2047,7 @@ class ProjectsLocationsGithubEnterpriseConfigsResource { /// /// Request parameters: /// - /// [parent] - Name of the parent project. For example: + /// [parent] - Required. Name of the parent project. For example: /// projects/{$project_number} or projects/{$project_id} /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// @@ -2238,8 +2238,8 @@ class ProjectsLocationsGithubEnterpriseConfigsResource { /// /// Request parameters: /// - /// [name] - Optional. The full resource name for the GitHubEnterpriseConfig - /// For example: + /// [name] - The full resource name for the GitHubEnterpriseConfig For + /// example: /// "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/githubEnterpriseConfigs/\[^/\]+$`. @@ -2946,7 +2946,8 @@ class ProjectsLocationsWorkerPoolsResource { /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/workerPools/\[^/\]+$`. /// - /// [updateMask] - A mask specifying which fields in `worker_pool` to update. + /// [updateMask] - Optional. A mask specifying which fields in `worker_pool` + /// to update. /// /// [validateOnly] - If set, validate the request and preview the response, /// but do not actually post it. @@ -5929,6 +5930,8 @@ class GitHubEnterpriseConfig { core.String? createTime; /// Name to display for this config. + /// + /// Optional. core.String? displayName; /// The URL of the github enterprise host the configuration is for. @@ -5936,8 +5939,6 @@ class GitHubEnterpriseConfig { /// The full resource name for the GitHubEnterpriseConfig For example: /// "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" - /// - /// Optional. core.String? name; /// The network to be used when reaching out to the GitHub Enterprise server. @@ -5955,6 +5956,8 @@ class GitHubEnterpriseConfig { core.String? peeredNetwork; /// Names of secrets in Secret Manager. + /// + /// Optional. GitHubEnterpriseSecrets? secrets; /// SSL certificate to use for requests to GitHub Enterprise. @@ -6126,8 +6129,6 @@ class GitHubEventsConfig { /// /// For example: /// "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" - /// - /// Optional. core.String? enterpriseConfigResourceName; /// The installationID that emits the GitHub event. @@ -7437,6 +7438,8 @@ class PubsubConfig { /// The name of the topic from which this subscription is receiving messages. /// /// Format is `projects/{project}/topics/{topic}`. + /// + /// Optional. core.String? topic; PubsubConfig({ @@ -8730,6 +8733,8 @@ class WorkerConfig { /// See /// [Worker pool config file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). /// If left blank, Cloud Build will use a sensible default. + /// + /// Optional. core.String? machineType; WorkerConfig({ diff --git a/generated/googleapis/lib/cloudbuild/v2.dart b/generated/googleapis/lib/cloudbuild/v2.dart index b371368b9..533d91b49 100644 --- a/generated/googleapis/lib/cloudbuild/v2.dart +++ b/generated/googleapis/lib/cloudbuild/v2.dart @@ -1414,7 +1414,7 @@ class BitbucketDataCenterConfig { /// The URI of the Bitbucket Data Center instance or cluster this connection /// is for. /// - /// Optional. + /// Required. core.String? hostUri; /// A http access token with the `REPO_READ` access. diff --git a/generated/googleapis/lib/cloudcommerceprocurement/v1.dart b/generated/googleapis/lib/cloudcommerceprocurement/v1.dart new file mode 100644 index 000000000..282a7be87 --- /dev/null +++ b/generated/googleapis/lib/cloudcommerceprocurement/v1.dart @@ -0,0 +1,1591 @@ +// This is a generated file (see the discoveryapis_generator project). + +// ignore_for_file: camel_case_types +// ignore_for_file: comment_references +// ignore_for_file: deprecated_member_use_from_same_package +// ignore_for_file: doc_directive_unknown +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_string_interpolations + +/// Cloud Commerce Partner Procurement API - v1 +/// +/// Partner API for the Cloud Commerce Procurement Service. +/// +/// For more information, see +/// +/// +/// Create an instance of [CloudCommercePartnerProcurementServiceApi] to access +/// these resources: +/// +/// - [ProvidersResource] +/// - [ProvidersAccountsResource] +/// - [ProvidersEntitlementsResource] +library; + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; +import 'package:http/http.dart' as http; + +import '../shared.dart'; +import '../src/user_agent.dart'; + +export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' + show ApiRequestError, DetailedApiRequestError; + +/// Partner API for the Cloud Commerce Procurement Service. +class CloudCommercePartnerProcurementServiceApi { + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. + static const cloudPlatformScope = + 'https://www.googleapis.com/auth/cloud-platform'; + + final commons.ApiRequester _requester; + + ProvidersResource get providers => ProvidersResource(_requester); + + CloudCommercePartnerProcurementServiceApi(http.Client client, + {core.String rootUrl = 'https://cloudcommerceprocurement.googleapis.com/', + core.String servicePath = ''}) + : _requester = + commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); +} + +class ProvidersResource { + final commons.ApiRequester _requester; + + ProvidersAccountsResource get accounts => + ProvidersAccountsResource(_requester); + ProvidersEntitlementsResource get entitlements => + ProvidersEntitlementsResource(_requester); + + ProvidersResource(commons.ApiRequester client) : _requester = client; +} + +class ProvidersAccountsResource { + final commons.ApiRequester _requester; + + ProvidersAccountsResource(commons.ApiRequester client) : _requester = client; + + /// Grants an approval on an Account. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the account, with the format + /// `providers/{providerId}/accounts/{accountId}`. + /// Value must have pattern `^providers/\[^/\]+/accounts/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// 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 approve( + ApproveAccountRequest 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') + ':approve'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Empty.fromJson(response_ as core.Map); + } + + /// Gets a requested Account resource. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the account to retrieve. + /// Value must have pattern `^providers/\[^/\]+/accounts/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Account]. + /// + /// 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 get( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return Account.fromJson(response_ as core.Map); + } + + /// Lists Accounts that the provider has access to. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource name. + /// Value must have pattern `^providers/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of entries that are requested. The default + /// page size is 25 and the maximum page size is 200. + /// + /// [pageToken] - The token for fetching the next page. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListAccountsResponse]. + /// + /// 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 list( + core.String parent, { + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/accounts'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListAccountsResponse.fromJson( + response_ as core.Map); + } + + /// Rejects an approval on an Account. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the account. + /// Value must have pattern `^providers/\[^/\]+/accounts/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// 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 reject( + RejectAccountRequest 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') + ':reject'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Empty.fromJson(response_ as core.Map); + } + + /// Resets an Account and cancels all associated Entitlements. + /// + /// Partner can only reset accounts they own rather than customer accounts. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the account. + /// Value must have pattern `^providers/\[^/\]+/accounts/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// 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 reset( + ResetAccountRequest 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') + ':reset'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Empty.fromJson(response_ as core.Map); + } +} + +class ProvidersEntitlementsResource { + final commons.ApiRequester _requester; + + ProvidersEntitlementsResource(commons.ApiRequester client) + : _requester = client; + + /// Approves an entitlement that is in the + /// EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. + /// + /// This method is invoked by the provider to approve the creation of the + /// entitlement resource. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the entitlement, with the format + /// `providers/{providerId}/entitlements/{entitlementId}`. + /// Value must have pattern `^providers/\[^/\]+/entitlements/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// 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 approve( + ApproveEntitlementRequest 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') + ':approve'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Empty.fromJson(response_ as core.Map); + } + + /// Approves an entitlement plan change that is in the + /// EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. + /// + /// This method is invoked by the provider to approve the plan change on the + /// entitlement resource. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the entitlement. + /// Value must have pattern `^providers/\[^/\]+/entitlements/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// 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 approvePlanChange( + ApproveEntitlementPlanChangeRequest 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') + ':approvePlanChange'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Empty.fromJson(response_ as core.Map); + } + + /// Gets a requested Entitlement resource. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the entitlement to retrieve. + /// Value must have pattern `^providers/\[^/\]+/entitlements/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Entitlement]. + /// + /// 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 get( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return Entitlement.fromJson( + response_ as core.Map); + } + + /// Lists Entitlements for which the provider has read access. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource name. + /// Value must have pattern `^providers/\[^/\]+$`. + /// + /// [filter] - The filter that can be used to limit the list request. The + /// filter is a query string that can match a selected set of attributes with + /// string values. For example `account=E-1234-5678-ABCD-EFGH`, + /// `state=pending_cancellation`, and `plan!=foo-plan`. Supported query + /// attributes are * `account` * `customer_billing_account` with value in the + /// format of: `billingAccounts/{id}` * `product_external_name` * + /// `quote_external_name` * `offer` * `new_pending_offer` * `plan` * + /// `newPendingPlan` or `new_pending_plan` * `state` * `consumers.project` * + /// `change_history.new_offer` Note that the consumers and + /// change_history.new_offer match works on repeated structures, so equality + /// (`consumers.project=projects/123456789`) is not supported. Set membership + /// can be expressed with the `:` operator. For example, + /// `consumers.project:projects/123456789` finds entitlements with at least + /// one consumer with project field equal to `projects/123456789`. + /// `change_history.new_offer` retrieves all entitlements that were once + /// associated or are currently active with the offer. Also note that the + /// state name match is case-insensitive and query can omit the prefix + /// "ENTITLEMENT_". For example, `state=active` is equivalent to + /// `state=ENTITLEMENT_ACTIVE`. If the query contains some special characters + /// other than letters, underscore, or digits, the phrase must be quoted with + /// double quotes. For example, `product="providerId:productId"`, where the + /// product name needs to be quoted because it contains special character + /// colon. Queries can be combined with `AND`, `OR`, and `NOT` to form more + /// complex queries. They can also be grouped to force a desired evaluation + /// order. For example, `state=active AND (account=E-1234 OR account=5678) AND + /// NOT (product=foo-product)`. Connective `AND` can be omitted between two + /// predicates. For example `account=E-1234 state=active` is equivalent to + /// `account=E-1234 AND state=active`. + /// + /// [pageSize] - The maximum number of entries that are requested. The default + /// page size is 200. + /// + /// [pageToken] - The token for fetching the next page. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListEntitlementsResponse]. + /// + /// 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 list( + core.String parent, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/entitlements'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListEntitlementsResponse.fromJson( + response_ as core.Map); + } + + /// Updates an existing Entitlement. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the entitlement to update. + /// Value must have pattern `^providers/\[^/\]+/entitlements/\[^/\]+$`. + /// + /// [updateMask] - The update mask that applies to the resource. See the + /// [FieldMask definition](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask) + /// for more details. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Entitlement]. + /// + /// 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 patch( + Entitlement request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return Entitlement.fromJson( + response_ as core.Map); + } + + /// Rejects an entitlement that is in the + /// EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. + /// + /// This method is invoked by the provider to reject the creation of the + /// entitlement resource. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the entitlement. + /// Value must have pattern `^providers/\[^/\]+/entitlements/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// 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 reject( + RejectEntitlementRequest 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') + ':reject'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Empty.fromJson(response_ as core.Map); + } + + /// Rejects an entitlement plan change that is in the + /// EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. + /// + /// This method is invoked by the provider to reject the plan change on the + /// entitlement resource. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the entitlement. + /// Value must have pattern `^providers/\[^/\]+/entitlements/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// 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 rejectPlanChange( + RejectEntitlementPlanChangeRequest 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') + ':rejectPlanChange'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Empty.fromJson(response_ as core.Map); + } + + /// Requests suspension of an active Entitlement. + /// + /// This is not yet supported. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the entitlement to suspend. + /// Value must have pattern `^providers/\[^/\]+/entitlements/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Empty]. + /// + /// 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 suspend( + SuspendEntitlementRequest 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') + ':suspend'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Empty.fromJson(response_ as core.Map); + } +} + +/// Represents an account that was established by the customer on the service +/// provider's system. +class Account { + /// The approvals for this account. + /// + /// These approvals are used to track actions that are permitted or have been + /// completed by a customer within the context of the provider. This might + /// include a sign up flow or a provisioning step, for example, that the + /// provider can admit to having happened. + /// + /// Output only. + core.List? approvals; + + /// The creation timestamp. + /// + /// Output only. + core.String? createTime; + + /// The custom properties that were collected from the user to create this + /// account. + /// + /// Output only. + /// + /// 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.Deprecated( + 'Not supported. Member documentation may have more information.', + ) + core.Map? inputProperties; + + /// The resource name of the account. + /// + /// Account names have the form `accounts/{account_id}`. + /// + /// Output only. + core.String? name; + + /// The identifier of the service provider that this account was created + /// against. + /// + /// Each service provider is assigned a unique provider value when they + /// onboard with Cloud Commerce platform. + /// + /// Output only. + core.String? provider; + + /// The state of the account. + /// + /// This is used to decide whether the customer is in good standing with the + /// provider and is able to make purchases. An account might not be able to + /// make a purchase if the billing account is suspended, for example. + /// + /// Output only. + /// Possible string values are: + /// - "ACCOUNT_STATE_UNSPECIFIED" : Default state of the account. It's only + /// set to this value when the account is first created and has not been + /// initialized. + /// - "ACCOUNT_ACTIVATION_REQUESTED" : The customer has requested the creation + /// of the account resource, and the provider notification message is + /// dispatched. This state has been deprecated, as accounts now immediately + /// transition to AccountState.ACCOUNT_ACTIVE. + /// - "ACCOUNT_ACTIVE" : The account is active and ready for use. The next + /// possible states are: - Account getting deleted: After the user invokes + /// delete from another API. + core.String? state; + + /// The last update timestamp. + /// + /// Output only. + core.String? updateTime; + + Account({ + this.approvals, + this.createTime, + this.inputProperties, + this.name, + this.provider, + this.state, + this.updateTime, + }); + + Account.fromJson(core.Map json_) + : this( + approvals: json_.containsKey('approvals') + ? (json_['approvals'] as core.List) + .map((value) => Approval.fromJson( + value as core.Map)) + .toList() + : null, + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + inputProperties: json_.containsKey('inputProperties') + ? json_['inputProperties'] as core.Map + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + provider: json_.containsKey('provider') + ? json_['provider'] as core.String + : null, + state: + json_.containsKey('state') ? json_['state'] as core.String : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (approvals != null) 'approvals': approvals!, + if (createTime != null) 'createTime': createTime!, + if (inputProperties != null) 'inputProperties': inputProperties!, + if (name != null) 'name': name!, + if (provider != null) 'provider': provider!, + if (state != null) 'state': state!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// An approval for some action on an account. +class Approval { + /// The name of the approval. + /// + /// Output only. + core.String? name; + + /// An explanation for the state of the approval. + /// + /// Output only. + core.String? reason; + + /// The state of the approval. + /// + /// Output only. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : Sentinel value; do not use. + /// - "PENDING" : The approval is pending response from the provider. The + /// approval state can transition to Account.Approval.State.APPROVED or + /// Account.Approval.State.REJECTED. + /// - "APPROVED" : The approval has been granted by the provider. + /// - "REJECTED" : The approval has been rejected by the provider. A provider + /// may choose to approve a previously rejected approval, so is it possible to + /// transition to Account.Approval.State.APPROVED. + core.String? state; + + /// The last update timestamp of the approval. + /// + /// Optional. + core.String? updateTime; + + Approval({ + this.name, + this.reason, + this.state, + this.updateTime, + }); + + Approval.fromJson(core.Map json_) + : this( + name: json_.containsKey('name') ? json_['name'] as core.String : null, + reason: json_.containsKey('reason') + ? json_['reason'] as core.String + : null, + state: + json_.containsKey('state') ? json_['state'] as core.String : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + if (reason != null) 'reason': reason!, + if (state != null) 'state': state!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// Request message for PartnerProcurementService.ApproveAccount. +class ApproveAccountRequest { + /// The name of the approval being approved. + /// + /// If absent and there is only one approval possible, that approval will be + /// granted. If absent and there are many approvals possible, the request will + /// fail with a 400 Bad Request. Optional. + core.String? approvalName; + + /// Set of properties that should be associated with the account. + /// + /// Optional. + core.Map? properties; + + /// Free form text string explaining the approval reason. + /// + /// Optional. Max allowed length: 256 bytes. Longer strings will be truncated. + core.String? reason; + + ApproveAccountRequest({ + this.approvalName, + this.properties, + this.reason, + }); + + ApproveAccountRequest.fromJson(core.Map json_) + : this( + approvalName: json_.containsKey('approvalName') + ? json_['approvalName'] as core.String + : null, + properties: json_.containsKey('properties') + ? (json_['properties'] as core.Map) + .map( + (key, value) => core.MapEntry( + key, + value as core.String, + ), + ) + : null, + reason: json_.containsKey('reason') + ? json_['reason'] as core.String + : null, + ); + + core.Map toJson() => { + if (approvalName != null) 'approvalName': approvalName!, + if (properties != null) 'properties': properties!, + if (reason != null) 'reason': reason!, + }; +} + +/// Request message for +/// \[PartnerProcurementService.ApproveEntitlementPlanChange\[\]. +class ApproveEntitlementPlanChangeRequest { + /// Name of the pending plan that's being approved. + /// + /// Required. + core.String? pendingPlanName; + + ApproveEntitlementPlanChangeRequest({ + this.pendingPlanName, + }); + + ApproveEntitlementPlanChangeRequest.fromJson(core.Map json_) + : this( + pendingPlanName: json_.containsKey('pendingPlanName') + ? json_['pendingPlanName'] as core.String + : null, + ); + + core.Map toJson() => { + if (pendingPlanName != null) 'pendingPlanName': pendingPlanName!, + }; +} + +/// Request message for \[PartnerProcurementService.ApproveEntitlement\[\]. +class ApproveEntitlementRequest { + /// The resource name of the entitlement that was migrated, with the format + /// `providers/{provider_id}/entitlements/{entitlement_id}`. + /// + /// Should only be sent when resources have been migrated from + /// entitlement_migrated to the new entitlement. Optional. + /// + /// Optional. + core.String? entitlementMigrated; + + /// Set of properties that should be associated with the entitlement. + /// + /// Optional. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) + core.Map? properties; + + ApproveEntitlementRequest({ + this.entitlementMigrated, + this.properties, + }); + + ApproveEntitlementRequest.fromJson(core.Map json_) + : this( + entitlementMigrated: json_.containsKey('entitlementMigrated') + ? json_['entitlementMigrated'] as core.String + : null, + properties: json_.containsKey('properties') + ? (json_['properties'] as core.Map) + .map( + (key, value) => core.MapEntry( + key, + value as core.String, + ), + ) + : null, + ); + + core.Map toJson() => { + if (entitlementMigrated != null) + 'entitlementMigrated': entitlementMigrated!, + if (properties != null) 'properties': properties!, + }; +} + +/// A resource using (consuming) this entitlement. +class Consumer { + /// A project name with format `projects/`. + core.String? project; + + Consumer({ + this.project, + }); + + Consumer.fromJson(core.Map json_) + : this( + project: json_.containsKey('project') + ? json_['project'] as core.String + : null, + ); + + core.Map toJson() => { + if (project != null) 'project': project!, + }; +} + +/// A generic empty message that you can re-use to avoid defining duplicated +/// empty messages in your APIs. +/// +/// A typical example is to use it as the request or the response type of an API +/// method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns +/// (google.protobuf.Empty); } +typedef Empty = $Empty; + +/// Represents a procured product of a customer. +class Entitlement { + /// The resource name of the account that this entitlement is based on, if + /// any. + /// + /// Output only. + core.String? account; + + /// The reason the entitlement was cancelled. + /// + /// If this entitlement wasn't cancelled, this field is empty. Possible values + /// include "unknown", "expired", "user-cancelled", "account-closed", + /// "billing-disabled" (if the customer has manually disabled billing to their + /// resources), "user-aborted", and "migrated" (if the entitlement has + /// migrated across products). Values of this field are subject to change, and + /// we recommend that you don't build your technical integration to rely on + /// these fields. + /// + /// Output only. + core.String? cancellationReason; + + /// The resources using this entitlement, if applicable. + /// + /// Output only. + core.List? consumers; + + /// The creation timestamp. + /// + /// Output only. + core.String? createTime; + + /// The entitlement benefit IDs associated with the purchase. + /// + /// Output only. + core.List? entitlementBenefitIds; + + /// The custom properties that were collected from the user to create this + /// entitlement. + /// + /// Output only. + /// + /// 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.Deprecated( + 'Not supported. Member documentation may have more information.', + ) + core.Map? inputProperties; + + /// Provider-supplied message that is displayed to the end user. + /// + /// Currently this is used to communicate progress and ETA for provisioning. + /// This field can be updated only when a user is waiting for an action from + /// the provider, i.e. entitlement state is + /// EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED or + /// EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL. This field is + /// cleared automatically when the entitlement state changes. + core.String? messageToUser; + + /// The resource name of the entitlement. + /// + /// Entitlement names have the form + /// `providers/{provider_id}/entitlements/{entitlement_id}`. + /// + /// Output only. + core.String? name; + + /// The end time of the new offer. + /// + /// If the offer was created with a term instead of a specified end date, this + /// field is empty. This field is populated even if the entitlement isn't + /// active yet. If there's no upcoming offer, the field is be empty. + /// + /// Output only. + core.String? newOfferEndTime; + + /// The timestamp when the new offer becomes effective. + /// + /// This field is populated even if the entitlement isn't active yet. If + /// there's no upcoming offer, the field is empty. + /// + /// Output only. + core.String? newOfferStartTime; + + /// The name of the offer the entitlement is switching to upon a pending plan + /// change. + /// + /// Only exists if the pending plan change is moving to an offer. This field + /// isn't populated for entitlements which aren't active yet. Format: + /// 'projects/{project}/services/{service}/privateOffers/{offer-id}' OR + /// 'projects/{project}/services/{service}/standardOffers/{offer-id}', + /// depending on whether the offer is private or public. The {service} in the + /// name is the listing service of the offer. It could be either the product + /// service that the offer is referencing, or a generic private offer parent + /// service. We recommend that you don't build your integration to rely on the + /// meaning of this {service} part. + /// + /// Output only. + core.String? newPendingOffer; + + /// The duration of the new offer, in ISO 8601 duration format. + /// + /// This field isn't populated for entitlements which aren't active yet, only + /// for pending offer changes. If the offer was created with a specified end + /// date instead of a duration, this field is empty. + /// + /// Output only. + core.String? newPendingOfferDuration; + + /// The identifier of the pending new plan. + /// + /// Required if the product has plans and the entitlement has a pending plan + /// change. + /// + /// Output only. + core.String? newPendingPlan; + + /// The name of the offer that was procured. + /// + /// Field is empty if order was not made using an offer. Format: + /// 'projects/{project}/services/{service}/privateOffers/{offer-id}' OR + /// 'projects/{project}/services/{service}/standardOffers/{offer-id}', + /// depending on whether the offer is private or public. The {service} in the + /// name is the listing service of the offer. It could be either the product + /// service that the offer is referencing, or a generic private offer parent + /// service. We recommend that you don't build your integration to rely on the + /// meaning of this {service} part. + /// + /// Output only. + core.String? offer; + + /// The offer duration of the current offer in ISO 8601 duration format. + /// + /// Field is empty if entitlement was not made using an offer. If the offer + /// was created with a specified end date instead of a duration, this field is + /// empty. + /// + /// Output only. + core.String? offerDuration; + + /// End time for the Offer association corresponding to this entitlement. + /// + /// The field is only populated if the entitlement is currently associated + /// with an Offer. + /// + /// Output only. + core.String? offerEndTime; + + /// The order ID of this entitlement, without any `orders/` resource name + /// prefix. + /// + /// Output only. + core.String? orderId; + + /// The identifier of the plan that was procured. + /// + /// Required if the product has plans. + /// + /// Output only. + core.String? plan; + + /// The identifier of the entity that was purchased. + /// + /// This may actually represent a product, quote, or offer. We strongly + /// recommend that you use the following more explicit fields: + /// productExternalName, quoteExternalName, or offer. + /// + /// Output only. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) + core.String? product; + + /// The identifier of the product that was procured. + /// + /// Output only. + core.String? productExternalName; + + /// The identifier of the service provider that this entitlement was created + /// against. + /// + /// Each service provider is assigned a unique provider value when they + /// onboard with Cloud Commerce platform. + /// + /// Output only. + core.String? provider; + + /// The identifier of the quote that was used to procure. + /// + /// Empty if the order is not purchased using a quote. + /// + /// Output only. + core.String? quoteExternalName; + + /// The state of the entitlement. + /// + /// Output only. + /// Possible string values are: + /// - "ENTITLEMENT_STATE_UNSPECIFIED" : Default state of the entitlement. It's + /// only set to this value when the entitlement is first created and has not + /// been initialized. + /// - "ENTITLEMENT_ACTIVATION_REQUESTED" : Indicates that the entitlement is + /// being created and the backend has sent a notification to the provider for + /// the activation approval. If the provider approves, then the entitlement + /// will transition to the EntitlementState.ENTITLEMENT_ACTIVE state. + /// Otherwise, the entitlement will be removed. Plan changes are not allowed + /// in this state. Instead the entitlement is cancelled and re-created with a + /// new plan name. + /// - "ENTITLEMENT_ACTIVE" : Indicates that the entitlement is active. The + /// procured item is now usable and any associated billing events will start + /// occurring. Entitlements in this state WILL renew. The analogous state for + /// an unexpired but non-renewing entitlement is + /// ENTITLEMENT_PENDING_CANCELLATION. In this state, the customer can decide + /// to cancel the entitlement, which would change the state to + /// EntitlementState.ENTITLEMENT_PENDING_CANCELLATION, and then + /// EntitlementState.ENTITLEMENT_CANCELLED. The user can also request a change + /// of plan, which will transition the state to + /// EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE, and then back to + /// EntitlementState.ENTITLEMENT_ACTIVE. + /// - "ENTITLEMENT_PENDING_CANCELLATION" : Indicates that the entitlement will + /// expire at the end of its term. This could mean the customer has elected + /// not to renew this entitlement or the customer elected to cancel an + /// entitlement that only expires at term end. The entitlement typically stays + /// in this state if the entitlement/plan allows use of the underlying + /// resource until the end of the current billing cycle. Once the billing + /// cycle completes, the resource will transition to + /// EntitlementState.ENTITLEMENT_CANCELLED state. The resource cannot be + /// modified during this state. + /// - "ENTITLEMENT_CANCELLED" : Indicates that the entitlement was cancelled. + /// The entitlement can now be deleted. + /// - "ENTITLEMENT_PENDING_PLAN_CHANGE" : Indicates that the entitlement is + /// currently active, but there is a pending plan change that is requested by + /// the customer. The entitlement typically stays in this state, if the + /// entitlement/plan requires the completion of the current billing cycle + /// before the plan can be changed. Once the billing cycle completes, the + /// resource will transition to EntitlementState.ENTITLEMENT_ACTIVE, with its + /// plan changed. + /// - "ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL" : Indicates that the + /// entitlement is currently active, but there is a plan change request + /// pending provider approval. If the provider approves the plan change, then + /// the entitlement will transition either to + /// EntitlementState.ENTITLEMENT_ACTIVE or + /// EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE depending on whether + /// current plan requires that the billing cycle completes. If the provider + /// rejects the plan change, then the pending plan change request is removed + /// and the entitlement stays in EntitlementState.ENTITLEMENT_ACTIVE state + /// with the old plan. + /// - "ENTITLEMENT_SUSPENDED" : Indicates that the entitlement is suspended + /// either by Google or provider request. This can be triggered for various + /// external reasons (e.g. expiration of credit card on the billing account, + /// violation of terms-of-service of the provider etc.). As such, any + /// remediating action needs to be taken externally, before the entitlement + /// can be activated. This is not yet supported. + core.String? state; + + /// End time for the subscription corresponding to this entitlement. + /// + /// Output only. + core.String? subscriptionEndTime; + + /// The last update timestamp. + /// + /// Output only. + core.String? updateTime; + + /// The consumerId to use when reporting usage through the Service Control + /// API. + /// + /// See the consumerId field at + /// [Reporting Metrics](https://cloud.google.com/service-control/reporting-metrics) + /// for more details. This field is present only if the product has + /// usage-based billing configured. + /// + /// Output only. + core.String? usageReportingId; + + Entitlement({ + this.account, + this.cancellationReason, + this.consumers, + this.createTime, + this.entitlementBenefitIds, + this.inputProperties, + this.messageToUser, + this.name, + this.newOfferEndTime, + this.newOfferStartTime, + this.newPendingOffer, + this.newPendingOfferDuration, + this.newPendingPlan, + this.offer, + this.offerDuration, + this.offerEndTime, + this.orderId, + this.plan, + this.product, + this.productExternalName, + this.provider, + this.quoteExternalName, + this.state, + this.subscriptionEndTime, + this.updateTime, + this.usageReportingId, + }); + + Entitlement.fromJson(core.Map json_) + : this( + account: json_.containsKey('account') + ? json_['account'] as core.String + : null, + cancellationReason: json_.containsKey('cancellationReason') + ? json_['cancellationReason'] as core.String + : null, + consumers: json_.containsKey('consumers') + ? (json_['consumers'] as core.List) + .map((value) => Consumer.fromJson( + value as core.Map)) + .toList() + : null, + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + entitlementBenefitIds: json_.containsKey('entitlementBenefitIds') + ? (json_['entitlementBenefitIds'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + inputProperties: json_.containsKey('inputProperties') + ? json_['inputProperties'] as core.Map + : null, + messageToUser: json_.containsKey('messageToUser') + ? json_['messageToUser'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + newOfferEndTime: json_.containsKey('newOfferEndTime') + ? json_['newOfferEndTime'] as core.String + : null, + newOfferStartTime: json_.containsKey('newOfferStartTime') + ? json_['newOfferStartTime'] as core.String + : null, + newPendingOffer: json_.containsKey('newPendingOffer') + ? json_['newPendingOffer'] as core.String + : null, + newPendingOfferDuration: json_.containsKey('newPendingOfferDuration') + ? json_['newPendingOfferDuration'] as core.String + : null, + newPendingPlan: json_.containsKey('newPendingPlan') + ? json_['newPendingPlan'] as core.String + : null, + offer: + json_.containsKey('offer') ? json_['offer'] as core.String : null, + offerDuration: json_.containsKey('offerDuration') + ? json_['offerDuration'] as core.String + : null, + offerEndTime: json_.containsKey('offerEndTime') + ? json_['offerEndTime'] as core.String + : null, + orderId: json_.containsKey('orderId') + ? json_['orderId'] as core.String + : null, + plan: json_.containsKey('plan') ? json_['plan'] as core.String : null, + product: json_.containsKey('product') + ? json_['product'] as core.String + : null, + productExternalName: json_.containsKey('productExternalName') + ? json_['productExternalName'] as core.String + : null, + provider: json_.containsKey('provider') + ? json_['provider'] as core.String + : null, + quoteExternalName: json_.containsKey('quoteExternalName') + ? json_['quoteExternalName'] as core.String + : null, + state: + json_.containsKey('state') ? json_['state'] as core.String : null, + subscriptionEndTime: json_.containsKey('subscriptionEndTime') + ? json_['subscriptionEndTime'] as core.String + : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + usageReportingId: json_.containsKey('usageReportingId') + ? json_['usageReportingId'] as core.String + : null, + ); + + core.Map toJson() => { + if (account != null) 'account': account!, + if (cancellationReason != null) + 'cancellationReason': cancellationReason!, + if (consumers != null) 'consumers': consumers!, + if (createTime != null) 'createTime': createTime!, + if (entitlementBenefitIds != null) + 'entitlementBenefitIds': entitlementBenefitIds!, + if (inputProperties != null) 'inputProperties': inputProperties!, + if (messageToUser != null) 'messageToUser': messageToUser!, + if (name != null) 'name': name!, + if (newOfferEndTime != null) 'newOfferEndTime': newOfferEndTime!, + if (newOfferStartTime != null) 'newOfferStartTime': newOfferStartTime!, + if (newPendingOffer != null) 'newPendingOffer': newPendingOffer!, + if (newPendingOfferDuration != null) + 'newPendingOfferDuration': newPendingOfferDuration!, + if (newPendingPlan != null) 'newPendingPlan': newPendingPlan!, + if (offer != null) 'offer': offer!, + if (offerDuration != null) 'offerDuration': offerDuration!, + if (offerEndTime != null) 'offerEndTime': offerEndTime!, + if (orderId != null) 'orderId': orderId!, + if (plan != null) 'plan': plan!, + if (product != null) 'product': product!, + if (productExternalName != null) + 'productExternalName': productExternalName!, + if (provider != null) 'provider': provider!, + if (quoteExternalName != null) 'quoteExternalName': quoteExternalName!, + if (state != null) 'state': state!, + if (subscriptionEndTime != null) + 'subscriptionEndTime': subscriptionEndTime!, + if (updateTime != null) 'updateTime': updateTime!, + if (usageReportingId != null) 'usageReportingId': usageReportingId!, + }; +} + +/// Response message for \[PartnerProcurementService.ListAccounts\[\]. +class ListAccountsResponse { + /// The list of accounts in this response. + core.List? accounts; + + /// The token for fetching the next page. + core.String? nextPageToken; + + ListAccountsResponse({ + this.accounts, + this.nextPageToken, + }); + + ListAccountsResponse.fromJson(core.Map json_) + : this( + accounts: json_.containsKey('accounts') + ? (json_['accounts'] as core.List) + .map((value) => Account.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (accounts != null) 'accounts': accounts!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for PartnerProcurementService.ListEntitlements. +class ListEntitlementsResponse { + /// The list of entitlements in this response. + core.List? entitlements; + + /// The token for fetching the next page. + core.String? nextPageToken; + + ListEntitlementsResponse({ + this.entitlements, + this.nextPageToken, + }); + + ListEntitlementsResponse.fromJson(core.Map json_) + : this( + entitlements: json_.containsKey('entitlements') + ? (json_['entitlements'] as core.List) + .map((value) => Entitlement.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (entitlements != null) 'entitlements': entitlements!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Request message for PartnerProcurementService.RejectAccount. +class RejectAccountRequest { + /// The name of the approval being rejected. + /// + /// If absent and there is only one approval possible, that approval will be + /// rejected. If absent and there are many approvals possible, the request + /// will fail with a 400 Bad Request. Optional. + core.String? approvalName; + + /// Free form text string explaining the rejection reason. + /// + /// Max allowed length: 256 bytes. Longer strings will be truncated. + core.String? reason; + + RejectAccountRequest({ + this.approvalName, + this.reason, + }); + + RejectAccountRequest.fromJson(core.Map json_) + : this( + approvalName: json_.containsKey('approvalName') + ? json_['approvalName'] as core.String + : null, + reason: json_.containsKey('reason') + ? json_['reason'] as core.String + : null, + ); + + core.Map toJson() => { + if (approvalName != null) 'approvalName': approvalName!, + if (reason != null) 'reason': reason!, + }; +} + +/// Request message for PartnerProcurementService.RejectEntitlementPlanChange. +class RejectEntitlementPlanChangeRequest { + /// Name of the pending plan that is being rejected. + /// + /// Required. + core.String? pendingPlanName; + + /// Free form text string explaining the rejection reason. + /// + /// Max allowed length: 256 bytes. Longer strings will be truncated. + core.String? reason; + + RejectEntitlementPlanChangeRequest({ + this.pendingPlanName, + this.reason, + }); + + RejectEntitlementPlanChangeRequest.fromJson(core.Map json_) + : this( + pendingPlanName: json_.containsKey('pendingPlanName') + ? json_['pendingPlanName'] as core.String + : null, + reason: json_.containsKey('reason') + ? json_['reason'] as core.String + : null, + ); + + core.Map toJson() => { + if (pendingPlanName != null) 'pendingPlanName': pendingPlanName!, + if (reason != null) 'reason': reason!, + }; +} + +/// Request message for PartnerProcurementService.RejectEntitlement. +class RejectEntitlementRequest { + /// Free form text string explaining the rejection reason. + /// + /// Max allowed length: 256 bytes. Longer strings will be truncated. + core.String? reason; + + RejectEntitlementRequest({ + this.reason, + }); + + RejectEntitlementRequest.fromJson(core.Map json_) + : this( + reason: json_.containsKey('reason') + ? json_['reason'] as core.String + : null, + ); + + core.Map toJson() => { + if (reason != null) 'reason': reason!, + }; +} + +/// Request message for PartnerProcurementService.ResetAccount. +typedef ResetAccountRequest = $Empty; + +/// Request message for ParterProcurementService.SuspendEntitlement. +/// +/// This is not yet supported. +class SuspendEntitlementRequest { + /// A free-form reason string, explaining the reason for suspension request. + core.String? reason; + + SuspendEntitlementRequest({ + this.reason, + }); + + SuspendEntitlementRequest.fromJson(core.Map json_) + : this( + reason: json_.containsKey('reason') + ? json_['reason'] as core.String + : null, + ); + + core.Map toJson() => { + if (reason != null) 'reason': reason!, + }; +} diff --git a/generated/googleapis/lib/clouddeploy/v1.dart b/generated/googleapis/lib/clouddeploy/v1.dart index a4521e379..bf1b21328 100644 --- a/generated/googleapis/lib/clouddeploy/v1.dart +++ b/generated/googleapis/lib/clouddeploy/v1.dart @@ -3569,11 +3569,6 @@ class AutomationRolloutMetadata { /// Output only. core.List? advanceAutomationRuns; - /// The current AutomationRun repairing the rollout. - /// - /// Output only. - core.String? currentRepairAutomationRun; - /// The name of the AutomationRun initiated by a promote release rule. /// /// Output only. @@ -3586,7 +3581,6 @@ class AutomationRolloutMetadata { AutomationRolloutMetadata({ this.advanceAutomationRuns, - this.currentRepairAutomationRun, this.promoteAutomationRun, this.repairAutomationRuns, }); @@ -3598,10 +3592,6 @@ class AutomationRolloutMetadata { .map((value) => value as core.String) .toList() : null, - currentRepairAutomationRun: - json_.containsKey('currentRepairAutomationRun') - ? json_['currentRepairAutomationRun'] as core.String - : null, promoteAutomationRun: json_.containsKey('promoteAutomationRun') ? json_['promoteAutomationRun'] as core.String : null, @@ -3615,8 +3605,6 @@ class AutomationRolloutMetadata { core.Map toJson() => { if (advanceAutomationRuns != null) 'advanceAutomationRuns': advanceAutomationRuns!, - if (currentRepairAutomationRun != null) - 'currentRepairAutomationRun': currentRepairAutomationRun!, if (promoteAutomationRun != null) 'promoteAutomationRun': promoteAutomationRun!, if (repairAutomationRuns != null) @@ -5477,9 +5465,17 @@ class GkeCluster { /// Optional. core.bool? internalIp; + /// If set, used to configure a + /// [proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy) + /// to the Kubernetes server. + /// + /// Optional. + core.String? proxyUrl; + GkeCluster({ this.cluster, this.internalIp, + this.proxyUrl, }); GkeCluster.fromJson(core.Map json_) @@ -5490,11 +5486,15 @@ class GkeCluster { internalIp: json_.containsKey('internalIp') ? json_['internalIp'] as core.bool : null, + proxyUrl: json_.containsKey('proxyUrl') + ? json_['proxyUrl'] as core.String + : null, ); core.Map toJson() => { if (cluster != null) 'cluster': cluster!, if (internalIp != null) 'internalIp': internalIp!, + if (proxyUrl != null) 'proxyUrl': proxyUrl!, }; } @@ -7638,43 +7638,8 @@ class RenderMetadata { }; } -/// Configuration of the repair action. -class RepairMode { - /// Retries a failed job. - /// - /// Optional. - Retry? retry; - - /// Rolls back a `Rollout`. - /// - /// Optional. - Rollback? rollback; - - RepairMode({ - this.retry, - this.rollback, - }); - - RepairMode.fromJson(core.Map json_) - : this( - retry: json_.containsKey('retry') - ? Retry.fromJson( - json_['retry'] as core.Map) - : null, - rollback: json_.containsKey('rollback') - ? Rollback.fromJson( - json_['rollback'] as core.Map) - : null, - ); - - core.Map toJson() => { - if (retry != null) 'retry': retry!, - if (rollback != null) 'rollback': rollback!, - }; -} - /// RepairPhase tracks the repair attempts that have been made for each -/// `RepairMode` specified in the `Automation` resource. +/// `RepairPhaseConfig` specified in the `Automation` resource. class RepairPhase { /// Records of the retry attempts for retry repair mode. /// @@ -7711,11 +7676,6 @@ class RepairPhase { /// Contains the information for an automated `repair rollout` operation. class RepairRolloutOperation { - /// The index of the current repair action in the repair sequence. - /// - /// Output only. - core.String? currentRepairModeIndex; - /// The job ID for the Job to repair. /// /// Output only. @@ -7740,7 +7700,6 @@ class RepairRolloutOperation { core.String? rollout; RepairRolloutOperation({ - this.currentRepairModeIndex, this.jobId, this.phaseId, this.repairPhases, @@ -7749,9 +7708,6 @@ class RepairRolloutOperation { RepairRolloutOperation.fromJson(core.Map json_) : this( - currentRepairModeIndex: json_.containsKey('currentRepairModeIndex') - ? json_['currentRepairModeIndex'] as core.String - : null, jobId: json_.containsKey('jobId') ? json_['jobId'] as core.String : null, phaseId: json_.containsKey('phaseId') @@ -7769,8 +7725,6 @@ class RepairRolloutOperation { ); core.Map toJson() => { - if (currentRepairModeIndex != null) - 'currentRepairModeIndex': currentRepairModeIndex!, if (jobId != null) 'jobId': jobId!, if (phaseId != null) 'phaseId': phaseId!, if (repairPhases != null) 'repairPhases': repairPhases!, @@ -7807,29 +7761,10 @@ class RepairRolloutRule { /// Optional. core.List? jobs; - /// Defines the types of automatic repair actions for failed jobs. - /// - /// Required. - core.List? repairModes; - - /// Phases within which jobs are subject to automatic repair actions on - /// failure. - /// - /// Proceeds only after phase name matched any one in the list, or for all - /// phases if unspecified. This value must consist of lower-case letters, - /// numbers, and hyphens, start with a letter and end with a letter or a - /// number, and have a max length of 63 characters. In other words, it must - /// match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. - /// - /// Optional. - core.List? sourcePhases; - RepairRolloutRule({ this.condition, this.id, this.jobs, - this.repairModes, - this.sourcePhases, }); RepairRolloutRule.fromJson(core.Map json_) @@ -7844,77 +7779,12 @@ class RepairRolloutRule { .map((value) => value as core.String) .toList() : null, - repairModes: json_.containsKey('repairModes') - ? (json_['repairModes'] as core.List) - .map((value) => RepairMode.fromJson( - value as core.Map)) - .toList() - : null, - sourcePhases: json_.containsKey('sourcePhases') - ? (json_['sourcePhases'] as core.List) - .map((value) => value as core.String) - .toList() - : null, ); core.Map toJson() => { if (condition != null) 'condition': condition!, if (id != null) 'id': id!, if (jobs != null) 'jobs': jobs!, - if (repairModes != null) 'repairModes': repairModes!, - if (sourcePhases != null) 'sourcePhases': sourcePhases!, - }; -} - -/// Retries the failed job. -class Retry { - /// Total number of retries. - /// - /// Retry is skipped if set to 0; The minimum value is 1, and the maximum - /// value is 10. - /// - /// Required. - core.String? attempts; - - /// The pattern of how wait time will be increased. - /// - /// Default is linear. Backoff mode will be ignored if `wait` is 0. - /// - /// Optional. - /// Possible string values are: - /// - "BACKOFF_MODE_UNSPECIFIED" : No WaitMode is specified. - /// - "BACKOFF_MODE_LINEAR" : Increases the wait time linearly. - /// - "BACKOFF_MODE_EXPONENTIAL" : Increases the wait time exponentially. - core.String? backoffMode; - - /// How long to wait for the first retry. - /// - /// Default is 0, and the maximum value is 14d. - /// - /// Optional. - core.String? wait; - - Retry({ - this.attempts, - this.backoffMode, - this.wait, - }); - - Retry.fromJson(core.Map json_) - : this( - attempts: json_.containsKey('attempts') - ? json_['attempts'] as core.String - : null, - backoffMode: json_.containsKey('backoffMode') - ? json_['backoffMode'] as core.String - : null, - wait: json_.containsKey('wait') ? json_['wait'] as core.String : null, - ); - - core.Map toJson() => { - if (attempts != null) 'attempts': attempts!, - if (backoffMode != null) 'backoffMode': backoffMode!, - if (wait != null) 'wait': wait!, }; } @@ -7935,7 +7805,6 @@ class RetryAttempt { /// - "REPAIR_STATE_FAILED" : The `repair` action has failed. /// - "REPAIR_STATE_IN_PROGRESS" : The `repair` action is in progress. /// - "REPAIR_STATE_PENDING" : The `repair` action is pending. - /// - "REPAIR_STATE_SKIPPED" : The `repair` action was skipped. /// - "REPAIR_STATE_ABORTED" : The `repair` action was aborted. core.String? state; @@ -8029,22 +7898,6 @@ class RetryPhase { /// - "BACKOFF_MODE_EXPONENTIAL" : Increases the wait time exponentially. core.String? backoffMode; - /// The job ID for the Job to retry. - /// - /// Output only. - @core.Deprecated( - 'Not supported. Member documentation may have more information.', - ) - core.String? jobId; - - /// The phase ID of the phase that includes the job being retried. - /// - /// Output only. - @core.Deprecated( - 'Not supported. Member documentation may have more information.', - ) - core.String? phaseId; - /// The number of attempts that have been made. /// /// Output only. @@ -8053,8 +7906,6 @@ class RetryPhase { RetryPhase({ this.attempts, this.backoffMode, - this.jobId, - this.phaseId, this.totalAttempts, }); @@ -8069,11 +7920,6 @@ class RetryPhase { backoffMode: json_.containsKey('backoffMode') ? json_['backoffMode'] as core.String : null, - jobId: - json_.containsKey('jobId') ? json_['jobId'] as core.String : null, - phaseId: json_.containsKey('phaseId') - ? json_['phaseId'] as core.String - : null, totalAttempts: json_.containsKey('totalAttempts') ? json_['totalAttempts'] as core.String : null, @@ -8082,37 +7928,10 @@ class RetryPhase { core.Map toJson() => { if (attempts != null) 'attempts': attempts!, if (backoffMode != null) 'backoffMode': backoffMode!, - if (jobId != null) 'jobId': jobId!, - if (phaseId != null) 'phaseId': phaseId!, if (totalAttempts != null) 'totalAttempts': totalAttempts!, }; } -/// Rolls back a `Rollout`. -class Rollback { - /// The starting phase ID for the `Rollout`. - /// - /// If unspecified, the `Rollout` will start in the stable phase. - /// - /// Optional. - core.String? destinationPhase; - - Rollback({ - this.destinationPhase, - }); - - Rollback.fromJson(core.Map json_) - : this( - destinationPhase: json_.containsKey('destinationPhase') - ? json_['destinationPhase'] as core.String - : null, - ); - - core.Map toJson() => { - if (destinationPhase != null) 'destinationPhase': destinationPhase!, - }; -} - /// RollbackAttempt represents an action of rolling back a Cloud Deploy /// 'Target'. class RollbackAttempt { @@ -8136,7 +7955,6 @@ class RollbackAttempt { /// - "REPAIR_STATE_FAILED" : The `repair` action has failed. /// - "REPAIR_STATE_IN_PROGRESS" : The `repair` action is in progress. /// - "REPAIR_STATE_PENDING" : The `repair` action is pending. - /// - "REPAIR_STATE_SKIPPED" : The `repair` action was skipped. /// - "REPAIR_STATE_ABORTED" : The `repair` action was aborted. core.String? state; diff --git a/generated/googleapis/lib/cloudidentity/v1.dart b/generated/googleapis/lib/cloudidentity/v1.dart index e59064c04..11a6a9068 100644 --- a/generated/googleapis/lib/cloudidentity/v1.dart +++ b/generated/googleapis/lib/cloudidentity/v1.dart @@ -2422,6 +2422,11 @@ class InboundSamlSsoProfilesResource { /// Creates an InboundSamlSsoProfile for a customer. /// + /// When the target customer has enabled \[Multi-party approval for sensitive + /// actions\](https://support.google.com/a/answer/13790448), the `Operation` + /// in the response will have `"done": false`, it will not have a response, + /// and the metadata will have `"state": "awaiting-multi-party-approval"`. + /// /// [request] - The metadata request object. /// /// Request parameters: @@ -2593,6 +2598,11 @@ class InboundSamlSsoProfilesResource { /// Updates an InboundSamlSsoProfile. /// + /// When the target customer has enabled \[Multi-party approval for sensitive + /// actions\](https://support.google.com/a/answer/13790448), the `Operation` + /// in the response will have `"done": false`, it will not have a response, + /// and the metadata will have `"state": "awaiting-multi-party-approval"`. + /// /// [request] - The metadata request object. /// /// Request parameters: @@ -2646,7 +2656,11 @@ class InboundSamlSsoProfilesIdpCredentialsResource { /// Adds an IdpCredential. /// - /// Up to 2 credentials are allowed. + /// Up to 2 credentials are allowed. When the target customer has enabled + /// \[Multi-party approval for sensitive + /// actions\](https://support.google.com/a/answer/13790448), the `Operation` + /// in the response will have `"done": false`, it will not have a response, + /// and the metadata will have `"state": "awaiting-multi-party-approval"`. /// /// [request] - The metadata request object. /// diff --git a/generated/googleapis/lib/cloudsearch/v1.dart b/generated/googleapis/lib/cloudsearch/v1.dart index e44c2865d..010110de4 100644 --- a/generated/googleapis/lib/cloudsearch/v1.dart +++ b/generated/googleapis/lib/cloudsearch/v1.dart @@ -1303,6 +1303,50 @@ class QueryResource { QueryResource(commons.ApiRequester client) : _requester = client; + /// Returns Debug information for Cloud Search Query API provides the search + /// method. + /// + /// **Note:** This API requires a standard end user account to execute. A + /// service account can't perform Query API requests directly; to use a + /// service account to perform queries, set up \[Google Workspace domain-wide + /// delegation of + /// authority\](https://developers.google.com/cloud-search/docs/guides/delegation/). + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [DebugResponse]. + /// + /// 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 debugSearch( + SearchRequest request, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1/query:debugSearch'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return DebugResponse.fromJson( + response_ as core.Map); + } + /// Provides functionality to remove logged activity for a user. /// /// Currently to be used only for Chat 1p clients **Note:** This API requires @@ -3721,6 +3765,58 @@ class DebugOptions { }; } +/// Debug Search Response. +class DebugResponse { + /// Serialized string of GenericSearchRequest. + core.String? gsrRequest; + core.List get gsrRequestAsBytes => + convert.base64.decode(gsrRequest!); + + set gsrRequestAsBytes(core.List bytes_) { + gsrRequest = + convert.base64.encode(bytes_).replaceAll('/', '_').replaceAll('+', '-'); + } + + /// Serialized string of GenericSearchResponse. + core.String? gsrResponse; + core.List get gsrResponseAsBytes => + convert.base64.decode(gsrResponse!); + + set gsrResponseAsBytes(core.List bytes_) { + gsrResponse = + convert.base64.encode(bytes_).replaceAll('/', '_').replaceAll('+', '-'); + } + + /// Search response. + SearchResponse? searchResponse; + + DebugResponse({ + this.gsrRequest, + this.gsrResponse, + this.searchResponse, + }); + + DebugResponse.fromJson(core.Map json_) + : this( + gsrRequest: json_.containsKey('gsrRequest') + ? json_['gsrRequest'] as core.String + : null, + gsrResponse: json_.containsKey('gsrResponse') + ? json_['gsrResponse'] as core.String + : null, + searchResponse: json_.containsKey('searchResponse') + ? SearchResponse.fromJson(json_['searchResponse'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (gsrRequest != null) 'gsrRequest': gsrRequest!, + if (gsrResponse != null) 'gsrResponse': gsrResponse!, + if (searchResponse != null) 'searchResponse': searchResponse!, + }; +} + class DeleteQueueItemsRequest { /// The name of connector making this call. /// @@ -3840,7 +3936,7 @@ class DoublePropertyOptions { } /// List of double values. -typedef DoubleValues = $Shared06; +typedef DoubleValues = $Shared05; /// A person's email address. class EmailAddress { @@ -5094,7 +5190,7 @@ class IntegerPropertyOptions { } /// List of integer values. -typedef IntegerValues = $Shared07; +typedef IntegerValues = $Shared06; /// Represents an interaction between a user and an item. class Interaction { diff --git a/generated/googleapis/lib/compute/v1.dart b/generated/googleapis/lib/compute/v1.dart index f306910ac..af3bd961e 100644 --- a/generated/googleapis/lib/compute/v1.dart +++ b/generated/googleapis/lib/compute/v1.dart @@ -59285,6 +59285,14 @@ class AdvancedMachineFeatures { /// Whether to enable UEFI networking for instance creation. core.bool? enableUefiNetworking; + /// Type of Performance Monitoring Unit requested on instance. + /// Possible string values are: + /// - "ARCHITECTURAL" : Architecturally defined non-LLC events. + /// - "ENHANCED" : Most documented core/L2 and LLC events. + /// - "PERFORMANCE_MONITORING_UNIT_UNSPECIFIED" + /// - "STANDARD" : Most documented core/L2 events. + core.String? performanceMonitoringUnit; + /// The number of threads per physical core. /// /// To disable simultaneous multithreading (SMT) set this to 1. If unset, the @@ -59303,6 +59311,7 @@ class AdvancedMachineFeatures { AdvancedMachineFeatures({ this.enableNestedVirtualization, this.enableUefiNetworking, + this.performanceMonitoringUnit, this.threadsPerCore, this.visibleCoreCount, }); @@ -59316,6 +59325,10 @@ class AdvancedMachineFeatures { enableUefiNetworking: json_.containsKey('enableUefiNetworking') ? json_['enableUefiNetworking'] as core.bool : null, + performanceMonitoringUnit: + json_.containsKey('performanceMonitoringUnit') + ? json_['performanceMonitoringUnit'] as core.String + : null, threadsPerCore: json_.containsKey('threadsPerCore') ? json_['threadsPerCore'] as core.int : null, @@ -59329,6 +59342,8 @@ class AdvancedMachineFeatures { 'enableNestedVirtualization': enableNestedVirtualization!, if (enableUefiNetworking != null) 'enableUefiNetworking': enableUefiNetworking!, + if (performanceMonitoringUnit != null) + 'performanceMonitoringUnit': performanceMonitoringUnit!, if (threadsPerCore != null) 'threadsPerCore': threadsPerCore!, if (visibleCoreCount != null) 'visibleCoreCount': visibleCoreCount!, }; @@ -66866,15 +66881,28 @@ class Condition { /// A set of Confidential Instance options. class ConfidentialInstanceConfig { + /// Defines the type of technology used by the confidential instance. + /// Possible string values are: + /// - "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED" : No type specified. Do not use + /// this value. + /// - "SEV" : AMD Secure Encrypted Virtualization. + /// - "SEV_SNP" : AMD Secure Encrypted Virtualization - Secure Nested Paging. + core.String? confidentialInstanceType; + /// Defines whether the instance should have confidential compute enabled. core.bool? enableConfidentialCompute; ConfidentialInstanceConfig({ + this.confidentialInstanceType, this.enableConfidentialCompute, }); ConfidentialInstanceConfig.fromJson(core.Map json_) : this( + confidentialInstanceType: + json_.containsKey('confidentialInstanceType') + ? json_['confidentialInstanceType'] as core.String + : null, enableConfidentialCompute: json_.containsKey('enableConfidentialCompute') ? json_['enableConfidentialCompute'] as core.bool @@ -66882,6 +66910,8 @@ class ConfidentialInstanceConfig { ); core.Map toJson() => { + if (confidentialInstanceType != null) + 'confidentialInstanceType': confidentialInstanceType!, if (enableConfidentialCompute != null) 'enableConfidentialCompute': enableConfidentialCompute!, }; @@ -86057,7 +86087,7 @@ class InstancesSetSecurityPolicyRequest { }; } -typedef InstancesSetServiceAccountRequest = $Shared08; +typedef InstancesSetServiceAccountRequest = $Shared07; class InstancesStartWithEncryptionKeyRequest { /// Array of disks associated with this instance that are protected with a @@ -115429,6 +115459,12 @@ class Scheduling { /// This field is for use by internal tools that use the public API. core.String? locationHint; + /// Specifies the max run duration for the given instance. + /// + /// If specified, the instance termination action will be performed at the end + /// of the run duration. + Duration? maxRunDuration; + /// The minimum number of virtual CPUs this instance will consume when running /// on a sole-tenant node. core.int? minNodeCpus; @@ -115453,6 +115489,7 @@ class Scheduling { /// instance may be restarted more than once, and it may be restarted outside /// the window of maintenance events. core.String? onHostMaintenance; + SchedulingOnInstanceStopAction? onInstanceStopAction; /// Defines whether the instance is preemptible. /// @@ -115468,16 +115505,26 @@ class Scheduling { /// discounts. core.String? provisioningModel; + /// Specifies the timestamp, when the instance will be terminated, in RFC3339 + /// text format. + /// + /// If specified, the instance termination action will be performed at the + /// termination time. + core.String? terminationTime; + Scheduling({ this.automaticRestart, this.instanceTerminationAction, this.localSsdRecoveryTimeout, this.locationHint, + this.maxRunDuration, this.minNodeCpus, this.nodeAffinities, this.onHostMaintenance, + this.onInstanceStopAction, this.preemptible, this.provisioningModel, + this.terminationTime, }); Scheduling.fromJson(core.Map json_) @@ -115496,6 +115543,10 @@ class Scheduling { locationHint: json_.containsKey('locationHint') ? json_['locationHint'] as core.String : null, + maxRunDuration: json_.containsKey('maxRunDuration') + ? Duration.fromJson(json_['maxRunDuration'] + as core.Map) + : null, minNodeCpus: json_.containsKey('minNodeCpus') ? json_['minNodeCpus'] as core.int : null, @@ -115508,12 +115559,20 @@ class Scheduling { onHostMaintenance: json_.containsKey('onHostMaintenance') ? json_['onHostMaintenance'] as core.String : null, + onInstanceStopAction: json_.containsKey('onInstanceStopAction') + ? SchedulingOnInstanceStopAction.fromJson( + json_['onInstanceStopAction'] + as core.Map) + : null, preemptible: json_.containsKey('preemptible') ? json_['preemptible'] as core.bool : null, provisioningModel: json_.containsKey('provisioningModel') ? json_['provisioningModel'] as core.String : null, + terminationTime: json_.containsKey('terminationTime') + ? json_['terminationTime'] as core.String + : null, ); core.Map toJson() => { @@ -115523,11 +115582,15 @@ class Scheduling { if (localSsdRecoveryTimeout != null) 'localSsdRecoveryTimeout': localSsdRecoveryTimeout!, if (locationHint != null) 'locationHint': locationHint!, + if (maxRunDuration != null) 'maxRunDuration': maxRunDuration!, if (minNodeCpus != null) 'minNodeCpus': minNodeCpus!, if (nodeAffinities != null) 'nodeAffinities': nodeAffinities!, if (onHostMaintenance != null) 'onHostMaintenance': onHostMaintenance!, + if (onInstanceStopAction != null) + 'onInstanceStopAction': onInstanceStopAction!, if (preemptible != null) 'preemptible': preemptible!, if (provisioningModel != null) 'provisioningModel': provisioningModel!, + if (terminationTime != null) 'terminationTime': terminationTime!, }; } @@ -115575,6 +115638,30 @@ class SchedulingNodeAffinity { }; } +/// Defines the behaviour for instances with the instance_termination_action +/// STOP. +class SchedulingOnInstanceStopAction { + /// If true, the contents of any attached Local SSD disks will be discarded + /// else, the Local SSD data will be preserved when the instance is stopped at + /// the end of the run duration/termination time. + core.bool? discardLocalSsd; + + SchedulingOnInstanceStopAction({ + this.discardLocalSsd, + }); + + SchedulingOnInstanceStopAction.fromJson(core.Map json_) + : this( + discardLocalSsd: json_.containsKey('discardLocalSsd') + ? json_['discardLocalSsd'] as core.bool + : null, + ); + + core.Map toJson() => { + if (discardLocalSsd != null) 'discardLocalSsd': discardLocalSsd!, + }; +} + /// An instance's screenshot. class Screenshot { /// The Base64-encoded screenshot data. @@ -118028,7 +118115,7 @@ class ServerBinding { } /// A service account. -typedef ServiceAccount = $Shared08; +typedef ServiceAccount = $Shared07; /// Represents a ServiceAttachment resource. /// @@ -136354,7 +136441,10 @@ class WeightedBackendService { /// The selection of a backend service is determined only for new traffic. /// Once a user's request has been directed to a backend service, subsequent /// requests are sent to the same backend service as determined by the backend - /// service's session affinity policy. The value must be from 0 to 1000. + /// service's session affinity policy. Don't configure session affinity if + /// you're using weighted traffic splitting. If you do, the weighted traffic + /// splitting configuration takes precedence. The value must be from 0 to + /// 1000. core.int? weight; WeightedBackendService({ diff --git a/generated/googleapis/lib/connectors/v1.dart b/generated/googleapis/lib/connectors/v1.dart index a0df390e9..dad0166fb 100644 --- a/generated/googleapis/lib/connectors/v1.dart +++ b/generated/googleapis/lib/connectors/v1.dart @@ -3882,6 +3882,12 @@ class ConfigVariableTemplate { /// - "PATH_PARAM" : Request path param. core.String? locationType; + /// MultipleSelectConfig represents the multiple options for a config + /// variable. + /// + /// Optional. + MultipleSelectConfig? multipleSelectConfig; + /// Flag represents that this `ConfigVariable` must be provided for a /// connection. core.bool? required; @@ -3917,6 +3923,7 @@ class ConfigVariableTemplate { /// - "ENUM" : Value type is enum. /// - "AUTHORIZATION_CODE" : Value type is authorization code. /// - "ENCRYPTION_KEY" : Encryption Key. + /// - "MULTIPLE_SELECT" : Value type is multiple select. core.String? valueType; ConfigVariableTemplate({ @@ -3928,6 +3935,7 @@ class ConfigVariableTemplate { this.isAdvanced, this.key, this.locationType, + this.multipleSelectConfig, this.required, this.requiredCondition, this.roleGrant, @@ -3964,6 +3972,10 @@ class ConfigVariableTemplate { locationType: json_.containsKey('locationType') ? json_['locationType'] as core.String : null, + multipleSelectConfig: json_.containsKey('multipleSelectConfig') + ? MultipleSelectConfig.fromJson(json_['multipleSelectConfig'] + as core.Map) + : null, required: json_.containsKey('required') ? json_['required'] as core.bool : null, @@ -3995,6 +4007,8 @@ class ConfigVariableTemplate { if (isAdvanced != null) 'isAdvanced': isAdvanced!, if (key != null) 'key': key!, if (locationType != null) 'locationType': locationType!, + if (multipleSelectConfig != null) + 'multipleSelectConfig': multipleSelectConfig!, if (required != null) 'required': required!, if (requiredCondition != null) 'requiredCondition': requiredCondition!, if (roleGrant != null) 'roleGrant': roleGrant!, @@ -4468,6 +4482,11 @@ typedef ConnectionStatus = $ConnectionStatus; /// Connectors indicates a specific connector type, e.x. Salesforce, SAP etc. class Connector { + /// Category of the connector. + /// + /// Output only. + core.String? category; + /// Created time. /// /// Output only. @@ -4528,6 +4547,11 @@ class Connector { /// Output only. core.String? name; + /// Tags of the connector. + /// + /// Output only. + core.List? tags; + /// Updated time. /// /// Output only. @@ -4539,6 +4563,7 @@ class Connector { core.String? webAssetsLocation; Connector({ + this.category, this.createTime, this.description, this.displayName, @@ -4548,12 +4573,16 @@ class Connector { this.labels, this.launchStage, this.name, + this.tags, this.updateTime, this.webAssetsLocation, }); Connector.fromJson(core.Map json_) : this( + category: json_.containsKey('category') + ? json_['category'] as core.String + : null, createTime: json_.containsKey('createTime') ? json_['createTime'] as core.String : null, @@ -4585,6 +4614,11 @@ class Connector { ? json_['launchStage'] as core.String : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, + tags: json_.containsKey('tags') + ? (json_['tags'] as core.List) + .map((value) => value as core.String) + .toList() + : null, updateTime: json_.containsKey('updateTime') ? json_['updateTime'] as core.String : null, @@ -4594,6 +4628,7 @@ class Connector { ); core.Map toJson() => { + if (category != null) 'category': category!, if (createTime != null) 'createTime': createTime!, if (description != null) 'description': description!, if (displayName != null) 'displayName': displayName!, @@ -4603,6 +4638,7 @@ class Connector { if (labels != null) 'labels': labels!, if (launchStage != null) 'launchStage': launchStage!, if (name != null) 'name': name!, + if (tags != null) 'tags': tags!, if (updateTime != null) 'updateTime': updateTime!, if (webAssetsLocation != null) 'webAssetsLocation': webAssetsLocation!, }; @@ -7885,6 +7921,104 @@ class ManagedZone { }; } +/// MultipleSelectConfig represents the multiple options for a config variable. +class MultipleSelectConfig { + /// Allow custom values. + /// + /// Optional. + core.bool? allowCustomValues; + + /// Multiple select options. + /// + /// Required. + core.List? multipleSelectOptions; + + /// Value separator. + /// + /// Required. + core.String? valueSeparator; + + MultipleSelectConfig({ + this.allowCustomValues, + this.multipleSelectOptions, + this.valueSeparator, + }); + + MultipleSelectConfig.fromJson(core.Map json_) + : this( + allowCustomValues: json_.containsKey('allowCustomValues') + ? json_['allowCustomValues'] as core.bool + : null, + multipleSelectOptions: json_.containsKey('multipleSelectOptions') + ? (json_['multipleSelectOptions'] as core.List) + .map((value) => MultipleSelectOption.fromJson( + value as core.Map)) + .toList() + : null, + valueSeparator: json_.containsKey('valueSeparator') + ? json_['valueSeparator'] as core.String + : null, + ); + + core.Map toJson() => { + if (allowCustomValues != null) 'allowCustomValues': allowCustomValues!, + if (multipleSelectOptions != null) + 'multipleSelectOptions': multipleSelectOptions!, + if (valueSeparator != null) 'valueSeparator': valueSeparator!, + }; +} + +/// MultiplSelecteOption represents the single option for a config variable. +class MultipleSelectOption { + /// Value of the option. + /// + /// Optional. + core.String? description; + + /// Display name of the option. + /// + /// Required. + core.String? displayName; + + /// Key of the option. + /// + /// Required. + core.String? key; + + /// Indicates if the option is preselected. + /// + /// Optional. + core.bool? preselected; + + MultipleSelectOption({ + this.description, + this.displayName, + this.key, + this.preselected, + }); + + MultipleSelectOption.fromJson(core.Map json_) + : this( + description: json_.containsKey('description') + ? json_['description'] as core.String + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + key: json_.containsKey('key') ? json_['key'] as core.String : null, + preselected: json_.containsKey('preselected') + ? json_['preselected'] as core.bool + : null, + ); + + core.Map toJson() => { + if (description != null) 'description': description!, + if (displayName != null) 'displayName': displayName!, + if (key != null) 'key': key!, + if (preselected != null) 'preselected': preselected!, + }; +} + /// Regional Network Config. class NetworkConfig { /// Egress IPs diff --git a/generated/googleapis/lib/connectors/v2.dart b/generated/googleapis/lib/connectors/v2.dart index 3ecf66129..4a1127e67 100644 --- a/generated/googleapis/lib/connectors/v2.dart +++ b/generated/googleapis/lib/connectors/v2.dart @@ -27,6 +27,7 @@ /// - [ProjectsLocationsConnectionsActionsResource] /// - [ProjectsLocationsConnectionsEntityTypesResource] /// - [ProjectsLocationsConnectionsEntityTypesEntitiesResource] +/// - [ProjectsLocationsConnectionsEntityTypesEntitieswithaclsResource] library; import 'dart:async' as async; @@ -460,6 +461,10 @@ class ProjectsLocationsConnectionsEntityTypesResource { ProjectsLocationsConnectionsEntityTypesEntitiesResource get entities => ProjectsLocationsConnectionsEntityTypesEntitiesResource(_requester); + ProjectsLocationsConnectionsEntityTypesEntitieswithaclsResource + get entitieswithacls => + ProjectsLocationsConnectionsEntityTypesEntitieswithaclsResource( + _requester); ProjectsLocationsConnectionsEntityTypesResource(commons.ApiRequester client) : _requester = client; @@ -915,6 +920,73 @@ class ProjectsLocationsConnectionsEntityTypesEntitiesResource { } } +class ProjectsLocationsConnectionsEntityTypesEntitieswithaclsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsConnectionsEntityTypesEntitieswithaclsResource( + commons.ApiRequester client) + : _requester = client; + + /// Lists entity rows with ACLs of a particular entity type contained in the + /// request. + /// + /// Note: 1. Currently, only max of one 'sort_by' column is supported. 2. If + /// no 'sort_by' column is provided, the primary key of the table is used. If + /// zero or more than one primary key is available, we default to the + /// unpaginated list entities logic which only returns the first page. 3. The + /// values of the 'sort_by' columns must uniquely identify an entity row, + /// otherwise undefined behaviors may be observed during pagination. 4. Since + /// transactions are not supported, any updates, inserts or deletes during + /// pagination can lead to stale data being returned or other unexpected + /// behaviors. + /// + /// Request parameters: + /// + /// [parent] - Required. Resource name of the Entity Type. Format: + /// projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/connections/\[^/\]+/entityTypes/\[^/\]+$`. + /// + /// [conditions] - Conditions to be used when listing entities. From a proto + /// standpoint, There are no restrictions on what can be passed using this + /// field. The connector documentation should have information about what + /// format of filters/conditions are supported. + /// + /// [gsutilUri] - Format: gs://object_path + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// 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 list( + core.String parent, { + core.String? conditions, + core.String? gsutilUri, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (conditions != null) 'conditions': [conditions], + if (gsutilUri != null) 'gsutilUri': [gsutilUri], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v2/' + core.Uri.encodeFull('$parent') + '/entitieswithacls'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map); + } +} + /// AccessCredentials includes the OAuth access token, and the other fields /// returned along with it. class AccessCredentials { @@ -1877,6 +1949,82 @@ class ListEntityTypesResponse { }; } +/// This resource represents a long-running operation that is the result of a +/// network API call. +class Operation { + /// If the value is `false`, it means the operation is still in progress. + /// + /// If `true`, the operation is completed, and either `error` or `response` is + /// available. + core.bool? done; + + /// The error result of the operation in case of failure or cancellation. + Status? error; + + /// Service-specific metadata associated with the operation. + /// + /// It typically contains progress information and common metadata such as + /// create time. Some services might not provide such metadata. Any method + /// that returns a long-running operation should document the metadata type, + /// if any. + /// + /// 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? metadata; + + /// The server-assigned name, which is only unique within the same service + /// that originally returns it. + /// + /// If you use the default HTTP mapping, the `name` should be a resource name + /// ending with `operations/{unique_id}`. + core.String? name; + + /// The normal, successful response of the operation. + /// + /// If the original method returns no data on success, such as `Delete`, the + /// response is `google.protobuf.Empty`. If the original method is standard + /// `Get`/`Create`/`Update`, the response should be the resource. For other + /// methods, the response should have the type `XxxResponse`, where `Xxx` is + /// the original method name. For example, if the original method name is + /// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. + /// + /// 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? response; + + Operation({ + this.done, + this.error, + this.metadata, + this.name, + this.response, + }); + + Operation.fromJson(core.Map json_) + : this( + done: json_.containsKey('done') ? json_['done'] as core.bool : null, + error: json_.containsKey('error') + ? Status.fromJson( + json_['error'] as core.Map) + : null, + metadata: json_.containsKey('metadata') + ? json_['metadata'] as core.Map + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + response: json_.containsKey('response') + ? json_['response'] as core.Map + : null, + ); + + core.Map toJson() => { + if (done != null) 'done': done!, + if (error != null) 'error': error!, + if (metadata != null) 'metadata': metadata!, + if (name != null) 'name': name!, + if (response != null) 'response': response!, + }; +} + /// A wrapper around the SQL query statement. /// /// This is needed so that the JSON representation of ExecuteSqlQueryRequest has @@ -2147,6 +2295,15 @@ class ResultMetadata { }; } +/// The `Status` type defines a logical error model that is suitable for +/// different programming environments, including REST APIs and RPC APIs. +/// +/// It is used by [gRPC](https://github.com/grpc). Each `Status` message +/// contains three pieces of data: error code, error message, and error details. +/// You can find out more about this error model and how to work with it in the +/// [API Design Guide](https://cloud.google.com/apis/design/errors). +typedef Status = $Status; + /// Response message for EntityService.UpdateEntitiesWithConditions class UpdateEntitiesWithConditionsResponse { /// Response returned by the external system. diff --git a/generated/googleapis/lib/contactcenterinsights/v1.dart b/generated/googleapis/lib/contactcenterinsights/v1.dart index 62a5bb7c0..cf09e049e 100644 --- a/generated/googleapis/lib/contactcenterinsights/v1.dart +++ b/generated/googleapis/lib/contactcenterinsights/v1.dart @@ -312,8 +312,8 @@ class ProjectsLocationsConversationsResource { /// Creates a conversation. /// - /// DEPRECATED: Use UploadConversation instead. CreateConversation does not - /// support audio transcription or DLP redaction. + /// Does not support audio transcription or DLP redaction. Use + /// `conversations.upload` instead. /// /// [request] - The metadata request object. /// @@ -514,8 +514,8 @@ class ProjectsLocationsConversationsResource { /// time. Supported values are one of the following: * create_time * /// customer_satisfaction_rating * duration * latest_analysis * start_time * /// turn_count The default sort order is ascending. To specify order, append - /// `asc` or `desc`, i.e. `create_time desc`. See - /// https://google.aip.dev/132#ordering for more details. + /// `asc` or `desc` (`create_time desc`). For more details, see + /// [Google AIPs Ordering](https://google.aip.dev/132#ordering). /// /// [pageSize] - The maximum number of conversations to return in the /// response. A valid page size ranges from 0 to 1,000 inclusive. If the page @@ -629,9 +629,9 @@ class ProjectsLocationsConversationsResource { response_ as core.Map); } - /// Create a longrunning conversation upload operation. + /// Create a long-running conversation upload operation. /// - /// This method differs from CreateConversation by allowing audio + /// This method differs from `CreateConversation` by allowing audio /// transcription and optional DLP redaction. /// /// [request] - The metadata request object. @@ -1085,7 +1085,7 @@ class ProjectsLocationsIssueModelsResource { /// /// Request parameters: /// - /// [name] - Required. The issue model to export + /// [name] - Required. The issue model to export. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/issueModels/\[^/\]+$`. /// @@ -2084,309 +2084,6 @@ class ProjectsLocationsViewsResource { } } -/// Agent Coaching instructions that customer can configure. -class GoogleCloudContactcenterinsightsV1AgentCoachingInstruction { - /// The action that human agent should take. - /// - /// For example, "apologize for the slow shipping". If the users only want to - /// use agent coaching for intent detection, agent_action can be empty - /// - /// Optional. - core.String? agentAction; - - /// The condition of the instruction. - /// - /// For example, "the customer wants to cancel an order". If the users want - /// the instruction to be triggered unconditionally, the condition can be - /// empty. - /// - /// Optional. - core.String? condition; - - /// The detailed description of this instruction. - /// - /// Optional. - core.String? description; - - /// Display name for the instruction. - /// - /// Optional. - core.String? displayName; - - /// Additional information attached to this instruction. - /// - /// Optional. - core.Map? metadata; - - /// The action that system should take. - /// - /// For example, "call GetOrderTime with order_number={order number provided - /// by the customer}". If the users don't have plugins or don't want to - /// trigger plugins, the system_action can be empty - /// - /// Optional. - core.String? systemAction; - - GoogleCloudContactcenterinsightsV1AgentCoachingInstruction({ - this.agentAction, - this.condition, - this.description, - this.displayName, - this.metadata, - this.systemAction, - }); - - GoogleCloudContactcenterinsightsV1AgentCoachingInstruction.fromJson( - core.Map json_) - : this( - agentAction: json_.containsKey('agentAction') - ? json_['agentAction'] as core.String - : null, - condition: json_.containsKey('condition') - ? json_['condition'] as core.String - : null, - description: json_.containsKey('description') - ? json_['description'] as core.String - : null, - displayName: json_.containsKey('displayName') - ? json_['displayName'] as core.String - : null, - metadata: json_.containsKey('metadata') - ? (json_['metadata'] as core.Map).map( - (key, value) => core.MapEntry( - key, - value as core.String, - ), - ) - : null, - systemAction: json_.containsKey('systemAction') - ? json_['systemAction'] as core.String - : null, - ); - - core.Map toJson() => { - if (agentAction != null) 'agentAction': agentAction!, - if (condition != null) 'condition': condition!, - if (description != null) 'description': description!, - if (displayName != null) 'displayName': displayName!, - if (metadata != null) 'metadata': metadata!, - if (systemAction != null) 'systemAction': systemAction!, - }; -} - -/// Suggestion for coaching agents. -class GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion { - /// Suggested actions for the agent to take. - /// - /// Optional. - core.List< - GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion>? - agentActionSuggestions; - - /// Instructions applicable based on the current context. - /// - /// Optional. - core.List? - applicableInstructions; - - /// Sample response for the Agent. - /// - /// Optional. - core.List< - GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse>? - sampleResponses; - - /// Self evaluation of the suggestion. - GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval? - suggestionEval; - - /// Reasoning for the suggestion. - GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning? - suggestionReasoning; - - GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion({ - this.agentActionSuggestions, - this.applicableInstructions, - this.sampleResponses, - this.suggestionEval, - this.suggestionReasoning, - }); - - GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion.fromJson( - core.Map json_) - : this( - agentActionSuggestions: json_.containsKey('agentActionSuggestions') - ? (json_['agentActionSuggestions'] as core.List) - .map((value) => - GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion - .fromJson( - value as core.Map)) - .toList() - : null, - applicableInstructions: json_.containsKey('applicableInstructions') - ? (json_['applicableInstructions'] as core.List) - .map((value) => - GoogleCloudContactcenterinsightsV1AgentCoachingInstruction - .fromJson( - value as core.Map)) - .toList() - : null, - sampleResponses: json_.containsKey('sampleResponses') - ? (json_['sampleResponses'] as core.List) - .map((value) => - GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse - .fromJson( - value as core.Map)) - .toList() - : null, - suggestionEval: json_.containsKey('suggestionEval') - ? GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval - .fromJson(json_['suggestionEval'] - as core.Map) - : null, - suggestionReasoning: json_.containsKey('suggestionReasoning') - ? GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning - .fromJson(json_['suggestionReasoning'] - as core.Map) - : null, - ); - - core.Map toJson() => { - if (agentActionSuggestions != null) - 'agentActionSuggestions': agentActionSuggestions!, - if (applicableInstructions != null) - 'applicableInstructions': applicableInstructions!, - if (sampleResponses != null) 'sampleResponses': sampleResponses!, - if (suggestionEval != null) 'suggestionEval': suggestionEval!, - if (suggestionReasoning != null) - 'suggestionReasoning': suggestionReasoning!, - }; -} - -/// Actions suggested for the agent. -/// -/// This is based on applicable instructions. -class GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion { - /// The suggested action for the agent. - /// - /// Optional. - core.String? agentAction; - - GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion({ - this.agentAction, - }); - - GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion.fromJson( - core.Map json_) - : this( - agentAction: json_.containsKey('agentAction') - ? json_['agentAction'] as core.String - : null, - ); - - core.Map toJson() => { - if (agentAction != null) 'agentAction': agentAction!, - }; -} - -/// Self evaluations of the suggestion. -class GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval { - /// Eval for Agent action suggestion. - /// - /// Optional. - core.String? actionActionSuggestionEval; - - /// Eval for sample response. - /// - /// Optional. - core.String? sampleResponseEval; - - GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval({ - this.actionActionSuggestionEval, - this.sampleResponseEval, - }); - - GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval.fromJson( - core.Map json_) - : this( - actionActionSuggestionEval: - json_.containsKey('actionActionSuggestionEval') - ? json_['actionActionSuggestionEval'] as core.String - : null, - sampleResponseEval: json_.containsKey('sampleResponseEval') - ? json_['sampleResponseEval'] as core.String - : null, - ); - - core.Map toJson() => { - if (actionActionSuggestionEval != null) - 'actionActionSuggestionEval': actionActionSuggestionEval!, - if (sampleResponseEval != null) - 'sampleResponseEval': sampleResponseEval!, - }; -} - -/// Reasoning for the suggestion. -class GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning { - /// The actions that the agent has taken already. - /// - /// Optional. - core.String? agentActionTaken; - - /// Summary of the issue. - /// - /// Optional. - core.String? issueSummary; - - GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning({ - this.agentActionTaken, - this.issueSummary, - }); - - GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning.fromJson( - core.Map json_) - : this( - agentActionTaken: json_.containsKey('agentActionTaken') - ? json_['agentActionTaken'] as core.String - : null, - issueSummary: json_.containsKey('issueSummary') - ? json_['issueSummary'] as core.String - : null, - ); - - core.Map toJson() => { - if (agentActionTaken != null) 'agentActionTaken': agentActionTaken!, - if (issueSummary != null) 'issueSummary': issueSummary!, - }; -} - -/// Sample response that the agent can use. -/// -/// This could be based on applicable instructions and ingested data from other -/// systems. -class GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse { - /// Sample response for Agent in text. - /// - /// Optional. - core.String? responseText; - - GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse({ - this.responseText, - }); - - GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse.fromJson( - core.Map json_) - : this( - responseText: json_.containsKey('responseText') - ? json_['responseText'] as core.String - : null, - ); - - core.Map toJson() => { - if (responseText != null) 'responseText': responseText!, - }; -} - /// The analysis resource. class GoogleCloudContactcenterinsightsV1Analysis { /// The result of the analysis, which is populated when the analysis finishes. @@ -4627,11 +4324,11 @@ class GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestina /// Request to export an issue model. class GoogleCloudContactcenterinsightsV1ExportIssueModelRequest { - /// Google Cloud Storage URI to export the Issue Model to. + /// Google Cloud Storage URI to export the issue model to. GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination? gcsDestination; - /// The issue model to export + /// The issue model to export. /// /// Required. core.String? name; @@ -4660,7 +4357,7 @@ class GoogleCloudContactcenterinsightsV1ExportIssueModelRequest { /// Google Cloud Storage Object URI to save the issue model to. typedef GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination - = $Shared09; + = $Shared08; /// Agent Assist frequently-asked-question answer data. class GoogleCloudContactcenterinsightsV1FaqAnswerData { @@ -4737,41 +4434,6 @@ class GoogleCloudContactcenterinsightsV1FaqAnswerData { }; } -/// Suggestion generated using free form generator. -class GoogleCloudContactcenterinsightsV1FreeFormSuggestion { - /// Labels for the generator. - /// - /// Optional. - core.List? labels; - - /// Free form suggestion. - /// - /// Required. - core.String? response; - - GoogleCloudContactcenterinsightsV1FreeFormSuggestion({ - this.labels, - this.response, - }); - - GoogleCloudContactcenterinsightsV1FreeFormSuggestion.fromJson(core.Map json_) - : this( - labels: json_.containsKey('labels') - ? (json_['labels'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - response: json_.containsKey('response') - ? json_['response'] as core.String - : null, - ); - - core.Map toJson() => { - if (labels != null) 'labels': labels!, - if (response != null) 'response': response!, - }; -} - /// A Cloud Storage source of conversation data. class GoogleCloudContactcenterinsightsV1GcsSource { /// Cloud Storage URI that points to a file that contains the conversation @@ -4805,364 +4467,12 @@ class GoogleCloudContactcenterinsightsV1GcsSource { }; } -/// Suggestion generated using a Generator. -class GoogleCloudContactcenterinsightsV1GeneratorSuggestion { - /// Suggestion to coach the agent. - /// - /// Optional. - GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion? - agentCoachingSuggestion; - - /// Free form suggestion. - /// - /// Optional. - GoogleCloudContactcenterinsightsV1FreeFormSuggestion? freeFormSuggestion; - - /// Suggested summary. - /// - /// Optional. - GoogleCloudContactcenterinsightsV1SummarySuggestion? summarySuggestion; - - GoogleCloudContactcenterinsightsV1GeneratorSuggestion({ - this.agentCoachingSuggestion, - this.freeFormSuggestion, - this.summarySuggestion, - }); - - GoogleCloudContactcenterinsightsV1GeneratorSuggestion.fromJson(core.Map json_) - : this( - agentCoachingSuggestion: json_.containsKey('agentCoachingSuggestion') - ? GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion - .fromJson(json_['agentCoachingSuggestion'] - as core.Map) - : null, - freeFormSuggestion: json_.containsKey('freeFormSuggestion') - ? GoogleCloudContactcenterinsightsV1FreeFormSuggestion.fromJson( - json_['freeFormSuggestion'] - as core.Map) - : null, - summarySuggestion: json_.containsKey('summarySuggestion') - ? GoogleCloudContactcenterinsightsV1SummarySuggestion.fromJson( - json_['summarySuggestion'] - as core.Map) - : null, - ); - - core.Map toJson() => { - if (agentCoachingSuggestion != null) - 'agentCoachingSuggestion': agentCoachingSuggestion!, - if (freeFormSuggestion != null) - 'freeFormSuggestion': freeFormSuggestion!, - if (summarySuggestion != null) 'summarySuggestion': summarySuggestion!, - }; -} - -/// Represents response from generators. -class GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse { - /// The suggestion generated from the Generator. - GoogleCloudContactcenterinsightsV1GeneratorSuggestion? generatorSuggestion; - - GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse({ - this.generatorSuggestion, - }); - - GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse.fromJson( - core.Map json_) - : this( - generatorSuggestion: json_.containsKey('generatorSuggestion') - ? GoogleCloudContactcenterinsightsV1GeneratorSuggestion.fromJson( - json_['generatorSuggestion'] - as core.Map) - : null, - ); - - core.Map toJson() => { - if (generatorSuggestion != null) - 'generatorSuggestion': generatorSuggestion!, - }; -} - -/// Response for Knowledge Assist. -/// -/// Contains suggested query and optionally includes an answer for the query. -class GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse { - /// The query suggested based on the context. - /// - /// Suggestion is made only if it is different from the previous suggestion. - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery? - suggestedQuery; - - /// The answer generated for the suggested query. - /// - /// Whether or not an answer is generated depends on how confident we are - /// about the generated query. - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer? - suggestedQueryAnswer; - - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse({ - this.suggestedQuery, - this.suggestedQueryAnswer, - }); - - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse.fromJson( - core.Map json_) - : this( - suggestedQuery: json_.containsKey('suggestedQuery') - ? GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery - .fromJson(json_['suggestedQuery'] - as core.Map) - : null, - suggestedQueryAnswer: json_.containsKey('suggestedQueryAnswer') - ? GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer - .fromJson(json_['suggestedQueryAnswer'] - as core.Map) - : null, - ); - - core.Map toJson() => { - if (suggestedQuery != null) 'suggestedQuery': suggestedQuery!, - if (suggestedQueryAnswer != null) - 'suggestedQueryAnswer': suggestedQueryAnswer!, - }; -} - -/// Represents an answer from Knowledge. -/// -/// Cuurently supports FAQ and Generative answers. -class GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer { - /// The piece of text from the `source` that answers this suggested query. - core.String? answerText; - - /// Populated if the prediction came from FAQ. - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource? - faqSource; - - /// Populated if the prediction was Generative. - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource? - generativeSource; - - /// Populated if the prediction was from intent matching. - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource? - intentMatchingSource; - - /// The system's confidence score that this answer is a good match for this - /// conversational query. - /// - /// The range is from 0.0 (completely uncertain) to 1.0 (completely certain). - core.double? matchConfidence; - - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer({ - this.answerText, - this.faqSource, - this.generativeSource, - this.intentMatchingSource, - this.matchConfidence, - }); - - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer.fromJson( - core.Map json_) - : this( - answerText: json_.containsKey('answerText') - ? json_['answerText'] as core.String - : null, - faqSource: json_.containsKey('faqSource') - ? GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource - .fromJson( - json_['faqSource'] as core.Map) - : null, - generativeSource: json_.containsKey('generativeSource') - ? GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource - .fromJson(json_['generativeSource'] - as core.Map) - : null, - intentMatchingSource: json_.containsKey('intentMatchingSource') - ? GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource - .fromJson(json_['intentMatchingSource'] - as core.Map) - : null, - matchConfidence: json_.containsKey('matchConfidence') - ? (json_['matchConfidence'] as core.num).toDouble() - : null, - ); - - core.Map toJson() => { - if (answerText != null) 'answerText': answerText!, - if (faqSource != null) 'faqSource': faqSource!, - if (generativeSource != null) 'generativeSource': generativeSource!, - if (intentMatchingSource != null) - 'intentMatchingSource': intentMatchingSource!, - if (matchConfidence != null) 'matchConfidence': matchConfidence!, - }; -} - -/// Details about source of FAQ answer. -class GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource { - /// Indicates which Knowledge Document this answer was extracted from. - /// - /// Format: `projects//knowledgeBases//documents/`. - core.String? document; - - /// The corresponding FAQ question. - core.String? question; - - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource({ - this.document, - this.question, - }); - - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource.fromJson( - core.Map json_) - : this( - document: json_.containsKey('document') - ? json_['document'] as core.String - : null, - question: json_.containsKey('question') - ? json_['question'] as core.String - : null, - ); - - core.Map toJson() => { - if (document != null) 'document': document!, - if (question != null) 'question': question!, - }; -} - -/// Details about source of Generative answer. -class GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource { - /// All snippets used for this Generative Prediction, with their source URI - /// and data. - core.List< - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet>? - snippets; - - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource({ - this.snippets, - }); - - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource.fromJson( - core.Map json_) - : this( - snippets: json_.containsKey('snippets') - ? (json_['snippets'] as core.List) - .map((value) => - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet - .fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (snippets != null) 'snippets': snippets!, - }; -} - -/// Snippet Source for a Generative Prediction. -class GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet { - /// Indicates which Knowledge Document this snippet was extracted from. - /// - /// Format: `projects//knowledgeBases//documents/`. - core.String? document; - - /// text taken from that URI. - core.String? text; - - /// Title of the document. - core.String? title; - - /// URI the data is sourced from. - core.String? uri; - - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet({ - this.document, - this.text, - this.title, - this.uri, - }); - - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet.fromJson( - core.Map json_) - : this( - document: json_.containsKey('document') - ? json_['document'] as core.String - : null, - text: json_.containsKey('text') ? json_['text'] as core.String : null, - title: - json_.containsKey('title') ? json_['title'] as core.String : null, - uri: json_.containsKey('uri') ? json_['uri'] as core.String : null, - ); - - core.Map toJson() => { - if (document != null) 'document': document!, - if (text != null) 'text': text!, - if (title != null) 'title': title!, - if (uri != null) 'uri': uri!, - }; -} - -/// Details about source of Intent Matching answer. -class GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource { - /// Title of the document. - core.String? title; - - /// URI the data is sourced from. - core.String? uri; - - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource({ - this.title, - this.uri, - }); - - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource.fromJson( - core.Map json_) - : this( - title: - json_.containsKey('title') ? json_['title'] as core.String : null, - uri: json_.containsKey('uri') ? json_['uri'] as core.String : null, - ); - - core.Map toJson() => { - if (title != null) 'title': title!, - if (uri != null) 'uri': uri!, - }; -} - -/// Represents a suggested query. -class GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery { - /// Suggested query text. - core.String? queryText; - - /// Suggested query score. - core.double? score; - - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery({ - this.queryText, - this.score, - }); - - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery.fromJson( - core.Map json_) - : this( - queryText: json_.containsKey('queryText') - ? json_['queryText'] as core.String - : null, - score: json_.containsKey('score') - ? (json_['score'] as core.num).toDouble() - : null, - ); - - core.Map toJson() => { - if (queryText != null) 'queryText': queryText!, - if (score != null) 'score': score!, - }; -} - /// The data for a hold annotation. typedef GoogleCloudContactcenterinsightsV1HoldData = $Empty; /// Request to import an issue model. class GoogleCloudContactcenterinsightsV1ImportIssueModelRequest { - /// If set to true, will create a new issue model from the imported file with + /// If set to true, will create an issue model from the imported file with /// randomly generated IDs for the issue model and corresponding issues. /// /// Otherwise, replaces an existing model with the same ID as the file. @@ -5209,7 +4519,7 @@ class GoogleCloudContactcenterinsightsV1ImportIssueModelRequest { /// Google Cloud Storage Object URI to get the issue model file from. typedef GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource - = $Shared09; + = $Shared08; /// The request to ingest conversations. class GoogleCloudContactcenterinsightsV1IngestConversationsRequest { @@ -5239,9 +4549,9 @@ class GoogleCloudContactcenterinsightsV1IngestConversationsRequest { /// If set, this fields indicates the number of objects to ingest from the /// Cloud Storage bucket. /// - /// If empty, the entire bucket will be ingested. Note that conversations - /// produced via sampling will not be ingested by subsequent ingest requests - /// unless they are first deleted. + /// If empty, the entire bucket will be ingested. Unless they are first + /// deleted, conversations produced through sampling won't be ingested by + /// subsequent ingest requests. /// /// Optional. core.int? sampleSize; @@ -5329,7 +4639,7 @@ class GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationCo /// all conversations in the import. /// /// Note that this will be overridden if per-conversation metadata is provided - /// via the `metadata_bucket_uri`. + /// through the `metadata_bucket_uri`. /// /// Optional. core.String? agentId; @@ -5395,11 +4705,14 @@ class GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource { /// Optional. core.List? customMetadataKeys; - /// The Cloud Storage path to the source object metadata. + /// The Cloud Storage path to the conversation metadata. /// - /// Note that: \[1\] metadata files are expected to be in JSON format \[2\] - /// metadata and source objects must be in separate buckets \[3\] a source - /// object's metadata object must share the same name to be properly ingested + /// Note that: \[1\] Metadata files are expected to be in JSON format. \[2\] + /// Metadata and source files (transcripts or audio) must be in separate + /// buckets. \[3\] A source file and its corresponding metadata file must + /// share the same name to be properly ingested, E.g. + /// `gs://bucket/audio/conversation1.mp3` and + /// `gs://bucket/metadata/conversation1.json`. /// /// Optional. core.String? metadataBucketUri; @@ -6443,11 +5756,12 @@ class GoogleCloudContactcenterinsightsV1PhraseMatcher { /// DLP resources used for redaction while ingesting conversations. /// /// DLP settings are applied to conversations ingested from the -/// UploadConversation and IngestConversations endpoints, including conversation -/// coming from CCAI Platform. They are not applied to conversations ingested -/// from the CreateConversation endpoint or the Dialogflow / Agent Assist -/// runtime integrations. When using Dialogflow / Agent Assist runtime -/// integrations redaction should be performed in Dialogflow / Agent Assist. +/// `UploadConversation` and `IngestConversations` endpoints, including +/// conversation coming from CCAI Platform. They are not applied to +/// conversations ingested from the `CreateConversation` endpoint or the +/// Dialogflow / Agent Assist runtime integrations. When using Dialogflow / +/// Agent Assist runtime integrations, redaction should be performed in +/// Dialogflow / Agent Assist. class GoogleCloudContactcenterinsightsV1RedactionConfig { /// The fully-qualified DLP deidentify template resource name. /// @@ -6513,18 +5827,6 @@ class GoogleCloudContactcenterinsightsV1RuntimeAnnotation { /// Agent Assist FAQ answer data. GoogleCloudContactcenterinsightsV1FaqAnswerData? faqAnswer; - /// The generator suggestion result. - GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse? - generatorSuggestionResult; - - /// The Knowledge Assist result. - GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse? - knowledgeAssistResult; - - /// The Knowledge Search result. - GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer? - knowledgeSearchResult; - /// Agent Assist Smart Compose suggestion data. GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData? smartComposeSuggestion; @@ -6535,6 +5837,9 @@ class GoogleCloudContactcenterinsightsV1RuntimeAnnotation { /// The boundary in the conversation where the annotation starts, inclusive. GoogleCloudContactcenterinsightsV1AnnotationBoundary? startBoundary; + /// Explicit input used for generating the answer + GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput? userInput; + GoogleCloudContactcenterinsightsV1RuntimeAnnotation({ this.annotationId, this.answerFeedback, @@ -6544,12 +5849,10 @@ class GoogleCloudContactcenterinsightsV1RuntimeAnnotation { this.dialogflowInteraction, this.endBoundary, this.faqAnswer, - this.generatorSuggestionResult, - this.knowledgeAssistResult, - this.knowledgeSearchResult, this.smartComposeSuggestion, this.smartReply, this.startBoundary, + this.userInput, }); GoogleCloudContactcenterinsightsV1RuntimeAnnotation.fromJson(core.Map json_) @@ -6589,22 +5892,6 @@ class GoogleCloudContactcenterinsightsV1RuntimeAnnotation { ? GoogleCloudContactcenterinsightsV1FaqAnswerData.fromJson( json_['faqAnswer'] as core.Map) : null, - generatorSuggestionResult: json_ - .containsKey('generatorSuggestionResult') - ? GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse - .fromJson(json_['generatorSuggestionResult'] - as core.Map) - : null, - knowledgeAssistResult: json_.containsKey('knowledgeAssistResult') - ? GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse - .fromJson(json_['knowledgeAssistResult'] - as core.Map) - : null, - knowledgeSearchResult: json_.containsKey('knowledgeSearchResult') - ? GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer - .fromJson(json_['knowledgeSearchResult'] - as core.Map) - : null, smartComposeSuggestion: json_.containsKey('smartComposeSuggestion') ? GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData .fromJson(json_['smartComposeSuggestion'] @@ -6618,6 +5905,11 @@ class GoogleCloudContactcenterinsightsV1RuntimeAnnotation { ? GoogleCloudContactcenterinsightsV1AnnotationBoundary.fromJson( json_['startBoundary'] as core.Map) : null, + userInput: json_.containsKey('userInput') + ? GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput + .fromJson( + json_['userInput'] as core.Map) + : null, ); core.Map toJson() => { @@ -6632,130 +5924,45 @@ class GoogleCloudContactcenterinsightsV1RuntimeAnnotation { 'dialogflowInteraction': dialogflowInteraction!, if (endBoundary != null) 'endBoundary': endBoundary!, if (faqAnswer != null) 'faqAnswer': faqAnswer!, - if (generatorSuggestionResult != null) - 'generatorSuggestionResult': generatorSuggestionResult!, - if (knowledgeAssistResult != null) - 'knowledgeAssistResult': knowledgeAssistResult!, - if (knowledgeSearchResult != null) - 'knowledgeSearchResult': knowledgeSearchResult!, if (smartComposeSuggestion != null) 'smartComposeSuggestion': smartComposeSuggestion!, if (smartReply != null) 'smartReply': smartReply!, if (startBoundary != null) 'startBoundary': startBoundary!, + if (userInput != null) 'userInput': userInput!, }; } -/// Represents a SearchKnowledge answer. -class GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer { - /// The piece of text from the knowledge base documents that answers the - /// search query - core.String? answer; - - /// The name of the answer record. +/// Explicit input used for generating the answer +class GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput { + /// The resource name of associated generator. /// - /// Format: `projects//locations//answer Records/` - core.String? answerRecord; - - /// All sources used to generate the answer. - core.List< - GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource>? - answerSources; + /// Format: `projects//locations//generators/` + core.String? generatorName; - /// The type of the answer. - /// Possible string values are: - /// - "ANSWER_TYPE_UNSPECIFIED" : The answer has a unspecified type. - /// - "FAQ" : The answer is from FAQ documents. - /// - "GENERATIVE" : The answer is from generative model. - /// - "INTENT" : The answer is from intent matching. - core.String? answerType; - - /// The confidence score in \[0.0, 1.0\] range. - core.double? confidenceScore; - - GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer({ - this.answer, - this.answerRecord, - this.answerSources, - this.answerType, - this.confidenceScore, - }); - - GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer.fromJson( - core.Map json_) - : this( - answer: json_.containsKey('answer') - ? json_['answer'] as core.String - : null, - answerRecord: json_.containsKey('answerRecord') - ? json_['answerRecord'] as core.String - : null, - answerSources: json_.containsKey('answerSources') - ? (json_['answerSources'] as core.List) - .map((value) => - GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource - .fromJson( - value as core.Map)) - .toList() - : null, - answerType: json_.containsKey('answerType') - ? json_['answerType'] as core.String - : null, - confidenceScore: json_.containsKey('confidenceScore') - ? (json_['confidenceScore'] as core.num).toDouble() - : null, - ); - - core.Map toJson() => { - if (answer != null) 'answer': answer!, - if (answerRecord != null) 'answerRecord': answerRecord!, - if (answerSources != null) 'answerSources': answerSources!, - if (answerType != null) 'answerType': answerType!, - if (confidenceScore != null) 'confidenceScore': confidenceScore!, - }; -} - -/// The sources of the answers. -class GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource { - /// The document from which the snippet was extracted. + /// Query text. /// - /// Format: `projects//knowledgeBases//documents/` - core.String? document; - - /// The relevant snippet of the article. - core.String? snippet; - - /// The title of the article. - core.String? title; - - /// The URI of the article. - core.String? uri; + /// Article Search uses this to store the input query used to generate the + /// search results. + core.String? query; - GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource({ - this.document, - this.snippet, - this.title, - this.uri, + GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput({ + this.generatorName, + this.query, }); - GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource.fromJson( + GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput.fromJson( core.Map json_) : this( - document: json_.containsKey('document') - ? json_['document'] as core.String - : null, - snippet: json_.containsKey('snippet') - ? json_['snippet'] as core.String + generatorName: json_.containsKey('generatorName') + ? json_['generatorName'] as core.String : null, - title: - json_.containsKey('title') ? json_['title'] as core.String : null, - uri: json_.containsKey('uri') ? json_['uri'] as core.String : null, + query: + json_.containsKey('query') ? json_['query'] as core.String : null, ); core.Map toJson() => { - if (document != null) 'document': document!, - if (snippet != null) 'snippet': snippet!, - if (title != null) 'title': title!, - if (uri != null) 'uri': uri!, + if (generatorName != null) 'generatorName': generatorName!, + if (query != null) 'query': query!, }; } @@ -6789,7 +5996,13 @@ class GoogleCloudContactcenterinsightsV1SentimentData { }; } -/// The settings resource. +/// The CCAI Insights project wide settings. +/// +/// Use these settings to configure the behavior of Insights. View these +/// settings with +/// \[`getsettings`\](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/getSettings) +/// and change the settings with +/// \[`updateSettings`\](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/updateSettings). class GoogleCloudContactcenterinsightsV1Settings { /// Default analysis settings. GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig? analysisConfig; @@ -6829,26 +6042,26 @@ class GoogleCloudContactcenterinsightsV1Settings { /// occurs. * "create-analysis": Notify each time an analysis is created. * /// "create-conversation": Notify each time a conversation is created. * /// "export-insights-data": Notify each time an export is complete. * - /// "ingest-conversations": Notify each time an IngestConversations LRO - /// completes. * "update-conversation": Notify each time a conversation is + /// "ingest-conversations": Notify each time an IngestConversations LRO is + /// complete. * "update-conversation": Notify each time a conversation is /// updated via UpdateConversation. * "upload-conversation": Notify when an - /// UploadConversation LRO completes. Values are Pub/Sub topics. The format of - /// each Pub/Sub topic is: projects/{project}/topics/{topic} + /// UploadConversation LRO is complete. Values are Pub/Sub topics. The format + /// of each Pub/Sub topic is: projects/{project}/topics/{topic} core.Map? pubsubNotificationSettings; /// Default DLP redaction resources to be applied while ingesting /// conversations. /// - /// This applies to conversations ingested from the UploadConversation and - /// IngestConversations endpoints, including conversations coming from CCAI + /// This applies to conversations ingested from the `UploadConversation` and + /// `IngestConversations` endpoints, including conversations coming from CCAI /// Platform. GoogleCloudContactcenterinsightsV1RedactionConfig? redactionConfig; - /// Default Speech-to-Text resources to be used while ingesting audio files. + /// Default Speech-to-Text resources to use while ingesting audio files. /// /// Optional, CCAI Insights will create a default if not provided. This - /// applies to conversations ingested from the UploadConversation and - /// IngestConversations endpoints, including conversations coming from CCAI + /// applies to conversations ingested from the `UploadConversation` and + /// `IngestConversations` endpoints, including conversations coming from CCAI /// Platform. /// /// Optional. @@ -7097,9 +6310,9 @@ class GoogleCloudContactcenterinsightsV1SmartReplyData { /// Speech-to-Text configuration. /// /// Speech-to-Text settings are applied to conversations ingested from the -/// UploadConversation and IngestConversations endpoints, including conversation -/// coming from CCAI Platform. They are not applied to conversations ingested -/// from the CreateConversation endpoint. +/// `UploadConversation` and `IngestConversations` endpoints, including +/// conversation coming from CCAI Platform. They are not applied to +/// conversations ingested from the `CreateConversation` endpoint. class GoogleCloudContactcenterinsightsV1SpeechConfig { /// The fully-qualified Speech Recognizer resource name. /// @@ -7123,69 +6336,6 @@ class GoogleCloudContactcenterinsightsV1SpeechConfig { }; } -/// Suggested summary of the conversation. -class GoogleCloudContactcenterinsightsV1SummarySuggestion { - /// All the parts of generated summary. - /// - /// Required. - core.List? - summarySections; - - GoogleCloudContactcenterinsightsV1SummarySuggestion({ - this.summarySections, - }); - - GoogleCloudContactcenterinsightsV1SummarySuggestion.fromJson(core.Map json_) - : this( - summarySections: json_.containsKey('summarySections') - ? (json_['summarySections'] as core.List) - .map((value) => - GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection - .fromJson( - value as core.Map)) - .toList() - : null, - ); - - core.Map toJson() => { - if (summarySections != null) 'summarySections': summarySections!, - }; -} - -/// A component of the generated summary. -class GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection { - /// Name of the section. - /// - /// Required. - core.String? section; - - /// Summary text for the section. - /// - /// Required. - core.String? summary; - - GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection({ - this.section, - this.summary, - }); - - GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection.fromJson( - core.Map json_) - : this( - section: json_.containsKey('section') - ? json_['section'] as core.String - : null, - summary: json_.containsKey('summary') - ? json_['summary'] as core.String - : null, - ); - - core.Map toJson() => { - if (section != null) 'section': section!, - if (summary != null) 'summary': summary!, - }; -} - /// The request to undeploy an issue model. class GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest { /// The issue model to undeploy. diff --git a/generated/googleapis/lib/content/v2_1.dart b/generated/googleapis/lib/content/v2_1.dart index 3837dc02d..f7ac469e2 100644 --- a/generated/googleapis/lib/content/v2_1.dart +++ b/generated/googleapis/lib/content/v2_1.dart @@ -24929,10 +24929,10 @@ class PostalCodeRange { }; } -typedef Price = $Shared10; +typedef Price = $Shared09; /// The price represented as a number and currency. -typedef PriceAmount = $Shared10; +typedef PriceAmount = $Shared09; /// Price competitiveness fields requested by the merchant in the query. /// @@ -26654,10 +26654,12 @@ class ProductIssue { /// tooltip shows helpful information, can use the '?' as an icon. * /// `tooltip-style-info` - the tooltip adds additional information fitting to /// the context, can use the 'i' as an icon. * `content-moderation` - marks - /// the paragraph that explains how the issue was identified. * `new-element` - /// - Present for new elements added to the pre-rendered content in the - /// future. To make sure that a new content element does not break your style, - /// you can hide everything with this class. + /// the paragraph that explains how the issue was identified. * `list-intro` - + /// marks the paragraph that contains an intro for a list. This paragraph will + /// be always followed by a list. * `new-element` - Present for new elements + /// added to the pre-rendered content in the future. To make sure that a new + /// content element does not break your style, you can hide everything with + /// this class. core.String? prerenderedContent; /// Title of the issue. diff --git a/generated/googleapis/lib/datamigration/v1.dart b/generated/googleapis/lib/datamigration/v1.dart index 6bf587aa1..17ca6a0df 100644 --- a/generated/googleapis/lib/datamigration/v1.dart +++ b/generated/googleapis/lib/datamigration/v1.dart @@ -3884,6 +3884,7 @@ class CloudSqlSettings { /// - "POSTGRES_13" : PostgreSQL 13. /// - "POSTGRES_14" : PostgreSQL 14. /// - "POSTGRES_15" : PostgreSQL 15. + /// - "POSTGRES_16" : PostgreSQL 16. core.String? databaseVersion; /// The edition of the given Cloud SQL instance. @@ -9388,9 +9389,15 @@ class SqlServerHomogeneousMigrationJobConfig { /// Required. core.List? databaseBackups; + /// Enable differential backups. + /// + /// Optional. + core.bool? useDiffBackup; + SqlServerHomogeneousMigrationJobConfig({ this.backupFilePattern, this.databaseBackups, + this.useDiffBackup, }); SqlServerHomogeneousMigrationJobConfig.fromJson(core.Map json_) @@ -9404,11 +9411,15 @@ class SqlServerHomogeneousMigrationJobConfig { value as core.Map)) .toList() : null, + useDiffBackup: json_.containsKey('useDiffBackup') + ? json_['useDiffBackup'] as core.bool + : null, ); core.Map toJson() => { if (backupFilePattern != null) 'backupFilePattern': backupFilePattern!, if (databaseBackups != null) 'databaseBackups': databaseBackups!, + if (useDiffBackup != null) 'useDiffBackup': useDiffBackup!, }; } diff --git a/generated/googleapis/lib/dataplex/v1.dart b/generated/googleapis/lib/dataplex/v1.dart index cc4852eda..308bc3c65 100644 --- a/generated/googleapis/lib/dataplex/v1.dart +++ b/generated/googleapis/lib/dataplex/v1.dart @@ -1271,15 +1271,18 @@ class ProjectsLocationsDataScansResource { response_ as core.Map); } - /// Generates recommended DataQualityRule from a data profiling DataScan. + /// Generates recommended data quality rules based on the results of a data + /// profiling scan.Use the recommendations to build rules for a data quality + /// scan. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [name] - Required. The name should be either * the name of a datascan with - /// at least one successful completed data profiling job, or * the name of a - /// successful completed data profiling datascan job. + /// [name] - Required. The name must be one of the following: The name of a + /// data scan with at least one successful, completed data profiling job The + /// name of a successful, completed data profiling job (a data scan job where + /// the job type is data profiling) /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/dataScans/\[^/\]+$`. /// @@ -1689,15 +1692,18 @@ class ProjectsLocationsDataScansJobsResource { ProjectsLocationsDataScansJobsResource(commons.ApiRequester client) : _requester = client; - /// Generates recommended DataQualityRule from a data profiling DataScan. + /// Generates recommended data quality rules based on the results of a data + /// profiling scan.Use the recommendations to build rules for a data quality + /// scan. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [name] - Required. The name should be either * the name of a datascan with - /// at least one successful completed data profiling job, or * the name of a - /// successful completed data profiling datascan job. + /// [name] - Required. The name must be one of the following: The name of a + /// data scan with at least one successful, completed data profiling job The + /// name of a successful, completed data profiling job (a data scan job where + /// the job type is data profiling) /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/dataScans/\[^/\]+/jobs/\[^/\]+$`. /// @@ -10986,6 +10992,8 @@ class GoogleCloudDataplexV1DataQualityRule { /// Aggregate rule which evaluates the number of rows returned for the /// provided statement. + /// + /// If any rows are returned, this rule fails. GoogleCloudDataplexV1DataQualityRuleSqlAssertion? sqlAssertion; /// Aggregate rule which evaluates whether the column aggregate statistic lies @@ -11208,8 +11216,8 @@ class GoogleCloudDataplexV1DataQualityRuleRegexExpectation { /// DataQualityRuleResult provides a more detailed, per-rule view of the /// results. class GoogleCloudDataplexV1DataQualityRuleResult { - /// The number of rows returned by the sql statement in the SqlAssertion - /// rule.This field is only valid for SqlAssertion rules. + /// The number of rows returned by the SQL statement in a SQL assertion + /// rule.This field is only valid for SQL assertion rules. /// /// Output only. core.String? assertionRowCount; @@ -11324,13 +11332,17 @@ class GoogleCloudDataplexV1DataQualityRuleSetExpectation { }; } -/// Queries for rows returned by the provided SQL statement. +/// A SQL statement that is evaluated to return rows that match an invalid +/// state. /// -/// If any rows are are returned, this rule fails.The SQL statement needs to use -/// BigQuery standard SQL syntax, and must not contain any semicolons.${data()} -/// can be used to reference the rows being evaluated, i.e. the table after all -/// additional filters (row filters, incremental data filters, sampling) are -/// applied.Example: SELECT * FROM ${data()} WHERE price \< 0 +/// If any rows are are returned, this rule fails.The SQL statement must use +/// BigQuery standard SQL syntax, and must not contain any semicolons.You can +/// use the data reference parameter ${data()} to reference the source table +/// with all of its precondition filters applied. Examples of precondition +/// filters include row filters, incremental data filters, and sampling. For +/// more information, see Data reference parameter +/// (https://cloud.google.com/dataplex/docs/auto-data-quality-overview#data-reference-parameter).Example: +/// SELECT * FROM ${data()} WHERE price \< 0 class GoogleCloudDataplexV1DataQualityRuleSqlAssertion { /// The SQL statement. /// @@ -12828,6 +12840,15 @@ class GoogleCloudDataplexV1EntrySource { /// The maximum size of keys and values is 128 characters each. core.Map? labels; + /// Location of the resource in the source system. + /// + /// Entry will be searchable by this location. By default, this should match + /// the location of the EntryGroup containing this entry. A different value + /// allows capturing source location for data external to GCP. + /// + /// Output only. + core.String? location; + /// The platform containing the source system. /// /// The maximum size of the field is 64 characters. @@ -12852,6 +12873,7 @@ class GoogleCloudDataplexV1EntrySource { this.description, this.displayName, this.labels, + this.location, this.platform, this.resource, this.system, @@ -12884,6 +12906,9 @@ class GoogleCloudDataplexV1EntrySource { ), ) : null, + location: json_.containsKey('location') + ? json_['location'] as core.String + : null, platform: json_.containsKey('platform') ? json_['platform'] as core.String : null, @@ -12904,6 +12929,7 @@ class GoogleCloudDataplexV1EntrySource { if (description != null) 'description': description!, if (displayName != null) 'displayName': displayName!, if (labels != null) 'labels': labels!, + if (location != null) 'location': location!, if (platform != null) 'platform': platform!, if (resource != null) 'resource': resource!, if (system != null) 'system': system!, @@ -13544,12 +13570,13 @@ class GoogleCloudDataplexV1EnvironmentSessionStatus { }; } -/// Generate recommended DataQualityRules request. +/// Request details for generating data quality rule recommendations. typedef GoogleCloudDataplexV1GenerateDataQualityRulesRequest = $Empty; -/// Generate recommended DataQualityRules response. +/// Response details for data quality rule recommendations. class GoogleCloudDataplexV1GenerateDataQualityRulesResponse { - /// Generated recommended {@link DataQualityRule}s. + /// The data quality rules that Dataplex generates based on the results of a + /// data profiling scan. core.List? rule; GoogleCloudDataplexV1GenerateDataQualityRulesResponse({ @@ -15272,13 +15299,18 @@ class GoogleCloudDataplexV1SearchEntriesResponse { /// A single result of a SearchEntries request. class GoogleCloudDataplexV1SearchEntriesResult { - /// Entry format of the result. GoogleCloudDataplexV1Entry? dataplexEntry; /// Linked resource name. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) core.String? linkedResource; /// Snippets. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) GoogleCloudDataplexV1SearchEntriesResultSnippets? snippets; GoogleCloudDataplexV1SearchEntriesResult({ @@ -15313,6 +15345,9 @@ class GoogleCloudDataplexV1SearchEntriesResult { /// will be used in UI. class GoogleCloudDataplexV1SearchEntriesResultSnippets { /// Entry + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) GoogleCloudDataplexV1Entry? dataplexEntry; GoogleCloudDataplexV1SearchEntriesResultSnippets({ diff --git a/generated/googleapis/lib/dataproc/v1.dart b/generated/googleapis/lib/dataproc/v1.dart index 990a9b6f4..32977c9cc 100644 --- a/generated/googleapis/lib/dataproc/v1.dart +++ b/generated/googleapis/lib/dataproc/v1.dart @@ -4921,6 +4921,31 @@ class AutoscalingPolicy { }; } +/// Autotuning configuration of the workload. +class AutotuningConfig { + /// Scenarios for which tunings are applied. + /// + /// Optional. + core.List? scenarios; + + AutotuningConfig({ + this.scenarios, + }); + + AutotuningConfig.fromJson(core.Map json_) + : this( + scenarios: json_.containsKey('scenarios') + ? (json_['scenarios'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (scenarios != null) 'scenarios': scenarios!, + }; +} + /// Node group identification and configuration information. class AuxiliaryNodeGroup { /// Node group configuration. @@ -11168,6 +11193,19 @@ class ResizeNodeGroupRequest { /// Runtime configuration for a workload. class RuntimeConfig { + /// Autotuning configuration of the workload. + /// + /// Optional. + AutotuningConfig? autotuningConfig; + + /// Cohort identifier. + /// + /// Identifies families of the workloads having the same shape, e.g. daily ETL + /// jobs. + /// + /// Optional. + core.String? cohort; + /// Optional custom container image for the job runtime environment. /// /// If not specified, a default container image will be used. @@ -11192,6 +11230,8 @@ class RuntimeConfig { core.String? version; RuntimeConfig({ + this.autotuningConfig, + this.cohort, this.containerImage, this.properties, this.repositoryConfig, @@ -11200,6 +11240,13 @@ class RuntimeConfig { RuntimeConfig.fromJson(core.Map json_) : this( + autotuningConfig: json_.containsKey('autotuningConfig') + ? AutotuningConfig.fromJson(json_['autotuningConfig'] + as core.Map) + : null, + cohort: json_.containsKey('cohort') + ? json_['cohort'] as core.String + : null, containerImage: json_.containsKey('containerImage') ? json_['containerImage'] as core.String : null, @@ -11222,6 +11269,8 @@ class RuntimeConfig { ); core.Map toJson() => { + if (autotuningConfig != null) 'autotuningConfig': autotuningConfig!, + if (cohort != null) 'cohort': cohort!, if (containerImage != null) 'containerImage': containerImage!, if (properties != null) 'properties': properties!, if (repositoryConfig != null) 'repositoryConfig': repositoryConfig!, diff --git a/generated/googleapis/lib/datastream/v1.dart b/generated/googleapis/lib/datastream/v1.dart index 4a564ccde..0474bd3ca 100644 --- a/generated/googleapis/lib/datastream/v1.dart +++ b/generated/googleapis/lib/datastream/v1.dart @@ -2295,6 +2295,9 @@ class DiscoverConnectionProfileRequest { /// PostgreSQL RDBMS to enrich with child data objects and metadata. PostgresqlRdbms? postgresqlRdbms; + /// SQLServer RDBMS to enrich with child data objects and metadata. + SqlServerRdbms? sqlServerRdbms; + DiscoverConnectionProfileRequest({ this.connectionProfile, this.connectionProfileName, @@ -2303,6 +2306,7 @@ class DiscoverConnectionProfileRequest { this.mysqlRdbms, this.oracleRdbms, this.postgresqlRdbms, + this.sqlServerRdbms, }); DiscoverConnectionProfileRequest.fromJson(core.Map json_) @@ -2332,6 +2336,10 @@ class DiscoverConnectionProfileRequest { ? PostgresqlRdbms.fromJson(json_['postgresqlRdbms'] as core.Map) : null, + sqlServerRdbms: json_.containsKey('sqlServerRdbms') + ? SqlServerRdbms.fromJson(json_['sqlServerRdbms'] + as core.Map) + : null, ); core.Map toJson() => { @@ -2343,6 +2351,7 @@ class DiscoverConnectionProfileRequest { if (mysqlRdbms != null) 'mysqlRdbms': mysqlRdbms!, if (oracleRdbms != null) 'oracleRdbms': oracleRdbms!, if (postgresqlRdbms != null) 'postgresqlRdbms': postgresqlRdbms!, + if (sqlServerRdbms != null) 'sqlServerRdbms': sqlServerRdbms!, }; } @@ -2357,10 +2366,14 @@ class DiscoverConnectionProfileResponse { /// Enriched PostgreSQL RDBMS object. PostgresqlRdbms? postgresqlRdbms; + /// Enriched SQLServer RDBMS object. + SqlServerRdbms? sqlServerRdbms; + DiscoverConnectionProfileResponse({ this.mysqlRdbms, this.oracleRdbms, this.postgresqlRdbms, + this.sqlServerRdbms, }); DiscoverConnectionProfileResponse.fromJson(core.Map json_) @@ -2377,12 +2390,17 @@ class DiscoverConnectionProfileResponse { ? PostgresqlRdbms.fromJson(json_['postgresqlRdbms'] as core.Map) : null, + sqlServerRdbms: json_.containsKey('sqlServerRdbms') + ? SqlServerRdbms.fromJson(json_['sqlServerRdbms'] + as core.Map) + : null, ); core.Map toJson() => { if (mysqlRdbms != null) 'mysqlRdbms': mysqlRdbms!, if (oracleRdbms != null) 'oracleRdbms': oracleRdbms!, if (postgresqlRdbms != null) 'postgresqlRdbms': postgresqlRdbms!, + if (sqlServerRdbms != null) 'sqlServerRdbms': sqlServerRdbms!, }; } @@ -4565,6 +4583,9 @@ class SpecificStartPosition { }; } +/// Configuration to use Change Tables CDC read method. +typedef SqlServerChangeTables = $Empty; + /// SQLServer Column. class SqlServerColumn { /// Column name. @@ -4759,6 +4780,9 @@ class SqlServerSchema { /// SQLServer data source configuration class SqlServerSourceConfig { + /// CDC reader reads from change tables. + SqlServerChangeTables? changeTables; + /// SQLServer objects to exclude from the stream. SqlServerRdbms? excludeObjects; @@ -4771,15 +4795,24 @@ class SqlServerSourceConfig { /// Max concurrent CDC tasks. core.int? maxConcurrentCdcTasks; + /// CDC reader reads from transaction logs. + SqlServerTransactionLogs? transactionLogs; + SqlServerSourceConfig({ + this.changeTables, this.excludeObjects, this.includeObjects, this.maxConcurrentBackfillTasks, this.maxConcurrentCdcTasks, + this.transactionLogs, }); SqlServerSourceConfig.fromJson(core.Map json_) : this( + changeTables: json_.containsKey('changeTables') + ? SqlServerChangeTables.fromJson( + json_['changeTables'] as core.Map) + : null, excludeObjects: json_.containsKey('excludeObjects') ? SqlServerRdbms.fromJson(json_['excludeObjects'] as core.Map) @@ -4795,15 +4828,21 @@ class SqlServerSourceConfig { maxConcurrentCdcTasks: json_.containsKey('maxConcurrentCdcTasks') ? json_['maxConcurrentCdcTasks'] as core.int : null, + transactionLogs: json_.containsKey('transactionLogs') + ? SqlServerTransactionLogs.fromJson(json_['transactionLogs'] + as core.Map) + : null, ); core.Map toJson() => { + if (changeTables != null) 'changeTables': changeTables!, if (excludeObjects != null) 'excludeObjects': excludeObjects!, if (includeObjects != null) 'includeObjects': includeObjects!, if (maxConcurrentBackfillTasks != null) 'maxConcurrentBackfillTasks': maxConcurrentBackfillTasks!, if (maxConcurrentCdcTasks != null) 'maxConcurrentCdcTasks': maxConcurrentCdcTasks!, + if (transactionLogs != null) 'transactionLogs': transactionLogs!, }; } @@ -4841,6 +4880,9 @@ class SqlServerTable { }; } +/// Configuration to use Transaction Logs CDC read method. +typedef SqlServerTransactionLogs = $Empty; + /// Request for manually initiating a backfill job for a specific stream object. typedef StartBackfillJobRequest = $Empty; diff --git a/generated/googleapis/lib/dialogflow/v2.dart b/generated/googleapis/lib/dialogflow/v2.dart index 7edf72fa4..374eba36c 100644 --- a/generated/googleapis/lib/dialogflow/v2.dart +++ b/generated/googleapis/lib/dialogflow/v2.dart @@ -47,6 +47,7 @@ /// - [ProjectsConversationsParticipantsResource] /// - [ProjectsConversationsParticipantsSuggestionsResource] /// - [ProjectsConversationsSuggestionsResource] +/// - [ProjectsGeneratorsResource] /// - [ProjectsKnowledgeBasesResource] /// - [ProjectsKnowledgeBasesDocumentsResource] /// - [ProjectsLocationsResource] @@ -74,9 +75,11 @@ /// - [ProjectsLocationsConversationsParticipantsResource] /// - [ProjectsLocationsConversationsParticipantsSuggestionsResource] /// - [ProjectsLocationsConversationsSuggestionsResource] +/// - [ProjectsLocationsGeneratorsResource] /// - [ProjectsLocationsKnowledgeBasesResource] /// - [ProjectsLocationsKnowledgeBasesDocumentsResource] /// - [ProjectsLocationsOperationsResource] +/// - [ProjectsLocationsStatelessSuggestionResource] /// - [ProjectsLocationsSuggestionsResource] /// - [ProjectsOperationsResource] /// - [ProjectsSuggestionsResource] @@ -131,6 +134,8 @@ class ProjectsResource { ProjectsConversationProfilesResource(_requester); ProjectsConversationsResource get conversations => ProjectsConversationsResource(_requester); + ProjectsGeneratorsResource get generators => + ProjectsGeneratorsResource(_requester); ProjectsKnowledgeBasesResource get knowledgeBases => ProjectsKnowledgeBasesResource(_requester); ProjectsLocationsResource get locations => @@ -5616,6 +5621,52 @@ class ProjectsConversationsParticipantsSuggestionsResource { response_ as core.Map); } + /// Gets knowledge assist suggestions based on historical messages. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The name of the participant to fetch suggestions for. + /// Format: `projects//locations//conversations//participants/`. + /// Value must have pattern + /// `^projects/\[^/\]+/conversations/\[^/\]+/participants/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse]. + /// + /// 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 + suggestKnowledgeAssist( + GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest request, + core.String parent, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v2/' + + core.Uri.encodeFull('$parent') + + '/suggestions:suggestKnowledgeAssist'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse.fromJson( + response_ as core.Map); + } + /// Gets smart replies for a participant based on specific historical /// messages. /// @@ -5765,6 +5816,112 @@ class ProjectsConversationsSuggestionsResource { } } +class ProjectsGeneratorsResource { + final commons.ApiRequester _requester; + + ProjectsGeneratorsResource(commons.ApiRequester client) : _requester = client; + + /// Creates a generator. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The project/location to create generator for. Format: + /// `projects//locations/` + /// Value must have pattern `^projects/\[^/\]+$`. + /// + /// [generatorId] - Optional. The ID to use for the generator, which will + /// become the final component of the generator's resource name. The generator + /// ID must be compliant with the regression fomula `a-zA-Z*` with the + /// characters length in range of \[3,64\]. If the field is not provided, an + /// Id will be auto-generated. If the field is provided, the caller is + /// resposible for 1. the uniqueness of the ID, otherwise the request will be + /// rejected. 2. the consistency for whether to use custom ID or not under a + /// project to better ensure uniqueness. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudDialogflowV2Generator]. + /// + /// 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 create( + GoogleCloudDialogflowV2Generator request, + core.String parent, { + core.String? generatorId, + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if (generatorId != null) 'generatorId': [generatorId], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v2/' + core.Uri.encodeFull('$parent') + '/generators'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleCloudDialogflowV2Generator.fromJson( + response_ as core.Map); + } + + /// Lists generators. + /// + /// Request parameters: + /// + /// [parent] - Required. The project/location to list generators for. Format: + /// `projects//locations/` + /// Value must have pattern `^projects/\[^/\]+$`. + /// + /// [pageSize] - Optional. Maximum number of conversation models to return in + /// a single page. Default to 10. + /// + /// [pageToken] - Optional. The next_page_token value returned from a previous + /// list request. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudDialogflowV2ListGeneratorsResponse]. + /// + /// 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 list( + core.String parent, { + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v2/' + core.Uri.encodeFull('$parent') + '/generators'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleCloudDialogflowV2ListGeneratorsResponse.fromJson( + response_ as core.Map); + } +} + class ProjectsKnowledgeBasesResource { final commons.ApiRequester _requester; @@ -6426,10 +6583,14 @@ class ProjectsLocationsResource { ProjectsLocationsConversationProfilesResource(_requester); ProjectsLocationsConversationsResource get conversations => ProjectsLocationsConversationsResource(_requester); + ProjectsLocationsGeneratorsResource get generators => + ProjectsLocationsGeneratorsResource(_requester); ProjectsLocationsKnowledgeBasesResource get knowledgeBases => ProjectsLocationsKnowledgeBasesResource(_requester); ProjectsLocationsOperationsResource get operations => ProjectsLocationsOperationsResource(_requester); + ProjectsLocationsStatelessSuggestionResource get statelessSuggestion => + ProjectsLocationsStatelessSuggestionResource(_requester); ProjectsLocationsSuggestionsResource get suggestions => ProjectsLocationsSuggestionsResource(_requester); @@ -11637,6 +11798,52 @@ class ProjectsLocationsConversationsParticipantsSuggestionsResource { response_ as core.Map); } + /// Gets knowledge assist suggestions based on historical messages. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The name of the participant to fetch suggestions for. + /// Format: `projects//locations//conversations//participants/`. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/conversations/\[^/\]+/participants/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse]. + /// + /// 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 + suggestKnowledgeAssist( + GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest request, + core.String parent, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v2/' + + core.Uri.encodeFull('$parent') + + '/suggestions:suggestKnowledgeAssist'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse.fromJson( + response_ as core.Map); + } + /// Gets smart replies for a participant based on specific historical /// messages. /// @@ -11788,46 +11995,54 @@ class ProjectsLocationsConversationsSuggestionsResource { } } -class ProjectsLocationsKnowledgeBasesResource { +class ProjectsLocationsGeneratorsResource { final commons.ApiRequester _requester; - ProjectsLocationsKnowledgeBasesDocumentsResource get documents => - ProjectsLocationsKnowledgeBasesDocumentsResource(_requester); - - ProjectsLocationsKnowledgeBasesResource(commons.ApiRequester client) + ProjectsLocationsGeneratorsResource(commons.ApiRequester client) : _requester = client; - /// Creates a knowledge base. + /// Creates a generator. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [parent] - Required. The project to create a knowledge base for. Format: - /// `projects//locations/`. + /// [parent] - Required. The project/location to create generator for. Format: + /// `projects//locations/` /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// + /// [generatorId] - Optional. The ID to use for the generator, which will + /// become the final component of the generator's resource name. The generator + /// ID must be compliant with the regression fomula `a-zA-Z*` with the + /// characters length in range of \[3,64\]. If the field is not provided, an + /// Id will be auto-generated. If the field is provided, the caller is + /// resposible for 1. the uniqueness of the ID, otherwise the request will be + /// rejected. 2. the consistency for whether to use custom ID or not under a + /// project to better ensure uniqueness. + /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// - /// Completes with a [GoogleCloudDialogflowV2KnowledgeBase]. + /// Completes with a [GoogleCloudDialogflowV2Generator]. /// /// 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 create( - GoogleCloudDialogflowV2KnowledgeBase request, + async.Future create( + GoogleCloudDialogflowV2Generator request, core.String parent, { + core.String? generatorId, core.String? $fields, }) async { final body_ = convert.json.encode(request); final queryParams_ = >{ + if (generatorId != null) 'generatorId': [generatorId], if ($fields != null) 'fields': [$fields], }; - final url_ = 'v2/' + core.Uri.encodeFull('$parent') + '/knowledgeBases'; + final url_ = 'v2/' + core.Uri.encodeFull('$parent') + '/generators'; final response_ = await _requester.request( url_, @@ -11835,21 +12050,18 @@ class ProjectsLocationsKnowledgeBasesResource { body: body_, queryParams: queryParams_, ); - return GoogleCloudDialogflowV2KnowledgeBase.fromJson( + return GoogleCloudDialogflowV2Generator.fromJson( response_ as core.Map); } - /// Deletes the specified knowledge base. + /// Deletes a generator. /// /// Request parameters: /// - /// [name] - Required. The name of the knowledge base to delete. Format: - /// `projects//locations//knowledgeBases/`. + /// [name] - Required. The generator resource name to delete. Format: + /// `projects//locations//generators/` /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/knowledgeBases/\[^/\]+$`. - /// - /// [force] - Optional. Force deletes the knowledge base. When set to true, - /// any documents in the knowledge base are also deleted. + /// `^projects/\[^/\]+/locations/\[^/\]+/generators/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -11863,11 +12075,9 @@ class ProjectsLocationsKnowledgeBasesResource { /// this method will complete with the same error. async.Future delete( core.String name, { - core.bool? force, core.String? $fields, }) async { final queryParams_ = >{ - if (force != null) 'force': ['${force}'], if ($fields != null) 'fields': [$fields], }; @@ -11882,26 +12092,26 @@ class ProjectsLocationsKnowledgeBasesResource { response_ as core.Map); } - /// Retrieves the specified knowledge base. + /// Retrieves a generator. /// /// Request parameters: /// - /// [name] - Required. The name of the knowledge base to retrieve. Format - /// `projects//locations//knowledgeBases/`. + /// [name] - Required. The generator resource name to retrieve. Format: + /// \`projects//locations/\`/generators/\` /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/knowledgeBases/\[^/\]+$`. + /// `^projects/\[^/\]+/locations/\[^/\]+/generators/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// - /// Completes with a [GoogleCloudDialogflowV2KnowledgeBase]. + /// Completes with a [GoogleCloudDialogflowV2Generator]. /// /// 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 get( + async.Future get( core.String name, { core.String? $fields, }) async { @@ -11916,100 +12126,82 @@ class ProjectsLocationsKnowledgeBasesResource { 'GET', queryParams: queryParams_, ); - return GoogleCloudDialogflowV2KnowledgeBase.fromJson( + return GoogleCloudDialogflowV2Generator.fromJson( response_ as core.Map); } - /// Returns the list of all knowledge bases of the specified agent. + /// Lists generators. /// /// Request parameters: /// - /// [parent] - Required. The project to list of knowledge bases for. Format: - /// `projects//locations/`. + /// [parent] - Required. The project/location to list generators for. Format: + /// `projects//locations/` /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// - /// [filter] - The filter expression used to filter knowledge bases returned - /// by the list method. The expression has the following syntax: \[AND \] ... - /// The following fields and operators are supported: * display_name with - /// has(:) operator * language_code with equals(=) operator Examples: * - /// 'language_code=en-us' matches knowledge bases with en-us language code. * - /// 'display_name:articles' matches knowledge bases whose display name - /// contains "articles". * 'display_name:"Best Articles"' matches knowledge - /// bases whose display name contains "Best Articles". * 'language_code=en-gb - /// AND display_name=articles' matches all knowledge bases whose display name - /// contains "articles" and whose language code is "en-gb". Note: An empty - /// filter string (i.e. "") is a no-op and will result in no filtering. For - /// more information about filtering, see - /// [API Filtering](https://aip.dev/160). - /// - /// [pageSize] - The maximum number of items to return in a single page. By - /// default 10 and at most 100. + /// [pageSize] - Optional. Maximum number of conversation models to return in + /// a single page. Default to 10. /// - /// [pageToken] - The next_page_token value returned from a previous list - /// request. + /// [pageToken] - Optional. The next_page_token value returned from a previous + /// list request. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// - /// Completes with a [GoogleCloudDialogflowV2ListKnowledgeBasesResponse]. + /// Completes with a [GoogleCloudDialogflowV2ListGeneratorsResponse]. /// /// 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 list( + async.Future list( core.String parent, { - core.String? filter, core.int? pageSize, core.String? pageToken, core.String? $fields, }) async { final queryParams_ = >{ - if (filter != null) 'filter': [filter], if (pageSize != null) 'pageSize': ['${pageSize}'], if (pageToken != null) 'pageToken': [pageToken], if ($fields != null) 'fields': [$fields], }; - final url_ = 'v2/' + core.Uri.encodeFull('$parent') + '/knowledgeBases'; + final url_ = 'v2/' + core.Uri.encodeFull('$parent') + '/generators'; final response_ = await _requester.request( url_, 'GET', queryParams: queryParams_, ); - return GoogleCloudDialogflowV2ListKnowledgeBasesResponse.fromJson( + return GoogleCloudDialogflowV2ListGeneratorsResponse.fromJson( response_ as core.Map); } - /// Updates the specified knowledge base. + /// Updates a generator. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [name] - The knowledge base resource name. The name must be empty when - /// creating a knowledge base. Format: `projects//locations//knowledgeBases/`. + /// [name] - Output only. Identifier. The resource name of the generator. + /// Format: `projects//locations//generators/` /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/knowledgeBases/\[^/\]+$`. + /// `^projects/\[^/\]+/locations/\[^/\]+/generators/\[^/\]+$`. /// - /// [updateMask] - Optional. Not specified means `update all`. Currently, only - /// `display_name` can be updated, an InvalidArgument will be returned for - /// attempting to update other fields. + /// [updateMask] - Optional. The list of fields to update. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// - /// Completes with a [GoogleCloudDialogflowV2KnowledgeBase]. + /// Completes with a [GoogleCloudDialogflowV2Generator]. /// /// 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 patch( - GoogleCloudDialogflowV2KnowledgeBase request, + async.Future patch( + GoogleCloudDialogflowV2Generator request, core.String name, { core.String? updateMask, core.String? $fields, @@ -12028,45 +12220,290 @@ class ProjectsLocationsKnowledgeBasesResource { body: body_, queryParams: queryParams_, ); - return GoogleCloudDialogflowV2KnowledgeBase.fromJson( + return GoogleCloudDialogflowV2Generator.fromJson( response_ as core.Map); } } -class ProjectsLocationsKnowledgeBasesDocumentsResource { +class ProjectsLocationsKnowledgeBasesResource { final commons.ApiRequester _requester; - ProjectsLocationsKnowledgeBasesDocumentsResource(commons.ApiRequester client) + ProjectsLocationsKnowledgeBasesDocumentsResource get documents => + ProjectsLocationsKnowledgeBasesDocumentsResource(_requester); + + ProjectsLocationsKnowledgeBasesResource(commons.ApiRequester client) : _requester = client; - /// Creates a new document. - /// - /// This method is a \[long-running - /// operation\](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). - /// The returned `Operation` type has the following method-specific fields: - - /// `metadata`: KnowledgeOperationMetadata - `response`: Document + /// Creates a knowledge base. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [parent] - Required. The knowledge base to create a document for. Format: - /// `projects//locations//knowledgeBases/`. - /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/knowledgeBases/\[^/\]+$`. + /// [parent] - Required. The project to create a knowledge base for. Format: + /// `projects//locations/`. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// - /// Completes with a [GoogleLongrunningOperation]. + /// Completes with a [GoogleCloudDialogflowV2KnowledgeBase]. /// /// 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 create( - GoogleCloudDialogflowV2Document request, + async.Future create( + GoogleCloudDialogflowV2KnowledgeBase request, + core.String parent, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v2/' + core.Uri.encodeFull('$parent') + '/knowledgeBases'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleCloudDialogflowV2KnowledgeBase.fromJson( + response_ as core.Map); + } + + /// Deletes the specified knowledge base. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the knowledge base to delete. Format: + /// `projects//locations//knowledgeBases/`. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/knowledgeBases/\[^/\]+$`. + /// + /// [force] - Optional. Force deletes the knowledge base. When set to true, + /// any documents in the knowledge base are also deleted. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleProtobufEmpty]. + /// + /// 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 delete( + core.String name, { + core.bool? force, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (force != null) 'force': ['${force}'], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v2/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Retrieves the specified knowledge base. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the knowledge base to retrieve. Format + /// `projects//locations//knowledgeBases/`. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/knowledgeBases/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudDialogflowV2KnowledgeBase]. + /// + /// 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 get( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v2/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleCloudDialogflowV2KnowledgeBase.fromJson( + response_ as core.Map); + } + + /// Returns the list of all knowledge bases of the specified agent. + /// + /// Request parameters: + /// + /// [parent] - Required. The project to list of knowledge bases for. Format: + /// `projects//locations/`. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - The filter expression used to filter knowledge bases returned + /// by the list method. The expression has the following syntax: \[AND \] ... + /// The following fields and operators are supported: * display_name with + /// has(:) operator * language_code with equals(=) operator Examples: * + /// 'language_code=en-us' matches knowledge bases with en-us language code. * + /// 'display_name:articles' matches knowledge bases whose display name + /// contains "articles". * 'display_name:"Best Articles"' matches knowledge + /// bases whose display name contains "Best Articles". * 'language_code=en-gb + /// AND display_name=articles' matches all knowledge bases whose display name + /// contains "articles" and whose language code is "en-gb". Note: An empty + /// filter string (i.e. "") is a no-op and will result in no filtering. For + /// more information about filtering, see + /// [API Filtering](https://aip.dev/160). + /// + /// [pageSize] - The maximum number of items to return in a single page. By + /// default 10 and at most 100. + /// + /// [pageToken] - The next_page_token value returned from a previous list + /// request. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudDialogflowV2ListKnowledgeBasesResponse]. + /// + /// 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 list( + core.String parent, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v2/' + core.Uri.encodeFull('$parent') + '/knowledgeBases'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleCloudDialogflowV2ListKnowledgeBasesResponse.fromJson( + response_ as core.Map); + } + + /// Updates the specified knowledge base. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - The knowledge base resource name. The name must be empty when + /// creating a knowledge base. Format: `projects//locations//knowledgeBases/`. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/knowledgeBases/\[^/\]+$`. + /// + /// [updateMask] - Optional. Not specified means `update all`. Currently, only + /// `display_name` can be updated, an InvalidArgument will be returned for + /// attempting to update other fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudDialogflowV2KnowledgeBase]. + /// + /// 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 patch( + GoogleCloudDialogflowV2KnowledgeBase request, + core.String name, { + core.String? updateMask, + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if (updateMask != null) 'updateMask': [updateMask], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v2/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleCloudDialogflowV2KnowledgeBase.fromJson( + response_ as core.Map); + } +} + +class ProjectsLocationsKnowledgeBasesDocumentsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsKnowledgeBasesDocumentsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a new document. + /// + /// This method is a \[long-running + /// operation\](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + /// The returned `Operation` type has the following method-specific fields: - + /// `metadata`: KnowledgeOperationMetadata - `response`: Document + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The knowledge base to create a document for. Format: + /// `projects//locations//knowledgeBases/`. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/knowledgeBases/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleLongrunningOperation]. + /// + /// 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 create( + GoogleCloudDialogflowV2Document request, core.String parent, { core.String? $fields, }) async { @@ -12545,40 +12982,94 @@ class ProjectsLocationsOperationsResource { /// /// [pageSize] - The standard list page size. /// - /// [pageToken] - The standard list page token. + /// [pageToken] - The standard list page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleLongrunningListOperationsResponse]. + /// + /// 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 list( + core.String name, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v2/' + core.Uri.encodeFull('$name') + '/operations'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleLongrunningListOperationsResponse.fromJson( + response_ as core.Map); + } +} + +class ProjectsLocationsStatelessSuggestionResource { + final commons.ApiRequester _requester; + + ProjectsLocationsStatelessSuggestionResource(commons.ApiRequester client) + : _requester = client; + + /// Generates and returns a suggestion for a conversation that does not have a + /// resource created for it. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource to charge for the Suggestion's + /// generation. Format: `projects//locations/`. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// - /// Completes with a [GoogleLongrunningListOperationsResponse]. + /// Completes with a + /// [GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse]. /// /// 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 list( - core.String name, { - core.String? filter, - core.int? pageSize, - core.String? pageToken, + async.Future + generate( + GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest request, + core.String parent, { core.String? $fields, }) async { + final body_ = convert.json.encode(request); final queryParams_ = >{ - if (filter != null) 'filter': [filter], - if (pageSize != null) 'pageSize': ['${pageSize}'], - if (pageToken != null) 'pageToken': [pageToken], if ($fields != null) 'fields': [$fields], }; - final url_ = 'v2/' + core.Uri.encodeFull('$name') + '/operations'; + final url_ = 'v2/' + + core.Uri.encodeFull('$parent') + + '/statelessSuggestion:generate'; final response_ = await _requester.request( url_, - 'GET', + 'POST', + body: body_, queryParams: queryParams_, ); - return GoogleLongrunningListOperationsResponse.fromJson( + return GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse.fromJson( response_ as core.Map); } } @@ -13156,6 +13647,12 @@ class GoogleCloudDialogflowV2AgentAssistantFeedback { /// - "EFFICIENT" : Document is efficient. core.String? documentEfficiency; + /// Feedback for knowledge assist. + /// + /// Optional. + GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback? + knowledgeAssistFeedback; + /// Feedback for knowledge search. /// /// Optional. @@ -13172,6 +13669,7 @@ class GoogleCloudDialogflowV2AgentAssistantFeedback { this.answerRelevance, this.documentCorrectness, this.documentEfficiency, + this.knowledgeAssistFeedback, this.knowledgeSearchFeedback, this.summarizationFeedback, }); @@ -13187,6 +13685,11 @@ class GoogleCloudDialogflowV2AgentAssistantFeedback { documentEfficiency: json_.containsKey('documentEfficiency') ? json_['documentEfficiency'] as core.String : null, + knowledgeAssistFeedback: json_.containsKey('knowledgeAssistFeedback') + ? GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback + .fromJson(json_['knowledgeAssistFeedback'] + as core.Map) + : null, knowledgeSearchFeedback: json_.containsKey('knowledgeSearchFeedback') ? GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback .fromJson(json_['knowledgeSearchFeedback'] @@ -13205,6 +13708,8 @@ class GoogleCloudDialogflowV2AgentAssistantFeedback { 'documentCorrectness': documentCorrectness!, if (documentEfficiency != null) 'documentEfficiency': documentEfficiency!, + if (knowledgeAssistFeedback != null) + 'knowledgeAssistFeedback': knowledgeAssistFeedback!, if (knowledgeSearchFeedback != null) 'knowledgeSearchFeedback': knowledgeSearchFeedback!, if (summarizationFeedback != null) @@ -13212,6 +13717,44 @@ class GoogleCloudDialogflowV2AgentAssistantFeedback { }; } +/// Feedback for knowledge assist. +class GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback { + /// Whether the suggested answer was copied by the human agent. + /// + /// If the value is set to be true, AnswerFeedback.clicked will be updated to + /// be true. + core.bool? answerCopied; + + /// The URIs clicked by the human agent. + /// + /// The value is appended for each UpdateAnswerRecordRequest. If the value is + /// not empty, AnswerFeedback.clicked will be updated to be true. + core.List? clickedUris; + + GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback({ + this.answerCopied, + this.clickedUris, + }); + + GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback.fromJson( + core.Map json_) + : this( + answerCopied: json_.containsKey('answerCopied') + ? json_['answerCopied'] as core.bool + : null, + clickedUris: json_.containsKey('clickedUris') + ? (json_['clickedUris'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (answerCopied != null) 'answerCopied': answerCopied!, + if (clickedUris != null) 'clickedUris': clickedUris!, + }; +} + /// Feedback for knowledge search. class GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback { /// Whether the answer was copied by the human agent or not. @@ -14361,6 +14904,8 @@ class GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest { /// - "SMART_REPLY" : Run smart reply model for chat. /// - "KNOWLEDGE_SEARCH" : Run knowledge search with text input from agent or /// text generated query. + /// - "KNOWLEDGE_ASSIST" : Run knowledge assist with automatic query + /// generation. core.String? suggestionFeatureType; GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest({ @@ -14582,6 +15127,32 @@ class GoogleCloudDialogflowV2Conversation { }; } +/// Context of the conversation, including transcripts. +class GoogleCloudDialogflowV2ConversationContext { + /// List of message transcripts in the conversation. + /// + /// Optional. + core.List? messageEntries; + + GoogleCloudDialogflowV2ConversationContext({ + this.messageEntries, + }); + + GoogleCloudDialogflowV2ConversationContext.fromJson(core.Map json_) + : this( + messageEntries: json_.containsKey('messageEntries') + ? (json_['messageEntries'] as core.List) + .map((value) => GoogleCloudDialogflowV2MessageEntry.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (messageEntries != null) 'messageEntries': messageEntries!, + }; +} + /// Represents a conversation dataset that a user imports raw data into. /// /// The data inside ConversationDataset can not be changed after @@ -16279,6 +16850,77 @@ class GoogleCloudDialogflowV2FaqAnswer { }; } +/// Providing examples in the generator (i.e. building a few-shot generator) +/// helps convey the desired format of the LLM response. +/// +/// NEXT_ID: 10 +class GoogleCloudDialogflowV2FewShotExample { + /// Conversation transcripts. + /// + /// Optional. + GoogleCloudDialogflowV2ConversationContext? conversationContext; + + /// Key is the placeholder field name in input, value is the value of the + /// placeholder. + /// + /// E.g. instruction contains "@price", and ingested data has \<"price", + /// "10"\> + /// + /// Optional. + core.Map? extraInfo; + + /// Example output of the model. + /// + /// Required. + GoogleCloudDialogflowV2GeneratorSuggestion? output; + + /// Summarization sections. + GoogleCloudDialogflowV2SummarizationSectionList? summarizationSectionList; + + GoogleCloudDialogflowV2FewShotExample({ + this.conversationContext, + this.extraInfo, + this.output, + this.summarizationSectionList, + }); + + GoogleCloudDialogflowV2FewShotExample.fromJson(core.Map json_) + : this( + conversationContext: json_.containsKey('conversationContext') + ? GoogleCloudDialogflowV2ConversationContext.fromJson( + json_['conversationContext'] + as core.Map) + : null, + extraInfo: json_.containsKey('extraInfo') + ? (json_['extraInfo'] as core.Map).map( + (key, value) => core.MapEntry( + key, + value as core.String, + ), + ) + : null, + output: json_.containsKey('output') + ? GoogleCloudDialogflowV2GeneratorSuggestion.fromJson( + json_['output'] as core.Map) + : null, + summarizationSectionList: + json_.containsKey('summarizationSectionList') + ? GoogleCloudDialogflowV2SummarizationSectionList.fromJson( + json_['summarizationSectionList'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (conversationContext != null) + 'conversationContext': conversationContext!, + if (extraInfo != null) 'extraInfo': extraInfo!, + if (output != null) 'output': output!, + if (summarizationSectionList != null) + 'summarizationSectionList': summarizationSectionList!, + }; +} + /// By default, your agent responds to a matched intent with a static response. /// /// As an alternative, you can provide a more dynamic response by using @@ -16512,6 +17154,96 @@ class GoogleCloudDialogflowV2GcsSources { }; } +/// The request message for Conversations.GenerateStatelessSuggestion. +class GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest { + /// Context of the conversation, including transcripts. + /// + /// Optional. + GoogleCloudDialogflowV2ConversationContext? conversationContext; + + /// Uncreated generator. + /// + /// It should be a complete generator that includes all information about the + /// generator. + GoogleCloudDialogflowV2Generator? generator; + + /// The resource name of the existing created generator. + /// + /// Format: `projects//locations//generators/` + core.String? generatorName; + + /// A list of trigger events. + /// + /// Generator will be triggered only if it's trigger event is included here. + /// + /// Optional. + core.List? triggerEvents; + + GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest({ + this.conversationContext, + this.generator, + this.generatorName, + this.triggerEvents, + }); + + GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest.fromJson( + core.Map json_) + : this( + conversationContext: json_.containsKey('conversationContext') + ? GoogleCloudDialogflowV2ConversationContext.fromJson( + json_['conversationContext'] + as core.Map) + : null, + generator: json_.containsKey('generator') + ? GoogleCloudDialogflowV2Generator.fromJson( + json_['generator'] as core.Map) + : null, + generatorName: json_.containsKey('generatorName') + ? json_['generatorName'] as core.String + : null, + triggerEvents: json_.containsKey('triggerEvents') + ? (json_['triggerEvents'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (conversationContext != null) + 'conversationContext': conversationContext!, + if (generator != null) 'generator': generator!, + if (generatorName != null) 'generatorName': generatorName!, + if (triggerEvents != null) 'triggerEvents': triggerEvents!, + }; +} + +/// The response message for Conversations.GenerateStatelessSuggestion. +class GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse { + /// Generated suggestion for a conversation. + /// + /// Required. + GoogleCloudDialogflowV2GeneratorSuggestion? generatorSuggestion; + + GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse({ + this.generatorSuggestion, + }); + + GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse.fromJson( + core.Map json_) + : this( + generatorSuggestion: json_.containsKey('generatorSuggestion') + ? GoogleCloudDialogflowV2GeneratorSuggestion.fromJson( + json_['generatorSuggestion'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (generatorSuggestion != null) + 'generatorSuggestion': generatorSuggestion!, + }; +} + /// The request message for Conversations.GenerateStatelessSummary. class GoogleCloudDialogflowV2GenerateStatelessSummaryRequest { /// A ConversationProfile containing information required for Summary @@ -16644,68 +17376,190 @@ class GoogleCloudDialogflowV2GenerateStatelessSummaryResponse { contextSize: json_.containsKey('contextSize') ? json_['contextSize'] as core.int : null, - latestMessage: json_.containsKey('latestMessage') - ? json_['latestMessage'] as core.String + latestMessage: json_.containsKey('latestMessage') + ? json_['latestMessage'] as core.String + : null, + summary: json_.containsKey('summary') + ? GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary + .fromJson( + json_['summary'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (contextSize != null) 'contextSize': contextSize!, + if (latestMessage != null) 'latestMessage': latestMessage!, + if (summary != null) 'summary': summary!, + }; +} + +/// Generated summary for a conversation. +class GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary { + /// The baseline model version used to generate this summary. + /// + /// It is empty if a baseline model was not used to generate this summary. + core.String? baselineModelVersion; + + /// The summary content that is concatenated into one string. + core.String? text; + + /// The summary content that is divided into sections. + /// + /// The key is the section's name and the value is the section's content. + /// There is no specific format for the key or value. + core.Map? textSections; + + GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary({ + this.baselineModelVersion, + this.text, + this.textSections, + }); + + GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary.fromJson( + core.Map json_) + : this( + baselineModelVersion: json_.containsKey('baselineModelVersion') + ? json_['baselineModelVersion'] as core.String + : null, + text: json_.containsKey('text') ? json_['text'] as core.String : null, + textSections: json_.containsKey('textSections') + ? (json_['textSections'] as core.Map) + .map( + (key, value) => core.MapEntry( + key, + value as core.String, + ), + ) + : null, + ); + + core.Map toJson() => { + if (baselineModelVersion != null) + 'baselineModelVersion': baselineModelVersion!, + if (text != null) 'text': text!, + if (textSections != null) 'textSections': textSections!, + }; +} + +/// LLM generator. +class GoogleCloudDialogflowV2Generator { + /// Creation time of this generator. + /// + /// Output only. + core.String? createTime; + + /// Human readable description of the generator. + /// + /// Optional. + core.String? description; + + /// Inference parameters for this generator. + /// + /// Optional. + GoogleCloudDialogflowV2InferenceParameter? inferenceParameter; + + /// Identifier. + /// + /// The resource name of the generator. Format: + /// `projects//locations//generators/` + /// + /// Output only. + core.String? name; + + /// Input of prebuilt Summarization feature. + GoogleCloudDialogflowV2SummarizationContext? summarizationContext; + + /// The trigger event of the generator. + /// + /// It defines when the generator is triggered in a conversation. + /// + /// Optional. + /// Possible string values are: + /// - "TRIGGER_EVENT_UNSPECIFIED" : Default value for TriggerEvent. + /// - "END_OF_UTTERANCE" : Triggers when each chat message or voice utterance + /// ends. + /// - "MANUAL_CALL" : Triggers on the conversation manually by API calls, such + /// as Conversations.GenerateStatelessSuggestion and + /// Conversations.GenerateSuggestions. + core.String? triggerEvent; + + /// Update time of this generator. + /// + /// Output only. + core.String? updateTime; + + GoogleCloudDialogflowV2Generator({ + this.createTime, + this.description, + this.inferenceParameter, + this.name, + this.summarizationContext, + this.triggerEvent, + this.updateTime, + }); + + GoogleCloudDialogflowV2Generator.fromJson(core.Map json_) + : this( + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + description: json_.containsKey('description') + ? json_['description'] as core.String + : null, + inferenceParameter: json_.containsKey('inferenceParameter') + ? GoogleCloudDialogflowV2InferenceParameter.fromJson( + json_['inferenceParameter'] + as core.Map) : null, - summary: json_.containsKey('summary') - ? GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary - .fromJson( - json_['summary'] as core.Map) + name: json_.containsKey('name') ? json_['name'] as core.String : null, + summarizationContext: json_.containsKey('summarizationContext') + ? GoogleCloudDialogflowV2SummarizationContext.fromJson( + json_['summarizationContext'] + as core.Map) + : null, + triggerEvent: json_.containsKey('triggerEvent') + ? json_['triggerEvent'] as core.String + : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String : null, ); core.Map toJson() => { - if (contextSize != null) 'contextSize': contextSize!, - if (latestMessage != null) 'latestMessage': latestMessage!, - if (summary != null) 'summary': summary!, + if (createTime != null) 'createTime': createTime!, + if (description != null) 'description': description!, + if (inferenceParameter != null) + 'inferenceParameter': inferenceParameter!, + if (name != null) 'name': name!, + if (summarizationContext != null) + 'summarizationContext': summarizationContext!, + if (triggerEvent != null) 'triggerEvent': triggerEvent!, + if (updateTime != null) 'updateTime': updateTime!, }; } -/// Generated summary for a conversation. -class GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary { - /// The baseline model version used to generate this summary. - /// - /// It is empty if a baseline model was not used to generate this summary. - core.String? baselineModelVersion; - - /// The summary content that is concatenated into one string. - core.String? text; - - /// The summary content that is divided into sections. +/// Suggestion generated using a Generator. +class GoogleCloudDialogflowV2GeneratorSuggestion { + /// Suggested summary. /// - /// The key is the section's name and the value is the section's content. - /// There is no specific format for the key or value. - core.Map? textSections; + /// Optional. + GoogleCloudDialogflowV2SummarySuggestion? summarySuggestion; - GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary({ - this.baselineModelVersion, - this.text, - this.textSections, + GoogleCloudDialogflowV2GeneratorSuggestion({ + this.summarySuggestion, }); - GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary.fromJson( - core.Map json_) + GoogleCloudDialogflowV2GeneratorSuggestion.fromJson(core.Map json_) : this( - baselineModelVersion: json_.containsKey('baselineModelVersion') - ? json_['baselineModelVersion'] as core.String - : null, - text: json_.containsKey('text') ? json_['text'] as core.String : null, - textSections: json_.containsKey('textSections') - ? (json_['textSections'] as core.Map) - .map( - (key, value) => core.MapEntry( - key, - value as core.String, - ), - ) + summarySuggestion: json_.containsKey('summarySuggestion') + ? GoogleCloudDialogflowV2SummarySuggestion.fromJson( + json_['summarySuggestion'] + as core.Map) : null, ); core.Map toJson() => { - if (baselineModelVersion != null) - 'baselineModelVersion': baselineModelVersion!, - if (text != null) 'text': text!, - if (textSections != null) 'textSections': textSections!, + if (summarySuggestion != null) 'summarySuggestion': summarySuggestion!, }; } @@ -16887,6 +17741,18 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig { /// Detail human agent assistant config. class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig { + /// When disable_high_latency_features_sync_delivery is true and using the + /// AnalyzeContent API, we will not deliver the responses from high latency + /// features in the API response. + /// + /// The human_agent_assistant_config.notification_config must be configured + /// and enable_event_based_suggestion must be set to true to receive the + /// responses from high latency features in Pub/Sub. High latency feature(s): + /// KNOWLEDGE_ASSIST. + /// + /// Optional. + core.bool? disableHighLatencyFeaturesSyncDelivery; + /// Configuration of different suggestion features. /// /// One feature can have only one config. @@ -16894,6 +17760,11 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig { GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig>? featureConfigs; + /// List of various generator resource names used in the conversation profile. + /// + /// Optional. + core.List? generators; + /// If `group_suggestion_responses` is false, and there are multiple /// `feature_configs` in `event based suggestion` or StreamingAnalyzeContent, /// we will try to deliver suggestions to customers as soon as we get new @@ -16907,13 +17778,19 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig { core.bool? groupSuggestionResponses; GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig({ + this.disableHighLatencyFeaturesSyncDelivery, this.featureConfigs, + this.generators, this.groupSuggestionResponses, }); GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig.fromJson( core.Map json_) : this( + disableHighLatencyFeaturesSyncDelivery: + json_.containsKey('disableHighLatencyFeaturesSyncDelivery') + ? json_['disableHighLatencyFeaturesSyncDelivery'] as core.bool + : null, featureConfigs: json_.containsKey('featureConfigs') ? (json_['featureConfigs'] as core.List) .map((value) => @@ -16922,6 +17799,11 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig { value as core.Map)) .toList() : null, + generators: json_.containsKey('generators') + ? (json_['generators'] as core.List) + .map((value) => value as core.String) + .toList() + : null, groupSuggestionResponses: json_.containsKey('groupSuggestionResponses') ? json_['groupSuggestionResponses'] as core.bool @@ -16929,7 +17811,11 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig { ); core.Map toJson() => { + if (disableHighLatencyFeaturesSyncDelivery != null) + 'disableHighLatencyFeaturesSyncDelivery': + disableHighLatencyFeaturesSyncDelivery!, if (featureConfigs != null) 'featureConfigs': featureConfigs!, + if (generators != null) 'generators': generators!, if (groupSuggestionResponses != null) 'groupSuggestionResponses': groupSuggestionResponses!, }; @@ -16966,6 +17852,21 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig { /// KNOWLEDGE_ASSIST. core.bool? enableEventBasedSuggestion; + /// Enable query suggestion only. + /// + /// Supported features: KNOWLEDGE_ASSIST + /// + /// Optional. + core.bool? enableQuerySuggestionOnly; + + /// Enable query suggestion even if we can't find its answer. + /// + /// By default, queries are suggested only if we find its answer. Supported + /// features: KNOWLEDGE_ASSIST + /// + /// Optional. + core.bool? enableQuerySuggestionWhenNoAnswer; + /// Configs of query. GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig? queryConfig; @@ -16985,6 +17886,8 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig { this.disableAgentQueryLogging, this.enableConversationAugmentedQuery, this.enableEventBasedSuggestion, + this.enableQuerySuggestionOnly, + this.enableQuerySuggestionWhenNoAnswer, this.queryConfig, this.suggestionFeature, this.suggestionTriggerSettings, @@ -17016,6 +17919,14 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig { json_.containsKey('enableEventBasedSuggestion') ? json_['enableEventBasedSuggestion'] as core.bool : null, + enableQuerySuggestionOnly: + json_.containsKey('enableQuerySuggestionOnly') + ? json_['enableQuerySuggestionOnly'] as core.bool + : null, + enableQuerySuggestionWhenNoAnswer: + json_.containsKey('enableQuerySuggestionWhenNoAnswer') + ? json_['enableQuerySuggestionWhenNoAnswer'] as core.bool + : null, queryConfig: json_.containsKey('queryConfig') ? GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig .fromJson(json_['queryConfig'] @@ -17045,6 +17956,11 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig { 'enableConversationAugmentedQuery': enableConversationAugmentedQuery!, if (enableEventBasedSuggestion != null) 'enableEventBasedSuggestion': enableEventBasedSuggestion!, + if (enableQuerySuggestionOnly != null) + 'enableQuerySuggestionOnly': enableQuerySuggestionOnly!, + if (enableQuerySuggestionWhenNoAnswer != null) + 'enableQuerySuggestionWhenNoAnswer': + enableQuerySuggestionWhenNoAnswer!, if (queryConfig != null) 'queryConfig': queryConfig!, if (suggestionFeature != null) 'suggestionFeature': suggestionFeature!, if (suggestionTriggerSettings != null) @@ -17412,7 +18328,7 @@ class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings /// Currently, this feature is not general available, please contact Google to /// get access. class GoogleCloudDialogflowV2HumanAgentHandoffConfig { - /// Uses LivePerson (https://www.liveperson.com). + /// Uses [LivePerson](https://www.liveperson.com). GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig? livePersonConfig; @@ -17447,7 +18363,7 @@ class GoogleCloudDialogflowV2HumanAgentHandoffConfig { }; } -/// Configuration specific to LivePerson (https://www.liveperson.com). +/// Configuration specific to [LivePerson](https://www.liveperson.com). class GoogleCloudDialogflowV2HumanAgentHandoffConfigLivePersonConfig { /// Account number of the LivePerson account to connect. /// @@ -17701,6 +18617,79 @@ class GoogleCloudDialogflowV2ImportDocumentsRequest { }; } +/// The parameters of inference. +class GoogleCloudDialogflowV2InferenceParameter { + /// Maximum number of the output tokens for the generator. + /// + /// Optional. + core.int? maxOutputTokens; + + /// Controls the randomness of LLM predictions. + /// + /// Low temperature = less random. High temperature = more random. If unset + /// (or 0), uses a default value of 0. + /// + /// Optional. + core.double? temperature; + + /// Top-k changes how the model selects tokens for output. + /// + /// A top-k of 1 means the selected token is the most probable among all + /// tokens in the model's vocabulary (also called greedy decoding), while a + /// top-k of 3 means that the next token is selected from among the 3 most + /// probable tokens (using temperature). For each token selection step, the + /// top K tokens with the highest probabilities are sampled. Then tokens are + /// further filtered based on topP with the final token selected using + /// temperature sampling. Specify a lower value for less random responses and + /// a higher value for more random responses. Acceptable value is \[1, 40\], + /// default to 40. + /// + /// Optional. + core.int? topK; + + /// Top-p changes how the model selects tokens for output. + /// + /// Tokens are selected from most K (see topK parameter) probable to least + /// until the sum of their probabilities equals the top-p value. For example, + /// if tokens A, B, and C have a probability of 0.3, 0.2, and 0.1 and the + /// top-p value is 0.5, then the model will select either A or B as the next + /// token (using temperature) and doesn't consider C. The default top-p value + /// is 0.95. Specify a lower value for less random responses and a higher + /// value for more random responses. Acceptable value is \[0.0, 1.0\], default + /// to 0.95. + /// + /// Optional. + core.double? topP; + + GoogleCloudDialogflowV2InferenceParameter({ + this.maxOutputTokens, + this.temperature, + this.topK, + this.topP, + }); + + GoogleCloudDialogflowV2InferenceParameter.fromJson(core.Map json_) + : this( + maxOutputTokens: json_.containsKey('maxOutputTokens') + ? json_['maxOutputTokens'] as core.int + : null, + temperature: json_.containsKey('temperature') + ? (json_['temperature'] as core.num).toDouble() + : null, + topK: json_.containsKey('topK') ? json_['topK'] as core.int : null, + topP: json_.containsKey('topP') + ? (json_['topP'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (maxOutputTokens != null) 'maxOutputTokens': maxOutputTokens!, + if (temperature != null) 'temperature': temperature!, + if (topK != null) 'topK': topK!, + if (topP != null) 'topP': topP!, + }; +} + /// Instructs the speech recognizer how to process the audio content. class GoogleCloudDialogflowV2InputAudioConfig { /// Audio encoding of the audio content to process. @@ -19951,6 +20940,209 @@ class GoogleCloudDialogflowV2IntentTrainingPhrasePart { }; } +/// Represents a Knowledge Assist answer. +class GoogleCloudDialogflowV2KnowledgeAssistAnswer { + /// The name of the answer record. + /// + /// Format: `projects//locations//answer Records/`. + core.String? answerRecord; + + /// The query suggested based on the context. + /// + /// Suggestion is made only if it is different from the previous suggestion. + GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery? suggestedQuery; + + /// The answer generated for the suggested query. + /// + /// Whether or not an answer is generated depends on how confident we are + /// about the generated query. + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer? + suggestedQueryAnswer; + + GoogleCloudDialogflowV2KnowledgeAssistAnswer({ + this.answerRecord, + this.suggestedQuery, + this.suggestedQueryAnswer, + }); + + GoogleCloudDialogflowV2KnowledgeAssistAnswer.fromJson(core.Map json_) + : this( + answerRecord: json_.containsKey('answerRecord') + ? json_['answerRecord'] as core.String + : null, + suggestedQuery: json_.containsKey('suggestedQuery') + ? GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery + .fromJson(json_['suggestedQuery'] + as core.Map) + : null, + suggestedQueryAnswer: json_.containsKey('suggestedQueryAnswer') + ? GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer + .fromJson(json_['suggestedQueryAnswer'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (answerRecord != null) 'answerRecord': answerRecord!, + if (suggestedQuery != null) 'suggestedQuery': suggestedQuery!, + if (suggestedQueryAnswer != null) + 'suggestedQueryAnswer': suggestedQueryAnswer!, + }; +} + +/// Represents an answer from Knowledge. +/// +/// Currently supports FAQ and Generative answers. +class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer { + /// The piece of text from the `source` that answers this suggested query. + core.String? answerText; + + /// Populated if the prediction came from FAQ. + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource? + faqSource; + + /// Populated if the prediction was Generative. + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource? + generativeSource; + + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer({ + this.answerText, + this.faqSource, + this.generativeSource, + }); + + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer.fromJson( + core.Map json_) + : this( + answerText: json_.containsKey('answerText') + ? json_['answerText'] as core.String + : null, + faqSource: json_.containsKey('faqSource') + ? GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource + .fromJson( + json_['faqSource'] as core.Map) + : null, + generativeSource: json_.containsKey('generativeSource') + ? GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + .fromJson(json_['generativeSource'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (answerText != null) 'answerText': answerText!, + if (faqSource != null) 'faqSource': faqSource!, + if (generativeSource != null) 'generativeSource': generativeSource!, + }; +} + +/// Details about source of FAQ answer. +class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource { + /// The corresponding FAQ question. + core.String? question; + + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource({ + this.question, + }); + + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource.fromJson( + core.Map json_) + : this( + question: json_.containsKey('question') + ? json_['question'] as core.String + : null, + ); + + core.Map toJson() => { + if (question != null) 'question': question!, + }; +} + +/// Details about source of Generative answer. +class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource { + /// All snippets used for this Generative Prediction, with their source URI + /// and data. + core.List< + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet>? + snippets; + + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource({ + this.snippets, + }); + + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource.fromJson( + core.Map json_) + : this( + snippets: json_.containsKey('snippets') + ? (json_['snippets'] as core.List) + .map((value) => + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (snippets != null) 'snippets': snippets!, + }; +} + +/// Snippet Source for a Generative Prediction. +class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet { + /// Text taken from that URI. + core.String? text; + + /// Title of the document. + core.String? title; + + /// URI the data is sourced from. + core.String? uri; + + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet({ + this.text, + this.title, + this.uri, + }); + + GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet.fromJson( + core.Map json_) + : this( + text: json_.containsKey('text') ? json_['text'] as core.String : null, + title: + json_.containsKey('title') ? json_['title'] as core.String : null, + uri: json_.containsKey('uri') ? json_['uri'] as core.String : null, + ); + + core.Map toJson() => { + if (text != null) 'text': text!, + if (title != null) 'title': title!, + if (uri != null) 'uri': uri!, + }; +} + +/// Represents a suggested query. +class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery { + /// Suggested query text. + core.String? queryText; + + GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery({ + this.queryText, + }); + + GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery.fromJson( + core.Map json_) + : this( + queryText: json_.containsKey('queryText') + ? json_['queryText'] as core.String + : null, + ); + + core.Map toJson() => { + if (queryText != null) 'queryText': queryText!, + }; +} + /// A knowledge base represents a collection of knowledge documents that you /// provide to Dialogflow. /// @@ -20345,16 +21537,49 @@ class GoogleCloudDialogflowV2ListEnvironmentsResponse { /// results in the list. core.String? nextPageToken; - GoogleCloudDialogflowV2ListEnvironmentsResponse({ - this.environments, + GoogleCloudDialogflowV2ListEnvironmentsResponse({ + this.environments, + this.nextPageToken, + }); + + GoogleCloudDialogflowV2ListEnvironmentsResponse.fromJson(core.Map json_) + : this( + environments: json_.containsKey('environments') + ? (json_['environments'] as core.List) + .map((value) => GoogleCloudDialogflowV2Environment.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (environments != null) 'environments': environments!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response of ListGenerators. +class GoogleCloudDialogflowV2ListGeneratorsResponse { + /// List of generators retrieved. + core.List? generators; + + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. + core.String? nextPageToken; + + GoogleCloudDialogflowV2ListGeneratorsResponse({ + this.generators, this.nextPageToken, }); - GoogleCloudDialogflowV2ListEnvironmentsResponse.fromJson(core.Map json_) + GoogleCloudDialogflowV2ListGeneratorsResponse.fromJson(core.Map json_) : this( - environments: json_.containsKey('environments') - ? (json_['environments'] as core.List) - .map((value) => GoogleCloudDialogflowV2Environment.fromJson( + generators: json_.containsKey('generators') + ? (json_['generators'] as core.List) + .map((value) => GoogleCloudDialogflowV2Generator.fromJson( value as core.Map)) .toList() : null, @@ -20364,7 +21589,7 @@ class GoogleCloudDialogflowV2ListEnvironmentsResponse { ); core.Map toJson() => { - if (environments != null) 'environments': environments!, + if (generators != null) 'generators': generators!, if (nextPageToken != null) 'nextPageToken': nextPageToken!, }; } @@ -20764,6 +21989,66 @@ class GoogleCloudDialogflowV2MessageAnnotation { }; } +/// Represents a message entry of a conversation. +class GoogleCloudDialogflowV2MessageEntry { + /// Create time of the message entry. + /// + /// Optional. + core.String? createTime; + + /// The language of the text. + /// + /// See + /// [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) + /// for a list of the currently supported language codes. + /// + /// Optional. + core.String? languageCode; + + /// Participant role of the message. + /// + /// Optional. + /// Possible string values are: + /// - "ROLE_UNSPECIFIED" : Participant role not set. + /// - "HUMAN_AGENT" : Participant is a human agent. + /// - "AUTOMATED_AGENT" : Participant is an automated agent, such as a + /// Dialogflow agent. + /// - "END_USER" : Participant is an end user that has called or chatted with + /// Dialogflow services. + core.String? role; + + /// Transcript content of the message. + /// + /// Optional. + core.String? text; + + GoogleCloudDialogflowV2MessageEntry({ + this.createTime, + this.languageCode, + this.role, + this.text, + }); + + GoogleCloudDialogflowV2MessageEntry.fromJson(core.Map json_) + : this( + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + languageCode: json_.containsKey('languageCode') + ? json_['languageCode'] as core.String + : null, + role: json_.containsKey('role') ? json_['role'] as core.String : null, + text: json_.containsKey('text') ? json_['text'] as core.String : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (languageCode != null) 'languageCode': languageCode!, + if (role != null) 'role': role!, + if (text != null) 'text': text!, + }; +} + /// Defines notification behavior. class GoogleCloudDialogflowV2NotificationConfig { /// Format of message. @@ -21767,7 +23052,7 @@ class GoogleCloudDialogflowV2SearchKnowledgeResponse { /// See: /// https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values /// for how to interpret the result. -typedef GoogleCloudDialogflowV2Sentiment = $Shared11; +typedef GoogleCloudDialogflowV2Sentiment = $Shared10; /// Configures the types of sentiment analysis to perform. class GoogleCloudDialogflowV2SentimentAnalysisRequestConfig { @@ -22573,6 +23858,109 @@ class GoogleCloudDialogflowV2SuggestFaqAnswersResponse { }; } +/// The request message for Participants.SuggestKnowledgeAssist. +class GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest { + /// Max number of messages prior to and including latest_message to use as + /// context when compiling the suggestion. + /// + /// The context size is by default 100 and at most 100. + /// + /// Optional. + core.int? contextSize; + + /// The name of the latest conversation message to compile suggestions for. + /// + /// If empty, it will be the latest message of the conversation. Format: + /// `projects//locations//conversations//messages/`. + /// + /// Optional. + core.String? latestMessage; + + /// The previously suggested query for the given conversation. + /// + /// This helps identify whether the next suggestion we generate is resonably + /// different from the previous one. This is useful to avoid similar + /// suggestions within the conversation. + /// + /// Optional. + core.String? previousSuggestedQuery; + + GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest({ + this.contextSize, + this.latestMessage, + this.previousSuggestedQuery, + }); + + GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest.fromJson(core.Map json_) + : this( + contextSize: json_.containsKey('contextSize') + ? json_['contextSize'] as core.int + : null, + latestMessage: json_.containsKey('latestMessage') + ? json_['latestMessage'] as core.String + : null, + previousSuggestedQuery: json_.containsKey('previousSuggestedQuery') + ? json_['previousSuggestedQuery'] as core.String + : null, + ); + + core.Map toJson() => { + if (contextSize != null) 'contextSize': contextSize!, + if (latestMessage != null) 'latestMessage': latestMessage!, + if (previousSuggestedQuery != null) + 'previousSuggestedQuery': previousSuggestedQuery!, + }; +} + +/// The response message for Participants.SuggestKnowledgeAssist. +class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse { + /// Number of messages prior to and including latest_message to compile the + /// suggestion. + /// + /// It may be smaller than the SuggestKnowledgeAssistRequest.context_size + /// field in the request if there are fewer messages in the conversation. + core.int? contextSize; + + /// Knowledge Assist suggestion. + /// + /// Output only. + GoogleCloudDialogflowV2KnowledgeAssistAnswer? knowledgeAssistAnswer; + + /// The name of the latest conversation message used to compile suggestion + /// for. + /// + /// Format: `projects//locations//conversations//messages/`. + core.String? latestMessage; + + GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse({ + this.contextSize, + this.knowledgeAssistAnswer, + this.latestMessage, + }); + + GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse.fromJson(core.Map json_) + : this( + contextSize: json_.containsKey('contextSize') + ? json_['contextSize'] as core.int + : null, + knowledgeAssistAnswer: json_.containsKey('knowledgeAssistAnswer') + ? GoogleCloudDialogflowV2KnowledgeAssistAnswer.fromJson( + json_['knowledgeAssistAnswer'] + as core.Map) + : null, + latestMessage: json_.containsKey('latestMessage') + ? json_['latestMessage'] as core.String + : null, + ); + + core.Map toJson() => { + if (contextSize != null) 'contextSize': contextSize!, + if (knowledgeAssistAnswer != null) + 'knowledgeAssistAnswer': knowledgeAssistAnswer!, + if (latestMessage != null) 'latestMessage': latestMessage!, + }; +} + /// The request message for Participants.SuggestSmartReplies. class GoogleCloudDialogflowV2SuggestSmartRepliesRequest { /// Max number of messages prior to and including \[latest_message\] to use as @@ -22687,6 +24075,8 @@ class GoogleCloudDialogflowV2SuggestionFeature { /// - "SMART_REPLY" : Run smart reply model for chat. /// - "KNOWLEDGE_SEARCH" : Run knowledge search with text input from agent or /// text generated query. + /// - "KNOWLEDGE_ASSIST" : Run knowledge assist with automatic query + /// generation. core.String? type; GoogleCloudDialogflowV2SuggestionFeature({ @@ -22743,6 +24133,10 @@ class GoogleCloudDialogflowV2SuggestionResult { /// SuggestFaqAnswersResponse if request is for FAQ_ANSWER. GoogleCloudDialogflowV2SuggestFaqAnswersResponse? suggestFaqAnswersResponse; + /// SuggestKnowledgeAssistResponse if request is for KNOWLEDGE_ASSIST. + GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse? + suggestKnowledgeAssistResponse; + /// SuggestSmartRepliesResponse if request is for SMART_REPLY. GoogleCloudDialogflowV2SuggestSmartRepliesResponse? suggestSmartRepliesResponse; @@ -22751,6 +24145,7 @@ class GoogleCloudDialogflowV2SuggestionResult { this.error, this.suggestArticlesResponse, this.suggestFaqAnswersResponse, + this.suggestKnowledgeAssistResponse, this.suggestSmartRepliesResponse, }); @@ -22771,6 +24166,12 @@ class GoogleCloudDialogflowV2SuggestionResult { json_['suggestFaqAnswersResponse'] as core.Map) : null, + suggestKnowledgeAssistResponse: json_ + .containsKey('suggestKnowledgeAssistResponse') + ? GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse.fromJson( + json_['suggestKnowledgeAssistResponse'] + as core.Map) + : null, suggestSmartRepliesResponse: json_.containsKey('suggestSmartRepliesResponse') ? GoogleCloudDialogflowV2SuggestSmartRepliesResponse.fromJson( @@ -22785,11 +24186,232 @@ class GoogleCloudDialogflowV2SuggestionResult { 'suggestArticlesResponse': suggestArticlesResponse!, if (suggestFaqAnswersResponse != null) 'suggestFaqAnswersResponse': suggestFaqAnswersResponse!, + if (suggestKnowledgeAssistResponse != null) + 'suggestKnowledgeAssistResponse': suggestKnowledgeAssistResponse!, if (suggestSmartRepliesResponse != null) 'suggestSmartRepliesResponse': suggestSmartRepliesResponse!, }; } +/// Summarization context that customer can configure. +class GoogleCloudDialogflowV2SummarizationContext { + /// List of few shot examples. + /// + /// Optional. + core.List? fewShotExamples; + + /// The target language of the generated summary. + /// + /// The language code for conversation will be used if this field is empty. + /// Supported 2.0 and later versions. + /// + /// Optional. + core.String? outputLanguageCode; + + /// List of sections. + /// + /// Note it contains both predefined section sand customer defined sections. + /// + /// Optional. + core.List? summarizationSections; + + /// Version of the feature. + /// + /// If not set, default to latest version. Current candidates are \["1.0"\]. + /// + /// Optional. + core.String? version; + + GoogleCloudDialogflowV2SummarizationContext({ + this.fewShotExamples, + this.outputLanguageCode, + this.summarizationSections, + this.version, + }); + + GoogleCloudDialogflowV2SummarizationContext.fromJson(core.Map json_) + : this( + fewShotExamples: json_.containsKey('fewShotExamples') + ? (json_['fewShotExamples'] as core.List) + .map((value) => + GoogleCloudDialogflowV2FewShotExample.fromJson( + value as core.Map)) + .toList() + : null, + outputLanguageCode: json_.containsKey('outputLanguageCode') + ? json_['outputLanguageCode'] as core.String + : null, + summarizationSections: json_.containsKey('summarizationSections') + ? (json_['summarizationSections'] as core.List) + .map((value) => + GoogleCloudDialogflowV2SummarizationSection.fromJson( + value as core.Map)) + .toList() + : null, + version: json_.containsKey('version') + ? json_['version'] as core.String + : null, + ); + + core.Map toJson() => { + if (fewShotExamples != null) 'fewShotExamples': fewShotExamples!, + if (outputLanguageCode != null) + 'outputLanguageCode': outputLanguageCode!, + if (summarizationSections != null) + 'summarizationSections': summarizationSections!, + if (version != null) 'version': version!, + }; +} + +/// Represents the section of summarization. +class GoogleCloudDialogflowV2SummarizationSection { + /// Definition of the section, for example, "what the customer needs help with + /// or has question about." + /// + /// Optional. + core.String? definition; + + /// Name of the section, for example, "situation". + /// + /// Optional. + core.String? key; + + /// Type of the summarization section. + /// + /// Optional. + /// Possible string values are: + /// - "TYPE_UNSPECIFIED" : Undefined section type, does not return anything. + /// - "SITUATION" : What the customer needs help with or has question about. + /// Section name: "situation". + /// - "ACTION" : What the agent does to help the customer. Section name: + /// "action". + /// - "RESOLUTION" : Result of the customer service. A single word describing + /// the result of the conversation. Section name: "resolution". + /// - "REASON_FOR_CANCELLATION" : Reason for cancellation if the customer + /// requests for a cancellation. "N/A" otherwise. Section name: + /// "reason_for_cancellation". + /// - "CUSTOMER_SATISFACTION" : "Unsatisfied" or "Satisfied" depending on the + /// customer's feelings at the end of the conversation. Section name: + /// "customer_satisfaction". + /// - "ENTITIES" : Key entities extracted from the conversation, such as + /// ticket number, order number, dollar amount, etc. Section names are + /// prefixed by "entities/". + /// - "CUSTOMER_DEFINED" : Customer defined sections. + core.String? type; + + GoogleCloudDialogflowV2SummarizationSection({ + this.definition, + this.key, + this.type, + }); + + GoogleCloudDialogflowV2SummarizationSection.fromJson(core.Map json_) + : this( + definition: json_.containsKey('definition') + ? json_['definition'] as core.String + : null, + key: json_.containsKey('key') ? json_['key'] as core.String : null, + type: json_.containsKey('type') ? json_['type'] as core.String : null, + ); + + core.Map toJson() => { + if (definition != null) 'definition': definition!, + if (key != null) 'key': key!, + if (type != null) 'type': type!, + }; +} + +/// List of summarization sections. +class GoogleCloudDialogflowV2SummarizationSectionList { + /// Summarization sections. + /// + /// Optional. + core.List? summarizationSections; + + GoogleCloudDialogflowV2SummarizationSectionList({ + this.summarizationSections, + }); + + GoogleCloudDialogflowV2SummarizationSectionList.fromJson(core.Map json_) + : this( + summarizationSections: json_.containsKey('summarizationSections') + ? (json_['summarizationSections'] as core.List) + .map((value) => + GoogleCloudDialogflowV2SummarizationSection.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (summarizationSections != null) + 'summarizationSections': summarizationSections!, + }; +} + +/// Suggested summary of the conversation. +class GoogleCloudDialogflowV2SummarySuggestion { + /// All the parts of generated summary. + /// + /// Required. + core.List? + summarySections; + + GoogleCloudDialogflowV2SummarySuggestion({ + this.summarySections, + }); + + GoogleCloudDialogflowV2SummarySuggestion.fromJson(core.Map json_) + : this( + summarySections: json_.containsKey('summarySections') + ? (json_['summarySections'] as core.List) + .map((value) => + GoogleCloudDialogflowV2SummarySuggestionSummarySection + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (summarySections != null) 'summarySections': summarySections!, + }; +} + +/// A component of the generated summary. +class GoogleCloudDialogflowV2SummarySuggestionSummarySection { + /// Name of the section. + /// + /// Required. + core.String? section; + + /// Summary text for the section. + /// + /// Required. + core.String? summary; + + GoogleCloudDialogflowV2SummarySuggestionSummarySection({ + this.section, + this.summary, + }); + + GoogleCloudDialogflowV2SummarySuggestionSummarySection.fromJson( + core.Map json_) + : this( + section: json_.containsKey('section') + ? json_['section'] as core.String + : null, + summary: json_.containsKey('summary') + ? json_['summary'] as core.String + : null, + ); + + core.Map toJson() => { + if (section != null) 'section': section!, + if (summary != null) 'summary': summary!, + }; +} + /// Configuration of how speech should be synthesized. class GoogleCloudDialogflowV2SynthesizeSpeechConfig { /// An identifier which selects 'audio effects' profiles that are applied on diff --git a/generated/googleapis/lib/dialogflow/v3.dart b/generated/googleapis/lib/dialogflow/v3.dart index 6d4066aeb..b961171c7 100644 --- a/generated/googleapis/lib/dialogflow/v3.dart +++ b/generated/googleapis/lib/dialogflow/v3.dart @@ -6909,10 +6909,10 @@ class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings { /// Define behaviors on logging. class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings { - /// If true, DF Interaction logging is currently enabled. + /// Enables DF Interaction logging. core.bool? enableInteractionLogging; - /// If true, StackDriver logging is currently enabled. + /// Enables StackDriver logging. core.bool? enableStackdriverLogging; GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings({ @@ -15356,7 +15356,7 @@ class GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings { /// Sentiment analysis inspects user input and identifies the prevailing /// subjective opinion, especially to determine a user's attitude as positive, /// negative, or neutral. -typedef GoogleCloudDialogflowCxV3SentimentAnalysisResult = $Shared11; +typedef GoogleCloudDialogflowCxV3SentimentAnalysisResult = $Shared10; /// Session entity types are referred to as **User** entity types and are /// entities that are built for an individual user such as favorites, diff --git a/generated/googleapis/lib/displayvideo/v2.dart b/generated/googleapis/lib/displayvideo/v2.dart index bb4ee4787..b34403960 100644 --- a/generated/googleapis/lib/displayvideo/v2.dart +++ b/generated/googleapis/lib/displayvideo/v2.dart @@ -23276,6 +23276,11 @@ class ReviewStatusInfo { core.List? exchangeReviewStatuses; /// Publisher review statuses for the creative. + /// + /// **Warning:** This field will be deprecated on June 26th, 2024. After this + /// date, this field will be empty. Read our \[feature deprecation + /// announcement\](/display-video/api/deprecations#features.creative_publisher_review_statuses) + /// for more information. core.List? publisherReviewStatuses; ReviewStatusInfo({ diff --git a/generated/googleapis/lib/displayvideo/v3.dart b/generated/googleapis/lib/displayvideo/v3.dart index f604ca145..f4f95d5e4 100644 --- a/generated/googleapis/lib/displayvideo/v3.dart +++ b/generated/googleapis/lib/displayvideo/v3.dart @@ -23705,6 +23705,11 @@ class ReviewStatusInfo { core.List? exchangeReviewStatuses; /// Publisher review statuses for the creative. + /// + /// **Warning:** This field will be deprecated on June 26th, 2024. After this + /// date, this field will be empty. Read our \[feature deprecation + /// announcement\](/display-video/api/deprecations#features.creative_publisher_review_statuses) + /// for more information. core.List? publisherReviewStatuses; ReviewStatusInfo({ diff --git a/generated/googleapis/lib/dns/v1.dart b/generated/googleapis/lib/dns/v1.dart index 3d2132af1..89d0d202e 100644 --- a/generated/googleapis/lib/dns/v1.dart +++ b/generated/googleapis/lib/dns/v1.dart @@ -2231,14 +2231,14 @@ class ResponsePolicyRulesResource { } } -/// A Change represents a set of ResourceRecordSet additions and deletions +/// A Change represents a set of `ResourceRecordSet` additions and deletions /// applied atomically to a ManagedZone. /// /// ResourceRecordSets within a ManagedZone are modified by creating a new /// Change element in the Changes collection. In turn the Changes collection -/// also records the past modifications to the ResourceRecordSets in a -/// ManagedZone. The current state of the ManagedZone is the sum effect of -/// applying all Change elements in the Changes collection in sequence. +/// also records the past modifications to the `ResourceRecordSets` in a +/// `ManagedZone`. The current state of the `ManagedZone` is the sum effect of +/// applying all `Change` elements in the `Changes` collection in sequence. class Change { /// Which ResourceRecordSets to add? core.List? additions; @@ -2320,26 +2320,24 @@ class Change { class ChangesListResponse { /// The requested changes. core.List? changes; - ResponseHeader? header; /// Type of resource. core.String? kind; - /// The presence of this field indicates that there exist more results - /// following your last page of results in pagination order. + /// This field indicates that more results are available beyond the last page + /// displayed. /// - /// To fetch them, make another list request using this value as your - /// pagination token. This lets you retrieve the complete contents of even - /// very large collections one page at a time. However, if the contents of the - /// collection change between the first and last paginated list request, the - /// set of all elements returned are an inconsistent view of the collection. - /// You cannot retrieve a "snapshot" of collections larger than the maximum + /// To fetch the results, make another list request and use this value as your + /// page token. This lets you retrieve the complete contents of a very large + /// collection one page at a time. However, if the contents of the collection + /// change between the first and last paginated list request, the set of all + /// elements returned are an inconsistent view of the collection. You can't + /// retrieve a consistent snapshot of a collection larger than the maximum /// page size. core.String? nextPageToken; ChangesListResponse({ this.changes, - this.header, this.kind, this.nextPageToken, }); @@ -2352,10 +2350,6 @@ class ChangesListResponse { value as core.Map)) .toList() : null, - header: json_.containsKey('header') - ? ResponseHeader.fromJson( - json_['header'] as core.Map) - : null, kind: json_.containsKey('kind') ? json_['kind'] as core.String : null, nextPageToken: json_.containsKey('nextPageToken') ? json_['nextPageToken'] as core.String @@ -2364,7 +2358,6 @@ class ChangesListResponse { core.Map toJson() => { if (changes != null) 'changes': changes!, - if (header != null) 'header': header!, if (kind != null) 'kind': kind!, if (nextPageToken != null) 'nextPageToken': nextPageToken!, }; @@ -2600,26 +2593,24 @@ class DnsKeySpec { class DnsKeysListResponse { /// The requested resources. core.List? dnsKeys; - ResponseHeader? header; /// Type of resource. core.String? kind; - /// The presence of this field indicates that there exist more results - /// following your last page of results in pagination order. + /// This field indicates that more results are available beyond the last page + /// displayed. /// - /// To fetch them, make another list request using this value as your - /// pagination token. In this way you can retrieve the complete contents of - /// even very large collections one page at a time. However, if the contents - /// of the collection change between the first and last paginated list - /// request, the set of all elements returned are an inconsistent view of the - /// collection. There is no way to retrieve a "snapshot" of collections larger - /// than the maximum page size. + /// To fetch the results, make another list request and use this value as your + /// page token. This lets you retrieve the complete contents of a very large + /// collection one page at a time. However, if the contents of the collection + /// change between the first and last paginated list request, the set of all + /// elements returned are an inconsistent view of the collection. You can't + /// retrieve a consistent snapshot of a collection larger than the maximum + /// page size. core.String? nextPageToken; DnsKeysListResponse({ this.dnsKeys, - this.header, this.kind, this.nextPageToken, }); @@ -2632,10 +2623,6 @@ class DnsKeysListResponse { value as core.Map)) .toList() : null, - header: json_.containsKey('header') - ? ResponseHeader.fromJson( - json_['header'] as core.Map) - : null, kind: json_.containsKey('kind') ? json_['kind'] as core.String : null, nextPageToken: json_.containsKey('nextPageToken') ? json_['nextPageToken'] as core.String @@ -2644,7 +2631,6 @@ class DnsKeysListResponse { core.Map toJson() => { if (dnsKeys != null) 'dnsKeys': dnsKeys!, - if (header != null) 'header': header!, if (kind != null) 'kind': kind!, if (nextPageToken != null) 'nextPageToken': nextPageToken!, }; @@ -3107,8 +3093,11 @@ class ManagedZone { /// The zone's visibility: public zones are exposed to the Internet, while /// private zones are visible only to Virtual Private Cloud resources. /// Possible string values are: - /// - "public" - /// - "private" + /// - "public" : Indicates that records in this zone can be queried from the + /// public internet. + /// - "private" : Indicates that records in this zone cannot be queried from + /// the public internet. Access to private zones depends on the zone + /// configuration. core.String? visibility; ManagedZone({ @@ -3261,8 +3250,12 @@ class ManagedZoneDnsSecConfig { /// /// Can only be changed while the state is OFF. /// Possible string values are: - /// - "nsec" - /// - "nsec3" + /// - "nsec" : Indicates that Cloud DNS will sign records in the managed zone + /// according to RFC 4034 and respond with NSEC records for names that do not + /// exist. + /// - "nsec3" : Indicates that Cloud DNS will sign records in the managed zone + /// according to RFC 5155 and respond with NSEC3 records for names that do not + /// exist. core.String? nonExistence; /// Specifies whether DNSSEC is enabled, and what mode it is in. @@ -3389,19 +3382,17 @@ class ManagedZoneForwardingConfigNameServerTarget { } class ManagedZoneOperationsListResponse { - ResponseHeader? header; - /// Type of resource. core.String? kind; - /// The presence of this field indicates that there exist more results - /// following your last page of results in pagination order. + /// This field indicates that more results are available beyond the last page + /// displayed. /// - /// To fetch them, make another list request using this value as your page - /// token. This lets you retrieve the complete contents of even very large - /// collections one page at a time. However, if the contents of the collection + /// To fetch the results, make another list request and use this value as your + /// page token. This lets you retrieve the complete contents of a very large + /// collection one page at a time. However, if the contents of the collection /// change between the first and last paginated list request, the set of all - /// elements returned are an inconsistent view of the collection. You cannot + /// elements returned are an inconsistent view of the collection. You can't /// retrieve a consistent snapshot of a collection larger than the maximum /// page size. core.String? nextPageToken; @@ -3410,7 +3401,6 @@ class ManagedZoneOperationsListResponse { core.List? operations; ManagedZoneOperationsListResponse({ - this.header, this.kind, this.nextPageToken, this.operations, @@ -3418,10 +3408,6 @@ class ManagedZoneOperationsListResponse { ManagedZoneOperationsListResponse.fromJson(core.Map json_) : this( - header: json_.containsKey('header') - ? ResponseHeader.fromJson( - json_['header'] as core.Map) - : null, kind: json_.containsKey('kind') ? json_['kind'] as core.String : null, nextPageToken: json_.containsKey('nextPageToken') ? json_['nextPageToken'] as core.String @@ -3435,7 +3421,6 @@ class ManagedZoneOperationsListResponse { ); core.Map toJson() => { - if (header != null) 'header': header!, if (kind != null) 'kind': kind!, if (nextPageToken != null) 'nextPageToken': nextPageToken!, if (operations != null) 'operations': operations!, @@ -3481,7 +3466,7 @@ class ManagedZonePeeringConfigTargetNetwork { /// The fully qualified URL of the VPC network to forward queries to. /// /// This should be formatted like - /// https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} + /// `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}` core.String? networkUrl; ManagedZonePeeringConfigTargetNetwork({ @@ -3583,7 +3568,7 @@ class ManagedZonePrivateVisibilityConfigNetwork { /// The fully qualified URL of the VPC network to bind to. /// /// Format this URL like - /// https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} + /// `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}` core.String? networkUrl; ManagedZonePrivateVisibilityConfigNetwork({ @@ -3660,7 +3645,7 @@ class ManagedZoneServiceDirectoryConfigNamespace { /// The fully qualified URL of the namespace associated with the zone. /// /// Format must be - /// https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace} + /// `https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}` core.String? namespaceUrl; ManagedZoneServiceDirectoryConfigNamespace({ @@ -3688,27 +3673,25 @@ class ManagedZoneServiceDirectoryConfigNamespace { } class ManagedZonesListResponse { - ResponseHeader? header; - /// Type of resource. core.String? kind; /// The managed zone resources. core.List? managedZones; - /// The presence of this field indicates that there exist more results - /// following your last page of results in pagination order. + /// This field indicates that more results are available beyond the last page + /// displayed. /// - /// To fetch them, make another list request using this value as your page - /// token. This lets you the complete contents of even very large collections - /// one page at a time. However, if the contents of the collection change - /// between the first and last paginated list request, the set of all elements - /// returned are an inconsistent view of the collection. You cannot retrieve a - /// consistent snapshot of a collection larger than the maximum page size. + /// To fetch the results, make another list request and use this value as your + /// page token. This lets you retrieve the complete contents of a very large + /// collection one page at a time. However, if the contents of the collection + /// change between the first and last paginated list request, the set of all + /// elements returned are an inconsistent view of the collection. You can't + /// retrieve a consistent snapshot of a collection larger than the maximum + /// page size. core.String? nextPageToken; ManagedZonesListResponse({ - this.header, this.kind, this.managedZones, this.nextPageToken, @@ -3716,10 +3699,6 @@ class ManagedZonesListResponse { ManagedZonesListResponse.fromJson(core.Map json_) : this( - header: json_.containsKey('header') - ? ResponseHeader.fromJson( - json_['header'] as core.Map) - : null, kind: json_.containsKey('kind') ? json_['kind'] as core.String : null, managedZones: json_.containsKey('managedZones') ? (json_['managedZones'] as core.List) @@ -3733,7 +3712,6 @@ class ManagedZonesListResponse { ); core.Map toJson() => { - if (header != null) 'header': header!, if (kind != null) 'kind': kind!, if (managedZones != null) 'managedZones': managedZones!, if (nextPageToken != null) 'nextPageToken': nextPageToken!, @@ -3894,27 +3872,25 @@ class OperationManagedZoneContext { } class PoliciesListResponse { - ResponseHeader? header; - /// Type of resource. core.String? kind; - /// The presence of this field indicates that there exist more results - /// following your last page of results in pagination order. + /// This field indicates that more results are available beyond the last page + /// displayed. /// - /// To fetch them, make another list request using this value as your page - /// token. This lets you the complete contents of even very large collections - /// one page at a time. However, if the contents of the collection change - /// between the first and last paginated list request, the set of all elements - /// returned are an inconsistent view of the collection. You cannot retrieve a - /// consistent snapshot of a collection larger than the maximum page size. + /// To fetch the results, make another list request and use this value as your + /// page token. This lets you retrieve the complete contents of a very large + /// collection one page at a time. However, if the contents of the collection + /// change between the first and last paginated list request, the set of all + /// elements returned are an inconsistent view of the collection. You can't + /// retrieve a consistent snapshot of a collection larger than the maximum + /// page size. core.String? nextPageToken; /// The policy resources. core.List? policies; PoliciesListResponse({ - this.header, this.kind, this.nextPageToken, this.policies, @@ -3922,10 +3898,6 @@ class PoliciesListResponse { PoliciesListResponse.fromJson(core.Map json_) : this( - header: json_.containsKey('header') - ? ResponseHeader.fromJson( - json_['header'] as core.Map) - : null, kind: json_.containsKey('kind') ? json_['kind'] as core.String : null, nextPageToken: json_.containsKey('nextPageToken') ? json_['nextPageToken'] as core.String @@ -3939,7 +3911,6 @@ class PoliciesListResponse { ); core.Map toJson() => { - if (header != null) 'header': header!, if (kind != null) 'kind': kind!, if (nextPageToken != null) 'nextPageToken': nextPageToken!, if (policies != null) 'policies': policies!, @@ -3947,20 +3918,14 @@ class PoliciesListResponse { } class PoliciesPatchResponse { - ResponseHeader? header; Policy? policy; PoliciesPatchResponse({ - this.header, this.policy, }); PoliciesPatchResponse.fromJson(core.Map json_) : this( - header: json_.containsKey('header') - ? ResponseHeader.fromJson( - json_['header'] as core.Map) - : null, policy: json_.containsKey('policy') ? Policy.fromJson( json_['policy'] as core.Map) @@ -3968,26 +3933,19 @@ class PoliciesPatchResponse { ); core.Map toJson() => { - if (header != null) 'header': header!, if (policy != null) 'policy': policy!, }; } class PoliciesUpdateResponse { - ResponseHeader? header; Policy? policy; PoliciesUpdateResponse({ - this.header, this.policy, }); PoliciesUpdateResponse.fromJson(core.Map json_) : this( - header: json_.containsKey('header') - ? ResponseHeader.fromJson( - json_['header'] as core.Map) - : null, policy: json_.containsKey('policy') ? Policy.fromJson( json_['policy'] as core.Map) @@ -3995,7 +3953,6 @@ class PoliciesUpdateResponse { ); core.Map toJson() => { - if (header != null) 'header': header!, if (policy != null) 'policy': policy!, }; } @@ -4210,7 +4167,7 @@ class PolicyNetwork { /// A project resource. /// /// The project is a top level container for resources including Cloud DNS -/// ManagedZones. Projects can be created only in the APIs console. Next tag: 7. +/// ManagedZones. Projects can be created only in the APIs console. class Project { /// User assigned unique identifier for the resource (output only). core.String? id; @@ -4543,8 +4500,8 @@ class RRSetRoutingPolicy { }; } -/// Configures a RRSetRoutingPolicy that routes based on the geo location of the -/// querying user. +/// Configures a `RRSetRoutingPolicy` that routes based on the geo location of +/// the querying user. class RRSetRoutingPolicyGeoPolicy { /// Without fencing, if health check fails for all configured items in the /// current geo bucket, we failover to the next nearest geo bucket. @@ -4596,7 +4553,7 @@ class RRSetRoutingPolicyGeoPolicyGeoPolicyItem { /// For A and AAAA types only. /// /// Endpoints to return in the query result only if they are healthy. These - /// can be specified along with rrdata within this item. + /// can be specified along with `rrdata` within this item. RRSetRoutingPolicyHealthCheckTargets? healthCheckedTargets; core.String? kind; @@ -4607,7 +4564,7 @@ class RRSetRoutingPolicyGeoPolicyGeoPolicyItem { core.String? location; core.List? rrdatas; - /// DNSSEC generated signatures for all the rrdata within this item. + /// DNSSEC generated signatures for all the `rrdata` within this item. /// /// If health checked targets are provided for DNSSEC enabled zones, there's a /// restriction of 1 IP address per item. @@ -4657,8 +4614,7 @@ class RRSetRoutingPolicyGeoPolicyGeoPolicyItem { /// HealthCheckTargets describes endpoints to health-check when responding to /// Routing Policy queries. /// -/// Only the healthy endpoints will be included in the response. Only one of -/// internal_load_balancer and external_endpoints should be set. +/// Only the healthy endpoints will be included in the response. class RRSetRoutingPolicyHealthCheckTargets { /// Configuration for internal load balancers to be health checked. core.List? internalLoadBalancers; @@ -4691,8 +4647,8 @@ class RRSetRoutingPolicyLoadBalancerTarget { /// The protocol of the load balancer to health check. /// Possible string values are: /// - "undefined" - /// - "tcp" - /// - "udp" + /// - "tcp" : Indicates the load balancer is accessible via TCP. + /// - "udp" : Indicates the load balancer is accessible via UDP. core.String? ipProtocol; core.String? kind; @@ -4706,17 +4662,19 @@ class RRSetRoutingPolicyLoadBalancerTarget { /// Balancer. /// Possible string values are: /// - "none" - /// - "globalL7ilb" - /// - "regionalL4ilb" - /// - "regionalL7ilb" + /// - "globalL7ilb" : Indicates the load balancer is a Cross-Region + /// Application Load Balancer. + /// - "regionalL4ilb" : Indicates the load balancer is a Regional Network + /// Passthrough Load Balancer. + /// - "regionalL7ilb" : Indicates the load balancer is a Regional Application + /// Load Balancer. core.String? loadBalancerType; /// The fully qualified URL of the network that the load balancer is attached /// to. /// /// This should be formatted like - /// https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} - /// . + /// `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`. core.String? networkUrl; /// The configured port of the load balancer. @@ -4784,7 +4742,7 @@ class RRSetRoutingPolicyPrimaryBackupPolicy { /// Backup targets provide a regional failover policy for the otherwise global /// primary targets. /// - /// If serving state is set to BACKUP, this policy essentially becomes a geo + /// If serving state is set to `BACKUP`, this policy essentially becomes a geo /// routing policy. RRSetRoutingPolicyGeoPolicy? backupGeoTargets; core.String? kind; @@ -4792,11 +4750,11 @@ class RRSetRoutingPolicyPrimaryBackupPolicy { /// Endpoints that are health checked before making the routing decision. /// /// Unhealthy endpoints are omitted from the results. If all endpoints are - /// unhealthy, we serve a response based on the backup_geo_targets. + /// unhealthy, we serve a response based on the `backup_geo_targets`. RRSetRoutingPolicyHealthCheckTargets? primaryTargets; - /// When serving state is PRIMARY, this field provides the option of sending a - /// small percentage of the traffic to the backup targets. + /// When serving state is `PRIMARY`, this field provides the option of sending + /// a small percentage of the traffic to the backup targets. core.double? trickleTraffic; RRSetRoutingPolicyPrimaryBackupPolicy({ @@ -4867,21 +4825,21 @@ class RRSetRoutingPolicyWrrPolicyWrrPolicyItem { /// The unhealthy endpoints are omitted from the result. If all endpoints /// within a bucket are unhealthy, we choose a different bucket (sampled with /// respect to its weight) for responding. If DNSSEC is enabled for this zone, - /// only one of rrdata or health_checked_targets can be set. + /// only one of `rrdata` or `health_checked_targets` can be set. RRSetRoutingPolicyHealthCheckTargets? healthCheckedTargets; core.String? kind; core.List? rrdatas; - /// DNSSEC generated signatures for all the rrdata within this item. + /// DNSSEC generated signatures for all the `rrdata` within this item. /// /// Note that if health checked targets are provided for DNSSEC enabled zones, /// there's a restriction of 1 IP address per item. core.List? signatureRrdatas; - /// The weight corresponding to this WrrPolicyItem object. + /// The weight corresponding to this `WrrPolicyItem` object. /// - /// When multiple WrrPolicyItem objects are configured, the probability of - /// returning an WrrPolicyItem object's data is proportional to its weight + /// When multiple `WrrPolicyItem` objects are configured, the probability of + /// returning an `WrrPolicyItem` object's data is proportional to its weight /// relative to the sum of weights configured for all items. This weight must /// be non-negative. core.double? weight; @@ -4937,8 +4895,8 @@ class ResourceRecordSet { /// Configures dynamic query responses based on either the geo location of the /// querying user or a weighted round robin based routing policy. /// - /// A valid ResourceRecordSet contains only rrdata (for static resolution) or - /// a routing_policy (for dynamic resolution). + /// A valid `ResourceRecordSet` contains only `rrdata` (for static resolution) + /// or a `routing_policy` (for dynamic resolution). RRSetRoutingPolicy? routingPolicy; /// As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see @@ -4948,7 +4906,8 @@ class ResourceRecordSet { /// As defined in RFC 4034 (section 3.2). core.List? signatureRrdatas; - /// Number of seconds that this ResourceRecordSet can be cached by resolvers. + /// Number of seconds that this `ResourceRecordSet` can be cached by + /// resolvers. core.int? ttl; /// The identifier of a supported record type. @@ -5002,27 +4961,25 @@ class ResourceRecordSet { typedef ResourceRecordSetsDeleteResponse = $Empty; class ResourceRecordSetsListResponse { - ResponseHeader? header; - /// Type of resource. core.String? kind; - /// The presence of this field indicates that there exist more results - /// following your last page of results in pagination order. + /// This field indicates that more results are available beyond the last page + /// displayed. /// - /// To fetch them, make another list request using this value as your - /// pagination token. This lets you retrieve the complete contents of even - /// larger collections, one page at a time. However, if the collection changes - /// between paginated list requests, the set of elements returned is an - /// inconsistent view of the collection. You cannot retrieve a consistent - /// snapshot of a collection larger than the maximum page size. + /// To fetch the results, make another list request and use this value as your + /// page token. This lets you retrieve the complete contents of a very large + /// collection one page at a time. However, if the contents of the collection + /// change between the first and last paginated list request, the set of all + /// elements returned are an inconsistent view of the collection. You can't + /// retrieve a consistent snapshot of a collection larger than the maximum + /// page size. core.String? nextPageToken; /// The resource record set resources. core.List? rrsets; ResourceRecordSetsListResponse({ - this.header, this.kind, this.nextPageToken, this.rrsets, @@ -5030,10 +4987,6 @@ class ResourceRecordSetsListResponse { ResourceRecordSetsListResponse.fromJson(core.Map json_) : this( - header: json_.containsKey('header') - ? ResponseHeader.fromJson( - json_['header'] as core.Map) - : null, kind: json_.containsKey('kind') ? json_['kind'] as core.String : null, nextPageToken: json_.containsKey('nextPageToken') ? json_['nextPageToken'] as core.String @@ -5047,48 +5000,21 @@ class ResourceRecordSetsListResponse { ); core.Map toJson() => { - if (header != null) 'header': header!, if (kind != null) 'kind': kind!, if (nextPageToken != null) 'nextPageToken': nextPageToken!, if (rrsets != null) 'rrsets': rrsets!, }; } -/// Elements common to every response. -class ResponseHeader { - /// For mutating operation requests that completed successfully. - /// - /// This is the client_operation_id if the client specified it, otherwise it - /// is generated by the server (output only). - core.String? operationId; - - ResponseHeader({ - this.operationId, - }); - - ResponseHeader.fromJson(core.Map json_) - : this( - operationId: json_.containsKey('operationId') - ? json_['operationId'] as core.String - : null, - ); - - core.Map toJson() => { - if (operationId != null) 'operationId': operationId!, - }; -} - class ResponsePoliciesListResponse { - ResponseHeader? header; - - /// The presence of this field indicates that more results exist following - /// your last page of results in pagination order. + /// This field indicates that more results are available beyond the last page + /// displayed. /// - /// To fetch them, make another list request by using this value as your page - /// token. This lets you view the complete contents of even very large - /// collections one page at a time. However, if the contents of the collection + /// To fetch the results, make another list request and use this value as your + /// page token. This lets you retrieve the complete contents of a very large + /// collection one page at a time. However, if the contents of the collection /// change between the first and last paginated list request, the set of all - /// elements returned are an inconsistent view of the collection. You cannot + /// elements returned are an inconsistent view of the collection. You can't /// retrieve a consistent snapshot of a collection larger than the maximum /// page size. core.String? nextPageToken; @@ -5097,17 +5023,12 @@ class ResponsePoliciesListResponse { core.List? responsePolicies; ResponsePoliciesListResponse({ - this.header, this.nextPageToken, this.responsePolicies, }); ResponsePoliciesListResponse.fromJson(core.Map json_) : this( - header: json_.containsKey('header') - ? ResponseHeader.fromJson( - json_['header'] as core.Map) - : null, nextPageToken: json_.containsKey('nextPageToken') ? json_['nextPageToken'] as core.String : null, @@ -5120,27 +5041,20 @@ class ResponsePoliciesListResponse { ); core.Map toJson() => { - if (header != null) 'header': header!, if (nextPageToken != null) 'nextPageToken': nextPageToken!, if (responsePolicies != null) 'responsePolicies': responsePolicies!, }; } class ResponsePoliciesPatchResponse { - ResponseHeader? header; ResponsePolicy? responsePolicy; ResponsePoliciesPatchResponse({ - this.header, this.responsePolicy, }); ResponsePoliciesPatchResponse.fromJson(core.Map json_) : this( - header: json_.containsKey('header') - ? ResponseHeader.fromJson( - json_['header'] as core.Map) - : null, responsePolicy: json_.containsKey('responsePolicy') ? ResponsePolicy.fromJson(json_['responsePolicy'] as core.Map) @@ -5148,26 +5062,19 @@ class ResponsePoliciesPatchResponse { ); core.Map toJson() => { - if (header != null) 'header': header!, if (responsePolicy != null) 'responsePolicy': responsePolicy!, }; } class ResponsePoliciesUpdateResponse { - ResponseHeader? header; ResponsePolicy? responsePolicy; ResponsePoliciesUpdateResponse({ - this.header, this.responsePolicy, }); ResponsePoliciesUpdateResponse.fromJson(core.Map json_) : this( - header: json_.containsKey('header') - ? ResponseHeader.fromJson( - json_['header'] as core.Map) - : null, responsePolicy: json_.containsKey('responsePolicy') ? ResponsePolicy.fromJson(json_['responsePolicy'] as core.Map) @@ -5175,7 +5082,6 @@ class ResponsePoliciesUpdateResponse { ); core.Map toJson() => { - if (header != null) 'header': header!, if (responsePolicy != null) 'responsePolicy': responsePolicy!, }; } @@ -5292,7 +5198,7 @@ class ResponsePolicyNetwork { /// The fully qualified URL of the VPC network to bind to. /// /// This should be formatted like - /// https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} + /// `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}` core.String? networkUrl; ResponsePolicyNetwork({ @@ -5324,19 +5230,19 @@ class ResponsePolicyRule { /// Answer this query with a behavior rather than DNS data. /// Possible string values are: /// - "behaviorUnspecified" - /// - "bypassResponsePolicy" : Skip a less-specific ResponsePolicyRule and - /// continue normal query logic. This can be used with a less-specific - /// wildcard selector to exempt a subset of the wildcard ResponsePolicyRule - /// from the ResponsePolicy behavior and query the public Internet instead. - /// For instance, if these rules exist: *.example.com -\> LocalData 1.2.3.4 - /// foo.example.com -\> Behavior 'bypassResponsePolicy' Then a query for - /// 'foo.example.com' skips the wildcard. This additionally functions to - /// facilitate the allowlist feature. RPZs can be applied to multiple levels - /// in the (eventually org, folder, project, network) hierarchy. If a rule is - /// applied at a higher level of the hierarchy, adding a passthru rule at a - /// lower level will supersede that, and a query from an affected vm to that - /// domain will be exempt from the RPZ and proceed to normal resolution - /// behavior. + /// - "bypassResponsePolicy" : Skip a less-specific Response Policy Rule and + /// let the query logic continue. This mechanism, when used with wildcard + /// selectors, lets you exempt specific subdomains from a broader Response + /// Policy Rule and direct the queries to the public internet instead. For + /// example, if the following rules exist: ``` *.example.com -> LocalData + /// 1.2.3.4 foo.example.com -> Behavior 'passthrough' ``` A query for + /// foo.example.com skips the wildcard rule. This functionality also + /// facilitates allowlisting. Response Policy Zones (RPZs) can be applied at + /// multiple levels within the hierarchy: for example, an organization, a + /// folder, a project, or a VPC network. If an RPZ rule is applied at a higher + /// level, adding a `passthrough` rule at a lower level will override it. + /// Queries from affected virtual machines (VMs) to that domain bypass the RPZ + /// and proceed with normal resolution. core.String? behavior; /// The DNS name (wildcard or exact) to apply this rule to. @@ -5418,34 +5324,28 @@ class ResponsePolicyRuleLocalData { } class ResponsePolicyRulesListResponse { - ResponseHeader? header; - - /// The presence of this field indicates that there exist more results - /// following your last page of results in pagination order. + /// This field indicates that more results are available beyond the last page + /// displayed. /// - /// To fetch them, make another list request using this value as your page - /// token. This lets you the complete contents of even very large collections - /// one page at a time. However, if the contents of the collection change - /// between the first and last paginated list request, the set of all elements - /// returned are an inconsistent view of the collection. You cannot retrieve a - /// consistent snapshot of a collection larger than the maximum page size. + /// To fetch the results, make another list request and use this value as your + /// page token. This lets you retrieve the complete contents of a very large + /// collection one page at a time. However, if the contents of the collection + /// change between the first and last paginated list request, the set of all + /// elements returned are an inconsistent view of the collection. You can't + /// retrieve a consistent snapshot of a collection larger than the maximum + /// page size. core.String? nextPageToken; /// The Response Policy Rule resources. core.List? responsePolicyRules; ResponsePolicyRulesListResponse({ - this.header, this.nextPageToken, this.responsePolicyRules, }); ResponsePolicyRulesListResponse.fromJson(core.Map json_) : this( - header: json_.containsKey('header') - ? ResponseHeader.fromJson( - json_['header'] as core.Map) - : null, nextPageToken: json_.containsKey('nextPageToken') ? json_['nextPageToken'] as core.String : null, @@ -5458,7 +5358,6 @@ class ResponsePolicyRulesListResponse { ); core.Map toJson() => { - if (header != null) 'header': header!, if (nextPageToken != null) 'nextPageToken': nextPageToken!, if (responsePolicyRules != null) 'responsePolicyRules': responsePolicyRules!, @@ -5466,20 +5365,14 @@ class ResponsePolicyRulesListResponse { } class ResponsePolicyRulesPatchResponse { - ResponseHeader? header; ResponsePolicyRule? responsePolicyRule; ResponsePolicyRulesPatchResponse({ - this.header, this.responsePolicyRule, }); ResponsePolicyRulesPatchResponse.fromJson(core.Map json_) : this( - header: json_.containsKey('header') - ? ResponseHeader.fromJson( - json_['header'] as core.Map) - : null, responsePolicyRule: json_.containsKey('responsePolicyRule') ? ResponsePolicyRule.fromJson(json_['responsePolicyRule'] as core.Map) @@ -5487,27 +5380,20 @@ class ResponsePolicyRulesPatchResponse { ); core.Map toJson() => { - if (header != null) 'header': header!, if (responsePolicyRule != null) 'responsePolicyRule': responsePolicyRule!, }; } class ResponsePolicyRulesUpdateResponse { - ResponseHeader? header; ResponsePolicyRule? responsePolicyRule; ResponsePolicyRulesUpdateResponse({ - this.header, this.responsePolicyRule, }); ResponsePolicyRulesUpdateResponse.fromJson(core.Map json_) : this( - header: json_.containsKey('header') - ? ResponseHeader.fromJson( - json_['header'] as core.Map) - : null, responsePolicyRule: json_.containsKey('responsePolicyRule') ? ResponsePolicyRule.fromJson(json_['responsePolicyRule'] as core.Map) @@ -5515,7 +5401,6 @@ class ResponsePolicyRulesUpdateResponse { ); core.Map toJson() => { - if (header != null) 'header': header!, if (responsePolicyRule != null) 'responsePolicyRule': responsePolicyRule!, }; diff --git a/generated/googleapis/lib/documentai/v1.dart b/generated/googleapis/lib/documentai/v1.dart index 3391cc1e2..6a6b5933c 100644 --- a/generated/googleapis/lib/documentai/v1.dart +++ b/generated/googleapis/lib/documentai/v1.dart @@ -1666,6 +1666,9 @@ typedef GoogleCloudDocumentaiV1DisableProcessorRequest = $Empty; /// for collaboration between users and Document AI to iterate and optimize for /// quality. class GoogleCloudDocumentaiV1Document { + /// Document chunked based on chunking config. + GoogleCloudDocumentaiV1DocumentChunkedDocument? chunkedDocument; + /// Inline document content, represented as a stream of bytes. /// /// Note: As with all `bytes` fields, protobuffers use a pure binary @@ -1680,6 +1683,9 @@ class GoogleCloudDocumentaiV1Document { convert.base64.encode(bytes_).replaceAll('/', '_').replaceAll('+', '-'); } + /// Parsed layout of the document. + GoogleCloudDocumentaiV1DocumentDocumentLayout? documentLayout; + /// A list of entities detected on Document.text. /// /// For document shards, entities in this list may cross shard boundaries. @@ -1739,7 +1745,9 @@ class GoogleCloudDocumentaiV1Document { core.String? uri; GoogleCloudDocumentaiV1Document({ + this.chunkedDocument, this.content, + this.documentLayout, this.entities, this.entityRelations, this.error, @@ -1755,9 +1763,19 @@ class GoogleCloudDocumentaiV1Document { GoogleCloudDocumentaiV1Document.fromJson(core.Map json_) : this( + chunkedDocument: json_.containsKey('chunkedDocument') + ? GoogleCloudDocumentaiV1DocumentChunkedDocument.fromJson( + json_['chunkedDocument'] + as core.Map) + : null, content: json_.containsKey('content') ? json_['content'] as core.String : null, + documentLayout: json_.containsKey('documentLayout') + ? GoogleCloudDocumentaiV1DocumentDocumentLayout.fromJson( + json_['documentLayout'] + as core.Map) + : null, entities: json_.containsKey('entities') ? (json_['entities'] as core.List) .map((value) => @@ -1814,7 +1832,9 @@ class GoogleCloudDocumentaiV1Document { ); core.Map toJson() => { + if (chunkedDocument != null) 'chunkedDocument': chunkedDocument!, if (content != null) 'content': content!, + if (documentLayout != null) 'documentLayout': documentLayout!, if (entities != null) 'entities': entities!, if (entityRelations != null) 'entityRelations': entityRelations!, if (error != null) 'error': error!, @@ -1829,6 +1849,564 @@ class GoogleCloudDocumentaiV1Document { }; } +/// Represents the chunks that the document is divided into. +class GoogleCloudDocumentaiV1DocumentChunkedDocument { + /// List of chunks. + core.List? chunks; + + GoogleCloudDocumentaiV1DocumentChunkedDocument({ + this.chunks, + }); + + GoogleCloudDocumentaiV1DocumentChunkedDocument.fromJson(core.Map json_) + : this( + chunks: json_.containsKey('chunks') + ? (json_['chunks'] as core.List) + .map((value) => + GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (chunks != null) 'chunks': chunks!, + }; +} + +/// Represents a chunk. +class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk { + /// ID of the chunk. + core.String? chunkId; + + /// Text content of the chunk. + core.String? content; + + /// Page footers associated with the chunk. + core.List? + pageFooters; + + /// Page headers associated with the chunk. + core.List? + pageHeaders; + + /// Page span of the chunk. + GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan? pageSpan; + + /// Unused. + core.List? sourceBlockIds; + + GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk({ + this.chunkId, + this.content, + this.pageFooters, + this.pageHeaders, + this.pageSpan, + this.sourceBlockIds, + }); + + GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk.fromJson(core.Map json_) + : this( + chunkId: json_.containsKey('chunkId') + ? json_['chunkId'] as core.String + : null, + content: json_.containsKey('content') + ? json_['content'] as core.String + : null, + pageFooters: json_.containsKey('pageFooters') + ? (json_['pageFooters'] as core.List) + .map((value) => + GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter + .fromJson( + value as core.Map)) + .toList() + : null, + pageHeaders: json_.containsKey('pageHeaders') + ? (json_['pageHeaders'] as core.List) + .map((value) => + GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader + .fromJson( + value as core.Map)) + .toList() + : null, + pageSpan: json_.containsKey('pageSpan') + ? GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan + .fromJson( + json_['pageSpan'] as core.Map) + : null, + sourceBlockIds: json_.containsKey('sourceBlockIds') + ? (json_['sourceBlockIds'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (chunkId != null) 'chunkId': chunkId!, + if (content != null) 'content': content!, + if (pageFooters != null) 'pageFooters': pageFooters!, + if (pageHeaders != null) 'pageHeaders': pageHeaders!, + if (pageSpan != null) 'pageSpan': pageSpan!, + if (sourceBlockIds != null) 'sourceBlockIds': sourceBlockIds!, + }; +} + +/// Represents the page footer associated with the chunk. +class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter { + /// Page span of the footer. + GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan? pageSpan; + + /// Footer in text format. + core.String? text; + + GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter({ + this.pageSpan, + this.text, + }); + + GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter.fromJson( + core.Map json_) + : this( + pageSpan: json_.containsKey('pageSpan') + ? GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan + .fromJson( + json_['pageSpan'] as core.Map) + : null, + text: json_.containsKey('text') ? json_['text'] as core.String : null, + ); + + core.Map toJson() => { + if (pageSpan != null) 'pageSpan': pageSpan!, + if (text != null) 'text': text!, + }; +} + +/// Represents the page header associated with the chunk. +class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader { + /// Page span of the header. + GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan? pageSpan; + + /// Header in text format. + core.String? text; + + GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader({ + this.pageSpan, + this.text, + }); + + GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader.fromJson( + core.Map json_) + : this( + pageSpan: json_.containsKey('pageSpan') + ? GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan + .fromJson( + json_['pageSpan'] as core.Map) + : null, + text: json_.containsKey('text') ? json_['text'] as core.String : null, + ); + + core.Map toJson() => { + if (pageSpan != null) 'pageSpan': pageSpan!, + if (text != null) 'text': text!, + }; +} + +/// Represents where the chunk starts and ends in the document. +class GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan { + /// Page where chunk ends in the document. + core.int? pageEnd; + + /// Page where chunk starts in the document. + core.int? pageStart; + + GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan({ + this.pageEnd, + this.pageStart, + }); + + GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan.fromJson( + core.Map json_) + : this( + pageEnd: json_.containsKey('pageEnd') + ? json_['pageEnd'] as core.int + : null, + pageStart: json_.containsKey('pageStart') + ? json_['pageStart'] as core.int + : null, + ); + + core.Map toJson() => { + if (pageEnd != null) 'pageEnd': pageEnd!, + if (pageStart != null) 'pageStart': pageStart!, + }; +} + +/// Represents the parsed layout of a document as a collection of blocks that +/// the document is divided into. +class GoogleCloudDocumentaiV1DocumentDocumentLayout { + /// List of blocks in the document. + core.List? + blocks; + + GoogleCloudDocumentaiV1DocumentDocumentLayout({ + this.blocks, + }); + + GoogleCloudDocumentaiV1DocumentDocumentLayout.fromJson(core.Map json_) + : this( + blocks: json_.containsKey('blocks') + ? (json_['blocks'] as core.List) + .map((value) => + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (blocks != null) 'blocks': blocks!, + }; +} + +/// Represents a block. +/// +/// A block could be one of the various types (text, table, list) supported. +class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock { + /// ID of the block. + core.String? blockId; + + /// Block consisting of list content/structure. + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock? + listBlock; + + /// Page span of the block. + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan? + pageSpan; + + /// Block consisting of table content/structure. + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock? + tableBlock; + + /// Block consisting of text content. + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock? + textBlock; + + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock({ + this.blockId, + this.listBlock, + this.pageSpan, + this.tableBlock, + this.textBlock, + }); + + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock.fromJson( + core.Map json_) + : this( + blockId: json_.containsKey('blockId') + ? json_['blockId'] as core.String + : null, + listBlock: json_.containsKey('listBlock') + ? GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock + .fromJson( + json_['listBlock'] as core.Map) + : null, + pageSpan: json_.containsKey('pageSpan') + ? GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan + .fromJson( + json_['pageSpan'] as core.Map) + : null, + tableBlock: json_.containsKey('tableBlock') + ? GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock + .fromJson(json_['tableBlock'] + as core.Map) + : null, + textBlock: json_.containsKey('textBlock') + ? GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock + .fromJson( + json_['textBlock'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (blockId != null) 'blockId': blockId!, + if (listBlock != null) 'listBlock': listBlock!, + if (pageSpan != null) 'pageSpan': pageSpan!, + if (tableBlock != null) 'tableBlock': tableBlock!, + if (textBlock != null) 'textBlock': textBlock!, + }; +} + +/// Represents a list type block. +class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock { + /// List entries that constitute a list block. + core.List< + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry>? + listEntries; + + /// Type of the list_entries (if exist). + /// + /// Available options are `ordered` and `unordered`. + core.String? type; + + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock({ + this.listEntries, + this.type, + }); + + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock.fromJson( + core.Map json_) + : this( + listEntries: json_.containsKey('listEntries') + ? (json_['listEntries'] as core.List) + .map((value) => + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry + .fromJson( + value as core.Map)) + .toList() + : null, + type: json_.containsKey('type') ? json_['type'] as core.String : null, + ); + + core.Map toJson() => { + if (listEntries != null) 'listEntries': listEntries!, + if (type != null) 'type': type!, + }; +} + +/// Represents an entry in the list. +class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry { + /// A list entry is a list of blocks. + /// + /// Repeated blocks support further hierarchies and nested blocks. + core.List? + blocks; + + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry({ + this.blocks, + }); + + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry.fromJson( + core.Map json_) + : this( + blocks: json_.containsKey('blocks') + ? (json_['blocks'] as core.List) + .map((value) => + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (blocks != null) 'blocks': blocks!, + }; +} + +/// Represents where the block starts and ends in the document. +class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan { + /// Page where block ends in the document. + core.int? pageEnd; + + /// Page where block starts in the document. + core.int? pageStart; + + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan({ + this.pageEnd, + this.pageStart, + }); + + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan.fromJson( + core.Map json_) + : this( + pageEnd: json_.containsKey('pageEnd') + ? json_['pageEnd'] as core.int + : null, + pageStart: json_.containsKey('pageStart') + ? json_['pageStart'] as core.int + : null, + ); + + core.Map toJson() => { + if (pageEnd != null) 'pageEnd': pageEnd!, + if (pageStart != null) 'pageStart': pageStart!, + }; +} + +/// Represents a table type block. +class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock { + /// Body rows containing main table content. + core.List< + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow>? + bodyRows; + + /// Table caption/title. + core.String? caption; + + /// Header rows at the top of the table. + core.List< + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow>? + headerRows; + + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock({ + this.bodyRows, + this.caption, + this.headerRows, + }); + + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock.fromJson( + core.Map json_) + : this( + bodyRows: json_.containsKey('bodyRows') + ? (json_['bodyRows'] as core.List) + .map((value) => + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow + .fromJson( + value as core.Map)) + .toList() + : null, + caption: json_.containsKey('caption') + ? json_['caption'] as core.String + : null, + headerRows: json_.containsKey('headerRows') + ? (json_['headerRows'] as core.List) + .map((value) => + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (bodyRows != null) 'bodyRows': bodyRows!, + if (caption != null) 'caption': caption!, + if (headerRows != null) 'headerRows': headerRows!, + }; +} + +/// Represents a cell in a table row. +class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell { + /// A table cell is a list of blocks. + /// + /// Repeated blocks support further hierarchies and nested blocks. + core.List? + blocks; + + /// How many columns this cell spans. + core.int? colSpan; + + /// How many rows this cell spans. + core.int? rowSpan; + + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell({ + this.blocks, + this.colSpan, + this.rowSpan, + }); + + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell.fromJson( + core.Map json_) + : this( + blocks: json_.containsKey('blocks') + ? (json_['blocks'] as core.List) + .map((value) => + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock + .fromJson( + value as core.Map)) + .toList() + : null, + colSpan: json_.containsKey('colSpan') + ? json_['colSpan'] as core.int + : null, + rowSpan: json_.containsKey('rowSpan') + ? json_['rowSpan'] as core.int + : null, + ); + + core.Map toJson() => { + if (blocks != null) 'blocks': blocks!, + if (colSpan != null) 'colSpan': colSpan!, + if (rowSpan != null) 'rowSpan': rowSpan!, + }; +} + +/// Represents a row in a table. +class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow { + /// A table row is a list of table cells. + core.List< + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell>? + cells; + + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow({ + this.cells, + }); + + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow.fromJson( + core.Map json_) + : this( + cells: json_.containsKey('cells') + ? (json_['cells'] as core.List) + .map((value) => + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (cells != null) 'cells': cells!, + }; +} + +/// Represents a text type block. +class GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock { + /// A text block could further have child blocks. + /// + /// Repeated blocks support further hierarchies and nested blocks. + core.List? + blocks; + + /// Text content stored in the block. + core.String? text; + + /// Type of the text in the block. + /// + /// Available options are: `paragraph`, `subtitle`, `heading-1`, `heading-2`, + /// `heading-3`, `heading-4`, `heading-5`, `header`, `footer`. + core.String? type; + + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock({ + this.blocks, + this.text, + this.type, + }); + + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock.fromJson( + core.Map json_) + : this( + blocks: json_.containsKey('blocks') + ? (json_['blocks'] as core.List) + .map((value) => + GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock + .fromJson( + value as core.Map)) + .toList() + : null, + text: json_.containsKey('text') ? json_['text'] as core.String : null, + type: json_.containsKey('type') ? json_['type'] as core.String : null, + ); + + core.Map toJson() => { + if (blocks != null) 'blocks': blocks!, + if (text != null) 'text': text!, + if (type != null) 'type': type!, + }; +} + /// An entity that could be a phrase in the text or a property that belongs to /// the document. /// @@ -4931,6 +5509,13 @@ class GoogleCloudDocumentaiV1ProcessOptions { GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector? individualPageSelector; + /// Only applicable to `LAYOUT_PARSER_PROCESSOR`. + /// + /// Returns error if set on other processor types. + /// + /// Optional. + GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig? layoutConfig; + /// Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`. /// /// Returns error if set on other processor types. @@ -4948,6 +5533,7 @@ class GoogleCloudDocumentaiV1ProcessOptions { this.fromEnd, this.fromStart, this.individualPageSelector, + this.layoutConfig, this.ocrConfig, this.schemaOverride, }); @@ -4965,6 +5551,10 @@ class GoogleCloudDocumentaiV1ProcessOptions { .fromJson(json_['individualPageSelector'] as core.Map) : null, + layoutConfig: json_.containsKey('layoutConfig') + ? GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig.fromJson( + json_['layoutConfig'] as core.Map) + : null, ocrConfig: json_.containsKey('ocrConfig') ? GoogleCloudDocumentaiV1OcrConfig.fromJson( json_['ocrConfig'] as core.Map) @@ -4981,6 +5571,7 @@ class GoogleCloudDocumentaiV1ProcessOptions { if (fromStart != null) 'fromStart': fromStart!, if (individualPageSelector != null) 'individualPageSelector': individualPageSelector!, + if (layoutConfig != null) 'layoutConfig': layoutConfig!, if (ocrConfig != null) 'ocrConfig': ocrConfig!, if (schemaOverride != null) 'schemaOverride': schemaOverride!, }; @@ -5012,6 +5603,67 @@ class GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector { }; } +/// Serving config for layout parser processor. +class GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig { + /// Config for chunking in layout parser processor. + /// + /// Optional. + GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig? + chunkingConfig; + + GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig({ + this.chunkingConfig, + }); + + GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig.fromJson(core.Map json_) + : this( + chunkingConfig: json_.containsKey('chunkingConfig') + ? GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig + .fromJson(json_['chunkingConfig'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (chunkingConfig != null) 'chunkingConfig': chunkingConfig!, + }; +} + +/// Serving config for chunking. +class GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig { + /// The chunk sizes to use when splitting documents, in order of level. + /// + /// Optional. + core.int? chunkSize; + + /// Whether or not to include ancestor headings when splitting. + /// + /// Optional. + core.bool? includeAncestorHeadings; + + GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig({ + this.chunkSize, + this.includeAncestorHeadings, + }); + + GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig.fromJson( + core.Map json_) + : this( + chunkSize: json_.containsKey('chunkSize') + ? json_['chunkSize'] as core.int + : null, + includeAncestorHeadings: json_.containsKey('includeAncestorHeadings') + ? json_['includeAncestorHeadings'] as core.bool + : null, + ); + + core.Map toJson() => { + if (chunkSize != null) 'chunkSize': chunkSize!, + if (includeAncestorHeadings != null) + 'includeAncestorHeadings': includeAncestorHeadings!, + }; +} + /// Request message for the ProcessDocument method. class GoogleCloudDocumentaiV1ProcessRequest { /// Specifies which fields to include in the ProcessResponse.document output. @@ -5172,6 +5824,16 @@ class GoogleCloudDocumentaiV1Processor { core.List? processorVersionAliases; + /// Reserved for future use. + /// + /// Output only. + core.bool? satisfiesPzi; + + /// Reserved for future use. + /// + /// Output only. + core.bool? satisfiesPzs; + /// The state of the processor. /// /// Output only. @@ -5210,6 +5872,8 @@ class GoogleCloudDocumentaiV1Processor { this.name, this.processEndpoint, this.processorVersionAliases, + this.satisfiesPzi, + this.satisfiesPzs, this.state, this.type, }); @@ -5239,6 +5903,12 @@ class GoogleCloudDocumentaiV1Processor { value as core.Map)) .toList() : null, + satisfiesPzi: json_.containsKey('satisfiesPzi') + ? json_['satisfiesPzi'] as core.bool + : null, + satisfiesPzs: json_.containsKey('satisfiesPzs') + ? json_['satisfiesPzs'] as core.bool + : null, state: json_.containsKey('state') ? json_['state'] as core.String : null, type: json_.containsKey('type') ? json_['type'] as core.String : null, @@ -5254,6 +5924,8 @@ class GoogleCloudDocumentaiV1Processor { if (processEndpoint != null) 'processEndpoint': processEndpoint!, if (processorVersionAliases != null) 'processorVersionAliases': processorVersionAliases!, + if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!, + if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!, if (state != null) 'state': state!, if (type != null) 'type': type!, }; @@ -5446,6 +6118,16 @@ class GoogleCloudDocumentaiV1ProcessorVersion { /// `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}` core.String? name; + /// Reserved for future use. + /// + /// Output only. + core.bool? satisfiesPzi; + + /// Reserved for future use. + /// + /// Output only. + core.bool? satisfiesPzs; + /// The state of the processor version. /// /// Output only. @@ -5475,6 +6157,8 @@ class GoogleCloudDocumentaiV1ProcessorVersion { this.latestEvaluation, this.modelType, this.name, + this.satisfiesPzi, + this.satisfiesPzs, this.state, }); @@ -5514,6 +6198,12 @@ class GoogleCloudDocumentaiV1ProcessorVersion { ? json_['modelType'] as core.String : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, + satisfiesPzi: json_.containsKey('satisfiesPzi') + ? json_['satisfiesPzi'] as core.bool + : null, + satisfiesPzs: json_.containsKey('satisfiesPzs') + ? json_['satisfiesPzs'] as core.bool + : null, state: json_.containsKey('state') ? json_['state'] as core.String : null, ); @@ -5529,6 +6219,8 @@ class GoogleCloudDocumentaiV1ProcessorVersion { if (latestEvaluation != null) 'latestEvaluation': latestEvaluation!, if (modelType != null) 'modelType': modelType!, if (name != null) 'name': name!, + if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!, + if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!, if (state != null) 'state': state!, }; } diff --git a/generated/googleapis/lib/domains/v1.dart b/generated/googleapis/lib/domains/v1.dart index 44203f6d9..659d2522e 100644 --- a/generated/googleapis/lib/domains/v1.dart +++ b/generated/googleapis/lib/domains/v1.dart @@ -664,6 +664,60 @@ class ProjectsLocationsRegistrationsResource { return Operation.fromJson(response_ as core.Map); } + /// Initiates the `Push Transfer` process to transfer the domain to another + /// registrar. + /// + /// The process might complete instantly or might require confirmation or + /// additional work. Check the emails sent to the email address of the + /// registrant. The process is aborted after a timeout if it's not completed. + /// This method is only supported for domains that have the + /// `REQUIRE_PUSH_TRANSFER` property in the list of `domain_properties`. The + /// domain must also be unlocked before it can be transferred to a different + /// registrar. For more information, see + /// [Transfer a registered domain to another registrar](https://cloud.google.com/domains/docs/transfer-domain-to-another-registrar). + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [registration] - Required. The name of the `Registration` for which the + /// push transfer is initiated, in the format `projects / * /locations / * + /// /registrations / * `. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/registrations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// 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 initiatePushTransfer( + InitiatePushTransferRequest request, + core.String registration, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1/' + core.Uri.encodeFull('$registration') + ':initiatePushTransfer'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map); + } + /// Lists the `Registration` resources in a project. /// /// Request parameters: @@ -830,11 +884,61 @@ class ProjectsLocationsRegistrationsResource { return Operation.fromJson(response_ as core.Map); } + /// Renews a recently expired domain. + /// + /// This method can only be called on domains that expired in the previous 30 + /// days. After the renewal, the new expiration time of the domain is one year + /// after the old expiration time and you are charged a `yearly_price` for the + /// renewal. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [registration] - Required. The name of the `Registration` whish is being + /// renewed, in the format `projects / * /locations / * /registrations / * `. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/registrations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Operation]. + /// + /// 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 renewDomain( + RenewDomainRequest request, + core.String registration, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$registration') + ':renewDomain'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map); + } + /// Resets the authorization code of the `Registration` to a new random /// string. /// /// You can call this method only after 60 days have elapsed since the initial - /// domain registration. + /// domain registration. Domains that have the `REQUIRE_PUSH_TRANSFER` + /// property in the list of `domain_properties` don't support authorization + /// codes and must use the `InitiatePushTransfer` method to initiate the + /// process to transfer the domain to a different registrar. /// /// [request] - The metadata request object. /// @@ -884,7 +988,10 @@ class ProjectsLocationsRegistrationsResource { /// transferring the domain to another registrar. /// /// You can call this method only after 60 days have elapsed since the initial - /// domain registration. + /// domain registration. Domains that have the `REQUIRE_PUSH_TRANSFER` + /// property in the list of `domain_properties` don't support authorization + /// codes and must use the `InitiatePushTransfer` method to initiate the + /// process to transfer the domain to a different registrar. /// /// Request parameters: /// @@ -925,6 +1032,55 @@ class ProjectsLocationsRegistrationsResource { response_ as core.Map); } + /// Lists the deprecated domain and email forwarding configurations you set up + /// in the deprecated Google Domains UI. + /// + /// The configuration is present only for domains with the + /// `google_domains_redirects_data_available` set to `true` in the + /// `Registration`'s `dns_settings`. A forwarding configuration might not work + /// correctly if required DNS records are not present in the domain's + /// authoritative DNS Zone. + /// + /// Request parameters: + /// + /// [registration] - Required. The name of the `Registration` whose Google + /// Domains forwarding configuration details are being retrieved, in the + /// format `projects / * /locations / * /registrations / * `. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/registrations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [RetrieveGoogleDomainsForwardingConfigResponse]. + /// + /// 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 + retrieveGoogleDomainsForwardingConfig( + core.String registration, { + core.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + + core.Uri.encodeFull('$registration') + + ':retrieveGoogleDomainsForwardingConfig'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return RetrieveGoogleDomainsForwardingConfigResponse.fromJson( + response_ as core.Map); + } + /// Deprecated: For more information, see /// [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations) /// Lists domain names from [Google Domains](https://domains.google/) that can @@ -1912,6 +2068,79 @@ class Domain { }; } +/// Domain forwarding configuration. +class DomainForwarding { + /// If true, forwards the path after the domain name to the same path at the + /// new address. + core.bool? pathForwarding; + + /// The PEM-encoded certificate chain. + core.String? pemCertificate; + + /// The redirect type. + /// Possible string values are: + /// - "REDIRECT_TYPE_UNSPECIFIED" : Redirect Type is unspecified. + /// - "TEMPORARY" : 301 redirect. Allows to propagate changes to the + /// forwarding address quickly. + /// - "PERMANENT" : 302 redirect. Allows browsers to cache the forwarding + /// address. This may help the address resolve more quickly. Changes may take + /// longer to propagate + core.String? redirectType; + + /// If true, the forwarding works also over HTTPS. + core.bool? sslEnabled; + + /// The subdomain of the registered domain that is being forwarded. + /// + /// E.g. `www.example.com`, `example.com` (i.e. the registered domain itself) + /// or `*.example.com` (i.e. all subdomains). + core.String? subdomain; + + /// The target of the domain forwarding, i.e. the path to redirect the + /// `subdomain` to. + core.String? targetUri; + + DomainForwarding({ + this.pathForwarding, + this.pemCertificate, + this.redirectType, + this.sslEnabled, + this.subdomain, + this.targetUri, + }); + + DomainForwarding.fromJson(core.Map json_) + : this( + pathForwarding: json_.containsKey('pathForwarding') + ? json_['pathForwarding'] as core.bool + : null, + pemCertificate: json_.containsKey('pemCertificate') + ? json_['pemCertificate'] as core.String + : null, + redirectType: json_.containsKey('redirectType') + ? json_['redirectType'] as core.String + : null, + sslEnabled: json_.containsKey('sslEnabled') + ? json_['sslEnabled'] as core.bool + : null, + subdomain: json_.containsKey('subdomain') + ? json_['subdomain'] as core.String + : null, + targetUri: json_.containsKey('targetUri') + ? json_['targetUri'] as core.String + : null, + ); + + core.Map toJson() => { + if (pathForwarding != null) 'pathForwarding': pathForwarding!, + if (pemCertificate != null) 'pemCertificate': pemCertificate!, + if (redirectType != null) 'redirectType': redirectType!, + if (sslEnabled != null) 'sslEnabled': sslEnabled!, + if (subdomain != null) 'subdomain': subdomain!, + if (targetUri != null) 'targetUri': targetUri!, + }; +} + /// Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC /// for a domain. /// @@ -1990,6 +2219,39 @@ class DsRecord { }; } +/// Email forwarding configuration. +class EmailForwarding { + /// An alias recipient email that forwards emails to the + /// `target_email_address`. + /// + /// For example, `admin@example.com` or `*@example.com` (wildcard alias + /// forwards all the emails under the registered domain). + core.String? alias; + + /// Target email that receives emails sent to the `alias`. + core.String? targetEmailAddress; + + EmailForwarding({ + this.alias, + this.targetEmailAddress, + }); + + EmailForwarding.fromJson(core.Map json_) + : this( + alias: + json_.containsKey('alias') ? json_['alias'] as core.String : null, + targetEmailAddress: json_.containsKey('targetEmailAddress') + ? json_['targetEmailAddress'] as core.String + : null, + ); + + core.Map toJson() => { + if (alias != null) 'alias': alias!, + if (targetEmailAddress != null) + 'targetEmailAddress': targetEmailAddress!, + }; +} + /// Deprecated: For more information, see /// [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). /// @@ -2184,6 +2446,29 @@ class ImportDomainRequest { }; } +/// Request for the `InitiatePushTransfer` method. +class InitiatePushTransferRequest { + /// The Tag of the new registrar. + /// + /// Can be found at [List of registrars](https://nominet.uk/registrar-list/). + /// + /// Required. + core.String? tag; + + InitiatePushTransferRequest({ + this.tag, + }); + + InitiatePushTransferRequest.fromJson(core.Map json_) + : this( + tag: json_.containsKey('tag') ? json_['tag'] as core.String : null, + ); + + core.Map toJson() => { + if (tag != null) 'tag': tag!, + }; +} + /// The response message for Locations.ListLocations. class ListLocationsResponse { /// A list of locations that matches the specified filter in the request. @@ -2288,6 +2573,17 @@ typedef Location = $Location00; /// Defines renewal, billing, and transfer settings for a `Registration`. class ManagementSettings { + /// The actual transfer lock state for this `Registration`. + /// + /// Output only. + /// Possible string values are: + /// - "TRANSFER_LOCK_STATE_UNSPECIFIED" : The state is unspecified. + /// - "UNLOCKED" : The domain is unlocked and can be transferred to another + /// registrar. + /// - "LOCKED" : The domain is locked and cannot be transferred to another + /// registrar. + core.String? effectiveTransferLockState; + /// The desired renewal method for this `Registration`. /// /// The actual `renewal_method` is automatically updated to reflect this @@ -2336,7 +2632,12 @@ class ManagementSettings { /// This is the desired transfer lock state for this `Registration`. /// /// A transfer lock controls whether the domain can be transferred to another - /// registrar. + /// registrar. The transfer lock state of the domain is returned in the + /// `effective_transfer_lock_state` property. The transfer lock state values + /// might be different for the following reasons: * `transfer_lock_state` was + /// updated only a short time ago. * Domains with the + /// `TRANSFER_LOCK_UNSUPPORTED_BY_REGISTRY` state are in the list of + /// `domain_properties`. These domains are always in the `UNLOCKED` state. /// Possible string values are: /// - "TRANSFER_LOCK_STATE_UNSPECIFIED" : The state is unspecified. /// - "UNLOCKED" : The domain is unlocked and can be transferred to another @@ -2346,6 +2647,7 @@ class ManagementSettings { core.String? transferLockState; ManagementSettings({ + this.effectiveTransferLockState, this.preferredRenewalMethod, this.renewalMethod, this.transferLockState, @@ -2353,6 +2655,10 @@ class ManagementSettings { ManagementSettings.fromJson(core.Map json_) : this( + effectiveTransferLockState: + json_.containsKey('effectiveTransferLockState') + ? json_['effectiveTransferLockState'] as core.String + : null, preferredRenewalMethod: json_.containsKey('preferredRenewalMethod') ? json_['preferredRenewalMethod'] as core.String : null, @@ -2365,6 +2671,8 @@ class ManagementSettings { ); core.Map toJson() => { + if (effectiveTransferLockState != null) + 'effectiveTransferLockState': effectiveTransferLockState!, if (preferredRenewalMethod != null) 'preferredRenewalMethod': preferredRenewalMethod!, if (renewalMethod != null) 'renewalMethod': renewalMethod!, @@ -2785,6 +3093,11 @@ class Registration { /// Required. Immutable. core.String? domainName; + /// Special properties of the domain. + /// + /// Output only. + core.List? domainProperties; + /// The expiration timestamp of the `Registration`. /// /// Output only. @@ -2910,6 +3223,7 @@ class Registration { this.createTime, this.dnsSettings, this.domainName, + this.domainProperties, this.expireTime, this.issues, this.labels, @@ -2938,6 +3252,11 @@ class Registration { domainName: json_.containsKey('domainName') ? json_['domainName'] as core.String : null, + domainProperties: json_.containsKey('domainProperties') + ? (json_['domainProperties'] as core.List) + .map((value) => value as core.String) + .toList() + : null, expireTime: json_.containsKey('expireTime') ? json_['expireTime'] as core.String : null, @@ -2983,6 +3302,7 @@ class Registration { if (createTime != null) 'createTime': createTime!, if (dnsSettings != null) 'dnsSettings': dnsSettings!, if (domainName != null) 'domainName': domainName!, + if (domainProperties != null) 'domainProperties': domainProperties!, if (expireTime != null) 'expireTime': expireTime!, if (issues != null) 'issues': issues!, if (labels != null) 'labels': labels!, @@ -3000,9 +3320,92 @@ class Registration { }; } +/// Request for the `RenewDomain` method. +class RenewDomainRequest { + /// When true, only validation is performed, without actually renewing the + /// domain. + /// + /// For more information, see + /// [Request validation](https://cloud.google.com/apis/design/design_patterns#request_validation) + /// + /// Optional. + core.bool? validateOnly; + + /// Acknowledgement of the price to renew the domain for one year. + /// + /// To get the price, see + /// [Cloud Domains pricing](https://cloud.google.com/domains/pricing). If not + /// provided, the expected price is returned in the error message. + /// + /// Required. + Money? yearlyPrice; + + RenewDomainRequest({ + this.validateOnly, + this.yearlyPrice, + }); + + RenewDomainRequest.fromJson(core.Map json_) + : this( + validateOnly: json_.containsKey('validateOnly') + ? json_['validateOnly'] as core.bool + : null, + yearlyPrice: json_.containsKey('yearlyPrice') + ? Money.fromJson( + json_['yearlyPrice'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (validateOnly != null) 'validateOnly': validateOnly!, + if (yearlyPrice != null) 'yearlyPrice': yearlyPrice!, + }; +} + /// Request for the `ResetAuthorizationCode` method. typedef ResetAuthorizationCodeRequest = $Empty; +/// Response for the `RetrieveGoogleDomainsForwardingConfig` method. +class RetrieveGoogleDomainsForwardingConfigResponse { + /// The list of domain forwarding configurations. + /// + /// A forwarding configuration might not work correctly if the required DNS + /// records are not present in the domain's authoritative DNS zone. + core.List? domainForwardings; + + /// The list of email forwarding configurations. + /// + /// A forwarding configuration might not work correctly if the required DNS + /// records are not present in the domain's authoritative DNS zone. + core.List? emailForwardings; + + RetrieveGoogleDomainsForwardingConfigResponse({ + this.domainForwardings, + this.emailForwardings, + }); + + RetrieveGoogleDomainsForwardingConfigResponse.fromJson(core.Map json_) + : this( + domainForwardings: json_.containsKey('domainForwardings') + ? (json_['domainForwardings'] as core.List) + .map((value) => DomainForwarding.fromJson( + value as core.Map)) + .toList() + : null, + emailForwardings: json_.containsKey('emailForwardings') + ? (json_['emailForwardings'] as core.List) + .map((value) => EmailForwarding.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (domainForwardings != null) 'domainForwardings': domainForwardings!, + if (emailForwardings != null) 'emailForwardings': emailForwardings!, + }; +} + /// Deprecated: For more information, see /// [Cloud Domains feature deprecation](https://cloud.google.com/domains/docs/deprecations/feature-deprecations). /// diff --git a/generated/googleapis/lib/firebaseappdistribution/v1.dart b/generated/googleapis/lib/firebaseappdistribution/v1.dart index 56c207db3..d97529978 100644 --- a/generated/googleapis/lib/firebaseappdistribution/v1.dart +++ b/generated/googleapis/lib/firebaseappdistribution/v1.dart @@ -1822,7 +1822,7 @@ class GdataMedia { /// These two hash related fields will only be populated on Scotty based media /// uploads and will contain the content of the hash group in the /// NotificationRequest: - /// http://cs/#google3/uploader/service/proto/upload_listener.proto&q=class:Hash + /// http://cs/#google3/blobstore2/api/scotty/service/proto/upload_listener.proto&q=class:Hash /// Hex encoded hash value of the uploaded media. @core.Deprecated( 'Not supported. Member documentation may have more information.', diff --git a/generated/googleapis/lib/firebaseremoteconfig/v1.dart b/generated/googleapis/lib/firebaseremoteconfig/v1.dart index df3c64f02..0b4d02c09 100644 --- a/generated/googleapis/lib/firebaseremoteconfig/v1.dart +++ b/generated/googleapis/lib/firebaseremoteconfig/v1.dart @@ -307,7 +307,8 @@ class ProjectsRemoteConfigResource { /// - "FORMAT_UNSPECIFIED" : Catch-all for unrecognized enum values. /// - "XML" : Returns a response in XML format. /// - "PLIST" : Returns a response in property list (plist) format. - /// - "JSON" : Returns a response in JSON format. + /// - "JSON" : Returns a response in raw JSON format (not packaged in an + /// HttpBody object). /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -1143,7 +1144,11 @@ class PersonalizationValue { /// A RemoteConfig represents a Remote Config template. /// /// A project's Remote Config template is evaluated during each application -/// instance's fetch. The resolved value of a parameter is determined as +/// instance's fetch. Note: Server templates currently support percentage +/// conditions. Publishing a server template with unsupported conditional values +/// will return a validation error. See +/// [Remote Config in Server Environments](https://firebase.google.com/docs/remote-config/server) +/// for more information. The resolved value of a parameter is determined as /// follows: Given the conditional values that refer to `true` conditions for /// the application instance, the parameter's resolved value is the conditional /// value whose name is the earliest in the conditions list. Else, if the diff --git a/generated/googleapis/lib/games/v1.dart b/generated/googleapis/lib/games/v1.dart index 85fd40a0f..07b9028bf 100644 --- a/generated/googleapis/lib/games/v1.dart +++ b/generated/googleapis/lib/games/v1.dart @@ -1119,8 +1119,55 @@ class RecallResource { RecallResource(commons.ApiRequester client) : _requester = client; + /// Retrieve the Recall tokens from all requested games that is associated + /// with the PGS Player encoded in the provided recall session id. + /// + /// The API is only available for users that have an active PGS Player + /// profile. + /// + /// Request parameters: + /// + /// [sessionId] - Required. Opaque server-generated string that encodes all + /// the necessary information to identify the PGS player / Google user and + /// application. + /// + /// [applicationIds] - Required. The application IDs from the Google Play + /// developer console for the games to return scoped ids for. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [RetrieveGamesPlayerTokensResponse]. + /// + /// 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 gamesPlayerTokens( + core.String sessionId, { + core.List? applicationIds, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (applicationIds != null) 'applicationIds': applicationIds, + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'games/v1/recall/gamesPlayerTokens/' + + commons.escapeVariable('$sessionId'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return RetrieveGamesPlayerTokensResponse.fromJson( + response_ as core.Map); + } + /// Retrieve the last Recall token from all developer games that is associated - /// with the PGS Player principal encoded in the provided recall session id. + /// with the PGS Player encoded in the provided recall session id. /// /// The API is only available for users that have active PGS Player profile. /// @@ -1237,8 +1284,8 @@ class RecallResource { response_ as core.Map); } - /// Retrieve all Recall tokens associated with the PGS Player principal - /// encoded in the provided recall session id. + /// Retrieve all Recall tokens associated with the PGS Player encoded in the + /// provided recall session id. /// /// The API is only available for users that have active PGS Player profile. /// @@ -3144,6 +3191,38 @@ class EventUpdateResponse { }; } +/// Recall tokens for a game. +class GamePlayerToken { + /// The application that this player identifier is for. + core.String? applicationId; + + /// Recall token data. + core.List? token; + + GamePlayerToken({ + this.applicationId, + this.token, + }); + + GamePlayerToken.fromJson(core.Map json_) + : this( + applicationId: json_.containsKey('applicationId') + ? json_['applicationId'] as core.String + : null, + token: json_.containsKey('token') + ? (json_['token'] as core.List) + .map((value) => RecallToken.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (applicationId != null) 'applicationId': applicationId!, + if (token != null) 'token': token!, + }; +} + /// The payload to request to increment an achievement. class GamesAchievementIncrement { /// Uniquely identifies the type of this resource. @@ -5087,6 +5166,34 @@ class RetrieveDeveloperGamesLastPlayerTokenResponse { }; } +/// A list of recall token data returned from the RetrieveGamesPlayerTokens RPC +class RetrieveGamesPlayerTokensResponse { + /// The requested applications along with the recall tokens for the player. + /// + /// If the player does not have recall tokens for an application, that + /// application is not included in the response. + core.List? applicationRecallTokens; + + RetrieveGamesPlayerTokensResponse({ + this.applicationRecallTokens, + }); + + RetrieveGamesPlayerTokensResponse.fromJson(core.Map json_) + : this( + applicationRecallTokens: json_.containsKey('applicationRecallTokens') + ? (json_['applicationRecallTokens'] as core.List) + .map((value) => GamePlayerToken.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (applicationRecallTokens != null) + 'applicationRecallTokens': applicationRecallTokens!, + }; +} + /// Response for the RetrievePlayerTokens RPC class RetrievePlayerTokensResponse { /// Recall tokens associated with the requested PGS Player principal diff --git a/generated/googleapis/lib/gkehub/v1.dart b/generated/googleapis/lib/gkehub/v1.dart index 5b7649c2a..a9ba3e7d8 100644 --- a/generated/googleapis/lib/gkehub/v1.dart +++ b/generated/googleapis/lib/gkehub/v1.dart @@ -4982,7 +4982,7 @@ class ConfigManagementPolicyControllerMigration { /// /// For example, to specify metrics should be exported to Cloud Monitoring and /// Prometheus, specify backends: \["cloudmonitoring", "prometheus"\] -typedef ConfigManagementPolicyControllerMonitoring = $Shared12; +typedef ConfigManagementPolicyControllerMonitoring = $Shared11; /// State for PolicyControllerState. class ConfigManagementPolicyControllerState { @@ -9053,7 +9053,7 @@ class PolicyControllerMembershipState { /// /// For example, to specify metrics should be exported to Cloud Monitoring and /// Prometheus, specify backends: \["cloudmonitoring", "prometheus"\] -typedef PolicyControllerMonitoringConfig = $Shared12; +typedef PolicyControllerMonitoringConfig = $Shared11; /// OnClusterState represents the state of a sub-component of Policy Controller. class PolicyControllerOnClusterState { diff --git a/generated/googleapis/lib/iam/v1.dart b/generated/googleapis/lib/iam/v1.dart index 5064b5a00..f52b51ef9 100644 --- a/generated/googleapis/lib/iam/v1.dart +++ b/generated/googleapis/lib/iam/v1.dart @@ -6874,8 +6874,9 @@ class ListWorkloadIdentityPoolsResponse { /// Represents an OauthClient. /// -/// Used to access Google Cloud resources on behave of a user by using OAuth 2.0 -/// Protocol to obtain an access token from Google Cloud Platform. +/// Used to access Google Cloud resources on behalf of a Workforce Identity +/// Federation user by using OAuth 2.0 Protocol to obtain an access token from +/// Google Cloud. class OauthClient { /// The list of OAuth grant types is allowed for the OauthClient. /// @@ -6894,8 +6895,7 @@ class OauthClient { /// The following scopes are supported: * /// `https://www.googleapis.com/auth/cloud-platform`: See, edit, configure, /// and delete your Google Cloud data and see the email address for your - /// Google Account. * `openid`: Associate you with your personal info on - /// Google Cloud. * `email`: See your Google Cloud Account email address. + /// Google Account. /// /// Required. core.List? allowedScopes; diff --git a/generated/googleapis/lib/identitytoolkit/v2.dart b/generated/googleapis/lib/identitytoolkit/v2.dart index 891c4db03..0d3b1665e 100644 --- a/generated/googleapis/lib/identitytoolkit/v2.dart +++ b/generated/googleapis/lib/identitytoolkit/v2.dart @@ -2475,6 +2475,8 @@ class GoogleCloudIdentitytoolkitAdminV2Anonymous { class GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig { /// A list of Bundle ID's usable by this project core.List? bundleIds; + + /// Additional config for Apple for code flow. GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig? codeFlowConfig; GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig({ diff --git a/generated/googleapis/lib/integrations/v1.dart b/generated/googleapis/lib/integrations/v1.dart index f363a9148..d59516a94 100644 --- a/generated/googleapis/lib/integrations/v1.dart +++ b/generated/googleapis/lib/integrations/v1.dart @@ -2016,6 +2016,50 @@ class ProjectsLocationsIntegrationsExecutionsResource { return GoogleCloudIntegrationsV1alphaListExecutionsResponse.fromJson( response_ as core.Map); } + + /// Re-execute an existing execution, with same request parameters and + /// execution strategy + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The execution resource name. Format: + /// projects/{gcp_project_id}/locations/{location}/integrations/{integration}/executions/{execution_id} + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/integrations/\[^/\]+/executions/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudIntegrationsV1alphaReplayExecutionResponse]. + /// + /// 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 replay( + GoogleCloudIntegrationsV1alphaReplayExecutionRequest 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') + ':replay'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleCloudIntegrationsV1alphaReplayExecutionResponse.fromJson( + response_ as core.Map); + } } class ProjectsLocationsIntegrationsExecutionsSuspensionsResource { @@ -6064,6 +6108,42 @@ class EnterpriseCrmEventbusProtoConditionResult { }; } +class EnterpriseCrmEventbusProtoConditionalFailurePolicies { + /// The default failure policy to be applied if no conditional failure policy + /// matches + EnterpriseCrmEventbusProtoFailurePolicy? defaultFailurePolicy; + + /// The list of failure policies that will be applied to the task in order. + core.List? failurePolicies; + + EnterpriseCrmEventbusProtoConditionalFailurePolicies({ + this.defaultFailurePolicy, + this.failurePolicies, + }); + + EnterpriseCrmEventbusProtoConditionalFailurePolicies.fromJson(core.Map json_) + : this( + defaultFailurePolicy: json_.containsKey('defaultFailurePolicy') + ? EnterpriseCrmEventbusProtoFailurePolicy.fromJson( + json_['defaultFailurePolicy'] + as core.Map) + : null, + failurePolicies: json_.containsKey('failurePolicies') + ? (json_['failurePolicies'] as core.List) + .map((value) => + EnterpriseCrmEventbusProtoFailurePolicy.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (defaultFailurePolicy != null) + 'defaultFailurePolicy': defaultFailurePolicy!, + if (failurePolicies != null) 'failurePolicies': failurePolicies!, + }; +} + /// Represents two-dimensional positions. class EnterpriseCrmEventbusProtoCoordinate { core.int? x; @@ -6122,7 +6202,7 @@ class EnterpriseCrmEventbusProtoCustomSuspensionRequest { }; } -typedef EnterpriseCrmEventbusProtoDoubleArray = $Shared06; +typedef EnterpriseCrmEventbusProtoDoubleArray = $Shared05; typedef EnterpriseCrmEventbusProtoDoubleParameterArray = $EventbusProtoDoubleParameterArray; @@ -6365,12 +6445,15 @@ class EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats { /// Contains the snapshot of the event execution for a given checkpoint. /// -/// Next available id: 13 +/// Next available id: 15 class EnterpriseCrmEventbusProtoEventExecutionSnapshot { /// Indicates "right after which checkpoint task's execution" this snapshot is /// taken. core.String? checkpointTaskNumber; + /// Client that the execution snapshot is associated to. + core.String? clientId; + /// All of the computed conditions that been calculated. core.List? conditionResults; @@ -6408,8 +6491,12 @@ class EnterpriseCrmEventbusProtoEventExecutionSnapshot { ) core.String? taskName; + /// Name of the workflow this event execution snapshot belongs to. + core.String? workflowName; + EnterpriseCrmEventbusProtoEventExecutionSnapshot({ this.checkpointTaskNumber, + this.clientId, this.conditionResults, this.diffParams, this.eventExecutionInfoId, @@ -6420,6 +6507,7 @@ class EnterpriseCrmEventbusProtoEventExecutionSnapshot { this.snapshotTime, this.taskExecutionDetails, this.taskName, + this.workflowName, }); EnterpriseCrmEventbusProtoEventExecutionSnapshot.fromJson(core.Map json_) @@ -6427,6 +6515,9 @@ class EnterpriseCrmEventbusProtoEventExecutionSnapshot { checkpointTaskNumber: json_.containsKey('checkpointTaskNumber') ? json_['checkpointTaskNumber'] as core.String : null, + clientId: json_.containsKey('clientId') + ? json_['clientId'] as core.String + : null, conditionResults: json_.containsKey('conditionResults') ? (json_['conditionResults'] as core.List) .map((value) => @@ -6471,11 +6562,15 @@ class EnterpriseCrmEventbusProtoEventExecutionSnapshot { taskName: json_.containsKey('taskName') ? json_['taskName'] as core.String : null, + workflowName: json_.containsKey('workflowName') + ? json_['workflowName'] as core.String + : null, ); core.Map toJson() => { if (checkpointTaskNumber != null) 'checkpointTaskNumber': checkpointTaskNumber!, + if (clientId != null) 'clientId': clientId!, if (conditionResults != null) 'conditionResults': conditionResults!, if (diffParams != null) 'diffParams': diffParams!, if (eventExecutionInfoId != null) @@ -6490,6 +6585,7 @@ class EnterpriseCrmEventbusProtoEventExecutionSnapshot { if (taskExecutionDetails != null) 'taskExecutionDetails': taskExecutionDetails!, if (taskName != null) 'taskName': taskName!, + if (workflowName != null) 'workflowName': workflowName!, }; } @@ -6738,7 +6834,7 @@ class EnterpriseCrmEventbusProtoFailurePolicy { }; } -typedef EnterpriseCrmEventbusProtoIntArray = $Shared07; +typedef EnterpriseCrmEventbusProtoIntArray = $Shared06; typedef EnterpriseCrmEventbusProtoIntParameterArray = $EventbusProtoIntParameterArray; @@ -8416,7 +8512,7 @@ class EnterpriseCrmEventbusProtoTeardownTaskConfig { }; } -typedef EnterpriseCrmEventbusProtoToken = $Shared05; +typedef EnterpriseCrmEventbusProtoToken = $Shared04; class EnterpriseCrmEventbusProtoTriggerCriteria { /// Standard filter expression, when true the workflow will be executed. @@ -9804,6 +9900,15 @@ class EnterpriseCrmFrontendsEventbusProtoTaskConfig { /// durations, etc. core.List? alertConfigs; + /// Determines the number of times the task will be retried on failure and + /// with what retry strategy. + /// + /// This is applicable for synchronous calls to Eventbus alone (Post). + /// + /// Optional. + EnterpriseCrmEventbusProtoConditionalFailurePolicies? + conditionalFailurePolicies; + /// Auto-generated. core.String? createTime; @@ -9972,6 +10077,7 @@ class EnterpriseCrmFrontendsEventbusProtoTaskConfig { EnterpriseCrmFrontendsEventbusProtoTaskConfig({ this.alertConfigs, + this.conditionalFailurePolicies, this.createTime, this.creatorEmail, this.description, @@ -10010,6 +10116,12 @@ class EnterpriseCrmFrontendsEventbusProtoTaskConfig { value as core.Map)) .toList() : null, + conditionalFailurePolicies: json_ + .containsKey('conditionalFailurePolicies') + ? EnterpriseCrmEventbusProtoConditionalFailurePolicies.fromJson( + json_['conditionalFailurePolicies'] + as core.Map) + : null, createTime: json_.containsKey('createTime') ? json_['createTime'] as core.String : null, @@ -10115,6 +10227,8 @@ class EnterpriseCrmFrontendsEventbusProtoTaskConfig { core.Map toJson() => { if (alertConfigs != null) 'alertConfigs': alertConfigs!, + if (conditionalFailurePolicies != null) + 'conditionalFailurePolicies': conditionalFailurePolicies!, if (createTime != null) 'createTime': createTime!, if (creatorEmail != null) 'creatorEmail': creatorEmail!, if (description != null) 'description': description!, @@ -12987,6 +13101,44 @@ class GoogleCloudIntegrationsV1alphaCloudLoggingDetails { typedef GoogleCloudIntegrationsV1alphaCloudSchedulerConfig = $CloudSchedulerConfig; +/// Conditional task failur retry strategies +class GoogleCloudIntegrationsV1alphaConditionalFailurePolicies { + /// The default failure policy to be applied if no conditional failure policy + /// matches. + GoogleCloudIntegrationsV1alphaFailurePolicy? defaultFailurePolicy; + + /// The list of failure policies that will be applied to the task in order. + core.List? failurePolicies; + + GoogleCloudIntegrationsV1alphaConditionalFailurePolicies({ + this.defaultFailurePolicy, + this.failurePolicies, + }); + + GoogleCloudIntegrationsV1alphaConditionalFailurePolicies.fromJson( + core.Map json_) + : this( + defaultFailurePolicy: json_.containsKey('defaultFailurePolicy') + ? GoogleCloudIntegrationsV1alphaFailurePolicy.fromJson( + json_['defaultFailurePolicy'] + as core.Map) + : null, + failurePolicies: json_.containsKey('failurePolicies') + ? (json_['failurePolicies'] as core.List) + .map((value) => + GoogleCloudIntegrationsV1alphaFailurePolicy.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (defaultFailurePolicy != null) + 'defaultFailurePolicy': defaultFailurePolicy!, + if (failurePolicies != null) 'failurePolicies': failurePolicies!, + }; +} + /// Metadata of runtime connection schema. class GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata { /// List of actions. @@ -16584,6 +16736,75 @@ class GoogleCloudIntegrationsV1alphaReplaceServiceAccountRequest { }; } +/// Request for replaying an execution Next ID: 3 +class GoogleCloudIntegrationsV1alphaReplayExecutionRequest { + /// The user provided reason for replaying the execution. + /// + /// Optional. + core.String? replayReason; + + GoogleCloudIntegrationsV1alphaReplayExecutionRequest({ + this.replayReason, + }); + + GoogleCloudIntegrationsV1alphaReplayExecutionRequest.fromJson(core.Map json_) + : this( + replayReason: json_.containsKey('replayReason') + ? json_['replayReason'] as core.String + : null, + ); + + core.Map toJson() => { + if (replayReason != null) 'replayReason': replayReason!, + }; +} + +/// Response for replaying an execution Next ID: 4 +class GoogleCloudIntegrationsV1alphaReplayExecutionResponse { + /// The id of the execution corresponding to this run of integration. + core.String? executionId; + + /// OUTPUT parameters in format of Map. + /// + /// Where Key is the name of the parameter. The parameters would only be + /// present in case of synchrounous execution Note: Name of the system + /// generated parameters are wrapped by backtick(\`) to distinguish them from + /// the user defined parameters. + /// + /// 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? outputParameters; + + /// The execution id which is replayed + core.String? replayedExecutionId; + + GoogleCloudIntegrationsV1alphaReplayExecutionResponse({ + this.executionId, + this.outputParameters, + this.replayedExecutionId, + }); + + GoogleCloudIntegrationsV1alphaReplayExecutionResponse.fromJson(core.Map json_) + : this( + executionId: json_.containsKey('executionId') + ? json_['executionId'] as core.String + : null, + outputParameters: json_.containsKey('outputParameters') + ? json_['outputParameters'] as core.Map + : null, + replayedExecutionId: json_.containsKey('replayedExecutionId') + ? json_['replayedExecutionId'] as core.String + : null, + ); + + core.Map toJson() => { + if (executionId != null) 'executionId': executionId!, + if (outputParameters != null) 'outputParameters': outputParameters!, + if (replayedExecutionId != null) + 'replayedExecutionId': replayedExecutionId!, + }; +} + /// Request for \[Suspensions.ResolveSuspensions\]. class GoogleCloudIntegrationsV1alphaResolveSuspensionRequest { /// Suspension, containing the event_execution_info_id, task_id, and state to @@ -17447,6 +17668,13 @@ class GoogleCloudIntegrationsV1alphaTakeoverEditLockResponse { /// This is not the implementation of Task. There might be multiple TaskConfigs /// for the same Task. class GoogleCloudIntegrationsV1alphaTaskConfig { + /// The list of conditional failure policies that will be applied to the task + /// in order. + /// + /// Optional. + GoogleCloudIntegrationsV1alphaConditionalFailurePolicies? + conditionalFailurePolicies; + /// User-provided description intended to give additional business context /// about the task. /// @@ -17582,6 +17810,7 @@ class GoogleCloudIntegrationsV1alphaTaskConfig { core.String? taskTemplate; GoogleCloudIntegrationsV1alphaTaskConfig({ + this.conditionalFailurePolicies, this.description, this.displayName, this.errorCatcherId, @@ -17602,6 +17831,12 @@ class GoogleCloudIntegrationsV1alphaTaskConfig { GoogleCloudIntegrationsV1alphaTaskConfig.fromJson(core.Map json_) : this( + conditionalFailurePolicies: + json_.containsKey('conditionalFailurePolicies') + ? GoogleCloudIntegrationsV1alphaConditionalFailurePolicies + .fromJson(json_['conditionalFailurePolicies'] + as core.Map) + : null, description: json_.containsKey('description') ? json_['description'] as core.String : null, @@ -17669,6 +17904,8 @@ class GoogleCloudIntegrationsV1alphaTaskConfig { ); core.Map toJson() => { + if (conditionalFailurePolicies != null) + 'conditionalFailurePolicies': conditionalFailurePolicies!, if (description != null) 'description': description!, if (displayName != null) 'displayName': displayName!, if (errorCatcherId != null) 'errorCatcherId': errorCatcherId!, diff --git a/generated/googleapis/lib/looker/v1.dart b/generated/googleapis/lib/looker/v1.dart index 3518b32ef..a5ebeedb9 100644 --- a/generated/googleapis/lib/looker/v1.dart +++ b/generated/googleapis/lib/looker/v1.dart @@ -1468,8 +1468,6 @@ class ImportInstanceRequest { } /// A Looker instance. -/// -/// LINT.IfChange class Instance { /// Looker Instance Admin settings. AdminSettings? adminSettings; diff --git a/generated/googleapis/lib/managedidentities/v1.dart b/generated/googleapis/lib/managedidentities/v1.dart index ab881407d..41ff72fde 100644 --- a/generated/googleapis/lib/managedidentities/v1.dart +++ b/generated/googleapis/lib/managedidentities/v1.dart @@ -2415,7 +2415,11 @@ class Binding { /// Role that is assigned to the list of `members`, or principals. /// - /// For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + /// For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an + /// overview of the IAM roles and permissions, see the + /// [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For + /// a list of the available pre-defined roles, see + /// [here](https://cloud.google.com/iam/docs/understanding-roles). core.String? role; Binding({ @@ -2628,8 +2632,10 @@ class Domain { /// Locations where domain needs to be provisioned. /// - /// regions e.g. us-west1 or us-east4 Service supports up to 4 locations at - /// once. Each location will use a /26 block. + /// The locations can be specified according to + /// https://cloud.google.com/compute/docs/regions-zones, such as `us-west1` or + /// `us-east4`. Each domain supports up to 4 locations, separated by commas. + /// Each location will use a /26 block. /// /// Required. core.List? locations; diff --git a/generated/googleapis/lib/memcache/v1.dart b/generated/googleapis/lib/memcache/v1.dart index 2337a8ded..6f9d4fe0a 100644 --- a/generated/googleapis/lib/memcache/v1.dart +++ b/generated/googleapis/lib/memcache/v1.dart @@ -1017,6 +1017,16 @@ class Instance { /// Optional. core.List? reservedIpRangeId; + /// Reserved for future use. + /// + /// Optional. Output only. + core.bool? satisfiesPzi; + + /// Reserved for future use. + /// + /// Optional. Output only. + core.bool? satisfiesPzs; + /// The state of this Memcached instance. /// /// Output only. @@ -1062,6 +1072,8 @@ class Instance { this.nodeCount, this.parameters, this.reservedIpRangeId, + this.satisfiesPzi, + this.satisfiesPzs, this.state, this.updateTime, this.zones, @@ -1133,6 +1145,12 @@ class Instance { .map((value) => value as core.String) .toList() : null, + satisfiesPzi: json_.containsKey('satisfiesPzi') + ? json_['satisfiesPzi'] as core.bool + : null, + satisfiesPzs: json_.containsKey('satisfiesPzs') + ? json_['satisfiesPzs'] as core.bool + : null, state: json_.containsKey('state') ? json_['state'] as core.String : null, updateTime: json_.containsKey('updateTime') @@ -1164,6 +1182,8 @@ class Instance { if (nodeCount != null) 'nodeCount': nodeCount!, if (parameters != null) 'parameters': parameters!, if (reservedIpRangeId != null) 'reservedIpRangeId': reservedIpRangeId!, + if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!, + if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!, if (state != null) 'state': state!, if (updateTime != null) 'updateTime': updateTime!, if (zones != null) 'zones': zones!, diff --git a/generated/googleapis/lib/ml/v1.dart b/generated/googleapis/lib/ml/v1.dart index d9c104a1b..3bd961321 100644 --- a/generated/googleapis/lib/ml/v1.dart +++ b/generated/googleapis/lib/ml/v1.dart @@ -3337,7 +3337,7 @@ class GoogleCloudMlV1ContainerSpec { } /// Represents the config of disk options. -typedef GoogleCloudMlV1DiskConfig = $Shared04; +typedef GoogleCloudMlV1DiskConfig = $Shared03; /// Represents a custom encryption key configuration that can be applied to a /// resource. diff --git a/generated/googleapis/lib/monitoring/v3.dart b/generated/googleapis/lib/monitoring/v3.dart index f1848d605..d9ca07be9 100644 --- a/generated/googleapis/lib/monitoring/v3.dart +++ b/generated/googleapis/lib/monitoring/v3.dart @@ -2866,7 +2866,7 @@ class ProjectsSnoozesResource { /// /// Request parameters: /// - /// [name] - Required. The name of the Snooze. The format is: + /// [name] - Required. Identifier. The name of the Snooze. The format is: /// projects/\[PROJECT_ID_OR_NUMBER\]/snoozes/\[SNOOZE_ID\] The ID of the /// Snooze will be generated by the system. /// Value must have pattern `^projects/\[^/\]+/snoozes/\[^/\]+$`. @@ -4362,7 +4362,7 @@ class UptimeCheckIpsResource { UptimeCheckIpsResource(commons.ApiRequester client) : _requester = client; - /// Returns the list of IP addresses that checkers run from + /// Returns the list of IP addresses that checkers run from. /// /// Request parameters: /// @@ -10011,10 +10011,11 @@ class Snooze { /// Required. TimeInterval? interval; - /// The name of the Snooze. + /// Identifier. /// - /// The format is: projects/\[PROJECT_ID_OR_NUMBER\]/snoozes/\[SNOOZE_ID\] The - /// ID of the Snooze will be generated by the system. + /// The name of the Snooze. The format is: + /// projects/\[PROJECT_ID_OR_NUMBER\]/snoozes/\[SNOOZE_ID\] The ID of the + /// Snooze will be generated by the system. /// /// Required. core.String? name; diff --git a/generated/googleapis/lib/networkconnectivity/v1.dart b/generated/googleapis/lib/networkconnectivity/v1.dart index 953192d7c..8d8b48e05 100644 --- a/generated/googleapis/lib/networkconnectivity/v1.dart +++ b/generated/googleapis/lib/networkconnectivity/v1.dart @@ -1342,15 +1342,15 @@ class ProjectsLocationsGlobalPolicyBasedRoutesResource { /// /// [requestId] - Optional. An optional request ID to identify requests. /// Specify a unique request ID so that if you must retry your request, the - /// server will know to ignore the request if it has already been completed. - /// The server will guarantee that for at least 60 minutes since the first - /// request. For example, consider a situation where you make an initial - /// request and the request times out. If you make the request again with the - /// same request ID, the server can check if original operation with the same - /// request ID was received, and if so, will ignore the second request. This - /// prevents clients from accidentally creating duplicate commitments. The - /// request ID must be a valid UUID with the exception that zero UUID is not - /// supported (00000000-0000-0000-0000-000000000000). + /// server knows to ignore the request if it has already been completed. The + /// server guarantees that for at least 60 minutes since the first request. + /// For example, consider a situation where you make an initial request and + /// the request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, ignores the second request. This prevents clients + /// from accidentally creating duplicate commitments. The request ID must be a + /// valid UUID with the exception that zero UUID is not supported + /// (00000000-0000-0000-0000-000000000000). /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -1399,15 +1399,15 @@ class ProjectsLocationsGlobalPolicyBasedRoutesResource { /// /// [requestId] - Optional. An optional request ID to identify requests. /// Specify a unique request ID so that if you must retry your request, the - /// server will know to ignore the request if it has already been completed. - /// The server will guarantee that for at least 60 minutes after the first - /// request. For example, consider a situation where you make an initial - /// request and the request times out. If you make the request again with the - /// same request ID, the server can check if original operation with the same - /// request ID was received, and if so, will ignore the second request. This - /// prevents clients from accidentally creating duplicate commitments. The - /// request ID must be a valid UUID with the exception that zero UUID is not - /// supported (00000000-0000-0000-0000-000000000000). + /// server knows to ignore the request if it has already been completed. The + /// server guarantees that for at least 60 minutes after the first request. + /// For example, consider a situation where you make an initial request and + /// the request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, ignores the second request. This prevents clients + /// from accidentally creating duplicate commitments. The request ID must be a + /// valid UUID with the exception that zero UUID is not supported + /// (00000000-0000-0000-0000-000000000000). /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -4543,6 +4543,14 @@ class ConsumerPscConfig { /// The consumer project where PSC connections are allowed to be created in. core.String? project; + /// A map to store mapping between customer vip and target service attachment. + /// + /// Only service attachment with producer specified ip addresses are stored + /// here. + /// + /// Output only. + core.Map? serviceAttachmentIpAddressMap; + /// Overall state of PSC Connections management for this consumer psc config. /// /// Output only. @@ -4563,6 +4571,7 @@ class ConsumerPscConfig { this.network, this.producerInstanceId, this.project, + this.serviceAttachmentIpAddressMap, this.state, }); @@ -4580,6 +4589,17 @@ class ConsumerPscConfig { project: json_.containsKey('project') ? json_['project'] as core.String : null, + serviceAttachmentIpAddressMap: + json_.containsKey('serviceAttachmentIpAddressMap') + ? (json_['serviceAttachmentIpAddressMap'] + as core.Map) + .map( + (key, value) => core.MapEntry( + key, + value as core.String, + ), + ) + : null, state: json_.containsKey('state') ? json_['state'] as core.String : null, ); @@ -4591,6 +4611,8 @@ class ConsumerPscConfig { if (producerInstanceId != null) 'producerInstanceId': producerInstanceId!, if (project != null) 'project': project!, + if (serviceAttachmentIpAddressMap != null) + 'serviceAttachmentIpAddressMap': serviceAttachmentIpAddressMap!, if (state != null) 'state': state!, }; } @@ -4795,7 +4817,7 @@ class Filter { /// Internet protocol versions this policy-based route applies to. /// - /// For this version, only IPV4 is supported. + /// For this version, only IPV4 is supported. IPV6 is supported in preview. /// /// Required. /// Possible string values are: @@ -5701,6 +5723,11 @@ class LinkedVpcNetwork { /// Optional. core.List? excludeExportRanges; + /// IP ranges allowed to be included from peering. + /// + /// Optional. + core.List? includeExportRanges; + /// The URI of the VPC network resource. /// /// Required. @@ -5708,6 +5735,7 @@ class LinkedVpcNetwork { LinkedVpcNetwork({ this.excludeExportRanges, + this.includeExportRanges, this.uri, }); @@ -5718,12 +5746,19 @@ class LinkedVpcNetwork { .map((value) => value as core.String) .toList() : null, + includeExportRanges: json_.containsKey('includeExportRanges') + ? (json_['includeExportRanges'] as core.List) + .map((value) => value as core.String) + .toList() + : null, uri: json_.containsKey('uri') ? json_['uri'] as core.String : null, ); core.Map toJson() => { if (excludeExportRanges != null) 'excludeExportRanges': excludeExportRanges!, + if (includeExportRanges != null) + 'includeExportRanges': includeExportRanges!, if (uri != null) 'uri': uri!, }; } @@ -6406,6 +6441,126 @@ class ListSpokesResponse { /// A resource that represents a Google Cloud location. typedef Location = $Location00; +/// A route next hop that leads to an interconnect attachment resource. +class NextHopInterconnectAttachment { + /// Indicates whether site-to-site data transfer is allowed for this + /// interconnect attachment resource. + /// + /// Data transfer is available only in + /// [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). + core.bool? siteToSiteDataTransfer; + + /// The URI of the interconnect attachment resource. + core.String? uri; + + /// The VPC network where this interconnect attachment is located. + core.String? vpcNetwork; + + NextHopInterconnectAttachment({ + this.siteToSiteDataTransfer, + this.uri, + this.vpcNetwork, + }); + + NextHopInterconnectAttachment.fromJson(core.Map json_) + : this( + siteToSiteDataTransfer: json_.containsKey('siteToSiteDataTransfer') + ? json_['siteToSiteDataTransfer'] as core.bool + : null, + uri: json_.containsKey('uri') ? json_['uri'] as core.String : null, + vpcNetwork: json_.containsKey('vpcNetwork') + ? json_['vpcNetwork'] as core.String + : null, + ); + + core.Map toJson() => { + if (siteToSiteDataTransfer != null) + 'siteToSiteDataTransfer': siteToSiteDataTransfer!, + if (uri != null) 'uri': uri!, + if (vpcNetwork != null) 'vpcNetwork': vpcNetwork!, + }; +} + +/// A route next hop that leads to a Router appliance instance. +class NextHopRouterApplianceInstance { + /// Indicates whether site-to-site data transfer is allowed for this Router + /// appliance instance resource. + /// + /// Data transfer is available only in + /// [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). + core.bool? siteToSiteDataTransfer; + + /// The URI of the Router appliance instance. + core.String? uri; + + /// The VPC network where this VM is located. + core.String? vpcNetwork; + + NextHopRouterApplianceInstance({ + this.siteToSiteDataTransfer, + this.uri, + this.vpcNetwork, + }); + + NextHopRouterApplianceInstance.fromJson(core.Map json_) + : this( + siteToSiteDataTransfer: json_.containsKey('siteToSiteDataTransfer') + ? json_['siteToSiteDataTransfer'] as core.bool + : null, + uri: json_.containsKey('uri') ? json_['uri'] as core.String : null, + vpcNetwork: json_.containsKey('vpcNetwork') + ? json_['vpcNetwork'] as core.String + : null, + ); + + core.Map toJson() => { + if (siteToSiteDataTransfer != null) + 'siteToSiteDataTransfer': siteToSiteDataTransfer!, + if (uri != null) 'uri': uri!, + if (vpcNetwork != null) 'vpcNetwork': vpcNetwork!, + }; +} + +/// A route next hop that leads to a VPN tunnel resource. +class NextHopVPNTunnel { + /// Indicates whether site-to-site data transfer is allowed for this VPN + /// tunnel resource. + /// + /// Data transfer is available only in + /// [supported locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations). + core.bool? siteToSiteDataTransfer; + + /// The URI of the VPN tunnel resource. + core.String? uri; + + /// The VPC network where this VPN tunnel is located. + core.String? vpcNetwork; + + NextHopVPNTunnel({ + this.siteToSiteDataTransfer, + this.uri, + this.vpcNetwork, + }); + + NextHopVPNTunnel.fromJson(core.Map json_) + : this( + siteToSiteDataTransfer: json_.containsKey('siteToSiteDataTransfer') + ? json_['siteToSiteDataTransfer'] as core.bool + : null, + uri: json_.containsKey('uri') ? json_['uri'] as core.String : null, + vpcNetwork: json_.containsKey('vpcNetwork') + ? json_['vpcNetwork'] as core.String + : null, + ); + + core.Map toJson() => { + if (siteToSiteDataTransfer != null) + 'siteToSiteDataTransfer': siteToSiteDataTransfer!, + if (uri != null) 'uri': uri!, + if (vpcNetwork != null) 'vpcNetwork': vpcNetwork!, + }; +} + class NextHopVpcNetwork { /// The URI of the VPC network resource core.String? uri; @@ -6549,7 +6704,7 @@ class Policy { /// IP address, but also source IP address, protocol, and more. /// /// If a policy-based route conflicts with other types of routes, the -/// policy-based route always take precedence. +/// policy-based route always takes precedence. class PolicyBasedRoute { /// Time when the policy-based route was created. /// @@ -6612,7 +6767,7 @@ class PolicyBasedRoute { /// - "OTHER_ROUTES_UNSPECIFIED" : Default value. /// - "DEFAULT_ROUTING" : Use the routes from the default routing tables /// (system-generated routes, custom routes, peering route) to determine the - /// next hop. This will effectively exclude matching packets being applied on + /// next hop. This effectively excludes matching packets being applied on /// other PBRs with a lower priority. core.String? nextHopOtherRoutes; @@ -6637,7 +6792,7 @@ class PolicyBasedRoute { /// Output only. core.String? updateTime; - /// VM instances to which this policy-based route applies to. + /// VM instances that this policy-based route applies to. /// /// Optional. VirtualMachine? virtualMachine; @@ -7192,11 +7347,35 @@ class Route { /// Immutable. core.String? name; + /// The next-hop VLAN attachment for packets on this route. + /// + /// Immutable. + NextHopInterconnectAttachment? nextHopInterconnectAttachment; + + /// The next-hop Router appliance instance for packets on this route. + /// + /// Immutable. + NextHopRouterApplianceInstance? nextHopRouterApplianceInstance; + /// The destination VPC network for packets on this route. /// /// Immutable. NextHopVpcNetwork? nextHopVpcNetwork; + /// The next-hop VPN tunnel for packets on this route. + /// + /// Immutable. + NextHopVPNTunnel? nextHopVpnTunnel; + + /// The priority of this route. + /// + /// Priority is used to break ties in cases where a destination matches more + /// than one route. In these cases the route with the lowest-numbered priority + /// value wins. + /// + /// Output only. + core.String? priority; + /// The spoke that this route leads to. /// /// Example: projects/12345/locations/global/spokes/SPOKE @@ -7231,6 +7410,9 @@ class Route { /// primary address range of the VPC network's subnet. /// - "VPC_SECONDARY_SUBNET" : The route leads to a destination within the /// secondary address range of the VPC network's subnet. + /// - "DYNAMIC_ROUTE" : The route leads to a destination in a dynamic route. + /// Dynamic routes are derived from Border Gateway Protocol (BGP) + /// advertisements received from an NCC hybrid spoke. core.String? type; /// The Google-generated UUID for the route. @@ -7254,7 +7436,11 @@ class Route { this.labels, this.location, this.name, + this.nextHopInterconnectAttachment, + this.nextHopRouterApplianceInstance, this.nextHopVpcNetwork, + this.nextHopVpnTunnel, + this.priority, this.spoke, this.state, this.type, @@ -7285,10 +7471,29 @@ class Route { ? json_['location'] as core.String : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, + nextHopInterconnectAttachment: + json_.containsKey('nextHopInterconnectAttachment') + ? NextHopInterconnectAttachment.fromJson( + json_['nextHopInterconnectAttachment'] + as core.Map) + : null, + nextHopRouterApplianceInstance: + json_.containsKey('nextHopRouterApplianceInstance') + ? NextHopRouterApplianceInstance.fromJson( + json_['nextHopRouterApplianceInstance'] + as core.Map) + : null, nextHopVpcNetwork: json_.containsKey('nextHopVpcNetwork') ? NextHopVpcNetwork.fromJson(json_['nextHopVpcNetwork'] as core.Map) : null, + nextHopVpnTunnel: json_.containsKey('nextHopVpnTunnel') + ? NextHopVPNTunnel.fromJson(json_['nextHopVpnTunnel'] + as core.Map) + : null, + priority: json_.containsKey('priority') + ? json_['priority'] as core.String + : null, spoke: json_.containsKey('spoke') ? json_['spoke'] as core.String : null, state: @@ -7307,7 +7512,13 @@ class Route { if (labels != null) 'labels': labels!, if (location != null) 'location': location!, if (name != null) 'name': name!, + if (nextHopInterconnectAttachment != null) + 'nextHopInterconnectAttachment': nextHopInterconnectAttachment!, + if (nextHopRouterApplianceInstance != null) + 'nextHopRouterApplianceInstance': nextHopRouterApplianceInstance!, if (nextHopVpcNetwork != null) 'nextHopVpcNetwork': nextHopVpcNetwork!, + if (nextHopVpnTunnel != null) 'nextHopVpnTunnel': nextHopVpnTunnel!, + if (priority != null) 'priority': priority!, if (spoke != null) 'spoke': spoke!, if (state != null) 'state': state!, if (type != null) 'type': type!, @@ -8455,11 +8666,11 @@ typedef TestIamPermissionsRequest = $TestIamPermissionsRequest00; /// Response message for `TestIamPermissions` method. typedef TestIamPermissionsResponse = $PermissionsResponse; -/// VM instances to which this policy-based route applies to. +/// VM instances that this policy-based route applies to. class VirtualMachine { - /// A list of VM instance tags the this policy-based route applies to. + /// A list of VM instance tags that this policy-based route applies to. /// - /// VM instances that have ANY of tags specified here will install this PBR. + /// VM instances that have ANY of tags specified here installs this PBR. /// /// Optional. core.List? tags; @@ -8490,8 +8701,8 @@ class Warnings { /// Possible string values are: /// - "WARNING_UNSPECIFIED" : Default value. /// - "RESOURCE_NOT_ACTIVE" : The policy-based route is not active and - /// functioning. Common causes are the dependent network was deleted or the - /// resource project was turned off. + /// functioning. Common causes are that the dependent network was deleted or + /// the resource project was turned off. /// - "RESOURCE_BEING_MODIFIED" : The policy-based route is being modified /// (e.g. created/deleted) at this time. core.String? code; diff --git a/generated/googleapis/lib/notebooks/v2.dart b/generated/googleapis/lib/notebooks/v2.dart index 8c560df84..6d0807c72 100644 --- a/generated/googleapis/lib/notebooks/v2.dart +++ b/generated/googleapis/lib/notebooks/v2.dart @@ -1260,6 +1260,32 @@ class AcceleratorConfig { }; } +/// An access configuration attached to an instance's network interface. +class AccessConfig { + /// An external IP address associated with this instance. + /// + /// Specify an unused static external IP address available to the project or + /// leave this field undefined to use an IP from a shared ephemeral IP address + /// pool. If you specify a static external IP address, it must live in the + /// same region as the zone of the instance. + core.String? externalIp; + + AccessConfig({ + this.externalIp, + }); + + AccessConfig.fromJson(core.Map json_) + : this( + externalIp: json_.containsKey('externalIp') + ? json_['externalIp'] as core.String + : null, + ); + + core.Map toJson() => { + if (externalIp != null) 'externalIp': externalIp!, + }; +} + /// Associates `members`, or principals, with a `role`. class Binding { /// The condition that is associated with this binding. @@ -2181,6 +2207,16 @@ class Instance { /// Output only. core.String? proxyUri; + /// Reserved for future use for Zone Isolation. + /// + /// Output only. + core.bool? satisfiesPzi; + + /// Reserved for future use for Zone Separation. + /// + /// Output only. + core.bool? satisfiesPzs; + /// The state of this instance. /// /// Output only. @@ -2227,6 +2263,8 @@ class Instance { this.labels, this.name, this.proxyUri, + this.satisfiesPzi, + this.satisfiesPzs, this.state, this.thirdPartyProxyUrl, this.updateTime, @@ -2278,6 +2316,12 @@ class Instance { proxyUri: json_.containsKey('proxyUri') ? json_['proxyUri'] as core.String : null, + satisfiesPzi: json_.containsKey('satisfiesPzi') + ? json_['satisfiesPzi'] as core.bool + : null, + satisfiesPzs: json_.containsKey('satisfiesPzs') + ? json_['satisfiesPzs'] as core.bool + : null, state: json_.containsKey('state') ? json_['state'] as core.String : null, thirdPartyProxyUrl: json_.containsKey('thirdPartyProxyUrl') @@ -2307,6 +2351,8 @@ class Instance { if (labels != null) 'labels': labels!, if (name != null) 'name': name!, if (proxyUri != null) 'proxyUri': proxyUri!, + if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!, + if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!, if (state != null) 'state': state!, if (thirdPartyProxyUrl != null) 'thirdPartyProxyUrl': thirdPartyProxyUrl!, @@ -2430,6 +2476,15 @@ typedef Location = $Location00; /// The definition of a network interface resource attached to a VM. class NetworkInterface { + /// An array of configurations for this interface. + /// + /// Currently, only one access config, ONE_TO_ONE_NAT, is supported. If no + /// accessConfigs specified, the instance will have an external internet + /// access through an ephemeral external IP address. + /// + /// Optional. + core.List? accessConfigs; + /// The name of the VPC that this VM instance is in. /// /// Format: `projects/{project_id}/global/networks/{network_id}` @@ -2457,6 +2512,7 @@ class NetworkInterface { core.String? subnet; NetworkInterface({ + this.accessConfigs, this.network, this.nicType, this.subnet, @@ -2464,6 +2520,12 @@ class NetworkInterface { NetworkInterface.fromJson(core.Map json_) : this( + accessConfigs: json_.containsKey('accessConfigs') + ? (json_['accessConfigs'] as core.List) + .map((value) => AccessConfig.fromJson( + value as core.Map)) + .toList() + : null, network: json_.containsKey('network') ? json_['network'] as core.String : null, @@ -2476,6 +2538,7 @@ class NetworkInterface { ); core.Map toJson() => { + if (accessConfigs != null) 'accessConfigs': accessConfigs!, if (network != null) 'network': network!, if (nicType != null) 'nicType': nicType!, if (subnet != null) 'subnet': subnet!, diff --git a/generated/googleapis/lib/osconfig/v1.dart b/generated/googleapis/lib/osconfig/v1.dart index 61f691b37..a2baa9759 100644 --- a/generated/googleapis/lib/osconfig/v1.dart +++ b/generated/googleapis/lib/osconfig/v1.dart @@ -3171,7 +3171,7 @@ class OSPolicyAssignmentInstanceFilter { } /// VM inventory details. -typedef OSPolicyAssignmentInstanceFilterInventory = $Shared13; +typedef OSPolicyAssignmentInstanceFilterInventory = $Shared12; /// Message representing label set. /// @@ -3316,7 +3316,10 @@ class OSPolicyAssignmentReportOSPolicyCompliance { /// unexpectedly started working on a different task. This mostly happens when /// the agent or VM unexpectedly restarts while applying OS policies. * /// `internal-service-errors`: Internal service errors were encountered while - /// attempting to apply the policy. + /// attempting to apply the policy. * `os-policy-execution-pending`: OS policy + /// was assigned to the given VM, but was not executed yet. Typically this is + /// a transient condition that will go away after the next policy execution + /// cycle. core.String? complianceStateReason; /// The OS policy id @@ -3388,7 +3391,8 @@ class OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance { /// because errors were encountered while executing prior resources in the OS /// policy. * `os-policy-execution-attempt-failed`: The execution of the OS /// policy containing this resource failed and the compliance state couldn't - /// be determined. + /// be determined. * `os-policy-execution-pending`: OS policy that owns this + /// resource was assigned to the given VM, but was not executed yet. core.String? complianceStateReason; /// Ordered list of configuration completed by the agent for the OS policy @@ -3567,7 +3571,7 @@ class OSPolicyAssignmentRollout { } /// Filtering criteria to select VMs based on inventory details. -typedef OSPolicyInventoryFilter = $Shared13; +typedef OSPolicyInventoryFilter = $Shared12; /// An OS policy resource is used to define the desired state configuration and /// provides a specific functionality like installing/removing packages, diff --git a/generated/googleapis/lib/policyanalyzer/v1.dart b/generated/googleapis/lib/policyanalyzer/v1.dart index 0929113e0..167b4e501 100644 --- a/generated/googleapis/lib/policyanalyzer/v1.dart +++ b/generated/googleapis/lib/policyanalyzer/v1.dart @@ -17,6 +17,14 @@ /// /// Create an instance of [PolicyAnalyzerApi] to access these resources: /// +/// - [FoldersResource] +/// - [FoldersLocationsResource] +/// - [FoldersLocationsActivityTypesResource] +/// - [FoldersLocationsActivityTypesActivitiesResource] +/// - [OrganizationsResource] +/// - [OrganizationsLocationsResource] +/// - [OrganizationsLocationsActivityTypesResource] +/// - [OrganizationsLocationsActivityTypesActivitiesResource] /// - [ProjectsResource] /// - [ProjectsLocationsResource] /// - [ProjectsLocationsActivityTypesResource] @@ -42,6 +50,8 @@ class PolicyAnalyzerApi { final commons.ApiRequester _requester; + FoldersResource get folders => FoldersResource(_requester); + OrganizationsResource get organizations => OrganizationsResource(_requester); ProjectsResource get projects => ProjectsResource(_requester); PolicyAnalyzerApi(http.Client client, @@ -51,6 +61,212 @@ class PolicyAnalyzerApi { commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); } +class FoldersResource { + final commons.ApiRequester _requester; + + FoldersLocationsResource get locations => + FoldersLocationsResource(_requester); + + FoldersResource(commons.ApiRequester client) : _requester = client; +} + +class FoldersLocationsResource { + final commons.ApiRequester _requester; + + FoldersLocationsActivityTypesResource get activityTypes => + FoldersLocationsActivityTypesResource(_requester); + + FoldersLocationsResource(commons.ApiRequester client) : _requester = client; +} + +class FoldersLocationsActivityTypesResource { + final commons.ApiRequester _requester; + + FoldersLocationsActivityTypesActivitiesResource get activities => + FoldersLocationsActivityTypesActivitiesResource(_requester); + + FoldersLocationsActivityTypesResource(commons.ApiRequester client) + : _requester = client; +} + +class FoldersLocationsActivityTypesActivitiesResource { + final commons.ApiRequester _requester; + + FoldersLocationsActivityTypesActivitiesResource(commons.ApiRequester client) + : _requester = client; + + /// Queries policy activities on Google Cloud resources. + /// + /// Request parameters: + /// + /// [parent] - Required. The container resource on which to execute the + /// request. Acceptable formats: + /// `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/activityTypes/[ACTIVITY_TYPE]` + /// LOCATION here refers to Google Cloud Locations: + /// https://cloud.google.com/about/locations/ + /// Value must have pattern + /// `^folders/\[^/\]+/locations/\[^/\]+/activityTypes/\[^/\]+$`. + /// + /// [filter] - Optional. Filter expression to restrict the activities + /// returned. For serviceAccountLastAuthentication activities, supported + /// filters are: - `activities.full_resource_name {=} [STRING]` - + /// `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full + /// resource name of the service account. For + /// serviceAccountKeyLastAuthentication activities, supported filters are: - + /// `activities.full_resource_name {=} [STRING]` - + /// `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full + /// resource name of the service account key. + /// + /// [pageSize] - Optional. The maximum number of results to return from this + /// request. Max limit is 1000. Non-positive values are ignored. The presence + /// of `nextPageToken` in the response indicates that more results might be + /// available. + /// + /// [pageToken] - Optional. If present, then retrieve the next batch of + /// results from the preceding call to this method. `pageToken` must be the + /// value of `nextPageToken` from the previous response. The values of other + /// method parameters should be identical to those in the previous call. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudPolicyanalyzerV1QueryActivityResponse]. + /// + /// 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 query( + core.String parent, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/activities:query'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleCloudPolicyanalyzerV1QueryActivityResponse.fromJson( + response_ as core.Map); + } +} + +class OrganizationsResource { + final commons.ApiRequester _requester; + + OrganizationsLocationsResource get locations => + OrganizationsLocationsResource(_requester); + + OrganizationsResource(commons.ApiRequester client) : _requester = client; +} + +class OrganizationsLocationsResource { + final commons.ApiRequester _requester; + + OrganizationsLocationsActivityTypesResource get activityTypes => + OrganizationsLocationsActivityTypesResource(_requester); + + OrganizationsLocationsResource(commons.ApiRequester client) + : _requester = client; +} + +class OrganizationsLocationsActivityTypesResource { + final commons.ApiRequester _requester; + + OrganizationsLocationsActivityTypesActivitiesResource get activities => + OrganizationsLocationsActivityTypesActivitiesResource(_requester); + + OrganizationsLocationsActivityTypesResource(commons.ApiRequester client) + : _requester = client; +} + +class OrganizationsLocationsActivityTypesActivitiesResource { + final commons.ApiRequester _requester; + + OrganizationsLocationsActivityTypesActivitiesResource( + commons.ApiRequester client) + : _requester = client; + + /// Queries policy activities on Google Cloud resources. + /// + /// Request parameters: + /// + /// [parent] - Required. The container resource on which to execute the + /// request. Acceptable formats: + /// `projects/[PROJECT_ID|PROJECT_NUMBER]/locations/[LOCATION]/activityTypes/[ACTIVITY_TYPE]` + /// LOCATION here refers to Google Cloud Locations: + /// https://cloud.google.com/about/locations/ + /// Value must have pattern + /// `^organizations/\[^/\]+/locations/\[^/\]+/activityTypes/\[^/\]+$`. + /// + /// [filter] - Optional. Filter expression to restrict the activities + /// returned. For serviceAccountLastAuthentication activities, supported + /// filters are: - `activities.full_resource_name {=} [STRING]` - + /// `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full + /// resource name of the service account. For + /// serviceAccountKeyLastAuthentication activities, supported filters are: - + /// `activities.full_resource_name {=} [STRING]` - + /// `activities.fullResourceName {=} [STRING]` where `[STRING]` is the full + /// resource name of the service account key. + /// + /// [pageSize] - Optional. The maximum number of results to return from this + /// request. Max limit is 1000. Non-positive values are ignored. The presence + /// of `nextPageToken` in the response indicates that more results might be + /// available. + /// + /// [pageToken] - Optional. If present, then retrieve the next batch of + /// results from the preceding call to this method. `pageToken` must be the + /// value of `nextPageToken` from the previous response. The values of other + /// method parameters should be identical to those in the previous call. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudPolicyanalyzerV1QueryActivityResponse]. + /// + /// 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 query( + core.String parent, { + core.String? filter, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/activities:query'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleCloudPolicyanalyzerV1QueryActivityResponse.fromJson( + response_ as core.Map); + } +} + class ProjectsResource { final commons.ApiRequester _requester; @@ -153,6 +369,7 @@ class ProjectsLocationsActivityTypesActivitiesResource { } } +/// Represents Activity on a GCP resource over specific observation period. class GoogleCloudPolicyanalyzerV1Activity { /// A struct of custom fields to explain the activity. /// diff --git a/generated/googleapis/lib/pollen/v1.dart b/generated/googleapis/lib/pollen/v1.dart new file mode 100644 index 000000000..4f6d4abb6 --- /dev/null +++ b/generated/googleapis/lib/pollen/v1.dart @@ -0,0 +1,703 @@ +// This is a generated file (see the discoveryapis_generator project). + +// ignore_for_file: camel_case_types +// ignore_for_file: comment_references +// ignore_for_file: deprecated_member_use_from_same_package +// ignore_for_file: doc_directive_unknown +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_string_interpolations + +/// Pollen API - v1 +/// +/// The Pollen API. +/// +/// For more information, see +/// +/// +/// Create an instance of [PollenApi] to access these resources: +/// +/// - [ForecastResource] +/// - [MapTypesResource] +/// - [MapTypesHeatmapTilesResource] +library; + +import 'dart:async' as async; +import 'dart:core' as core; + +import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; +import 'package:http/http.dart' as http; + +import '../shared.dart'; +import '../src/user_agent.dart'; + +export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' + show ApiRequestError, DetailedApiRequestError; + +/// The Pollen API. +class PollenApi { + /// See, edit, configure, and delete your Google Cloud data and see the email + /// address for your Google Account. + static const cloudPlatformScope = + 'https://www.googleapis.com/auth/cloud-platform'; + + final commons.ApiRequester _requester; + + ForecastResource get forecast => ForecastResource(_requester); + MapTypesResource get mapTypes => MapTypesResource(_requester); + + PollenApi(http.Client client, + {core.String rootUrl = 'https://pollen.googleapis.com/', + core.String servicePath = ''}) + : _requester = + commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); +} + +class ForecastResource { + final commons.ApiRequester _requester; + + ForecastResource(commons.ApiRequester client) : _requester = client; + + /// Returns up to 5 days of daily pollen information in more than 65 + /// countries, up to 1km resolution. + /// + /// Request parameters: + /// + /// [days] - Required. A number that indicates how many forecast days to + /// request (minimum value 1, maximum value is 5). + /// + /// [languageCode] - Optional. Allows the client to choose the language for + /// the response. If data cannot be provided for that language the API uses + /// the closest match. Allowed values rely on the IETF BCP-47 standard. + /// Default value is "en". + /// + /// [location_latitude] - The latitude in degrees. It must be in the range + /// \[-90.0, +90.0\]. + /// + /// [location_longitude] - The longitude in degrees. It must be in the range + /// \[-180.0, +180.0\]. + /// + /// [pageSize] - Optional. The maximum number of daily info records to return + /// per page. The default and max value is 5 (5 days of data). + /// + /// [pageToken] - Optional. A page token received from a previous daily call. + /// It is used to retrieve the subsequent page. Note that when providing a + /// value for the page token all other request parameters provided must match + /// the previous call that provided the page token. + /// + /// [plantsDescription] - Optional. Contains general information about plants, + /// including details on their seasonality, special shapes and colors, + /// information about allergic cross-reactions, and plant photos. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [LookupForecastResponse]. + /// + /// 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 lookup({ + core.int? days, + core.String? languageCode, + core.double? location_latitude, + core.double? location_longitude, + core.int? pageSize, + core.String? pageToken, + core.bool? plantsDescription, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (days != null) 'days': ['${days}'], + if (languageCode != null) 'languageCode': [languageCode], + if (location_latitude != null) + 'location.latitude': ['${location_latitude}'], + if (location_longitude != null) + 'location.longitude': ['${location_longitude}'], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if (plantsDescription != null) + 'plantsDescription': ['${plantsDescription}'], + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1/forecast:lookup'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return LookupForecastResponse.fromJson( + response_ as core.Map); + } +} + +class MapTypesResource { + final commons.ApiRequester _requester; + + MapTypesHeatmapTilesResource get heatmapTiles => + MapTypesHeatmapTilesResource(_requester); + + MapTypesResource(commons.ApiRequester client) : _requester = client; +} + +class MapTypesHeatmapTilesResource { + final commons.ApiRequester _requester; + + MapTypesHeatmapTilesResource(commons.ApiRequester client) + : _requester = client; + + /// Returns a byte array containing the data of the tile PNG image. + /// + /// Request parameters: + /// + /// [mapType] - Required. The type of the pollen heatmap. Defines the + /// combination of pollen type and index that the map will graphically + /// represent. + /// Possible string values are: + /// - "MAP_TYPE_UNSPECIFIED" : Unspecified map type. + /// - "TREE_UPI" : The heatmap type will represent a tree index graphical map. + /// - "GRASS_UPI" : The heatmap type will represent a grass index graphical + /// map. + /// - "WEED_UPI" : The heatmap type will represent a weed index graphically + /// map. + /// + /// [zoom] - Required. The map's zoom level. Defines how large or small the + /// contents of a map appear in a map view. * Zoom level 0 is the entire world + /// in a single tile. * Zoom level 1 is the entire world in 4 tiles. * Zoom + /// level 2 is the entire world in 16 tiles. * Zoom level 16 is the entire + /// world in 65,536 tiles. Allowed values: 0-16 + /// + /// [x] - Required. Defines the east-west point in the requested tile. + /// + /// [y] - Required. Defines the north-south point in the requested tile. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [HttpBody]. + /// + /// 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 lookupHeatmapTile( + core.String mapType, + core.int zoom, + core.int x, + core.int y, { + core.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/mapTypes/' + + commons.escapeVariable('$mapType') + + '/heatmapTiles/' + + commons.escapeVariable('$zoom') + + '/' + + commons.escapeVariable('$x') + + '/' + + commons.escapeVariable('$y'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return HttpBody.fromJson(response_ as core.Map); + } +} + +/// Represents a color in the RGBA color space. +/// +/// This representation is designed for simplicity of conversion to and from +/// color representations in various languages over compactness. For example, +/// the fields of this representation can be trivially provided to the +/// constructor of `java.awt.Color` in Java; it can also be trivially provided +/// to UIColor's `+colorWithRed:green:blue:alpha` method in iOS; and, with just +/// a little work, it can be easily formatted into a CSS `rgba()` string in +/// JavaScript. This reference page doesn't have information about the absolute +/// color space that should be used to interpret the RGB value—for example, +/// sRGB, Adobe RGB, DCI-P3, and BT.2020. By default, applications should assume +/// the sRGB color space. When color equality needs to be decided, +/// implementations, unless documented otherwise, treat two colors as equal if +/// all their red, green, blue, and alpha values each differ by at most `1e-5`. +/// Example (Java): import com.google.type.Color; // ... public static +/// java.awt.Color fromProto(Color protocolor) { float alpha = +/// protocolor.hasAlpha() ? protocolor.getAlpha().getValue() : 1.0; return new +/// java.awt.Color( protocolor.getRed(), protocolor.getGreen(), +/// protocolor.getBlue(), alpha); } public static Color toProto(java.awt.Color +/// color) { float red = (float) color.getRed(); float green = (float) +/// color.getGreen(); float blue = (float) color.getBlue(); float denominator = +/// 255.0; Color.Builder resultBuilder = Color .newBuilder() .setRed(red / +/// denominator) .setGreen(green / denominator) .setBlue(blue / denominator); +/// int alpha = color.getAlpha(); if (alpha != 255) { result.setAlpha( +/// FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .build()); +/// } return resultBuilder.build(); } // ... Example (iOS / Obj-C): // ... +/// static UIColor* fromProto(Color* protocolor) { float red = \[protocolor +/// red\]; float green = \[protocolor green\]; float blue = \[protocolor blue\]; +/// FloatValue* alpha_wrapper = \[protocolor alpha\]; float alpha = 1.0; if +/// (alpha_wrapper != nil) { alpha = \[alpha_wrapper value\]; } return \[UIColor +/// colorWithRed:red green:green blue:blue alpha:alpha\]; } static Color* +/// toProto(UIColor* color) { CGFloat red, green, blue, alpha; if (!\[color +/// getRed:&red green:&green blue:&blue alpha:&alpha\]) { return nil; } Color* +/// result = \[\[Color alloc\] init\]; \[result setRed:red\]; \[result +/// setGreen:green\]; \[result setBlue:blue\]; if (alpha \<= 0.9999) { \[result +/// setAlpha:floatWrapperWithValue(alpha)\]; } \[result autorelease\]; return +/// result; } // ... Example (JavaScript): // ... var protoToCssColor = +/// function(rgb_color) { var redFrac = rgb_color.red || 0.0; var greenFrac = +/// rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0; var red = +/// Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255); var blue +/// = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) { return +/// rgbToCssColor(red, green, blue); } var alphaFrac = rgb_color.alpha.value || +/// 0.0; var rgbParams = \[red, green, blue\].join(','); return \['rgba(', +/// rgbParams, ',', alphaFrac, ')'\].join(''); }; var rgbToCssColor = +/// function(red, green, blue) { var rgbNumber = new Number((red \<\< 16) | +/// (green \<\< 8) | blue); var hexString = rgbNumber.toString(16); var +/// missingZeros = 6 - hexString.length; var resultBuilder = \['#'\]; for (var i +/// = 0; i \< missingZeros; i++) { resultBuilder.push('0'); } +/// resultBuilder.push(hexString); return resultBuilder.join(''); }; // ... +typedef Color = $Color; + +/// Represents a whole or partial calendar date, such as a birthday. +/// +/// The time of day and time zone are either specified elsewhere or are +/// insignificant. The date is relative to the Gregorian Calendar. This can +/// represent one of the following: * A full date, with non-zero year, month, +/// and day values. * A month and day, with a zero year (for example, an +/// anniversary). * A year on its own, with a zero month and a zero day. * A +/// year and month, with a zero day (for example, a credit card expiration +/// date). Related types: * google.type.TimeOfDay * google.type.DateTime * +/// google.protobuf.Timestamp +typedef Date = $Date; + +/// This object contains the daily forecast information for each day requested. +class DayInfo { + /// The date in UTC at which the pollen forecast data is represented. + Date? date; + + /// This list will include (up to) 15 pollen species affecting the location + /// specified in the request. + core.List? plantInfo; + + /// This list will include (up to) three pollen types (grass, weed, tree) + /// affecting the location specified in the request. + core.List? pollenTypeInfo; + + DayInfo({ + this.date, + this.plantInfo, + this.pollenTypeInfo, + }); + + DayInfo.fromJson(core.Map json_) + : this( + date: json_.containsKey('date') + ? Date.fromJson( + json_['date'] as core.Map) + : null, + plantInfo: json_.containsKey('plantInfo') + ? (json_['plantInfo'] as core.List) + .map((value) => PlantInfo.fromJson( + value as core.Map)) + .toList() + : null, + pollenTypeInfo: json_.containsKey('pollenTypeInfo') + ? (json_['pollenTypeInfo'] as core.List) + .map((value) => PollenTypeInfo.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (date != null) 'date': date!, + if (plantInfo != null) 'plantInfo': plantInfo!, + if (pollenTypeInfo != null) 'pollenTypeInfo': pollenTypeInfo!, + }; +} + +/// Message that represents an arbitrary HTTP body. +/// +/// It should only be used for payload formats that can't be represented as +/// JSON, such as raw binary or an HTML page. This message can be used both in +/// streaming and non-streaming API methods in the request as well as the +/// response. It can be used as a top-level request field, which is convenient +/// if one wants to extract parameters from either the URL or HTTP template into +/// the request fields and also want access to the raw HTTP body. Example: +/// message GetResourceRequest { // A unique request id. string request_id = 1; +/// // The raw HTTP body is bound to this field. google.api.HttpBody http_body = +/// 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns +/// (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns +/// (google.protobuf.Empty); } Example with streaming methods: service +/// CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream +/// google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns +/// (stream google.api.HttpBody); } Use of this type only changes how the +/// request and response bodies are handled, all other features will continue to +/// work unchanged. +typedef HttpBody = $HttpBody; + +/// This object contains data representing specific pollen index value, category +/// and description. +class IndexInfo { + /// Text classification of index numerical score interpretation. + /// + /// The index consists of six categories: * 0: "None" * 1: "Very low" * 2: + /// "Low" * 3: "Moderate" * 4: "High" * 5: "Very high + core.String? category; + + /// The index's code. + /// + /// This field represents the index for programming purposes by using snake + /// cases instead of spaces. Example: "UPI". + /// Possible string values are: + /// - "INDEX_UNSPECIFIED" : Unspecified index. + /// - "UPI" : Universal Pollen Index. + core.String? code; + + /// The color used to represent the Pollen Index numeric score. + Color? color; + + /// A human readable representation of the index name. + /// + /// Example: "Universal Pollen Index". + core.String? displayName; + + /// Textual explanation of current index level. + core.String? indexDescription; + + /// The index's numeric score. + /// + /// Numeric range is between 0 and 5. + core.int? value; + + IndexInfo({ + this.category, + this.code, + this.color, + this.displayName, + this.indexDescription, + this.value, + }); + + IndexInfo.fromJson(core.Map json_) + : this( + category: json_.containsKey('category') + ? json_['category'] as core.String + : null, + code: json_.containsKey('code') ? json_['code'] as core.String : null, + color: json_.containsKey('color') + ? Color.fromJson( + json_['color'] as core.Map) + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + indexDescription: json_.containsKey('indexDescription') + ? json_['indexDescription'] as core.String + : null, + value: json_.containsKey('value') ? json_['value'] as core.int : null, + ); + + core.Map toJson() => { + if (category != null) 'category': category!, + if (code != null) 'code': code!, + if (color != null) 'color': color!, + if (displayName != null) 'displayName': displayName!, + if (indexDescription != null) 'indexDescription': indexDescription!, + if (value != null) 'value': value!, + }; +} + +class LookupForecastResponse { + /// This object contains the daily forecast information for each day + /// requested. + /// + /// Required. + core.List? dailyInfo; + + /// The token to retrieve the next page. + /// + /// Optional. + core.String? nextPageToken; + + /// The ISO_3166-1 alpha-2 code of the country/region corresponding to the + /// location provided in the request. + /// + /// This field might be omitted from the response if the location provided in + /// the request resides in a disputed territory. + core.String? regionCode; + + LookupForecastResponse({ + this.dailyInfo, + this.nextPageToken, + this.regionCode, + }); + + LookupForecastResponse.fromJson(core.Map json_) + : this( + dailyInfo: json_.containsKey('dailyInfo') + ? (json_['dailyInfo'] as core.List) + .map((value) => DayInfo.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + regionCode: json_.containsKey('regionCode') + ? json_['regionCode'] as core.String + : null, + ); + + core.Map toJson() => { + if (dailyInfo != null) 'dailyInfo': dailyInfo!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (regionCode != null) 'regionCode': regionCode!, + }; +} + +/// Contains general information about plants, including details on their +/// seasonality, special shapes and colors, information about allergic +/// cross-reactions, and plant photos. +class PlantDescription { + /// Textual description of pollen cross reaction plants. + /// + /// Example: Alder, Hazel, Hornbeam, Beech, Willow, and Oak pollen. + core.String? crossReaction; + + /// A human readable representation of the plant family name. + /// + /// Example: "Betulaceae (the Birch family)". + core.String? family; + + /// Link to the picture of the plant. + core.String? picture; + + /// Link to a closeup picture of the plant. + core.String? pictureCloseup; + + /// Textual list of explanations of seasons where the pollen is active. + /// + /// Example: "Late winter, spring". + core.String? season; + + /// Textual description of the plants' colors of leaves, bark, flowers or + /// seeds that helps identify the plant. + core.String? specialColors; + + /// Textual description of the plants' shapes of leaves, bark, flowers or + /// seeds that helps identify the plant. + core.String? specialShapes; + + /// The plant's pollen type. + /// + /// For example: "GRASS". A list of all available codes could be found here. + /// Possible string values are: + /// - "POLLEN_TYPE_UNSPECIFIED" : Unspecified plant type. + /// - "GRASS" : Grass pollen type. + /// - "TREE" : Tree pollen type. + /// - "WEED" : Weed pollen type. + core.String? type; + + PlantDescription({ + this.crossReaction, + this.family, + this.picture, + this.pictureCloseup, + this.season, + this.specialColors, + this.specialShapes, + this.type, + }); + + PlantDescription.fromJson(core.Map json_) + : this( + crossReaction: json_.containsKey('crossReaction') + ? json_['crossReaction'] as core.String + : null, + family: json_.containsKey('family') + ? json_['family'] as core.String + : null, + picture: json_.containsKey('picture') + ? json_['picture'] as core.String + : null, + pictureCloseup: json_.containsKey('pictureCloseup') + ? json_['pictureCloseup'] as core.String + : null, + season: json_.containsKey('season') + ? json_['season'] as core.String + : null, + specialColors: json_.containsKey('specialColors') + ? json_['specialColors'] as core.String + : null, + specialShapes: json_.containsKey('specialShapes') + ? json_['specialShapes'] as core.String + : null, + type: json_.containsKey('type') ? json_['type'] as core.String : null, + ); + + core.Map toJson() => { + if (crossReaction != null) 'crossReaction': crossReaction!, + if (family != null) 'family': family!, + if (picture != null) 'picture': picture!, + if (pictureCloseup != null) 'pictureCloseup': pictureCloseup!, + if (season != null) 'season': season!, + if (specialColors != null) 'specialColors': specialColors!, + if (specialShapes != null) 'specialShapes': specialShapes!, + if (type != null) 'type': type!, + }; +} + +/// This object contains the daily information on specific plant. +class PlantInfo { + /// The plant code name. + /// + /// For example: "COTTONWOOD". A list of all available codes could be found + /// here. + /// Possible string values are: + /// - "PLANT_UNSPECIFIED" : Unspecified plant code. + /// - "ALDER" : Alder is classified as a tree pollen type. + /// - "ASH" : Ash is classified as a tree pollen type. + /// - "BIRCH" : Birch is classified as a tree pollen type. + /// - "COTTONWOOD" : Cottonwood is classified as a tree pollen type. + /// - "ELM" : Elm is classified as a tree pollen type. + /// - "MAPLE" : Maple is classified as a tree pollen type. + /// - "OLIVE" : Olive is classified as a tree pollen type. + /// - "JUNIPER" : Juniper is classified as a tree pollen type. + /// - "OAK" : Oak is classified as a tree pollen type. + /// - "PINE" : Pine is classified as a tree pollen type. + /// - "CYPRESS_PINE" : Cypress pine is classified as a tree pollen type. + /// - "HAZEL" : Hazel is classified as a tree pollen type. + /// - "GRAMINALES" : Graminales is classified as a grass pollen type. + /// - "RAGWEED" : Ragweed is classified as a weed pollen type. + /// - "MUGWORT" : Mugwort is classified as a weed pollen type. + core.String? code; + + /// A human readable representation of the plant name. + /// + /// Example: “Cottonwood". + core.String? displayName; + + /// Indication of either the plant is in season or not. + core.bool? inSeason; + + /// This object contains data representing specific pollen index value, + /// category and description. + IndexInfo? indexInfo; + + /// Contains general information about plants, including details on their + /// seasonality, special shapes and colors, information about allergic + /// cross-reactions, and plant photos. + PlantDescription? plantDescription; + + PlantInfo({ + this.code, + this.displayName, + this.inSeason, + this.indexInfo, + this.plantDescription, + }); + + PlantInfo.fromJson(core.Map json_) + : this( + code: json_.containsKey('code') ? json_['code'] as core.String : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + inSeason: json_.containsKey('inSeason') + ? json_['inSeason'] as core.bool + : null, + indexInfo: json_.containsKey('indexInfo') + ? IndexInfo.fromJson( + json_['indexInfo'] as core.Map) + : null, + plantDescription: json_.containsKey('plantDescription') + ? PlantDescription.fromJson(json_['plantDescription'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (code != null) 'code': code!, + if (displayName != null) 'displayName': displayName!, + if (inSeason != null) 'inSeason': inSeason!, + if (indexInfo != null) 'indexInfo': indexInfo!, + if (plantDescription != null) 'plantDescription': plantDescription!, + }; +} + +/// This object contains the pollen type index and health recommendation +/// information on specific pollen type. +class PollenTypeInfo { + /// The pollen type's code name. + /// + /// For example: "GRASS" + /// Possible string values are: + /// - "POLLEN_TYPE_UNSPECIFIED" : Unspecified plant type. + /// - "GRASS" : Grass pollen type. + /// - "TREE" : Tree pollen type. + /// - "WEED" : Weed pollen type. + core.String? code; + + /// A human readable representation of the pollen type name. + /// + /// Example: "Grass" + core.String? displayName; + + /// Textual list of explanations, related to health insights based on the + /// current pollen levels. + core.List? healthRecommendations; + + /// Indication whether the plant is in season or not. + core.bool? inSeason; + + /// Contains the Universal Pollen Index (UPI) data for the pollen type. + IndexInfo? indexInfo; + + PollenTypeInfo({ + this.code, + this.displayName, + this.healthRecommendations, + this.inSeason, + this.indexInfo, + }); + + PollenTypeInfo.fromJson(core.Map json_) + : this( + code: json_.containsKey('code') ? json_['code'] as core.String : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + healthRecommendations: json_.containsKey('healthRecommendations') + ? (json_['healthRecommendations'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + inSeason: json_.containsKey('inSeason') + ? json_['inSeason'] as core.bool + : null, + indexInfo: json_.containsKey('indexInfo') + ? IndexInfo.fromJson( + json_['indexInfo'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (code != null) 'code': code!, + if (displayName != null) 'displayName': displayName!, + if (healthRecommendations != null) + 'healthRecommendations': healthRecommendations!, + if (inSeason != null) 'inSeason': inSeason!, + if (indexInfo != null) 'indexInfo': indexInfo!, + }; +} diff --git a/generated/googleapis/lib/privateca/v1.dart b/generated/googleapis/lib/privateca/v1.dart index e3446ed12..8be0da1f2 100644 --- a/generated/googleapis/lib/privateca/v1.dart +++ b/generated/googleapis/lib/privateca/v1.dart @@ -2730,22 +2730,23 @@ class Binding { }; } -/// Describes values that are relevant in a CA certificate. +/// Describes the X.509 basic constraints extension, per +/// [RFC 5280 section 4.2.1.9](https://tools.ietf.org/html/rfc5280#section-4.2.1.9) class CaOptions { - /// Refers to the "CA" X.509 extension, which is a boolean value. + /// Refers to the "CA" boolean field in the X.509 extension. /// - /// When this value is missing, the extension will be omitted from the CA - /// certificate. + /// When this value is missing, the basic constraints extension will be + /// omitted from the certificate. /// /// Optional. core.bool? isCa; - /// Refers to the path length restriction X.509 extension. + /// Refers to the path length constraint field in the X.509 extension. /// /// For a CA certificate, this value describes the depth of subordinate CA /// certificates that are allowed. If this value is less than 0, the request /// will fail. If this value is missing, the max path length will be omitted - /// from the CA certificate. + /// from the certificate. /// /// Optional. core.int? maxIssuerPathLength; @@ -5958,6 +5959,9 @@ class X509Parameters { /// Describes options in this X509Parameters that are relevant in a CA /// certificate. /// + /// If not specified, a default basic constraints extension with `is_ca=false` + /// will be added for leaf certificates. + /// /// Optional. CaOptions? caOptions; diff --git a/generated/googleapis/lib/pubsub/v1.dart b/generated/googleapis/lib/pubsub/v1.dart index b5b25134e..55946a156 100644 --- a/generated/googleapis/lib/pubsub/v1.dart +++ b/generated/googleapis/lib/pubsub/v1.dart @@ -2342,6 +2342,12 @@ class AcknowledgeRequest { /// /// Message payloads and metadata will be written to files as an Avro binary. class AvroConfig { + /// When true, the output Cloud Storage file will be serialized using the + /// topic schema, if it exists. + /// + /// Optional. + core.bool? useTopicSchema; + /// When true, write the subscription name, message_id, publish_time, /// attributes, and ordering_key as additional fields in the output. /// @@ -2354,17 +2360,22 @@ class AvroConfig { core.bool? writeMetadata; AvroConfig({ + this.useTopicSchema, this.writeMetadata, }); AvroConfig.fromJson(core.Map json_) : this( + useTopicSchema: json_.containsKey('useTopicSchema') + ? json_['useTopicSchema'] as core.bool + : null, writeMetadata: json_.containsKey('writeMetadata') ? json_['writeMetadata'] as core.bool : null, ); core.Map toJson() => { + if (useTopicSchema != null) 'useTopicSchema': useTopicSchema!, if (writeMetadata != null) 'writeMetadata': writeMetadata!, }; } diff --git a/generated/googleapis/lib/redis/v1.dart b/generated/googleapis/lib/redis/v1.dart index 4222a1fd7..223d825bc 100644 --- a/generated/googleapis/lib/redis/v1.dart +++ b/generated/googleapis/lib/redis/v1.dart @@ -1377,6 +1377,12 @@ class Cluster { /// Output only. core.String? uid; + /// This config will be used to determine how the customer wants us to + /// distribute cluster resources within the region. + /// + /// Optional. + ZoneDistributionConfig? zoneDistributionConfig; + Cluster({ this.authorizationMode, this.createTime, @@ -1396,6 +1402,7 @@ class Cluster { this.stateInfo, this.transitEncryptionMode, this.uid, + this.zoneDistributionConfig, }); Cluster.fromJson(core.Map json_) @@ -1466,6 +1473,10 @@ class Cluster { ? json_['transitEncryptionMode'] as core.String : null, uid: json_.containsKey('uid') ? json_['uid'] as core.String : null, + zoneDistributionConfig: json_.containsKey('zoneDistributionConfig') + ? ZoneDistributionConfig.fromJson(json_['zoneDistributionConfig'] + as core.Map) + : null, ); core.Map toJson() => { @@ -1490,6 +1501,8 @@ class Cluster { if (transitEncryptionMode != null) 'transitEncryptionMode': transitEncryptionMode!, if (uid != null) 'uid': uid!, + if (zoneDistributionConfig != null) + 'zoneDistributionConfig': zoneDistributionConfig!, }; } @@ -3273,3 +3286,44 @@ class WeeklyMaintenanceWindow { if (startTime != null) 'startTime': startTime!, }; } + +/// Zone distribution config for allocation of cluster resources. +class ZoneDistributionConfig { + /// The mode of zone distribution. + /// + /// Defaults to MULTI_ZONE, when not specified. + /// + /// Optional. + /// Possible string values are: + /// - "ZONE_DISTRIBUTION_MODE_UNSPECIFIED" : Not Set. Default: MULTI_ZONE + /// - "MULTI_ZONE" : Distribute all resources across 3 zones picked at random, + /// within the region. + /// - "SINGLE_ZONE" : Distribute all resources in a single zone. The zone + /// field must be specified, when this mode is selected. + core.String? mode; + + /// When SINGLE ZONE distribution is selected, zone field would be used to + /// allocate all resources in that zone. + /// + /// This is not applicable to MULTI_ZONE, and would be ignored for MULTI_ZONE + /// clusters. + /// + /// Optional. + core.String? zone; + + ZoneDistributionConfig({ + this.mode, + this.zone, + }); + + ZoneDistributionConfig.fromJson(core.Map json_) + : this( + mode: json_.containsKey('mode') ? json_['mode'] as core.String : null, + zone: json_.containsKey('zone') ? json_['zone'] as core.String : null, + ); + + core.Map toJson() => { + if (mode != null) 'mode': mode!, + if (zone != null) 'zone': zone!, + }; +} diff --git a/generated/googleapis/lib/resourcesettings/v1.dart b/generated/googleapis/lib/resourcesettings/v1.dart index 84618113b..4c0931e97 100644 --- a/generated/googleapis/lib/resourcesettings/v1.dart +++ b/generated/googleapis/lib/resourcesettings/v1.dart @@ -72,6 +72,9 @@ class FoldersResource { FoldersResource(commons.ApiRequester client) : _requester = client; } +@core.Deprecated( + 'Not supported. Member documentation may have more information.', +) class FoldersSettingsResource { final commons.ApiRequester _requester; @@ -109,6 +112,9 @@ class FoldersSettingsResource { /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) async.Future get( core.String name, { core.String? view, @@ -165,6 +171,9 @@ class FoldersSettingsResource { /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) async.Future list( core.String parent, { core.int? pageSize, @@ -223,6 +232,9 @@ class FoldersSettingsResource { /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) async.Future patch( GoogleCloudResourcesettingsV1Setting request, core.String name, { @@ -255,6 +267,9 @@ class OrganizationsResource { OrganizationsResource(commons.ApiRequester client) : _requester = client; } +@core.Deprecated( + 'Not supported. Member documentation may have more information.', +) class OrganizationsSettingsResource { final commons.ApiRequester _requester; @@ -293,6 +308,9 @@ class OrganizationsSettingsResource { /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) async.Future get( core.String name, { core.String? view, @@ -349,6 +367,9 @@ class OrganizationsSettingsResource { /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) async.Future list( core.String parent, { core.int? pageSize, @@ -407,6 +428,9 @@ class OrganizationsSettingsResource { /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) async.Future patch( GoogleCloudResourcesettingsV1Setting request, core.String name, { @@ -438,6 +462,9 @@ class ProjectsResource { ProjectsResource(commons.ApiRequester client) : _requester = client; } +@core.Deprecated( + 'Not supported. Member documentation may have more information.', +) class ProjectsSettingsResource { final commons.ApiRequester _requester; @@ -475,6 +502,9 @@ class ProjectsSettingsResource { /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) async.Future get( core.String name, { core.String? view, @@ -531,6 +561,9 @@ class ProjectsSettingsResource { /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) async.Future list( core.String parent, { core.int? pageSize, @@ -589,6 +622,9 @@ class ProjectsSettingsResource { /// /// If the used [http.Client] completes with an error when making a REST call, /// this method will complete with the same error. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) async.Future patch( GoogleCloudResourcesettingsV1Setting request, core.String name, { diff --git a/generated/googleapis/lib/retail/v2.dart b/generated/googleapis/lib/retail/v2.dart index 11f5882ab..2a6b5a7af 100644 --- a/generated/googleapis/lib/retail/v2.dart +++ b/generated/googleapis/lib/retail/v2.dart @@ -153,8 +153,8 @@ class ProjectsLocationsCatalogsResource { /// with `OTHER_`, e.g. `OTHER_IPHONE`. /// /// [enableAttributeSuggestions] - If true, attribute suggestions are enabled - /// and provided in response. This field is only available for "cloud-retail" - /// dataset. + /// and provided in the response. This field is only available for the + /// "cloud-retail" dataset. /// /// [entity] - The entity for customers who run multiple entities, domains, /// sites, or regions, for example, `Google US`, `Google Ads`, `Waymo`, diff --git a/generated/googleapis/lib/run/v1.dart b/generated/googleapis/lib/run/v1.dart index 2d69236ed..d516fb944 100644 --- a/generated/googleapis/lib/run/v1.dart +++ b/generated/googleapis/lib/run/v1.dart @@ -203,6 +203,8 @@ class NamespacesConfigurationsResource { /// List configurations. /// + /// Results are sorted by creation time, descending. + /// /// Request parameters: /// /// [parent] - The namespace from which the configurations should be listed. @@ -641,6 +643,8 @@ class NamespacesExecutionsResource { /// List executions. /// + /// Results are sorted by creation time, descending. + /// /// Request parameters: /// /// [parent] - Required. The namespace from which the executions should be @@ -852,6 +856,8 @@ class NamespacesJobsResource { /// List jobs. /// + /// Results are sorted by creation time, descending. + /// /// Request parameters: /// /// [parent] - Required. The namespace from which the jobs should be listed. @@ -1112,6 +1118,8 @@ class NamespacesRevisionsResource { /// List revisions. /// + /// Results are sorted by creation time, descending. + /// /// Request parameters: /// /// [parent] - The namespace from which the revisions should be listed. For @@ -1230,6 +1238,8 @@ class NamespacesRoutesResource { /// List routes. /// + /// Results are sorted by creation time, descending. + /// /// Request parameters: /// /// [parent] - The namespace from which the routes should be listed. For Cloud @@ -1469,6 +1479,8 @@ class NamespacesServicesResource { /// Lists services for the given project and region. /// + /// Results are sorted by creation time, descending. + /// /// Request parameters: /// /// [parent] - Required. The parent from where the resources should be listed. @@ -1958,6 +1970,8 @@ class ProjectsLocationsConfigurationsResource { /// List configurations. /// + /// Results are sorted by creation time, descending. + /// /// Request parameters: /// /// [parent] - The namespace from which the configurations should be listed. @@ -2708,6 +2722,8 @@ class ProjectsLocationsRevisionsResource { /// List revisions. /// + /// Results are sorted by creation time, descending. + /// /// Request parameters: /// /// [parent] - The namespace from which the revisions should be listed. For @@ -2826,6 +2842,8 @@ class ProjectsLocationsRoutesResource { /// List routes. /// + /// Results are sorted by creation time, descending. + /// /// Request parameters: /// /// [parent] - The namespace from which the routes should be listed. For Cloud @@ -3121,6 +3139,8 @@ class ProjectsLocationsServicesResource { /// Lists services for the given project and region. /// + /// Results are sorted by creation time, descending. + /// /// Request parameters: /// /// [parent] - Required. The parent from where the resources should be listed. diff --git a/generated/googleapis/lib/run/v2.dart b/generated/googleapis/lib/run/v2.dart index 01e955c84..067ac7291 100644 --- a/generated/googleapis/lib/run/v2.dart +++ b/generated/googleapis/lib/run/v2.dart @@ -3085,6 +3085,9 @@ class GoogleCloudRunV2ExportStatusResponse { /// FUSE. class GoogleCloudRunV2GCSVolumeSource { /// Cloud Storage Bucket name. + /// + /// TODO (b/344678062) Fix the error validation once dynamic mounting is + /// public. core.String? bucket; /// If true, the volume will be mounted as read only for all mounts. diff --git a/generated/googleapis/lib/servicemanagement/v1.dart b/generated/googleapis/lib/servicemanagement/v1.dart index 5492060c5..b6dd218d6 100644 --- a/generated/googleapis/lib/servicemanagement/v1.dart +++ b/generated/googleapis/lib/servicemanagement/v1.dart @@ -3391,7 +3391,7 @@ class Http { }; } -/// # gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC +/// gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC /// method and one or more HTTP REST endpoints. /// /// It allows developers to build a single API service that supports both gRPC @@ -3414,24 +3414,23 @@ class Http { /// (Message) { option (google.api.http) = { get: "/v1/{name=messages / * }" }; /// } } message GetMessageRequest { string name = 1; // Mapped to URL path. } /// message Message { string text = 1; // The resource content. } This enables -/// an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET -/// /v1/messages/123456` | `GetMessage(name: "messages/123456")` Any fields in -/// the request message which are not bound by the path template automatically -/// become HTTP query parameters if there is no HTTP request body. For example: -/// service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { -/// option (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message +/// an HTTP REST to gRPC mapping as below: - HTTP: `GET /v1/messages/123456` - +/// gRPC: `GetMessage(name: "messages/123456")` Any fields in the request +/// message which are not bound by the path template automatically become HTTP +/// query parameters if there is no HTTP request body. For example: service +/// Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option +/// (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message /// GetMessageRequest { message SubMessage { string subfield = 1; } string /// message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL /// query parameter `revision`. SubMessage sub = 3; // Mapped to URL query /// parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as -/// below: HTTP | gRPC -----|----- `GET -/// /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: -/// "123456" revision: 2 sub: SubMessage(subfield: "foo"))` Note that fields -/// which are mapped to URL query parameters must have a primitive type or a -/// repeated primitive type or a non-repeated message type. In the case of a -/// repeated type, the parameter can be repeated in the URL as -/// `...?param=A¶m=B`. In the case of a message type, each field of the -/// message is mapped to a separate parameter, such as +/// below: - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` - gRPC: +/// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: +/// "foo"))` Note that fields which are mapped to URL query parameters must have +/// a primitive type or a repeated primitive type or a non-repeated message +/// type. In the case of a repeated type, the parameter can be repeated in the +/// URL as `...?param=A¶m=B`. In the case of a message type, each field of +/// the message is mapped to a separate parameter, such as /// `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, /// the `body` field specifies the mapping. Consider a REST update method on the /// message resource collection: service Messaging { rpc @@ -3440,18 +3439,18 @@ class Http { /// } } message UpdateMessageRequest { string message_id = 1; // mapped to the /// URL Message message = 2; // mapped to the body } The following HTTP JSON to /// RPC mapping is enabled, where the representation of the JSON in the request -/// body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH -/// /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" -/// message { text: "Hi!" })` The special name `*` can be used in the body -/// mapping to define that every field not bound by the path template should be -/// mapped to the request body. This enables the following alternative +/// body is determined by protos JSON encoding: - HTTP: `PATCH +/// /v1/messages/123456 { "text": "Hi!" }` - gRPC: `UpdateMessage(message_id: +/// "123456" message { text: "Hi!" })` The special name `*` can be used in the +/// body mapping to define that every field not bound by the path template +/// should be mapped to the request body. This enables the following alternative /// definition of the update method: service Messaging { rpc /// UpdateMessage(Message) returns (Message) { option (google.api.http) = { /// patch: "/v1/messages/{message_id}" body: "*" }; } } message Message { string /// message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is -/// enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" -/// }` | `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using -/// `*` in the body mapping, it is not possible to have HTTP parameters, as all +/// enabled: - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }` - gRPC: +/// `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` +/// in the body mapping, it is not possible to have HTTP parameters, as all /// fields not bound by the path end in the body. This makes this option more /// rarely used in practice when defining REST APIs. The common usage of `*` is /// in custom methods which don't use the URL at all for transferring data. It @@ -3461,25 +3460,25 @@ class Http { /// { get: "/v1/messages/{message_id}" additional_bindings { get: /// "/v1/users/{user_id}/messages/{message_id}" } }; } } message /// GetMessageRequest { string message_id = 1; string user_id = 2; } This -/// enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -/// -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` -/// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: -/// "123456")` ## Rules for HTTP mapping 1. Leaf request fields (recursive -/// expansion nested messages in the request message) are classified into three -/// categories: - Fields referred by the path template. They are passed via the -/// URL path. - Fields referred by the HttpRule.body. They are passed via the -/// HTTP request body. - All other fields are passed via the URL query -/// parameters, and the parameter name is the field path in the request message. -/// A repeated field can be represented as multiple query parameters under the -/// same name. 2. If HttpRule.body is "*", there is no URL query parameter, all -/// fields are passed via URL path and HTTP request body. 3. If HttpRule.body is -/// omitted, there is no HTTP request body, all fields are passed via URL path -/// and URL query parameters. ### Path template syntax Template = "/" Segments -/// \[ Verb \] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | -/// LITERAL | Variable ; Variable = "{" FieldPath \[ "=" Segments \] "}" ; -/// FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` -/// matches a single URL path segment. The syntax `**` matches zero or more URL -/// path segments, which must be the last part of the URL path except the +/// enables the following two alternative HTTP JSON to RPC mappings: - HTTP: +/// `GET /v1/messages/123456` - gRPC: `GetMessage(message_id: "123456")` - HTTP: +/// `GET /v1/users/me/messages/123456` - gRPC: `GetMessage(user_id: "me" +/// message_id: "123456")` Rules for HTTP mapping 1. Leaf request fields +/// (recursive expansion nested messages in the request message) are classified +/// into three categories: - Fields referred by the path template. They are +/// passed via the URL path. - Fields referred by the HttpRule.body. They are +/// passed via the HTTP request body. - All other fields are passed via the URL +/// query parameters, and the parameter name is the field path in the request +/// message. A repeated field can be represented as multiple query parameters +/// under the same name. 2. If HttpRule.body is "*", there is no URL query +/// parameter, all fields are passed via URL path and HTTP request body. 3. If +/// HttpRule.body is omitted, there is no HTTP request body, all fields are +/// passed via URL path and URL query parameters. Path template syntax Template +/// = "/" Segments \[ Verb \] ; Segments = Segment { "/" Segment } ; Segment = +/// "*" | "**" | LITERAL | Variable ; Variable = "{" FieldPath \[ "=" Segments +/// \] "}" ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax +/// `*` matches a single URL path segment. The syntax `**` matches zero or more +/// URL path segments, which must be the last part of the URL path except the /// `Verb`. The syntax `Variable` matches part of the URL path as specified by /// its template. A variable template must not contain other variables. If a /// variable matches a single path segment, its template may be omitted, e.g. @@ -3497,7 +3496,7 @@ class Http { /// percent-encoded. The server side does the reverse decoding, except "%2F" and /// "%2f" are left unchanged. Such variables show up in the /// [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) -/// as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service +/// as `{+var}`. Using gRPC API Service Configuration gRPC API Service /// Configuration (service config) is a configuration language for configuring a /// gRPC service to become a user-facing product. The service config is simply /// the YAML representation of the `google.api.Service` proto message. As an @@ -3507,9 +3506,9 @@ class Http { /// effect as the proto annotation. This can be particularly useful if you have /// a proto that is reused in multiple services. Note that any transcoding /// specified in the service config will override any matching transcoding -/// configuration in the proto. Example: http: rules: # Selects a gRPC method -/// and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: -/// /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC +/// configuration in the proto. Example below selects a gRPC method and applies +/// HttpRule to it. http: rules: - selector: example.v1.Messaging.GetMessage +/// get: /v1/messages/{message_id}/{sub.subfield} Special notes When gRPC /// Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON /// conversion must follow the /// [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). diff --git a/generated/googleapis/lib/shared.dart b/generated/googleapis/lib/shared.dart index 686693930..c2a821d21 100644 --- a/generated/googleapis/lib/shared.dart +++ b/generated/googleapis/lib/shared.dart @@ -19,90 +19,6 @@ library; import 'dart:convert' as convert; import 'dart:core' as core; -/// Used by: -/// -/// - accesscontextmanager:v1 : AccessPolicy -/// - cloudasset:v1 : GoogleIdentityAccesscontextmanagerV1AccessPolicy -class $AccessPolicy { - /// An opaque identifier for the current version of the `AccessPolicy`. - /// - /// This will always be a strongly validated etag, meaning that two Access - /// Polices will be identical if and only if their etags are identical. - /// Clients should not expect this to be in any specific format. - /// - /// Output only. - core.String? etag; - - /// Resource name of the `AccessPolicy`. - /// - /// Format: `accessPolicies/{access_policy}` - /// - /// Output only. - core.String? name; - - /// The parent of this `AccessPolicy` in the Cloud Resource Hierarchy. - /// - /// Currently immutable once created. Format: - /// `organizations/{organization_id}` - /// - /// Required. - core.String? parent; - - /// The scopes of the AccessPolicy. - /// - /// Scopes define which resources a policy can restrict and where its - /// resources can be referenced. For example, policy A with - /// `scopes=["folders/123"]` has the following behavior: - ServicePerimeter - /// can only restrict projects within `folders/123`. - ServicePerimeter within - /// policy A can only reference access levels defined within policy A. - Only - /// one policy can include a given scope; thus, attempting to create a second - /// policy which includes `folders/123` will result in an error. If no scopes - /// are provided, then any resource within the organization can be restricted. - /// Scopes cannot be modified after a policy is created. Policies can only - /// have a single scope. Format: list of `folders/{folder_number}` or - /// `projects/{project_number}` - core.List? scopes; - - /// Human readable title. - /// - /// Does not affect behavior. - /// - /// Required. - core.String? title; - - $AccessPolicy({ - this.etag, - this.name, - this.parent, - this.scopes, - this.title, - }); - - $AccessPolicy.fromJson(core.Map json_) - : this( - etag: json_.containsKey('etag') ? json_['etag'] as core.String : null, - name: json_.containsKey('name') ? json_['name'] as core.String : null, - parent: json_.containsKey('parent') - ? json_['parent'] as core.String - : null, - scopes: json_.containsKey('scopes') - ? (json_['scopes'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - title: - json_.containsKey('title') ? json_['title'] as core.String : null, - ); - - core.Map toJson() => { - if (etag != null) 'etag': etag!, - if (name != null) 'name': name!, - if (parent != null) 'parent': parent!, - if (scopes != null) 'scopes': scopes!, - if (title != null) 'title': title!, - }; -} - /// Used by: /// /// - chat:v1 : ActionParameter @@ -3232,11 +3148,13 @@ class $CmTrackingAd { /// Used by: /// +/// - airquality:v1 : Color /// - chat:v1 : Color /// - contentwarehouse:v1 : GoogleTypeColor /// - documentai:v1 : GoogleTypeColor /// - drivelabels:v2 : GoogleTypeColor /// - fcm:v1 : Color +/// - pollen:v1 : Color /// - sheets:v4 : Color /// - vision:v1 : Color class $Color { @@ -4758,6 +4676,7 @@ class $CustomListTargetingSetting { /// - people:v1 : Date /// - places:v1 : GoogleTypeDate /// - policysimulator:v1 : GoogleTypeDate +/// - pollen:v1 : Date /// - realtimebidding:v1 : Date /// - retail:v2 : GoogleTypeDate /// - solar:v1 : Date @@ -6727,6 +6646,8 @@ class $EgressSource { /// - cloudbuild:v2 : FetchReadWriteTokenRequest /// - cloudchannel:v1 : GoogleLongrunningCancelOperationRequest /// - cloudchannel:v1 : GoogleProtobufEmpty +/// - cloudcommerceprocurement:v1 : Empty +/// - cloudcommerceprocurement:v1 : ResetAccountRequest /// - clouddeploy:v1 : AbandonReleaseRequest /// - clouddeploy:v1 : AbandonReleaseResponse /// - clouddeploy:v1 : AdvanceChildRolloutJob @@ -6879,6 +6800,8 @@ class $EgressSource { /// - datastream:v1 : Merge /// - datastream:v1 : MostRecentStartPosition /// - datastream:v1 : NextAvailableStartPosition +/// - datastream:v1 : SqlServerChangeTables +/// - datastream:v1 : SqlServerTransactionLogs /// - datastream:v1 : StartBackfillJobRequest /// - datastream:v1 : StaticServiceIpConnectivity /// - datastream:v1 : StopBackfillJobRequest @@ -11059,6 +10982,7 @@ class $HouseholdIncomeTargetingOptionDetails { /// /// - adsense:v2 : HttpBody /// - aiplatform:v1 : GoogleApiHttpBody +/// - airquality:v1 : HttpBody /// - apigee:v1 : GoogleApiHttpBody /// - apigeeregistry:v1 : HttpBody /// - cloudbuild:v1 : HttpBody @@ -11067,6 +10991,7 @@ class $HouseholdIncomeTargetingOptionDetails { /// - domainsrdap:v1 : HttpBody /// - healthcare:v1 : HttpBody /// - ml:v1 : GoogleApi__HttpBody +/// - pollen:v1 : HttpBody /// - retail:v2 : GoogleApiHttpBody /// - solar:v1 : HttpBody class $HttpBody { @@ -11762,6 +11687,7 @@ class $IntegrationDetails { /// Used by: /// /// - aiplatform:v1 : GoogleTypeInterval +/// - airquality:v1 : Interval /// - apigee:v1 : GoogleTypeInterval /// - contentwarehouse:v1 : GoogleTypeInterval /// - sheets:v4 : Interval @@ -12633,6 +12559,7 @@ class $LanguageTargetingOptionDetails { /// Used by: /// /// - addressvalidation:v1 : GoogleTypeLatLng +/// - airquality:v1 : LatLng /// - datastore:v1 : LatLng /// - dialogflow:v2 : GoogleTypeLatLng /// - dialogflow:v3 : GoogleTypeLatLng @@ -19240,64 +19167,11 @@ class $Shared02 { }; } -/// Used by: -/// -/// - vmwareengine:v1 : Hcx -/// - vmwareengine:v1 : Nsx -/// - vmwareengine:v1 : Vcenter -class $Shared03 { - /// Fully qualified domain name of the appliance. - core.String? fqdn; - - /// Internal IP address of the appliance. - core.String? internalIp; - - /// The state of the appliance. - /// - /// Output only. - /// Possible string values are: - /// - "STATE_UNSPECIFIED" : Unspecified appliance state. This is the default - /// value. - /// - "ACTIVE" : The appliance is operational and can be used. - /// - "CREATING" : The appliance is being deployed. - core.String? state; - - /// Version of the appliance. - core.String? version; - - $Shared03({ - this.fqdn, - this.internalIp, - this.state, - this.version, - }); - - $Shared03.fromJson(core.Map json_) - : this( - fqdn: json_.containsKey('fqdn') ? json_['fqdn'] as core.String : null, - internalIp: json_.containsKey('internalIp') - ? json_['internalIp'] as core.String - : null, - state: - json_.containsKey('state') ? json_['state'] as core.String : null, - version: json_.containsKey('version') - ? json_['version'] as core.String - : null, - ); - - core.Map toJson() => { - if (fqdn != null) 'fqdn': fqdn!, - if (internalIp != null) 'internalIp': internalIp!, - if (state != null) 'state': state!, - if (version != null) 'version': version!, - }; -} - /// Used by: /// /// - aiplatform:v1 : GoogleCloudAiplatformV1DiskSpec /// - ml:v1 : GoogleCloudMlV1__DiskConfig -class $Shared04 { +class $Shared03 { /// Size in GB of the boot disk (default is 100GB). core.int? bootDiskSizeGb; @@ -19307,12 +19181,12 @@ class $Shared04 { /// "pd-standard" (Persistent Disk Hard Disk Drive). core.String? bootDiskType; - $Shared04({ + $Shared03({ this.bootDiskSizeGb, this.bootDiskType, }); - $Shared04.fromJson(core.Map json_) + $Shared03.fromJson(core.Map json_) : this( bootDiskSizeGb: json_.containsKey('bootDiskSizeGb') ? json_['bootDiskSizeGb'] as core.int @@ -19332,16 +19206,16 @@ class $Shared04 { /// /// - apigee:v1 : GoogleCloudApigeeV1AccessGet /// - integrations:v1 : EnterpriseCrmEventbusProtoToken -class $Shared05 { +class $Shared04 { core.String? name; core.String? value; - $Shared05({ + $Shared04({ this.name, this.value, }); - $Shared05.fromJson(core.Map json_) + $Shared04.fromJson(core.Map json_) : this( name: json_.containsKey('name') ? json_['name'] as core.String : null, value: @@ -19358,14 +19232,14 @@ class $Shared05 { /// /// - cloudsearch:v1 : DoubleValues /// - integrations:v1 : EnterpriseCrmEventbusProtoDoubleArray -class $Shared06 { +class $Shared05 { core.List? values; - $Shared06({ + $Shared05({ this.values, }); - $Shared06.fromJson(core.Map json_) + $Shared05.fromJson(core.Map json_) : this( values: json_.containsKey('values') ? (json_['values'] as core.List) @@ -19383,14 +19257,14 @@ class $Shared06 { /// /// - cloudsearch:v1 : IntegerValues /// - integrations:v1 : EnterpriseCrmEventbusProtoIntArray -class $Shared07 { +class $Shared06 { core.List? values; - $Shared07({ + $Shared06({ this.values, }); - $Shared07.fromJson(core.Map json_) + $Shared06.fromJson(core.Map json_) : this( values: json_.containsKey('values') ? (json_['values'] as core.List) @@ -19408,19 +19282,19 @@ class $Shared07 { /// /// - compute:v1 : InstancesSetServiceAccountRequest /// - compute:v1 : ServiceAccount -class $Shared08 { +class $Shared07 { /// Email address of the service account. core.String? email; /// The list of scopes to be made available for this service account. core.List? scopes; - $Shared08({ + $Shared07({ this.email, this.scopes, }); - $Shared08.fromJson(core.Map json_) + $Shared07.fromJson(core.Map json_) : this( email: json_.containsKey('email') ? json_['email'] as core.String : null, @@ -19441,17 +19315,17 @@ class $Shared08 { /// /// - contactcenterinsights:v1 : GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination /// - contactcenterinsights:v1 : GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource -class $Shared09 { +class $Shared08 { /// Format: `gs:///` /// /// Required. core.String? objectUri; - $Shared09({ + $Shared08({ this.objectUri, }); - $Shared09.fromJson(core.Map json_) + $Shared08.fromJson(core.Map json_) : this( objectUri: json_.containsKey('objectUri') ? json_['objectUri'] as core.String @@ -19467,19 +19341,19 @@ class $Shared09 { /// /// - content:v2.1 : Price /// - content:v2.1 : PriceAmount -class $Shared10 { +class $Shared09 { /// The currency of the price. core.String? currency; /// The price represented as a number. core.String? value; - $Shared10({ + $Shared09({ this.currency, this.value, }); - $Shared10.fromJson(core.Map json_) + $Shared09.fromJson(core.Map json_) : this( currency: json_.containsKey('currency') ? json_['currency'] as core.String @@ -19498,7 +19372,7 @@ class $Shared10 { /// /// - dialogflow:v2 : GoogleCloudDialogflowV2Sentiment /// - dialogflow:v3 : GoogleCloudDialogflowCxV3SentimentAnalysisResult -class $Shared11 { +class $Shared10 { /// A non-negative number in the \[0, +inf) range, which represents the /// absolute magnitude of sentiment, regardless of score (positive or /// negative). @@ -19508,12 +19382,12 @@ class $Shared11 { /// sentiment). core.double? score; - $Shared11({ + $Shared10({ this.magnitude, this.score, }); - $Shared11.fromJson(core.Map json_) + $Shared10.fromJson(core.Map json_) : this( magnitude: json_.containsKey('magnitude') ? (json_['magnitude'] as core.num).toDouble() @@ -19533,17 +19407,17 @@ class $Shared11 { /// /// - gkehub:v1 : ConfigManagementPolicyControllerMonitoring /// - gkehub:v1 : PolicyControllerMonitoringConfig -class $Shared12 { +class $Shared11 { /// Specifies the list of backends Policy Controller will export to. /// /// An empty list would effectively disable metrics export. core.List? backends; - $Shared12({ + $Shared11({ this.backends, }); - $Shared12.fromJson(core.Map json_) + $Shared11.fromJson(core.Map json_) : this( backends: json_.containsKey('backends') ? (json_['backends'] as core.List) @@ -19561,7 +19435,7 @@ class $Shared12 { /// /// - osconfig:v1 : OSPolicyAssignmentInstanceFilterInventory /// - osconfig:v1 : OSPolicyInventoryFilter -class $Shared13 { +class $Shared12 { /// The OS short name /// /// Required. @@ -19575,12 +19449,12 @@ class $Shared13 { /// versions. core.String? osVersion; - $Shared13({ + $Shared12({ this.osShortName, this.osVersion, }); - $Shared13.fromJson(core.Map json_) + $Shared12.fromJson(core.Map json_) : this( osShortName: json_.containsKey('osShortName') ? json_['osShortName'] as core.String @@ -19596,6 +19470,58 @@ class $Shared13 { }; } +/// Used by: +/// +/// - vmwareengine:v1 : Nsx +/// - vmwareengine:v1 : Vcenter +class $Shared13 { + /// Fully qualified domain name of the appliance. + core.String? fqdn; + + /// Internal IP address of the appliance. + core.String? internalIp; + + /// The state of the appliance. + /// + /// Output only. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : Unspecified appliance state. This is the default + /// value. + /// - "ACTIVE" : The appliance is operational and can be used. + /// - "CREATING" : The appliance is being deployed. + core.String? state; + + /// Version of the appliance. + core.String? version; + + $Shared13({ + this.fqdn, + this.internalIp, + this.state, + this.version, + }); + + $Shared13.fromJson(core.Map json_) + : this( + fqdn: json_.containsKey('fqdn') ? json_['fqdn'] as core.String : null, + internalIp: json_.containsKey('internalIp') + ? json_['internalIp'] as core.String + : null, + state: + json_.containsKey('state') ? json_['state'] as core.String : null, + version: json_.containsKey('version') + ? json_['version'] as core.String + : null, + ); + + core.Map toJson() => { + if (fqdn != null) 'fqdn': fqdn!, + if (internalIp != null) 'internalIp': internalIp!, + if (state != null) 'state': state!, + if (version != null) 'version': version!, + }; +} + /// Used by: /// /// - youtube:v3 : CommentSnippetAuthorChannelId @@ -20145,6 +20071,7 @@ class $StaticRouteConfig { /// - compute:v1 : Status /// - config:v1 : Status /// - connectors:v1 : Status +/// - connectors:v2 : Status /// - contactcenterinsights:v1 : GoogleRpcStatus /// - container:v1 : Status /// - containeranalysis:v1 : Status diff --git a/generated/googleapis/lib/speech/v2.dart b/generated/googleapis/lib/speech/v2.dart index 617e25a82..d85c98ec4 100644 --- a/generated/googleapis/lib/speech/v2.dart +++ b/generated/googleapis/lib/speech/v2.dart @@ -1406,8 +1406,9 @@ class AdaptationPhraseSet { /// RFC4867_5_AMRWB: AMR-WB frames with an rfc4867.5 header. * FLAC: FLAC frames /// in the "native FLAC" container format. * MP3: MPEG audio frames with /// optional (ignored) ID3 metadata. * OGG_OPUS: Opus audio frames in an Ogg -/// container. * WEBM_OPUS: Opus audio frames in a WebM container. * M4A: M4A -/// audio format. +/// container. * WEBM_OPUS: Opus audio frames in a WebM container. * MP4_AAC: +/// AAC audio frames in an MP4 container. * M4A_AAC: AAC audio frames in an M4A +/// container. * MOV_AAC: AAC audio frames in an MOV container. typedef AutoDetectDecodingConfig = $Empty; /// Metadata about a single file in a batch for BatchRecognize. diff --git a/generated/googleapis/lib/src/user_agent.dart b/generated/googleapis/lib/src/user_agent.dart index 7602cb307..78b87d12a 100644 --- a/generated/googleapis/lib/src/user_agent.dart +++ b/generated/googleapis/lib/src/user_agent.dart @@ -2,6 +2,6 @@ import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; /// Request headers used by all libraries in this package final requestHeaders = { - 'user-agent': 'google-api-dart-client/13.2.0-wip', - 'x-goog-api-client': 'gl-dart/${commons.dartVersion} gdcl/13.2.0-wip', + 'user-agent': 'google-api-dart-client/13.2.0', + 'x-goog-api-client': 'gl-dart/${commons.dartVersion} gdcl/13.2.0', }; diff --git a/generated/googleapis/lib/tagmanager/v2.dart b/generated/googleapis/lib/tagmanager/v2.dart index eb05fde74..5a835260c 100644 --- a/generated/googleapis/lib/tagmanager/v2.dart +++ b/generated/googleapis/lib/tagmanager/v2.dart @@ -5196,8 +5196,7 @@ class Condition { /// - "less" /// - "lessOrEquals" /// - "cssSelector" - /// - "urlMatches" : NOTE(lanzone): When defining a ConditionType here, don't - /// forget to also define a matching PredicateType (in condition.proto). + /// - "urlMatches" core.String? type; Condition({ diff --git a/generated/googleapis/lib/tpu/v2.dart b/generated/googleapis/lib/tpu/v2.dart index b122c9513..a5556c1c0 100644 --- a/generated/googleapis/lib/tpu/v2.dart +++ b/generated/googleapis/lib/tpu/v2.dart @@ -1172,6 +1172,7 @@ class AcceleratorConfig { /// - "V2" : TPU v2. /// - "V3" : TPU v3. /// - "V4" : TPU v4. + /// - "V5LITE_POD" : TPU v5lite pod. /// - "V5P" : TPU v5p core.String? type; diff --git a/generated/googleapis/lib/vmmigration/v1.dart b/generated/googleapis/lib/vmmigration/v1.dart index 7edddf7d9..9cf77dd1a 100644 --- a/generated/googleapis/lib/vmmigration/v1.dart +++ b/generated/googleapis/lib/vmmigration/v1.dart @@ -3400,12 +3400,18 @@ class AvailableUpdates { /// The details of an AWS instance disk. class AwsDiskDetails { /// The ordinal number of the disk. + /// + /// Output only. core.int? diskNumber; /// Size in GB. + /// + /// Output only. core.String? sizeGb; /// AWS volume ID. + /// + /// Output only. core.String? volumeId; AwsDiskDetails({ @@ -3579,12 +3585,18 @@ class AwsSourceDetails { /// Represent the source AWS VM details. class AwsSourceVmDetails { /// The total size of the disks being migrated in bytes. + /// + /// Output only. core.String? committedStorageBytes; /// The disks attached to the source VM. + /// + /// Output only. core.List? disks; /// The firmware type of the source VM. + /// + /// Output only. /// Possible string values are: /// - "FIRMWARE_UNSPECIFIED" : The firmware is unknown. /// - "EFI" : The firmware is EFI. @@ -3848,12 +3860,18 @@ class AwsVmsDetails { /// The details of an Azure VM disk. class AzureDiskDetails { /// Azure disk ID. + /// + /// Output only. core.String? diskId; /// The ordinal number of the disk. + /// + /// Output only. core.int? diskNumber; /// Size in GB. + /// + /// Output only. core.String? sizeGb; AzureDiskDetails({ @@ -3988,12 +4006,18 @@ class AzureSourceDetails { /// Represent the source Azure VM details. class AzureSourceVmDetails { /// The total size of the disks being migrated in bytes. + /// + /// Output only. core.String? committedStorageBytes; /// The disks attached to the source VM. + /// + /// Output only. core.List? disks; /// The firmware type of the source VM. + /// + /// Output only. /// Possible string values are: /// - "FIRMWARE_UNSPECIFIED" : The firmware is unknown. /// - "EFI" : The firmware is EFI. @@ -7469,6 +7493,8 @@ class MigratingVm { /// migration operations. class MigrationWarning { /// Suggested action for solving the warning. + /// + /// Output only. LocalizedMessage? actionItem; /// The warning code. @@ -7478,9 +7504,13 @@ class MigrationWarning { core.String? code; /// URL(s) pointing to additional information on handling the current warning. + /// + /// Output only. core.List? helpLinks; /// The localized warning message. + /// + /// Output only. LocalizedMessage? warningMessage; /// The time the warning occurred. @@ -7528,12 +7558,16 @@ class MigrationWarning { /// NetworkInterface represents a NIC of a VM. class NetworkInterface { /// The external IP to define in the NIC. + /// + /// Optional. core.String? externalIp; /// The internal IP to define in the NIC. /// /// The formats accepted are: `ephemeral` \ ipv4 address \ a named address /// resource full path. + /// + /// Optional. core.String? internalIp; /// The network to connect the NIC to. @@ -7933,6 +7967,8 @@ class ReplicationCycle { core.String? endTime; /// Provides details on the state of the cycle in case of an error. + /// + /// Output only. Status? error; /// The identifier of the ReplicationCycle. @@ -8263,9 +8299,13 @@ typedef Status = $Status; /// Tag is an AWS tag representation. class Tag { /// Key of tag. + /// + /// Required. core.String? key; /// Value of tag. + /// + /// Required. core.String? value; Tag({ @@ -8383,6 +8423,8 @@ class UpgradeApplianceRequest { class UpgradeStatus { /// Provides details on the state of the upgrade operation in case of an /// error. + /// + /// Output only. Status? error; /// The version from which we upgraded. @@ -8763,12 +8805,18 @@ class VmUtilizationMetrics { /// The details of a Vmware VM disk. class VmwareDiskDetails { /// The ordinal number of the disk. + /// + /// Output only. core.int? diskNumber; /// The disk label. + /// + /// Output only. core.String? label; /// Size in GB. + /// + /// Output only. core.String? sizeGb; VmwareDiskDetails({ @@ -8857,12 +8905,18 @@ class VmwareSourceDetails { /// Represent the source Vmware VM details. class VmwareSourceVmDetails { /// The total size of the disks being migrated in bytes. + /// + /// Output only. core.String? committedStorageBytes; /// The disks attached to the source VM. + /// + /// Output only. core.List? disks; /// The firmware type of the source VM. + /// + /// Output only. /// Possible string values are: /// - "FIRMWARE_UNSPECIFIED" : The firmware is unknown. /// - "EFI" : The firmware is EFI. diff --git a/generated/googleapis/lib/vmwareengine/v1.dart b/generated/googleapis/lib/vmwareengine/v1.dart index e0ecea9c2..336d6d9b4 100644 --- a/generated/googleapis/lib/vmwareengine/v1.dart +++ b/generated/googleapis/lib/vmwareengine/v1.dart @@ -6223,7 +6223,54 @@ class GrantDnsBindPermissionRequest { } /// Details about a HCX Cloud Manager appliance. -typedef Hcx = $Shared03; +class Hcx { + /// Fully qualified domain name of the appliance. + core.String? fqdn; + + /// Internal IP address of the appliance. + core.String? internalIp; + + /// The state of the appliance. + /// + /// Output only. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : Unspecified appliance state. This is the default + /// value. + /// - "ACTIVE" : The appliance is operational and can be used. + /// - "CREATING" : The appliance is being deployed. + /// - "ACTIVATING" : The appliance is being activated. + core.String? state; + + /// Version of the appliance. + core.String? version; + + Hcx({ + this.fqdn, + this.internalIp, + this.state, + this.version, + }); + + Hcx.fromJson(core.Map json_) + : this( + fqdn: json_.containsKey('fqdn') ? json_['fqdn'] as core.String : null, + internalIp: json_.containsKey('internalIp') + ? json_['internalIp'] as core.String + : null, + state: + json_.containsKey('state') ? json_['state'] as core.String : null, + version: json_.containsKey('version') + ? json_['version'] as core.String + : null, + ); + + core.Map toJson() => { + if (fqdn != null) 'fqdn': fqdn!, + if (internalIp != null) 'internalIp': internalIp!, + if (state != null) 'state': state!, + if (version != null) 'version': version!, + }; +} /// HCX activation key. /// @@ -7572,6 +7619,8 @@ class NetworkPeering { /// service. /// - "DELL_POWERSCALE" : Peering connection used for connecting to Dell /// PowerScale Filers + /// - "GOOGLE_CLOUD_NETAPP_VOLUMES" : Peering connection used for connecting + /// to Google Cloud NetApp Volumes. core.String? peerNetworkType; /// State of the network peering. @@ -8158,7 +8207,7 @@ class NodeTypeConfig { } /// Details about a NSX Manager appliance. -typedef Nsx = $Shared03; +typedef Nsx = $Shared13; /// This resource represents a long-running operation that is the result of a /// network API call. @@ -9236,7 +9285,7 @@ class UndeletePrivateCloudRequest { } /// Details about a vCenter Server management appliance. -typedef Vcenter = $Shared03; +typedef Vcenter = $Shared13; /// VMware Engine network resource that provides connectivity for VMware Engine /// private clouds. diff --git a/generated/googleapis/lib/walletobjects/v1.dart b/generated/googleapis/lib/walletobjects/v1.dart index dcdb98a97..72aec00da 100644 --- a/generated/googleapis/lib/walletobjects/v1.dart +++ b/generated/googleapis/lib/walletobjects/v1.dart @@ -12421,7 +12421,7 @@ class Media { /// These two hash related fields will only be populated on Scotty based media /// uploads and will contain the content of the hash group in the /// NotificationRequest: - /// http://cs/#google3/uploader/service/proto/upload_listener.proto&q=class:Hash + /// http://cs/#google3/blobstore2/api/scotty/service/proto/upload_listener.proto&q=class:Hash /// Hex encoded hash value of the uploaded media. @core.Deprecated( 'Not supported. Member documentation may have more information.', diff --git a/generated/googleapis/lib/workflowexecutions/v1.dart b/generated/googleapis/lib/workflowexecutions/v1.dart index b4164b536..3484e8747 100644 --- a/generated/googleapis/lib/workflowexecutions/v1.dart +++ b/generated/googleapis/lib/workflowexecutions/v1.dart @@ -336,8 +336,9 @@ class ProjectsLocationsWorkflowsExecutionsResource { /// results. The following fields are supported for filtering: `executionId`, /// `state`, `createTime`, `startTime`, `endTime`, `duration`, /// `workflowRevisionId`, `stepName`, and `label`. For details, see AIP-160. - /// For example, if you are using the Google APIs Explorer: - /// `state="SUCCEEDED"` or `startTime>"2023-08-01" AND state="FAILED"` + /// For more information, see Filter executions. For example, if you are using + /// the Google APIs Explorer: `state="SUCCEEDED"` or `startTime>"2023-08-01" + /// AND state="FAILED"` /// /// [orderBy] - Optional. Comma-separated list of fields that specify the /// ordering applied to the `[Executions.ListExecutions]` results. By default @@ -1436,6 +1437,10 @@ class StepEntry { /// StepEntryMetadata contains metadata information about this step. class StepEntryMetadata { + /// Expected iteration represents the expected number of iterations in the + /// step's progress. + core.String? expectedIteration; + /// Progress number represents the current state of the current progress. /// /// eg: A step entry represents the 4th iteration in a progress of @@ -1461,6 +1466,7 @@ class StepEntryMetadata { core.String? threadId; StepEntryMetadata({ + this.expectedIteration, this.progressNumber, this.progressType, this.threadId, @@ -1468,6 +1474,9 @@ class StepEntryMetadata { StepEntryMetadata.fromJson(core.Map json_) : this( + expectedIteration: json_.containsKey('expectedIteration') + ? json_['expectedIteration'] as core.String + : null, progressNumber: json_.containsKey('progressNumber') ? json_['progressNumber'] as core.String : null, @@ -1480,6 +1489,7 @@ class StepEntryMetadata { ); core.Map toJson() => { + if (expectedIteration != null) 'expectedIteration': expectedIteration!, if (progressNumber != null) 'progressNumber': progressNumber!, if (progressType != null) 'progressType': progressType!, if (threadId != null) 'threadId': threadId!, diff --git a/generated/googleapis/lib/workstations/v1.dart b/generated/googleapis/lib/workstations/v1.dart index 7b513dce1..f6f2d1987 100644 --- a/generated/googleapis/lib/workstations/v1.dart +++ b/generated/googleapis/lib/workstations/v1.dart @@ -1985,9 +1985,9 @@ class CustomerEncryptionKey { }; } -/// Configuration options for a custom domain. +/// Configuration options for private workstation clusters. class DomainConfig { - /// Domain used by Workstations for HTTP ingress. + /// Whether Workstations endpoint is private. /// /// Immutable. core.String? domain; @@ -2143,7 +2143,7 @@ class GceInstance { /// Type**: nested virtualization can only be enabled on workstation /// configurations that specify a machine_type in the N1 or N2 machine series. /// * **GPUs**: nested virtualization may not be enabled on workstation - /// configurations with accelerators. * **Operating System**: Because + /// configurations with accelerators. * **Operating System**: because /// \[Container-Optimized /// OS\](https://cloud.google.com/compute/docs/images/os-details#container-optimized_os_cos) /// does not support nested virtualization, when nested virtualization is @@ -3133,40 +3133,10 @@ class Policy { }; } -/// Configuration options for private workstation clusters. class PrivateClusterConfig { - /// Additional projects that are allowed to attach to the workstation - /// cluster's service attachment. - /// - /// By default, the workstation cluster's project and the VPC host project (if - /// different) are allowed. - /// - /// Optional. core.List? allowedProjects; - - /// Hostname for the workstation cluster. - /// - /// This field will be populated only when private endpoint is enabled. To - /// access workstations in the workstation cluster, create a new DNS zone - /// mapping this domain name to an internal IP address and a forwarding rule - /// mapping that address to the service attachment. - /// - /// Output only. core.String? clusterHostname; - - /// Whether Workstations endpoint is private. - /// - /// Immutable. core.bool? enablePrivateEndpoint; - - /// Service attachment URI for the workstation cluster. - /// - /// The service attachemnt is created when private endpoint is enabled. To - /// access workstations in the workstation cluster, configure access to the - /// managed service using - /// [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services). - /// - /// Output only. core.String? serviceAttachmentUri; PrivateClusterConfig({ diff --git a/generated/googleapis/pubspec.yaml b/generated/googleapis/pubspec.yaml index ace11046e..8a1befb80 100644 --- a/generated/googleapis/pubspec.yaml +++ b/generated/googleapis/pubspec.yaml @@ -1,5 +1,5 @@ name: googleapis -version: 13.2.0-wip +version: 13.2.0 description: Auto-generated client libraries for accessing Google APIs described through the API discovery service. repository: https://github.com/google/googleapis.dart/tree/master/generated/googleapis environment: diff --git a/generated/googleapis/test/accessapproval/v1_test.dart b/generated/googleapis/test/accessapproval/v1_test.dart index c706689d3..083fab6f4 100644 --- a/generated/googleapis/test/accessapproval/v1_test.dart +++ b/generated/googleapis/test/accessapproval/v1_test.dart @@ -95,6 +95,7 @@ api.AccessApprovalSettings buildAccessApprovalSettings() { o.notificationPubsubTopic = 'foo'; o.preferNoBroadApprovalRequests = true; o.preferredRequestExpirationDays = 42; + o.requestScopeMaxWidthPreference = 'foo'; o.requireCustomerVisibleJustification = true; } buildCounterAccessApprovalSettings--; @@ -126,6 +127,10 @@ void checkAccessApprovalSettings(api.AccessApprovalSettings o) { o.preferredRequestExpirationDays!, unittest.equals(42), ); + unittest.expect( + o.requestScopeMaxWidthPreference!, + unittest.equals('foo'), + ); unittest.expect(o.requireCustomerVisibleJustification!, unittest.isTrue); } buildCounterAccessApprovalSettings--; diff --git a/generated/googleapis/test/aiplatform/v1_test.dart b/generated/googleapis/test/aiplatform/v1_test.dart index b857a0f26..0d7bd1035 100644 --- a/generated/googleapis/test/aiplatform/v1_test.dart +++ b/generated/googleapis/test/aiplatform/v1_test.dart @@ -3510,6 +3510,178 @@ void checkGoogleCloudAiplatformV1Dataset(api.GoogleCloudAiplatformV1Dataset o) { buildCounterGoogleCloudAiplatformV1Dataset--; } +core.List + buildUnnamed54() => [ + buildGoogleCloudAiplatformV1DatasetDistributionDistributionBucket(), + buildGoogleCloudAiplatformV1DatasetDistributionDistributionBucket(), + ]; + +void checkUnnamed54( + core.List + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudAiplatformV1DatasetDistributionDistributionBucket(o[0]); + checkGoogleCloudAiplatformV1DatasetDistributionDistributionBucket(o[1]); +} + +core.int buildCounterGoogleCloudAiplatformV1DatasetDistribution = 0; +api.GoogleCloudAiplatformV1DatasetDistribution + buildGoogleCloudAiplatformV1DatasetDistribution() { + final o = api.GoogleCloudAiplatformV1DatasetDistribution(); + buildCounterGoogleCloudAiplatformV1DatasetDistribution++; + if (buildCounterGoogleCloudAiplatformV1DatasetDistribution < 3) { + o.buckets = buildUnnamed54(); + o.max = 42.0; + o.mean = 42.0; + o.median = 42.0; + o.min = 42.0; + o.p5 = 42.0; + o.p95 = 42.0; + o.sum = 42.0; + } + buildCounterGoogleCloudAiplatformV1DatasetDistribution--; + return o; +} + +void checkGoogleCloudAiplatformV1DatasetDistribution( + api.GoogleCloudAiplatformV1DatasetDistribution o) { + buildCounterGoogleCloudAiplatformV1DatasetDistribution++; + if (buildCounterGoogleCloudAiplatformV1DatasetDistribution < 3) { + checkUnnamed54(o.buckets!); + unittest.expect( + o.max!, + unittest.equals(42.0), + ); + unittest.expect( + o.mean!, + unittest.equals(42.0), + ); + unittest.expect( + o.median!, + unittest.equals(42.0), + ); + unittest.expect( + o.min!, + unittest.equals(42.0), + ); + unittest.expect( + o.p5!, + unittest.equals(42.0), + ); + unittest.expect( + o.p95!, + unittest.equals(42.0), + ); + unittest.expect( + o.sum!, + unittest.equals(42.0), + ); + } + buildCounterGoogleCloudAiplatformV1DatasetDistribution--; +} + +core.int + buildCounterGoogleCloudAiplatformV1DatasetDistributionDistributionBucket = + 0; +api.GoogleCloudAiplatformV1DatasetDistributionDistributionBucket + buildGoogleCloudAiplatformV1DatasetDistributionDistributionBucket() { + final o = api.GoogleCloudAiplatformV1DatasetDistributionDistributionBucket(); + buildCounterGoogleCloudAiplatformV1DatasetDistributionDistributionBucket++; + if (buildCounterGoogleCloudAiplatformV1DatasetDistributionDistributionBucket < + 3) { + o.count = 'foo'; + o.left = 42.0; + o.right = 42.0; + } + buildCounterGoogleCloudAiplatformV1DatasetDistributionDistributionBucket--; + return o; +} + +void checkGoogleCloudAiplatformV1DatasetDistributionDistributionBucket( + api.GoogleCloudAiplatformV1DatasetDistributionDistributionBucket o) { + buildCounterGoogleCloudAiplatformV1DatasetDistributionDistributionBucket++; + if (buildCounterGoogleCloudAiplatformV1DatasetDistributionDistributionBucket < + 3) { + unittest.expect( + o.count!, + unittest.equals('foo'), + ); + unittest.expect( + o.left!, + unittest.equals(42.0), + ); + unittest.expect( + o.right!, + unittest.equals(42.0), + ); + } + buildCounterGoogleCloudAiplatformV1DatasetDistributionDistributionBucket--; +} + +core.List buildUnnamed55() => [ + buildGoogleCloudAiplatformV1Content(), + buildGoogleCloudAiplatformV1Content(), + ]; + +void checkUnnamed55(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudAiplatformV1Content(o[0]); + checkGoogleCloudAiplatformV1Content(o[1]); +} + +core.int buildCounterGoogleCloudAiplatformV1DatasetStats = 0; +api.GoogleCloudAiplatformV1DatasetStats + buildGoogleCloudAiplatformV1DatasetStats() { + final o = api.GoogleCloudAiplatformV1DatasetStats(); + buildCounterGoogleCloudAiplatformV1DatasetStats++; + if (buildCounterGoogleCloudAiplatformV1DatasetStats < 3) { + o.totalBillableCharacterCount = 'foo'; + o.totalTuningCharacterCount = 'foo'; + o.tuningDatasetExampleCount = 'foo'; + o.tuningStepCount = 'foo'; + o.userDatasetExamples = buildUnnamed55(); + o.userInputTokenDistribution = + buildGoogleCloudAiplatformV1DatasetDistribution(); + o.userMessagePerExampleDistribution = + buildGoogleCloudAiplatformV1DatasetDistribution(); + o.userOutputTokenDistribution = + buildGoogleCloudAiplatformV1DatasetDistribution(); + } + buildCounterGoogleCloudAiplatformV1DatasetStats--; + return o; +} + +void checkGoogleCloudAiplatformV1DatasetStats( + api.GoogleCloudAiplatformV1DatasetStats o) { + buildCounterGoogleCloudAiplatformV1DatasetStats++; + if (buildCounterGoogleCloudAiplatformV1DatasetStats < 3) { + unittest.expect( + o.totalBillableCharacterCount!, + unittest.equals('foo'), + ); + unittest.expect( + o.totalTuningCharacterCount!, + unittest.equals('foo'), + ); + unittest.expect( + o.tuningDatasetExampleCount!, + unittest.equals('foo'), + ); + unittest.expect( + o.tuningStepCount!, + unittest.equals('foo'), + ); + checkUnnamed55(o.userDatasetExamples!); + checkGoogleCloudAiplatformV1DatasetDistribution( + o.userInputTokenDistribution!); + checkGoogleCloudAiplatformV1DatasetDistribution( + o.userMessagePerExampleDistribution!); + checkGoogleCloudAiplatformV1DatasetDistribution( + o.userOutputTokenDistribution!); + } + buildCounterGoogleCloudAiplatformV1DatasetStats--; +} + core.int buildCounterGoogleCloudAiplatformV1DatasetVersion = 0; api.GoogleCloudAiplatformV1DatasetVersion buildGoogleCloudAiplatformV1DatasetVersion() { @@ -3583,13 +3755,13 @@ void checkGoogleCloudAiplatformV1DatasetVersion( buildCounterGoogleCloudAiplatformV1DatasetVersion--; } -core.List buildUnnamed54() => +core.List buildUnnamed56() => [ buildGoogleCloudAiplatformV1AutoscalingMetricSpec(), buildGoogleCloudAiplatformV1AutoscalingMetricSpec(), ]; -void checkUnnamed54( +void checkUnnamed56( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1AutoscalingMetricSpec(o[0]); @@ -3602,7 +3774,7 @@ api.GoogleCloudAiplatformV1DedicatedResources final o = api.GoogleCloudAiplatformV1DedicatedResources(); buildCounterGoogleCloudAiplatformV1DedicatedResources++; if (buildCounterGoogleCloudAiplatformV1DedicatedResources < 3) { - o.autoscalingMetricSpecs = buildUnnamed54(); + o.autoscalingMetricSpecs = buildUnnamed56(); o.machineSpec = buildGoogleCloudAiplatformV1MachineSpec(); o.maxReplicaCount = 42; o.minReplicaCount = 42; @@ -3615,7 +3787,7 @@ void checkGoogleCloudAiplatformV1DedicatedResources( api.GoogleCloudAiplatformV1DedicatedResources o) { buildCounterGoogleCloudAiplatformV1DedicatedResources++; if (buildCounterGoogleCloudAiplatformV1DedicatedResources < 3) { - checkUnnamed54(o.autoscalingMetricSpecs!); + checkUnnamed56(o.autoscalingMetricSpecs!); checkGoogleCloudAiplatformV1MachineSpec(o.machineSpec!); unittest.expect( o.maxReplicaCount!, @@ -3733,12 +3905,12 @@ void checkGoogleCloudAiplatformV1DeployIndexRequest( buildCounterGoogleCloudAiplatformV1DeployIndexRequest--; } -core.Map buildUnnamed55() => { +core.Map buildUnnamed57() => { 'x': 42, 'y': 42, }; -void checkUnnamed55(core.Map o) { +void checkUnnamed57(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3757,7 +3929,7 @@ api.GoogleCloudAiplatformV1DeployModelRequest buildCounterGoogleCloudAiplatformV1DeployModelRequest++; if (buildCounterGoogleCloudAiplatformV1DeployModelRequest < 3) { o.deployedModel = buildGoogleCloudAiplatformV1DeployedModel(); - o.trafficSplit = buildUnnamed55(); + o.trafficSplit = buildUnnamed57(); } buildCounterGoogleCloudAiplatformV1DeployModelRequest--; return o; @@ -3768,17 +3940,17 @@ void checkGoogleCloudAiplatformV1DeployModelRequest( buildCounterGoogleCloudAiplatformV1DeployModelRequest++; if (buildCounterGoogleCloudAiplatformV1DeployModelRequest < 3) { checkGoogleCloudAiplatformV1DeployedModel(o.deployedModel!); - checkUnnamed55(o.trafficSplit!); + checkUnnamed57(o.trafficSplit!); } buildCounterGoogleCloudAiplatformV1DeployModelRequest--; } -core.List buildUnnamed56() => [ +core.List buildUnnamed58() => [ 'foo', 'foo', ]; -void checkUnnamed56(core.List o) { +void checkUnnamed58(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3808,7 +3980,7 @@ api.GoogleCloudAiplatformV1DeployedIndex o.index = 'foo'; o.indexSyncTime = 'foo'; o.privateEndpoints = buildGoogleCloudAiplatformV1IndexPrivateEndpoints(); - o.reservedIpRanges = buildUnnamed56(); + o.reservedIpRanges = buildUnnamed58(); } buildCounterGoogleCloudAiplatformV1DeployedIndex--; return o; @@ -3848,7 +4020,7 @@ void checkGoogleCloudAiplatformV1DeployedIndex( unittest.equals('foo'), ); checkGoogleCloudAiplatformV1IndexPrivateEndpoints(o.privateEndpoints!); - checkUnnamed56(o.reservedIpRanges!); + checkUnnamed58(o.reservedIpRanges!); } buildCounterGoogleCloudAiplatformV1DeployedIndex--; } @@ -3876,12 +4048,12 @@ void checkGoogleCloudAiplatformV1DeployedIndexAuthConfig( buildCounterGoogleCloudAiplatformV1DeployedIndexAuthConfig--; } -core.List buildUnnamed57() => [ +core.List buildUnnamed59() => [ 'foo', 'foo', ]; -void checkUnnamed57(core.List o) { +void checkUnnamed59(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3893,12 +4065,12 @@ void checkUnnamed57(core.List o) { ); } -core.List buildUnnamed58() => [ +core.List buildUnnamed60() => [ 'foo', 'foo', ]; -void checkUnnamed58(core.List o) { +void checkUnnamed60(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3918,8 +4090,8 @@ api.GoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider buildCounterGoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider++; if (buildCounterGoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider < 3) { - o.allowedIssuers = buildUnnamed57(); - o.audiences = buildUnnamed58(); + o.allowedIssuers = buildUnnamed59(); + o.audiences = buildUnnamed60(); } buildCounterGoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider--; return o; @@ -3930,8 +4102,8 @@ void checkGoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider( buildCounterGoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider++; if (buildCounterGoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider < 3) { - checkUnnamed57(o.allowedIssuers!); - checkUnnamed58(o.audiences!); + checkUnnamed59(o.allowedIssuers!); + checkUnnamed60(o.audiences!); } buildCounterGoogleCloudAiplatformV1DeployedIndexAuthConfigAuthProvider--; } @@ -4136,12 +4308,12 @@ void checkGoogleCloudAiplatformV1DestinationFeatureSetting( buildCounterGoogleCloudAiplatformV1DestinationFeatureSetting--; } -core.List buildUnnamed59() => [ +core.List buildUnnamed61() => [ buildGoogleCloudAiplatformV1Tensor(), buildGoogleCloudAiplatformV1Tensor(), ]; -void checkUnnamed59(core.List o) { +void checkUnnamed61(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Tensor(o[0]); checkGoogleCloudAiplatformV1Tensor(o[1]); @@ -4153,7 +4325,7 @@ api.GoogleCloudAiplatformV1DirectPredictRequest final o = api.GoogleCloudAiplatformV1DirectPredictRequest(); buildCounterGoogleCloudAiplatformV1DirectPredictRequest++; if (buildCounterGoogleCloudAiplatformV1DirectPredictRequest < 3) { - o.inputs = buildUnnamed59(); + o.inputs = buildUnnamed61(); o.parameters = buildGoogleCloudAiplatformV1Tensor(); } buildCounterGoogleCloudAiplatformV1DirectPredictRequest--; @@ -4164,18 +4336,18 @@ void checkGoogleCloudAiplatformV1DirectPredictRequest( api.GoogleCloudAiplatformV1DirectPredictRequest o) { buildCounterGoogleCloudAiplatformV1DirectPredictRequest++; if (buildCounterGoogleCloudAiplatformV1DirectPredictRequest < 3) { - checkUnnamed59(o.inputs!); + checkUnnamed61(o.inputs!); checkGoogleCloudAiplatformV1Tensor(o.parameters!); } buildCounterGoogleCloudAiplatformV1DirectPredictRequest--; } -core.List buildUnnamed60() => [ +core.List buildUnnamed62() => [ buildGoogleCloudAiplatformV1Tensor(), buildGoogleCloudAiplatformV1Tensor(), ]; -void checkUnnamed60(core.List o) { +void checkUnnamed62(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Tensor(o[0]); checkGoogleCloudAiplatformV1Tensor(o[1]); @@ -4187,7 +4359,7 @@ api.GoogleCloudAiplatformV1DirectPredictResponse final o = api.GoogleCloudAiplatformV1DirectPredictResponse(); buildCounterGoogleCloudAiplatformV1DirectPredictResponse++; if (buildCounterGoogleCloudAiplatformV1DirectPredictResponse < 3) { - o.outputs = buildUnnamed60(); + o.outputs = buildUnnamed62(); o.parameters = buildGoogleCloudAiplatformV1Tensor(); } buildCounterGoogleCloudAiplatformV1DirectPredictResponse--; @@ -4198,7 +4370,7 @@ void checkGoogleCloudAiplatformV1DirectPredictResponse( api.GoogleCloudAiplatformV1DirectPredictResponse o) { buildCounterGoogleCloudAiplatformV1DirectPredictResponse++; if (buildCounterGoogleCloudAiplatformV1DirectPredictResponse < 3) { - checkUnnamed60(o.outputs!); + checkUnnamed62(o.outputs!); checkGoogleCloudAiplatformV1Tensor(o.parameters!); } buildCounterGoogleCloudAiplatformV1DirectPredictResponse--; @@ -4285,12 +4457,33 @@ void checkGoogleCloudAiplatformV1DiskSpec( buildCounterGoogleCloudAiplatformV1DiskSpec--; } -core.List buildUnnamed61() => [ +core.int buildCounterGoogleCloudAiplatformV1DistillationDataStats = 0; +api.GoogleCloudAiplatformV1DistillationDataStats + buildGoogleCloudAiplatformV1DistillationDataStats() { + final o = api.GoogleCloudAiplatformV1DistillationDataStats(); + buildCounterGoogleCloudAiplatformV1DistillationDataStats++; + if (buildCounterGoogleCloudAiplatformV1DistillationDataStats < 3) { + o.trainingDatasetStats = buildGoogleCloudAiplatformV1DatasetStats(); + } + buildCounterGoogleCloudAiplatformV1DistillationDataStats--; + return o; +} + +void checkGoogleCloudAiplatformV1DistillationDataStats( + api.GoogleCloudAiplatformV1DistillationDataStats o) { + buildCounterGoogleCloudAiplatformV1DistillationDataStats++; + if (buildCounterGoogleCloudAiplatformV1DistillationDataStats < 3) { + checkGoogleCloudAiplatformV1DatasetStats(o.trainingDatasetStats!); + } + buildCounterGoogleCloudAiplatformV1DistillationDataStats--; +} + +core.List buildUnnamed63() => [ 42.0, 42.0, ]; -void checkUnnamed61(core.List o) { +void checkUnnamed63(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4308,7 +4501,7 @@ api.GoogleCloudAiplatformV1DoubleArray final o = api.GoogleCloudAiplatformV1DoubleArray(); buildCounterGoogleCloudAiplatformV1DoubleArray++; if (buildCounterGoogleCloudAiplatformV1DoubleArray < 3) { - o.values = buildUnnamed61(); + o.values = buildUnnamed63(); } buildCounterGoogleCloudAiplatformV1DoubleArray--; return o; @@ -4318,7 +4511,7 @@ void checkGoogleCloudAiplatformV1DoubleArray( api.GoogleCloudAiplatformV1DoubleArray o) { buildCounterGoogleCloudAiplatformV1DoubleArray++; if (buildCounterGoogleCloudAiplatformV1DoubleArray < 3) { - checkUnnamed61(o.values!); + checkUnnamed63(o.values!); } buildCounterGoogleCloudAiplatformV1DoubleArray--; } @@ -4347,23 +4540,23 @@ void checkGoogleCloudAiplatformV1EncryptionSpec( buildCounterGoogleCloudAiplatformV1EncryptionSpec--; } -core.List buildUnnamed62() => [ +core.List buildUnnamed64() => [ buildGoogleCloudAiplatformV1DeployedModel(), buildGoogleCloudAiplatformV1DeployedModel(), ]; -void checkUnnamed62(core.List o) { +void checkUnnamed64(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DeployedModel(o[0]); checkGoogleCloudAiplatformV1DeployedModel(o[1]); } -core.Map buildUnnamed63() => { +core.Map buildUnnamed65() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed63(core.Map o) { +void checkUnnamed65(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4375,12 +4568,12 @@ void checkUnnamed63(core.Map o) { ); } -core.Map buildUnnamed64() => { +core.Map buildUnnamed66() => { 'x': 42, 'y': 42, }; -void checkUnnamed64(core.Map o) { +void checkUnnamed66(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4398,13 +4591,13 @@ api.GoogleCloudAiplatformV1Endpoint buildGoogleCloudAiplatformV1Endpoint() { buildCounterGoogleCloudAiplatformV1Endpoint++; if (buildCounterGoogleCloudAiplatformV1Endpoint < 3) { o.createTime = 'foo'; - o.deployedModels = buildUnnamed62(); + o.deployedModels = buildUnnamed64(); o.description = 'foo'; o.displayName = 'foo'; o.enablePrivateServiceConnect = true; o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.etag = 'foo'; - o.labels = buildUnnamed63(); + o.labels = buildUnnamed65(); o.modelDeploymentMonitoringJob = 'foo'; o.name = 'foo'; o.network = 'foo'; @@ -4412,7 +4605,7 @@ api.GoogleCloudAiplatformV1Endpoint buildGoogleCloudAiplatformV1Endpoint() { buildGoogleCloudAiplatformV1PredictRequestResponseLoggingConfig(); o.privateServiceConnectConfig = buildGoogleCloudAiplatformV1PrivateServiceConnectConfig(); - o.trafficSplit = buildUnnamed64(); + o.trafficSplit = buildUnnamed66(); o.updateTime = 'foo'; } buildCounterGoogleCloudAiplatformV1Endpoint--; @@ -4427,7 +4620,7 @@ void checkGoogleCloudAiplatformV1Endpoint( o.createTime!, unittest.equals('foo'), ); - checkUnnamed62(o.deployedModels!); + checkUnnamed64(o.deployedModels!); unittest.expect( o.description!, unittest.equals('foo'), @@ -4442,7 +4635,7 @@ void checkGoogleCloudAiplatformV1Endpoint( o.etag!, unittest.equals('foo'), ); - checkUnnamed63(o.labels!); + checkUnnamed65(o.labels!); unittest.expect( o.modelDeploymentMonitoringJob!, unittest.equals('foo'), @@ -4459,7 +4652,7 @@ void checkGoogleCloudAiplatformV1Endpoint( o.predictRequestResponseLoggingConfig!); checkGoogleCloudAiplatformV1PrivateServiceConnectConfig( o.privateServiceConnectConfig!); - checkUnnamed64(o.trafficSplit!); + checkUnnamed66(o.trafficSplit!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -4494,12 +4687,12 @@ void checkGoogleCloudAiplatformV1EntityIdSelector( buildCounterGoogleCloudAiplatformV1EntityIdSelector--; } -core.Map buildUnnamed65() => { +core.Map buildUnnamed67() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed65(core.Map o) { +void checkUnnamed67(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4519,7 +4712,7 @@ api.GoogleCloudAiplatformV1EntityType buildGoogleCloudAiplatformV1EntityType() { o.createTime = 'foo'; o.description = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed65(); + o.labels = buildUnnamed67(); o.monitoringConfig = buildGoogleCloudAiplatformV1FeaturestoreMonitoringConfig(); o.name = 'foo'; @@ -4546,7 +4739,7 @@ void checkGoogleCloudAiplatformV1EntityType( o.etag!, unittest.equals('foo'), ); - checkUnnamed65(o.labels!); + checkUnnamed67(o.labels!); checkGoogleCloudAiplatformV1FeaturestoreMonitoringConfig( o.monitoringConfig!); unittest.expect( @@ -4593,12 +4786,12 @@ void checkGoogleCloudAiplatformV1EnvVar(api.GoogleCloudAiplatformV1EnvVar o) { } core.List - buildUnnamed66() => [ + buildUnnamed68() => [ buildGoogleCloudAiplatformV1ErrorAnalysisAnnotationAttributedItem(), buildGoogleCloudAiplatformV1ErrorAnalysisAnnotationAttributedItem(), ]; -void checkUnnamed66( +void checkUnnamed68( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -4612,7 +4805,7 @@ api.GoogleCloudAiplatformV1ErrorAnalysisAnnotation final o = api.GoogleCloudAiplatformV1ErrorAnalysisAnnotation(); buildCounterGoogleCloudAiplatformV1ErrorAnalysisAnnotation++; if (buildCounterGoogleCloudAiplatformV1ErrorAnalysisAnnotation < 3) { - o.attributedItems = buildUnnamed66(); + o.attributedItems = buildUnnamed68(); o.outlierScore = 42.0; o.outlierThreshold = 42.0; o.queryType = 'foo'; @@ -4625,7 +4818,7 @@ void checkGoogleCloudAiplatformV1ErrorAnalysisAnnotation( api.GoogleCloudAiplatformV1ErrorAnalysisAnnotation o) { buildCounterGoogleCloudAiplatformV1ErrorAnalysisAnnotation++; if (buildCounterGoogleCloudAiplatformV1ErrorAnalysisAnnotation < 3) { - checkUnnamed66(o.attributedItems!); + checkUnnamed68(o.attributedItems!); unittest.expect( o.outlierScore!, unittest.equals(42.0), @@ -4676,12 +4869,12 @@ void checkGoogleCloudAiplatformV1ErrorAnalysisAnnotationAttributedItem( } core.List - buildUnnamed67() => [ + buildUnnamed69() => [ buildGoogleCloudAiplatformV1ErrorAnalysisAnnotation(), buildGoogleCloudAiplatformV1ErrorAnalysisAnnotation(), ]; -void checkUnnamed67( +void checkUnnamed69( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ErrorAnalysisAnnotation(o[0]); @@ -4689,19 +4882,19 @@ void checkUnnamed67( } core.List - buildUnnamed68() => [ + buildUnnamed70() => [ buildGoogleCloudAiplatformV1EvaluatedAnnotationExplanation(), buildGoogleCloudAiplatformV1EvaluatedAnnotationExplanation(), ]; -void checkUnnamed68( +void checkUnnamed70( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1EvaluatedAnnotationExplanation(o[0]); checkGoogleCloudAiplatformV1EvaluatedAnnotationExplanation(o[1]); } -core.List buildUnnamed69() => [ +core.List buildUnnamed71() => [ { 'list': [1, 2, 3], 'bool': true, @@ -4714,7 +4907,7 @@ core.List buildUnnamed69() => [ }, ]; -void checkUnnamed69(core.List o) { +void checkUnnamed71(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted18 = (o[0]) as core.Map; unittest.expect(casted18, unittest.hasLength(3)); @@ -4746,7 +4939,7 @@ void checkUnnamed69(core.List o) { ); } -core.List buildUnnamed70() => [ +core.List buildUnnamed72() => [ { 'list': [1, 2, 3], 'bool': true, @@ -4759,7 +4952,7 @@ core.List buildUnnamed70() => [ }, ]; -void checkUnnamed70(core.List o) { +void checkUnnamed72(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted20 = (o[0]) as core.Map; unittest.expect(casted20, unittest.hasLength(3)); @@ -4802,11 +4995,11 @@ api.GoogleCloudAiplatformV1EvaluatedAnnotation 'bool': true, 'string': 'foo' }; - o.errorAnalysisAnnotations = buildUnnamed67(); + o.errorAnalysisAnnotations = buildUnnamed69(); o.evaluatedDataItemViewId = 'foo'; - o.explanations = buildUnnamed68(); - o.groundTruths = buildUnnamed69(); - o.predictions = buildUnnamed70(); + o.explanations = buildUnnamed70(); + o.groundTruths = buildUnnamed71(); + o.predictions = buildUnnamed72(); o.type = 'foo'; } buildCounterGoogleCloudAiplatformV1EvaluatedAnnotation--; @@ -4831,14 +5024,14 @@ void checkGoogleCloudAiplatformV1EvaluatedAnnotation( casted22['string'], unittest.equals('foo'), ); - checkUnnamed67(o.errorAnalysisAnnotations!); + checkUnnamed69(o.errorAnalysisAnnotations!); unittest.expect( o.evaluatedDataItemViewId!, unittest.equals('foo'), ); - checkUnnamed68(o.explanations!); - checkUnnamed69(o.groundTruths!); - checkUnnamed70(o.predictions!); + checkUnnamed70(o.explanations!); + checkUnnamed71(o.groundTruths!); + checkUnnamed72(o.predictions!); unittest.expect( o.type!, unittest.equals('foo'), @@ -4873,12 +5066,12 @@ void checkGoogleCloudAiplatformV1EvaluatedAnnotationExplanation( buildCounterGoogleCloudAiplatformV1EvaluatedAnnotationExplanation--; } -core.Map buildUnnamed71() => { +core.Map buildUnnamed73() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed71(core.Map o) { +void checkUnnamed73(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4898,7 +5091,7 @@ api.GoogleCloudAiplatformV1Event buildGoogleCloudAiplatformV1Event() { o.artifact = 'foo'; o.eventTime = 'foo'; o.execution = 'foo'; - o.labels = buildUnnamed71(); + o.labels = buildUnnamed73(); o.type = 'foo'; } buildCounterGoogleCloudAiplatformV1Event--; @@ -4920,7 +5113,7 @@ void checkGoogleCloudAiplatformV1Event(api.GoogleCloudAiplatformV1Event o) { o.execution!, unittest.equals('foo'), ); - checkUnnamed71(o.labels!); + checkUnnamed73(o.labels!); unittest.expect( o.type!, unittest.equals('foo'), @@ -5002,12 +5195,12 @@ void checkGoogleCloudAiplatformV1ExamplesExampleGcsSource( } core.List - buildUnnamed72() => [ + buildUnnamed74() => [ buildGoogleCloudAiplatformV1ExamplesRestrictionsNamespace(), buildGoogleCloudAiplatformV1ExamplesRestrictionsNamespace(), ]; -void checkUnnamed72( +void checkUnnamed74( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ExamplesRestrictionsNamespace(o[0]); @@ -5023,7 +5216,7 @@ api.GoogleCloudAiplatformV1ExamplesOverride o.crowdingCount = 42; o.dataFormat = 'foo'; o.neighborCount = 42; - o.restrictions = buildUnnamed72(); + o.restrictions = buildUnnamed74(); o.returnEmbeddings = true; } buildCounterGoogleCloudAiplatformV1ExamplesOverride--; @@ -5046,18 +5239,18 @@ void checkGoogleCloudAiplatformV1ExamplesOverride( o.neighborCount!, unittest.equals(42), ); - checkUnnamed72(o.restrictions!); + checkUnnamed74(o.restrictions!); unittest.expect(o.returnEmbeddings!, unittest.isTrue); } buildCounterGoogleCloudAiplatformV1ExamplesOverride--; } -core.List buildUnnamed73() => [ +core.List buildUnnamed75() => [ 'foo', 'foo', ]; -void checkUnnamed73(core.List o) { +void checkUnnamed75(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5069,12 +5262,12 @@ void checkUnnamed73(core.List o) { ); } -core.List buildUnnamed74() => [ +core.List buildUnnamed76() => [ 'foo', 'foo', ]; -void checkUnnamed74(core.List o) { +void checkUnnamed76(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5092,8 +5285,8 @@ api.GoogleCloudAiplatformV1ExamplesRestrictionsNamespace final o = api.GoogleCloudAiplatformV1ExamplesRestrictionsNamespace(); buildCounterGoogleCloudAiplatformV1ExamplesRestrictionsNamespace++; if (buildCounterGoogleCloudAiplatformV1ExamplesRestrictionsNamespace < 3) { - o.allow = buildUnnamed73(); - o.deny = buildUnnamed74(); + o.allow = buildUnnamed75(); + o.deny = buildUnnamed76(); o.namespaceName = 'foo'; } buildCounterGoogleCloudAiplatformV1ExamplesRestrictionsNamespace--; @@ -5104,8 +5297,8 @@ void checkGoogleCloudAiplatformV1ExamplesRestrictionsNamespace( api.GoogleCloudAiplatformV1ExamplesRestrictionsNamespace o) { buildCounterGoogleCloudAiplatformV1ExamplesRestrictionsNamespace++; if (buildCounterGoogleCloudAiplatformV1ExamplesRestrictionsNamespace < 3) { - checkUnnamed73(o.allow!); - checkUnnamed74(o.deny!); + checkUnnamed75(o.allow!); + checkUnnamed76(o.deny!); unittest.expect( o.namespaceName!, unittest.equals('foo'), @@ -5114,12 +5307,12 @@ void checkGoogleCloudAiplatformV1ExamplesRestrictionsNamespace( buildCounterGoogleCloudAiplatformV1ExamplesRestrictionsNamespace--; } -core.Map buildUnnamed75() => { +core.Map buildUnnamed77() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed75(core.Map o) { +void checkUnnamed77(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -5131,7 +5324,7 @@ void checkUnnamed75(core.Map o) { ); } -core.Map buildUnnamed76() => { +core.Map buildUnnamed78() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -5144,7 +5337,7 @@ core.Map buildUnnamed76() => { }, }; -void checkUnnamed76(core.Map o) { +void checkUnnamed78(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted24 = (o['x']!) as core.Map; unittest.expect(casted24, unittest.hasLength(3)); @@ -5185,8 +5378,8 @@ api.GoogleCloudAiplatformV1Execution buildGoogleCloudAiplatformV1Execution() { o.description = 'foo'; o.displayName = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed75(); - o.metadata = buildUnnamed76(); + o.labels = buildUnnamed77(); + o.metadata = buildUnnamed78(); o.name = 'foo'; o.schemaTitle = 'foo'; o.schemaVersion = 'foo'; @@ -5217,8 +5410,8 @@ void checkGoogleCloudAiplatformV1Execution( o.etag!, unittest.equals('foo'), ); - checkUnnamed75(o.labels!); - checkUnnamed76(o.metadata!); + checkUnnamed77(o.labels!); + checkUnnamed78(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -5243,7 +5436,7 @@ void checkGoogleCloudAiplatformV1Execution( buildCounterGoogleCloudAiplatformV1Execution--; } -core.List buildUnnamed77() => [ +core.List buildUnnamed79() => [ { 'list': [1, 2, 3], 'bool': true, @@ -5256,7 +5449,7 @@ core.List buildUnnamed77() => [ }, ]; -void checkUnnamed77(core.List o) { +void checkUnnamed79(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted26 = (o[0]) as core.Map; unittest.expect(casted26, unittest.hasLength(3)); @@ -5297,7 +5490,7 @@ api.GoogleCloudAiplatformV1ExplainRequest o.deployedModelId = 'foo'; o.explanationSpecOverride = buildGoogleCloudAiplatformV1ExplanationSpecOverride(); - o.instances = buildUnnamed77(); + o.instances = buildUnnamed79(); o.parameters = { 'list': [1, 2, 3], 'bool': true, @@ -5318,7 +5511,7 @@ void checkGoogleCloudAiplatformV1ExplainRequest( ); checkGoogleCloudAiplatformV1ExplanationSpecOverride( o.explanationSpecOverride!); - checkUnnamed77(o.instances!); + checkUnnamed79(o.instances!); var casted28 = (o.parameters!) as core.Map; unittest.expect(casted28, unittest.hasLength(3)); unittest.expect( @@ -5337,18 +5530,18 @@ void checkGoogleCloudAiplatformV1ExplainRequest( buildCounterGoogleCloudAiplatformV1ExplainRequest--; } -core.List buildUnnamed78() => [ +core.List buildUnnamed80() => [ buildGoogleCloudAiplatformV1Explanation(), buildGoogleCloudAiplatformV1Explanation(), ]; -void checkUnnamed78(core.List o) { +void checkUnnamed80(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Explanation(o[0]); checkGoogleCloudAiplatformV1Explanation(o[1]); } -core.List buildUnnamed79() => [ +core.List buildUnnamed81() => [ { 'list': [1, 2, 3], 'bool': true, @@ -5361,7 +5554,7 @@ core.List buildUnnamed79() => [ }, ]; -void checkUnnamed79(core.List o) { +void checkUnnamed81(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted29 = (o[0]) as core.Map; unittest.expect(casted29, unittest.hasLength(3)); @@ -5400,8 +5593,8 @@ api.GoogleCloudAiplatformV1ExplainResponse buildCounterGoogleCloudAiplatformV1ExplainResponse++; if (buildCounterGoogleCloudAiplatformV1ExplainResponse < 3) { o.deployedModelId = 'foo'; - o.explanations = buildUnnamed78(); - o.predictions = buildUnnamed79(); + o.explanations = buildUnnamed80(); + o.predictions = buildUnnamed81(); } buildCounterGoogleCloudAiplatformV1ExplainResponse--; return o; @@ -5415,29 +5608,29 @@ void checkGoogleCloudAiplatformV1ExplainResponse( o.deployedModelId!, unittest.equals('foo'), ); - checkUnnamed78(o.explanations!); - checkUnnamed79(o.predictions!); + checkUnnamed80(o.explanations!); + checkUnnamed81(o.predictions!); } buildCounterGoogleCloudAiplatformV1ExplainResponse--; } -core.List buildUnnamed80() => [ +core.List buildUnnamed82() => [ buildGoogleCloudAiplatformV1Attribution(), buildGoogleCloudAiplatformV1Attribution(), ]; -void checkUnnamed80(core.List o) { +void checkUnnamed82(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Attribution(o[0]); checkGoogleCloudAiplatformV1Attribution(o[1]); } -core.List buildUnnamed81() => [ +core.List buildUnnamed83() => [ buildGoogleCloudAiplatformV1Neighbor(), buildGoogleCloudAiplatformV1Neighbor(), ]; -void checkUnnamed81(core.List o) { +void checkUnnamed83(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Neighbor(o[0]); checkGoogleCloudAiplatformV1Neighbor(o[1]); @@ -5449,8 +5642,8 @@ api.GoogleCloudAiplatformV1Explanation final o = api.GoogleCloudAiplatformV1Explanation(); buildCounterGoogleCloudAiplatformV1Explanation++; if (buildCounterGoogleCloudAiplatformV1Explanation < 3) { - o.attributions = buildUnnamed80(); - o.neighbors = buildUnnamed81(); + o.attributions = buildUnnamed82(); + o.neighbors = buildUnnamed83(); } buildCounterGoogleCloudAiplatformV1Explanation--; return o; @@ -5460,20 +5653,20 @@ void checkGoogleCloudAiplatformV1Explanation( api.GoogleCloudAiplatformV1Explanation o) { buildCounterGoogleCloudAiplatformV1Explanation++; if (buildCounterGoogleCloudAiplatformV1Explanation < 3) { - checkUnnamed80(o.attributions!); - checkUnnamed81(o.neighbors!); + checkUnnamed82(o.attributions!); + checkUnnamed83(o.neighbors!); } buildCounterGoogleCloudAiplatformV1Explanation--; } core.Map - buildUnnamed82() => { + buildUnnamed84() => { 'x': buildGoogleCloudAiplatformV1ExplanationMetadataInputMetadata(), 'y': buildGoogleCloudAiplatformV1ExplanationMetadataInputMetadata(), }; -void checkUnnamed82( +void checkUnnamed84( core.Map o) { @@ -5484,12 +5677,12 @@ void checkUnnamed82( core.Map - buildUnnamed83() => { + buildUnnamed85() => { 'x': buildGoogleCloudAiplatformV1ExplanationMetadataOutputMetadata(), 'y': buildGoogleCloudAiplatformV1ExplanationMetadataOutputMetadata(), }; -void checkUnnamed83( +void checkUnnamed85( core.Map o) { @@ -5505,9 +5698,9 @@ api.GoogleCloudAiplatformV1ExplanationMetadata buildCounterGoogleCloudAiplatformV1ExplanationMetadata++; if (buildCounterGoogleCloudAiplatformV1ExplanationMetadata < 3) { o.featureAttributionsSchemaUri = 'foo'; - o.inputs = buildUnnamed82(); + o.inputs = buildUnnamed84(); o.latentSpaceSource = 'foo'; - o.outputs = buildUnnamed83(); + o.outputs = buildUnnamed85(); } buildCounterGoogleCloudAiplatformV1ExplanationMetadata--; return o; @@ -5521,17 +5714,17 @@ void checkGoogleCloudAiplatformV1ExplanationMetadata( o.featureAttributionsSchemaUri!, unittest.equals('foo'), ); - checkUnnamed82(o.inputs!); + checkUnnamed84(o.inputs!); unittest.expect( o.latentSpaceSource!, unittest.equals('foo'), ); - checkUnnamed83(o.outputs!); + checkUnnamed85(o.outputs!); } buildCounterGoogleCloudAiplatformV1ExplanationMetadata--; } -core.List buildUnnamed84() => [ +core.List buildUnnamed86() => [ { 'list': [1, 2, 3], 'bool': true, @@ -5544,7 +5737,7 @@ core.List buildUnnamed84() => [ }, ]; -void checkUnnamed84(core.List o) { +void checkUnnamed86(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted31 = (o[0]) as core.Map; unittest.expect(casted31, unittest.hasLength(3)); @@ -5576,12 +5769,12 @@ void checkUnnamed84(core.List o) { ); } -core.List buildUnnamed85() => [ +core.List buildUnnamed87() => [ 'foo', 'foo', ]; -void checkUnnamed85(core.List o) { +void checkUnnamed87(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5593,7 +5786,7 @@ void checkUnnamed85(core.List o) { ); } -core.List buildUnnamed86() => [ +core.List buildUnnamed88() => [ { 'list': [1, 2, 3], 'bool': true, @@ -5606,7 +5799,7 @@ core.List buildUnnamed86() => [ }, ]; -void checkUnnamed86(core.List o) { +void checkUnnamed88(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted33 = (o[0]) as core.Map; unittest.expect(casted33, unittest.hasLength(3)); @@ -5646,15 +5839,15 @@ api.GoogleCloudAiplatformV1ExplanationMetadataInputMetadata buildCounterGoogleCloudAiplatformV1ExplanationMetadataInputMetadata++; if (buildCounterGoogleCloudAiplatformV1ExplanationMetadataInputMetadata < 3) { o.denseShapeTensorName = 'foo'; - o.encodedBaselines = buildUnnamed84(); + o.encodedBaselines = buildUnnamed86(); o.encodedTensorName = 'foo'; o.encoding = 'foo'; o.featureValueDomain = buildGoogleCloudAiplatformV1ExplanationMetadataInputMetadataFeatureValueDomain(); o.groupName = 'foo'; - o.indexFeatureMapping = buildUnnamed85(); + o.indexFeatureMapping = buildUnnamed87(); o.indicesTensorName = 'foo'; - o.inputBaselines = buildUnnamed86(); + o.inputBaselines = buildUnnamed88(); o.inputTensorName = 'foo'; o.modality = 'foo'; o.visualization = @@ -5672,7 +5865,7 @@ void checkGoogleCloudAiplatformV1ExplanationMetadataInputMetadata( o.denseShapeTensorName!, unittest.equals('foo'), ); - checkUnnamed84(o.encodedBaselines!); + checkUnnamed86(o.encodedBaselines!); unittest.expect( o.encodedTensorName!, unittest.equals('foo'), @@ -5687,12 +5880,12 @@ void checkGoogleCloudAiplatformV1ExplanationMetadataInputMetadata( o.groupName!, unittest.equals('foo'), ); - checkUnnamed85(o.indexFeatureMapping!); + checkUnnamed87(o.indexFeatureMapping!); unittest.expect( o.indicesTensorName!, unittest.equals('foo'), ); - checkUnnamed86(o.inputBaselines!); + checkUnnamed88(o.inputBaselines!); unittest.expect( o.inputTensorName!, unittest.equals('foo'), @@ -5862,14 +6055,14 @@ core.Map< core.String, api .GoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride> - buildUnnamed87() => { + buildUnnamed89() => { 'x': buildGoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride(), 'y': buildGoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride(), }; -void checkUnnamed87( +void checkUnnamed89( core.Map< core.String, api @@ -5888,7 +6081,7 @@ api.GoogleCloudAiplatformV1ExplanationMetadataOverride final o = api.GoogleCloudAiplatformV1ExplanationMetadataOverride(); buildCounterGoogleCloudAiplatformV1ExplanationMetadataOverride++; if (buildCounterGoogleCloudAiplatformV1ExplanationMetadataOverride < 3) { - o.inputs = buildUnnamed87(); + o.inputs = buildUnnamed89(); } buildCounterGoogleCloudAiplatformV1ExplanationMetadataOverride--; return o; @@ -5898,12 +6091,12 @@ void checkGoogleCloudAiplatformV1ExplanationMetadataOverride( api.GoogleCloudAiplatformV1ExplanationMetadataOverride o) { buildCounterGoogleCloudAiplatformV1ExplanationMetadataOverride++; if (buildCounterGoogleCloudAiplatformV1ExplanationMetadataOverride < 3) { - checkUnnamed87(o.inputs!); + checkUnnamed89(o.inputs!); } buildCounterGoogleCloudAiplatformV1ExplanationMetadataOverride--; } -core.List buildUnnamed88() => [ +core.List buildUnnamed90() => [ { 'list': [1, 2, 3], 'bool': true, @@ -5916,7 +6109,7 @@ core.List buildUnnamed88() => [ }, ]; -void checkUnnamed88(core.List o) { +void checkUnnamed90(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted36 = (o[0]) as core.Map; unittest.expect(casted36, unittest.hasLength(3)); @@ -5958,7 +6151,7 @@ api.GoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride buildCounterGoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride++; if (buildCounterGoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride < 3) { - o.inputBaselines = buildUnnamed88(); + o.inputBaselines = buildUnnamed90(); } buildCounterGoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride--; return o; @@ -5970,12 +6163,12 @@ void checkGoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverrid buildCounterGoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride++; if (buildCounterGoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride < 3) { - checkUnnamed88(o.inputBaselines!); + checkUnnamed90(o.inputBaselines!); } buildCounterGoogleCloudAiplatformV1ExplanationMetadataOverrideInputMetadataOverride--; } -core.List buildUnnamed89() => [ +core.List buildUnnamed91() => [ { 'list': [1, 2, 3], 'bool': true, @@ -5988,7 +6181,7 @@ core.List buildUnnamed89() => [ }, ]; -void checkUnnamed89(core.List o) { +void checkUnnamed91(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted38 = (o[0]) as core.Map; unittest.expect(casted38, unittest.hasLength(3)); @@ -6029,7 +6222,7 @@ api.GoogleCloudAiplatformV1ExplanationParameters o.examples = buildGoogleCloudAiplatformV1Examples(); o.integratedGradientsAttribution = buildGoogleCloudAiplatformV1IntegratedGradientsAttribution(); - o.outputIndices = buildUnnamed89(); + o.outputIndices = buildUnnamed91(); o.sampledShapleyAttribution = buildGoogleCloudAiplatformV1SampledShapleyAttribution(); o.topK = 42; @@ -6046,7 +6239,7 @@ void checkGoogleCloudAiplatformV1ExplanationParameters( checkGoogleCloudAiplatformV1Examples(o.examples!); checkGoogleCloudAiplatformV1IntegratedGradientsAttribution( o.integratedGradientsAttribution!); - checkUnnamed89(o.outputIndices!); + checkUnnamed91(o.outputIndices!); checkGoogleCloudAiplatformV1SampledShapleyAttribution( o.sampledShapleyAttribution!); unittest.expect( @@ -6173,12 +6366,12 @@ void checkGoogleCloudAiplatformV1ExportDataRequest( } core.List - buildUnnamed90() => [ + buildUnnamed92() => [ buildGoogleCloudAiplatformV1DestinationFeatureSetting(), buildGoogleCloudAiplatformV1DestinationFeatureSetting(), ]; -void checkUnnamed90( +void checkUnnamed92( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DestinationFeatureSetting(o[0]); @@ -6195,7 +6388,7 @@ api.GoogleCloudAiplatformV1ExportFeatureValuesRequest o.featureSelector = buildGoogleCloudAiplatformV1FeatureSelector(); o.fullExport = buildGoogleCloudAiplatformV1ExportFeatureValuesRequestFullExport(); - o.settings = buildUnnamed90(); + o.settings = buildUnnamed92(); o.snapshotExport = buildGoogleCloudAiplatformV1ExportFeatureValuesRequestSnapshotExport(); } @@ -6211,7 +6404,7 @@ void checkGoogleCloudAiplatformV1ExportFeatureValuesRequest( checkGoogleCloudAiplatformV1FeatureSelector(o.featureSelector!); checkGoogleCloudAiplatformV1ExportFeatureValuesRequestFullExport( o.fullExport!); - checkUnnamed90(o.settings!); + checkUnnamed92(o.settings!); checkGoogleCloudAiplatformV1ExportFeatureValuesRequestSnapshotExport( o.snapshotExport!); } @@ -6447,12 +6640,12 @@ void checkGoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataRequest( buildCounterGoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataRequest--; } -core.List buildUnnamed91() => [ +core.List buildUnnamed93() => [ buildGoogleCloudAiplatformV1TimeSeriesDataPoint(), buildGoogleCloudAiplatformV1TimeSeriesDataPoint(), ]; -void checkUnnamed91( +void checkUnnamed93( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TimeSeriesDataPoint(o[0]); @@ -6470,7 +6663,7 @@ api.GoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse if (buildCounterGoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse < 3) { o.nextPageToken = 'foo'; - o.timeSeriesDataPoints = buildUnnamed91(); + o.timeSeriesDataPoints = buildUnnamed93(); } buildCounterGoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse--; return o; @@ -6485,17 +6678,17 @@ void checkGoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed91(o.timeSeriesDataPoints!); + checkUnnamed93(o.timeSeriesDataPoints!); } buildCounterGoogleCloudAiplatformV1ExportTensorboardTimeSeriesDataResponse--; } -core.Map buildUnnamed92() => { +core.Map buildUnnamed94() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed92(core.Map o) { +void checkUnnamed94(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -6508,12 +6701,12 @@ void checkUnnamed92(core.Map o) { } core.List - buildUnnamed93() => [ + buildUnnamed95() => [ buildGoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly(), buildGoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly(), ]; -void checkUnnamed93( +void checkUnnamed95( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly(o[0]); @@ -6529,8 +6722,8 @@ api.GoogleCloudAiplatformV1Feature buildGoogleCloudAiplatformV1Feature() { o.description = 'foo'; o.disableMonitoring = true; o.etag = 'foo'; - o.labels = buildUnnamed92(); - o.monitoringStatsAnomalies = buildUnnamed93(); + o.labels = buildUnnamed94(); + o.monitoringStatsAnomalies = buildUnnamed95(); o.name = 'foo'; o.pointOfContact = 'foo'; o.updateTime = 'foo'; @@ -6557,8 +6750,8 @@ void checkGoogleCloudAiplatformV1Feature(api.GoogleCloudAiplatformV1Feature o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed92(o.labels!); - checkUnnamed93(o.monitoringStatsAnomalies!); + checkUnnamed94(o.labels!); + checkUnnamed95(o.monitoringStatsAnomalies!); unittest.expect( o.name!, unittest.equals('foo'), @@ -6583,12 +6776,12 @@ void checkGoogleCloudAiplatformV1Feature(api.GoogleCloudAiplatformV1Feature o) { buildCounterGoogleCloudAiplatformV1Feature--; } -core.Map buildUnnamed94() => { +core.Map buildUnnamed96() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed94(core.Map o) { +void checkUnnamed96(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -6610,7 +6803,7 @@ api.GoogleCloudAiplatformV1FeatureGroup o.createTime = 'foo'; o.description = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed94(); + o.labels = buildUnnamed96(); o.name = 'foo'; o.updateTime = 'foo'; } @@ -6635,7 +6828,7 @@ void checkGoogleCloudAiplatformV1FeatureGroup( o.etag!, unittest.equals('foo'), ); - checkUnnamed94(o.labels!); + checkUnnamed96(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -6648,12 +6841,12 @@ void checkGoogleCloudAiplatformV1FeatureGroup( buildCounterGoogleCloudAiplatformV1FeatureGroup--; } -core.List buildUnnamed95() => [ +core.List buildUnnamed97() => [ 'foo', 'foo', ]; -void checkUnnamed95(core.List o) { +void checkUnnamed97(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6672,7 +6865,7 @@ api.GoogleCloudAiplatformV1FeatureGroupBigQuery buildCounterGoogleCloudAiplatformV1FeatureGroupBigQuery++; if (buildCounterGoogleCloudAiplatformV1FeatureGroupBigQuery < 3) { o.bigQuerySource = buildGoogleCloudAiplatformV1BigQuerySource(); - o.entityIdColumns = buildUnnamed95(); + o.entityIdColumns = buildUnnamed97(); } buildCounterGoogleCloudAiplatformV1FeatureGroupBigQuery--; return o; @@ -6683,7 +6876,7 @@ void checkGoogleCloudAiplatformV1FeatureGroupBigQuery( buildCounterGoogleCloudAiplatformV1FeatureGroupBigQuery++; if (buildCounterGoogleCloudAiplatformV1FeatureGroupBigQuery < 3) { checkGoogleCloudAiplatformV1BigQuerySource(o.bigQuerySource!); - checkUnnamed95(o.entityIdColumns!); + checkUnnamed97(o.entityIdColumns!); } buildCounterGoogleCloudAiplatformV1FeatureGroupBigQuery--; } @@ -6715,12 +6908,12 @@ void checkGoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly( } core.List - buildUnnamed96() => [ + buildUnnamed98() => [ buildGoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature(), buildGoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature(), ]; -void checkUnnamed96( +void checkUnnamed98( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -6734,7 +6927,7 @@ api.GoogleCloudAiplatformV1FeatureNoiseSigma final o = api.GoogleCloudAiplatformV1FeatureNoiseSigma(); buildCounterGoogleCloudAiplatformV1FeatureNoiseSigma++; if (buildCounterGoogleCloudAiplatformV1FeatureNoiseSigma < 3) { - o.noiseSigma = buildUnnamed96(); + o.noiseSigma = buildUnnamed98(); } buildCounterGoogleCloudAiplatformV1FeatureNoiseSigma--; return o; @@ -6744,7 +6937,7 @@ void checkGoogleCloudAiplatformV1FeatureNoiseSigma( api.GoogleCloudAiplatformV1FeatureNoiseSigma o) { buildCounterGoogleCloudAiplatformV1FeatureNoiseSigma++; if (buildCounterGoogleCloudAiplatformV1FeatureNoiseSigma < 3) { - checkUnnamed96(o.noiseSigma!); + checkUnnamed98(o.noiseSigma!); } buildCounterGoogleCloudAiplatformV1FeatureNoiseSigma--; } @@ -6782,12 +6975,12 @@ void checkGoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature( buildCounterGoogleCloudAiplatformV1FeatureNoiseSigmaNoiseSigmaForFeature--; } -core.Map buildUnnamed97() => { +core.Map buildUnnamed99() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed97(core.Map o) { +void checkUnnamed99(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -6809,8 +7002,9 @@ api.GoogleCloudAiplatformV1FeatureOnlineStore o.createTime = 'foo'; o.dedicatedServingEndpoint = buildGoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint(); + o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.etag = 'foo'; - o.labels = buildUnnamed97(); + o.labels = buildUnnamed99(); o.name = 'foo'; o.optimized = buildGoogleCloudAiplatformV1FeatureOnlineStoreOptimized(); o.state = 'foo'; @@ -6831,11 +7025,12 @@ void checkGoogleCloudAiplatformV1FeatureOnlineStore( ); checkGoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint( o.dedicatedServingEndpoint!); + checkGoogleCloudAiplatformV1EncryptionSpec(o.encryptionSpec!); unittest.expect( o.etag!, unittest.equals('foo'), ); - checkUnnamed97(o.labels!); + checkUnnamed99(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -7113,12 +7308,12 @@ void checkGoogleCloudAiplatformV1FeatureValueDestination( buildCounterGoogleCloudAiplatformV1FeatureValueDestination--; } -core.List buildUnnamed98() => [ +core.List buildUnnamed100() => [ buildGoogleCloudAiplatformV1FeatureValue(), buildGoogleCloudAiplatformV1FeatureValue(), ]; -void checkUnnamed98(core.List o) { +void checkUnnamed100(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1FeatureValue(o[0]); checkGoogleCloudAiplatformV1FeatureValue(o[1]); @@ -7130,7 +7325,7 @@ api.GoogleCloudAiplatformV1FeatureValueList final o = api.GoogleCloudAiplatformV1FeatureValueList(); buildCounterGoogleCloudAiplatformV1FeatureValueList++; if (buildCounterGoogleCloudAiplatformV1FeatureValueList < 3) { - o.values = buildUnnamed98(); + o.values = buildUnnamed100(); } buildCounterGoogleCloudAiplatformV1FeatureValueList--; return o; @@ -7140,7 +7335,7 @@ void checkGoogleCloudAiplatformV1FeatureValueList( api.GoogleCloudAiplatformV1FeatureValueList o) { buildCounterGoogleCloudAiplatformV1FeatureValueList++; if (buildCounterGoogleCloudAiplatformV1FeatureValueList < 3) { - checkUnnamed98(o.values!); + checkUnnamed100(o.values!); } buildCounterGoogleCloudAiplatformV1FeatureValueList--; } @@ -7169,12 +7364,12 @@ void checkGoogleCloudAiplatformV1FeatureValueMetadata( buildCounterGoogleCloudAiplatformV1FeatureValueMetadata--; } -core.Map buildUnnamed99() => { +core.Map buildUnnamed101() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed99(core.Map o) { +void checkUnnamed101(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -7198,7 +7393,7 @@ api.GoogleCloudAiplatformV1FeatureView o.featureRegistrySource = buildGoogleCloudAiplatformV1FeatureViewFeatureRegistrySource(); o.indexConfig = buildGoogleCloudAiplatformV1FeatureViewIndexConfig(); - o.labels = buildUnnamed99(); + o.labels = buildUnnamed101(); o.name = 'foo'; o.syncConfig = buildGoogleCloudAiplatformV1FeatureViewSyncConfig(); o.updateTime = 'foo'; @@ -7223,7 +7418,7 @@ void checkGoogleCloudAiplatformV1FeatureView( checkGoogleCloudAiplatformV1FeatureViewFeatureRegistrySource( o.featureRegistrySource!); checkGoogleCloudAiplatformV1FeatureViewIndexConfig(o.indexConfig!); - checkUnnamed99(o.labels!); + checkUnnamed101(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -7237,12 +7432,12 @@ void checkGoogleCloudAiplatformV1FeatureView( buildCounterGoogleCloudAiplatformV1FeatureView--; } -core.List buildUnnamed100() => [ +core.List buildUnnamed102() => [ 'foo', 'foo', ]; -void checkUnnamed100(core.List o) { +void checkUnnamed102(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7260,7 +7455,7 @@ api.GoogleCloudAiplatformV1FeatureViewBigQuerySource final o = api.GoogleCloudAiplatformV1FeatureViewBigQuerySource(); buildCounterGoogleCloudAiplatformV1FeatureViewBigQuerySource++; if (buildCounterGoogleCloudAiplatformV1FeatureViewBigQuerySource < 3) { - o.entityIdColumns = buildUnnamed100(); + o.entityIdColumns = buildUnnamed102(); o.uri = 'foo'; } buildCounterGoogleCloudAiplatformV1FeatureViewBigQuerySource--; @@ -7271,7 +7466,7 @@ void checkGoogleCloudAiplatformV1FeatureViewBigQuerySource( api.GoogleCloudAiplatformV1FeatureViewBigQuerySource o) { buildCounterGoogleCloudAiplatformV1FeatureViewBigQuerySource++; if (buildCounterGoogleCloudAiplatformV1FeatureViewBigQuerySource < 3) { - checkUnnamed100(o.entityIdColumns!); + checkUnnamed102(o.entityIdColumns!); unittest.expect( o.uri!, unittest.equals('foo'), @@ -7307,12 +7502,12 @@ void checkGoogleCloudAiplatformV1FeatureViewDataKey( buildCounterGoogleCloudAiplatformV1FeatureViewDataKey--; } -core.List buildUnnamed101() => [ +core.List buildUnnamed103() => [ 'foo', 'foo', ]; -void checkUnnamed101(core.List o) { +void checkUnnamed103(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7330,7 +7525,7 @@ api.GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey final o = api.GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey(); buildCounterGoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey++; if (buildCounterGoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey < 3) { - o.parts = buildUnnamed101(); + o.parts = buildUnnamed103(); } buildCounterGoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey--; return o; @@ -7340,19 +7535,19 @@ void checkGoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey( api.GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey o) { buildCounterGoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey++; if (buildCounterGoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey < 3) { - checkUnnamed101(o.parts!); + checkUnnamed103(o.parts!); } buildCounterGoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey--; } core.List< api.GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup> - buildUnnamed102() => [ + buildUnnamed104() => [ buildGoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup(), buildGoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup(), ]; -void checkUnnamed102( +void checkUnnamed104( core.List< api .GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup> @@ -7371,7 +7566,7 @@ api.GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource final o = api.GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource(); buildCounterGoogleCloudAiplatformV1FeatureViewFeatureRegistrySource++; if (buildCounterGoogleCloudAiplatformV1FeatureViewFeatureRegistrySource < 3) { - o.featureGroups = buildUnnamed102(); + o.featureGroups = buildUnnamed104(); o.projectNumber = 'foo'; } buildCounterGoogleCloudAiplatformV1FeatureViewFeatureRegistrySource--; @@ -7382,7 +7577,7 @@ void checkGoogleCloudAiplatformV1FeatureViewFeatureRegistrySource( api.GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource o) { buildCounterGoogleCloudAiplatformV1FeatureViewFeatureRegistrySource++; if (buildCounterGoogleCloudAiplatformV1FeatureViewFeatureRegistrySource < 3) { - checkUnnamed102(o.featureGroups!); + checkUnnamed104(o.featureGroups!); unittest.expect( o.projectNumber!, unittest.equals('foo'), @@ -7391,12 +7586,12 @@ void checkGoogleCloudAiplatformV1FeatureViewFeatureRegistrySource( buildCounterGoogleCloudAiplatformV1FeatureViewFeatureRegistrySource--; } -core.List buildUnnamed103() => [ +core.List buildUnnamed105() => [ 'foo', 'foo', ]; -void checkUnnamed103(core.List o) { +void checkUnnamed105(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7419,7 +7614,7 @@ api.GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup if (buildCounterGoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup < 3) { o.featureGroupId = 'foo'; - o.featureIds = buildUnnamed103(); + o.featureIds = buildUnnamed105(); } buildCounterGoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup--; return o; @@ -7434,17 +7629,17 @@ void checkGoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup( o.featureGroupId!, unittest.equals('foo'), ); - checkUnnamed103(o.featureIds!); + checkUnnamed105(o.featureIds!); } buildCounterGoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup--; } -core.List buildUnnamed104() => [ +core.List buildUnnamed106() => [ 'foo', 'foo', ]; -void checkUnnamed104(core.List o) { +void checkUnnamed106(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7468,7 +7663,7 @@ api.GoogleCloudAiplatformV1FeatureViewIndexConfig o.distanceMeasureType = 'foo'; o.embeddingColumn = 'foo'; o.embeddingDimension = 42; - o.filterColumns = buildUnnamed104(); + o.filterColumns = buildUnnamed106(); o.treeAhConfig = buildGoogleCloudAiplatformV1FeatureViewIndexConfigTreeAHConfig(); } @@ -7498,7 +7693,7 @@ void checkGoogleCloudAiplatformV1FeatureViewIndexConfig( o.embeddingDimension!, unittest.equals(42), ); - checkUnnamed104(o.filterColumns!); + checkUnnamed106(o.filterColumns!); checkGoogleCloudAiplatformV1FeatureViewIndexConfigTreeAHConfig( o.treeAhConfig!); } @@ -7641,12 +7836,12 @@ void checkGoogleCloudAiplatformV1FeatureViewSyncSyncSummary( buildCounterGoogleCloudAiplatformV1FeatureViewSyncSyncSummary--; } -core.Map buildUnnamed105() => { +core.Map buildUnnamed107() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed105(core.Map o) { +void checkUnnamed107(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -7667,7 +7862,7 @@ api.GoogleCloudAiplatformV1Featurestore o.createTime = 'foo'; o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.etag = 'foo'; - o.labels = buildUnnamed105(); + o.labels = buildUnnamed107(); o.name = 'foo'; o.onlineServingConfig = buildGoogleCloudAiplatformV1FeaturestoreOnlineServingConfig(); @@ -7692,7 +7887,7 @@ void checkGoogleCloudAiplatformV1Featurestore( o.etag!, unittest.equals('foo'), ); - checkUnnamed105(o.labels!); + checkUnnamed107(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -7942,7 +8137,7 @@ void checkGoogleCloudAiplatformV1FetchFeatureValuesRequest( buildCounterGoogleCloudAiplatformV1FetchFeatureValuesRequest--; } -core.Map buildUnnamed106() => { +core.Map buildUnnamed108() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7955,7 +8150,7 @@ core.Map buildUnnamed106() => { }, }; -void checkUnnamed106(core.Map o) { +void checkUnnamed108(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted40 = (o['x']!) as core.Map; unittest.expect(casted40, unittest.hasLength(3)); @@ -7996,7 +8191,7 @@ api.GoogleCloudAiplatformV1FetchFeatureValuesResponse o.dataKey = buildGoogleCloudAiplatformV1FeatureViewDataKey(); o.keyValues = buildGoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList(); - o.protoStruct = buildUnnamed106(); + o.protoStruct = buildUnnamed108(); } buildCounterGoogleCloudAiplatformV1FetchFeatureValuesResponse--; return o; @@ -8009,7 +8204,7 @@ void checkGoogleCloudAiplatformV1FetchFeatureValuesResponse( checkGoogleCloudAiplatformV1FeatureViewDataKey(o.dataKey!); checkGoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList( o.keyValues!); - checkUnnamed106(o.protoStruct!); + checkUnnamed108(o.protoStruct!); } buildCounterGoogleCloudAiplatformV1FetchFeatureValuesResponse--; } @@ -8017,12 +8212,12 @@ void checkGoogleCloudAiplatformV1FetchFeatureValuesResponse( core.List< api .GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair> - buildUnnamed107() => [ + buildUnnamed109() => [ buildGoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair(), buildGoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair(), ]; -void checkUnnamed107( +void checkUnnamed109( core.List< api .GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairListFeatureNameValuePair> @@ -8044,7 +8239,7 @@ api.GoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList buildCounterGoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList++; if (buildCounterGoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList < 3) { - o.features = buildUnnamed107(); + o.features = buildUnnamed109(); } buildCounterGoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList--; return o; @@ -8056,7 +8251,7 @@ void checkGoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairL buildCounterGoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList++; if (buildCounterGoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList < 3) { - checkUnnamed107(o.features!); + checkUnnamed109(o.features!); } buildCounterGoogleCloudAiplatformV1FetchFeatureValuesResponseFeatureNameValuePairList--; } @@ -8156,12 +8351,12 @@ void checkGoogleCloudAiplatformV1FilterSplit( } core.List - buildUnnamed108() => [ + buildUnnamed110() => [ buildGoogleCloudAiplatformV1FindNeighborsRequestQuery(), buildGoogleCloudAiplatformV1FindNeighborsRequestQuery(), ]; -void checkUnnamed108( +void checkUnnamed110( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1FindNeighborsRequestQuery(o[0]); @@ -8175,7 +8370,7 @@ api.GoogleCloudAiplatformV1FindNeighborsRequest buildCounterGoogleCloudAiplatformV1FindNeighborsRequest++; if (buildCounterGoogleCloudAiplatformV1FindNeighborsRequest < 3) { o.deployedIndexId = 'foo'; - o.queries = buildUnnamed108(); + o.queries = buildUnnamed110(); o.returnFullDatapoint = true; } buildCounterGoogleCloudAiplatformV1FindNeighborsRequest--; @@ -8190,7 +8385,7 @@ void checkGoogleCloudAiplatformV1FindNeighborsRequest( o.deployedIndexId!, unittest.equals('foo'), ); - checkUnnamed108(o.queries!); + checkUnnamed110(o.queries!); unittest.expect(o.returnFullDatapoint!, unittest.isTrue); } buildCounterGoogleCloudAiplatformV1FindNeighborsRequest--; @@ -8264,12 +8459,12 @@ void checkGoogleCloudAiplatformV1FindNeighborsRequestQueryRRF( } core.List - buildUnnamed109() => [ + buildUnnamed111() => [ buildGoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors(), buildGoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors(), ]; -void checkUnnamed109( +void checkUnnamed111( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -8283,7 +8478,7 @@ api.GoogleCloudAiplatformV1FindNeighborsResponse final o = api.GoogleCloudAiplatformV1FindNeighborsResponse(); buildCounterGoogleCloudAiplatformV1FindNeighborsResponse++; if (buildCounterGoogleCloudAiplatformV1FindNeighborsResponse < 3) { - o.nearestNeighbors = buildUnnamed109(); + o.nearestNeighbors = buildUnnamed111(); } buildCounterGoogleCloudAiplatformV1FindNeighborsResponse--; return o; @@ -8293,18 +8488,18 @@ void checkGoogleCloudAiplatformV1FindNeighborsResponse( api.GoogleCloudAiplatformV1FindNeighborsResponse o) { buildCounterGoogleCloudAiplatformV1FindNeighborsResponse++; if (buildCounterGoogleCloudAiplatformV1FindNeighborsResponse < 3) { - checkUnnamed109(o.nearestNeighbors!); + checkUnnamed111(o.nearestNeighbors!); } buildCounterGoogleCloudAiplatformV1FindNeighborsResponse--; } core.List - buildUnnamed110() => [ + buildUnnamed112() => [ buildGoogleCloudAiplatformV1FindNeighborsResponseNeighbor(), buildGoogleCloudAiplatformV1FindNeighborsResponseNeighbor(), ]; -void checkUnnamed110( +void checkUnnamed112( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1FindNeighborsResponseNeighbor(o[0]); @@ -8321,7 +8516,7 @@ api.GoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors if (buildCounterGoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors < 3) { o.id = 'foo'; - o.neighbors = buildUnnamed110(); + o.neighbors = buildUnnamed112(); } buildCounterGoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors--; return o; @@ -8336,7 +8531,7 @@ void checkGoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors( o.id!, unittest.equals('foo'), ); - checkUnnamed110(o.neighbors!); + checkUnnamed112(o.neighbors!); } buildCounterGoogleCloudAiplatformV1FindNeighborsResponseNearestNeighbors--; } @@ -8406,7 +8601,7 @@ void checkGoogleCloudAiplatformV1FractionSplit( buildCounterGoogleCloudAiplatformV1FractionSplit--; } -core.Map buildUnnamed111() => { +core.Map buildUnnamed113() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -8419,7 +8614,7 @@ core.Map buildUnnamed111() => { }, }; -void checkUnnamed111(core.Map o) { +void checkUnnamed113(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted42 = (o['x']!) as core.Map; unittest.expect(casted42, unittest.hasLength(3)); @@ -8457,7 +8652,7 @@ api.GoogleCloudAiplatformV1FunctionCall final o = api.GoogleCloudAiplatformV1FunctionCall(); buildCounterGoogleCloudAiplatformV1FunctionCall++; if (buildCounterGoogleCloudAiplatformV1FunctionCall < 3) { - o.args = buildUnnamed111(); + o.args = buildUnnamed113(); o.name = 'foo'; } buildCounterGoogleCloudAiplatformV1FunctionCall--; @@ -8468,7 +8663,7 @@ void checkGoogleCloudAiplatformV1FunctionCall( api.GoogleCloudAiplatformV1FunctionCall o) { buildCounterGoogleCloudAiplatformV1FunctionCall++; if (buildCounterGoogleCloudAiplatformV1FunctionCall < 3) { - checkUnnamed111(o.args!); + checkUnnamed113(o.args!); unittest.expect( o.name!, unittest.equals('foo'), @@ -8477,6 +8672,49 @@ void checkGoogleCloudAiplatformV1FunctionCall( buildCounterGoogleCloudAiplatformV1FunctionCall--; } +core.List buildUnnamed114() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed114(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudAiplatformV1FunctionCallingConfig = 0; +api.GoogleCloudAiplatformV1FunctionCallingConfig + buildGoogleCloudAiplatformV1FunctionCallingConfig() { + final o = api.GoogleCloudAiplatformV1FunctionCallingConfig(); + buildCounterGoogleCloudAiplatformV1FunctionCallingConfig++; + if (buildCounterGoogleCloudAiplatformV1FunctionCallingConfig < 3) { + o.allowedFunctionNames = buildUnnamed114(); + o.mode = 'foo'; + } + buildCounterGoogleCloudAiplatformV1FunctionCallingConfig--; + return o; +} + +void checkGoogleCloudAiplatformV1FunctionCallingConfig( + api.GoogleCloudAiplatformV1FunctionCallingConfig o) { + buildCounterGoogleCloudAiplatformV1FunctionCallingConfig++; + if (buildCounterGoogleCloudAiplatformV1FunctionCallingConfig < 3) { + checkUnnamed114(o.allowedFunctionNames!); + unittest.expect( + o.mode!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudAiplatformV1FunctionCallingConfig--; +} + core.int buildCounterGoogleCloudAiplatformV1FunctionDeclaration = 0; api.GoogleCloudAiplatformV1FunctionDeclaration buildGoogleCloudAiplatformV1FunctionDeclaration() { @@ -8508,7 +8746,7 @@ void checkGoogleCloudAiplatformV1FunctionDeclaration( buildCounterGoogleCloudAiplatformV1FunctionDeclaration--; } -core.Map buildUnnamed112() => { +core.Map buildUnnamed115() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -8521,7 +8759,7 @@ core.Map buildUnnamed112() => { }, }; -void checkUnnamed112(core.Map o) { +void checkUnnamed115(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted44 = (o['x']!) as core.Map; unittest.expect(casted44, unittest.hasLength(3)); @@ -8560,7 +8798,7 @@ api.GoogleCloudAiplatformV1FunctionResponse buildCounterGoogleCloudAiplatformV1FunctionResponse++; if (buildCounterGoogleCloudAiplatformV1FunctionResponse < 3) { o.name = 'foo'; - o.response = buildUnnamed112(); + o.response = buildUnnamed115(); } buildCounterGoogleCloudAiplatformV1FunctionResponse--; return o; @@ -8574,7 +8812,7 @@ void checkGoogleCloudAiplatformV1FunctionResponse( o.name!, unittest.equals('foo'), ); - checkUnnamed112(o.response!); + checkUnnamed115(o.response!); } buildCounterGoogleCloudAiplatformV1FunctionResponse--; } @@ -8603,12 +8841,12 @@ void checkGoogleCloudAiplatformV1GcsDestination( buildCounterGoogleCloudAiplatformV1GcsDestination--; } -core.List buildUnnamed113() => [ +core.List buildUnnamed116() => [ 'foo', 'foo', ]; -void checkUnnamed113(core.List o) { +void checkUnnamed116(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8625,7 +8863,7 @@ api.GoogleCloudAiplatformV1GcsSource buildGoogleCloudAiplatformV1GcsSource() { final o = api.GoogleCloudAiplatformV1GcsSource(); buildCounterGoogleCloudAiplatformV1GcsSource++; if (buildCounterGoogleCloudAiplatformV1GcsSource < 3) { - o.uris = buildUnnamed113(); + o.uris = buildUnnamed116(); } buildCounterGoogleCloudAiplatformV1GcsSource--; return o; @@ -8635,39 +8873,39 @@ void checkGoogleCloudAiplatformV1GcsSource( api.GoogleCloudAiplatformV1GcsSource o) { buildCounterGoogleCloudAiplatformV1GcsSource++; if (buildCounterGoogleCloudAiplatformV1GcsSource < 3) { - checkUnnamed113(o.uris!); + checkUnnamed116(o.uris!); } buildCounterGoogleCloudAiplatformV1GcsSource--; } -core.List buildUnnamed114() => [ +core.List buildUnnamed117() => [ buildGoogleCloudAiplatformV1Content(), buildGoogleCloudAiplatformV1Content(), ]; -void checkUnnamed114(core.List o) { +void checkUnnamed117(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Content(o[0]); checkGoogleCloudAiplatformV1Content(o[1]); } -core.List buildUnnamed115() => [ +core.List buildUnnamed118() => [ buildGoogleCloudAiplatformV1SafetySetting(), buildGoogleCloudAiplatformV1SafetySetting(), ]; -void checkUnnamed115(core.List o) { +void checkUnnamed118(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1SafetySetting(o[0]); checkGoogleCloudAiplatformV1SafetySetting(o[1]); } -core.List buildUnnamed116() => [ +core.List buildUnnamed119() => [ buildGoogleCloudAiplatformV1Tool(), buildGoogleCloudAiplatformV1Tool(), ]; -void checkUnnamed116(core.List o) { +void checkUnnamed119(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Tool(o[0]); checkGoogleCloudAiplatformV1Tool(o[1]); @@ -8679,11 +8917,12 @@ api.GoogleCloudAiplatformV1GenerateContentRequest final o = api.GoogleCloudAiplatformV1GenerateContentRequest(); buildCounterGoogleCloudAiplatformV1GenerateContentRequest++; if (buildCounterGoogleCloudAiplatformV1GenerateContentRequest < 3) { - o.contents = buildUnnamed114(); + o.contents = buildUnnamed117(); o.generationConfig = buildGoogleCloudAiplatformV1GenerationConfig(); - o.safetySettings = buildUnnamed115(); + o.safetySettings = buildUnnamed118(); o.systemInstruction = buildGoogleCloudAiplatformV1Content(); - o.tools = buildUnnamed116(); + o.toolConfig = buildGoogleCloudAiplatformV1ToolConfig(); + o.tools = buildUnnamed119(); } buildCounterGoogleCloudAiplatformV1GenerateContentRequest--; return o; @@ -8693,21 +8932,22 @@ void checkGoogleCloudAiplatformV1GenerateContentRequest( api.GoogleCloudAiplatformV1GenerateContentRequest o) { buildCounterGoogleCloudAiplatformV1GenerateContentRequest++; if (buildCounterGoogleCloudAiplatformV1GenerateContentRequest < 3) { - checkUnnamed114(o.contents!); + checkUnnamed117(o.contents!); checkGoogleCloudAiplatformV1GenerationConfig(o.generationConfig!); - checkUnnamed115(o.safetySettings!); + checkUnnamed118(o.safetySettings!); checkGoogleCloudAiplatformV1Content(o.systemInstruction!); - checkUnnamed116(o.tools!); + checkGoogleCloudAiplatformV1ToolConfig(o.toolConfig!); + checkUnnamed119(o.tools!); } buildCounterGoogleCloudAiplatformV1GenerateContentRequest--; } -core.List buildUnnamed117() => [ +core.List buildUnnamed120() => [ buildGoogleCloudAiplatformV1Candidate(), buildGoogleCloudAiplatformV1Candidate(), ]; -void checkUnnamed117(core.List o) { +void checkUnnamed120(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Candidate(o[0]); checkGoogleCloudAiplatformV1Candidate(o[1]); @@ -8719,7 +8959,7 @@ api.GoogleCloudAiplatformV1GenerateContentResponse final o = api.GoogleCloudAiplatformV1GenerateContentResponse(); buildCounterGoogleCloudAiplatformV1GenerateContentResponse++; if (buildCounterGoogleCloudAiplatformV1GenerateContentResponse < 3) { - o.candidates = buildUnnamed117(); + o.candidates = buildUnnamed120(); o.promptFeedback = buildGoogleCloudAiplatformV1GenerateContentResponsePromptFeedback(); o.usageMetadata = @@ -8733,7 +8973,7 @@ void checkGoogleCloudAiplatformV1GenerateContentResponse( api.GoogleCloudAiplatformV1GenerateContentResponse o) { buildCounterGoogleCloudAiplatformV1GenerateContentResponse++; if (buildCounterGoogleCloudAiplatformV1GenerateContentResponse < 3) { - checkUnnamed117(o.candidates!); + checkUnnamed120(o.candidates!); checkGoogleCloudAiplatformV1GenerateContentResponsePromptFeedback( o.promptFeedback!); checkGoogleCloudAiplatformV1GenerateContentResponseUsageMetadata( @@ -8742,12 +8982,12 @@ void checkGoogleCloudAiplatformV1GenerateContentResponse( buildCounterGoogleCloudAiplatformV1GenerateContentResponse--; } -core.List buildUnnamed118() => [ +core.List buildUnnamed121() => [ buildGoogleCloudAiplatformV1SafetyRating(), buildGoogleCloudAiplatformV1SafetyRating(), ]; -void checkUnnamed118(core.List o) { +void checkUnnamed121(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1SafetyRating(o[0]); checkGoogleCloudAiplatformV1SafetyRating(o[1]); @@ -8764,7 +9004,7 @@ api.GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback 3) { o.blockReason = 'foo'; o.blockReasonMessage = 'foo'; - o.safetyRatings = buildUnnamed118(); + o.safetyRatings = buildUnnamed121(); } buildCounterGoogleCloudAiplatformV1GenerateContentResponsePromptFeedback--; return o; @@ -8783,7 +9023,7 @@ void checkGoogleCloudAiplatformV1GenerateContentResponsePromptFeedback( o.blockReasonMessage!, unittest.equals('foo'), ); - checkUnnamed118(o.safetyRatings!); + checkUnnamed121(o.safetyRatings!); } buildCounterGoogleCloudAiplatformV1GenerateContentResponsePromptFeedback--; } @@ -8825,12 +9065,12 @@ void checkGoogleCloudAiplatformV1GenerateContentResponseUsageMetadata( buildCounterGoogleCloudAiplatformV1GenerateContentResponseUsageMetadata--; } -core.List buildUnnamed119() => [ +core.List buildUnnamed122() => [ 'foo', 'foo', ]; -void checkUnnamed119(core.List o) { +void checkUnnamed122(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8853,7 +9093,8 @@ api.GoogleCloudAiplatformV1GenerationConfig o.maxOutputTokens = 42; o.presencePenalty = 42.0; o.responseMimeType = 'foo'; - o.stopSequences = buildUnnamed119(); + o.responseSchema = buildGoogleCloudAiplatformV1Schema(); + o.stopSequences = buildUnnamed122(); o.temperature = 42.0; o.topK = 42.0; o.topP = 42.0; @@ -8886,7 +9127,8 @@ void checkGoogleCloudAiplatformV1GenerationConfig( o.responseMimeType!, unittest.equals('foo'), ); - checkUnnamed119(o.stopSequences!); + checkGoogleCloudAiplatformV1Schema(o.responseSchema!); + checkUnnamed122(o.stopSequences!); unittest.expect( o.temperature!, unittest.equals(42.0), @@ -8944,12 +9186,12 @@ void checkGoogleCloudAiplatformV1GoogleSearchRetrieval( buildCounterGoogleCloudAiplatformV1GoogleSearchRetrieval--; } -core.List buildUnnamed120() => [ +core.List buildUnnamed123() => [ 'foo', 'foo', ]; -void checkUnnamed120(core.List o) { +void checkUnnamed123(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8968,7 +9210,7 @@ api.GoogleCloudAiplatformV1GroundingMetadata buildCounterGoogleCloudAiplatformV1GroundingMetadata++; if (buildCounterGoogleCloudAiplatformV1GroundingMetadata < 3) { o.searchEntryPoint = buildGoogleCloudAiplatformV1SearchEntryPoint(); - o.webSearchQueries = buildUnnamed120(); + o.webSearchQueries = buildUnnamed123(); } buildCounterGoogleCloudAiplatformV1GroundingMetadata--; return o; @@ -8979,17 +9221,17 @@ void checkGoogleCloudAiplatformV1GroundingMetadata( buildCounterGoogleCloudAiplatformV1GroundingMetadata++; if (buildCounterGoogleCloudAiplatformV1GroundingMetadata < 3) { checkGoogleCloudAiplatformV1SearchEntryPoint(o.searchEntryPoint!); - checkUnnamed120(o.webSearchQueries!); + checkUnnamed123(o.webSearchQueries!); } buildCounterGoogleCloudAiplatformV1GroundingMetadata--; } -core.Map buildUnnamed121() => { +core.Map buildUnnamed124() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed121(core.Map o) { +void checkUnnamed124(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -9001,12 +9243,12 @@ void checkUnnamed121(core.Map o) { ); } -core.List buildUnnamed122() => [ +core.List buildUnnamed125() => [ buildGoogleCloudAiplatformV1Trial(), buildGoogleCloudAiplatformV1Trial(), ]; -void checkUnnamed122(core.List o) { +void checkUnnamed125(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Trial(o[0]); checkGoogleCloudAiplatformV1Trial(o[1]); @@ -9023,7 +9265,7 @@ api.GoogleCloudAiplatformV1HyperparameterTuningJob o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.endTime = 'foo'; o.error = buildGoogleRpcStatus(); - o.labels = buildUnnamed121(); + o.labels = buildUnnamed124(); o.maxFailedTrialCount = 42; o.maxTrialCount = 42; o.name = 'foo'; @@ -9032,7 +9274,7 @@ api.GoogleCloudAiplatformV1HyperparameterTuningJob o.state = 'foo'; o.studySpec = buildGoogleCloudAiplatformV1StudySpec(); o.trialJobSpec = buildGoogleCloudAiplatformV1CustomJobSpec(); - o.trials = buildUnnamed122(); + o.trials = buildUnnamed125(); o.updateTime = 'foo'; } buildCounterGoogleCloudAiplatformV1HyperparameterTuningJob--; @@ -9057,7 +9299,7 @@ void checkGoogleCloudAiplatformV1HyperparameterTuningJob( unittest.equals('foo'), ); checkGoogleRpcStatus(o.error!); - checkUnnamed121(o.labels!); + checkUnnamed124(o.labels!); unittest.expect( o.maxFailedTrialCount!, unittest.equals(42), @@ -9084,7 +9326,7 @@ void checkGoogleCloudAiplatformV1HyperparameterTuningJob( ); checkGoogleCloudAiplatformV1StudySpec(o.studySpec!); checkGoogleCloudAiplatformV1CustomJobSpec(o.trialJobSpec!); - checkUnnamed122(o.trials!); + checkUnnamed125(o.trials!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -9093,12 +9335,12 @@ void checkGoogleCloudAiplatformV1HyperparameterTuningJob( buildCounterGoogleCloudAiplatformV1HyperparameterTuningJob--; } -core.List buildUnnamed123() => [ +core.List buildUnnamed126() => [ 'foo', 'foo', ]; -void checkUnnamed123(core.List o) { +void checkUnnamed126(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9115,7 +9357,7 @@ api.GoogleCloudAiplatformV1IdMatcher buildGoogleCloudAiplatformV1IdMatcher() { final o = api.GoogleCloudAiplatformV1IdMatcher(); buildCounterGoogleCloudAiplatformV1IdMatcher++; if (buildCounterGoogleCloudAiplatformV1IdMatcher < 3) { - o.ids = buildUnnamed123(); + o.ids = buildUnnamed126(); } buildCounterGoogleCloudAiplatformV1IdMatcher--; return o; @@ -9125,17 +9367,17 @@ void checkGoogleCloudAiplatformV1IdMatcher( api.GoogleCloudAiplatformV1IdMatcher o) { buildCounterGoogleCloudAiplatformV1IdMatcher++; if (buildCounterGoogleCloudAiplatformV1IdMatcher < 3) { - checkUnnamed123(o.ids!); + checkUnnamed126(o.ids!); } buildCounterGoogleCloudAiplatformV1IdMatcher--; } -core.Map buildUnnamed124() => { +core.Map buildUnnamed127() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed124(core.Map o) { +void checkUnnamed127(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -9147,12 +9389,12 @@ void checkUnnamed124(core.Map o) { ); } -core.Map buildUnnamed125() => { +core.Map buildUnnamed128() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed125(core.Map o) { +void checkUnnamed128(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -9170,8 +9412,8 @@ api.GoogleCloudAiplatformV1ImportDataConfig final o = api.GoogleCloudAiplatformV1ImportDataConfig(); buildCounterGoogleCloudAiplatformV1ImportDataConfig++; if (buildCounterGoogleCloudAiplatformV1ImportDataConfig < 3) { - o.annotationLabels = buildUnnamed124(); - o.dataItemLabels = buildUnnamed125(); + o.annotationLabels = buildUnnamed127(); + o.dataItemLabels = buildUnnamed128(); o.gcsSource = buildGoogleCloudAiplatformV1GcsSource(); o.importSchemaUri = 'foo'; } @@ -9183,8 +9425,8 @@ void checkGoogleCloudAiplatformV1ImportDataConfig( api.GoogleCloudAiplatformV1ImportDataConfig o) { buildCounterGoogleCloudAiplatformV1ImportDataConfig++; if (buildCounterGoogleCloudAiplatformV1ImportDataConfig < 3) { - checkUnnamed124(o.annotationLabels!); - checkUnnamed125(o.dataItemLabels!); + checkUnnamed127(o.annotationLabels!); + checkUnnamed128(o.dataItemLabels!); checkGoogleCloudAiplatformV1GcsSource(o.gcsSource!); unittest.expect( o.importSchemaUri!, @@ -9194,12 +9436,12 @@ void checkGoogleCloudAiplatformV1ImportDataConfig( buildCounterGoogleCloudAiplatformV1ImportDataConfig--; } -core.List buildUnnamed126() => [ +core.List buildUnnamed129() => [ buildGoogleCloudAiplatformV1ImportDataConfig(), buildGoogleCloudAiplatformV1ImportDataConfig(), ]; -void checkUnnamed126(core.List o) { +void checkUnnamed129(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ImportDataConfig(o[0]); checkGoogleCloudAiplatformV1ImportDataConfig(o[1]); @@ -9211,7 +9453,7 @@ api.GoogleCloudAiplatformV1ImportDataRequest final o = api.GoogleCloudAiplatformV1ImportDataRequest(); buildCounterGoogleCloudAiplatformV1ImportDataRequest++; if (buildCounterGoogleCloudAiplatformV1ImportDataRequest < 3) { - o.importConfigs = buildUnnamed126(); + o.importConfigs = buildUnnamed129(); } buildCounterGoogleCloudAiplatformV1ImportDataRequest--; return o; @@ -9221,18 +9463,18 @@ void checkGoogleCloudAiplatformV1ImportDataRequest( api.GoogleCloudAiplatformV1ImportDataRequest o) { buildCounterGoogleCloudAiplatformV1ImportDataRequest++; if (buildCounterGoogleCloudAiplatformV1ImportDataRequest < 3) { - checkUnnamed126(o.importConfigs!); + checkUnnamed129(o.importConfigs!); } buildCounterGoogleCloudAiplatformV1ImportDataRequest--; } core.List - buildUnnamed127() => [ + buildUnnamed130() => [ buildGoogleCloudAiplatformV1ImportFeatureValuesRequestFeatureSpec(), buildGoogleCloudAiplatformV1ImportFeatureValuesRequestFeatureSpec(), ]; -void checkUnnamed127( +void checkUnnamed130( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -9252,7 +9494,7 @@ api.GoogleCloudAiplatformV1ImportFeatureValuesRequest o.disableIngestionAnalysis = true; o.disableOnlineServing = true; o.entityIdField = 'foo'; - o.featureSpecs = buildUnnamed127(); + o.featureSpecs = buildUnnamed130(); o.featureTime = 'foo'; o.featureTimeField = 'foo'; o.workerCount = 42; @@ -9274,7 +9516,7 @@ void checkGoogleCloudAiplatformV1ImportFeatureValuesRequest( o.entityIdField!, unittest.equals('foo'), ); - checkUnnamed127(o.featureSpecs!); + checkUnnamed130(o.featureSpecs!); unittest.expect( o.featureTime!, unittest.equals('foo'), @@ -9345,23 +9587,23 @@ void checkGoogleCloudAiplatformV1ImportModelEvaluationRequest( buildCounterGoogleCloudAiplatformV1ImportModelEvaluationRequest--; } -core.List buildUnnamed128() => [ +core.List buildUnnamed131() => [ buildGoogleCloudAiplatformV1DeployedIndexRef(), buildGoogleCloudAiplatformV1DeployedIndexRef(), ]; -void checkUnnamed128(core.List o) { +void checkUnnamed131(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DeployedIndexRef(o[0]); checkGoogleCloudAiplatformV1DeployedIndexRef(o[1]); } -core.Map buildUnnamed129() => { +core.Map buildUnnamed132() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed129(core.Map o) { +void checkUnnamed132(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -9379,14 +9621,14 @@ api.GoogleCloudAiplatformV1Index buildGoogleCloudAiplatformV1Index() { buildCounterGoogleCloudAiplatformV1Index++; if (buildCounterGoogleCloudAiplatformV1Index < 3) { o.createTime = 'foo'; - o.deployedIndexes = buildUnnamed128(); + o.deployedIndexes = buildUnnamed131(); o.description = 'foo'; o.displayName = 'foo'; o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.etag = 'foo'; o.indexStats = buildGoogleCloudAiplatformV1IndexStats(); o.indexUpdateMethod = 'foo'; - o.labels = buildUnnamed129(); + o.labels = buildUnnamed132(); o.metadata = { 'list': [1, 2, 3], 'bool': true, @@ -9407,7 +9649,7 @@ void checkGoogleCloudAiplatformV1Index(api.GoogleCloudAiplatformV1Index o) { o.createTime!, unittest.equals('foo'), ); - checkUnnamed128(o.deployedIndexes!); + checkUnnamed131(o.deployedIndexes!); unittest.expect( o.description!, unittest.equals('foo'), @@ -9426,7 +9668,7 @@ void checkGoogleCloudAiplatformV1Index(api.GoogleCloudAiplatformV1Index o) { o.indexUpdateMethod!, unittest.equals('foo'), ); - checkUnnamed129(o.labels!); + checkUnnamed132(o.labels!); var casted46 = (o.metadata!) as core.Map; unittest.expect(casted46, unittest.hasLength(3)); unittest.expect( @@ -9457,12 +9699,12 @@ void checkGoogleCloudAiplatformV1Index(api.GoogleCloudAiplatformV1Index o) { buildCounterGoogleCloudAiplatformV1Index--; } -core.List buildUnnamed130() => [ +core.List buildUnnamed133() => [ 42.0, 42.0, ]; -void checkUnnamed130(core.List o) { +void checkUnnamed133(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9475,12 +9717,12 @@ void checkUnnamed130(core.List o) { } core.List - buildUnnamed131() => [ + buildUnnamed134() => [ buildGoogleCloudAiplatformV1IndexDatapointNumericRestriction(), buildGoogleCloudAiplatformV1IndexDatapointNumericRestriction(), ]; -void checkUnnamed131( +void checkUnnamed134( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1IndexDatapointNumericRestriction(o[0]); @@ -9488,12 +9730,12 @@ void checkUnnamed131( } core.List - buildUnnamed132() => [ + buildUnnamed135() => [ buildGoogleCloudAiplatformV1IndexDatapointRestriction(), buildGoogleCloudAiplatformV1IndexDatapointRestriction(), ]; -void checkUnnamed132( +void checkUnnamed135( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1IndexDatapointRestriction(o[0]); @@ -9508,9 +9750,9 @@ api.GoogleCloudAiplatformV1IndexDatapoint if (buildCounterGoogleCloudAiplatformV1IndexDatapoint < 3) { o.crowdingTag = buildGoogleCloudAiplatformV1IndexDatapointCrowdingTag(); o.datapointId = 'foo'; - o.featureVector = buildUnnamed130(); - o.numericRestricts = buildUnnamed131(); - o.restricts = buildUnnamed132(); + o.featureVector = buildUnnamed133(); + o.numericRestricts = buildUnnamed134(); + o.restricts = buildUnnamed135(); o.sparseEmbedding = buildGoogleCloudAiplatformV1IndexDatapointSparseEmbedding(); } @@ -9527,9 +9769,9 @@ void checkGoogleCloudAiplatformV1IndexDatapoint( o.datapointId!, unittest.equals('foo'), ); - checkUnnamed130(o.featureVector!); - checkUnnamed131(o.numericRestricts!); - checkUnnamed132(o.restricts!); + checkUnnamed133(o.featureVector!); + checkUnnamed134(o.numericRestricts!); + checkUnnamed135(o.restricts!); checkGoogleCloudAiplatformV1IndexDatapointSparseEmbedding( o.sparseEmbedding!); } @@ -9605,12 +9847,12 @@ void checkGoogleCloudAiplatformV1IndexDatapointNumericRestriction( buildCounterGoogleCloudAiplatformV1IndexDatapointNumericRestriction--; } -core.List buildUnnamed133() => [ +core.List buildUnnamed136() => [ 'foo', 'foo', ]; -void checkUnnamed133(core.List o) { +void checkUnnamed136(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9622,12 +9864,12 @@ void checkUnnamed133(core.List o) { ); } -core.List buildUnnamed134() => [ +core.List buildUnnamed137() => [ 'foo', 'foo', ]; -void checkUnnamed134(core.List o) { +void checkUnnamed137(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9645,8 +9887,8 @@ api.GoogleCloudAiplatformV1IndexDatapointRestriction final o = api.GoogleCloudAiplatformV1IndexDatapointRestriction(); buildCounterGoogleCloudAiplatformV1IndexDatapointRestriction++; if (buildCounterGoogleCloudAiplatformV1IndexDatapointRestriction < 3) { - o.allowList = buildUnnamed133(); - o.denyList = buildUnnamed134(); + o.allowList = buildUnnamed136(); + o.denyList = buildUnnamed137(); o.namespace = 'foo'; } buildCounterGoogleCloudAiplatformV1IndexDatapointRestriction--; @@ -9657,8 +9899,8 @@ void checkGoogleCloudAiplatformV1IndexDatapointRestriction( api.GoogleCloudAiplatformV1IndexDatapointRestriction o) { buildCounterGoogleCloudAiplatformV1IndexDatapointRestriction++; if (buildCounterGoogleCloudAiplatformV1IndexDatapointRestriction < 3) { - checkUnnamed133(o.allowList!); - checkUnnamed134(o.denyList!); + checkUnnamed136(o.allowList!); + checkUnnamed137(o.denyList!); unittest.expect( o.namespace!, unittest.equals('foo'), @@ -9667,12 +9909,12 @@ void checkGoogleCloudAiplatformV1IndexDatapointRestriction( buildCounterGoogleCloudAiplatformV1IndexDatapointRestriction--; } -core.List buildUnnamed135() => [ +core.List buildUnnamed138() => [ 'foo', 'foo', ]; -void checkUnnamed135(core.List o) { +void checkUnnamed138(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9684,12 +9926,12 @@ void checkUnnamed135(core.List o) { ); } -core.List buildUnnamed136() => [ +core.List buildUnnamed139() => [ 42.0, 42.0, ]; -void checkUnnamed136(core.List o) { +void checkUnnamed139(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9707,8 +9949,8 @@ api.GoogleCloudAiplatformV1IndexDatapointSparseEmbedding final o = api.GoogleCloudAiplatformV1IndexDatapointSparseEmbedding(); buildCounterGoogleCloudAiplatformV1IndexDatapointSparseEmbedding++; if (buildCounterGoogleCloudAiplatformV1IndexDatapointSparseEmbedding < 3) { - o.dimensions = buildUnnamed135(); - o.values = buildUnnamed136(); + o.dimensions = buildUnnamed138(); + o.values = buildUnnamed139(); } buildCounterGoogleCloudAiplatformV1IndexDatapointSparseEmbedding--; return o; @@ -9718,29 +9960,29 @@ void checkGoogleCloudAiplatformV1IndexDatapointSparseEmbedding( api.GoogleCloudAiplatformV1IndexDatapointSparseEmbedding o) { buildCounterGoogleCloudAiplatformV1IndexDatapointSparseEmbedding++; if (buildCounterGoogleCloudAiplatformV1IndexDatapointSparseEmbedding < 3) { - checkUnnamed135(o.dimensions!); - checkUnnamed136(o.values!); + checkUnnamed138(o.dimensions!); + checkUnnamed139(o.values!); } buildCounterGoogleCloudAiplatformV1IndexDatapointSparseEmbedding--; } -core.List buildUnnamed137() => [ +core.List buildUnnamed140() => [ buildGoogleCloudAiplatformV1DeployedIndex(), buildGoogleCloudAiplatformV1DeployedIndex(), ]; -void checkUnnamed137(core.List o) { +void checkUnnamed140(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DeployedIndex(o[0]); checkGoogleCloudAiplatformV1DeployedIndex(o[1]); } -core.Map buildUnnamed138() => { +core.Map buildUnnamed141() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed138(core.Map o) { +void checkUnnamed141(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -9759,13 +10001,13 @@ api.GoogleCloudAiplatformV1IndexEndpoint buildCounterGoogleCloudAiplatformV1IndexEndpoint++; if (buildCounterGoogleCloudAiplatformV1IndexEndpoint < 3) { o.createTime = 'foo'; - o.deployedIndexes = buildUnnamed137(); + o.deployedIndexes = buildUnnamed140(); o.description = 'foo'; o.displayName = 'foo'; o.enablePrivateServiceConnect = true; o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.etag = 'foo'; - o.labels = buildUnnamed138(); + o.labels = buildUnnamed141(); o.name = 'foo'; o.network = 'foo'; o.privateServiceConnectConfig = @@ -9786,7 +10028,7 @@ void checkGoogleCloudAiplatformV1IndexEndpoint( o.createTime!, unittest.equals('foo'), ); - checkUnnamed137(o.deployedIndexes!); + checkUnnamed140(o.deployedIndexes!); unittest.expect( o.description!, unittest.equals('foo'), @@ -9801,7 +10043,7 @@ void checkGoogleCloudAiplatformV1IndexEndpoint( o.etag!, unittest.equals('foo'), ); - checkUnnamed138(o.labels!); + checkUnnamed141(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -9825,13 +10067,13 @@ void checkGoogleCloudAiplatformV1IndexEndpoint( buildCounterGoogleCloudAiplatformV1IndexEndpoint--; } -core.List buildUnnamed139() => +core.List buildUnnamed142() => [ buildGoogleCloudAiplatformV1PscAutomatedEndpoints(), buildGoogleCloudAiplatformV1PscAutomatedEndpoints(), ]; -void checkUnnamed139( +void checkUnnamed142( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1PscAutomatedEndpoints(o[0]); @@ -9845,7 +10087,7 @@ api.GoogleCloudAiplatformV1IndexPrivateEndpoints buildCounterGoogleCloudAiplatformV1IndexPrivateEndpoints++; if (buildCounterGoogleCloudAiplatformV1IndexPrivateEndpoints < 3) { o.matchGrpcAddress = 'foo'; - o.pscAutomatedEndpoints = buildUnnamed139(); + o.pscAutomatedEndpoints = buildUnnamed142(); o.serviceAttachment = 'foo'; } buildCounterGoogleCloudAiplatformV1IndexPrivateEndpoints--; @@ -9860,7 +10102,7 @@ void checkGoogleCloudAiplatformV1IndexPrivateEndpoints( o.matchGrpcAddress!, unittest.equals('foo'), ); - checkUnnamed139(o.pscAutomatedEndpoints!); + checkUnnamed142(o.pscAutomatedEndpoints!); unittest.expect( o.serviceAttachment!, unittest.equals('foo'), @@ -9957,12 +10199,12 @@ void checkGoogleCloudAiplatformV1InputDataConfig( buildCounterGoogleCloudAiplatformV1InputDataConfig--; } -core.List buildUnnamed140() => [ +core.List buildUnnamed143() => [ 'foo', 'foo', ]; -void checkUnnamed140(core.List o) { +void checkUnnamed143(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9979,7 +10221,7 @@ api.GoogleCloudAiplatformV1Int64Array buildGoogleCloudAiplatformV1Int64Array() { final o = api.GoogleCloudAiplatformV1Int64Array(); buildCounterGoogleCloudAiplatformV1Int64Array++; if (buildCounterGoogleCloudAiplatformV1Int64Array < 3) { - o.values = buildUnnamed140(); + o.values = buildUnnamed143(); } buildCounterGoogleCloudAiplatformV1Int64Array--; return o; @@ -9989,7 +10231,7 @@ void checkGoogleCloudAiplatformV1Int64Array( api.GoogleCloudAiplatformV1Int64Array o) { buildCounterGoogleCloudAiplatformV1Int64Array++; if (buildCounterGoogleCloudAiplatformV1Int64Array < 3) { - checkUnnamed140(o.values!); + checkUnnamed143(o.values!); } buildCounterGoogleCloudAiplatformV1Int64Array--; } @@ -10046,34 +10288,34 @@ void checkGoogleCloudAiplatformV1LargeModelReference( buildCounterGoogleCloudAiplatformV1LargeModelReference--; } -core.List buildUnnamed141() => [ +core.List buildUnnamed144() => [ buildGoogleCloudAiplatformV1Artifact(), buildGoogleCloudAiplatformV1Artifact(), ]; -void checkUnnamed141(core.List o) { +void checkUnnamed144(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Artifact(o[0]); checkGoogleCloudAiplatformV1Artifact(o[1]); } -core.List buildUnnamed142() => [ +core.List buildUnnamed145() => [ buildGoogleCloudAiplatformV1Event(), buildGoogleCloudAiplatformV1Event(), ]; -void checkUnnamed142(core.List o) { +void checkUnnamed145(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Event(o[0]); checkGoogleCloudAiplatformV1Event(o[1]); } -core.List buildUnnamed143() => [ +core.List buildUnnamed146() => [ buildGoogleCloudAiplatformV1Execution(), buildGoogleCloudAiplatformV1Execution(), ]; -void checkUnnamed143(core.List o) { +void checkUnnamed146(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Execution(o[0]); checkGoogleCloudAiplatformV1Execution(o[1]); @@ -10085,9 +10327,9 @@ api.GoogleCloudAiplatformV1LineageSubgraph final o = api.GoogleCloudAiplatformV1LineageSubgraph(); buildCounterGoogleCloudAiplatformV1LineageSubgraph++; if (buildCounterGoogleCloudAiplatformV1LineageSubgraph < 3) { - o.artifacts = buildUnnamed141(); - o.events = buildUnnamed142(); - o.executions = buildUnnamed143(); + o.artifacts = buildUnnamed144(); + o.events = buildUnnamed145(); + o.executions = buildUnnamed146(); } buildCounterGoogleCloudAiplatformV1LineageSubgraph--; return o; @@ -10097,19 +10339,19 @@ void checkGoogleCloudAiplatformV1LineageSubgraph( api.GoogleCloudAiplatformV1LineageSubgraph o) { buildCounterGoogleCloudAiplatformV1LineageSubgraph++; if (buildCounterGoogleCloudAiplatformV1LineageSubgraph < 3) { - checkUnnamed141(o.artifacts!); - checkUnnamed142(o.events!); - checkUnnamed143(o.executions!); + checkUnnamed144(o.artifacts!); + checkUnnamed145(o.events!); + checkUnnamed146(o.executions!); } buildCounterGoogleCloudAiplatformV1LineageSubgraph--; } -core.List buildUnnamed144() => [ +core.List buildUnnamed147() => [ buildGoogleCloudAiplatformV1Annotation(), buildGoogleCloudAiplatformV1Annotation(), ]; -void checkUnnamed144(core.List o) { +void checkUnnamed147(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Annotation(o[0]); checkGoogleCloudAiplatformV1Annotation(o[1]); @@ -10121,7 +10363,7 @@ api.GoogleCloudAiplatformV1ListAnnotationsResponse final o = api.GoogleCloudAiplatformV1ListAnnotationsResponse(); buildCounterGoogleCloudAiplatformV1ListAnnotationsResponse++; if (buildCounterGoogleCloudAiplatformV1ListAnnotationsResponse < 3) { - o.annotations = buildUnnamed144(); + o.annotations = buildUnnamed147(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListAnnotationsResponse--; @@ -10132,7 +10374,7 @@ void checkGoogleCloudAiplatformV1ListAnnotationsResponse( api.GoogleCloudAiplatformV1ListAnnotationsResponse o) { buildCounterGoogleCloudAiplatformV1ListAnnotationsResponse++; if (buildCounterGoogleCloudAiplatformV1ListAnnotationsResponse < 3) { - checkUnnamed144(o.annotations!); + checkUnnamed147(o.annotations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10141,12 +10383,12 @@ void checkGoogleCloudAiplatformV1ListAnnotationsResponse( buildCounterGoogleCloudAiplatformV1ListAnnotationsResponse--; } -core.List buildUnnamed145() => [ +core.List buildUnnamed148() => [ buildGoogleCloudAiplatformV1Artifact(), buildGoogleCloudAiplatformV1Artifact(), ]; -void checkUnnamed145(core.List o) { +void checkUnnamed148(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Artifact(o[0]); checkGoogleCloudAiplatformV1Artifact(o[1]); @@ -10158,7 +10400,7 @@ api.GoogleCloudAiplatformV1ListArtifactsResponse final o = api.GoogleCloudAiplatformV1ListArtifactsResponse(); buildCounterGoogleCloudAiplatformV1ListArtifactsResponse++; if (buildCounterGoogleCloudAiplatformV1ListArtifactsResponse < 3) { - o.artifacts = buildUnnamed145(); + o.artifacts = buildUnnamed148(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListArtifactsResponse--; @@ -10169,7 +10411,7 @@ void checkGoogleCloudAiplatformV1ListArtifactsResponse( api.GoogleCloudAiplatformV1ListArtifactsResponse o) { buildCounterGoogleCloudAiplatformV1ListArtifactsResponse++; if (buildCounterGoogleCloudAiplatformV1ListArtifactsResponse < 3) { - checkUnnamed145(o.artifacts!); + checkUnnamed148(o.artifacts!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10178,12 +10420,12 @@ void checkGoogleCloudAiplatformV1ListArtifactsResponse( buildCounterGoogleCloudAiplatformV1ListArtifactsResponse--; } -core.List buildUnnamed146() => [ +core.List buildUnnamed149() => [ buildGoogleCloudAiplatformV1BatchPredictionJob(), buildGoogleCloudAiplatformV1BatchPredictionJob(), ]; -void checkUnnamed146( +void checkUnnamed149( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1BatchPredictionJob(o[0]); @@ -10196,7 +10438,7 @@ api.GoogleCloudAiplatformV1ListBatchPredictionJobsResponse final o = api.GoogleCloudAiplatformV1ListBatchPredictionJobsResponse(); buildCounterGoogleCloudAiplatformV1ListBatchPredictionJobsResponse++; if (buildCounterGoogleCloudAiplatformV1ListBatchPredictionJobsResponse < 3) { - o.batchPredictionJobs = buildUnnamed146(); + o.batchPredictionJobs = buildUnnamed149(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListBatchPredictionJobsResponse--; @@ -10207,7 +10449,7 @@ void checkGoogleCloudAiplatformV1ListBatchPredictionJobsResponse( api.GoogleCloudAiplatformV1ListBatchPredictionJobsResponse o) { buildCounterGoogleCloudAiplatformV1ListBatchPredictionJobsResponse++; if (buildCounterGoogleCloudAiplatformV1ListBatchPredictionJobsResponse < 3) { - checkUnnamed146(o.batchPredictionJobs!); + checkUnnamed149(o.batchPredictionJobs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10216,12 +10458,12 @@ void checkGoogleCloudAiplatformV1ListBatchPredictionJobsResponse( buildCounterGoogleCloudAiplatformV1ListBatchPredictionJobsResponse--; } -core.List buildUnnamed147() => [ +core.List buildUnnamed150() => [ buildGoogleCloudAiplatformV1Context(), buildGoogleCloudAiplatformV1Context(), ]; -void checkUnnamed147(core.List o) { +void checkUnnamed150(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Context(o[0]); checkGoogleCloudAiplatformV1Context(o[1]); @@ -10233,7 +10475,7 @@ api.GoogleCloudAiplatformV1ListContextsResponse final o = api.GoogleCloudAiplatformV1ListContextsResponse(); buildCounterGoogleCloudAiplatformV1ListContextsResponse++; if (buildCounterGoogleCloudAiplatformV1ListContextsResponse < 3) { - o.contexts = buildUnnamed147(); + o.contexts = buildUnnamed150(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListContextsResponse--; @@ -10244,7 +10486,7 @@ void checkGoogleCloudAiplatformV1ListContextsResponse( api.GoogleCloudAiplatformV1ListContextsResponse o) { buildCounterGoogleCloudAiplatformV1ListContextsResponse++; if (buildCounterGoogleCloudAiplatformV1ListContextsResponse < 3) { - checkUnnamed147(o.contexts!); + checkUnnamed150(o.contexts!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10253,12 +10495,12 @@ void checkGoogleCloudAiplatformV1ListContextsResponse( buildCounterGoogleCloudAiplatformV1ListContextsResponse--; } -core.List buildUnnamed148() => [ +core.List buildUnnamed151() => [ buildGoogleCloudAiplatformV1CustomJob(), buildGoogleCloudAiplatformV1CustomJob(), ]; -void checkUnnamed148(core.List o) { +void checkUnnamed151(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1CustomJob(o[0]); checkGoogleCloudAiplatformV1CustomJob(o[1]); @@ -10270,7 +10512,7 @@ api.GoogleCloudAiplatformV1ListCustomJobsResponse final o = api.GoogleCloudAiplatformV1ListCustomJobsResponse(); buildCounterGoogleCloudAiplatformV1ListCustomJobsResponse++; if (buildCounterGoogleCloudAiplatformV1ListCustomJobsResponse < 3) { - o.customJobs = buildUnnamed148(); + o.customJobs = buildUnnamed151(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListCustomJobsResponse--; @@ -10281,7 +10523,7 @@ void checkGoogleCloudAiplatformV1ListCustomJobsResponse( api.GoogleCloudAiplatformV1ListCustomJobsResponse o) { buildCounterGoogleCloudAiplatformV1ListCustomJobsResponse++; if (buildCounterGoogleCloudAiplatformV1ListCustomJobsResponse < 3) { - checkUnnamed148(o.customJobs!); + checkUnnamed151(o.customJobs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10290,12 +10532,12 @@ void checkGoogleCloudAiplatformV1ListCustomJobsResponse( buildCounterGoogleCloudAiplatformV1ListCustomJobsResponse--; } -core.List buildUnnamed149() => [ +core.List buildUnnamed152() => [ buildGoogleCloudAiplatformV1DataItem(), buildGoogleCloudAiplatformV1DataItem(), ]; -void checkUnnamed149(core.List o) { +void checkUnnamed152(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DataItem(o[0]); checkGoogleCloudAiplatformV1DataItem(o[1]); @@ -10307,7 +10549,7 @@ api.GoogleCloudAiplatformV1ListDataItemsResponse final o = api.GoogleCloudAiplatformV1ListDataItemsResponse(); buildCounterGoogleCloudAiplatformV1ListDataItemsResponse++; if (buildCounterGoogleCloudAiplatformV1ListDataItemsResponse < 3) { - o.dataItems = buildUnnamed149(); + o.dataItems = buildUnnamed152(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListDataItemsResponse--; @@ -10318,7 +10560,7 @@ void checkGoogleCloudAiplatformV1ListDataItemsResponse( api.GoogleCloudAiplatformV1ListDataItemsResponse o) { buildCounterGoogleCloudAiplatformV1ListDataItemsResponse++; if (buildCounterGoogleCloudAiplatformV1ListDataItemsResponse < 3) { - checkUnnamed149(o.dataItems!); + checkUnnamed152(o.dataItems!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10327,12 +10569,12 @@ void checkGoogleCloudAiplatformV1ListDataItemsResponse( buildCounterGoogleCloudAiplatformV1ListDataItemsResponse--; } -core.List buildUnnamed150() => [ +core.List buildUnnamed153() => [ buildGoogleCloudAiplatformV1DataLabelingJob(), buildGoogleCloudAiplatformV1DataLabelingJob(), ]; -void checkUnnamed150(core.List o) { +void checkUnnamed153(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DataLabelingJob(o[0]); checkGoogleCloudAiplatformV1DataLabelingJob(o[1]); @@ -10344,7 +10586,7 @@ api.GoogleCloudAiplatformV1ListDataLabelingJobsResponse final o = api.GoogleCloudAiplatformV1ListDataLabelingJobsResponse(); buildCounterGoogleCloudAiplatformV1ListDataLabelingJobsResponse++; if (buildCounterGoogleCloudAiplatformV1ListDataLabelingJobsResponse < 3) { - o.dataLabelingJobs = buildUnnamed150(); + o.dataLabelingJobs = buildUnnamed153(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListDataLabelingJobsResponse--; @@ -10355,7 +10597,7 @@ void checkGoogleCloudAiplatformV1ListDataLabelingJobsResponse( api.GoogleCloudAiplatformV1ListDataLabelingJobsResponse o) { buildCounterGoogleCloudAiplatformV1ListDataLabelingJobsResponse++; if (buildCounterGoogleCloudAiplatformV1ListDataLabelingJobsResponse < 3) { - checkUnnamed150(o.dataLabelingJobs!); + checkUnnamed153(o.dataLabelingJobs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10364,12 +10606,12 @@ void checkGoogleCloudAiplatformV1ListDataLabelingJobsResponse( buildCounterGoogleCloudAiplatformV1ListDataLabelingJobsResponse--; } -core.List buildUnnamed151() => [ +core.List buildUnnamed154() => [ buildGoogleCloudAiplatformV1DatasetVersion(), buildGoogleCloudAiplatformV1DatasetVersion(), ]; -void checkUnnamed151(core.List o) { +void checkUnnamed154(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DatasetVersion(o[0]); checkGoogleCloudAiplatformV1DatasetVersion(o[1]); @@ -10381,7 +10623,7 @@ api.GoogleCloudAiplatformV1ListDatasetVersionsResponse final o = api.GoogleCloudAiplatformV1ListDatasetVersionsResponse(); buildCounterGoogleCloudAiplatformV1ListDatasetVersionsResponse++; if (buildCounterGoogleCloudAiplatformV1ListDatasetVersionsResponse < 3) { - o.datasetVersions = buildUnnamed151(); + o.datasetVersions = buildUnnamed154(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListDatasetVersionsResponse--; @@ -10392,7 +10634,7 @@ void checkGoogleCloudAiplatformV1ListDatasetVersionsResponse( api.GoogleCloudAiplatformV1ListDatasetVersionsResponse o) { buildCounterGoogleCloudAiplatformV1ListDatasetVersionsResponse++; if (buildCounterGoogleCloudAiplatformV1ListDatasetVersionsResponse < 3) { - checkUnnamed151(o.datasetVersions!); + checkUnnamed154(o.datasetVersions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10401,12 +10643,12 @@ void checkGoogleCloudAiplatformV1ListDatasetVersionsResponse( buildCounterGoogleCloudAiplatformV1ListDatasetVersionsResponse--; } -core.List buildUnnamed152() => [ +core.List buildUnnamed155() => [ buildGoogleCloudAiplatformV1Dataset(), buildGoogleCloudAiplatformV1Dataset(), ]; -void checkUnnamed152(core.List o) { +void checkUnnamed155(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Dataset(o[0]); checkGoogleCloudAiplatformV1Dataset(o[1]); @@ -10418,7 +10660,7 @@ api.GoogleCloudAiplatformV1ListDatasetsResponse final o = api.GoogleCloudAiplatformV1ListDatasetsResponse(); buildCounterGoogleCloudAiplatformV1ListDatasetsResponse++; if (buildCounterGoogleCloudAiplatformV1ListDatasetsResponse < 3) { - o.datasets = buildUnnamed152(); + o.datasets = buildUnnamed155(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListDatasetsResponse--; @@ -10429,7 +10671,7 @@ void checkGoogleCloudAiplatformV1ListDatasetsResponse( api.GoogleCloudAiplatformV1ListDatasetsResponse o) { buildCounterGoogleCloudAiplatformV1ListDatasetsResponse++; if (buildCounterGoogleCloudAiplatformV1ListDatasetsResponse < 3) { - checkUnnamed152(o.datasets!); + checkUnnamed155(o.datasets!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10439,12 +10681,12 @@ void checkGoogleCloudAiplatformV1ListDatasetsResponse( } core.List - buildUnnamed153() => [ + buildUnnamed156() => [ buildGoogleCloudAiplatformV1DeploymentResourcePool(), buildGoogleCloudAiplatformV1DeploymentResourcePool(), ]; -void checkUnnamed153( +void checkUnnamed156( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DeploymentResourcePool(o[0]); @@ -10459,7 +10701,7 @@ api.GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse buildCounterGoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse++; if (buildCounterGoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse < 3) { - o.deploymentResourcePools = buildUnnamed153(); + o.deploymentResourcePools = buildUnnamed156(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse--; @@ -10471,7 +10713,7 @@ void checkGoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse( buildCounterGoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse++; if (buildCounterGoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse < 3) { - checkUnnamed153(o.deploymentResourcePools!); + checkUnnamed156(o.deploymentResourcePools!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10480,12 +10722,12 @@ void checkGoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse( buildCounterGoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse--; } -core.List buildUnnamed154() => [ +core.List buildUnnamed157() => [ buildGoogleCloudAiplatformV1Endpoint(), buildGoogleCloudAiplatformV1Endpoint(), ]; -void checkUnnamed154(core.List o) { +void checkUnnamed157(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Endpoint(o[0]); checkGoogleCloudAiplatformV1Endpoint(o[1]); @@ -10497,7 +10739,7 @@ api.GoogleCloudAiplatformV1ListEndpointsResponse final o = api.GoogleCloudAiplatformV1ListEndpointsResponse(); buildCounterGoogleCloudAiplatformV1ListEndpointsResponse++; if (buildCounterGoogleCloudAiplatformV1ListEndpointsResponse < 3) { - o.endpoints = buildUnnamed154(); + o.endpoints = buildUnnamed157(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListEndpointsResponse--; @@ -10508,7 +10750,7 @@ void checkGoogleCloudAiplatformV1ListEndpointsResponse( api.GoogleCloudAiplatformV1ListEndpointsResponse o) { buildCounterGoogleCloudAiplatformV1ListEndpointsResponse++; if (buildCounterGoogleCloudAiplatformV1ListEndpointsResponse < 3) { - checkUnnamed154(o.endpoints!); + checkUnnamed157(o.endpoints!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10517,12 +10759,12 @@ void checkGoogleCloudAiplatformV1ListEndpointsResponse( buildCounterGoogleCloudAiplatformV1ListEndpointsResponse--; } -core.List buildUnnamed155() => [ +core.List buildUnnamed158() => [ buildGoogleCloudAiplatformV1EntityType(), buildGoogleCloudAiplatformV1EntityType(), ]; -void checkUnnamed155(core.List o) { +void checkUnnamed158(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1EntityType(o[0]); checkGoogleCloudAiplatformV1EntityType(o[1]); @@ -10534,7 +10776,7 @@ api.GoogleCloudAiplatformV1ListEntityTypesResponse final o = api.GoogleCloudAiplatformV1ListEntityTypesResponse(); buildCounterGoogleCloudAiplatformV1ListEntityTypesResponse++; if (buildCounterGoogleCloudAiplatformV1ListEntityTypesResponse < 3) { - o.entityTypes = buildUnnamed155(); + o.entityTypes = buildUnnamed158(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListEntityTypesResponse--; @@ -10545,7 +10787,7 @@ void checkGoogleCloudAiplatformV1ListEntityTypesResponse( api.GoogleCloudAiplatformV1ListEntityTypesResponse o) { buildCounterGoogleCloudAiplatformV1ListEntityTypesResponse++; if (buildCounterGoogleCloudAiplatformV1ListEntityTypesResponse < 3) { - checkUnnamed155(o.entityTypes!); + checkUnnamed158(o.entityTypes!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10554,12 +10796,12 @@ void checkGoogleCloudAiplatformV1ListEntityTypesResponse( buildCounterGoogleCloudAiplatformV1ListEntityTypesResponse--; } -core.List buildUnnamed156() => [ +core.List buildUnnamed159() => [ buildGoogleCloudAiplatformV1Execution(), buildGoogleCloudAiplatformV1Execution(), ]; -void checkUnnamed156(core.List o) { +void checkUnnamed159(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Execution(o[0]); checkGoogleCloudAiplatformV1Execution(o[1]); @@ -10571,7 +10813,7 @@ api.GoogleCloudAiplatformV1ListExecutionsResponse final o = api.GoogleCloudAiplatformV1ListExecutionsResponse(); buildCounterGoogleCloudAiplatformV1ListExecutionsResponse++; if (buildCounterGoogleCloudAiplatformV1ListExecutionsResponse < 3) { - o.executions = buildUnnamed156(); + o.executions = buildUnnamed159(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListExecutionsResponse--; @@ -10582,7 +10824,7 @@ void checkGoogleCloudAiplatformV1ListExecutionsResponse( api.GoogleCloudAiplatformV1ListExecutionsResponse o) { buildCounterGoogleCloudAiplatformV1ListExecutionsResponse++; if (buildCounterGoogleCloudAiplatformV1ListExecutionsResponse < 3) { - checkUnnamed156(o.executions!); + checkUnnamed159(o.executions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10591,12 +10833,12 @@ void checkGoogleCloudAiplatformV1ListExecutionsResponse( buildCounterGoogleCloudAiplatformV1ListExecutionsResponse--; } -core.List buildUnnamed157() => [ +core.List buildUnnamed160() => [ buildGoogleCloudAiplatformV1FeatureGroup(), buildGoogleCloudAiplatformV1FeatureGroup(), ]; -void checkUnnamed157(core.List o) { +void checkUnnamed160(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1FeatureGroup(o[0]); checkGoogleCloudAiplatformV1FeatureGroup(o[1]); @@ -10608,7 +10850,7 @@ api.GoogleCloudAiplatformV1ListFeatureGroupsResponse final o = api.GoogleCloudAiplatformV1ListFeatureGroupsResponse(); buildCounterGoogleCloudAiplatformV1ListFeatureGroupsResponse++; if (buildCounterGoogleCloudAiplatformV1ListFeatureGroupsResponse < 3) { - o.featureGroups = buildUnnamed157(); + o.featureGroups = buildUnnamed160(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListFeatureGroupsResponse--; @@ -10619,7 +10861,7 @@ void checkGoogleCloudAiplatformV1ListFeatureGroupsResponse( api.GoogleCloudAiplatformV1ListFeatureGroupsResponse o) { buildCounterGoogleCloudAiplatformV1ListFeatureGroupsResponse++; if (buildCounterGoogleCloudAiplatformV1ListFeatureGroupsResponse < 3) { - checkUnnamed157(o.featureGroups!); + checkUnnamed160(o.featureGroups!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10628,12 +10870,12 @@ void checkGoogleCloudAiplatformV1ListFeatureGroupsResponse( buildCounterGoogleCloudAiplatformV1ListFeatureGroupsResponse--; } -core.List buildUnnamed158() => [ +core.List buildUnnamed161() => [ buildGoogleCloudAiplatformV1FeatureOnlineStore(), buildGoogleCloudAiplatformV1FeatureOnlineStore(), ]; -void checkUnnamed158( +void checkUnnamed161( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1FeatureOnlineStore(o[0]); @@ -10646,7 +10888,7 @@ api.GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse final o = api.GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse(); buildCounterGoogleCloudAiplatformV1ListFeatureOnlineStoresResponse++; if (buildCounterGoogleCloudAiplatformV1ListFeatureOnlineStoresResponse < 3) { - o.featureOnlineStores = buildUnnamed158(); + o.featureOnlineStores = buildUnnamed161(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListFeatureOnlineStoresResponse--; @@ -10657,7 +10899,7 @@ void checkGoogleCloudAiplatformV1ListFeatureOnlineStoresResponse( api.GoogleCloudAiplatformV1ListFeatureOnlineStoresResponse o) { buildCounterGoogleCloudAiplatformV1ListFeatureOnlineStoresResponse++; if (buildCounterGoogleCloudAiplatformV1ListFeatureOnlineStoresResponse < 3) { - checkUnnamed158(o.featureOnlineStores!); + checkUnnamed161(o.featureOnlineStores!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10666,12 +10908,12 @@ void checkGoogleCloudAiplatformV1ListFeatureOnlineStoresResponse( buildCounterGoogleCloudAiplatformV1ListFeatureOnlineStoresResponse--; } -core.List buildUnnamed159() => [ +core.List buildUnnamed162() => [ buildGoogleCloudAiplatformV1FeatureViewSync(), buildGoogleCloudAiplatformV1FeatureViewSync(), ]; -void checkUnnamed159(core.List o) { +void checkUnnamed162(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1FeatureViewSync(o[0]); checkGoogleCloudAiplatformV1FeatureViewSync(o[1]); @@ -10683,7 +10925,7 @@ api.GoogleCloudAiplatformV1ListFeatureViewSyncsResponse final o = api.GoogleCloudAiplatformV1ListFeatureViewSyncsResponse(); buildCounterGoogleCloudAiplatformV1ListFeatureViewSyncsResponse++; if (buildCounterGoogleCloudAiplatformV1ListFeatureViewSyncsResponse < 3) { - o.featureViewSyncs = buildUnnamed159(); + o.featureViewSyncs = buildUnnamed162(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListFeatureViewSyncsResponse--; @@ -10694,7 +10936,7 @@ void checkGoogleCloudAiplatformV1ListFeatureViewSyncsResponse( api.GoogleCloudAiplatformV1ListFeatureViewSyncsResponse o) { buildCounterGoogleCloudAiplatformV1ListFeatureViewSyncsResponse++; if (buildCounterGoogleCloudAiplatformV1ListFeatureViewSyncsResponse < 3) { - checkUnnamed159(o.featureViewSyncs!); + checkUnnamed162(o.featureViewSyncs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10703,12 +10945,12 @@ void checkGoogleCloudAiplatformV1ListFeatureViewSyncsResponse( buildCounterGoogleCloudAiplatformV1ListFeatureViewSyncsResponse--; } -core.List buildUnnamed160() => [ +core.List buildUnnamed163() => [ buildGoogleCloudAiplatformV1FeatureView(), buildGoogleCloudAiplatformV1FeatureView(), ]; -void checkUnnamed160(core.List o) { +void checkUnnamed163(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1FeatureView(o[0]); checkGoogleCloudAiplatformV1FeatureView(o[1]); @@ -10720,7 +10962,7 @@ api.GoogleCloudAiplatformV1ListFeatureViewsResponse final o = api.GoogleCloudAiplatformV1ListFeatureViewsResponse(); buildCounterGoogleCloudAiplatformV1ListFeatureViewsResponse++; if (buildCounterGoogleCloudAiplatformV1ListFeatureViewsResponse < 3) { - o.featureViews = buildUnnamed160(); + o.featureViews = buildUnnamed163(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListFeatureViewsResponse--; @@ -10731,7 +10973,7 @@ void checkGoogleCloudAiplatformV1ListFeatureViewsResponse( api.GoogleCloudAiplatformV1ListFeatureViewsResponse o) { buildCounterGoogleCloudAiplatformV1ListFeatureViewsResponse++; if (buildCounterGoogleCloudAiplatformV1ListFeatureViewsResponse < 3) { - checkUnnamed160(o.featureViews!); + checkUnnamed163(o.featureViews!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10740,12 +10982,12 @@ void checkGoogleCloudAiplatformV1ListFeatureViewsResponse( buildCounterGoogleCloudAiplatformV1ListFeatureViewsResponse--; } -core.List buildUnnamed161() => [ +core.List buildUnnamed164() => [ buildGoogleCloudAiplatformV1Feature(), buildGoogleCloudAiplatformV1Feature(), ]; -void checkUnnamed161(core.List o) { +void checkUnnamed164(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Feature(o[0]); checkGoogleCloudAiplatformV1Feature(o[1]); @@ -10757,7 +10999,7 @@ api.GoogleCloudAiplatformV1ListFeaturesResponse final o = api.GoogleCloudAiplatformV1ListFeaturesResponse(); buildCounterGoogleCloudAiplatformV1ListFeaturesResponse++; if (buildCounterGoogleCloudAiplatformV1ListFeaturesResponse < 3) { - o.features = buildUnnamed161(); + o.features = buildUnnamed164(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListFeaturesResponse--; @@ -10768,7 +11010,7 @@ void checkGoogleCloudAiplatformV1ListFeaturesResponse( api.GoogleCloudAiplatformV1ListFeaturesResponse o) { buildCounterGoogleCloudAiplatformV1ListFeaturesResponse++; if (buildCounterGoogleCloudAiplatformV1ListFeaturesResponse < 3) { - checkUnnamed161(o.features!); + checkUnnamed164(o.features!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10777,12 +11019,12 @@ void checkGoogleCloudAiplatformV1ListFeaturesResponse( buildCounterGoogleCloudAiplatformV1ListFeaturesResponse--; } -core.List buildUnnamed162() => [ +core.List buildUnnamed165() => [ buildGoogleCloudAiplatformV1Featurestore(), buildGoogleCloudAiplatformV1Featurestore(), ]; -void checkUnnamed162(core.List o) { +void checkUnnamed165(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Featurestore(o[0]); checkGoogleCloudAiplatformV1Featurestore(o[1]); @@ -10794,7 +11036,7 @@ api.GoogleCloudAiplatformV1ListFeaturestoresResponse final o = api.GoogleCloudAiplatformV1ListFeaturestoresResponse(); buildCounterGoogleCloudAiplatformV1ListFeaturestoresResponse++; if (buildCounterGoogleCloudAiplatformV1ListFeaturestoresResponse < 3) { - o.featurestores = buildUnnamed162(); + o.featurestores = buildUnnamed165(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListFeaturestoresResponse--; @@ -10805,7 +11047,7 @@ void checkGoogleCloudAiplatformV1ListFeaturestoresResponse( api.GoogleCloudAiplatformV1ListFeaturestoresResponse o) { buildCounterGoogleCloudAiplatformV1ListFeaturestoresResponse++; if (buildCounterGoogleCloudAiplatformV1ListFeaturestoresResponse < 3) { - checkUnnamed162(o.featurestores!); + checkUnnamed165(o.featurestores!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10815,12 +11057,12 @@ void checkGoogleCloudAiplatformV1ListFeaturestoresResponse( } core.List - buildUnnamed163() => [ + buildUnnamed166() => [ buildGoogleCloudAiplatformV1HyperparameterTuningJob(), buildGoogleCloudAiplatformV1HyperparameterTuningJob(), ]; -void checkUnnamed163( +void checkUnnamed166( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1HyperparameterTuningJob(o[0]); @@ -10835,7 +11077,7 @@ api.GoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse buildCounterGoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse++; if (buildCounterGoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse < 3) { - o.hyperparameterTuningJobs = buildUnnamed163(); + o.hyperparameterTuningJobs = buildUnnamed166(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse--; @@ -10847,7 +11089,7 @@ void checkGoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse( buildCounterGoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse++; if (buildCounterGoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse < 3) { - checkUnnamed163(o.hyperparameterTuningJobs!); + checkUnnamed166(o.hyperparameterTuningJobs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10856,12 +11098,12 @@ void checkGoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse( buildCounterGoogleCloudAiplatformV1ListHyperparameterTuningJobsResponse--; } -core.List buildUnnamed164() => [ +core.List buildUnnamed167() => [ buildGoogleCloudAiplatformV1IndexEndpoint(), buildGoogleCloudAiplatformV1IndexEndpoint(), ]; -void checkUnnamed164(core.List o) { +void checkUnnamed167(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1IndexEndpoint(o[0]); checkGoogleCloudAiplatformV1IndexEndpoint(o[1]); @@ -10873,7 +11115,7 @@ api.GoogleCloudAiplatformV1ListIndexEndpointsResponse final o = api.GoogleCloudAiplatformV1ListIndexEndpointsResponse(); buildCounterGoogleCloudAiplatformV1ListIndexEndpointsResponse++; if (buildCounterGoogleCloudAiplatformV1ListIndexEndpointsResponse < 3) { - o.indexEndpoints = buildUnnamed164(); + o.indexEndpoints = buildUnnamed167(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListIndexEndpointsResponse--; @@ -10884,7 +11126,7 @@ void checkGoogleCloudAiplatformV1ListIndexEndpointsResponse( api.GoogleCloudAiplatformV1ListIndexEndpointsResponse o) { buildCounterGoogleCloudAiplatformV1ListIndexEndpointsResponse++; if (buildCounterGoogleCloudAiplatformV1ListIndexEndpointsResponse < 3) { - checkUnnamed164(o.indexEndpoints!); + checkUnnamed167(o.indexEndpoints!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10893,12 +11135,12 @@ void checkGoogleCloudAiplatformV1ListIndexEndpointsResponse( buildCounterGoogleCloudAiplatformV1ListIndexEndpointsResponse--; } -core.List buildUnnamed165() => [ +core.List buildUnnamed168() => [ buildGoogleCloudAiplatformV1Index(), buildGoogleCloudAiplatformV1Index(), ]; -void checkUnnamed165(core.List o) { +void checkUnnamed168(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Index(o[0]); checkGoogleCloudAiplatformV1Index(o[1]); @@ -10910,7 +11152,7 @@ api.GoogleCloudAiplatformV1ListIndexesResponse final o = api.GoogleCloudAiplatformV1ListIndexesResponse(); buildCounterGoogleCloudAiplatformV1ListIndexesResponse++; if (buildCounterGoogleCloudAiplatformV1ListIndexesResponse < 3) { - o.indexes = buildUnnamed165(); + o.indexes = buildUnnamed168(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListIndexesResponse--; @@ -10921,7 +11163,7 @@ void checkGoogleCloudAiplatformV1ListIndexesResponse( api.GoogleCloudAiplatformV1ListIndexesResponse o) { buildCounterGoogleCloudAiplatformV1ListIndexesResponse++; if (buildCounterGoogleCloudAiplatformV1ListIndexesResponse < 3) { - checkUnnamed165(o.indexes!); + checkUnnamed168(o.indexes!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10930,12 +11172,12 @@ void checkGoogleCloudAiplatformV1ListIndexesResponse( buildCounterGoogleCloudAiplatformV1ListIndexesResponse--; } -core.List buildUnnamed166() => [ +core.List buildUnnamed169() => [ buildGoogleCloudAiplatformV1MetadataSchema(), buildGoogleCloudAiplatformV1MetadataSchema(), ]; -void checkUnnamed166(core.List o) { +void checkUnnamed169(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1MetadataSchema(o[0]); checkGoogleCloudAiplatformV1MetadataSchema(o[1]); @@ -10947,7 +11189,7 @@ api.GoogleCloudAiplatformV1ListMetadataSchemasResponse final o = api.GoogleCloudAiplatformV1ListMetadataSchemasResponse(); buildCounterGoogleCloudAiplatformV1ListMetadataSchemasResponse++; if (buildCounterGoogleCloudAiplatformV1ListMetadataSchemasResponse < 3) { - o.metadataSchemas = buildUnnamed166(); + o.metadataSchemas = buildUnnamed169(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListMetadataSchemasResponse--; @@ -10958,7 +11200,7 @@ void checkGoogleCloudAiplatformV1ListMetadataSchemasResponse( api.GoogleCloudAiplatformV1ListMetadataSchemasResponse o) { buildCounterGoogleCloudAiplatformV1ListMetadataSchemasResponse++; if (buildCounterGoogleCloudAiplatformV1ListMetadataSchemasResponse < 3) { - checkUnnamed166(o.metadataSchemas!); + checkUnnamed169(o.metadataSchemas!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -10967,12 +11209,12 @@ void checkGoogleCloudAiplatformV1ListMetadataSchemasResponse( buildCounterGoogleCloudAiplatformV1ListMetadataSchemasResponse--; } -core.List buildUnnamed167() => [ +core.List buildUnnamed170() => [ buildGoogleCloudAiplatformV1MetadataStore(), buildGoogleCloudAiplatformV1MetadataStore(), ]; -void checkUnnamed167(core.List o) { +void checkUnnamed170(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1MetadataStore(o[0]); checkGoogleCloudAiplatformV1MetadataStore(o[1]); @@ -10984,7 +11226,7 @@ api.GoogleCloudAiplatformV1ListMetadataStoresResponse final o = api.GoogleCloudAiplatformV1ListMetadataStoresResponse(); buildCounterGoogleCloudAiplatformV1ListMetadataStoresResponse++; if (buildCounterGoogleCloudAiplatformV1ListMetadataStoresResponse < 3) { - o.metadataStores = buildUnnamed167(); + o.metadataStores = buildUnnamed170(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListMetadataStoresResponse--; @@ -10995,7 +11237,7 @@ void checkGoogleCloudAiplatformV1ListMetadataStoresResponse( api.GoogleCloudAiplatformV1ListMetadataStoresResponse o) { buildCounterGoogleCloudAiplatformV1ListMetadataStoresResponse++; if (buildCounterGoogleCloudAiplatformV1ListMetadataStoresResponse < 3) { - checkUnnamed167(o.metadataStores!); + checkUnnamed170(o.metadataStores!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -11005,12 +11247,12 @@ void checkGoogleCloudAiplatformV1ListMetadataStoresResponse( } core.List - buildUnnamed168() => [ + buildUnnamed171() => [ buildGoogleCloudAiplatformV1ModelDeploymentMonitoringJob(), buildGoogleCloudAiplatformV1ModelDeploymentMonitoringJob(), ]; -void checkUnnamed168( +void checkUnnamed171( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ModelDeploymentMonitoringJob(o[0]); @@ -11027,7 +11269,7 @@ api.GoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse buildCounterGoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse++; if (buildCounterGoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse < 3) { - o.modelDeploymentMonitoringJobs = buildUnnamed168(); + o.modelDeploymentMonitoringJobs = buildUnnamed171(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse--; @@ -11039,7 +11281,7 @@ void checkGoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse( buildCounterGoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse++; if (buildCounterGoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse < 3) { - checkUnnamed168(o.modelDeploymentMonitoringJobs!); + checkUnnamed171(o.modelDeploymentMonitoringJobs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -11048,13 +11290,13 @@ void checkGoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse( buildCounterGoogleCloudAiplatformV1ListModelDeploymentMonitoringJobsResponse--; } -core.List buildUnnamed169() => +core.List buildUnnamed172() => [ buildGoogleCloudAiplatformV1ModelEvaluationSlice(), buildGoogleCloudAiplatformV1ModelEvaluationSlice(), ]; -void checkUnnamed169( +void checkUnnamed172( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ModelEvaluationSlice(o[0]); @@ -11069,7 +11311,7 @@ api.GoogleCloudAiplatformV1ListModelEvaluationSlicesResponse buildCounterGoogleCloudAiplatformV1ListModelEvaluationSlicesResponse++; if (buildCounterGoogleCloudAiplatformV1ListModelEvaluationSlicesResponse < 3) { - o.modelEvaluationSlices = buildUnnamed169(); + o.modelEvaluationSlices = buildUnnamed172(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListModelEvaluationSlicesResponse--; @@ -11081,7 +11323,7 @@ void checkGoogleCloudAiplatformV1ListModelEvaluationSlicesResponse( buildCounterGoogleCloudAiplatformV1ListModelEvaluationSlicesResponse++; if (buildCounterGoogleCloudAiplatformV1ListModelEvaluationSlicesResponse < 3) { - checkUnnamed169(o.modelEvaluationSlices!); + checkUnnamed172(o.modelEvaluationSlices!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -11090,12 +11332,12 @@ void checkGoogleCloudAiplatformV1ListModelEvaluationSlicesResponse( buildCounterGoogleCloudAiplatformV1ListModelEvaluationSlicesResponse--; } -core.List buildUnnamed170() => [ +core.List buildUnnamed173() => [ buildGoogleCloudAiplatformV1ModelEvaluation(), buildGoogleCloudAiplatformV1ModelEvaluation(), ]; -void checkUnnamed170(core.List o) { +void checkUnnamed173(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ModelEvaluation(o[0]); checkGoogleCloudAiplatformV1ModelEvaluation(o[1]); @@ -11107,7 +11349,7 @@ api.GoogleCloudAiplatformV1ListModelEvaluationsResponse final o = api.GoogleCloudAiplatformV1ListModelEvaluationsResponse(); buildCounterGoogleCloudAiplatformV1ListModelEvaluationsResponse++; if (buildCounterGoogleCloudAiplatformV1ListModelEvaluationsResponse < 3) { - o.modelEvaluations = buildUnnamed170(); + o.modelEvaluations = buildUnnamed173(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListModelEvaluationsResponse--; @@ -11118,7 +11360,7 @@ void checkGoogleCloudAiplatformV1ListModelEvaluationsResponse( api.GoogleCloudAiplatformV1ListModelEvaluationsResponse o) { buildCounterGoogleCloudAiplatformV1ListModelEvaluationsResponse++; if (buildCounterGoogleCloudAiplatformV1ListModelEvaluationsResponse < 3) { - checkUnnamed170(o.modelEvaluations!); + checkUnnamed173(o.modelEvaluations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -11127,12 +11369,12 @@ void checkGoogleCloudAiplatformV1ListModelEvaluationsResponse( buildCounterGoogleCloudAiplatformV1ListModelEvaluationsResponse--; } -core.List buildUnnamed171() => [ +core.List buildUnnamed174() => [ buildGoogleCloudAiplatformV1Model(), buildGoogleCloudAiplatformV1Model(), ]; -void checkUnnamed171(core.List o) { +void checkUnnamed174(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Model(o[0]); checkGoogleCloudAiplatformV1Model(o[1]); @@ -11144,7 +11386,7 @@ api.GoogleCloudAiplatformV1ListModelVersionsResponse final o = api.GoogleCloudAiplatformV1ListModelVersionsResponse(); buildCounterGoogleCloudAiplatformV1ListModelVersionsResponse++; if (buildCounterGoogleCloudAiplatformV1ListModelVersionsResponse < 3) { - o.models = buildUnnamed171(); + o.models = buildUnnamed174(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListModelVersionsResponse--; @@ -11155,7 +11397,7 @@ void checkGoogleCloudAiplatformV1ListModelVersionsResponse( api.GoogleCloudAiplatformV1ListModelVersionsResponse o) { buildCounterGoogleCloudAiplatformV1ListModelVersionsResponse++; if (buildCounterGoogleCloudAiplatformV1ListModelVersionsResponse < 3) { - checkUnnamed171(o.models!); + checkUnnamed174(o.models!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -11164,12 +11406,12 @@ void checkGoogleCloudAiplatformV1ListModelVersionsResponse( buildCounterGoogleCloudAiplatformV1ListModelVersionsResponse--; } -core.List buildUnnamed172() => [ +core.List buildUnnamed175() => [ buildGoogleCloudAiplatformV1Model(), buildGoogleCloudAiplatformV1Model(), ]; -void checkUnnamed172(core.List o) { +void checkUnnamed175(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Model(o[0]); checkGoogleCloudAiplatformV1Model(o[1]); @@ -11181,7 +11423,7 @@ api.GoogleCloudAiplatformV1ListModelsResponse final o = api.GoogleCloudAiplatformV1ListModelsResponse(); buildCounterGoogleCloudAiplatformV1ListModelsResponse++; if (buildCounterGoogleCloudAiplatformV1ListModelsResponse < 3) { - o.models = buildUnnamed172(); + o.models = buildUnnamed175(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListModelsResponse--; @@ -11192,7 +11434,7 @@ void checkGoogleCloudAiplatformV1ListModelsResponse( api.GoogleCloudAiplatformV1ListModelsResponse o) { buildCounterGoogleCloudAiplatformV1ListModelsResponse++; if (buildCounterGoogleCloudAiplatformV1ListModelsResponse < 3) { - checkUnnamed172(o.models!); + checkUnnamed175(o.models!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -11201,12 +11443,12 @@ void checkGoogleCloudAiplatformV1ListModelsResponse( buildCounterGoogleCloudAiplatformV1ListModelsResponse--; } -core.List buildUnnamed173() => [ +core.List buildUnnamed176() => [ buildGoogleCloudAiplatformV1NasJob(), buildGoogleCloudAiplatformV1NasJob(), ]; -void checkUnnamed173(core.List o) { +void checkUnnamed176(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1NasJob(o[0]); checkGoogleCloudAiplatformV1NasJob(o[1]); @@ -11218,7 +11460,7 @@ api.GoogleCloudAiplatformV1ListNasJobsResponse final o = api.GoogleCloudAiplatformV1ListNasJobsResponse(); buildCounterGoogleCloudAiplatformV1ListNasJobsResponse++; if (buildCounterGoogleCloudAiplatformV1ListNasJobsResponse < 3) { - o.nasJobs = buildUnnamed173(); + o.nasJobs = buildUnnamed176(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListNasJobsResponse--; @@ -11229,7 +11471,7 @@ void checkGoogleCloudAiplatformV1ListNasJobsResponse( api.GoogleCloudAiplatformV1ListNasJobsResponse o) { buildCounterGoogleCloudAiplatformV1ListNasJobsResponse++; if (buildCounterGoogleCloudAiplatformV1ListNasJobsResponse < 3) { - checkUnnamed173(o.nasJobs!); + checkUnnamed176(o.nasJobs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -11238,12 +11480,12 @@ void checkGoogleCloudAiplatformV1ListNasJobsResponse( buildCounterGoogleCloudAiplatformV1ListNasJobsResponse--; } -core.List buildUnnamed174() => [ +core.List buildUnnamed177() => [ buildGoogleCloudAiplatformV1NasTrialDetail(), buildGoogleCloudAiplatformV1NasTrialDetail(), ]; -void checkUnnamed174(core.List o) { +void checkUnnamed177(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1NasTrialDetail(o[0]); checkGoogleCloudAiplatformV1NasTrialDetail(o[1]); @@ -11255,7 +11497,7 @@ api.GoogleCloudAiplatformV1ListNasTrialDetailsResponse final o = api.GoogleCloudAiplatformV1ListNasTrialDetailsResponse(); buildCounterGoogleCloudAiplatformV1ListNasTrialDetailsResponse++; if (buildCounterGoogleCloudAiplatformV1ListNasTrialDetailsResponse < 3) { - o.nasTrialDetails = buildUnnamed174(); + o.nasTrialDetails = buildUnnamed177(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1ListNasTrialDetailsResponse--; @@ -11266,7 +11508,7 @@ void checkGoogleCloudAiplatformV1ListNasTrialDetailsResponse( api.GoogleCloudAiplatformV1ListNasTrialDetailsResponse o) { buildCounterGoogleCloudAiplatformV1ListNasTrialDetailsResponse++; if (buildCounterGoogleCloudAiplatformV1ListNasTrialDetailsResponse < 3) { - checkUnnamed174(o.nasTrialDetails!); + checkUnnamed177(o.nasTrialDetails!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -11276,12 +11518,12 @@ void checkGoogleCloudAiplatformV1ListNasTrialDetailsResponse( } core.List - buildUnnamed175() => [ + buildUnnamed178() => [ buildGoogleCloudAiplatformV1NotebookRuntimeTemplate(), buildGoogleCloudAiplatformV1NotebookRuntimeTemplate(), ]; -void checkUnnamed175( +void checkUnnamed178( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1NotebookRuntimeTemplate(o[0]); @@ -11297,7 +11539,7 @@ api.GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse if (buildCounterGoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse < 3) { o.nextPageToken = 'foo'; - o.notebookRuntimeTemplates = buildUnnamed175(); + o.notebookRuntimeTemplates = buildUnnamed178(); } buildCounterGoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse--; return o; @@ -11312,17 +11554,17 @@ void checkGoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed175(o.notebookRuntimeTemplates!); + checkUnnamed178(o.notebookRuntimeTemplates!); } buildCounterGoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse--; } -core.List buildUnnamed176() => [ +core.List buildUnnamed179() => [ buildGoogleCloudAiplatformV1NotebookRuntime(), buildGoogleCloudAiplatformV1NotebookRuntime(), ]; -void checkUnnamed176(core.List o) { +void checkUnnamed179(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1NotebookRuntime(o[0]); checkGoogleCloudAiplatformV1NotebookRuntime(o[1]); @@ -11335,7 +11577,7 @@ api.GoogleCloudAiplatformV1ListNotebookRuntimesResponse buildCounterGoogleCloudAiplatformV1ListNotebookRuntimesResponse++; if (buildCounterGoogleCloudAiplatformV1ListNotebookRuntimesResponse < 3) { o.nextPageToken = 'foo'; - o.notebookRuntimes = buildUnnamed176(); + o.notebookRuntimes = buildUnnamed179(); } buildCounterGoogleCloudAiplatformV1ListNotebookRuntimesResponse--; return o; @@ -11349,7 +11591,7 @@ void checkGoogleCloudAiplatformV1ListNotebookRuntimesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed176(o.notebookRuntimes!); + checkUnnamed179(o.notebookRuntimes!); } buildCounterGoogleCloudAiplatformV1ListNotebookRuntimesResponse--; } @@ -11371,12 +11613,12 @@ void checkGoogleCloudAiplatformV1ListOptimalTrialsRequest( buildCounterGoogleCloudAiplatformV1ListOptimalTrialsRequest--; } -core.List buildUnnamed177() => [ +core.List buildUnnamed180() => [ buildGoogleCloudAiplatformV1Trial(), buildGoogleCloudAiplatformV1Trial(), ]; -void checkUnnamed177(core.List o) { +void checkUnnamed180(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Trial(o[0]); checkGoogleCloudAiplatformV1Trial(o[1]); @@ -11388,7 +11630,7 @@ api.GoogleCloudAiplatformV1ListOptimalTrialsResponse final o = api.GoogleCloudAiplatformV1ListOptimalTrialsResponse(); buildCounterGoogleCloudAiplatformV1ListOptimalTrialsResponse++; if (buildCounterGoogleCloudAiplatformV1ListOptimalTrialsResponse < 3) { - o.optimalTrials = buildUnnamed177(); + o.optimalTrials = buildUnnamed180(); } buildCounterGoogleCloudAiplatformV1ListOptimalTrialsResponse--; return o; @@ -11398,17 +11640,17 @@ void checkGoogleCloudAiplatformV1ListOptimalTrialsResponse( api.GoogleCloudAiplatformV1ListOptimalTrialsResponse o) { buildCounterGoogleCloudAiplatformV1ListOptimalTrialsResponse++; if (buildCounterGoogleCloudAiplatformV1ListOptimalTrialsResponse < 3) { - checkUnnamed177(o.optimalTrials!); + checkUnnamed180(o.optimalTrials!); } buildCounterGoogleCloudAiplatformV1ListOptimalTrialsResponse--; } -core.List buildUnnamed178() => [ +core.List buildUnnamed181() => [ buildGoogleCloudAiplatformV1PersistentResource(), buildGoogleCloudAiplatformV1PersistentResource(), ]; -void checkUnnamed178( +void checkUnnamed181( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1PersistentResource(o[0]); @@ -11422,7 +11664,7 @@ api.GoogleCloudAiplatformV1ListPersistentResourcesResponse buildCounterGoogleCloudAiplatformV1ListPersistentResourcesResponse++; if (buildCounterGoogleCloudAiplatformV1ListPersistentResourcesResponse < 3) { o.nextPageToken = 'foo'; - o.persistentResources = buildUnnamed178(); + o.persistentResources = buildUnnamed181(); } buildCounterGoogleCloudAiplatformV1ListPersistentResourcesResponse--; return o; @@ -11436,17 +11678,17 @@ void checkGoogleCloudAiplatformV1ListPersistentResourcesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed178(o.persistentResources!); + checkUnnamed181(o.persistentResources!); } buildCounterGoogleCloudAiplatformV1ListPersistentResourcesResponse--; } -core.List buildUnnamed179() => [ +core.List buildUnnamed182() => [ buildGoogleCloudAiplatformV1PipelineJob(), buildGoogleCloudAiplatformV1PipelineJob(), ]; -void checkUnnamed179(core.List o) { +void checkUnnamed182(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1PipelineJob(o[0]); checkGoogleCloudAiplatformV1PipelineJob(o[1]); @@ -11459,7 +11701,7 @@ api.GoogleCloudAiplatformV1ListPipelineJobsResponse buildCounterGoogleCloudAiplatformV1ListPipelineJobsResponse++; if (buildCounterGoogleCloudAiplatformV1ListPipelineJobsResponse < 3) { o.nextPageToken = 'foo'; - o.pipelineJobs = buildUnnamed179(); + o.pipelineJobs = buildUnnamed182(); } buildCounterGoogleCloudAiplatformV1ListPipelineJobsResponse--; return o; @@ -11473,17 +11715,17 @@ void checkGoogleCloudAiplatformV1ListPipelineJobsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed179(o.pipelineJobs!); + checkUnnamed182(o.pipelineJobs!); } buildCounterGoogleCloudAiplatformV1ListPipelineJobsResponse--; } -core.List buildUnnamed180() => [ +core.List buildUnnamed183() => [ buildGoogleCloudAiplatformV1SavedQuery(), buildGoogleCloudAiplatformV1SavedQuery(), ]; -void checkUnnamed180(core.List o) { +void checkUnnamed183(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1SavedQuery(o[0]); checkGoogleCloudAiplatformV1SavedQuery(o[1]); @@ -11496,7 +11738,7 @@ api.GoogleCloudAiplatformV1ListSavedQueriesResponse buildCounterGoogleCloudAiplatformV1ListSavedQueriesResponse++; if (buildCounterGoogleCloudAiplatformV1ListSavedQueriesResponse < 3) { o.nextPageToken = 'foo'; - o.savedQueries = buildUnnamed180(); + o.savedQueries = buildUnnamed183(); } buildCounterGoogleCloudAiplatformV1ListSavedQueriesResponse--; return o; @@ -11510,17 +11752,17 @@ void checkGoogleCloudAiplatformV1ListSavedQueriesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed180(o.savedQueries!); + checkUnnamed183(o.savedQueries!); } buildCounterGoogleCloudAiplatformV1ListSavedQueriesResponse--; } -core.List buildUnnamed181() => [ +core.List buildUnnamed184() => [ buildGoogleCloudAiplatformV1Schedule(), buildGoogleCloudAiplatformV1Schedule(), ]; -void checkUnnamed181(core.List o) { +void checkUnnamed184(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Schedule(o[0]); checkGoogleCloudAiplatformV1Schedule(o[1]); @@ -11533,7 +11775,7 @@ api.GoogleCloudAiplatformV1ListSchedulesResponse buildCounterGoogleCloudAiplatformV1ListSchedulesResponse++; if (buildCounterGoogleCloudAiplatformV1ListSchedulesResponse < 3) { o.nextPageToken = 'foo'; - o.schedules = buildUnnamed181(); + o.schedules = buildUnnamed184(); } buildCounterGoogleCloudAiplatformV1ListSchedulesResponse--; return o; @@ -11547,17 +11789,17 @@ void checkGoogleCloudAiplatformV1ListSchedulesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed181(o.schedules!); + checkUnnamed184(o.schedules!); } buildCounterGoogleCloudAiplatformV1ListSchedulesResponse--; } -core.List buildUnnamed182() => [ +core.List buildUnnamed185() => [ buildGoogleCloudAiplatformV1SpecialistPool(), buildGoogleCloudAiplatformV1SpecialistPool(), ]; -void checkUnnamed182(core.List o) { +void checkUnnamed185(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1SpecialistPool(o[0]); checkGoogleCloudAiplatformV1SpecialistPool(o[1]); @@ -11570,7 +11812,7 @@ api.GoogleCloudAiplatformV1ListSpecialistPoolsResponse buildCounterGoogleCloudAiplatformV1ListSpecialistPoolsResponse++; if (buildCounterGoogleCloudAiplatformV1ListSpecialistPoolsResponse < 3) { o.nextPageToken = 'foo'; - o.specialistPools = buildUnnamed182(); + o.specialistPools = buildUnnamed185(); } buildCounterGoogleCloudAiplatformV1ListSpecialistPoolsResponse--; return o; @@ -11584,17 +11826,17 @@ void checkGoogleCloudAiplatformV1ListSpecialistPoolsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed182(o.specialistPools!); + checkUnnamed185(o.specialistPools!); } buildCounterGoogleCloudAiplatformV1ListSpecialistPoolsResponse--; } -core.List buildUnnamed183() => [ +core.List buildUnnamed186() => [ buildGoogleCloudAiplatformV1Study(), buildGoogleCloudAiplatformV1Study(), ]; -void checkUnnamed183(core.List o) { +void checkUnnamed186(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Study(o[0]); checkGoogleCloudAiplatformV1Study(o[1]); @@ -11607,7 +11849,7 @@ api.GoogleCloudAiplatformV1ListStudiesResponse buildCounterGoogleCloudAiplatformV1ListStudiesResponse++; if (buildCounterGoogleCloudAiplatformV1ListStudiesResponse < 3) { o.nextPageToken = 'foo'; - o.studies = buildUnnamed183(); + o.studies = buildUnnamed186(); } buildCounterGoogleCloudAiplatformV1ListStudiesResponse--; return o; @@ -11621,18 +11863,18 @@ void checkGoogleCloudAiplatformV1ListStudiesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed183(o.studies!); + checkUnnamed186(o.studies!); } buildCounterGoogleCloudAiplatformV1ListStudiesResponse--; } -core.List buildUnnamed184() => +core.List buildUnnamed187() => [ buildGoogleCloudAiplatformV1TensorboardExperiment(), buildGoogleCloudAiplatformV1TensorboardExperiment(), ]; -void checkUnnamed184( +void checkUnnamed187( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TensorboardExperiment(o[0]); @@ -11648,7 +11890,7 @@ api.GoogleCloudAiplatformV1ListTensorboardExperimentsResponse if (buildCounterGoogleCloudAiplatformV1ListTensorboardExperimentsResponse < 3) { o.nextPageToken = 'foo'; - o.tensorboardExperiments = buildUnnamed184(); + o.tensorboardExperiments = buildUnnamed187(); } buildCounterGoogleCloudAiplatformV1ListTensorboardExperimentsResponse--; return o; @@ -11663,17 +11905,17 @@ void checkGoogleCloudAiplatformV1ListTensorboardExperimentsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed184(o.tensorboardExperiments!); + checkUnnamed187(o.tensorboardExperiments!); } buildCounterGoogleCloudAiplatformV1ListTensorboardExperimentsResponse--; } -core.List buildUnnamed185() => [ +core.List buildUnnamed188() => [ buildGoogleCloudAiplatformV1TensorboardRun(), buildGoogleCloudAiplatformV1TensorboardRun(), ]; -void checkUnnamed185(core.List o) { +void checkUnnamed188(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TensorboardRun(o[0]); checkGoogleCloudAiplatformV1TensorboardRun(o[1]); @@ -11686,7 +11928,7 @@ api.GoogleCloudAiplatformV1ListTensorboardRunsResponse buildCounterGoogleCloudAiplatformV1ListTensorboardRunsResponse++; if (buildCounterGoogleCloudAiplatformV1ListTensorboardRunsResponse < 3) { o.nextPageToken = 'foo'; - o.tensorboardRuns = buildUnnamed185(); + o.tensorboardRuns = buildUnnamed188(); } buildCounterGoogleCloudAiplatformV1ListTensorboardRunsResponse--; return o; @@ -11700,18 +11942,18 @@ void checkGoogleCloudAiplatformV1ListTensorboardRunsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed185(o.tensorboardRuns!); + checkUnnamed188(o.tensorboardRuns!); } buildCounterGoogleCloudAiplatformV1ListTensorboardRunsResponse--; } -core.List buildUnnamed186() => +core.List buildUnnamed189() => [ buildGoogleCloudAiplatformV1TensorboardTimeSeries(), buildGoogleCloudAiplatformV1TensorboardTimeSeries(), ]; -void checkUnnamed186( +void checkUnnamed189( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TensorboardTimeSeries(o[0]); @@ -11727,7 +11969,7 @@ api.GoogleCloudAiplatformV1ListTensorboardTimeSeriesResponse if (buildCounterGoogleCloudAiplatformV1ListTensorboardTimeSeriesResponse < 3) { o.nextPageToken = 'foo'; - o.tensorboardTimeSeries = buildUnnamed186(); + o.tensorboardTimeSeries = buildUnnamed189(); } buildCounterGoogleCloudAiplatformV1ListTensorboardTimeSeriesResponse--; return o; @@ -11742,17 +11984,17 @@ void checkGoogleCloudAiplatformV1ListTensorboardTimeSeriesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed186(o.tensorboardTimeSeries!); + checkUnnamed189(o.tensorboardTimeSeries!); } buildCounterGoogleCloudAiplatformV1ListTensorboardTimeSeriesResponse--; } -core.List buildUnnamed187() => [ +core.List buildUnnamed190() => [ buildGoogleCloudAiplatformV1Tensorboard(), buildGoogleCloudAiplatformV1Tensorboard(), ]; -void checkUnnamed187(core.List o) { +void checkUnnamed190(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Tensorboard(o[0]); checkGoogleCloudAiplatformV1Tensorboard(o[1]); @@ -11765,7 +12007,7 @@ api.GoogleCloudAiplatformV1ListTensorboardsResponse buildCounterGoogleCloudAiplatformV1ListTensorboardsResponse++; if (buildCounterGoogleCloudAiplatformV1ListTensorboardsResponse < 3) { o.nextPageToken = 'foo'; - o.tensorboards = buildUnnamed187(); + o.tensorboards = buildUnnamed190(); } buildCounterGoogleCloudAiplatformV1ListTensorboardsResponse--; return o; @@ -11779,17 +12021,17 @@ void checkGoogleCloudAiplatformV1ListTensorboardsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed187(o.tensorboards!); + checkUnnamed190(o.tensorboards!); } buildCounterGoogleCloudAiplatformV1ListTensorboardsResponse--; } -core.List buildUnnamed188() => [ +core.List buildUnnamed191() => [ buildGoogleCloudAiplatformV1TrainingPipeline(), buildGoogleCloudAiplatformV1TrainingPipeline(), ]; -void checkUnnamed188(core.List o) { +void checkUnnamed191(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrainingPipeline(o[0]); checkGoogleCloudAiplatformV1TrainingPipeline(o[1]); @@ -11802,7 +12044,7 @@ api.GoogleCloudAiplatformV1ListTrainingPipelinesResponse buildCounterGoogleCloudAiplatformV1ListTrainingPipelinesResponse++; if (buildCounterGoogleCloudAiplatformV1ListTrainingPipelinesResponse < 3) { o.nextPageToken = 'foo'; - o.trainingPipelines = buildUnnamed188(); + o.trainingPipelines = buildUnnamed191(); } buildCounterGoogleCloudAiplatformV1ListTrainingPipelinesResponse--; return o; @@ -11816,17 +12058,17 @@ void checkGoogleCloudAiplatformV1ListTrainingPipelinesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed188(o.trainingPipelines!); + checkUnnamed191(o.trainingPipelines!); } buildCounterGoogleCloudAiplatformV1ListTrainingPipelinesResponse--; } -core.List buildUnnamed189() => [ +core.List buildUnnamed192() => [ buildGoogleCloudAiplatformV1Trial(), buildGoogleCloudAiplatformV1Trial(), ]; -void checkUnnamed189(core.List o) { +void checkUnnamed192(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Trial(o[0]); checkGoogleCloudAiplatformV1Trial(o[1]); @@ -11839,7 +12081,7 @@ api.GoogleCloudAiplatformV1ListTrialsResponse buildCounterGoogleCloudAiplatformV1ListTrialsResponse++; if (buildCounterGoogleCloudAiplatformV1ListTrialsResponse < 3) { o.nextPageToken = 'foo'; - o.trials = buildUnnamed189(); + o.trials = buildUnnamed192(); } buildCounterGoogleCloudAiplatformV1ListTrialsResponse--; return o; @@ -11853,17 +12095,17 @@ void checkGoogleCloudAiplatformV1ListTrialsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed189(o.trials!); + checkUnnamed192(o.trials!); } buildCounterGoogleCloudAiplatformV1ListTrialsResponse--; } -core.List buildUnnamed190() => [ +core.List buildUnnamed193() => [ buildGoogleCloudAiplatformV1TuningJob(), buildGoogleCloudAiplatformV1TuningJob(), ]; -void checkUnnamed190(core.List o) { +void checkUnnamed193(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TuningJob(o[0]); checkGoogleCloudAiplatformV1TuningJob(o[1]); @@ -11876,7 +12118,7 @@ api.GoogleCloudAiplatformV1ListTuningJobsResponse buildCounterGoogleCloudAiplatformV1ListTuningJobsResponse++; if (buildCounterGoogleCloudAiplatformV1ListTuningJobsResponse < 3) { o.nextPageToken = 'foo'; - o.tuningJobs = buildUnnamed190(); + o.tuningJobs = buildUnnamed193(); } buildCounterGoogleCloudAiplatformV1ListTuningJobsResponse--; return o; @@ -11890,7 +12132,7 @@ void checkGoogleCloudAiplatformV1ListTuningJobsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed190(o.tuningJobs!); + checkUnnamed193(o.tuningJobs!); } buildCounterGoogleCloudAiplatformV1ListTuningJobsResponse--; } @@ -11982,12 +12224,12 @@ void checkGoogleCloudAiplatformV1ManualBatchTuningParameters( buildCounterGoogleCloudAiplatformV1ManualBatchTuningParameters--; } -core.List buildUnnamed191() => [ +core.List buildUnnamed194() => [ buildGoogleCloudAiplatformV1MeasurementMetric(), buildGoogleCloudAiplatformV1MeasurementMetric(), ]; -void checkUnnamed191( +void checkUnnamed194( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1MeasurementMetric(o[0]); @@ -12001,7 +12243,7 @@ api.GoogleCloudAiplatformV1Measurement buildCounterGoogleCloudAiplatformV1Measurement++; if (buildCounterGoogleCloudAiplatformV1Measurement < 3) { o.elapsedDuration = 'foo'; - o.metrics = buildUnnamed191(); + o.metrics = buildUnnamed194(); o.stepCount = 'foo'; } buildCounterGoogleCloudAiplatformV1Measurement--; @@ -12016,7 +12258,7 @@ void checkGoogleCloudAiplatformV1Measurement( o.elapsedDuration!, unittest.equals('foo'), ); - checkUnnamed191(o.metrics!); + checkUnnamed194(o.metrics!); unittest.expect( o.stepCount!, unittest.equals('foo'), @@ -12054,12 +12296,12 @@ void checkGoogleCloudAiplatformV1MeasurementMetric( buildCounterGoogleCloudAiplatformV1MeasurementMetric--; } -core.List buildUnnamed192() => [ +core.List buildUnnamed195() => [ 'foo', 'foo', ]; -void checkUnnamed192(core.List o) { +void checkUnnamed195(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12077,7 +12319,7 @@ api.GoogleCloudAiplatformV1MergeVersionAliasesRequest final o = api.GoogleCloudAiplatformV1MergeVersionAliasesRequest(); buildCounterGoogleCloudAiplatformV1MergeVersionAliasesRequest++; if (buildCounterGoogleCloudAiplatformV1MergeVersionAliasesRequest < 3) { - o.versionAliases = buildUnnamed192(); + o.versionAliases = buildUnnamed195(); } buildCounterGoogleCloudAiplatformV1MergeVersionAliasesRequest--; return o; @@ -12087,7 +12329,7 @@ void checkGoogleCloudAiplatformV1MergeVersionAliasesRequest( api.GoogleCloudAiplatformV1MergeVersionAliasesRequest o) { buildCounterGoogleCloudAiplatformV1MergeVersionAliasesRequest++; if (buildCounterGoogleCloudAiplatformV1MergeVersionAliasesRequest < 3) { - checkUnnamed192(o.versionAliases!); + checkUnnamed195(o.versionAliases!); } buildCounterGoogleCloudAiplatformV1MergeVersionAliasesRequest--; } @@ -12336,12 +12578,12 @@ void checkGoogleCloudAiplatformV1MigratableResourceAutomlModel( core.List< api .GoogleCloudAiplatformV1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset> - buildUnnamed193() => [ + buildUnnamed196() => [ buildGoogleCloudAiplatformV1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset(), buildGoogleCloudAiplatformV1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset(), ]; -void checkUnnamed193( +void checkUnnamed196( core.List< api .GoogleCloudAiplatformV1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset> @@ -12362,7 +12604,7 @@ api.GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset buildCounterGoogleCloudAiplatformV1MigratableResourceDataLabelingDataset++; if (buildCounterGoogleCloudAiplatformV1MigratableResourceDataLabelingDataset < 3) { - o.dataLabelingAnnotatedDatasets = buildUnnamed193(); + o.dataLabelingAnnotatedDatasets = buildUnnamed196(); o.dataset = 'foo'; o.datasetDisplayName = 'foo'; } @@ -12375,7 +12617,7 @@ void checkGoogleCloudAiplatformV1MigratableResourceDataLabelingDataset( buildCounterGoogleCloudAiplatformV1MigratableResourceDataLabelingDataset++; if (buildCounterGoogleCloudAiplatformV1MigratableResourceDataLabelingDataset < 3) { - checkUnnamed193(o.dataLabelingAnnotatedDatasets!); + checkUnnamed196(o.dataLabelingAnnotatedDatasets!); unittest.expect( o.dataset!, unittest.equals('foo'), @@ -12564,12 +12806,12 @@ void checkGoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlModelConfig( core.List< api .GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig> - buildUnnamed194() => [ + buildUnnamed197() => [ buildGoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig(), buildGoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig(), ]; -void checkUnnamed194( +void checkUnnamed197( core.List< api .GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfigMigrateDataLabelingAnnotatedDatasetConfig> @@ -12593,7 +12835,7 @@ api.GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfi 3) { o.dataset = 'foo'; o.datasetDisplayName = 'foo'; - o.migrateDataLabelingAnnotatedDatasetConfigs = buildUnnamed194(); + o.migrateDataLabelingAnnotatedDatasetConfigs = buildUnnamed197(); } buildCounterGoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfig--; return o; @@ -12613,7 +12855,7 @@ void checkGoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatase o.datasetDisplayName!, unittest.equals('foo'), ); - checkUnnamed194(o.migrateDataLabelingAnnotatedDatasetConfigs!); + checkUnnamed197(o.migrateDataLabelingAnnotatedDatasetConfigs!); } buildCounterGoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfig--; } @@ -12688,23 +12930,23 @@ void checkGoogleCloudAiplatformV1MigrateResourceRequestMigrateMlEngineModelVersi buildCounterGoogleCloudAiplatformV1MigrateResourceRequestMigrateMlEngineModelVersionConfig--; } -core.List buildUnnamed195() => [ +core.List buildUnnamed198() => [ buildGoogleCloudAiplatformV1DeployedModelRef(), buildGoogleCloudAiplatformV1DeployedModelRef(), ]; -void checkUnnamed195(core.List o) { +void checkUnnamed198(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DeployedModelRef(o[0]); checkGoogleCloudAiplatformV1DeployedModelRef(o[1]); } -core.Map buildUnnamed196() => { +core.Map buildUnnamed199() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed196(core.Map o) { +void checkUnnamed199(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -12716,12 +12958,12 @@ void checkUnnamed196(core.Map o) { ); } -core.List buildUnnamed197() => [ +core.List buildUnnamed200() => [ 'foo', 'foo', ]; -void checkUnnamed197(core.List o) { +void checkUnnamed200(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12733,24 +12975,24 @@ void checkUnnamed197(core.List o) { ); } -core.List buildUnnamed198() => [ +core.List buildUnnamed201() => [ buildGoogleCloudAiplatformV1ModelExportFormat(), buildGoogleCloudAiplatformV1ModelExportFormat(), ]; -void checkUnnamed198( +void checkUnnamed201( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ModelExportFormat(o[0]); checkGoogleCloudAiplatformV1ModelExportFormat(o[1]); } -core.List buildUnnamed199() => [ +core.List buildUnnamed202() => [ 'foo', 'foo', ]; -void checkUnnamed199(core.List o) { +void checkUnnamed202(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12762,12 +13004,12 @@ void checkUnnamed199(core.List o) { ); } -core.List buildUnnamed200() => [ +core.List buildUnnamed203() => [ 'foo', 'foo', ]; -void checkUnnamed200(core.List o) { +void checkUnnamed203(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12779,12 +13021,12 @@ void checkUnnamed200(core.List o) { ); } -core.List buildUnnamed201() => [ +core.List buildUnnamed204() => [ 'foo', 'foo', ]; -void checkUnnamed201(core.List o) { +void checkUnnamed204(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12806,13 +13048,13 @@ api.GoogleCloudAiplatformV1Model buildGoogleCloudAiplatformV1Model() { o.containerSpec = buildGoogleCloudAiplatformV1ModelContainerSpec(); o.createTime = 'foo'; o.dataStats = buildGoogleCloudAiplatformV1ModelDataStats(); - o.deployedModels = buildUnnamed195(); + o.deployedModels = buildUnnamed198(); o.description = 'foo'; o.displayName = 'foo'; o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.etag = 'foo'; o.explanationSpec = buildGoogleCloudAiplatformV1ExplanationSpec(); - o.labels = buildUnnamed196(); + o.labels = buildUnnamed199(); o.metadata = { 'list': [1, 2, 3], 'bool': true, @@ -12825,13 +13067,13 @@ api.GoogleCloudAiplatformV1Model buildGoogleCloudAiplatformV1Model() { o.originalModelInfo = buildGoogleCloudAiplatformV1ModelOriginalModelInfo(); o.pipelineJob = 'foo'; o.predictSchemata = buildGoogleCloudAiplatformV1PredictSchemata(); - o.supportedDeploymentResourcesTypes = buildUnnamed197(); - o.supportedExportFormats = buildUnnamed198(); - o.supportedInputStorageFormats = buildUnnamed199(); - o.supportedOutputStorageFormats = buildUnnamed200(); + o.supportedDeploymentResourcesTypes = buildUnnamed200(); + o.supportedExportFormats = buildUnnamed201(); + o.supportedInputStorageFormats = buildUnnamed202(); + o.supportedOutputStorageFormats = buildUnnamed203(); o.trainingPipeline = 'foo'; o.updateTime = 'foo'; - o.versionAliases = buildUnnamed201(); + o.versionAliases = buildUnnamed204(); o.versionCreateTime = 'foo'; o.versionDescription = 'foo'; o.versionId = 'foo'; @@ -12855,7 +13097,7 @@ void checkGoogleCloudAiplatformV1Model(api.GoogleCloudAiplatformV1Model o) { unittest.equals('foo'), ); checkGoogleCloudAiplatformV1ModelDataStats(o.dataStats!); - checkUnnamed195(o.deployedModels!); + checkUnnamed198(o.deployedModels!); unittest.expect( o.description!, unittest.equals('foo'), @@ -12870,7 +13112,7 @@ void checkGoogleCloudAiplatformV1Model(api.GoogleCloudAiplatformV1Model o) { unittest.equals('foo'), ); checkGoogleCloudAiplatformV1ExplanationSpec(o.explanationSpec!); - checkUnnamed196(o.labels!); + checkUnnamed199(o.labels!); var casted47 = (o.metadata!) as core.Map; unittest.expect(casted47, unittest.hasLength(3)); unittest.expect( @@ -12904,10 +13146,10 @@ void checkGoogleCloudAiplatformV1Model(api.GoogleCloudAiplatformV1Model o) { unittest.equals('foo'), ); checkGoogleCloudAiplatformV1PredictSchemata(o.predictSchemata!); - checkUnnamed197(o.supportedDeploymentResourcesTypes!); - checkUnnamed198(o.supportedExportFormats!); - checkUnnamed199(o.supportedInputStorageFormats!); - checkUnnamed200(o.supportedOutputStorageFormats!); + checkUnnamed200(o.supportedDeploymentResourcesTypes!); + checkUnnamed201(o.supportedExportFormats!); + checkUnnamed202(o.supportedInputStorageFormats!); + checkUnnamed203(o.supportedOutputStorageFormats!); unittest.expect( o.trainingPipeline!, unittest.equals('foo'), @@ -12916,7 +13158,7 @@ void checkGoogleCloudAiplatformV1Model(api.GoogleCloudAiplatformV1Model o) { o.updateTime!, unittest.equals('foo'), ); - checkUnnamed201(o.versionAliases!); + checkUnnamed204(o.versionAliases!); unittest.expect( o.versionCreateTime!, unittest.equals('foo'), @@ -12960,12 +13202,12 @@ void checkGoogleCloudAiplatformV1ModelBaseModelSource( buildCounterGoogleCloudAiplatformV1ModelBaseModelSource--; } -core.List buildUnnamed202() => [ +core.List buildUnnamed205() => [ 'foo', 'foo', ]; -void checkUnnamed202(core.List o) { +void checkUnnamed205(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12977,12 +13219,12 @@ void checkUnnamed202(core.List o) { ); } -core.List buildUnnamed203() => [ +core.List buildUnnamed206() => [ 'foo', 'foo', ]; -void checkUnnamed203(core.List o) { +void checkUnnamed206(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12994,34 +13236,34 @@ void checkUnnamed203(core.List o) { ); } -core.List buildUnnamed204() => [ +core.List buildUnnamed207() => [ buildGoogleCloudAiplatformV1EnvVar(), buildGoogleCloudAiplatformV1EnvVar(), ]; -void checkUnnamed204(core.List o) { +void checkUnnamed207(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1EnvVar(o[0]); checkGoogleCloudAiplatformV1EnvVar(o[1]); } -core.List buildUnnamed205() => [ +core.List buildUnnamed208() => [ buildGoogleCloudAiplatformV1Port(), buildGoogleCloudAiplatformV1Port(), ]; -void checkUnnamed205(core.List o) { +void checkUnnamed208(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Port(o[0]); checkGoogleCloudAiplatformV1Port(o[1]); } -core.List buildUnnamed206() => [ +core.List buildUnnamed209() => [ buildGoogleCloudAiplatformV1Port(), buildGoogleCloudAiplatformV1Port(), ]; -void checkUnnamed206(core.List o) { +void checkUnnamed209(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Port(o[0]); checkGoogleCloudAiplatformV1Port(o[1]); @@ -13033,15 +13275,15 @@ api.GoogleCloudAiplatformV1ModelContainerSpec final o = api.GoogleCloudAiplatformV1ModelContainerSpec(); buildCounterGoogleCloudAiplatformV1ModelContainerSpec++; if (buildCounterGoogleCloudAiplatformV1ModelContainerSpec < 3) { - o.args = buildUnnamed202(); - o.command = buildUnnamed203(); + o.args = buildUnnamed205(); + o.command = buildUnnamed206(); o.deploymentTimeout = 'foo'; - o.env = buildUnnamed204(); - o.grpcPorts = buildUnnamed205(); + o.env = buildUnnamed207(); + o.grpcPorts = buildUnnamed208(); o.healthProbe = buildGoogleCloudAiplatformV1Probe(); o.healthRoute = 'foo'; o.imageUri = 'foo'; - o.ports = buildUnnamed206(); + o.ports = buildUnnamed209(); o.predictRoute = 'foo'; o.sharedMemorySizeMb = 'foo'; o.startupProbe = buildGoogleCloudAiplatformV1Probe(); @@ -13054,14 +13296,14 @@ void checkGoogleCloudAiplatformV1ModelContainerSpec( api.GoogleCloudAiplatformV1ModelContainerSpec o) { buildCounterGoogleCloudAiplatformV1ModelContainerSpec++; if (buildCounterGoogleCloudAiplatformV1ModelContainerSpec < 3) { - checkUnnamed202(o.args!); - checkUnnamed203(o.command!); + checkUnnamed205(o.args!); + checkUnnamed206(o.command!); unittest.expect( o.deploymentTimeout!, unittest.equals('foo'), ); - checkUnnamed204(o.env!); - checkUnnamed205(o.grpcPorts!); + checkUnnamed207(o.env!); + checkUnnamed208(o.grpcPorts!); checkGoogleCloudAiplatformV1Probe(o.healthProbe!); unittest.expect( o.healthRoute!, @@ -13071,7 +13313,7 @@ void checkGoogleCloudAiplatformV1ModelContainerSpec( o.imageUri!, unittest.equals('foo'), ); - checkUnnamed206(o.ports!); + checkUnnamed209(o.ports!); unittest.expect( o.predictRoute!, unittest.equals('foo'), @@ -13178,12 +13420,12 @@ void checkGoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable( } core.List - buildUnnamed207() => [ + buildUnnamed210() => [ buildGoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable(), buildGoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable(), ]; -void checkUnnamed207( +void checkUnnamed210( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -13191,12 +13433,12 @@ void checkUnnamed207( checkGoogleCloudAiplatformV1ModelDeploymentMonitoringBigQueryTable(o[1]); } -core.Map buildUnnamed208() => { +core.Map buildUnnamed211() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed208(core.Map o) { +void checkUnnamed211(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -13209,12 +13451,12 @@ void checkUnnamed208(core.Map o) { } core.List - buildUnnamed209() => [ + buildUnnamed212() => [ buildGoogleCloudAiplatformV1ModelDeploymentMonitoringObjectiveConfig(), buildGoogleCloudAiplatformV1ModelDeploymentMonitoringObjectiveConfig(), ]; -void checkUnnamed209( +void checkUnnamed212( core.List< api.GoogleCloudAiplatformV1ModelDeploymentMonitoringObjectiveConfig> o) { @@ -13230,19 +13472,19 @@ api.GoogleCloudAiplatformV1ModelDeploymentMonitoringJob buildCounterGoogleCloudAiplatformV1ModelDeploymentMonitoringJob++; if (buildCounterGoogleCloudAiplatformV1ModelDeploymentMonitoringJob < 3) { o.analysisInstanceSchemaUri = 'foo'; - o.bigqueryTables = buildUnnamed207(); + o.bigqueryTables = buildUnnamed210(); o.createTime = 'foo'; o.displayName = 'foo'; o.enableMonitoringPipelineLogs = true; o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.endpoint = 'foo'; o.error = buildGoogleRpcStatus(); - o.labels = buildUnnamed208(); + o.labels = buildUnnamed211(); o.latestMonitoringPipelineMetadata = buildGoogleCloudAiplatformV1ModelDeploymentMonitoringJobLatestMonitoringPipelineMetadata(); o.logTtl = 'foo'; o.loggingSamplingStrategy = buildGoogleCloudAiplatformV1SamplingStrategy(); - o.modelDeploymentMonitoringObjectiveConfigs = buildUnnamed209(); + o.modelDeploymentMonitoringObjectiveConfigs = buildUnnamed212(); o.modelDeploymentMonitoringScheduleConfig = buildGoogleCloudAiplatformV1ModelDeploymentMonitoringScheduleConfig(); o.modelMonitoringAlertConfig = @@ -13273,7 +13515,7 @@ void checkGoogleCloudAiplatformV1ModelDeploymentMonitoringJob( o.analysisInstanceSchemaUri!, unittest.equals('foo'), ); - checkUnnamed207(o.bigqueryTables!); + checkUnnamed210(o.bigqueryTables!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -13289,7 +13531,7 @@ void checkGoogleCloudAiplatformV1ModelDeploymentMonitoringJob( unittest.equals('foo'), ); checkGoogleRpcStatus(o.error!); - checkUnnamed208(o.labels!); + checkUnnamed211(o.labels!); checkGoogleCloudAiplatformV1ModelDeploymentMonitoringJobLatestMonitoringPipelineMetadata( o.latestMonitoringPipelineMetadata!); unittest.expect( @@ -13297,7 +13539,7 @@ void checkGoogleCloudAiplatformV1ModelDeploymentMonitoringJob( unittest.equals('foo'), ); checkGoogleCloudAiplatformV1SamplingStrategy(o.loggingSamplingStrategy!); - checkUnnamed209(o.modelDeploymentMonitoringObjectiveConfigs!); + checkUnnamed212(o.modelDeploymentMonitoringObjectiveConfigs!); checkGoogleCloudAiplatformV1ModelDeploymentMonitoringScheduleConfig( o.modelDeploymentMonitoringScheduleConfig!); checkGoogleCloudAiplatformV1ModelMonitoringAlertConfig( @@ -13447,12 +13689,12 @@ void checkGoogleCloudAiplatformV1ModelDeploymentMonitoringScheduleConfig( core.List< api .GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec> - buildUnnamed210() => [ + buildUnnamed213() => [ buildGoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec(), buildGoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec(), ]; -void checkUnnamed210( +void checkUnnamed213( core.List< api .GoogleCloudAiplatformV1ModelEvaluationModelEvaluationExplanationSpec> @@ -13464,12 +13706,12 @@ void checkUnnamed210( o[1]); } -core.List buildUnnamed211() => [ +core.List buildUnnamed214() => [ 'foo', 'foo', ]; -void checkUnnamed211(core.List o) { +void checkUnnamed214(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13491,7 +13733,7 @@ api.GoogleCloudAiplatformV1ModelEvaluation o.createTime = 'foo'; o.dataItemSchemaUri = 'foo'; o.displayName = 'foo'; - o.explanationSpecs = buildUnnamed210(); + o.explanationSpecs = buildUnnamed213(); o.metadata = { 'list': [1, 2, 3], 'bool': true, @@ -13505,7 +13747,7 @@ api.GoogleCloudAiplatformV1ModelEvaluation o.metricsSchemaUri = 'foo'; o.modelExplanation = buildGoogleCloudAiplatformV1ModelExplanation(); o.name = 'foo'; - o.sliceDimensions = buildUnnamed211(); + o.sliceDimensions = buildUnnamed214(); } buildCounterGoogleCloudAiplatformV1ModelEvaluation--; return o; @@ -13531,7 +13773,7 @@ void checkGoogleCloudAiplatformV1ModelEvaluation( o.displayName!, unittest.equals('foo'), ); - checkUnnamed210(o.explanationSpecs!); + checkUnnamed213(o.explanationSpecs!); var casted49 = (o.metadata!) as core.Map; unittest.expect(casted49, unittest.hasLength(3)); unittest.expect( @@ -13569,7 +13811,7 @@ void checkGoogleCloudAiplatformV1ModelEvaluation( o.name!, unittest.equals('foo'), ); - checkUnnamed211(o.sliceDimensions!); + checkUnnamed214(o.sliceDimensions!); } buildCounterGoogleCloudAiplatformV1ModelEvaluation--; } @@ -13700,14 +13942,14 @@ core.Map< core.String, api .GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecSliceConfig> - buildUnnamed212() => { + buildUnnamed215() => { 'x': buildGoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecSliceConfig(), 'y': buildGoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecSliceConfig(), }; -void checkUnnamed212( +void checkUnnamed215( core.Map< core.String, api @@ -13728,7 +13970,7 @@ api.GoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec buildCounterGoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec++; if (buildCounterGoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec < 3) { - o.configs = buildUnnamed212(); + o.configs = buildUnnamed215(); } buildCounterGoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec--; return o; @@ -13739,7 +13981,7 @@ void checkGoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec( buildCounterGoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec++; if (buildCounterGoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec < 3) { - checkUnnamed212(o.configs!); + checkUnnamed215(o.configs!); } buildCounterGoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpec--; } @@ -13847,12 +14089,12 @@ void checkGoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecValue( buildCounterGoogleCloudAiplatformV1ModelEvaluationSliceSliceSliceSpecValue--; } -core.List buildUnnamed213() => [ +core.List buildUnnamed216() => [ buildGoogleCloudAiplatformV1Attribution(), buildGoogleCloudAiplatformV1Attribution(), ]; -void checkUnnamed213(core.List o) { +void checkUnnamed216(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Attribution(o[0]); checkGoogleCloudAiplatformV1Attribution(o[1]); @@ -13864,7 +14106,7 @@ api.GoogleCloudAiplatformV1ModelExplanation final o = api.GoogleCloudAiplatformV1ModelExplanation(); buildCounterGoogleCloudAiplatformV1ModelExplanation++; if (buildCounterGoogleCloudAiplatformV1ModelExplanation < 3) { - o.meanAttributions = buildUnnamed213(); + o.meanAttributions = buildUnnamed216(); } buildCounterGoogleCloudAiplatformV1ModelExplanation--; return o; @@ -13874,17 +14116,17 @@ void checkGoogleCloudAiplatformV1ModelExplanation( api.GoogleCloudAiplatformV1ModelExplanation o) { buildCounterGoogleCloudAiplatformV1ModelExplanation++; if (buildCounterGoogleCloudAiplatformV1ModelExplanation < 3) { - checkUnnamed213(o.meanAttributions!); + checkUnnamed216(o.meanAttributions!); } buildCounterGoogleCloudAiplatformV1ModelExplanation--; } -core.List buildUnnamed214() => [ +core.List buildUnnamed217() => [ 'foo', 'foo', ]; -void checkUnnamed214(core.List o) { +void checkUnnamed217(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13902,7 +14144,7 @@ api.GoogleCloudAiplatformV1ModelExportFormat final o = api.GoogleCloudAiplatformV1ModelExportFormat(); buildCounterGoogleCloudAiplatformV1ModelExportFormat++; if (buildCounterGoogleCloudAiplatformV1ModelExportFormat < 3) { - o.exportableContents = buildUnnamed214(); + o.exportableContents = buildUnnamed217(); o.id = 'foo'; } buildCounterGoogleCloudAiplatformV1ModelExportFormat--; @@ -13913,7 +14155,7 @@ void checkGoogleCloudAiplatformV1ModelExportFormat( api.GoogleCloudAiplatformV1ModelExportFormat o) { buildCounterGoogleCloudAiplatformV1ModelExportFormat++; if (buildCounterGoogleCloudAiplatformV1ModelExportFormat < 3) { - checkUnnamed214(o.exportableContents!); + checkUnnamed217(o.exportableContents!); unittest.expect( o.id!, unittest.equals('foo'), @@ -13946,12 +14188,12 @@ void checkGoogleCloudAiplatformV1ModelGardenSource( buildCounterGoogleCloudAiplatformV1ModelGardenSource--; } -core.List buildUnnamed215() => [ +core.List buildUnnamed218() => [ 'foo', 'foo', ]; -void checkUnnamed215(core.List o) { +void checkUnnamed218(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13972,7 +14214,7 @@ api.GoogleCloudAiplatformV1ModelMonitoringAlertConfig o.emailAlertConfig = buildGoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig(); o.enableLogging = true; - o.notificationChannels = buildUnnamed215(); + o.notificationChannels = buildUnnamed218(); } buildCounterGoogleCloudAiplatformV1ModelMonitoringAlertConfig--; return o; @@ -13985,17 +14227,17 @@ void checkGoogleCloudAiplatformV1ModelMonitoringAlertConfig( checkGoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig( o.emailAlertConfig!); unittest.expect(o.enableLogging!, unittest.isTrue); - checkUnnamed215(o.notificationChannels!); + checkUnnamed218(o.notificationChannels!); } buildCounterGoogleCloudAiplatformV1ModelMonitoringAlertConfig--; } -core.List buildUnnamed216() => [ +core.List buildUnnamed219() => [ 'foo', 'foo', ]; -void checkUnnamed216(core.List o) { +void checkUnnamed219(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14017,7 +14259,7 @@ api.GoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig buildCounterGoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig++; if (buildCounterGoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig < 3) { - o.userEmails = buildUnnamed216(); + o.userEmails = buildUnnamed219(); } buildCounterGoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig--; return o; @@ -14028,7 +14270,7 @@ void checkGoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig( buildCounterGoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig++; if (buildCounterGoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig < 3) { - checkUnnamed216(o.userEmails!); + checkUnnamed219(o.userEmails!); } buildCounterGoogleCloudAiplatformV1ModelMonitoringAlertConfigEmailAlertConfig--; } @@ -14134,12 +14376,12 @@ void checkGoogleCloudAiplatformV1ModelMonitoringObjectiveConfigExplanationConfig } core.Map - buildUnnamed217() => { + buildUnnamed220() => { 'x': buildGoogleCloudAiplatformV1ThresholdConfig(), 'y': buildGoogleCloudAiplatformV1ThresholdConfig(), }; -void checkUnnamed217( +void checkUnnamed220( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ThresholdConfig(o['x']!); @@ -14147,12 +14389,12 @@ void checkUnnamed217( } core.Map - buildUnnamed218() => { + buildUnnamed221() => { 'x': buildGoogleCloudAiplatformV1ThresholdConfig(), 'y': buildGoogleCloudAiplatformV1ThresholdConfig(), }; -void checkUnnamed218( +void checkUnnamed221( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ThresholdConfig(o['x']!); @@ -14169,9 +14411,9 @@ api.GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectio buildCounterGoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfig++; if (buildCounterGoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfig < 3) { - o.attributionScoreDriftThresholds = buildUnnamed217(); + o.attributionScoreDriftThresholds = buildUnnamed220(); o.defaultDriftThreshold = buildGoogleCloudAiplatformV1ThresholdConfig(); - o.driftThresholds = buildUnnamed218(); + o.driftThresholds = buildUnnamed221(); } buildCounterGoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfig--; return o; @@ -14183,9 +14425,9 @@ void checkGoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDe buildCounterGoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfig++; if (buildCounterGoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfig < 3) { - checkUnnamed217(o.attributionScoreDriftThresholds!); + checkUnnamed220(o.attributionScoreDriftThresholds!); checkGoogleCloudAiplatformV1ThresholdConfig(o.defaultDriftThreshold!); - checkUnnamed218(o.driftThresholds!); + checkUnnamed221(o.driftThresholds!); } buildCounterGoogleCloudAiplatformV1ModelMonitoringObjectiveConfigPredictionDriftDetectionConfig--; } @@ -14237,12 +14479,12 @@ void checkGoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingDataset( } core.Map - buildUnnamed219() => { + buildUnnamed222() => { 'x': buildGoogleCloudAiplatformV1ThresholdConfig(), 'y': buildGoogleCloudAiplatformV1ThresholdConfig(), }; -void checkUnnamed219( +void checkUnnamed222( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ThresholdConfig(o['x']!); @@ -14250,12 +14492,12 @@ void checkUnnamed219( } core.Map - buildUnnamed220() => { + buildUnnamed223() => { 'x': buildGoogleCloudAiplatformV1ThresholdConfig(), 'y': buildGoogleCloudAiplatformV1ThresholdConfig(), }; -void checkUnnamed220( +void checkUnnamed223( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ThresholdConfig(o['x']!); @@ -14272,9 +14514,9 @@ api.GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewD buildCounterGoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig++; if (buildCounterGoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig < 3) { - o.attributionScoreSkewThresholds = buildUnnamed219(); + o.attributionScoreSkewThresholds = buildUnnamed222(); o.defaultSkewThreshold = buildGoogleCloudAiplatformV1ThresholdConfig(); - o.skewThresholds = buildUnnamed220(); + o.skewThresholds = buildUnnamed223(); } buildCounterGoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig--; return o; @@ -14286,9 +14528,9 @@ void checkGoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictio buildCounterGoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig++; if (buildCounterGoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig < 3) { - checkUnnamed219(o.attributionScoreSkewThresholds!); + checkUnnamed222(o.attributionScoreSkewThresholds!); checkGoogleCloudAiplatformV1ThresholdConfig(o.defaultSkewThreshold!); - checkUnnamed220(o.skewThresholds!); + checkUnnamed223(o.skewThresholds!); } buildCounterGoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictionSkewDetectionConfig--; } @@ -14296,12 +14538,12 @@ void checkGoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingPredictio core.List< api .GoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies> - buildUnnamed221() => [ + buildUnnamed224() => [ buildGoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies(), buildGoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies(), ]; -void checkUnnamed221( +void checkUnnamed224( core.List< api .GoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies> @@ -14321,7 +14563,7 @@ api.GoogleCloudAiplatformV1ModelMonitoringStatsAnomalies if (buildCounterGoogleCloudAiplatformV1ModelMonitoringStatsAnomalies < 3) { o.anomalyCount = 42; o.deployedModelId = 'foo'; - o.featureStats = buildUnnamed221(); + o.featureStats = buildUnnamed224(); o.objective = 'foo'; } buildCounterGoogleCloudAiplatformV1ModelMonitoringStatsAnomalies--; @@ -14340,7 +14582,7 @@ void checkGoogleCloudAiplatformV1ModelMonitoringStatsAnomalies( o.deployedModelId!, unittest.equals('foo'), ); - checkUnnamed221(o.featureStats!); + checkUnnamed224(o.featureStats!); unittest.expect( o.objective!, unittest.equals('foo'), @@ -14349,12 +14591,12 @@ void checkGoogleCloudAiplatformV1ModelMonitoringStatsAnomalies( buildCounterGoogleCloudAiplatformV1ModelMonitoringStatsAnomalies--; } -core.List buildUnnamed222() => [ +core.List buildUnnamed225() => [ buildGoogleCloudAiplatformV1FeatureStatsAnomaly(), buildGoogleCloudAiplatformV1FeatureStatsAnomaly(), ]; -void checkUnnamed222( +void checkUnnamed225( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1FeatureStatsAnomaly(o[0]); @@ -14372,7 +14614,7 @@ api.GoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnom if (buildCounterGoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricStatsAnomalies < 3) { o.featureDisplayName = 'foo'; - o.predictionStats = buildUnnamed222(); + o.predictionStats = buildUnnamed225(); o.threshold = buildGoogleCloudAiplatformV1ThresholdConfig(); o.trainingStats = buildGoogleCloudAiplatformV1FeatureStatsAnomaly(); } @@ -14390,7 +14632,7 @@ void checkGoogleCloudAiplatformV1ModelMonitoringStatsAnomaliesFeatureHistoricSta o.featureDisplayName!, unittest.equals('foo'), ); - checkUnnamed222(o.predictionStats!); + checkUnnamed225(o.predictionStats!); checkGoogleCloudAiplatformV1ThresholdConfig(o.threshold!); checkGoogleCloudAiplatformV1FeatureStatsAnomaly(o.trainingStats!); } @@ -14473,12 +14715,12 @@ void checkGoogleCloudAiplatformV1MutateDeployedModelRequest( buildCounterGoogleCloudAiplatformV1MutateDeployedModelRequest--; } -core.Map buildUnnamed223() => { +core.Map buildUnnamed226() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed223(core.Map o) { +void checkUnnamed226(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -14501,7 +14743,7 @@ api.GoogleCloudAiplatformV1NasJob buildGoogleCloudAiplatformV1NasJob() { o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.endTime = 'foo'; o.error = buildGoogleRpcStatus(); - o.labels = buildUnnamed223(); + o.labels = buildUnnamed226(); o.name = 'foo'; o.nasJobOutput = buildGoogleCloudAiplatformV1NasJobOutput(); o.nasJobSpec = buildGoogleCloudAiplatformV1NasJobSpec(); @@ -14531,7 +14773,7 @@ void checkGoogleCloudAiplatformV1NasJob(api.GoogleCloudAiplatformV1NasJob o) { unittest.equals('foo'), ); checkGoogleRpcStatus(o.error!); - checkUnnamed223(o.labels!); + checkUnnamed226(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -14577,23 +14819,23 @@ void checkGoogleCloudAiplatformV1NasJobOutput( buildCounterGoogleCloudAiplatformV1NasJobOutput--; } -core.List buildUnnamed224() => [ +core.List buildUnnamed227() => [ buildGoogleCloudAiplatformV1NasTrial(), buildGoogleCloudAiplatformV1NasTrial(), ]; -void checkUnnamed224(core.List o) { +void checkUnnamed227(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1NasTrial(o[0]); checkGoogleCloudAiplatformV1NasTrial(o[1]); } -core.List buildUnnamed225() => [ +core.List buildUnnamed228() => [ buildGoogleCloudAiplatformV1NasTrial(), buildGoogleCloudAiplatformV1NasTrial(), ]; -void checkUnnamed225(core.List o) { +void checkUnnamed228(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1NasTrial(o[0]); checkGoogleCloudAiplatformV1NasTrial(o[1]); @@ -14605,8 +14847,8 @@ api.GoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput final o = api.GoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput(); buildCounterGoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput++; if (buildCounterGoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput < 3) { - o.searchTrials = buildUnnamed224(); - o.trainTrials = buildUnnamed225(); + o.searchTrials = buildUnnamed227(); + o.trainTrials = buildUnnamed228(); } buildCounterGoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput--; return o; @@ -14616,8 +14858,8 @@ void checkGoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput( api.GoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput o) { buildCounterGoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput++; if (buildCounterGoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput < 3) { - checkUnnamed224(o.searchTrials!); - checkUnnamed225(o.trainTrials!); + checkUnnamed227(o.searchTrials!); + checkUnnamed228(o.trainTrials!); } buildCounterGoogleCloudAiplatformV1NasJobOutputMultiTrialJobOutput--; } @@ -14880,12 +15122,12 @@ void checkGoogleCloudAiplatformV1NasTrialDetail( } core.List - buildUnnamed226() => [ + buildUnnamed229() => [ buildGoogleCloudAiplatformV1NearestNeighborQueryStringFilter(), buildGoogleCloudAiplatformV1NearestNeighborQueryStringFilter(), ]; -void checkUnnamed226( +void checkUnnamed229( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1NearestNeighborQueryStringFilter(o[0]); @@ -14903,7 +15145,7 @@ api.GoogleCloudAiplatformV1NearestNeighborQuery o.neighborCount = 42; o.parameters = buildGoogleCloudAiplatformV1NearestNeighborQueryParameters(); o.perCrowdingAttributeNeighborCount = 42; - o.stringFilters = buildUnnamed226(); + o.stringFilters = buildUnnamed229(); } buildCounterGoogleCloudAiplatformV1NearestNeighborQuery--; return o; @@ -14927,17 +15169,17 @@ void checkGoogleCloudAiplatformV1NearestNeighborQuery( o.perCrowdingAttributeNeighborCount!, unittest.equals(42), ); - checkUnnamed226(o.stringFilters!); + checkUnnamed229(o.stringFilters!); } buildCounterGoogleCloudAiplatformV1NearestNeighborQuery--; } -core.List buildUnnamed227() => [ +core.List buildUnnamed230() => [ 42.0, 42.0, ]; -void checkUnnamed227(core.List o) { +void checkUnnamed230(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14955,7 +15197,7 @@ api.GoogleCloudAiplatformV1NearestNeighborQueryEmbedding final o = api.GoogleCloudAiplatformV1NearestNeighborQueryEmbedding(); buildCounterGoogleCloudAiplatformV1NearestNeighborQueryEmbedding++; if (buildCounterGoogleCloudAiplatformV1NearestNeighborQueryEmbedding < 3) { - o.value = buildUnnamed227(); + o.value = buildUnnamed230(); } buildCounterGoogleCloudAiplatformV1NearestNeighborQueryEmbedding--; return o; @@ -14965,7 +15207,7 @@ void checkGoogleCloudAiplatformV1NearestNeighborQueryEmbedding( api.GoogleCloudAiplatformV1NearestNeighborQueryEmbedding o) { buildCounterGoogleCloudAiplatformV1NearestNeighborQueryEmbedding++; if (buildCounterGoogleCloudAiplatformV1NearestNeighborQueryEmbedding < 3) { - checkUnnamed227(o.value!); + checkUnnamed230(o.value!); } buildCounterGoogleCloudAiplatformV1NearestNeighborQueryEmbedding--; } @@ -14999,12 +15241,12 @@ void checkGoogleCloudAiplatformV1NearestNeighborQueryParameters( buildCounterGoogleCloudAiplatformV1NearestNeighborQueryParameters--; } -core.List buildUnnamed228() => [ +core.List buildUnnamed231() => [ 'foo', 'foo', ]; -void checkUnnamed228(core.List o) { +void checkUnnamed231(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15016,12 +15258,12 @@ void checkUnnamed228(core.List o) { ); } -core.List buildUnnamed229() => [ +core.List buildUnnamed232() => [ 'foo', 'foo', ]; -void checkUnnamed229(core.List o) { +void checkUnnamed232(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15040,8 +15282,8 @@ api.GoogleCloudAiplatformV1NearestNeighborQueryStringFilter final o = api.GoogleCloudAiplatformV1NearestNeighborQueryStringFilter(); buildCounterGoogleCloudAiplatformV1NearestNeighborQueryStringFilter++; if (buildCounterGoogleCloudAiplatformV1NearestNeighborQueryStringFilter < 3) { - o.allowTokens = buildUnnamed228(); - o.denyTokens = buildUnnamed229(); + o.allowTokens = buildUnnamed231(); + o.denyTokens = buildUnnamed232(); o.name = 'foo'; } buildCounterGoogleCloudAiplatformV1NearestNeighborQueryStringFilter--; @@ -15052,8 +15294,8 @@ void checkGoogleCloudAiplatformV1NearestNeighborQueryStringFilter( api.GoogleCloudAiplatformV1NearestNeighborQueryStringFilter o) { buildCounterGoogleCloudAiplatformV1NearestNeighborQueryStringFilter++; if (buildCounterGoogleCloudAiplatformV1NearestNeighborQueryStringFilter < 3) { - checkUnnamed228(o.allowTokens!); - checkUnnamed229(o.denyTokens!); + checkUnnamed231(o.allowTokens!); + checkUnnamed232(o.denyTokens!); unittest.expect( o.name!, unittest.equals('foo'), @@ -15063,12 +15305,12 @@ void checkGoogleCloudAiplatformV1NearestNeighborQueryStringFilter( } core.List - buildUnnamed230() => [ + buildUnnamed233() => [ buildGoogleCloudAiplatformV1NearestNeighborsNeighbor(), buildGoogleCloudAiplatformV1NearestNeighborsNeighbor(), ]; -void checkUnnamed230( +void checkUnnamed233( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1NearestNeighborsNeighbor(o[0]); @@ -15081,7 +15323,7 @@ api.GoogleCloudAiplatformV1NearestNeighbors final o = api.GoogleCloudAiplatformV1NearestNeighbors(); buildCounterGoogleCloudAiplatformV1NearestNeighbors++; if (buildCounterGoogleCloudAiplatformV1NearestNeighbors < 3) { - o.neighbors = buildUnnamed230(); + o.neighbors = buildUnnamed233(); } buildCounterGoogleCloudAiplatformV1NearestNeighbors--; return o; @@ -15091,7 +15333,7 @@ void checkGoogleCloudAiplatformV1NearestNeighbors( api.GoogleCloudAiplatformV1NearestNeighbors o) { buildCounterGoogleCloudAiplatformV1NearestNeighbors++; if (buildCounterGoogleCloudAiplatformV1NearestNeighbors < 3) { - checkUnnamed230(o.neighbors!); + checkUnnamed233(o.neighbors!); } buildCounterGoogleCloudAiplatformV1NearestNeighbors--; } @@ -15269,12 +15511,12 @@ void checkGoogleCloudAiplatformV1NotebookIdleShutdownConfig( buildCounterGoogleCloudAiplatformV1NotebookIdleShutdownConfig--; } -core.Map buildUnnamed231() => { +core.Map buildUnnamed234() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed231(core.Map o) { +void checkUnnamed234(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -15286,12 +15528,12 @@ void checkUnnamed231(core.Map o) { ); } -core.List buildUnnamed232() => [ +core.List buildUnnamed235() => [ 'foo', 'foo', ]; -void checkUnnamed232(core.List o) { +void checkUnnamed235(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15312,14 +15554,15 @@ api.GoogleCloudAiplatformV1NotebookRuntime o.createTime = 'foo'; o.description = 'foo'; o.displayName = 'foo'; + o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.expirationTime = 'foo'; o.healthState = 'foo'; o.idleShutdownConfig = buildGoogleCloudAiplatformV1NotebookIdleShutdownConfig(); o.isUpgradable = true; - o.labels = buildUnnamed231(); + o.labels = buildUnnamed234(); o.name = 'foo'; - o.networkTags = buildUnnamed232(); + o.networkTags = buildUnnamed235(); o.notebookRuntimeTemplateRef = buildGoogleCloudAiplatformV1NotebookRuntimeTemplateRef(); o.notebookRuntimeType = 'foo'; @@ -15352,6 +15595,7 @@ void checkGoogleCloudAiplatformV1NotebookRuntime( o.displayName!, unittest.equals('foo'), ); + checkGoogleCloudAiplatformV1EncryptionSpec(o.encryptionSpec!); unittest.expect( o.expirationTime!, unittest.equals('foo'), @@ -15363,12 +15607,12 @@ void checkGoogleCloudAiplatformV1NotebookRuntime( checkGoogleCloudAiplatformV1NotebookIdleShutdownConfig( o.idleShutdownConfig!); unittest.expect(o.isUpgradable!, unittest.isTrue); - checkUnnamed231(o.labels!); + checkUnnamed234(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed232(o.networkTags!); + checkUnnamed235(o.networkTags!); checkGoogleCloudAiplatformV1NotebookRuntimeTemplateRef( o.notebookRuntimeTemplateRef!); unittest.expect( @@ -15405,12 +15649,12 @@ void checkGoogleCloudAiplatformV1NotebookRuntime( buildCounterGoogleCloudAiplatformV1NotebookRuntime--; } -core.Map buildUnnamed233() => { +core.Map buildUnnamed236() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed233(core.Map o) { +void checkUnnamed236(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -15422,12 +15666,12 @@ void checkUnnamed233(core.Map o) { ); } -core.List buildUnnamed234() => [ +core.List buildUnnamed237() => [ 'foo', 'foo', ]; -void checkUnnamed234(core.List o) { +void checkUnnamed237(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15455,11 +15699,11 @@ api.GoogleCloudAiplatformV1NotebookRuntimeTemplate o.idleShutdownConfig = buildGoogleCloudAiplatformV1NotebookIdleShutdownConfig(); o.isDefault = true; - o.labels = buildUnnamed233(); + o.labels = buildUnnamed236(); o.machineSpec = buildGoogleCloudAiplatformV1MachineSpec(); o.name = 'foo'; o.networkSpec = buildGoogleCloudAiplatformV1NetworkSpec(); - o.networkTags = buildUnnamed234(); + o.networkTags = buildUnnamed237(); o.notebookRuntimeType = 'foo'; o.serviceAccount = 'foo'; o.shieldedVmConfig = buildGoogleCloudAiplatformV1ShieldedVmConfig(); @@ -15495,14 +15739,14 @@ void checkGoogleCloudAiplatformV1NotebookRuntimeTemplate( checkGoogleCloudAiplatformV1NotebookIdleShutdownConfig( o.idleShutdownConfig!); unittest.expect(o.isDefault!, unittest.isTrue); - checkUnnamed233(o.labels!); + checkUnnamed236(o.labels!); checkGoogleCloudAiplatformV1MachineSpec(o.machineSpec!); unittest.expect( o.name!, unittest.equals('foo'), ); checkGoogleCloudAiplatformV1NetworkSpec(o.networkSpec!); - checkUnnamed234(o.networkTags!); + checkUnnamed237(o.networkTags!); unittest.expect( o.notebookRuntimeType!, unittest.equals('foo'), @@ -15644,12 +15888,12 @@ void checkGoogleCloudAiplatformV1PersistentDiskSpec( buildCounterGoogleCloudAiplatformV1PersistentDiskSpec--; } -core.Map buildUnnamed235() => { +core.Map buildUnnamed238() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed235(core.Map o) { +void checkUnnamed238(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -15661,12 +15905,12 @@ void checkUnnamed235(core.Map o) { ); } -core.List buildUnnamed236() => [ +core.List buildUnnamed239() => [ 'foo', 'foo', ]; -void checkUnnamed236(core.List o) { +void checkUnnamed239(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15678,12 +15922,12 @@ void checkUnnamed236(core.List o) { ); } -core.List buildUnnamed237() => [ +core.List buildUnnamed240() => [ buildGoogleCloudAiplatformV1ResourcePool(), buildGoogleCloudAiplatformV1ResourcePool(), ]; -void checkUnnamed237(core.List o) { +void checkUnnamed240(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ResourcePool(o[0]); checkGoogleCloudAiplatformV1ResourcePool(o[1]); @@ -15699,11 +15943,11 @@ api.GoogleCloudAiplatformV1PersistentResource o.displayName = 'foo'; o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.error = buildGoogleRpcStatus(); - o.labels = buildUnnamed235(); + o.labels = buildUnnamed238(); o.name = 'foo'; o.network = 'foo'; - o.reservedIpRanges = buildUnnamed236(); - o.resourcePools = buildUnnamed237(); + o.reservedIpRanges = buildUnnamed239(); + o.resourcePools = buildUnnamed240(); o.resourceRuntime = buildGoogleCloudAiplatformV1ResourceRuntime(); o.resourceRuntimeSpec = buildGoogleCloudAiplatformV1ResourceRuntimeSpec(); o.startTime = 'foo'; @@ -15728,7 +15972,7 @@ void checkGoogleCloudAiplatformV1PersistentResource( ); checkGoogleCloudAiplatformV1EncryptionSpec(o.encryptionSpec!); checkGoogleRpcStatus(o.error!); - checkUnnamed235(o.labels!); + checkUnnamed238(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -15737,8 +15981,8 @@ void checkGoogleCloudAiplatformV1PersistentResource( o.network!, unittest.equals('foo'), ); - checkUnnamed236(o.reservedIpRanges!); - checkUnnamed237(o.resourcePools!); + checkUnnamed239(o.reservedIpRanges!); + checkUnnamed240(o.resourcePools!); checkGoogleCloudAiplatformV1ResourceRuntime(o.resourceRuntime!); checkGoogleCloudAiplatformV1ResourceRuntimeSpec(o.resourceRuntimeSpec!); unittest.expect( @@ -15757,12 +16001,12 @@ void checkGoogleCloudAiplatformV1PersistentResource( buildCounterGoogleCloudAiplatformV1PersistentResource--; } -core.Map buildUnnamed238() => { +core.Map buildUnnamed241() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed238(core.Map o) { +void checkUnnamed241(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -15774,7 +16018,7 @@ void checkUnnamed238(core.Map o) { ); } -core.Map buildUnnamed239() => { +core.Map buildUnnamed242() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -15787,7 +16031,7 @@ core.Map buildUnnamed239() => { }, }; -void checkUnnamed239(core.Map o) { +void checkUnnamed242(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted52 = (o['x']!) as core.Map; unittest.expect(casted52, unittest.hasLength(3)); @@ -15819,12 +16063,12 @@ void checkUnnamed239(core.Map o) { ); } -core.List buildUnnamed240() => [ +core.List buildUnnamed243() => [ 'foo', 'foo', ]; -void checkUnnamed240(core.List o) { +void checkUnnamed243(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15848,11 +16092,11 @@ api.GoogleCloudAiplatformV1PipelineJob o.endTime = 'foo'; o.error = buildGoogleRpcStatus(); o.jobDetail = buildGoogleCloudAiplatformV1PipelineJobDetail(); - o.labels = buildUnnamed238(); + o.labels = buildUnnamed241(); o.name = 'foo'; o.network = 'foo'; - o.pipelineSpec = buildUnnamed239(); - o.reservedIpRanges = buildUnnamed240(); + o.pipelineSpec = buildUnnamed242(); + o.reservedIpRanges = buildUnnamed243(); o.runtimeConfig = buildGoogleCloudAiplatformV1PipelineJobRuntimeConfig(); o.scheduleName = 'foo'; o.serviceAccount = 'foo'; @@ -15885,7 +16129,7 @@ void checkGoogleCloudAiplatformV1PipelineJob( ); checkGoogleRpcStatus(o.error!); checkGoogleCloudAiplatformV1PipelineJobDetail(o.jobDetail!); - checkUnnamed238(o.labels!); + checkUnnamed241(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -15894,8 +16138,8 @@ void checkGoogleCloudAiplatformV1PipelineJob( o.network!, unittest.equals('foo'), ); - checkUnnamed239(o.pipelineSpec!); - checkUnnamed240(o.reservedIpRanges!); + checkUnnamed242(o.pipelineSpec!); + checkUnnamed243(o.reservedIpRanges!); checkGoogleCloudAiplatformV1PipelineJobRuntimeConfig(o.runtimeConfig!); unittest.expect( o.scheduleName!, @@ -15926,12 +16170,12 @@ void checkGoogleCloudAiplatformV1PipelineJob( buildCounterGoogleCloudAiplatformV1PipelineJob--; } -core.List buildUnnamed241() => [ +core.List buildUnnamed244() => [ buildGoogleCloudAiplatformV1PipelineTaskDetail(), buildGoogleCloudAiplatformV1PipelineTaskDetail(), ]; -void checkUnnamed241( +void checkUnnamed244( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1PipelineTaskDetail(o[0]); @@ -15946,7 +16190,7 @@ api.GoogleCloudAiplatformV1PipelineJobDetail if (buildCounterGoogleCloudAiplatformV1PipelineJobDetail < 3) { o.pipelineContext = buildGoogleCloudAiplatformV1Context(); o.pipelineRunContext = buildGoogleCloudAiplatformV1Context(); - o.taskDetails = buildUnnamed241(); + o.taskDetails = buildUnnamed244(); } buildCounterGoogleCloudAiplatformV1PipelineJobDetail--; return o; @@ -15958,21 +16202,21 @@ void checkGoogleCloudAiplatformV1PipelineJobDetail( if (buildCounterGoogleCloudAiplatformV1PipelineJobDetail < 3) { checkGoogleCloudAiplatformV1Context(o.pipelineContext!); checkGoogleCloudAiplatformV1Context(o.pipelineRunContext!); - checkUnnamed241(o.taskDetails!); + checkUnnamed244(o.taskDetails!); } buildCounterGoogleCloudAiplatformV1PipelineJobDetail--; } core.Map - buildUnnamed242() => { + buildUnnamed245() => { 'x': buildGoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact(), 'y': buildGoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact(), }; -void checkUnnamed242( +void checkUnnamed245( core.Map o) { @@ -15981,7 +16225,7 @@ void checkUnnamed242( checkGoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact(o['y']!); } -core.Map buildUnnamed243() => { +core.Map buildUnnamed246() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -15994,7 +16238,7 @@ core.Map buildUnnamed243() => { }, }; -void checkUnnamed243(core.Map o) { +void checkUnnamed246(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted54 = (o['x']!) as core.Map; unittest.expect(casted54, unittest.hasLength(3)); @@ -16026,12 +16270,12 @@ void checkUnnamed243(core.Map o) { ); } -core.Map buildUnnamed244() => { +core.Map buildUnnamed247() => { 'x': buildGoogleCloudAiplatformV1Value(), 'y': buildGoogleCloudAiplatformV1Value(), }; -void checkUnnamed244( +void checkUnnamed247( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Value(o['x']!); @@ -16046,9 +16290,9 @@ api.GoogleCloudAiplatformV1PipelineJobRuntimeConfig if (buildCounterGoogleCloudAiplatformV1PipelineJobRuntimeConfig < 3) { o.failurePolicy = 'foo'; o.gcsOutputDirectory = 'foo'; - o.inputArtifacts = buildUnnamed242(); - o.parameterValues = buildUnnamed243(); - o.parameters = buildUnnamed244(); + o.inputArtifacts = buildUnnamed245(); + o.parameterValues = buildUnnamed246(); + o.parameters = buildUnnamed247(); } buildCounterGoogleCloudAiplatformV1PipelineJobRuntimeConfig--; return o; @@ -16066,9 +16310,9 @@ void checkGoogleCloudAiplatformV1PipelineJobRuntimeConfig( o.gcsOutputDirectory!, unittest.equals('foo'), ); - checkUnnamed242(o.inputArtifacts!); - checkUnnamed243(o.parameterValues!); - checkUnnamed244(o.parameters!); + checkUnnamed245(o.inputArtifacts!); + checkUnnamed246(o.parameterValues!); + checkUnnamed247(o.parameters!); } buildCounterGoogleCloudAiplatformV1PipelineJobRuntimeConfig--; } @@ -16102,12 +16346,12 @@ void checkGoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact( } core.Map - buildUnnamed245() => { + buildUnnamed248() => { 'x': buildGoogleCloudAiplatformV1PipelineTaskDetailArtifactList(), 'y': buildGoogleCloudAiplatformV1PipelineTaskDetailArtifactList(), }; -void checkUnnamed245( +void checkUnnamed248( core.Map o) { @@ -16117,12 +16361,12 @@ void checkUnnamed245( } core.Map - buildUnnamed246() => { + buildUnnamed249() => { 'x': buildGoogleCloudAiplatformV1PipelineTaskDetailArtifactList(), 'y': buildGoogleCloudAiplatformV1PipelineTaskDetailArtifactList(), }; -void checkUnnamed246( +void checkUnnamed249( core.Map o) { @@ -16132,12 +16376,12 @@ void checkUnnamed246( } core.List - buildUnnamed247() => [ + buildUnnamed250() => [ buildGoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus(), buildGoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus(), ]; -void checkUnnamed247( +void checkUnnamed250( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -16156,10 +16400,10 @@ api.GoogleCloudAiplatformV1PipelineTaskDetail o.error = buildGoogleRpcStatus(); o.execution = buildGoogleCloudAiplatformV1Execution(); o.executorDetail = buildGoogleCloudAiplatformV1PipelineTaskExecutorDetail(); - o.inputs = buildUnnamed245(); - o.outputs = buildUnnamed246(); + o.inputs = buildUnnamed248(); + o.outputs = buildUnnamed249(); o.parentTaskId = 'foo'; - o.pipelineTaskStatus = buildUnnamed247(); + o.pipelineTaskStatus = buildUnnamed250(); o.startTime = 'foo'; o.state = 'foo'; o.taskId = 'foo'; @@ -16184,13 +16428,13 @@ void checkGoogleCloudAiplatformV1PipelineTaskDetail( checkGoogleRpcStatus(o.error!); checkGoogleCloudAiplatformV1Execution(o.execution!); checkGoogleCloudAiplatformV1PipelineTaskExecutorDetail(o.executorDetail!); - checkUnnamed245(o.inputs!); - checkUnnamed246(o.outputs!); + checkUnnamed248(o.inputs!); + checkUnnamed249(o.outputs!); unittest.expect( o.parentTaskId!, unittest.equals('foo'), ); - checkUnnamed247(o.pipelineTaskStatus!); + checkUnnamed250(o.pipelineTaskStatus!); unittest.expect( o.startTime!, unittest.equals('foo'), @@ -16211,12 +16455,12 @@ void checkGoogleCloudAiplatformV1PipelineTaskDetail( buildCounterGoogleCloudAiplatformV1PipelineTaskDetail--; } -core.List buildUnnamed248() => [ +core.List buildUnnamed251() => [ buildGoogleCloudAiplatformV1Artifact(), buildGoogleCloudAiplatformV1Artifact(), ]; -void checkUnnamed248(core.List o) { +void checkUnnamed251(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Artifact(o[0]); checkGoogleCloudAiplatformV1Artifact(o[1]); @@ -16228,7 +16472,7 @@ api.GoogleCloudAiplatformV1PipelineTaskDetailArtifactList final o = api.GoogleCloudAiplatformV1PipelineTaskDetailArtifactList(); buildCounterGoogleCloudAiplatformV1PipelineTaskDetailArtifactList++; if (buildCounterGoogleCloudAiplatformV1PipelineTaskDetailArtifactList < 3) { - o.artifacts = buildUnnamed248(); + o.artifacts = buildUnnamed251(); } buildCounterGoogleCloudAiplatformV1PipelineTaskDetailArtifactList--; return o; @@ -16238,7 +16482,7 @@ void checkGoogleCloudAiplatformV1PipelineTaskDetailArtifactList( api.GoogleCloudAiplatformV1PipelineTaskDetailArtifactList o) { buildCounterGoogleCloudAiplatformV1PipelineTaskDetailArtifactList++; if (buildCounterGoogleCloudAiplatformV1PipelineTaskDetailArtifactList < 3) { - checkUnnamed248(o.artifacts!); + checkUnnamed251(o.artifacts!); } buildCounterGoogleCloudAiplatformV1PipelineTaskDetailArtifactList--; } @@ -16304,12 +16548,12 @@ void checkGoogleCloudAiplatformV1PipelineTaskExecutorDetail( buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetail--; } -core.List buildUnnamed249() => [ +core.List buildUnnamed252() => [ 'foo', 'foo', ]; -void checkUnnamed249(core.List o) { +void checkUnnamed252(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16321,12 +16565,12 @@ void checkUnnamed249(core.List o) { ); } -core.List buildUnnamed250() => [ +core.List buildUnnamed253() => [ 'foo', 'foo', ]; -void checkUnnamed250(core.List o) { +void checkUnnamed253(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16348,8 +16592,8 @@ api.GoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail++; if (buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail < 3) { - o.failedMainJobs = buildUnnamed249(); - o.failedPreCachingCheckJobs = buildUnnamed250(); + o.failedMainJobs = buildUnnamed252(); + o.failedPreCachingCheckJobs = buildUnnamed253(); o.mainJob = 'foo'; o.preCachingCheckJob = 'foo'; } @@ -16362,8 +16606,8 @@ void checkGoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail( buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail++; if (buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail < 3) { - checkUnnamed249(o.failedMainJobs!); - checkUnnamed250(o.failedPreCachingCheckJobs!); + checkUnnamed252(o.failedMainJobs!); + checkUnnamed253(o.failedPreCachingCheckJobs!); unittest.expect( o.mainJob!, unittest.equals('foo'), @@ -16376,12 +16620,12 @@ void checkGoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail( buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail--; } -core.List buildUnnamed251() => [ +core.List buildUnnamed254() => [ 'foo', 'foo', ]; -void checkUnnamed251(core.List o) { +void checkUnnamed254(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16403,7 +16647,7 @@ api.GoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail++; if (buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail < 3) { - o.failedJobs = buildUnnamed251(); + o.failedJobs = buildUnnamed254(); o.job = 'foo'; } buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail--; @@ -16415,7 +16659,7 @@ void checkGoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail( buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail++; if (buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail < 3) { - checkUnnamed251(o.failedJobs!); + checkUnnamed254(o.failedJobs!); unittest.expect( o.job!, unittest.equals('foo'), @@ -16494,7 +16738,7 @@ void checkGoogleCloudAiplatformV1PredefinedSplit( buildCounterGoogleCloudAiplatformV1PredefinedSplit--; } -core.List buildUnnamed252() => [ +core.List buildUnnamed255() => [ { 'list': [1, 2, 3], 'bool': true, @@ -16507,7 +16751,7 @@ core.List buildUnnamed252() => [ }, ]; -void checkUnnamed252(core.List o) { +void checkUnnamed255(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted56 = (o[0]) as core.Map; unittest.expect(casted56, unittest.hasLength(3)); @@ -16545,7 +16789,7 @@ api.GoogleCloudAiplatformV1PredictRequest final o = api.GoogleCloudAiplatformV1PredictRequest(); buildCounterGoogleCloudAiplatformV1PredictRequest++; if (buildCounterGoogleCloudAiplatformV1PredictRequest < 3) { - o.instances = buildUnnamed252(); + o.instances = buildUnnamed255(); o.parameters = { 'list': [1, 2, 3], 'bool': true, @@ -16560,7 +16804,7 @@ void checkGoogleCloudAiplatformV1PredictRequest( api.GoogleCloudAiplatformV1PredictRequest o) { buildCounterGoogleCloudAiplatformV1PredictRequest++; if (buildCounterGoogleCloudAiplatformV1PredictRequest < 3) { - checkUnnamed252(o.instances!); + checkUnnamed255(o.instances!); var casted58 = (o.parameters!) as core.Map; unittest.expect(casted58, unittest.hasLength(3)); unittest.expect( @@ -16610,7 +16854,7 @@ void checkGoogleCloudAiplatformV1PredictRequestResponseLoggingConfig( buildCounterGoogleCloudAiplatformV1PredictRequestResponseLoggingConfig--; } -core.List buildUnnamed253() => [ +core.List buildUnnamed256() => [ { 'list': [1, 2, 3], 'bool': true, @@ -16623,7 +16867,7 @@ core.List buildUnnamed253() => [ }, ]; -void checkUnnamed253(core.List o) { +void checkUnnamed256(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted59 = (o[0]) as core.Map; unittest.expect(casted59, unittest.hasLength(3)); @@ -16670,7 +16914,7 @@ api.GoogleCloudAiplatformV1PredictResponse o.model = 'foo'; o.modelDisplayName = 'foo'; o.modelVersionId = 'foo'; - o.predictions = buildUnnamed253(); + o.predictions = buildUnnamed256(); } buildCounterGoogleCloudAiplatformV1PredictResponse--; return o; @@ -16710,7 +16954,7 @@ void checkGoogleCloudAiplatformV1PredictResponse( o.modelVersionId!, unittest.equals('foo'), ); - checkUnnamed253(o.predictions!); + checkUnnamed256(o.predictions!); } buildCounterGoogleCloudAiplatformV1PredictResponse--; } @@ -16815,12 +17059,12 @@ void checkGoogleCloudAiplatformV1PrivateEndpoints( buildCounterGoogleCloudAiplatformV1PrivateEndpoints--; } -core.List buildUnnamed254() => [ +core.List buildUnnamed257() => [ 'foo', 'foo', ]; -void checkUnnamed254(core.List o) { +void checkUnnamed257(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16839,7 +17083,7 @@ api.GoogleCloudAiplatformV1PrivateServiceConnectConfig buildCounterGoogleCloudAiplatformV1PrivateServiceConnectConfig++; if (buildCounterGoogleCloudAiplatformV1PrivateServiceConnectConfig < 3) { o.enablePrivateServiceConnect = true; - o.projectAllowlist = buildUnnamed254(); + o.projectAllowlist = buildUnnamed257(); } buildCounterGoogleCloudAiplatformV1PrivateServiceConnectConfig--; return o; @@ -16850,7 +17094,7 @@ void checkGoogleCloudAiplatformV1PrivateServiceConnectConfig( buildCounterGoogleCloudAiplatformV1PrivateServiceConnectConfig++; if (buildCounterGoogleCloudAiplatformV1PrivateServiceConnectConfig < 3) { unittest.expect(o.enablePrivateServiceConnect!, unittest.isTrue); - checkUnnamed254(o.projectAllowlist!); + checkUnnamed257(o.projectAllowlist!); } buildCounterGoogleCloudAiplatformV1PrivateServiceConnectConfig--; } @@ -16884,12 +17128,12 @@ void checkGoogleCloudAiplatformV1Probe(api.GoogleCloudAiplatformV1Probe o) { buildCounterGoogleCloudAiplatformV1Probe--; } -core.List buildUnnamed255() => [ +core.List buildUnnamed258() => [ 'foo', 'foo', ]; -void checkUnnamed255(core.List o) { +void checkUnnamed258(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16907,7 +17151,7 @@ api.GoogleCloudAiplatformV1ProbeExecAction final o = api.GoogleCloudAiplatformV1ProbeExecAction(); buildCounterGoogleCloudAiplatformV1ProbeExecAction++; if (buildCounterGoogleCloudAiplatformV1ProbeExecAction < 3) { - o.command = buildUnnamed255(); + o.command = buildUnnamed258(); } buildCounterGoogleCloudAiplatformV1ProbeExecAction--; return o; @@ -16917,7 +17161,7 @@ void checkGoogleCloudAiplatformV1ProbeExecAction( api.GoogleCloudAiplatformV1ProbeExecAction o) { buildCounterGoogleCloudAiplatformV1ProbeExecAction++; if (buildCounterGoogleCloudAiplatformV1ProbeExecAction < 3) { - checkUnnamed255(o.command!); + checkUnnamed258(o.command!); } buildCounterGoogleCloudAiplatformV1ProbeExecAction--; } @@ -16956,12 +17200,12 @@ void checkGoogleCloudAiplatformV1PscAutomatedEndpoints( buildCounterGoogleCloudAiplatformV1PscAutomatedEndpoints--; } -core.List buildUnnamed256() => [ +core.List buildUnnamed259() => [ 'foo', 'foo', ]; -void checkUnnamed256(core.List o) { +void checkUnnamed259(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16979,7 +17223,7 @@ api.GoogleCloudAiplatformV1PublisherModel final o = api.GoogleCloudAiplatformV1PublisherModel(); buildCounterGoogleCloudAiplatformV1PublisherModel++; if (buildCounterGoogleCloudAiplatformV1PublisherModel < 3) { - o.frameworks = buildUnnamed256(); + o.frameworks = buildUnnamed259(); o.launchStage = 'foo'; o.name = 'foo'; o.openSourceCategory = 'foo'; @@ -16998,7 +17242,7 @@ void checkGoogleCloudAiplatformV1PublisherModel( api.GoogleCloudAiplatformV1PublisherModel o) { buildCounterGoogleCloudAiplatformV1PublisherModel++; if (buildCounterGoogleCloudAiplatformV1PublisherModel < 3) { - checkUnnamed256(o.frameworks!); + checkUnnamed259(o.frameworks!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -17040,8 +17284,6 @@ api.GoogleCloudAiplatformV1PublisherModelCallToAction o.deploy = buildGoogleCloudAiplatformV1PublisherModelCallToActionDeploy(); o.deployGke = buildGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke(); - o.fineTune = - buildGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences(); o.openEvaluationPipeline = buildGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences(); o.openFineTuningPipeline = @@ -17076,8 +17318,6 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToAction( checkGoogleCloudAiplatformV1PublisherModelCallToActionDeploy(o.deploy!); checkGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke( o.deployGke!); - checkGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences( - o.fineTune!); checkGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences( o.openEvaluationPipeline!); checkGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences( @@ -17160,12 +17400,12 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionDeploy( buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeploy--; } -core.List buildUnnamed257() => [ +core.List buildUnnamed260() => [ 'foo', 'foo', ]; -void checkUnnamed257(core.List o) { +void checkUnnamed260(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -17185,7 +17425,7 @@ api.GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke < 3) { - o.gkeYamlConfigs = buildUnnamed257(); + o.gkeYamlConfigs = buildUnnamed260(); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke--; return o; @@ -17196,7 +17436,7 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke( buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke < 3) { - checkUnnamed257(o.gkeYamlConfigs!); + checkUnnamed260(o.gkeYamlConfigs!); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke--; } @@ -17204,12 +17444,12 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke( core.List< api .GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences> - buildUnnamed258() => [ + buildUnnamed261() => [ buildGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences(), buildGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences(), ]; -void checkUnnamed258( +void checkUnnamed261( core.List< api .GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences> @@ -17231,7 +17471,7 @@ api.GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines < 3) { - o.fineTuningPipelines = buildUnnamed258(); + o.fineTuningPipelines = buildUnnamed261(); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines--; return o; @@ -17243,7 +17483,7 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelin buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines < 3) { - checkUnnamed258(o.fineTuningPipelines!); + checkUnnamed261(o.fineTuningPipelines!); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines--; } @@ -17251,12 +17491,12 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelin core.List< api .GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences> - buildUnnamed259() => [ + buildUnnamed262() => [ buildGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences(), buildGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences(), ]; -void checkUnnamed259( +void checkUnnamed262( core.List< api .GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences> @@ -17278,7 +17518,7 @@ api.GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks < 3) { - o.notebooks = buildUnnamed259(); + o.notebooks = buildUnnamed262(); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks--; return o; @@ -17289,19 +17529,19 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks( buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks < 3) { - checkUnnamed259(o.notebooks!); + checkUnnamed262(o.notebooks!); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks--; } core.Map - buildUnnamed260() => { + buildUnnamed263() => { 'x': buildGoogleCloudAiplatformV1PublisherModelResourceReference(), 'y': buildGoogleCloudAiplatformV1PublisherModelResourceReference(), }; -void checkUnnamed260( +void checkUnnamed263( core.Map o) { @@ -17320,7 +17560,7 @@ api.GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences < 3) { - o.references = buildUnnamed260(); + o.references = buildUnnamed263(); o.resourceDescription = 'foo'; o.resourceTitle = 'foo'; o.resourceUseCase = 'foo'; @@ -17336,7 +17576,7 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceRefer buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences < 3) { - checkUnnamed260(o.references!); + checkUnnamed263(o.references!); unittest.expect( o.resourceDescription!, unittest.equals('foo'), @@ -17358,12 +17598,12 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceRefer } core.List - buildUnnamed261() => [ + buildUnnamed264() => [ buildGoogleCloudAiplatformV1PublisherModelDocumentation(), buildGoogleCloudAiplatformV1PublisherModelDocumentation(), ]; -void checkUnnamed261( +void checkUnnamed264( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1PublisherModelDocumentation(o[0]); @@ -17379,7 +17619,7 @@ api.GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi < 3) { - o.documentations = buildUnnamed261(); + o.documentations = buildUnnamed264(); o.title = 'foo'; } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi--; @@ -17391,7 +17631,7 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi( buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi < 3) { - checkUnnamed261(o.documentations!); + checkUnnamed264(o.documentations!); unittest.expect( o.title!, unittest.equals('foo'), @@ -17546,12 +17786,12 @@ void checkGoogleCloudAiplatformV1PurgeExecutionsRequest( buildCounterGoogleCloudAiplatformV1PurgeExecutionsRequest--; } -core.List buildUnnamed262() => [ +core.List buildUnnamed265() => [ 'foo', 'foo', ]; -void checkUnnamed262(core.List o) { +void checkUnnamed265(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -17563,23 +17803,23 @@ void checkUnnamed262(core.List o) { ); } -core.List buildUnnamed263() => [ +core.List buildUnnamed266() => [ buildGoogleCloudAiplatformV1EnvVar(), buildGoogleCloudAiplatformV1EnvVar(), ]; -void checkUnnamed263(core.List o) { +void checkUnnamed266(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1EnvVar(o[0]); checkGoogleCloudAiplatformV1EnvVar(o[1]); } -core.List buildUnnamed264() => [ +core.List buildUnnamed267() => [ 'foo', 'foo', ]; -void checkUnnamed264(core.List o) { +void checkUnnamed267(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -17597,10 +17837,10 @@ api.GoogleCloudAiplatformV1PythonPackageSpec final o = api.GoogleCloudAiplatformV1PythonPackageSpec(); buildCounterGoogleCloudAiplatformV1PythonPackageSpec++; if (buildCounterGoogleCloudAiplatformV1PythonPackageSpec < 3) { - o.args = buildUnnamed262(); - o.env = buildUnnamed263(); + o.args = buildUnnamed265(); + o.env = buildUnnamed266(); o.executorImageUri = 'foo'; - o.packageUris = buildUnnamed264(); + o.packageUris = buildUnnamed267(); o.pythonModule = 'foo'; } buildCounterGoogleCloudAiplatformV1PythonPackageSpec--; @@ -17611,13 +17851,13 @@ void checkGoogleCloudAiplatformV1PythonPackageSpec( api.GoogleCloudAiplatformV1PythonPackageSpec o) { buildCounterGoogleCloudAiplatformV1PythonPackageSpec++; if (buildCounterGoogleCloudAiplatformV1PythonPackageSpec < 3) { - checkUnnamed262(o.args!); - checkUnnamed263(o.env!); + checkUnnamed265(o.args!); + checkUnnamed266(o.env!); unittest.expect( o.executorImageUri!, unittest.equals('foo'), ); - checkUnnamed264(o.packageUris!); + checkUnnamed267(o.packageUris!); unittest.expect( o.pythonModule!, unittest.equals('foo'), @@ -17626,23 +17866,23 @@ void checkGoogleCloudAiplatformV1PythonPackageSpec( buildCounterGoogleCloudAiplatformV1PythonPackageSpec--; } -core.List buildUnnamed265() => [ +core.List buildUnnamed268() => [ buildGoogleCloudAiplatformV1DeployedModelRef(), buildGoogleCloudAiplatformV1DeployedModelRef(), ]; -void checkUnnamed265(core.List o) { +void checkUnnamed268(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DeployedModelRef(o[0]); checkGoogleCloudAiplatformV1DeployedModelRef(o[1]); } -core.List buildUnnamed266() => [ +core.List buildUnnamed269() => [ buildGoogleCloudAiplatformV1DeployedModel(), buildGoogleCloudAiplatformV1DeployedModel(), ]; -void checkUnnamed266(core.List o) { +void checkUnnamed269(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DeployedModel(o[0]); checkGoogleCloudAiplatformV1DeployedModel(o[1]); @@ -17654,8 +17894,8 @@ api.GoogleCloudAiplatformV1QueryDeployedModelsResponse final o = api.GoogleCloudAiplatformV1QueryDeployedModelsResponse(); buildCounterGoogleCloudAiplatformV1QueryDeployedModelsResponse++; if (buildCounterGoogleCloudAiplatformV1QueryDeployedModelsResponse < 3) { - o.deployedModelRefs = buildUnnamed265(); - o.deployedModels = buildUnnamed266(); + o.deployedModelRefs = buildUnnamed268(); + o.deployedModels = buildUnnamed269(); o.nextPageToken = 'foo'; o.totalDeployedModelCount = 42; o.totalEndpointCount = 42; @@ -17668,8 +17908,8 @@ void checkGoogleCloudAiplatformV1QueryDeployedModelsResponse( api.GoogleCloudAiplatformV1QueryDeployedModelsResponse o) { buildCounterGoogleCloudAiplatformV1QueryDeployedModelsResponse++; if (buildCounterGoogleCloudAiplatformV1QueryDeployedModelsResponse < 3) { - checkUnnamed265(o.deployedModelRefs!); - checkUnnamed266(o.deployedModels!); + checkUnnamed268(o.deployedModelRefs!); + checkUnnamed269(o.deployedModels!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -17728,12 +17968,12 @@ void checkGoogleCloudAiplatformV1RayMetricSpec( buildCounterGoogleCloudAiplatformV1RayMetricSpec--; } -core.Map buildUnnamed267() => { +core.Map buildUnnamed270() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed267(core.Map o) { +void checkUnnamed270(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -17753,7 +17993,7 @@ api.GoogleCloudAiplatformV1RaySpec buildGoogleCloudAiplatformV1RaySpec() { o.headNodeResourcePoolId = 'foo'; o.imageUri = 'foo'; o.rayMetricSpec = buildGoogleCloudAiplatformV1RayMetricSpec(); - o.resourcePoolImages = buildUnnamed267(); + o.resourcePoolImages = buildUnnamed270(); } buildCounterGoogleCloudAiplatformV1RaySpec--; return o; @@ -17771,7 +18011,7 @@ void checkGoogleCloudAiplatformV1RaySpec(api.GoogleCloudAiplatformV1RaySpec o) { unittest.equals('foo'), ); checkGoogleCloudAiplatformV1RayMetricSpec(o.rayMetricSpec!); - checkUnnamed267(o.resourcePoolImages!); + checkUnnamed270(o.resourcePoolImages!); } buildCounterGoogleCloudAiplatformV1RaySpec--; } @@ -17828,12 +18068,12 @@ void checkGoogleCloudAiplatformV1ReadFeatureValuesResponse( } core.List - buildUnnamed268() => [ + buildUnnamed271() => [ buildGoogleCloudAiplatformV1ReadFeatureValuesResponseEntityViewData(), buildGoogleCloudAiplatformV1ReadFeatureValuesResponseEntityViewData(), ]; -void checkUnnamed268( +void checkUnnamed271( core.List< api.GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityViewData> o) { @@ -17850,7 +18090,7 @@ api.GoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView++; if (buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView < 3) { - o.data = buildUnnamed268(); + o.data = buildUnnamed271(); o.entityId = 'foo'; } buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView--; @@ -17862,7 +18102,7 @@ void checkGoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView( buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView++; if (buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseEntityView < 3) { - checkUnnamed268(o.data!); + checkUnnamed271(o.data!); unittest.expect( o.entityId!, unittest.equals('foo'), @@ -17929,12 +18169,12 @@ void checkGoogleCloudAiplatformV1ReadFeatureValuesResponseFeatureDescriptor( } core.List - buildUnnamed269() => [ + buildUnnamed272() => [ buildGoogleCloudAiplatformV1ReadFeatureValuesResponseFeatureDescriptor(), buildGoogleCloudAiplatformV1ReadFeatureValuesResponseFeatureDescriptor(), ]; -void checkUnnamed269( +void checkUnnamed272( core.List< api .GoogleCloudAiplatformV1ReadFeatureValuesResponseFeatureDescriptor> @@ -17951,7 +18191,7 @@ api.GoogleCloudAiplatformV1ReadFeatureValuesResponseHeader buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseHeader++; if (buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseHeader < 3) { o.entityType = 'foo'; - o.featureDescriptors = buildUnnamed269(); + o.featureDescriptors = buildUnnamed272(); } buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseHeader--; return o; @@ -17965,17 +18205,17 @@ void checkGoogleCloudAiplatformV1ReadFeatureValuesResponseHeader( o.entityType!, unittest.equals('foo'), ); - checkUnnamed269(o.featureDescriptors!); + checkUnnamed272(o.featureDescriptors!); } buildCounterGoogleCloudAiplatformV1ReadFeatureValuesResponseHeader--; } -core.List buildUnnamed270() => [ +core.List buildUnnamed273() => [ 'foo', 'foo', ]; -void checkUnnamed270(core.List o) { +void checkUnnamed273(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -17994,7 +18234,7 @@ api.GoogleCloudAiplatformV1ReadIndexDatapointsRequest buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsRequest++; if (buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsRequest < 3) { o.deployedIndexId = 'foo'; - o.ids = buildUnnamed270(); + o.ids = buildUnnamed273(); } buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsRequest--; return o; @@ -18008,17 +18248,17 @@ void checkGoogleCloudAiplatformV1ReadIndexDatapointsRequest( o.deployedIndexId!, unittest.equals('foo'), ); - checkUnnamed270(o.ids!); + checkUnnamed273(o.ids!); } buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsRequest--; } -core.List buildUnnamed271() => [ +core.List buildUnnamed274() => [ buildGoogleCloudAiplatformV1IndexDatapoint(), buildGoogleCloudAiplatformV1IndexDatapoint(), ]; -void checkUnnamed271(core.List o) { +void checkUnnamed274(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1IndexDatapoint(o[0]); checkGoogleCloudAiplatformV1IndexDatapoint(o[1]); @@ -18030,7 +18270,7 @@ api.GoogleCloudAiplatformV1ReadIndexDatapointsResponse final o = api.GoogleCloudAiplatformV1ReadIndexDatapointsResponse(); buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsResponse++; if (buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsResponse < 3) { - o.datapoints = buildUnnamed271(); + o.datapoints = buildUnnamed274(); } buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsResponse--; return o; @@ -18040,17 +18280,17 @@ void checkGoogleCloudAiplatformV1ReadIndexDatapointsResponse( api.GoogleCloudAiplatformV1ReadIndexDatapointsResponse o) { buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsResponse++; if (buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsResponse < 3) { - checkUnnamed271(o.datapoints!); + checkUnnamed274(o.datapoints!); } buildCounterGoogleCloudAiplatformV1ReadIndexDatapointsResponse--; } -core.List buildUnnamed272() => [ +core.List buildUnnamed275() => [ buildGoogleCloudAiplatformV1TensorboardBlob(), buildGoogleCloudAiplatformV1TensorboardBlob(), ]; -void checkUnnamed272(core.List o) { +void checkUnnamed275(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TensorboardBlob(o[0]); checkGoogleCloudAiplatformV1TensorboardBlob(o[1]); @@ -18062,7 +18302,7 @@ api.GoogleCloudAiplatformV1ReadTensorboardBlobDataResponse final o = api.GoogleCloudAiplatformV1ReadTensorboardBlobDataResponse(); buildCounterGoogleCloudAiplatformV1ReadTensorboardBlobDataResponse++; if (buildCounterGoogleCloudAiplatformV1ReadTensorboardBlobDataResponse < 3) { - o.blobs = buildUnnamed272(); + o.blobs = buildUnnamed275(); } buildCounterGoogleCloudAiplatformV1ReadTensorboardBlobDataResponse--; return o; @@ -18072,7 +18312,7 @@ void checkGoogleCloudAiplatformV1ReadTensorboardBlobDataResponse( api.GoogleCloudAiplatformV1ReadTensorboardBlobDataResponse o) { buildCounterGoogleCloudAiplatformV1ReadTensorboardBlobDataResponse++; if (buildCounterGoogleCloudAiplatformV1ReadTensorboardBlobDataResponse < 3) { - checkUnnamed272(o.blobs!); + checkUnnamed275(o.blobs!); } buildCounterGoogleCloudAiplatformV1ReadTensorboardBlobDataResponse--; } @@ -18130,14 +18370,14 @@ core.Map< core.String, api .GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData> - buildUnnamed273() => { + buildUnnamed276() => { 'x': buildGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData(), 'y': buildGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData(), }; -void checkUnnamed273( +void checkUnnamed276( core.Map< core.String, api @@ -18156,7 +18396,7 @@ api.GoogleCloudAiplatformV1ReadTensorboardUsageResponse final o = api.GoogleCloudAiplatformV1ReadTensorboardUsageResponse(); buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponse++; if (buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponse < 3) { - o.monthlyUsageData = buildUnnamed273(); + o.monthlyUsageData = buildUnnamed276(); } buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponse--; return o; @@ -18166,19 +18406,19 @@ void checkGoogleCloudAiplatformV1ReadTensorboardUsageResponse( api.GoogleCloudAiplatformV1ReadTensorboardUsageResponse o) { buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponse++; if (buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponse < 3) { - checkUnnamed273(o.monthlyUsageData!); + checkUnnamed276(o.monthlyUsageData!); } buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponse--; } core.List< api.GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData> - buildUnnamed274() => [ + buildUnnamed277() => [ buildGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData(), buildGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData(), ]; -void checkUnnamed274( +void checkUnnamed277( core.List< api .GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerUserUsageData> @@ -18200,7 +18440,7 @@ api.GoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData++; if (buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData < 3) { - o.userUsageData = buildUnnamed274(); + o.userUsageData = buildUnnamed277(); } buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData--; return o; @@ -18212,7 +18452,7 @@ void checkGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData( buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData++; if (buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData < 3) { - checkUnnamed274(o.userUsageData!); + checkUnnamed277(o.userUsageData!); } buildCounterGoogleCloudAiplatformV1ReadTensorboardUsageResponsePerMonthUsageData--; } @@ -18268,12 +18508,35 @@ void checkGoogleCloudAiplatformV1RebootPersistentResourceRequest( buildCounterGoogleCloudAiplatformV1RebootPersistentResourceRequest--; } -core.List buildUnnamed275() => [ +core.int buildCounterGoogleCloudAiplatformV1ReinforcementLearningDataStats = 0; +api.GoogleCloudAiplatformV1ReinforcementLearningDataStats + buildGoogleCloudAiplatformV1ReinforcementLearningDataStats() { + final o = api.GoogleCloudAiplatformV1ReinforcementLearningDataStats(); + buildCounterGoogleCloudAiplatformV1ReinforcementLearningDataStats++; + if (buildCounterGoogleCloudAiplatformV1ReinforcementLearningDataStats < 3) { + o.preferenceDatasetStats = buildGoogleCloudAiplatformV1DatasetStats(); + o.promptDatasetStats = buildGoogleCloudAiplatformV1DatasetStats(); + } + buildCounterGoogleCloudAiplatformV1ReinforcementLearningDataStats--; + return o; +} + +void checkGoogleCloudAiplatformV1ReinforcementLearningDataStats( + api.GoogleCloudAiplatformV1ReinforcementLearningDataStats o) { + buildCounterGoogleCloudAiplatformV1ReinforcementLearningDataStats++; + if (buildCounterGoogleCloudAiplatformV1ReinforcementLearningDataStats < 3) { + checkGoogleCloudAiplatformV1DatasetStats(o.preferenceDatasetStats!); + checkGoogleCloudAiplatformV1DatasetStats(o.promptDatasetStats!); + } + buildCounterGoogleCloudAiplatformV1ReinforcementLearningDataStats--; +} + +core.List buildUnnamed278() => [ 'foo', 'foo', ]; -void checkUnnamed275(core.List o) { +void checkUnnamed278(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -18291,7 +18554,7 @@ api.GoogleCloudAiplatformV1RemoveContextChildrenRequest final o = api.GoogleCloudAiplatformV1RemoveContextChildrenRequest(); buildCounterGoogleCloudAiplatformV1RemoveContextChildrenRequest++; if (buildCounterGoogleCloudAiplatformV1RemoveContextChildrenRequest < 3) { - o.childContexts = buildUnnamed275(); + o.childContexts = buildUnnamed278(); } buildCounterGoogleCloudAiplatformV1RemoveContextChildrenRequest--; return o; @@ -18301,7 +18564,7 @@ void checkGoogleCloudAiplatformV1RemoveContextChildrenRequest( api.GoogleCloudAiplatformV1RemoveContextChildrenRequest o) { buildCounterGoogleCloudAiplatformV1RemoveContextChildrenRequest++; if (buildCounterGoogleCloudAiplatformV1RemoveContextChildrenRequest < 3) { - checkUnnamed275(o.childContexts!); + checkUnnamed278(o.childContexts!); } buildCounterGoogleCloudAiplatformV1RemoveContextChildrenRequest--; } @@ -18323,12 +18586,12 @@ void checkGoogleCloudAiplatformV1RemoveContextChildrenResponse( buildCounterGoogleCloudAiplatformV1RemoveContextChildrenResponse--; } -core.List buildUnnamed276() => [ +core.List buildUnnamed279() => [ 'foo', 'foo', ]; -void checkUnnamed276(core.List o) { +void checkUnnamed279(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -18346,7 +18609,7 @@ api.GoogleCloudAiplatformV1RemoveDatapointsRequest final o = api.GoogleCloudAiplatformV1RemoveDatapointsRequest(); buildCounterGoogleCloudAiplatformV1RemoveDatapointsRequest++; if (buildCounterGoogleCloudAiplatformV1RemoveDatapointsRequest < 3) { - o.datapointIds = buildUnnamed276(); + o.datapointIds = buildUnnamed279(); } buildCounterGoogleCloudAiplatformV1RemoveDatapointsRequest--; return o; @@ -18356,7 +18619,7 @@ void checkGoogleCloudAiplatformV1RemoveDatapointsRequest( api.GoogleCloudAiplatformV1RemoveDatapointsRequest o) { buildCounterGoogleCloudAiplatformV1RemoveDatapointsRequest++; if (buildCounterGoogleCloudAiplatformV1RemoveDatapointsRequest < 3) { - checkUnnamed276(o.datapointIds!); + checkUnnamed279(o.datapointIds!); } buildCounterGoogleCloudAiplatformV1RemoveDatapointsRequest--; } @@ -18448,12 +18711,12 @@ void checkGoogleCloudAiplatformV1ResourcePoolAutoscalingSpec( buildCounterGoogleCloudAiplatformV1ResourcePoolAutoscalingSpec--; } -core.Map buildUnnamed277() => { +core.Map buildUnnamed280() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed277(core.Map o) { +void checkUnnamed280(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -18471,7 +18734,7 @@ api.GoogleCloudAiplatformV1ResourceRuntime final o = api.GoogleCloudAiplatformV1ResourceRuntime(); buildCounterGoogleCloudAiplatformV1ResourceRuntime++; if (buildCounterGoogleCloudAiplatformV1ResourceRuntime < 3) { - o.accessUris = buildUnnamed277(); + o.accessUris = buildUnnamed280(); } buildCounterGoogleCloudAiplatformV1ResourceRuntime--; return o; @@ -18481,7 +18744,7 @@ void checkGoogleCloudAiplatformV1ResourceRuntime( api.GoogleCloudAiplatformV1ResourceRuntime o) { buildCounterGoogleCloudAiplatformV1ResourceRuntime++; if (buildCounterGoogleCloudAiplatformV1ResourceRuntime < 3) { - checkUnnamed277(o.accessUris!); + checkUnnamed280(o.accessUris!); } buildCounterGoogleCloudAiplatformV1ResourceRuntime--; } @@ -19043,12 +19306,12 @@ void checkGoogleCloudAiplatformV1Scheduling( buildCounterGoogleCloudAiplatformV1Scheduling--; } -core.List buildUnnamed278() => [ +core.List buildUnnamed281() => [ 'foo', 'foo', ]; -void checkUnnamed278(core.List o) { +void checkUnnamed281(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -19060,24 +19323,24 @@ void checkUnnamed278(core.List o) { ); } -core.Map buildUnnamed279() => { +core.Map buildUnnamed282() => { 'x': buildGoogleCloudAiplatformV1Schema(), 'y': buildGoogleCloudAiplatformV1Schema(), }; -void checkUnnamed279( +void checkUnnamed282( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Schema(o['x']!); checkGoogleCloudAiplatformV1Schema(o['y']!); } -core.List buildUnnamed280() => [ +core.List buildUnnamed283() => [ 'foo', 'foo', ]; -void checkUnnamed280(core.List o) { +void checkUnnamed283(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -19100,7 +19363,7 @@ api.GoogleCloudAiplatformV1Schema buildGoogleCloudAiplatformV1Schema() { 'string': 'foo' }; o.description = 'foo'; - o.enum_ = buildUnnamed278(); + o.enum_ = buildUnnamed281(); o.example = { 'list': [1, 2, 3], 'bool': true, @@ -19118,8 +19381,8 @@ api.GoogleCloudAiplatformV1Schema buildGoogleCloudAiplatformV1Schema() { o.minimum = 42.0; o.nullable = true; o.pattern = 'foo'; - o.properties = buildUnnamed279(); - o.required = buildUnnamed280(); + o.properties = buildUnnamed282(); + o.required = buildUnnamed283(); o.title = 'foo'; o.type = 'foo'; } @@ -19148,7 +19411,7 @@ void checkGoogleCloudAiplatformV1Schema(api.GoogleCloudAiplatformV1Schema o) { o.description!, unittest.equals('foo'), ); - checkUnnamed278(o.enum_!); + checkUnnamed281(o.enum_!); var casted64 = (o.example!) as core.Map; unittest.expect(casted64, unittest.hasLength(3)); unittest.expect( @@ -19205,8 +19468,8 @@ void checkGoogleCloudAiplatformV1Schema(api.GoogleCloudAiplatformV1Schema o) { o.pattern!, unittest.equals('foo'), ); - checkUnnamed279(o.properties!); - checkUnnamed280(o.required!); + checkUnnamed282(o.properties!); + checkUnnamed283(o.required!); unittest.expect( o.title!, unittest.equals('foo'), @@ -19219,12 +19482,12 @@ void checkGoogleCloudAiplatformV1Schema(api.GoogleCloudAiplatformV1Schema o) { buildCounterGoogleCloudAiplatformV1Schema--; } -core.List buildUnnamed281() => [ +core.List buildUnnamed284() => [ buildGoogleCloudAiplatformV1DataItemView(), buildGoogleCloudAiplatformV1DataItemView(), ]; -void checkUnnamed281(core.List o) { +void checkUnnamed284(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DataItemView(o[0]); checkGoogleCloudAiplatformV1DataItemView(o[1]); @@ -19236,7 +19499,7 @@ api.GoogleCloudAiplatformV1SearchDataItemsResponse final o = api.GoogleCloudAiplatformV1SearchDataItemsResponse(); buildCounterGoogleCloudAiplatformV1SearchDataItemsResponse++; if (buildCounterGoogleCloudAiplatformV1SearchDataItemsResponse < 3) { - o.dataItemViews = buildUnnamed281(); + o.dataItemViews = buildUnnamed284(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1SearchDataItemsResponse--; @@ -19247,7 +19510,7 @@ void checkGoogleCloudAiplatformV1SearchDataItemsResponse( api.GoogleCloudAiplatformV1SearchDataItemsResponse o) { buildCounterGoogleCloudAiplatformV1SearchDataItemsResponse++; if (buildCounterGoogleCloudAiplatformV1SearchDataItemsResponse < 3) { - checkUnnamed281(o.dataItemViews!); + checkUnnamed284(o.dataItemViews!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -19285,12 +19548,12 @@ void checkGoogleCloudAiplatformV1SearchEntryPoint( buildCounterGoogleCloudAiplatformV1SearchEntryPoint--; } -core.List buildUnnamed282() => [ +core.List buildUnnamed285() => [ buildGoogleCloudAiplatformV1Feature(), buildGoogleCloudAiplatformV1Feature(), ]; -void checkUnnamed282(core.List o) { +void checkUnnamed285(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Feature(o[0]); checkGoogleCloudAiplatformV1Feature(o[1]); @@ -19302,7 +19565,7 @@ api.GoogleCloudAiplatformV1SearchFeaturesResponse final o = api.GoogleCloudAiplatformV1SearchFeaturesResponse(); buildCounterGoogleCloudAiplatformV1SearchFeaturesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchFeaturesResponse < 3) { - o.features = buildUnnamed282(); + o.features = buildUnnamed285(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1SearchFeaturesResponse--; @@ -19313,7 +19576,7 @@ void checkGoogleCloudAiplatformV1SearchFeaturesResponse( api.GoogleCloudAiplatformV1SearchFeaturesResponse o) { buildCounterGoogleCloudAiplatformV1SearchFeaturesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchFeaturesResponse < 3) { - checkUnnamed282(o.features!); + checkUnnamed285(o.features!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -19357,12 +19620,12 @@ void checkGoogleCloudAiplatformV1SearchMigratableResourcesRequest( buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesRequest--; } -core.List buildUnnamed283() => [ +core.List buildUnnamed286() => [ buildGoogleCloudAiplatformV1MigratableResource(), buildGoogleCloudAiplatformV1MigratableResource(), ]; -void checkUnnamed283( +void checkUnnamed286( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1MigratableResource(o[0]); @@ -19377,7 +19640,7 @@ api.GoogleCloudAiplatformV1SearchMigratableResourcesResponse buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesResponse < 3) { - o.migratableResources = buildUnnamed283(); + o.migratableResources = buildUnnamed286(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesResponse--; @@ -19389,7 +19652,7 @@ void checkGoogleCloudAiplatformV1SearchMigratableResourcesResponse( buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesResponse < 3) { - checkUnnamed283(o.migratableResources!); + checkUnnamed286(o.migratableResources!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -19401,12 +19664,12 @@ void checkGoogleCloudAiplatformV1SearchMigratableResourcesResponse( core.List< api .GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective> - buildUnnamed284() => [ + buildUnnamed287() => [ buildGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective(), buildGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective(), ]; -void checkUnnamed284( +void checkUnnamed287( core.List< api .GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective> @@ -19431,7 +19694,7 @@ api.GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequest o.deployedModelId = 'foo'; o.endTime = 'foo'; o.featureDisplayName = 'foo'; - o.objectives = buildUnnamed284(); + o.objectives = buildUnnamed287(); o.pageSize = 42; o.pageToken = 'foo'; o.startTime = 'foo'; @@ -19458,7 +19721,7 @@ void checkGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRe o.featureDisplayName!, unittest.equals('foo'), ); - checkUnnamed284(o.objectives!); + checkUnnamed287(o.objectives!); unittest.expect( o.pageSize!, unittest.equals(42), @@ -19511,12 +19774,12 @@ void checkGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRe } core.List - buildUnnamed285() => [ + buildUnnamed288() => [ buildGoogleCloudAiplatformV1ModelMonitoringStatsAnomalies(), buildGoogleCloudAiplatformV1ModelMonitoringStatsAnomalies(), ]; -void checkUnnamed285( +void checkUnnamed288( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ModelMonitoringStatsAnomalies(o[0]); @@ -19533,7 +19796,7 @@ api.GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse buildCounterGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse < 3) { - o.monitoringStats = buildUnnamed285(); + o.monitoringStats = buildUnnamed288(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse--; @@ -19546,7 +19809,7 @@ void checkGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRe buildCounterGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse < 3) { - checkUnnamed285(o.monitoringStats!); + checkUnnamed288(o.monitoringStats!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -19677,12 +19940,12 @@ void checkGoogleCloudAiplatformV1SmoothGradConfig( buildCounterGoogleCloudAiplatformV1SmoothGradConfig--; } -core.List buildUnnamed286() => [ +core.List buildUnnamed289() => [ 'foo', 'foo', ]; -void checkUnnamed286(core.List o) { +void checkUnnamed289(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -19694,12 +19957,12 @@ void checkUnnamed286(core.List o) { ); } -core.List buildUnnamed287() => [ +core.List buildUnnamed290() => [ 'foo', 'foo', ]; -void checkUnnamed287(core.List o) { +void checkUnnamed290(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -19711,12 +19974,12 @@ void checkUnnamed287(core.List o) { ); } -core.List buildUnnamed288() => [ +core.List buildUnnamed291() => [ 'foo', 'foo', ]; -void checkUnnamed288(core.List o) { +void checkUnnamed291(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -19736,10 +19999,10 @@ api.GoogleCloudAiplatformV1SpecialistPool if (buildCounterGoogleCloudAiplatformV1SpecialistPool < 3) { o.displayName = 'foo'; o.name = 'foo'; - o.pendingDataLabelingJobs = buildUnnamed286(); - o.specialistManagerEmails = buildUnnamed287(); + o.pendingDataLabelingJobs = buildUnnamed289(); + o.specialistManagerEmails = buildUnnamed290(); o.specialistManagersCount = 42; - o.specialistWorkerEmails = buildUnnamed288(); + o.specialistWorkerEmails = buildUnnamed291(); } buildCounterGoogleCloudAiplatformV1SpecialistPool--; return o; @@ -19757,13 +20020,13 @@ void checkGoogleCloudAiplatformV1SpecialistPool( o.name!, unittest.equals('foo'), ); - checkUnnamed286(o.pendingDataLabelingJobs!); - checkUnnamed287(o.specialistManagerEmails!); + checkUnnamed289(o.pendingDataLabelingJobs!); + checkUnnamed290(o.specialistManagerEmails!); unittest.expect( o.specialistManagersCount!, unittest.equals(42), ); - checkUnnamed288(o.specialistWorkerEmails!); + checkUnnamed291(o.specialistWorkerEmails!); } buildCounterGoogleCloudAiplatformV1SpecialistPool--; } @@ -19862,12 +20125,12 @@ void checkGoogleCloudAiplatformV1StreamRawPredictRequest( buildCounterGoogleCloudAiplatformV1StreamRawPredictRequest--; } -core.List buildUnnamed289() => [ +core.List buildUnnamed292() => [ buildGoogleCloudAiplatformV1Tensor(), buildGoogleCloudAiplatformV1Tensor(), ]; -void checkUnnamed289(core.List o) { +void checkUnnamed292(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Tensor(o[0]); checkGoogleCloudAiplatformV1Tensor(o[1]); @@ -19879,7 +20142,7 @@ api.GoogleCloudAiplatformV1StreamingPredictRequest final o = api.GoogleCloudAiplatformV1StreamingPredictRequest(); buildCounterGoogleCloudAiplatformV1StreamingPredictRequest++; if (buildCounterGoogleCloudAiplatformV1StreamingPredictRequest < 3) { - o.inputs = buildUnnamed289(); + o.inputs = buildUnnamed292(); o.parameters = buildGoogleCloudAiplatformV1Tensor(); } buildCounterGoogleCloudAiplatformV1StreamingPredictRequest--; @@ -19890,18 +20153,18 @@ void checkGoogleCloudAiplatformV1StreamingPredictRequest( api.GoogleCloudAiplatformV1StreamingPredictRequest o) { buildCounterGoogleCloudAiplatformV1StreamingPredictRequest++; if (buildCounterGoogleCloudAiplatformV1StreamingPredictRequest < 3) { - checkUnnamed289(o.inputs!); + checkUnnamed292(o.inputs!); checkGoogleCloudAiplatformV1Tensor(o.parameters!); } buildCounterGoogleCloudAiplatformV1StreamingPredictRequest--; } -core.List buildUnnamed290() => [ +core.List buildUnnamed293() => [ buildGoogleCloudAiplatformV1Tensor(), buildGoogleCloudAiplatformV1Tensor(), ]; -void checkUnnamed290(core.List o) { +void checkUnnamed293(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Tensor(o[0]); checkGoogleCloudAiplatformV1Tensor(o[1]); @@ -19913,7 +20176,7 @@ api.GoogleCloudAiplatformV1StreamingPredictResponse final o = api.GoogleCloudAiplatformV1StreamingPredictResponse(); buildCounterGoogleCloudAiplatformV1StreamingPredictResponse++; if (buildCounterGoogleCloudAiplatformV1StreamingPredictResponse < 3) { - o.outputs = buildUnnamed290(); + o.outputs = buildUnnamed293(); o.parameters = buildGoogleCloudAiplatformV1Tensor(); } buildCounterGoogleCloudAiplatformV1StreamingPredictResponse--; @@ -19924,18 +20187,18 @@ void checkGoogleCloudAiplatformV1StreamingPredictResponse( api.GoogleCloudAiplatformV1StreamingPredictResponse o) { buildCounterGoogleCloudAiplatformV1StreamingPredictResponse++; if (buildCounterGoogleCloudAiplatformV1StreamingPredictResponse < 3) { - checkUnnamed290(o.outputs!); + checkUnnamed293(o.outputs!); checkGoogleCloudAiplatformV1Tensor(o.parameters!); } buildCounterGoogleCloudAiplatformV1StreamingPredictResponse--; } -core.List buildUnnamed291() => [ +core.List buildUnnamed294() => [ 'foo', 'foo', ]; -void checkUnnamed291(core.List o) { +void checkUnnamed294(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -19955,7 +20218,7 @@ api.GoogleCloudAiplatformV1StreamingReadFeatureValuesRequest buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest++; if (buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest < 3) { - o.entityIds = buildUnnamed291(); + o.entityIds = buildUnnamed294(); o.featureSelector = buildGoogleCloudAiplatformV1FeatureSelector(); } buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest--; @@ -19967,18 +20230,18 @@ void checkGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest( buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest++; if (buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest < 3) { - checkUnnamed291(o.entityIds!); + checkUnnamed294(o.entityIds!); checkGoogleCloudAiplatformV1FeatureSelector(o.featureSelector!); } buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest--; } -core.List buildUnnamed292() => [ +core.List buildUnnamed295() => [ 'foo', 'foo', ]; -void checkUnnamed292(core.List o) { +void checkUnnamed295(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -19996,7 +20259,7 @@ api.GoogleCloudAiplatformV1StringArray final o = api.GoogleCloudAiplatformV1StringArray(); buildCounterGoogleCloudAiplatformV1StringArray++; if (buildCounterGoogleCloudAiplatformV1StringArray < 3) { - o.values = buildUnnamed292(); + o.values = buildUnnamed295(); } buildCounterGoogleCloudAiplatformV1StringArray--; return o; @@ -20006,7 +20269,7 @@ void checkGoogleCloudAiplatformV1StringArray( api.GoogleCloudAiplatformV1StringArray o) { buildCounterGoogleCloudAiplatformV1StringArray++; if (buildCounterGoogleCloudAiplatformV1StringArray < 3) { - checkUnnamed292(o.values!); + checkUnnamed295(o.values!); } buildCounterGoogleCloudAiplatformV1StringArray--; } @@ -20037,12 +20300,12 @@ void checkGoogleCloudAiplatformV1StructFieldValue( buildCounterGoogleCloudAiplatformV1StructFieldValue--; } -core.List buildUnnamed293() => [ +core.List buildUnnamed296() => [ buildGoogleCloudAiplatformV1StructFieldValue(), buildGoogleCloudAiplatformV1StructFieldValue(), ]; -void checkUnnamed293(core.List o) { +void checkUnnamed296(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1StructFieldValue(o[0]); checkGoogleCloudAiplatformV1StructFieldValue(o[1]); @@ -20054,7 +20317,7 @@ api.GoogleCloudAiplatformV1StructValue final o = api.GoogleCloudAiplatformV1StructValue(); buildCounterGoogleCloudAiplatformV1StructValue++; if (buildCounterGoogleCloudAiplatformV1StructValue < 3) { - o.values = buildUnnamed293(); + o.values = buildUnnamed296(); } buildCounterGoogleCloudAiplatformV1StructValue--; return o; @@ -20064,7 +20327,7 @@ void checkGoogleCloudAiplatformV1StructValue( api.GoogleCloudAiplatformV1StructValue o) { buildCounterGoogleCloudAiplatformV1StructValue++; if (buildCounterGoogleCloudAiplatformV1StructValue < 3) { - checkUnnamed293(o.values!); + checkUnnamed296(o.values!); } buildCounterGoogleCloudAiplatformV1StructValue--; } @@ -20113,12 +20376,12 @@ void checkGoogleCloudAiplatformV1Study(api.GoogleCloudAiplatformV1Study o) { buildCounterGoogleCloudAiplatformV1Study--; } -core.List buildUnnamed294() => [ +core.List buildUnnamed297() => [ buildGoogleCloudAiplatformV1StudySpecMetricSpec(), buildGoogleCloudAiplatformV1StudySpecMetricSpec(), ]; -void checkUnnamed294( +void checkUnnamed297( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1StudySpecMetricSpec(o[0]); @@ -20126,12 +20389,12 @@ void checkUnnamed294( } core.List - buildUnnamed295() => [ + buildUnnamed298() => [ buildGoogleCloudAiplatformV1StudySpecParameterSpec(), buildGoogleCloudAiplatformV1StudySpecParameterSpec(), ]; -void checkUnnamed295( +void checkUnnamed298( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1StudySpecParameterSpec(o[0]); @@ -20151,9 +20414,9 @@ api.GoogleCloudAiplatformV1StudySpec buildGoogleCloudAiplatformV1StudySpec() { o.measurementSelectionType = 'foo'; o.medianAutomatedStoppingSpec = buildGoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec(); - o.metrics = buildUnnamed294(); + o.metrics = buildUnnamed297(); o.observationNoise = 'foo'; - o.parameters = buildUnnamed295(); + o.parameters = buildUnnamed298(); o.studyStoppingConfig = buildGoogleCloudAiplatformV1StudySpecStudyStoppingConfig(); } @@ -20179,12 +20442,12 @@ void checkGoogleCloudAiplatformV1StudySpec( ); checkGoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec( o.medianAutomatedStoppingSpec!); - checkUnnamed294(o.metrics!); + checkUnnamed297(o.metrics!); unittest.expect( o.observationNoise!, unittest.equals('foo'), ); - checkUnnamed295(o.parameters!); + checkUnnamed298(o.parameters!); checkGoogleCloudAiplatformV1StudySpecStudyStoppingConfig( o.studyStoppingConfig!); } @@ -20356,12 +20619,12 @@ void checkGoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig( core.List< api .GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec> - buildUnnamed296() => [ + buildUnnamed299() => [ buildGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec(), buildGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec(), ]; -void checkUnnamed296( +void checkUnnamed299( core.List< api .GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec> @@ -20381,7 +20644,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpec if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpec < 3) { o.categoricalValueSpec = buildGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec(); - o.conditionalParameterSpecs = buildUnnamed296(); + o.conditionalParameterSpecs = buildUnnamed299(); o.discreteValueSpec = buildGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec(); o.doubleValueSpec = @@ -20401,7 +20664,7 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpec( if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpec < 3) { checkGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec( o.categoricalValueSpec!); - checkUnnamed296(o.conditionalParameterSpecs!); + checkUnnamed299(o.conditionalParameterSpecs!); checkGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec( o.discreteValueSpec!); checkGoogleCloudAiplatformV1StudySpecParameterSpecDoubleValueSpec( @@ -20420,12 +20683,12 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpec( buildCounterGoogleCloudAiplatformV1StudySpecParameterSpec--; } -core.List buildUnnamed297() => [ +core.List buildUnnamed300() => [ 'foo', 'foo', ]; -void checkUnnamed297(core.List o) { +void checkUnnamed300(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -20448,7 +20711,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec < 3) { o.defaultValue = 'foo'; - o.values = buildUnnamed297(); + o.values = buildUnnamed300(); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec--; return o; @@ -20463,7 +20726,7 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec( o.defaultValue!, unittest.equals('foo'), ); - checkUnnamed297(o.values!); + checkUnnamed300(o.values!); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec--; } @@ -20507,12 +20770,12 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec( buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec--; } -core.List buildUnnamed298() => [ +core.List buildUnnamed301() => [ 'foo', 'foo', ]; -void checkUnnamed298(core.List o) { +void checkUnnamed301(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -20534,7 +20797,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategor buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition < 3) { - o.values = buildUnnamed298(); + o.values = buildUnnamed301(); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition--; return o; @@ -20546,17 +20809,17 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecC buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition < 3) { - checkUnnamed298(o.values!); + checkUnnamed301(o.values!); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition--; } -core.List buildUnnamed299() => [ +core.List buildUnnamed302() => [ 42.0, 42.0, ]; -void checkUnnamed299(core.List o) { +void checkUnnamed302(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -20578,7 +20841,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscret buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition < 3) { - o.values = buildUnnamed299(); + o.values = buildUnnamed302(); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition--; return o; @@ -20590,17 +20853,17 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecD buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition < 3) { - checkUnnamed299(o.values!); + checkUnnamed302(o.values!); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition--; } -core.List buildUnnamed300() => [ +core.List buildUnnamed303() => [ 'foo', 'foo', ]; -void checkUnnamed300(core.List o) { +void checkUnnamed303(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -20622,7 +20885,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValu buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition < 3) { - o.values = buildUnnamed300(); + o.values = buildUnnamed303(); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition--; return o; @@ -20634,17 +20897,17 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecI buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition < 3) { - checkUnnamed300(o.values!); + checkUnnamed303(o.values!); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition--; } -core.List buildUnnamed301() => [ +core.List buildUnnamed304() => [ 42.0, 42.0, ]; -void checkUnnamed301(core.List o) { +void checkUnnamed304(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -20667,7 +20930,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec < 3) { o.defaultValue = 42.0; - o.values = buildUnnamed301(); + o.values = buildUnnamed304(); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec--; return o; @@ -20682,7 +20945,7 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec( o.defaultValue!, unittest.equals(42.0), ); - checkUnnamed301(o.values!); + checkUnnamed304(o.values!); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec--; } @@ -20841,12 +21104,12 @@ void checkGoogleCloudAiplatformV1StudyTimeConstraint( buildCounterGoogleCloudAiplatformV1StudyTimeConstraint--; } -core.List buildUnnamed302() => [ +core.List buildUnnamed305() => [ buildGoogleCloudAiplatformV1TrialContext(), buildGoogleCloudAiplatformV1TrialContext(), ]; -void checkUnnamed302(core.List o) { +void checkUnnamed305(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrialContext(o[0]); checkGoogleCloudAiplatformV1TrialContext(o[1]); @@ -20859,7 +21122,7 @@ api.GoogleCloudAiplatformV1SuggestTrialsRequest buildCounterGoogleCloudAiplatformV1SuggestTrialsRequest++; if (buildCounterGoogleCloudAiplatformV1SuggestTrialsRequest < 3) { o.clientId = 'foo'; - o.contexts = buildUnnamed302(); + o.contexts = buildUnnamed305(); o.suggestionCount = 42; } buildCounterGoogleCloudAiplatformV1SuggestTrialsRequest--; @@ -20874,7 +21137,7 @@ void checkGoogleCloudAiplatformV1SuggestTrialsRequest( o.clientId!, unittest.equals('foo'), ); - checkUnnamed302(o.contexts!); + checkUnnamed305(o.contexts!); unittest.expect( o.suggestionCount!, unittest.equals(42), @@ -20917,12 +21180,12 @@ void checkGoogleCloudAiplatformV1SupervisedHyperParameters( buildCounterGoogleCloudAiplatformV1SupervisedHyperParameters--; } -core.List buildUnnamed303() => [ +core.List buildUnnamed306() => [ buildGoogleCloudAiplatformV1Content(), buildGoogleCloudAiplatformV1Content(), ]; -void checkUnnamed303(core.List o) { +void checkUnnamed306(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Content(o[0]); checkGoogleCloudAiplatformV1Content(o[1]); @@ -20938,7 +21201,7 @@ api.GoogleCloudAiplatformV1SupervisedTuningDataStats o.totalTuningCharacterCount = 'foo'; o.tuningDatasetExampleCount = 'foo'; o.tuningStepCount = 'foo'; - o.userDatasetExamples = buildUnnamed303(); + o.userDatasetExamples = buildUnnamed306(); o.userInputTokenDistribution = buildGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution(); o.userMessagePerExampleDistribution = @@ -20970,7 +21233,7 @@ void checkGoogleCloudAiplatformV1SupervisedTuningDataStats( o.tuningStepCount!, unittest.equals('foo'), ); - checkUnnamed303(o.userDatasetExamples!); + checkUnnamed306(o.userDatasetExamples!); checkGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution( o.userInputTokenDistribution!); checkGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution( @@ -20984,12 +21247,12 @@ void checkGoogleCloudAiplatformV1SupervisedTuningDataStats( core.List< api .GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket> - buildUnnamed304() => [ + buildUnnamed307() => [ buildGoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket(), buildGoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket(), ]; -void checkUnnamed304( +void checkUnnamed307( core.List< api .GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket> @@ -21009,7 +21272,7 @@ api.GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution buildCounterGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution++; if (buildCounterGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution < 3) { - o.buckets = buildUnnamed304(); + o.buckets = buildUnnamed307(); o.max = 42.0; o.mean = 42.0; o.median = 42.0; @@ -21027,7 +21290,7 @@ void checkGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution( buildCounterGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution++; if (buildCounterGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution < 3) { - checkUnnamed304(o.buckets!); + checkUnnamed307(o.buckets!); unittest.expect( o.max!, unittest.equals(42.0), @@ -21193,23 +21456,23 @@ void checkGoogleCloudAiplatformV1TFRecordDestination( buildCounterGoogleCloudAiplatformV1TFRecordDestination--; } -core.List buildUnnamed305() => [ +core.List buildUnnamed308() => [ true, true, ]; -void checkUnnamed305(core.List o) { +void checkUnnamed308(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.isTrue); unittest.expect(o[1], unittest.isTrue); } -core.List buildUnnamed306() => [ +core.List buildUnnamed309() => [ 'foo', 'foo', ]; -void checkUnnamed306(core.List o) { +void checkUnnamed309(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21221,12 +21484,12 @@ void checkUnnamed306(core.List o) { ); } -core.List buildUnnamed307() => [ +core.List buildUnnamed310() => [ 42.0, 42.0, ]; -void checkUnnamed307(core.List o) { +void checkUnnamed310(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21238,12 +21501,12 @@ void checkUnnamed307(core.List o) { ); } -core.List buildUnnamed308() => [ +core.List buildUnnamed311() => [ 42.0, 42.0, ]; -void checkUnnamed308(core.List o) { +void checkUnnamed311(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21255,12 +21518,12 @@ void checkUnnamed308(core.List o) { ); } -core.List buildUnnamed309() => [ +core.List buildUnnamed312() => [ 'foo', 'foo', ]; -void checkUnnamed309(core.List o) { +void checkUnnamed312(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21272,12 +21535,12 @@ void checkUnnamed309(core.List o) { ); } -core.List buildUnnamed310() => [ +core.List buildUnnamed313() => [ 42, 42, ]; -void checkUnnamed310(core.List o) { +void checkUnnamed313(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21289,23 +21552,23 @@ void checkUnnamed310(core.List o) { ); } -core.List buildUnnamed311() => [ +core.List buildUnnamed314() => [ buildGoogleCloudAiplatformV1Tensor(), buildGoogleCloudAiplatformV1Tensor(), ]; -void checkUnnamed311(core.List o) { +void checkUnnamed314(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Tensor(o[0]); checkGoogleCloudAiplatformV1Tensor(o[1]); } -core.List buildUnnamed312() => [ +core.List buildUnnamed315() => [ 'foo', 'foo', ]; -void checkUnnamed312(core.List o) { +void checkUnnamed315(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21317,12 +21580,12 @@ void checkUnnamed312(core.List o) { ); } -core.List buildUnnamed313() => [ +core.List buildUnnamed316() => [ 'foo', 'foo', ]; -void checkUnnamed313(core.List o) { +void checkUnnamed316(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21334,24 +21597,24 @@ void checkUnnamed313(core.List o) { ); } -core.Map buildUnnamed314() => { +core.Map buildUnnamed317() => { 'x': buildGoogleCloudAiplatformV1Tensor(), 'y': buildGoogleCloudAiplatformV1Tensor(), }; -void checkUnnamed314( +void checkUnnamed317( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Tensor(o['x']!); checkGoogleCloudAiplatformV1Tensor(o['y']!); } -core.List buildUnnamed315() => [ +core.List buildUnnamed318() => [ 'foo', 'foo', ]; -void checkUnnamed315(core.List o) { +void checkUnnamed318(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21363,12 +21626,12 @@ void checkUnnamed315(core.List o) { ); } -core.List buildUnnamed316() => [ +core.List buildUnnamed319() => [ 42, 42, ]; -void checkUnnamed316(core.List o) { +void checkUnnamed319(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21385,20 +21648,20 @@ api.GoogleCloudAiplatformV1Tensor buildGoogleCloudAiplatformV1Tensor() { final o = api.GoogleCloudAiplatformV1Tensor(); buildCounterGoogleCloudAiplatformV1Tensor++; if (buildCounterGoogleCloudAiplatformV1Tensor < 3) { - o.boolVal = buildUnnamed305(); - o.bytesVal = buildUnnamed306(); - o.doubleVal = buildUnnamed307(); + o.boolVal = buildUnnamed308(); + o.bytesVal = buildUnnamed309(); + o.doubleVal = buildUnnamed310(); o.dtype = 'foo'; - o.floatVal = buildUnnamed308(); - o.int64Val = buildUnnamed309(); - o.intVal = buildUnnamed310(); - o.listVal = buildUnnamed311(); - o.shape = buildUnnamed312(); - o.stringVal = buildUnnamed313(); - o.structVal = buildUnnamed314(); + o.floatVal = buildUnnamed311(); + o.int64Val = buildUnnamed312(); + o.intVal = buildUnnamed313(); + o.listVal = buildUnnamed314(); + o.shape = buildUnnamed315(); + o.stringVal = buildUnnamed316(); + o.structVal = buildUnnamed317(); o.tensorVal = 'foo'; - o.uint64Val = buildUnnamed315(); - o.uintVal = buildUnnamed316(); + o.uint64Val = buildUnnamed318(); + o.uintVal = buildUnnamed319(); } buildCounterGoogleCloudAiplatformV1Tensor--; return o; @@ -21407,36 +21670,36 @@ api.GoogleCloudAiplatformV1Tensor buildGoogleCloudAiplatformV1Tensor() { void checkGoogleCloudAiplatformV1Tensor(api.GoogleCloudAiplatformV1Tensor o) { buildCounterGoogleCloudAiplatformV1Tensor++; if (buildCounterGoogleCloudAiplatformV1Tensor < 3) { - checkUnnamed305(o.boolVal!); - checkUnnamed306(o.bytesVal!); - checkUnnamed307(o.doubleVal!); + checkUnnamed308(o.boolVal!); + checkUnnamed309(o.bytesVal!); + checkUnnamed310(o.doubleVal!); unittest.expect( o.dtype!, unittest.equals('foo'), ); - checkUnnamed308(o.floatVal!); - checkUnnamed309(o.int64Val!); - checkUnnamed310(o.intVal!); - checkUnnamed311(o.listVal!); - checkUnnamed312(o.shape!); - checkUnnamed313(o.stringVal!); - checkUnnamed314(o.structVal!); + checkUnnamed311(o.floatVal!); + checkUnnamed312(o.int64Val!); + checkUnnamed313(o.intVal!); + checkUnnamed314(o.listVal!); + checkUnnamed315(o.shape!); + checkUnnamed316(o.stringVal!); + checkUnnamed317(o.structVal!); unittest.expect( o.tensorVal!, unittest.equals('foo'), ); - checkUnnamed315(o.uint64Val!); - checkUnnamed316(o.uintVal!); + checkUnnamed318(o.uint64Val!); + checkUnnamed319(o.uintVal!); } buildCounterGoogleCloudAiplatformV1Tensor--; } -core.Map buildUnnamed317() => { +core.Map buildUnnamed320() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed317(core.Map o) { +void checkUnnamed320(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -21461,7 +21724,7 @@ api.GoogleCloudAiplatformV1Tensorboard o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.etag = 'foo'; o.isDefault = true; - o.labels = buildUnnamed317(); + o.labels = buildUnnamed320(); o.name = 'foo'; o.runCount = 42; o.updateTime = 'foo'; @@ -21496,7 +21759,7 @@ void checkGoogleCloudAiplatformV1Tensorboard( unittest.equals('foo'), ); unittest.expect(o.isDefault!, unittest.isTrue); - checkUnnamed317(o.labels!); + checkUnnamed320(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -21542,12 +21805,12 @@ void checkGoogleCloudAiplatformV1TensorboardBlob( buildCounterGoogleCloudAiplatformV1TensorboardBlob--; } -core.List buildUnnamed318() => [ +core.List buildUnnamed321() => [ buildGoogleCloudAiplatformV1TensorboardBlob(), buildGoogleCloudAiplatformV1TensorboardBlob(), ]; -void checkUnnamed318(core.List o) { +void checkUnnamed321(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TensorboardBlob(o[0]); checkGoogleCloudAiplatformV1TensorboardBlob(o[1]); @@ -21559,7 +21822,7 @@ api.GoogleCloudAiplatformV1TensorboardBlobSequence final o = api.GoogleCloudAiplatformV1TensorboardBlobSequence(); buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence++; if (buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence < 3) { - o.values = buildUnnamed318(); + o.values = buildUnnamed321(); } buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence--; return o; @@ -21569,17 +21832,17 @@ void checkGoogleCloudAiplatformV1TensorboardBlobSequence( api.GoogleCloudAiplatformV1TensorboardBlobSequence o) { buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence++; if (buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence < 3) { - checkUnnamed318(o.values!); + checkUnnamed321(o.values!); } buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence--; } -core.Map buildUnnamed319() => { +core.Map buildUnnamed322() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed319(core.Map o) { +void checkUnnamed322(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -21601,7 +21864,7 @@ api.GoogleCloudAiplatformV1TensorboardExperiment o.description = 'foo'; o.displayName = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed319(); + o.labels = buildUnnamed322(); o.name = 'foo'; o.source = 'foo'; o.updateTime = 'foo'; @@ -21630,7 +21893,7 @@ void checkGoogleCloudAiplatformV1TensorboardExperiment( o.etag!, unittest.equals('foo'), ); - checkUnnamed319(o.labels!); + checkUnnamed322(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -21647,12 +21910,12 @@ void checkGoogleCloudAiplatformV1TensorboardExperiment( buildCounterGoogleCloudAiplatformV1TensorboardExperiment--; } -core.Map buildUnnamed320() => { +core.Map buildUnnamed323() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed320(core.Map o) { +void checkUnnamed323(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -21674,7 +21937,7 @@ api.GoogleCloudAiplatformV1TensorboardRun o.description = 'foo'; o.displayName = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed320(); + o.labels = buildUnnamed323(); o.name = 'foo'; o.updateTime = 'foo'; } @@ -21702,7 +21965,7 @@ void checkGoogleCloudAiplatformV1TensorboardRun( o.etag!, unittest.equals('foo'), ); - checkUnnamed320(o.labels!); + checkUnnamed323(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -21868,12 +22131,12 @@ void checkGoogleCloudAiplatformV1ThresholdConfig( buildCounterGoogleCloudAiplatformV1ThresholdConfig--; } -core.List buildUnnamed321() => [ +core.List buildUnnamed324() => [ buildGoogleCloudAiplatformV1TimeSeriesDataPoint(), buildGoogleCloudAiplatformV1TimeSeriesDataPoint(), ]; -void checkUnnamed321( +void checkUnnamed324( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TimeSeriesDataPoint(o[0]); @@ -21888,7 +22151,7 @@ api.GoogleCloudAiplatformV1TimeSeriesData if (buildCounterGoogleCloudAiplatformV1TimeSeriesData < 3) { o.tensorboardTimeSeriesId = 'foo'; o.valueType = 'foo'; - o.values = buildUnnamed321(); + o.values = buildUnnamed324(); } buildCounterGoogleCloudAiplatformV1TimeSeriesData--; return o; @@ -21906,7 +22169,7 @@ void checkGoogleCloudAiplatformV1TimeSeriesData( o.valueType!, unittest.equals('foo'), ); - checkUnnamed321(o.values!); + checkUnnamed324(o.values!); } buildCounterGoogleCloudAiplatformV1TimeSeriesData--; } @@ -21985,12 +22248,12 @@ void checkGoogleCloudAiplatformV1TimestampSplit( buildCounterGoogleCloudAiplatformV1TimestampSplit--; } -core.List buildUnnamed322() => [ +core.List buildUnnamed325() => [ 'foo', 'foo', ]; -void checkUnnamed322(core.List o) { +void checkUnnamed325(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -22002,12 +22265,12 @@ void checkUnnamed322(core.List o) { ); } -core.List buildUnnamed323() => [ +core.List buildUnnamed326() => [ 'foo', 'foo', ]; -void checkUnnamed323(core.List o) { +void checkUnnamed326(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -22024,8 +22287,8 @@ api.GoogleCloudAiplatformV1TokensInfo buildGoogleCloudAiplatformV1TokensInfo() { final o = api.GoogleCloudAiplatformV1TokensInfo(); buildCounterGoogleCloudAiplatformV1TokensInfo++; if (buildCounterGoogleCloudAiplatformV1TokensInfo < 3) { - o.tokenIds = buildUnnamed322(); - o.tokens = buildUnnamed323(); + o.tokenIds = buildUnnamed325(); + o.tokens = buildUnnamed326(); } buildCounterGoogleCloudAiplatformV1TokensInfo--; return o; @@ -22035,18 +22298,18 @@ void checkGoogleCloudAiplatformV1TokensInfo( api.GoogleCloudAiplatformV1TokensInfo o) { buildCounterGoogleCloudAiplatformV1TokensInfo++; if (buildCounterGoogleCloudAiplatformV1TokensInfo < 3) { - checkUnnamed322(o.tokenIds!); - checkUnnamed323(o.tokens!); + checkUnnamed325(o.tokenIds!); + checkUnnamed326(o.tokens!); } buildCounterGoogleCloudAiplatformV1TokensInfo--; } -core.List buildUnnamed324() => [ +core.List buildUnnamed327() => [ buildGoogleCloudAiplatformV1FunctionDeclaration(), buildGoogleCloudAiplatformV1FunctionDeclaration(), ]; -void checkUnnamed324( +void checkUnnamed327( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1FunctionDeclaration(o[0]); @@ -22058,7 +22321,7 @@ api.GoogleCloudAiplatformV1Tool buildGoogleCloudAiplatformV1Tool() { final o = api.GoogleCloudAiplatformV1Tool(); buildCounterGoogleCloudAiplatformV1Tool++; if (buildCounterGoogleCloudAiplatformV1Tool < 3) { - o.functionDeclarations = buildUnnamed324(); + o.functionDeclarations = buildUnnamed327(); o.googleSearchRetrieval = buildGoogleCloudAiplatformV1GoogleSearchRetrieval(); o.retrieval = buildGoogleCloudAiplatformV1Retrieval(); @@ -22070,13 +22333,34 @@ api.GoogleCloudAiplatformV1Tool buildGoogleCloudAiplatformV1Tool() { void checkGoogleCloudAiplatformV1Tool(api.GoogleCloudAiplatformV1Tool o) { buildCounterGoogleCloudAiplatformV1Tool++; if (buildCounterGoogleCloudAiplatformV1Tool < 3) { - checkUnnamed324(o.functionDeclarations!); + checkUnnamed327(o.functionDeclarations!); checkGoogleCloudAiplatformV1GoogleSearchRetrieval(o.googleSearchRetrieval!); checkGoogleCloudAiplatformV1Retrieval(o.retrieval!); } buildCounterGoogleCloudAiplatformV1Tool--; } +core.int buildCounterGoogleCloudAiplatformV1ToolConfig = 0; +api.GoogleCloudAiplatformV1ToolConfig buildGoogleCloudAiplatformV1ToolConfig() { + final o = api.GoogleCloudAiplatformV1ToolConfig(); + buildCounterGoogleCloudAiplatformV1ToolConfig++; + if (buildCounterGoogleCloudAiplatformV1ToolConfig < 3) { + o.functionCallingConfig = + buildGoogleCloudAiplatformV1FunctionCallingConfig(); + } + buildCounterGoogleCloudAiplatformV1ToolConfig--; + return o; +} + +void checkGoogleCloudAiplatformV1ToolConfig( + api.GoogleCloudAiplatformV1ToolConfig o) { + buildCounterGoogleCloudAiplatformV1ToolConfig++; + if (buildCounterGoogleCloudAiplatformV1ToolConfig < 3) { + checkGoogleCloudAiplatformV1FunctionCallingConfig(o.functionCallingConfig!); + } + buildCounterGoogleCloudAiplatformV1ToolConfig--; +} + core.int buildCounterGoogleCloudAiplatformV1TrainingConfig = 0; api.GoogleCloudAiplatformV1TrainingConfig buildGoogleCloudAiplatformV1TrainingConfig() { @@ -22101,12 +22385,12 @@ void checkGoogleCloudAiplatformV1TrainingConfig( buildCounterGoogleCloudAiplatformV1TrainingConfig--; } -core.Map buildUnnamed325() => { +core.Map buildUnnamed328() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed325(core.Map o) { +void checkUnnamed328(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -22130,7 +22414,7 @@ api.GoogleCloudAiplatformV1TrainingPipeline o.endTime = 'foo'; o.error = buildGoogleRpcStatus(); o.inputDataConfig = buildGoogleCloudAiplatformV1InputDataConfig(); - o.labels = buildUnnamed325(); + o.labels = buildUnnamed328(); o.modelId = 'foo'; o.modelToUpload = buildGoogleCloudAiplatformV1Model(); o.name = 'foo'; @@ -22173,7 +22457,7 @@ void checkGoogleCloudAiplatformV1TrainingPipeline( ); checkGoogleRpcStatus(o.error!); checkGoogleCloudAiplatformV1InputDataConfig(o.inputDataConfig!); - checkUnnamed325(o.labels!); + checkUnnamed328(o.labels!); unittest.expect( o.modelId!, unittest.equals('foo'), @@ -22235,34 +22519,34 @@ void checkGoogleCloudAiplatformV1TrainingPipeline( buildCounterGoogleCloudAiplatformV1TrainingPipeline--; } -core.List buildUnnamed326() => [ +core.List buildUnnamed329() => [ buildGoogleCloudAiplatformV1Measurement(), buildGoogleCloudAiplatformV1Measurement(), ]; -void checkUnnamed326(core.List o) { +void checkUnnamed329(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Measurement(o[0]); checkGoogleCloudAiplatformV1Measurement(o[1]); } -core.List buildUnnamed327() => [ +core.List buildUnnamed330() => [ buildGoogleCloudAiplatformV1TrialParameter(), buildGoogleCloudAiplatformV1TrialParameter(), ]; -void checkUnnamed327(core.List o) { +void checkUnnamed330(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrialParameter(o[0]); checkGoogleCloudAiplatformV1TrialParameter(o[1]); } -core.Map buildUnnamed328() => { +core.Map buildUnnamed331() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed328(core.Map o) { +void checkUnnamed331(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -22285,12 +22569,12 @@ api.GoogleCloudAiplatformV1Trial buildGoogleCloudAiplatformV1Trial() { o.finalMeasurement = buildGoogleCloudAiplatformV1Measurement(); o.id = 'foo'; o.infeasibleReason = 'foo'; - o.measurements = buildUnnamed326(); + o.measurements = buildUnnamed329(); o.name = 'foo'; - o.parameters = buildUnnamed327(); + o.parameters = buildUnnamed330(); o.startTime = 'foo'; o.state = 'foo'; - o.webAccessUris = buildUnnamed328(); + o.webAccessUris = buildUnnamed331(); } buildCounterGoogleCloudAiplatformV1Trial--; return o; @@ -22320,12 +22604,12 @@ void checkGoogleCloudAiplatformV1Trial(api.GoogleCloudAiplatformV1Trial o) { o.infeasibleReason!, unittest.equals('foo'), ); - checkUnnamed326(o.measurements!); + checkUnnamed329(o.measurements!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed327(o.parameters!); + checkUnnamed330(o.parameters!); unittest.expect( o.startTime!, unittest.equals('foo'), @@ -22334,17 +22618,17 @@ void checkGoogleCloudAiplatformV1Trial(api.GoogleCloudAiplatformV1Trial o) { o.state!, unittest.equals('foo'), ); - checkUnnamed328(o.webAccessUris!); + checkUnnamed331(o.webAccessUris!); } buildCounterGoogleCloudAiplatformV1Trial--; } -core.List buildUnnamed329() => [ +core.List buildUnnamed332() => [ buildGoogleCloudAiplatformV1TrialParameter(), buildGoogleCloudAiplatformV1TrialParameter(), ]; -void checkUnnamed329(core.List o) { +void checkUnnamed332(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrialParameter(o[0]); checkGoogleCloudAiplatformV1TrialParameter(o[1]); @@ -22357,7 +22641,7 @@ api.GoogleCloudAiplatformV1TrialContext buildCounterGoogleCloudAiplatformV1TrialContext++; if (buildCounterGoogleCloudAiplatformV1TrialContext < 3) { o.description = 'foo'; - o.parameters = buildUnnamed329(); + o.parameters = buildUnnamed332(); } buildCounterGoogleCloudAiplatformV1TrialContext--; return o; @@ -22371,7 +22655,7 @@ void checkGoogleCloudAiplatformV1TrialContext( o.description!, unittest.equals('foo'), ); - checkUnnamed329(o.parameters!); + checkUnnamed332(o.parameters!); } buildCounterGoogleCloudAiplatformV1TrialContext--; } @@ -22453,6 +22737,10 @@ api.GoogleCloudAiplatformV1TuningDataStats final o = api.GoogleCloudAiplatformV1TuningDataStats(); buildCounterGoogleCloudAiplatformV1TuningDataStats++; if (buildCounterGoogleCloudAiplatformV1TuningDataStats < 3) { + o.distillationDataStats = + buildGoogleCloudAiplatformV1DistillationDataStats(); + o.reinforcementLearningDataStats = + buildGoogleCloudAiplatformV1ReinforcementLearningDataStats(); o.supervisedTuningDataStats = buildGoogleCloudAiplatformV1SupervisedTuningDataStats(); } @@ -22464,18 +22752,21 @@ void checkGoogleCloudAiplatformV1TuningDataStats( api.GoogleCloudAiplatformV1TuningDataStats o) { buildCounterGoogleCloudAiplatformV1TuningDataStats++; if (buildCounterGoogleCloudAiplatformV1TuningDataStats < 3) { + checkGoogleCloudAiplatformV1DistillationDataStats(o.distillationDataStats!); + checkGoogleCloudAiplatformV1ReinforcementLearningDataStats( + o.reinforcementLearningDataStats!); checkGoogleCloudAiplatformV1SupervisedTuningDataStats( o.supervisedTuningDataStats!); } buildCounterGoogleCloudAiplatformV1TuningDataStats--; } -core.Map buildUnnamed330() => { +core.Map buildUnnamed333() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed330(core.Map o) { +void checkUnnamed333(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -22499,7 +22790,7 @@ api.GoogleCloudAiplatformV1TuningJob buildGoogleCloudAiplatformV1TuningJob() { o.endTime = 'foo'; o.error = buildGoogleRpcStatus(); o.experiment = 'foo'; - o.labels = buildUnnamed330(); + o.labels = buildUnnamed333(); o.name = 'foo'; o.startTime = 'foo'; o.state = 'foo'; @@ -22539,7 +22830,7 @@ void checkGoogleCloudAiplatformV1TuningJob( o.experiment!, unittest.equals('foo'), ); - checkUnnamed330(o.labels!); + checkUnnamed333(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -22591,12 +22882,12 @@ void checkGoogleCloudAiplatformV1UndeployIndexRequest( buildCounterGoogleCloudAiplatformV1UndeployIndexRequest--; } -core.Map buildUnnamed331() => { +core.Map buildUnnamed334() => { 'x': 42, 'y': 42, }; -void checkUnnamed331(core.Map o) { +void checkUnnamed334(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -22615,7 +22906,7 @@ api.GoogleCloudAiplatformV1UndeployModelRequest buildCounterGoogleCloudAiplatformV1UndeployModelRequest++; if (buildCounterGoogleCloudAiplatformV1UndeployModelRequest < 3) { o.deployedModelId = 'foo'; - o.trafficSplit = buildUnnamed331(); + o.trafficSplit = buildUnnamed334(); } buildCounterGoogleCloudAiplatformV1UndeployModelRequest--; return o; @@ -22629,7 +22920,7 @@ void checkGoogleCloudAiplatformV1UndeployModelRequest( o.deployedModelId!, unittest.equals('foo'), ); - checkUnnamed331(o.trafficSplit!); + checkUnnamed334(o.trafficSplit!); } buildCounterGoogleCloudAiplatformV1UndeployModelRequest--; } @@ -22736,12 +23027,12 @@ void checkGoogleCloudAiplatformV1UploadModelRequest( buildCounterGoogleCloudAiplatformV1UploadModelRequest--; } -core.List buildUnnamed332() => [ +core.List buildUnnamed335() => [ buildGoogleCloudAiplatformV1IndexDatapoint(), buildGoogleCloudAiplatformV1IndexDatapoint(), ]; -void checkUnnamed332(core.List o) { +void checkUnnamed335(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1IndexDatapoint(o[0]); checkGoogleCloudAiplatformV1IndexDatapoint(o[1]); @@ -22753,7 +23044,7 @@ api.GoogleCloudAiplatformV1UpsertDatapointsRequest final o = api.GoogleCloudAiplatformV1UpsertDatapointsRequest(); buildCounterGoogleCloudAiplatformV1UpsertDatapointsRequest++; if (buildCounterGoogleCloudAiplatformV1UpsertDatapointsRequest < 3) { - o.datapoints = buildUnnamed332(); + o.datapoints = buildUnnamed335(); o.updateMask = 'foo'; } buildCounterGoogleCloudAiplatformV1UpsertDatapointsRequest--; @@ -22764,7 +23055,7 @@ void checkGoogleCloudAiplatformV1UpsertDatapointsRequest( api.GoogleCloudAiplatformV1UpsertDatapointsRequest o) { buildCounterGoogleCloudAiplatformV1UpsertDatapointsRequest++; if (buildCounterGoogleCloudAiplatformV1UpsertDatapointsRequest < 3) { - checkUnnamed332(o.datapoints!); + checkUnnamed335(o.datapoints!); unittest.expect( o.updateMask!, unittest.equals('foo'), @@ -22909,12 +23200,12 @@ void checkGoogleCloudAiplatformV1VideoMetadata( buildCounterGoogleCloudAiplatformV1VideoMetadata--; } -core.List buildUnnamed333() => [ +core.List buildUnnamed336() => [ buildGoogleCloudAiplatformV1NfsMount(), buildGoogleCloudAiplatformV1NfsMount(), ]; -void checkUnnamed333(core.List o) { +void checkUnnamed336(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1NfsMount(o[0]); checkGoogleCloudAiplatformV1NfsMount(o[1]); @@ -22929,7 +23220,7 @@ api.GoogleCloudAiplatformV1WorkerPoolSpec o.containerSpec = buildGoogleCloudAiplatformV1ContainerSpec(); o.diskSpec = buildGoogleCloudAiplatformV1DiskSpec(); o.machineSpec = buildGoogleCloudAiplatformV1MachineSpec(); - o.nfsMounts = buildUnnamed333(); + o.nfsMounts = buildUnnamed336(); o.pythonPackageSpec = buildGoogleCloudAiplatformV1PythonPackageSpec(); o.replicaCount = 'foo'; } @@ -22944,7 +23235,7 @@ void checkGoogleCloudAiplatformV1WorkerPoolSpec( checkGoogleCloudAiplatformV1ContainerSpec(o.containerSpec!); checkGoogleCloudAiplatformV1DiskSpec(o.diskSpec!); checkGoogleCloudAiplatformV1MachineSpec(o.machineSpec!); - checkUnnamed333(o.nfsMounts!); + checkUnnamed336(o.nfsMounts!); checkGoogleCloudAiplatformV1PythonPackageSpec(o.pythonPackageSpec!); unittest.expect( o.replicaCount!, @@ -22955,12 +23246,12 @@ void checkGoogleCloudAiplatformV1WorkerPoolSpec( } core.Map - buildUnnamed334() => { + buildUnnamed337() => { 'x': buildGoogleCloudAiplatformV1FeatureValue(), 'y': buildGoogleCloudAiplatformV1FeatureValue(), }; -void checkUnnamed334( +void checkUnnamed337( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1FeatureValue(o['x']!); @@ -22974,7 +23265,7 @@ api.GoogleCloudAiplatformV1WriteFeatureValuesPayload buildCounterGoogleCloudAiplatformV1WriteFeatureValuesPayload++; if (buildCounterGoogleCloudAiplatformV1WriteFeatureValuesPayload < 3) { o.entityId = 'foo'; - o.featureValues = buildUnnamed334(); + o.featureValues = buildUnnamed337(); } buildCounterGoogleCloudAiplatformV1WriteFeatureValuesPayload--; return o; @@ -22988,18 +23279,18 @@ void checkGoogleCloudAiplatformV1WriteFeatureValuesPayload( o.entityId!, unittest.equals('foo'), ); - checkUnnamed334(o.featureValues!); + checkUnnamed337(o.featureValues!); } buildCounterGoogleCloudAiplatformV1WriteFeatureValuesPayload--; } core.List - buildUnnamed335() => [ + buildUnnamed338() => [ buildGoogleCloudAiplatformV1WriteFeatureValuesPayload(), buildGoogleCloudAiplatformV1WriteFeatureValuesPayload(), ]; -void checkUnnamed335( +void checkUnnamed338( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1WriteFeatureValuesPayload(o[0]); @@ -23012,7 +23303,7 @@ api.GoogleCloudAiplatformV1WriteFeatureValuesRequest final o = api.GoogleCloudAiplatformV1WriteFeatureValuesRequest(); buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest++; if (buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest < 3) { - o.payloads = buildUnnamed335(); + o.payloads = buildUnnamed338(); } buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest--; return o; @@ -23022,7 +23313,7 @@ void checkGoogleCloudAiplatformV1WriteFeatureValuesRequest( api.GoogleCloudAiplatformV1WriteFeatureValuesRequest o) { buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest++; if (buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest < 3) { - checkUnnamed335(o.payloads!); + checkUnnamed338(o.payloads!); } buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest--; } @@ -23045,12 +23336,12 @@ void checkGoogleCloudAiplatformV1WriteFeatureValuesResponse( } core.List - buildUnnamed336() => [ + buildUnnamed339() => [ buildGoogleCloudAiplatformV1WriteTensorboardRunDataRequest(), buildGoogleCloudAiplatformV1WriteTensorboardRunDataRequest(), ]; -void checkUnnamed336( +void checkUnnamed339( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1WriteTensorboardRunDataRequest(o[0]); @@ -23066,7 +23357,7 @@ api.GoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest++; if (buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest < 3) { - o.writeRunDataRequests = buildUnnamed336(); + o.writeRunDataRequests = buildUnnamed339(); } buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest--; return o; @@ -23077,7 +23368,7 @@ void checkGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest( buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest++; if (buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest < 3) { - checkUnnamed336(o.writeRunDataRequests!); + checkUnnamed339(o.writeRunDataRequests!); } buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest--; } @@ -23103,12 +23394,12 @@ void checkGoogleCloudAiplatformV1WriteTensorboardExperimentDataResponse( buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataResponse--; } -core.List buildUnnamed337() => [ +core.List buildUnnamed340() => [ buildGoogleCloudAiplatformV1TimeSeriesData(), buildGoogleCloudAiplatformV1TimeSeriesData(), ]; -void checkUnnamed337(core.List o) { +void checkUnnamed340(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TimeSeriesData(o[0]); checkGoogleCloudAiplatformV1TimeSeriesData(o[1]); @@ -23121,7 +23412,7 @@ api.GoogleCloudAiplatformV1WriteTensorboardRunDataRequest buildCounterGoogleCloudAiplatformV1WriteTensorboardRunDataRequest++; if (buildCounterGoogleCloudAiplatformV1WriteTensorboardRunDataRequest < 3) { o.tensorboardRun = 'foo'; - o.timeSeriesData = buildUnnamed337(); + o.timeSeriesData = buildUnnamed340(); } buildCounterGoogleCloudAiplatformV1WriteTensorboardRunDataRequest--; return o; @@ -23135,7 +23426,7 @@ void checkGoogleCloudAiplatformV1WriteTensorboardRunDataRequest( o.tensorboardRun!, unittest.equals('foo'), ); - checkUnnamed337(o.timeSeriesData!); + checkUnnamed340(o.timeSeriesData!); } buildCounterGoogleCloudAiplatformV1WriteTensorboardRunDataRequest--; } @@ -23185,12 +23476,12 @@ void checkGoogleCloudAiplatformV1XraiAttribution( buildCounterGoogleCloudAiplatformV1XraiAttribution--; } -core.List buildUnnamed338() => [ +core.List buildUnnamed341() => [ buildGoogleCloudLocationLocation(), buildGoogleCloudLocationLocation(), ]; -void checkUnnamed338(core.List o) { +void checkUnnamed341(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudLocationLocation(o[0]); checkGoogleCloudLocationLocation(o[1]); @@ -23202,7 +23493,7 @@ api.GoogleCloudLocationListLocationsResponse final o = api.GoogleCloudLocationListLocationsResponse(); buildCounterGoogleCloudLocationListLocationsResponse++; if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { - o.locations = buildUnnamed338(); + o.locations = buildUnnamed341(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudLocationListLocationsResponse--; @@ -23213,7 +23504,7 @@ void checkGoogleCloudLocationListLocationsResponse( api.GoogleCloudLocationListLocationsResponse o) { buildCounterGoogleCloudLocationListLocationsResponse++; if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { - checkUnnamed338(o.locations!); + checkUnnamed341(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -23222,12 +23513,12 @@ void checkGoogleCloudLocationListLocationsResponse( buildCounterGoogleCloudLocationListLocationsResponse--; } -core.Map buildUnnamed339() => { +core.Map buildUnnamed342() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed339(core.Map o) { +void checkUnnamed342(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -23239,7 +23530,7 @@ void checkUnnamed339(core.Map o) { ); } -core.Map buildUnnamed340() => { +core.Map buildUnnamed343() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -23252,7 +23543,7 @@ core.Map buildUnnamed340() => { }, }; -void checkUnnamed340(core.Map o) { +void checkUnnamed343(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted68 = (o['x']!) as core.Map; unittest.expect(casted68, unittest.hasLength(3)); @@ -23290,9 +23581,9 @@ api.GoogleCloudLocationLocation buildGoogleCloudLocationLocation() { buildCounterGoogleCloudLocationLocation++; if (buildCounterGoogleCloudLocationLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed339(); + o.labels = buildUnnamed342(); o.locationId = 'foo'; - o.metadata = buildUnnamed340(); + o.metadata = buildUnnamed343(); o.name = 'foo'; } buildCounterGoogleCloudLocationLocation--; @@ -23306,12 +23597,12 @@ void checkGoogleCloudLocationLocation(api.GoogleCloudLocationLocation o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed339(o.labels!); + checkUnnamed342(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed340(o.metadata!); + checkUnnamed343(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -23320,12 +23611,12 @@ void checkGoogleCloudLocationLocation(api.GoogleCloudLocationLocation o) { buildCounterGoogleCloudLocationLocation--; } -core.List buildUnnamed341() => [ +core.List buildUnnamed344() => [ 'foo', 'foo', ]; -void checkUnnamed341(core.List o) { +void checkUnnamed344(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23343,7 +23634,7 @@ api.GoogleIamV1Binding buildGoogleIamV1Binding() { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { o.condition = buildGoogleTypeExpr(); - o.members = buildUnnamed341(); + o.members = buildUnnamed344(); o.role = 'foo'; } buildCounterGoogleIamV1Binding--; @@ -23354,7 +23645,7 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { checkGoogleTypeExpr(o.condition!); - checkUnnamed341(o.members!); + checkUnnamed344(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -23363,12 +23654,12 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding--; } -core.List buildUnnamed342() => [ +core.List buildUnnamed345() => [ buildGoogleIamV1Binding(), buildGoogleIamV1Binding(), ]; -void checkUnnamed342(core.List o) { +void checkUnnamed345(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1Binding(o[0]); checkGoogleIamV1Binding(o[1]); @@ -23379,7 +23670,7 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { final o = api.GoogleIamV1Policy(); buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - o.bindings = buildUnnamed342(); + o.bindings = buildUnnamed345(); o.etag = 'foo'; o.version = 42; } @@ -23390,7 +23681,7 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { void checkGoogleIamV1Policy(api.GoogleIamV1Policy o) { buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - checkUnnamed342(o.bindings!); + checkUnnamed345(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -23422,12 +23713,12 @@ void checkGoogleIamV1SetIamPolicyRequest(api.GoogleIamV1SetIamPolicyRequest o) { buildCounterGoogleIamV1SetIamPolicyRequest--; } -core.List buildUnnamed343() => [ +core.List buildUnnamed346() => [ 'foo', 'foo', ]; -void checkUnnamed343(core.List o) { +void checkUnnamed346(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23445,7 +23736,7 @@ api.GoogleIamV1TestIamPermissionsResponse final o = api.GoogleIamV1TestIamPermissionsResponse(); buildCounterGoogleIamV1TestIamPermissionsResponse++; if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed343(); + o.permissions = buildUnnamed346(); } buildCounterGoogleIamV1TestIamPermissionsResponse--; return o; @@ -23455,17 +23746,17 @@ void checkGoogleIamV1TestIamPermissionsResponse( api.GoogleIamV1TestIamPermissionsResponse o) { buildCounterGoogleIamV1TestIamPermissionsResponse++; if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) { - checkUnnamed343(o.permissions!); + checkUnnamed346(o.permissions!); } buildCounterGoogleIamV1TestIamPermissionsResponse--; } -core.List buildUnnamed344() => [ +core.List buildUnnamed347() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed344(core.List o) { +void checkUnnamed347(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -23478,7 +23769,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed344(); + o.operations = buildUnnamed347(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -23492,12 +23783,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed344(o.operations!); + checkUnnamed347(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed345() => { +core.Map buildUnnamed348() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -23510,7 +23801,7 @@ core.Map buildUnnamed345() => { }, }; -void checkUnnamed345(core.Map o) { +void checkUnnamed348(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted70 = (o['x']!) as core.Map; unittest.expect(casted70, unittest.hasLength(3)); @@ -23542,7 +23833,7 @@ void checkUnnamed345(core.Map o) { ); } -core.Map buildUnnamed346() => { +core.Map buildUnnamed349() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -23555,7 +23846,7 @@ core.Map buildUnnamed346() => { }, }; -void checkUnnamed346(core.Map o) { +void checkUnnamed349(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted72 = (o['x']!) as core.Map; unittest.expect(casted72, unittest.hasLength(3)); @@ -23594,9 +23885,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed345(); + o.metadata = buildUnnamed348(); o.name = 'foo'; - o.response = buildUnnamed346(); + o.response = buildUnnamed349(); } buildCounterGoogleLongrunningOperation--; return o; @@ -23607,12 +23898,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed345(o.metadata!); + checkUnnamed348(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed346(o.response!); + checkUnnamed349(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -23632,7 +23923,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed347() => { +core.Map buildUnnamed350() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -23645,7 +23936,7 @@ core.Map buildUnnamed347() => { }, }; -void checkUnnamed347(core.Map o) { +void checkUnnamed350(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted74 = (o['x']!) as core.Map; unittest.expect(casted74, unittest.hasLength(3)); @@ -23677,15 +23968,15 @@ void checkUnnamed347(core.Map o) { ); } -core.List> buildUnnamed348() => [ - buildUnnamed347(), - buildUnnamed347(), +core.List> buildUnnamed351() => [ + buildUnnamed350(), + buildUnnamed350(), ]; -void checkUnnamed348(core.List> o) { +void checkUnnamed351(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed347(o[0]); - checkUnnamed347(o[1]); + checkUnnamed350(o[0]); + checkUnnamed350(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -23694,7 +23985,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed348(); + o.details = buildUnnamed351(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -23708,7 +23999,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed348(o.details!); + checkUnnamed351(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -23845,12 +24136,12 @@ void checkGoogleTypeMoney(api.GoogleTypeMoney o) { buildCounterGoogleTypeMoney--; } -core.List buildUnnamed349() => [ +core.List buildUnnamed352() => [ 'foo', 'foo', ]; -void checkUnnamed349(core.List o) { +void checkUnnamed352(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23862,12 +24153,12 @@ void checkUnnamed349(core.List o) { ); } -core.List buildUnnamed350() => [ +core.List buildUnnamed353() => [ 'foo', 'foo', ]; -void checkUnnamed350(core.List o) { +void checkUnnamed353(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23879,12 +24170,12 @@ void checkUnnamed350(core.List o) { ); } -core.List buildUnnamed351() => [ +core.List buildUnnamed354() => [ 'foo', 'foo', ]; -void checkUnnamed351(core.List o) { +void checkUnnamed354(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23896,12 +24187,12 @@ void checkUnnamed351(core.List o) { ); } -core.List buildUnnamed352() => [ +core.List buildUnnamed355() => [ 'foo', 'foo', ]; -void checkUnnamed352(core.List o) { +void checkUnnamed355(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23913,12 +24204,12 @@ void checkUnnamed352(core.List o) { ); } -core.List buildUnnamed353() => [ +core.List buildUnnamed356() => [ 'foo', 'foo', ]; -void checkUnnamed353(core.List o) { +void checkUnnamed356(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23930,12 +24221,12 @@ void checkUnnamed353(core.List o) { ); } -core.List buildUnnamed354() => [ +core.List buildUnnamed357() => [ 'foo', 'foo', ]; -void checkUnnamed354(core.List o) { +void checkUnnamed357(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23947,12 +24238,12 @@ void checkUnnamed354(core.List o) { ); } -core.List buildUnnamed355() => [ +core.List buildUnnamed358() => [ 'foo', 'foo', ]; -void checkUnnamed355(core.List o) { +void checkUnnamed358(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -24841,6 +25132,40 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudAiplatformV1DatasetDistribution', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudAiplatformV1DatasetDistribution(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudAiplatformV1DatasetDistribution.fromJson( + oJson as core.Map); + checkGoogleCloudAiplatformV1DatasetDistribution(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudAiplatformV1DatasetDistributionDistributionBucket', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudAiplatformV1DatasetDistributionDistributionBucket(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudAiplatformV1DatasetDistributionDistributionBucket + .fromJson(oJson as core.Map); + checkGoogleCloudAiplatformV1DatasetDistributionDistributionBucket(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudAiplatformV1DatasetStats', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudAiplatformV1DatasetStats(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudAiplatformV1DatasetStats.fromJson( + oJson as core.Map); + checkGoogleCloudAiplatformV1DatasetStats(od); + }); + }); + unittest.group('obj-schema-GoogleCloudAiplatformV1DatasetVersion', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudAiplatformV1DatasetVersion(); @@ -25059,6 +25384,16 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudAiplatformV1DistillationDataStats', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudAiplatformV1DistillationDataStats(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudAiplatformV1DistillationDataStats.fromJson( + oJson as core.Map); + checkGoogleCloudAiplatformV1DistillationDataStats(od); + }); + }); + unittest.group('obj-schema-GoogleCloudAiplatformV1DoubleArray', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudAiplatformV1DoubleArray(); @@ -26092,6 +26427,16 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudAiplatformV1FunctionCallingConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudAiplatformV1FunctionCallingConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudAiplatformV1FunctionCallingConfig.fromJson( + oJson as core.Map); + checkGoogleCloudAiplatformV1FunctionCallingConfig(od); + }); + }); + unittest.group('obj-schema-GoogleCloudAiplatformV1FunctionDeclaration', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudAiplatformV1FunctionDeclaration(); @@ -28655,6 +29000,18 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleCloudAiplatformV1ReinforcementLearningDataStats', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudAiplatformV1ReinforcementLearningDataStats(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudAiplatformV1ReinforcementLearningDataStats.fromJson( + oJson as core.Map); + checkGoogleCloudAiplatformV1ReinforcementLearningDataStats(od); + }); + }); + unittest.group( 'obj-schema-GoogleCloudAiplatformV1RemoveContextChildrenRequest', () { unittest.test('to-json--from-json', () async { @@ -29674,6 +30031,16 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudAiplatformV1ToolConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudAiplatformV1ToolConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudAiplatformV1ToolConfig.fromJson( + oJson as core.Map); + checkGoogleCloudAiplatformV1ToolConfig(od); + }); + }); + unittest.group('obj-schema-GoogleCloudAiplatformV1TrainingConfig', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudAiplatformV1TrainingConfig(); @@ -32238,7 +32605,7 @@ void main() { final mock = HttpServerMock(); final res = api.AiplatformApi(mock).projects.locations.datasets; final arg_dataset = 'foo'; - final arg_annotationFilters = buildUnnamed349(); + final arg_annotationFilters = buildUnnamed352(); final arg_annotationsFilter = 'foo'; final arg_annotationsLimit = 42; final arg_dataItemFilter = 'foo'; @@ -40061,7 +40428,7 @@ void main() { final mock = HttpServerMock(); final res = api.AiplatformApi(mock).projects.locations.featurestores; final arg_resource = 'foo'; - final arg_permissions = buildUnnamed350(); + final arg_permissions = buildUnnamed353(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -40891,7 +41258,7 @@ void main() { final res = api.AiplatformApi(mock).projects.locations.featurestores.entityTypes; final arg_resource = 'foo'; - final arg_permissions = buildUnnamed351(); + final arg_permissions = buildUnnamed354(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -49930,7 +50297,7 @@ void main() { final mock = HttpServerMock(); final res = api.AiplatformApi(mock).projects.locations.models; final arg_resource = 'foo'; - final arg_permissions = buildUnnamed352(); + final arg_permissions = buildUnnamed355(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -51868,6 +52235,72 @@ void main() { as api.GoogleCloudAiplatformV1ListNotebookRuntimeTemplatesResponse); }); + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = + api.AiplatformApi(mock).projects.locations.notebookRuntimeTemplates; + final arg_request = buildGoogleCloudAiplatformV1NotebookRuntimeTemplate(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudAiplatformV1NotebookRuntimeTemplate.fromJson( + json as core.Map); + checkGoogleCloudAiplatformV1NotebookRuntimeTemplate(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['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudAiplatformV1NotebookRuntimeTemplate()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleCloudAiplatformV1NotebookRuntimeTemplate( + response as api.GoogleCloudAiplatformV1NotebookRuntimeTemplate); + }); + unittest.test('method--setIamPolicy', () async { final mock = HttpServerMock(); final res = @@ -51932,7 +52365,7 @@ void main() { final res = api.AiplatformApi(mock).projects.locations.notebookRuntimeTemplates; final arg_resource = 'foo'; - final arg_permissions = buildUnnamed353(); + final arg_permissions = buildUnnamed356(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -57370,7 +57803,7 @@ void main() { final mock = HttpServerMock(); final res = api.AiplatformApi(mock).projects.locations.tensorboards; final arg_tensorboard = 'foo'; - final arg_timeSeries = buildUnnamed354(); + final arg_timeSeries = buildUnnamed357(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -59946,7 +60379,7 @@ void main() { .runs .timeSeries; final arg_timeSeries = 'foo'; - final arg_blobIds = buildUnnamed355(); + final arg_blobIds = buildUnnamed358(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; diff --git a/generated/googleapis/test/airquality/v1_test.dart b/generated/googleapis/test/airquality/v1_test.dart new file mode 100644 index 000000000..5baca56ba --- /dev/null +++ b/generated/googleapis/test/airquality/v1_test.dart @@ -0,0 +1,1345 @@ +// ignore_for_file: camel_case_types +// ignore_for_file: comment_references +// ignore_for_file: deprecated_member_use_from_same_package +// ignore_for_file: doc_directive_unknown +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_const_declarations +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_final_locals +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_cast +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_string_interpolations +// ignore_for_file: unreachable_from_main +// ignore_for_file: unused_local_variable + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:googleapis/airquality/v1.dart' as api; +import 'package:http/http.dart' as http; +import 'package:test/test.dart' as unittest; + +import '../test_shared.dart'; + +core.int buildCounterAdditionalInfo = 0; +api.AdditionalInfo buildAdditionalInfo() { + final o = api.AdditionalInfo(); + buildCounterAdditionalInfo++; + if (buildCounterAdditionalInfo < 3) { + o.effects = 'foo'; + o.sources = 'foo'; + } + buildCounterAdditionalInfo--; + return o; +} + +void checkAdditionalInfo(api.AdditionalInfo o) { + buildCounterAdditionalInfo++; + if (buildCounterAdditionalInfo < 3) { + unittest.expect( + o.effects!, + unittest.equals('foo'), + ); + unittest.expect( + o.sources!, + unittest.equals('foo'), + ); + } + buildCounterAdditionalInfo--; +} + +core.int buildCounterAirQualityIndex = 0; +api.AirQualityIndex buildAirQualityIndex() { + final o = api.AirQualityIndex(); + buildCounterAirQualityIndex++; + if (buildCounterAirQualityIndex < 3) { + o.aqi = 42; + o.aqiDisplay = 'foo'; + o.category = 'foo'; + o.code = 'foo'; + o.color = buildColor(); + o.displayName = 'foo'; + o.dominantPollutant = 'foo'; + } + buildCounterAirQualityIndex--; + return o; +} + +void checkAirQualityIndex(api.AirQualityIndex o) { + buildCounterAirQualityIndex++; + if (buildCounterAirQualityIndex < 3) { + unittest.expect( + o.aqi!, + unittest.equals(42), + ); + unittest.expect( + o.aqiDisplay!, + unittest.equals('foo'), + ); + unittest.expect( + o.category!, + unittest.equals('foo'), + ); + unittest.expect( + o.code!, + unittest.equals('foo'), + ); + checkColor(o.color!); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.dominantPollutant!, + unittest.equals('foo'), + ); + } + buildCounterAirQualityIndex--; +} + +core.int buildCounterColor = 0; +api.Color buildColor() { + final o = api.Color(); + buildCounterColor++; + if (buildCounterColor < 3) { + o.alpha = 42.0; + o.blue = 42.0; + o.green = 42.0; + o.red = 42.0; + } + buildCounterColor--; + return o; +} + +void checkColor(api.Color o) { + buildCounterColor++; + if (buildCounterColor < 3) { + unittest.expect( + o.alpha!, + unittest.equals(42.0), + ); + unittest.expect( + o.blue!, + unittest.equals(42.0), + ); + unittest.expect( + o.green!, + unittest.equals(42.0), + ); + unittest.expect( + o.red!, + unittest.equals(42.0), + ); + } + buildCounterColor--; +} + +core.int buildCounterConcentration = 0; +api.Concentration buildConcentration() { + final o = api.Concentration(); + buildCounterConcentration++; + if (buildCounterConcentration < 3) { + o.units = 'foo'; + o.value = 42.0; + } + buildCounterConcentration--; + return o; +} + +void checkConcentration(api.Concentration o) { + buildCounterConcentration++; + if (buildCounterConcentration < 3) { + unittest.expect( + o.units!, + unittest.equals('foo'), + ); + unittest.expect( + o.value!, + unittest.equals(42.0), + ); + } + buildCounterConcentration--; +} + +core.int buildCounterCustomLocalAqi = 0; +api.CustomLocalAqi buildCustomLocalAqi() { + final o = api.CustomLocalAqi(); + buildCounterCustomLocalAqi++; + if (buildCounterCustomLocalAqi < 3) { + o.aqi = 'foo'; + o.regionCode = 'foo'; + } + buildCounterCustomLocalAqi--; + return o; +} + +void checkCustomLocalAqi(api.CustomLocalAqi o) { + buildCounterCustomLocalAqi++; + if (buildCounterCustomLocalAqi < 3) { + unittest.expect( + o.aqi!, + unittest.equals('foo'), + ); + unittest.expect( + o.regionCode!, + unittest.equals('foo'), + ); + } + buildCounterCustomLocalAqi--; +} + +core.int buildCounterHealthRecommendations = 0; +api.HealthRecommendations buildHealthRecommendations() { + final o = api.HealthRecommendations(); + buildCounterHealthRecommendations++; + if (buildCounterHealthRecommendations < 3) { + o.athletes = 'foo'; + o.children = 'foo'; + o.elderly = 'foo'; + o.generalPopulation = 'foo'; + o.heartDiseasePopulation = 'foo'; + o.lungDiseasePopulation = 'foo'; + o.pregnantWomen = 'foo'; + } + buildCounterHealthRecommendations--; + return o; +} + +void checkHealthRecommendations(api.HealthRecommendations o) { + buildCounterHealthRecommendations++; + if (buildCounterHealthRecommendations < 3) { + unittest.expect( + o.athletes!, + unittest.equals('foo'), + ); + unittest.expect( + o.children!, + unittest.equals('foo'), + ); + unittest.expect( + o.elderly!, + unittest.equals('foo'), + ); + unittest.expect( + o.generalPopulation!, + unittest.equals('foo'), + ); + unittest.expect( + o.heartDiseasePopulation!, + unittest.equals('foo'), + ); + unittest.expect( + o.lungDiseasePopulation!, + unittest.equals('foo'), + ); + unittest.expect( + o.pregnantWomen!, + unittest.equals('foo'), + ); + } + buildCounterHealthRecommendations--; +} + +core.List buildUnnamed0() => [ + buildAirQualityIndex(), + buildAirQualityIndex(), + ]; + +void checkUnnamed0(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkAirQualityIndex(o[0]); + checkAirQualityIndex(o[1]); +} + +core.List buildUnnamed1() => [ + buildPollutant(), + buildPollutant(), + ]; + +void checkUnnamed1(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkPollutant(o[0]); + checkPollutant(o[1]); +} + +core.int buildCounterHourInfo = 0; +api.HourInfo buildHourInfo() { + final o = api.HourInfo(); + buildCounterHourInfo++; + if (buildCounterHourInfo < 3) { + o.dateTime = 'foo'; + o.healthRecommendations = buildHealthRecommendations(); + o.indexes = buildUnnamed0(); + o.pollutants = buildUnnamed1(); + } + buildCounterHourInfo--; + return o; +} + +void checkHourInfo(api.HourInfo o) { + buildCounterHourInfo++; + if (buildCounterHourInfo < 3) { + unittest.expect( + o.dateTime!, + unittest.equals('foo'), + ); + checkHealthRecommendations(o.healthRecommendations!); + checkUnnamed0(o.indexes!); + checkUnnamed1(o.pollutants!); + } + buildCounterHourInfo--; +} + +core.List buildUnnamed2() => [ + buildAirQualityIndex(), + buildAirQualityIndex(), + ]; + +void checkUnnamed2(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkAirQualityIndex(o[0]); + checkAirQualityIndex(o[1]); +} + +core.List buildUnnamed3() => [ + buildPollutant(), + buildPollutant(), + ]; + +void checkUnnamed3(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkPollutant(o[0]); + checkPollutant(o[1]); +} + +core.int buildCounterHourlyForecast = 0; +api.HourlyForecast buildHourlyForecast() { + final o = api.HourlyForecast(); + buildCounterHourlyForecast++; + if (buildCounterHourlyForecast < 3) { + o.dateTime = 'foo'; + o.healthRecommendations = buildHealthRecommendations(); + o.indexes = buildUnnamed2(); + o.pollutants = buildUnnamed3(); + } + buildCounterHourlyForecast--; + return o; +} + +void checkHourlyForecast(api.HourlyForecast o) { + buildCounterHourlyForecast++; + if (buildCounterHourlyForecast < 3) { + unittest.expect( + o.dateTime!, + unittest.equals('foo'), + ); + checkHealthRecommendations(o.healthRecommendations!); + checkUnnamed2(o.indexes!); + checkUnnamed3(o.pollutants!); + } + buildCounterHourlyForecast--; +} + +core.Map buildUnnamed4() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed4(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted1 = (o['x']!) as core.Map; + unittest.expect(casted1, unittest.hasLength(3)); + unittest.expect( + casted1['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted1['bool'], + unittest.equals(true), + ); + unittest.expect( + casted1['string'], + unittest.equals('foo'), + ); + var casted2 = (o['y']!) as core.Map; + unittest.expect(casted2, unittest.hasLength(3)); + unittest.expect( + casted2['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted2['bool'], + unittest.equals(true), + ); + unittest.expect( + casted2['string'], + unittest.equals('foo'), + ); +} + +core.List> buildUnnamed5() => [ + buildUnnamed4(), + buildUnnamed4(), + ]; + +void checkUnnamed5(core.List> o) { + unittest.expect(o, unittest.hasLength(2)); + checkUnnamed4(o[0]); + checkUnnamed4(o[1]); +} + +core.int buildCounterHttpBody = 0; +api.HttpBody buildHttpBody() { + final o = api.HttpBody(); + buildCounterHttpBody++; + if (buildCounterHttpBody < 3) { + o.contentType = 'foo'; + o.data = 'foo'; + o.extensions = buildUnnamed5(); + } + buildCounterHttpBody--; + return o; +} + +void checkHttpBody(api.HttpBody o) { + buildCounterHttpBody++; + if (buildCounterHttpBody < 3) { + unittest.expect( + o.contentType!, + unittest.equals('foo'), + ); + unittest.expect( + o.data!, + unittest.equals('foo'), + ); + checkUnnamed5(o.extensions!); + } + buildCounterHttpBody--; +} + +core.int buildCounterInterval = 0; +api.Interval buildInterval() { + final o = api.Interval(); + buildCounterInterval++; + if (buildCounterInterval < 3) { + o.endTime = 'foo'; + o.startTime = 'foo'; + } + buildCounterInterval--; + return o; +} + +void checkInterval(api.Interval o) { + buildCounterInterval++; + if (buildCounterInterval < 3) { + unittest.expect( + o.endTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.startTime!, + unittest.equals('foo'), + ); + } + buildCounterInterval--; +} + +core.int buildCounterLatLng = 0; +api.LatLng buildLatLng() { + final o = api.LatLng(); + buildCounterLatLng++; + if (buildCounterLatLng < 3) { + o.latitude = 42.0; + o.longitude = 42.0; + } + buildCounterLatLng--; + return o; +} + +void checkLatLng(api.LatLng o) { + buildCounterLatLng++; + if (buildCounterLatLng < 3) { + unittest.expect( + o.latitude!, + unittest.equals(42.0), + ); + unittest.expect( + o.longitude!, + unittest.equals(42.0), + ); + } + buildCounterLatLng--; +} + +core.List buildUnnamed6() => [ + buildCustomLocalAqi(), + buildCustomLocalAqi(), + ]; + +void checkUnnamed6(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkCustomLocalAqi(o[0]); + checkCustomLocalAqi(o[1]); +} + +core.List buildUnnamed7() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed7(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterLookupCurrentConditionsRequest = 0; +api.LookupCurrentConditionsRequest buildLookupCurrentConditionsRequest() { + final o = api.LookupCurrentConditionsRequest(); + buildCounterLookupCurrentConditionsRequest++; + if (buildCounterLookupCurrentConditionsRequest < 3) { + o.customLocalAqis = buildUnnamed6(); + o.extraComputations = buildUnnamed7(); + o.languageCode = 'foo'; + o.location = buildLatLng(); + o.uaqiColorPalette = 'foo'; + o.universalAqi = true; + } + buildCounterLookupCurrentConditionsRequest--; + return o; +} + +void checkLookupCurrentConditionsRequest(api.LookupCurrentConditionsRequest o) { + buildCounterLookupCurrentConditionsRequest++; + if (buildCounterLookupCurrentConditionsRequest < 3) { + checkUnnamed6(o.customLocalAqis!); + checkUnnamed7(o.extraComputations!); + unittest.expect( + o.languageCode!, + unittest.equals('foo'), + ); + checkLatLng(o.location!); + unittest.expect( + o.uaqiColorPalette!, + unittest.equals('foo'), + ); + unittest.expect(o.universalAqi!, unittest.isTrue); + } + buildCounterLookupCurrentConditionsRequest--; +} + +core.List buildUnnamed8() => [ + buildAirQualityIndex(), + buildAirQualityIndex(), + ]; + +void checkUnnamed8(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkAirQualityIndex(o[0]); + checkAirQualityIndex(o[1]); +} + +core.List buildUnnamed9() => [ + buildPollutant(), + buildPollutant(), + ]; + +void checkUnnamed9(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkPollutant(o[0]); + checkPollutant(o[1]); +} + +core.int buildCounterLookupCurrentConditionsResponse = 0; +api.LookupCurrentConditionsResponse buildLookupCurrentConditionsResponse() { + final o = api.LookupCurrentConditionsResponse(); + buildCounterLookupCurrentConditionsResponse++; + if (buildCounterLookupCurrentConditionsResponse < 3) { + o.dateTime = 'foo'; + o.healthRecommendations = buildHealthRecommendations(); + o.indexes = buildUnnamed8(); + o.pollutants = buildUnnamed9(); + o.regionCode = 'foo'; + } + buildCounterLookupCurrentConditionsResponse--; + return o; +} + +void checkLookupCurrentConditionsResponse( + api.LookupCurrentConditionsResponse o) { + buildCounterLookupCurrentConditionsResponse++; + if (buildCounterLookupCurrentConditionsResponse < 3) { + unittest.expect( + o.dateTime!, + unittest.equals('foo'), + ); + checkHealthRecommendations(o.healthRecommendations!); + checkUnnamed8(o.indexes!); + checkUnnamed9(o.pollutants!); + unittest.expect( + o.regionCode!, + unittest.equals('foo'), + ); + } + buildCounterLookupCurrentConditionsResponse--; +} + +core.List buildUnnamed10() => [ + buildCustomLocalAqi(), + buildCustomLocalAqi(), + ]; + +void checkUnnamed10(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkCustomLocalAqi(o[0]); + checkCustomLocalAqi(o[1]); +} + +core.List buildUnnamed11() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed11(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterLookupForecastRequest = 0; +api.LookupForecastRequest buildLookupForecastRequest() { + final o = api.LookupForecastRequest(); + buildCounterLookupForecastRequest++; + if (buildCounterLookupForecastRequest < 3) { + o.customLocalAqis = buildUnnamed10(); + o.dateTime = 'foo'; + o.extraComputations = buildUnnamed11(); + o.languageCode = 'foo'; + o.location = buildLatLng(); + o.pageSize = 42; + o.pageToken = 'foo'; + o.period = buildInterval(); + o.uaqiColorPalette = 'foo'; + o.universalAqi = true; + } + buildCounterLookupForecastRequest--; + return o; +} + +void checkLookupForecastRequest(api.LookupForecastRequest o) { + buildCounterLookupForecastRequest++; + if (buildCounterLookupForecastRequest < 3) { + checkUnnamed10(o.customLocalAqis!); + unittest.expect( + o.dateTime!, + unittest.equals('foo'), + ); + checkUnnamed11(o.extraComputations!); + unittest.expect( + o.languageCode!, + unittest.equals('foo'), + ); + checkLatLng(o.location!); + unittest.expect( + o.pageSize!, + unittest.equals(42), + ); + unittest.expect( + o.pageToken!, + unittest.equals('foo'), + ); + checkInterval(o.period!); + unittest.expect( + o.uaqiColorPalette!, + unittest.equals('foo'), + ); + unittest.expect(o.universalAqi!, unittest.isTrue); + } + buildCounterLookupForecastRequest--; +} + +core.List buildUnnamed12() => [ + buildHourlyForecast(), + buildHourlyForecast(), + ]; + +void checkUnnamed12(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkHourlyForecast(o[0]); + checkHourlyForecast(o[1]); +} + +core.int buildCounterLookupForecastResponse = 0; +api.LookupForecastResponse buildLookupForecastResponse() { + final o = api.LookupForecastResponse(); + buildCounterLookupForecastResponse++; + if (buildCounterLookupForecastResponse < 3) { + o.hourlyForecasts = buildUnnamed12(); + o.nextPageToken = 'foo'; + o.regionCode = 'foo'; + } + buildCounterLookupForecastResponse--; + return o; +} + +void checkLookupForecastResponse(api.LookupForecastResponse o) { + buildCounterLookupForecastResponse++; + if (buildCounterLookupForecastResponse < 3) { + checkUnnamed12(o.hourlyForecasts!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + unittest.expect( + o.regionCode!, + unittest.equals('foo'), + ); + } + buildCounterLookupForecastResponse--; +} + +core.List buildUnnamed13() => [ + buildCustomLocalAqi(), + buildCustomLocalAqi(), + ]; + +void checkUnnamed13(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkCustomLocalAqi(o[0]); + checkCustomLocalAqi(o[1]); +} + +core.List buildUnnamed14() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed14(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterLookupHistoryRequest = 0; +api.LookupHistoryRequest buildLookupHistoryRequest() { + final o = api.LookupHistoryRequest(); + buildCounterLookupHistoryRequest++; + if (buildCounterLookupHistoryRequest < 3) { + o.customLocalAqis = buildUnnamed13(); + o.dateTime = 'foo'; + o.extraComputations = buildUnnamed14(); + o.hours = 42; + o.languageCode = 'foo'; + o.location = buildLatLng(); + o.pageSize = 42; + o.pageToken = 'foo'; + o.period = buildInterval(); + o.uaqiColorPalette = 'foo'; + o.universalAqi = true; + } + buildCounterLookupHistoryRequest--; + return o; +} + +void checkLookupHistoryRequest(api.LookupHistoryRequest o) { + buildCounterLookupHistoryRequest++; + if (buildCounterLookupHistoryRequest < 3) { + checkUnnamed13(o.customLocalAqis!); + unittest.expect( + o.dateTime!, + unittest.equals('foo'), + ); + checkUnnamed14(o.extraComputations!); + unittest.expect( + o.hours!, + unittest.equals(42), + ); + unittest.expect( + o.languageCode!, + unittest.equals('foo'), + ); + checkLatLng(o.location!); + unittest.expect( + o.pageSize!, + unittest.equals(42), + ); + unittest.expect( + o.pageToken!, + unittest.equals('foo'), + ); + checkInterval(o.period!); + unittest.expect( + o.uaqiColorPalette!, + unittest.equals('foo'), + ); + unittest.expect(o.universalAqi!, unittest.isTrue); + } + buildCounterLookupHistoryRequest--; +} + +core.List buildUnnamed15() => [ + buildHourInfo(), + buildHourInfo(), + ]; + +void checkUnnamed15(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkHourInfo(o[0]); + checkHourInfo(o[1]); +} + +core.int buildCounterLookupHistoryResponse = 0; +api.LookupHistoryResponse buildLookupHistoryResponse() { + final o = api.LookupHistoryResponse(); + buildCounterLookupHistoryResponse++; + if (buildCounterLookupHistoryResponse < 3) { + o.hoursInfo = buildUnnamed15(); + o.nextPageToken = 'foo'; + o.regionCode = 'foo'; + } + buildCounterLookupHistoryResponse--; + return o; +} + +void checkLookupHistoryResponse(api.LookupHistoryResponse o) { + buildCounterLookupHistoryResponse++; + if (buildCounterLookupHistoryResponse < 3) { + checkUnnamed15(o.hoursInfo!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + unittest.expect( + o.regionCode!, + unittest.equals('foo'), + ); + } + buildCounterLookupHistoryResponse--; +} + +core.int buildCounterPollutant = 0; +api.Pollutant buildPollutant() { + final o = api.Pollutant(); + buildCounterPollutant++; + if (buildCounterPollutant < 3) { + o.additionalInfo = buildAdditionalInfo(); + o.code = 'foo'; + o.concentration = buildConcentration(); + o.displayName = 'foo'; + o.fullName = 'foo'; + } + buildCounterPollutant--; + return o; +} + +void checkPollutant(api.Pollutant o) { + buildCounterPollutant++; + if (buildCounterPollutant < 3) { + checkAdditionalInfo(o.additionalInfo!); + unittest.expect( + o.code!, + unittest.equals('foo'), + ); + checkConcentration(o.concentration!); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.fullName!, + unittest.equals('foo'), + ); + } + buildCounterPollutant--; +} + +void main() { + unittest.group('obj-schema-AdditionalInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildAdditionalInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AdditionalInfo.fromJson( + oJson as core.Map); + checkAdditionalInfo(od); + }); + }); + + unittest.group('obj-schema-AirQualityIndex', () { + unittest.test('to-json--from-json', () async { + final o = buildAirQualityIndex(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AirQualityIndex.fromJson( + oJson as core.Map); + checkAirQualityIndex(od); + }); + }); + + unittest.group('obj-schema-Color', () { + unittest.test('to-json--from-json', () async { + final o = buildColor(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Color.fromJson(oJson as core.Map); + checkColor(od); + }); + }); + + unittest.group('obj-schema-Concentration', () { + unittest.test('to-json--from-json', () async { + final o = buildConcentration(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.Concentration.fromJson( + oJson as core.Map); + checkConcentration(od); + }); + }); + + unittest.group('obj-schema-CustomLocalAqi', () { + unittest.test('to-json--from-json', () async { + final o = buildCustomLocalAqi(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CustomLocalAqi.fromJson( + oJson as core.Map); + checkCustomLocalAqi(od); + }); + }); + + unittest.group('obj-schema-HealthRecommendations', () { + unittest.test('to-json--from-json', () async { + final o = buildHealthRecommendations(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.HealthRecommendations.fromJson( + oJson as core.Map); + checkHealthRecommendations(od); + }); + }); + + unittest.group('obj-schema-HourInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildHourInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.HourInfo.fromJson(oJson as core.Map); + checkHourInfo(od); + }); + }); + + unittest.group('obj-schema-HourlyForecast', () { + unittest.test('to-json--from-json', () async { + final o = buildHourlyForecast(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.HourlyForecast.fromJson( + oJson as core.Map); + checkHourlyForecast(od); + }); + }); + + unittest.group('obj-schema-HttpBody', () { + unittest.test('to-json--from-json', () async { + final o = buildHttpBody(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.HttpBody.fromJson(oJson as core.Map); + checkHttpBody(od); + }); + }); + + unittest.group('obj-schema-Interval', () { + unittest.test('to-json--from-json', () async { + final o = buildInterval(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Interval.fromJson(oJson as core.Map); + checkInterval(od); + }); + }); + + unittest.group('obj-schema-LatLng', () { + unittest.test('to-json--from-json', () async { + final o = buildLatLng(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.LatLng.fromJson(oJson as core.Map); + checkLatLng(od); + }); + }); + + unittest.group('obj-schema-LookupCurrentConditionsRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildLookupCurrentConditionsRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.LookupCurrentConditionsRequest.fromJson( + oJson as core.Map); + checkLookupCurrentConditionsRequest(od); + }); + }); + + unittest.group('obj-schema-LookupCurrentConditionsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildLookupCurrentConditionsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.LookupCurrentConditionsResponse.fromJson( + oJson as core.Map); + checkLookupCurrentConditionsResponse(od); + }); + }); + + unittest.group('obj-schema-LookupForecastRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildLookupForecastRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.LookupForecastRequest.fromJson( + oJson as core.Map); + checkLookupForecastRequest(od); + }); + }); + + unittest.group('obj-schema-LookupForecastResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildLookupForecastResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.LookupForecastResponse.fromJson( + oJson as core.Map); + checkLookupForecastResponse(od); + }); + }); + + unittest.group('obj-schema-LookupHistoryRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildLookupHistoryRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.LookupHistoryRequest.fromJson( + oJson as core.Map); + checkLookupHistoryRequest(od); + }); + }); + + unittest.group('obj-schema-LookupHistoryResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildLookupHistoryResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.LookupHistoryResponse.fromJson( + oJson as core.Map); + checkLookupHistoryResponse(od); + }); + }); + + unittest.group('obj-schema-Pollutant', () { + unittest.test('to-json--from-json', () async { + final o = buildPollutant(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Pollutant.fromJson(oJson as core.Map); + checkPollutant(od); + }); + }); + + unittest.group('resource-CurrentConditionsResource', () { + unittest.test('method--lookup', () async { + final mock = HttpServerMock(); + final res = api.AirQualityApi(mock).currentConditions; + final arg_request = buildLookupCurrentConditionsRequest(); + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.LookupCurrentConditionsRequest.fromJson( + json as core.Map); + checkLookupCurrentConditionsRequest(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 + 27), + unittest.equals('v1/currentConditions:lookup'), + ); + pathOffset += 27; + + 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(buildLookupCurrentConditionsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.lookup(arg_request, $fields: arg_$fields); + checkLookupCurrentConditionsResponse( + response as api.LookupCurrentConditionsResponse); + }); + }); + + unittest.group('resource-ForecastResource', () { + unittest.test('method--lookup', () async { + final mock = HttpServerMock(); + final res = api.AirQualityApi(mock).forecast; + final arg_request = buildLookupForecastRequest(); + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.LookupForecastRequest.fromJson( + json as core.Map); + checkLookupForecastRequest(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 + 18), + unittest.equals('v1/forecast:lookup'), + ); + pathOffset += 18; + + 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(buildLookupForecastResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.lookup(arg_request, $fields: arg_$fields); + checkLookupForecastResponse(response as api.LookupForecastResponse); + }); + }); + + unittest.group('resource-HistoryResource', () { + unittest.test('method--lookup', () async { + final mock = HttpServerMock(); + final res = api.AirQualityApi(mock).history; + final arg_request = buildLookupHistoryRequest(); + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.LookupHistoryRequest.fromJson( + json as core.Map); + checkLookupHistoryRequest(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 + 17), + unittest.equals('v1/history:lookup'), + ); + pathOffset += 17; + + 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(buildLookupHistoryResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.lookup(arg_request, $fields: arg_$fields); + checkLookupHistoryResponse(response as api.LookupHistoryResponse); + }); + }); + + unittest.group('resource-MapTypesHeatmapTilesResource', () { + unittest.test('method--lookupHeatmapTile', () async { + final mock = HttpServerMock(); + final res = api.AirQualityApi(mock).mapTypes.heatmapTiles; + final arg_mapType = 'foo'; + final arg_zoom = 42; + final arg_x = 42; + final arg_y = 42; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + 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 + 12), + unittest.equals('v1/mapTypes/'), + ); + pathOffset += 12; + index = path.indexOf('/heatmapTiles/', pathOffset); + unittest.expect(index >= 0, unittest.isTrue); + subPart = + core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); + pathOffset = index; + unittest.expect( + subPart, + unittest.equals('$arg_mapType'), + ); + unittest.expect( + path.substring(pathOffset, pathOffset + 14), + unittest.equals('/heatmapTiles/'), + ); + pathOffset += 14; + index = path.indexOf('/', pathOffset); + unittest.expect(index >= 0, unittest.isTrue); + subPart = + core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); + pathOffset = index; + unittest.expect( + subPart, + unittest.equals('$arg_zoom'), + ); + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + index = path.indexOf('/', pathOffset); + unittest.expect(index >= 0, unittest.isTrue); + subPart = + core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); + pathOffset = index; + unittest.expect( + subPart, + unittest.equals('$arg_x'), + ); + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); + pathOffset = path.length; + unittest.expect( + subPart, + unittest.equals('$arg_y'), + ); + + 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(buildHttpBody()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.lookupHeatmapTile( + arg_mapType, arg_zoom, arg_x, arg_y, + $fields: arg_$fields); + checkHttpBody(response as api.HttpBody); + }); + }); +} diff --git a/generated/googleapis/test/androidmanagement/v1_test.dart b/generated/googleapis/test/androidmanagement/v1_test.dart index 0590ce2cf..7a76c8d3c 100644 --- a/generated/googleapis/test/androidmanagement/v1_test.dart +++ b/generated/googleapis/test/androidmanagement/v1_test.dart @@ -591,6 +591,7 @@ api.ApplicationPolicy buildApplicationPolicy() { o.minimumVersionCode = 42; o.packageName = 'foo'; o.permissionGrants = buildUnnamed13(); + o.userControlSettings = 'foo'; o.workProfileWidgets = 'foo'; } buildCounterApplicationPolicy--; @@ -645,6 +646,10 @@ void checkApplicationPolicy(api.ApplicationPolicy o) { unittest.equals('foo'), ); checkUnnamed13(o.permissionGrants!); + unittest.expect( + o.userControlSettings!, + unittest.equals('foo'), + ); unittest.expect( o.workProfileWidgets!, unittest.equals('foo'), @@ -1795,6 +1800,7 @@ api.Enterprise buildEnterprise() { o.contactInfo = buildContactInfo(); o.enabledNotificationTypes = buildUnnamed32(); o.enterpriseDisplayName = 'foo'; + o.googleAuthenticationSettings = buildGoogleAuthenticationSettings(); o.logo = buildExternalData(); o.name = 'foo'; o.primaryColor = 42; @@ -1816,6 +1822,7 @@ void checkEnterprise(api.Enterprise o) { o.enterpriseDisplayName!, unittest.equals('foo'), ); + checkGoogleAuthenticationSettings(o.googleAuthenticationSettings!); checkExternalData(o.logo!); unittest.expect( o.name!, @@ -1924,6 +1931,28 @@ void checkFreezePeriod(api.FreezePeriod o) { buildCounterFreezePeriod--; } +core.int buildCounterGoogleAuthenticationSettings = 0; +api.GoogleAuthenticationSettings buildGoogleAuthenticationSettings() { + final o = api.GoogleAuthenticationSettings(); + buildCounterGoogleAuthenticationSettings++; + if (buildCounterGoogleAuthenticationSettings < 3) { + o.googleAuthenticationRequired = 'foo'; + } + buildCounterGoogleAuthenticationSettings--; + return o; +} + +void checkGoogleAuthenticationSettings(api.GoogleAuthenticationSettings o) { + buildCounterGoogleAuthenticationSettings++; + if (buildCounterGoogleAuthenticationSettings < 3) { + unittest.expect( + o.googleAuthenticationRequired!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAuthenticationSettings--; +} + core.List buildUnnamed36() => [ 42.0, 42.0, @@ -4181,6 +4210,7 @@ api.ProvisioningInfo buildProvisioningInfo() { buildCounterProvisioningInfo++; if (buildCounterProvisioningInfo < 3) { o.apiLevel = 42; + o.authenticatedUserEmail = 'foo'; o.brand = 'foo'; o.enterprise = 'foo'; o.imei = 'foo'; @@ -4202,6 +4232,10 @@ void checkProvisioningInfo(api.ProvisioningInfo o) { o.apiLevel!, unittest.equals(42), ); + unittest.expect( + o.authenticatedUserEmail!, + unittest.equals('foo'), + ); unittest.expect( o.brand!, unittest.equals('foo'), @@ -5547,6 +5581,16 @@ void main() { }); }); + unittest.group('obj-schema-GoogleAuthenticationSettings', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAuthenticationSettings(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAuthenticationSettings.fromJson( + oJson as core.Map); + checkGoogleAuthenticationSettings(od); + }); + }); + unittest.group('obj-schema-HardwareInfo', () { unittest.test('to-json--from-json', () async { final o = buildHardwareInfo(); diff --git a/generated/googleapis/test/backupdr/v1_test.dart b/generated/googleapis/test/backupdr/v1_test.dart index ae2ba6842..74b5c9d16 100644 --- a/generated/googleapis/test/backupdr/v1_test.dart +++ b/generated/googleapis/test/backupdr/v1_test.dart @@ -492,6 +492,8 @@ api.ManagementServer buildManagementServer() { o.name = 'foo'; o.networks = buildUnnamed11(); o.oauth2ClientId = 'foo'; + o.satisfiesPzi = true; + o.satisfiesPzs = true; o.state = 'foo'; o.type = 'foo'; o.updateTime = 'foo'; @@ -531,6 +533,8 @@ void checkManagementServer(api.ManagementServer o) { o.oauth2ClientId!, unittest.equals('foo'), ); + unittest.expect(o.satisfiesPzi!, unittest.isTrue); + unittest.expect(o.satisfiesPzs!, unittest.isTrue); unittest.expect( o.state!, unittest.equals('foo'), diff --git a/generated/googleapis/test/bigquery/v2_test.dart b/generated/googleapis/test/bigquery/v2_test.dart index 6aee35f3d..09e02d727 100644 --- a/generated/googleapis/test/bigquery/v2_test.dart +++ b/generated/googleapis/test/bigquery/v2_test.dart @@ -1703,6 +1703,23 @@ void checkUnnamed29(core.Map o) { ); } +core.Map buildUnnamed30() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed30(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + core.int buildCounterDatasetTags = 0; api.DatasetTags buildDatasetTags() { final o = api.DatasetTags(); @@ -1730,12 +1747,12 @@ void checkDatasetTags(api.DatasetTags o) { buildCounterDatasetTags--; } -core.List buildUnnamed30() => [ +core.List buildUnnamed31() => [ buildDatasetTags(), buildDatasetTags(), ]; -void checkUnnamed30(core.List o) { +void checkUnnamed31(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatasetTags(o[0]); checkDatasetTags(o[1]); @@ -1768,12 +1785,13 @@ api.Dataset buildDataset() { o.linkedDatasetSource = buildLinkedDatasetSource(); o.location = 'foo'; o.maxTimeTravelHours = 'foo'; + o.resourceTags = buildUnnamed30(); o.restrictions = buildRestrictionConfig(); o.satisfiesPzi = true; o.satisfiesPzs = true; o.selfLink = 'foo'; o.storageBillingModel = 'foo'; - o.tags = buildUnnamed30(); + o.tags = buildUnnamed31(); o.type = 'foo'; } buildCounterDataset--; @@ -1844,6 +1862,7 @@ void checkDataset(api.Dataset o) { o.maxTimeTravelHours!, unittest.equals('foo'), ); + checkUnnamed30(o.resourceTags!); checkRestrictionConfig(o.restrictions!); unittest.expect(o.satisfiesPzi!, unittest.isTrue); unittest.expect(o.satisfiesPzs!, unittest.isTrue); @@ -1855,7 +1874,7 @@ void checkDataset(api.Dataset o) { o.storageBillingModel!, unittest.equals('foo'), ); - checkUnnamed30(o.tags!); + checkUnnamed31(o.tags!); unittest.expect( o.type!, unittest.equals('foo'), @@ -1864,12 +1883,12 @@ void checkDataset(api.Dataset o) { buildCounterDataset--; } -core.List buildUnnamed31() => [ +core.List buildUnnamed32() => [ 'foo', 'foo', ]; -void checkUnnamed31(core.List o) { +void checkUnnamed32(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1887,7 +1906,7 @@ api.DatasetAccessEntry buildDatasetAccessEntry() { buildCounterDatasetAccessEntry++; if (buildCounterDatasetAccessEntry < 3) { o.dataset = buildDatasetReference(); - o.targetTypes = buildUnnamed31(); + o.targetTypes = buildUnnamed32(); } buildCounterDatasetAccessEntry--; return o; @@ -1897,17 +1916,17 @@ void checkDatasetAccessEntry(api.DatasetAccessEntry o) { buildCounterDatasetAccessEntry++; if (buildCounterDatasetAccessEntry < 3) { checkDatasetReference(o.dataset!); - checkUnnamed31(o.targetTypes!); + checkUnnamed32(o.targetTypes!); } buildCounterDatasetAccessEntry--; } -core.Map buildUnnamed32() => { +core.Map buildUnnamed33() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed32(core.Map o) { +void checkUnnamed33(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1928,7 +1947,7 @@ api.DatasetListDatasets buildDatasetListDatasets() { o.friendlyName = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.labels = buildUnnamed32(); + o.labels = buildUnnamed33(); o.location = 'foo'; } buildCounterDatasetListDatasets--; @@ -1951,7 +1970,7 @@ void checkDatasetListDatasets(api.DatasetListDatasets o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed32(o.labels!); + checkUnnamed33(o.labels!); unittest.expect( o.location!, unittest.equals('foo'), @@ -1960,23 +1979,23 @@ void checkDatasetListDatasets(api.DatasetListDatasets o) { buildCounterDatasetListDatasets--; } -core.List buildUnnamed33() => [ +core.List buildUnnamed34() => [ buildDatasetListDatasets(), buildDatasetListDatasets(), ]; -void checkUnnamed33(core.List o) { +void checkUnnamed34(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatasetListDatasets(o[0]); checkDatasetListDatasets(o[1]); } -core.List buildUnnamed34() => [ +core.List buildUnnamed35() => [ 'foo', 'foo', ]; -void checkUnnamed34(core.List o) { +void checkUnnamed35(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1993,11 +2012,11 @@ api.DatasetList buildDatasetList() { final o = api.DatasetList(); buildCounterDatasetList++; if (buildCounterDatasetList < 3) { - o.datasets = buildUnnamed33(); + o.datasets = buildUnnamed34(); o.etag = 'foo'; o.kind = 'foo'; o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed34(); + o.unreachable = buildUnnamed35(); } buildCounterDatasetList--; return o; @@ -2006,7 +2025,7 @@ api.DatasetList buildDatasetList() { void checkDatasetList(api.DatasetList o) { buildCounterDatasetList++; if (buildCounterDatasetList < 3) { - checkUnnamed33(o.datasets!); + checkUnnamed34(o.datasets!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -2019,7 +2038,7 @@ void checkDatasetList(api.DatasetList o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed34(o.unreachable!); + checkUnnamed35(o.unreachable!); } buildCounterDatasetList--; } @@ -2051,12 +2070,12 @@ void checkDatasetReference(api.DatasetReference o) { buildCounterDatasetReference--; } -core.Map buildUnnamed35() => { +core.Map buildUnnamed36() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed35(core.Map o) { +void checkUnnamed36(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2076,7 +2095,7 @@ api.DestinationTableProperties buildDestinationTableProperties() { o.description = 'foo'; o.expirationTime = core.DateTime.parse('2002-02-27T14:01:02Z'); o.friendlyName = 'foo'; - o.labels = buildUnnamed35(); + o.labels = buildUnnamed36(); } buildCounterDestinationTableProperties--; return o; @@ -2097,7 +2116,7 @@ void checkDestinationTableProperties(api.DestinationTableProperties o) { o.friendlyName!, unittest.equals('foo'), ); - checkUnnamed35(o.labels!); + checkUnnamed36(o.labels!); } buildCounterDestinationTableProperties--; } @@ -2213,12 +2232,12 @@ void checkDmlStatistics(api.DmlStatistics o) { buildCounterDmlStatistics--; } -core.List buildUnnamed36() => [ +core.List buildUnnamed37() => [ 42.0, 42.0, ]; -void checkUnnamed36(core.List o) { +void checkUnnamed37(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2235,7 +2254,7 @@ api.DoubleCandidates buildDoubleCandidates() { final o = api.DoubleCandidates(); buildCounterDoubleCandidates++; if (buildCounterDoubleCandidates < 3) { - o.candidates = buildUnnamed36(); + o.candidates = buildUnnamed37(); } buildCounterDoubleCandidates--; return o; @@ -2244,7 +2263,7 @@ api.DoubleCandidates buildDoubleCandidates() { void checkDoubleCandidates(api.DoubleCandidates o) { buildCounterDoubleCandidates++; if (buildCounterDoubleCandidates < 3) { - checkUnnamed36(o.candidates!); + checkUnnamed37(o.candidates!); } buildCounterDoubleCandidates--; } @@ -2414,12 +2433,12 @@ void checkEvaluationMetrics(api.EvaluationMetrics o) { buildCounterEvaluationMetrics--; } -core.List buildUnnamed37() => [ +core.List buildUnnamed38() => [ 'foo', 'foo', ]; -void checkUnnamed37(core.List o) { +void checkUnnamed38(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2431,12 +2450,12 @@ void checkUnnamed37(core.List o) { ); } -core.List buildUnnamed38() => [ +core.List buildUnnamed39() => [ buildExplainQueryStep(), buildExplainQueryStep(), ]; -void checkUnnamed38(core.List o) { +void checkUnnamed39(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExplainQueryStep(o[0]); checkExplainQueryStep(o[1]); @@ -2455,7 +2474,7 @@ api.ExplainQueryStage buildExplainQueryStage() { o.computeRatioMax = 42.0; o.endMs = 'foo'; o.id = 'foo'; - o.inputStages = buildUnnamed37(); + o.inputStages = buildUnnamed38(); o.name = 'foo'; o.parallelInputs = 'foo'; o.readMsAvg = 'foo'; @@ -2469,7 +2488,7 @@ api.ExplainQueryStage buildExplainQueryStage() { o.slotMs = 'foo'; o.startMs = 'foo'; o.status = 'foo'; - o.steps = buildUnnamed38(); + o.steps = buildUnnamed39(); o.waitMsAvg = 'foo'; o.waitMsMax = 'foo'; o.waitRatioAvg = 42.0; @@ -2518,7 +2537,7 @@ void checkExplainQueryStage(api.ExplainQueryStage o) { o.id!, unittest.equals('foo'), ); - checkUnnamed37(o.inputStages!); + checkUnnamed38(o.inputStages!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2571,7 +2590,7 @@ void checkExplainQueryStage(api.ExplainQueryStage o) { o.status!, unittest.equals('foo'), ); - checkUnnamed38(o.steps!); + checkUnnamed39(o.steps!); unittest.expect( o.waitMsAvg!, unittest.equals('foo'), @@ -2608,12 +2627,12 @@ void checkExplainQueryStage(api.ExplainQueryStage o) { buildCounterExplainQueryStage--; } -core.List buildUnnamed39() => [ +core.List buildUnnamed40() => [ 'foo', 'foo', ]; -void checkUnnamed39(core.List o) { +void checkUnnamed40(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2631,7 +2650,7 @@ api.ExplainQueryStep buildExplainQueryStep() { buildCounterExplainQueryStep++; if (buildCounterExplainQueryStep < 3) { o.kind = 'foo'; - o.substeps = buildUnnamed39(); + o.substeps = buildUnnamed40(); } buildCounterExplainQueryStep--; return o; @@ -2644,7 +2663,7 @@ void checkExplainQueryStep(api.ExplainQueryStep o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed39(o.substeps!); + checkUnnamed40(o.substeps!); } buildCounterExplainQueryStep--; } @@ -2740,12 +2759,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.Map buildUnnamed40() => { +core.Map buildUnnamed41() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed40(core.Map o) { +void checkUnnamed41(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2763,7 +2782,7 @@ api.ExternalCatalogDatasetOptions buildExternalCatalogDatasetOptions() { buildCounterExternalCatalogDatasetOptions++; if (buildCounterExternalCatalogDatasetOptions < 3) { o.defaultStorageLocationUri = 'foo'; - o.parameters = buildUnnamed40(); + o.parameters = buildUnnamed41(); } buildCounterExternalCatalogDatasetOptions--; return o; @@ -2776,17 +2795,17 @@ void checkExternalCatalogDatasetOptions(api.ExternalCatalogDatasetOptions o) { o.defaultStorageLocationUri!, unittest.equals('foo'), ); - checkUnnamed40(o.parameters!); + checkUnnamed41(o.parameters!); } buildCounterExternalCatalogDatasetOptions--; } -core.Map buildUnnamed41() => { +core.Map buildUnnamed42() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed41(core.Map o) { +void checkUnnamed42(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2804,7 +2823,7 @@ api.ExternalCatalogTableOptions buildExternalCatalogTableOptions() { buildCounterExternalCatalogTableOptions++; if (buildCounterExternalCatalogTableOptions < 3) { o.connectionId = 'foo'; - o.parameters = buildUnnamed41(); + o.parameters = buildUnnamed42(); o.storageDescriptor = buildStorageDescriptor(); } buildCounterExternalCatalogTableOptions--; @@ -2818,18 +2837,18 @@ void checkExternalCatalogTableOptions(api.ExternalCatalogTableOptions o) { o.connectionId!, unittest.equals('foo'), ); - checkUnnamed41(o.parameters!); + checkUnnamed42(o.parameters!); checkStorageDescriptor(o.storageDescriptor!); } buildCounterExternalCatalogTableOptions--; } -core.List buildUnnamed42() => [ +core.List buildUnnamed43() => [ 'foo', 'foo', ]; -void checkUnnamed42(core.List o) { +void checkUnnamed43(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2841,12 +2860,12 @@ void checkUnnamed42(core.List o) { ); } -core.List buildUnnamed43() => [ +core.List buildUnnamed44() => [ 'foo', 'foo', ]; -void checkUnnamed43(core.List o) { +void checkUnnamed44(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2869,7 +2888,7 @@ api.ExternalDataConfiguration buildExternalDataConfiguration() { o.compression = 'foo'; o.connectionId = 'foo'; o.csvOptions = buildCsvOptions(); - o.decimalTargetTypes = buildUnnamed42(); + o.decimalTargetTypes = buildUnnamed43(); o.fileSetSpecType = 'foo'; o.googleSheetsOptions = buildGoogleSheetsOptions(); o.hivePartitioningOptions = buildHivePartitioningOptions(); @@ -2883,7 +2902,7 @@ api.ExternalDataConfiguration buildExternalDataConfiguration() { o.referenceFileSchemaUri = 'foo'; o.schema = buildTableSchema(); o.sourceFormat = 'foo'; - o.sourceUris = buildUnnamed43(); + o.sourceUris = buildUnnamed44(); } buildCounterExternalDataConfiguration--; return o; @@ -2904,7 +2923,7 @@ void checkExternalDataConfiguration(api.ExternalDataConfiguration o) { unittest.equals('foo'), ); checkCsvOptions(o.csvOptions!); - checkUnnamed42(o.decimalTargetTypes!); + checkUnnamed43(o.decimalTargetTypes!); unittest.expect( o.fileSetSpecType!, unittest.equals('foo'), @@ -2939,7 +2958,7 @@ void checkExternalDataConfiguration(api.ExternalDataConfiguration o) { o.sourceFormat!, unittest.equals('foo'), ); - checkUnnamed43(o.sourceUris!); + checkUnnamed44(o.sourceUris!); } buildCounterExternalDataConfiguration--; } @@ -3064,6 +3083,33 @@ void checkForeignTypeInfo(api.ForeignTypeInfo o) { buildCounterForeignTypeInfo--; } +core.int buildCounterForeignViewDefinition = 0; +api.ForeignViewDefinition buildForeignViewDefinition() { + final o = api.ForeignViewDefinition(); + buildCounterForeignViewDefinition++; + if (buildCounterForeignViewDefinition < 3) { + o.dialect = 'foo'; + o.query = 'foo'; + } + buildCounterForeignViewDefinition--; + return o; +} + +void checkForeignViewDefinition(api.ForeignViewDefinition o) { + buildCounterForeignViewDefinition++; + if (buildCounterForeignViewDefinition < 3) { + unittest.expect( + o.dialect!, + unittest.equals('foo'), + ); + unittest.expect( + o.query!, + unittest.equals('foo'), + ); + } + buildCounterForeignViewDefinition--; +} + core.int buildCounterGetIamPolicyRequest = 0; api.GetIamPolicyRequest buildGetIamPolicyRequest() { final o = api.GetIamPolicyRequest(); @@ -3105,23 +3151,23 @@ void checkGetPolicyOptions(api.GetPolicyOptions o) { buildCounterGetPolicyOptions--; } -core.List buildUnnamed44() => [ +core.List buildUnnamed45() => [ buildErrorProto(), buildErrorProto(), ]; -void checkUnnamed44(core.List o) { +void checkUnnamed45(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkErrorProto(o[0]); checkErrorProto(o[1]); } -core.List buildUnnamed45() => [ +core.List buildUnnamed46() => [ buildTableRow(), buildTableRow(), ]; -void checkUnnamed45(core.List o) { +void checkUnnamed46(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableRow(o[0]); checkTableRow(o[1]); @@ -3133,14 +3179,14 @@ api.GetQueryResultsResponse buildGetQueryResultsResponse() { buildCounterGetQueryResultsResponse++; if (buildCounterGetQueryResultsResponse < 3) { o.cacheHit = true; - o.errors = buildUnnamed44(); + o.errors = buildUnnamed45(); o.etag = 'foo'; o.jobComplete = true; o.jobReference = buildJobReference(); o.kind = 'foo'; o.numDmlAffectedRows = 'foo'; o.pageToken = 'foo'; - o.rows = buildUnnamed45(); + o.rows = buildUnnamed46(); o.schema = buildTableSchema(); o.totalBytesProcessed = 'foo'; o.totalRows = 'foo'; @@ -3153,7 +3199,7 @@ void checkGetQueryResultsResponse(api.GetQueryResultsResponse o) { buildCounterGetQueryResultsResponse++; if (buildCounterGetQueryResultsResponse < 3) { unittest.expect(o.cacheHit!, unittest.isTrue); - checkUnnamed44(o.errors!); + checkUnnamed45(o.errors!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -3172,7 +3218,7 @@ void checkGetQueryResultsResponse(api.GetQueryResultsResponse o) { o.pageToken!, unittest.equals('foo'), ); - checkUnnamed45(o.rows!); + checkUnnamed46(o.rows!); checkTableSchema(o.schema!); unittest.expect( o.totalBytesProcessed!, @@ -3213,12 +3259,12 @@ void checkGetServiceAccountResponse(api.GetServiceAccountResponse o) { buildCounterGetServiceAccountResponse--; } -core.List buildUnnamed46() => [ +core.List buildUnnamed47() => [ buildExplanation(), buildExplanation(), ]; -void checkUnnamed46(core.List o) { +void checkUnnamed47(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExplanation(o[0]); checkExplanation(o[1]); @@ -3230,7 +3276,7 @@ api.GlobalExplanation buildGlobalExplanation() { buildCounterGlobalExplanation++; if (buildCounterGlobalExplanation < 3) { o.classLabel = 'foo'; - o.explanations = buildUnnamed46(); + o.explanations = buildUnnamed47(); } buildCounterGlobalExplanation--; return o; @@ -3243,7 +3289,7 @@ void checkGlobalExplanation(api.GlobalExplanation o) { o.classLabel!, unittest.equals('foo'), ); - checkUnnamed46(o.explanations!); + checkUnnamed47(o.explanations!); } buildCounterGlobalExplanation--; } @@ -3312,12 +3358,12 @@ void checkHighCardinalityJoin(api.HighCardinalityJoin o) { buildCounterHighCardinalityJoin--; } -core.List buildUnnamed47() => [ +core.List buildUnnamed48() => [ 'foo', 'foo', ]; -void checkUnnamed47(core.List o) { +void checkUnnamed48(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3334,7 +3380,7 @@ api.HivePartitioningOptions buildHivePartitioningOptions() { final o = api.HivePartitioningOptions(); buildCounterHivePartitioningOptions++; if (buildCounterHivePartitioningOptions < 3) { - o.fields = buildUnnamed47(); + o.fields = buildUnnamed48(); o.mode = 'foo'; o.requirePartitionFilter = true; o.sourceUriPrefix = 'foo'; @@ -3346,7 +3392,7 @@ api.HivePartitioningOptions buildHivePartitioningOptions() { void checkHivePartitioningOptions(api.HivePartitioningOptions o) { buildCounterHivePartitioningOptions++; if (buildCounterHivePartitioningOptions < 3) { - checkUnnamed47(o.fields!); + checkUnnamed48(o.fields!); unittest.expect( o.mode!, unittest.equals('foo'), @@ -3535,12 +3581,12 @@ void checkInputDataChange(api.InputDataChange o) { buildCounterInputDataChange--; } -core.List buildUnnamed48() => [ +core.List buildUnnamed49() => [ 'foo', 'foo', ]; -void checkUnnamed48(core.List o) { +void checkUnnamed49(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3557,7 +3603,7 @@ api.IntArray buildIntArray() { final o = api.IntArray(); buildCounterIntArray++; if (buildCounterIntArray < 3) { - o.elements = buildUnnamed48(); + o.elements = buildUnnamed49(); } buildCounterIntArray--; return o; @@ -3566,17 +3612,17 @@ api.IntArray buildIntArray() { void checkIntArray(api.IntArray o) { buildCounterIntArray++; if (buildCounterIntArray < 3) { - checkUnnamed48(o.elements!); + checkUnnamed49(o.elements!); } buildCounterIntArray--; } -core.List buildUnnamed49() => [ +core.List buildUnnamed50() => [ buildIntArray(), buildIntArray(), ]; -void checkUnnamed49(core.List o) { +void checkUnnamed50(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIntArray(o[0]); checkIntArray(o[1]); @@ -3587,7 +3633,7 @@ api.IntArrayHparamSearchSpace buildIntArrayHparamSearchSpace() { final o = api.IntArrayHparamSearchSpace(); buildCounterIntArrayHparamSearchSpace++; if (buildCounterIntArrayHparamSearchSpace < 3) { - o.candidates = buildUnnamed49(); + o.candidates = buildUnnamed50(); } buildCounterIntArrayHparamSearchSpace--; return o; @@ -3596,17 +3642,17 @@ api.IntArrayHparamSearchSpace buildIntArrayHparamSearchSpace() { void checkIntArrayHparamSearchSpace(api.IntArrayHparamSearchSpace o) { buildCounterIntArrayHparamSearchSpace++; if (buildCounterIntArrayHparamSearchSpace < 3) { - checkUnnamed49(o.candidates!); + checkUnnamed50(o.candidates!); } buildCounterIntArrayHparamSearchSpace--; } -core.List buildUnnamed50() => [ +core.List buildUnnamed51() => [ 'foo', 'foo', ]; -void checkUnnamed50(core.List o) { +void checkUnnamed51(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3623,7 +3669,7 @@ api.IntCandidates buildIntCandidates() { final o = api.IntCandidates(); buildCounterIntCandidates++; if (buildCounterIntCandidates < 3) { - o.candidates = buildUnnamed50(); + o.candidates = buildUnnamed51(); } buildCounterIntCandidates--; return o; @@ -3632,7 +3678,7 @@ api.IntCandidates buildIntCandidates() { void checkIntCandidates(api.IntCandidates o) { buildCounterIntCandidates++; if (buildCounterIntCandidates < 3) { - checkUnnamed50(o.candidates!); + checkUnnamed51(o.candidates!); } buildCounterIntCandidates--; } @@ -3685,23 +3731,23 @@ void checkIntRange(api.IntRange o) { buildCounterIntRange--; } -core.List buildUnnamed51() => [ +core.List buildUnnamed52() => [ buildClusterInfo(), buildClusterInfo(), ]; -void checkUnnamed51(core.List o) { +void checkUnnamed52(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClusterInfo(o[0]); checkClusterInfo(o[1]); } -core.List buildUnnamed52() => [ +core.List buildUnnamed53() => [ buildPrincipalComponentInfo(), buildPrincipalComponentInfo(), ]; -void checkUnnamed52(core.List o) { +void checkUnnamed53(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPrincipalComponentInfo(o[0]); checkPrincipalComponentInfo(o[1]); @@ -3713,12 +3759,12 @@ api.IterationResult buildIterationResult() { buildCounterIterationResult++; if (buildCounterIterationResult < 3) { o.arimaResult = buildArimaResult(); - o.clusterInfos = buildUnnamed51(); + o.clusterInfos = buildUnnamed52(); o.durationMs = 'foo'; o.evalLoss = 42.0; o.index = 42; o.learnRate = 42.0; - o.principalComponentInfos = buildUnnamed52(); + o.principalComponentInfos = buildUnnamed53(); o.trainingLoss = 42.0; } buildCounterIterationResult--; @@ -3729,7 +3775,7 @@ void checkIterationResult(api.IterationResult o) { buildCounterIterationResult++; if (buildCounterIterationResult < 3) { checkArimaResult(o.arimaResult!); - checkUnnamed51(o.clusterInfos!); + checkUnnamed52(o.clusterInfos!); unittest.expect( o.durationMs!, unittest.equals('foo'), @@ -3746,7 +3792,7 @@ void checkIterationResult(api.IterationResult o) { o.learnRate!, unittest.equals(42.0), ); - checkUnnamed52(o.principalComponentInfos!); + checkUnnamed53(o.principalComponentInfos!); unittest.expect( o.trainingLoss!, unittest.equals(42.0), @@ -3836,12 +3882,12 @@ void checkJobCancelResponse(api.JobCancelResponse o) { buildCounterJobCancelResponse--; } -core.Map buildUnnamed53() => { +core.Map buildUnnamed54() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed53(core.Map o) { +void checkUnnamed54(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3863,7 +3909,7 @@ api.JobConfiguration buildJobConfiguration() { o.extract = buildJobConfigurationExtract(); o.jobTimeoutMs = 'foo'; o.jobType = 'foo'; - o.labels = buildUnnamed53(); + o.labels = buildUnnamed54(); o.load = buildJobConfigurationLoad(); o.query = buildJobConfigurationQuery(); } @@ -3885,19 +3931,19 @@ void checkJobConfiguration(api.JobConfiguration o) { o.jobType!, unittest.equals('foo'), ); - checkUnnamed53(o.labels!); + checkUnnamed54(o.labels!); checkJobConfigurationLoad(o.load!); checkJobConfigurationQuery(o.query!); } buildCounterJobConfiguration--; } -core.List buildUnnamed54() => [ +core.List buildUnnamed55() => [ 'foo', 'foo', ]; -void checkUnnamed54(core.List o) { +void checkUnnamed55(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3917,7 +3963,7 @@ api.JobConfigurationExtract buildJobConfigurationExtract() { o.compression = 'foo'; o.destinationFormat = 'foo'; o.destinationUri = 'foo'; - o.destinationUris = buildUnnamed54(); + o.destinationUris = buildUnnamed55(); o.fieldDelimiter = 'foo'; o.modelExtractOptions = buildModelExtractOptions(); o.printHeader = true; @@ -3944,7 +3990,7 @@ void checkJobConfigurationExtract(api.JobConfigurationExtract o) { o.destinationUri!, unittest.equals('foo'), ); - checkUnnamed54(o.destinationUris!); + checkUnnamed55(o.destinationUris!); unittest.expect( o.fieldDelimiter!, unittest.equals('foo'), @@ -3958,23 +4004,23 @@ void checkJobConfigurationExtract(api.JobConfigurationExtract o) { buildCounterJobConfigurationExtract--; } -core.List buildUnnamed55() => [ +core.List buildUnnamed56() => [ buildConnectionProperty(), buildConnectionProperty(), ]; -void checkUnnamed55(core.List o) { +void checkUnnamed56(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnectionProperty(o[0]); checkConnectionProperty(o[1]); } -core.List buildUnnamed56() => [ +core.List buildUnnamed57() => [ 'foo', 'foo', ]; -void checkUnnamed56(core.List o) { +void checkUnnamed57(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3986,12 +4032,12 @@ void checkUnnamed56(core.List o) { ); } -core.List buildUnnamed57() => [ +core.List buildUnnamed58() => [ 'foo', 'foo', ]; -void checkUnnamed57(core.List o) { +void checkUnnamed58(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4003,12 +4049,12 @@ void checkUnnamed57(core.List o) { ); } -core.List buildUnnamed58() => [ +core.List buildUnnamed59() => [ 'foo', 'foo', ]; -void checkUnnamed58(core.List o) { +void checkUnnamed59(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4020,12 +4066,12 @@ void checkUnnamed58(core.List o) { ); } -core.List buildUnnamed59() => [ +core.List buildUnnamed60() => [ 'foo', 'foo', ]; -void checkUnnamed59(core.List o) { +void checkUnnamed60(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4046,11 +4092,12 @@ api.JobConfigurationLoad buildJobConfigurationLoad() { o.allowQuotedNewlines = true; o.autodetect = true; o.clustering = buildClustering(); - o.connectionProperties = buildUnnamed55(); + o.columnNameCharacterMap = 'foo'; + o.connectionProperties = buildUnnamed56(); o.copyFilesOnly = true; o.createDisposition = 'foo'; o.createSession = true; - o.decimalTargetTypes = buildUnnamed56(); + o.decimalTargetTypes = buildUnnamed57(); o.destinationEncryptionConfiguration = buildEncryptionConfiguration(); o.destinationTable = buildTableReference(); o.destinationTableProperties = buildDestinationTableProperties(); @@ -4064,17 +4111,17 @@ api.JobConfigurationLoad buildJobConfigurationLoad() { o.nullMarker = 'foo'; o.parquetOptions = buildParquetOptions(); o.preserveAsciiControlCharacters = true; - o.projectionFields = buildUnnamed57(); + o.projectionFields = buildUnnamed58(); o.quote = 'foo'; o.rangePartitioning = buildRangePartitioning(); o.referenceFileSchemaUri = 'foo'; o.schema = buildTableSchema(); o.schemaInline = 'foo'; o.schemaInlineFormat = 'foo'; - o.schemaUpdateOptions = buildUnnamed58(); + o.schemaUpdateOptions = buildUnnamed59(); o.skipLeadingRows = 42; o.sourceFormat = 'foo'; - o.sourceUris = buildUnnamed59(); + o.sourceUris = buildUnnamed60(); o.timePartitioning = buildTimePartitioning(); o.useAvroLogicalTypes = true; o.writeDisposition = 'foo'; @@ -4090,14 +4137,18 @@ void checkJobConfigurationLoad(api.JobConfigurationLoad o) { unittest.expect(o.allowQuotedNewlines!, unittest.isTrue); unittest.expect(o.autodetect!, unittest.isTrue); checkClustering(o.clustering!); - checkUnnamed55(o.connectionProperties!); + unittest.expect( + o.columnNameCharacterMap!, + unittest.equals('foo'), + ); + checkUnnamed56(o.connectionProperties!); unittest.expect(o.copyFilesOnly!, unittest.isTrue); unittest.expect( o.createDisposition!, unittest.equals('foo'), ); unittest.expect(o.createSession!, unittest.isTrue); - checkUnnamed56(o.decimalTargetTypes!); + checkUnnamed57(o.decimalTargetTypes!); checkEncryptionConfiguration(o.destinationEncryptionConfiguration!); checkTableReference(o.destinationTable!); checkDestinationTableProperties(o.destinationTableProperties!); @@ -4129,7 +4180,7 @@ void checkJobConfigurationLoad(api.JobConfigurationLoad o) { ); checkParquetOptions(o.parquetOptions!); unittest.expect(o.preserveAsciiControlCharacters!, unittest.isTrue); - checkUnnamed57(o.projectionFields!); + checkUnnamed58(o.projectionFields!); unittest.expect( o.quote!, unittest.equals('foo'), @@ -4148,7 +4199,7 @@ void checkJobConfigurationLoad(api.JobConfigurationLoad o) { o.schemaInlineFormat!, unittest.equals('foo'), ); - checkUnnamed58(o.schemaUpdateOptions!); + checkUnnamed59(o.schemaUpdateOptions!); unittest.expect( o.skipLeadingRows!, unittest.equals(42), @@ -4157,7 +4208,7 @@ void checkJobConfigurationLoad(api.JobConfigurationLoad o) { o.sourceFormat!, unittest.equals('foo'), ); - checkUnnamed59(o.sourceUris!); + checkUnnamed60(o.sourceUris!); checkTimePartitioning(o.timePartitioning!); unittest.expect(o.useAvroLogicalTypes!, unittest.isTrue); unittest.expect( @@ -4168,34 +4219,34 @@ void checkJobConfigurationLoad(api.JobConfigurationLoad o) { buildCounterJobConfigurationLoad--; } -core.List buildUnnamed60() => [ +core.List buildUnnamed61() => [ buildConnectionProperty(), buildConnectionProperty(), ]; -void checkUnnamed60(core.List o) { +void checkUnnamed61(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnectionProperty(o[0]); checkConnectionProperty(o[1]); } -core.List buildUnnamed61() => [ +core.List buildUnnamed62() => [ buildQueryParameter(), buildQueryParameter(), ]; -void checkUnnamed61(core.List o) { +void checkUnnamed62(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryParameter(o[0]); checkQueryParameter(o[1]); } -core.List buildUnnamed62() => [ +core.List buildUnnamed63() => [ 'foo', 'foo', ]; -void checkUnnamed62(core.List o) { +void checkUnnamed63(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4207,23 +4258,23 @@ void checkUnnamed62(core.List o) { ); } -core.Map buildUnnamed63() => { +core.Map buildUnnamed64() => { 'x': buildExternalDataConfiguration(), 'y': buildExternalDataConfiguration(), }; -void checkUnnamed63(core.Map o) { +void checkUnnamed64(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkExternalDataConfiguration(o['x']!); checkExternalDataConfiguration(o['y']!); } -core.List buildUnnamed64() => [ +core.List buildUnnamed65() => [ buildUserDefinedFunctionResource(), buildUserDefinedFunctionResource(), ]; -void checkUnnamed64(core.List o) { +void checkUnnamed65(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserDefinedFunctionResource(o[0]); checkUserDefinedFunctionResource(o[1]); @@ -4236,7 +4287,7 @@ api.JobConfigurationQuery buildJobConfigurationQuery() { if (buildCounterJobConfigurationQuery < 3) { o.allowLargeResults = true; o.clustering = buildClustering(); - o.connectionProperties = buildUnnamed60(); + o.connectionProperties = buildUnnamed61(); o.continuous = true; o.createDisposition = 'foo'; o.createSession = true; @@ -4250,16 +4301,16 @@ api.JobConfigurationQuery buildJobConfigurationQuery() { o.preserveNulls = true; o.priority = 'foo'; o.query = 'foo'; - o.queryParameters = buildUnnamed61(); + o.queryParameters = buildUnnamed62(); o.rangePartitioning = buildRangePartitioning(); - o.schemaUpdateOptions = buildUnnamed62(); + o.schemaUpdateOptions = buildUnnamed63(); o.scriptOptions = buildScriptOptions(); o.systemVariables = buildSystemVariables(); - o.tableDefinitions = buildUnnamed63(); + o.tableDefinitions = buildUnnamed64(); o.timePartitioning = buildTimePartitioning(); o.useLegacySql = true; o.useQueryCache = true; - o.userDefinedFunctionResources = buildUnnamed64(); + o.userDefinedFunctionResources = buildUnnamed65(); o.writeDisposition = 'foo'; } buildCounterJobConfigurationQuery--; @@ -4271,7 +4322,7 @@ void checkJobConfigurationQuery(api.JobConfigurationQuery o) { if (buildCounterJobConfigurationQuery < 3) { unittest.expect(o.allowLargeResults!, unittest.isTrue); checkClustering(o.clustering!); - checkUnnamed60(o.connectionProperties!); + checkUnnamed61(o.connectionProperties!); unittest.expect(o.continuous!, unittest.isTrue); unittest.expect( o.createDisposition!, @@ -4303,16 +4354,16 @@ void checkJobConfigurationQuery(api.JobConfigurationQuery o) { o.query!, unittest.equals('foo'), ); - checkUnnamed61(o.queryParameters!); + checkUnnamed62(o.queryParameters!); checkRangePartitioning(o.rangePartitioning!); - checkUnnamed62(o.schemaUpdateOptions!); + checkUnnamed63(o.schemaUpdateOptions!); checkScriptOptions(o.scriptOptions!); checkSystemVariables(o.systemVariables!); - checkUnnamed63(o.tableDefinitions!); + checkUnnamed64(o.tableDefinitions!); checkTimePartitioning(o.timePartitioning!); unittest.expect(o.useLegacySql!, unittest.isTrue); unittest.expect(o.useQueryCache!, unittest.isTrue); - checkUnnamed64(o.userDefinedFunctionResources!); + checkUnnamed65(o.userDefinedFunctionResources!); unittest.expect( o.writeDisposition!, unittest.equals('foo'), @@ -4321,12 +4372,12 @@ void checkJobConfigurationQuery(api.JobConfigurationQuery o) { buildCounterJobConfigurationQuery--; } -core.List buildUnnamed65() => [ +core.List buildUnnamed66() => [ buildTableReference(), buildTableReference(), ]; -void checkUnnamed65(core.List o) { +void checkUnnamed66(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableReference(o[0]); checkTableReference(o[1]); @@ -4343,7 +4394,7 @@ api.JobConfigurationTableCopy buildJobConfigurationTableCopy() { o.destinationTable = buildTableReference(); o.operationType = 'foo'; o.sourceTable = buildTableReference(); - o.sourceTables = buildUnnamed65(); + o.sourceTables = buildUnnamed66(); o.writeDisposition = 'foo'; } buildCounterJobConfigurationTableCopy--; @@ -4368,7 +4419,7 @@ void checkJobConfigurationTableCopy(api.JobConfigurationTableCopy o) { unittest.equals('foo'), ); checkTableReference(o.sourceTable!); - checkUnnamed65(o.sourceTables!); + checkUnnamed66(o.sourceTables!); unittest.expect( o.writeDisposition!, unittest.equals('foo'), @@ -4451,23 +4502,23 @@ void checkJobListJobs(api.JobListJobs o) { buildCounterJobListJobs--; } -core.List buildUnnamed66() => [ +core.List buildUnnamed67() => [ buildJobListJobs(), buildJobListJobs(), ]; -void checkUnnamed66(core.List o) { +void checkUnnamed67(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJobListJobs(o[0]); checkJobListJobs(o[1]); } -core.List buildUnnamed67() => [ +core.List buildUnnamed68() => [ 'foo', 'foo', ]; -void checkUnnamed67(core.List o) { +void checkUnnamed68(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4485,10 +4536,10 @@ api.JobList buildJobList() { buildCounterJobList++; if (buildCounterJobList < 3) { o.etag = 'foo'; - o.jobs = buildUnnamed66(); + o.jobs = buildUnnamed67(); o.kind = 'foo'; o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed67(); + o.unreachable = buildUnnamed68(); } buildCounterJobList--; return o; @@ -4501,7 +4552,7 @@ void checkJobList(api.JobList o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed66(o.jobs!); + checkUnnamed67(o.jobs!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4510,7 +4561,7 @@ void checkJobList(api.JobList o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed67(o.unreachable!); + checkUnnamed68(o.unreachable!); } buildCounterJobList--; } @@ -4547,12 +4598,12 @@ void checkJobReference(api.JobReference o) { buildCounterJobReference--; } -core.List buildUnnamed68() => [ +core.List buildUnnamed69() => [ 'foo', 'foo', ]; -void checkUnnamed68(core.List o) { +void checkUnnamed69(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4591,12 +4642,12 @@ void checkJobStatisticsReservationUsage(api.JobStatisticsReservationUsage o) { buildCounterJobStatisticsReservationUsage--; } -core.List buildUnnamed69() => [ +core.List buildUnnamed70() => [ buildJobStatisticsReservationUsage(), buildJobStatisticsReservationUsage(), ]; -void checkUnnamed69(core.List o) { +void checkUnnamed70(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJobStatisticsReservationUsage(o[0]); checkJobStatisticsReservationUsage(o[1]); @@ -4618,8 +4669,8 @@ api.JobStatistics buildJobStatistics() { o.numChildJobs = 'foo'; o.parentJobId = 'foo'; o.query = buildJobStatistics2(); - o.quotaDeferments = buildUnnamed68(); - o.reservationUsage = buildUnnamed69(); + o.quotaDeferments = buildUnnamed69(); + o.reservationUsage = buildUnnamed70(); o.reservationId = 'foo'; o.rowLevelSecurityStatistics = buildRowLevelSecurityStatistics(); o.scriptStatistics = buildScriptStatistics(); @@ -4665,8 +4716,8 @@ void checkJobStatistics(api.JobStatistics o) { unittest.equals('foo'), ); checkJobStatistics2(o.query!); - checkUnnamed68(o.quotaDeferments!); - checkUnnamed69(o.reservationUsage!); + checkUnnamed69(o.quotaDeferments!); + checkUnnamed70(o.reservationUsage!); unittest.expect( o.reservationId!, unittest.equals('foo'), @@ -4691,45 +4742,45 @@ void checkJobStatistics(api.JobStatistics o) { buildCounterJobStatistics--; } -core.List buildUnnamed70() => [ +core.List buildUnnamed71() => [ buildExternalServiceCost(), buildExternalServiceCost(), ]; -void checkUnnamed70(core.List o) { +void checkUnnamed71(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExternalServiceCost(o[0]); checkExternalServiceCost(o[1]); } -core.List buildUnnamed71() => [ +core.List buildUnnamed72() => [ buildExplainQueryStage(), buildExplainQueryStage(), ]; -void checkUnnamed71(core.List o) { +void checkUnnamed72(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExplainQueryStage(o[0]); checkExplainQueryStage(o[1]); } -core.List buildUnnamed72() => [ +core.List buildUnnamed73() => [ buildRoutineReference(), buildRoutineReference(), ]; -void checkUnnamed72(core.List o) { +void checkUnnamed73(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoutineReference(o[0]); checkRoutineReference(o[1]); } -core.List buildUnnamed73() => [ +core.List buildUnnamed74() => [ buildTableReference(), buildTableReference(), ]; -void checkUnnamed73(core.List o) { +void checkUnnamed74(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableReference(o[0]); checkTableReference(o[1]); @@ -4762,34 +4813,34 @@ void checkJobStatistics2ReservationUsage(api.JobStatistics2ReservationUsage o) { buildCounterJobStatistics2ReservationUsage--; } -core.List buildUnnamed74() => [ +core.List buildUnnamed75() => [ buildJobStatistics2ReservationUsage(), buildJobStatistics2ReservationUsage(), ]; -void checkUnnamed74(core.List o) { +void checkUnnamed75(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJobStatistics2ReservationUsage(o[0]); checkJobStatistics2ReservationUsage(o[1]); } -core.List buildUnnamed75() => [ +core.List buildUnnamed76() => [ buildQueryTimelineSample(), buildQueryTimelineSample(), ]; -void checkUnnamed75(core.List o) { +void checkUnnamed76(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryTimelineSample(o[0]); checkQueryTimelineSample(o[1]); } -core.List buildUnnamed76() => [ +core.List buildUnnamed77() => [ buildQueryParameter(), buildQueryParameter(), ]; -void checkUnnamed76(core.List o) { +void checkUnnamed77(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryParameter(o[0]); checkQueryParameter(o[1]); @@ -4816,7 +4867,7 @@ api.JobStatistics2 buildJobStatistics2() { o.dmlStats = buildDmlStatistics(); o.estimatedBytesProcessed = 'foo'; o.exportDataStatistics = buildExportDataStatistics(); - o.externalServiceCosts = buildUnnamed70(); + o.externalServiceCosts = buildUnnamed71(); o.loadQueryStatistics = buildLoadQueryStatistics(); o.materializedViewStatistics = buildMaterializedViewStatistics(); o.metadataCacheStatistics = buildMetadataCacheStatistics(); @@ -4827,22 +4878,22 @@ api.JobStatistics2 buildJobStatistics2() { o.numDmlAffectedRows = 'foo'; o.performanceInsights = buildPerformanceInsights(); o.queryInfo = buildQueryInfo(); - o.queryPlan = buildUnnamed71(); - o.referencedRoutines = buildUnnamed72(); - o.referencedTables = buildUnnamed73(); - o.reservationUsage = buildUnnamed74(); + o.queryPlan = buildUnnamed72(); + o.referencedRoutines = buildUnnamed73(); + o.referencedTables = buildUnnamed74(); + o.reservationUsage = buildUnnamed75(); o.schema = buildTableSchema(); o.searchStatistics = buildSearchStatistics(); o.sparkStatistics = buildSparkStatistics(); o.statementType = 'foo'; - o.timeline = buildUnnamed75(); + o.timeline = buildUnnamed76(); o.totalBytesBilled = 'foo'; o.totalBytesProcessed = 'foo'; o.totalBytesProcessedAccuracy = 'foo'; o.totalPartitionsProcessed = 'foo'; o.totalSlotMs = 'foo'; o.transferredBytes = 'foo'; - o.undeclaredQueryParameters = buildUnnamed76(); + o.undeclaredQueryParameters = buildUnnamed77(); o.vectorSearchStatistics = buildVectorSearchStatistics(); } buildCounterJobStatistics2--; @@ -4880,7 +4931,7 @@ void checkJobStatistics2(api.JobStatistics2 o) { unittest.equals('foo'), ); checkExportDataStatistics(o.exportDataStatistics!); - checkUnnamed70(o.externalServiceCosts!); + checkUnnamed71(o.externalServiceCosts!); checkLoadQueryStatistics(o.loadQueryStatistics!); checkMaterializedViewStatistics(o.materializedViewStatistics!); checkMetadataCacheStatistics(o.metadataCacheStatistics!); @@ -4900,10 +4951,10 @@ void checkJobStatistics2(api.JobStatistics2 o) { ); checkPerformanceInsights(o.performanceInsights!); checkQueryInfo(o.queryInfo!); - checkUnnamed71(o.queryPlan!); - checkUnnamed72(o.referencedRoutines!); - checkUnnamed73(o.referencedTables!); - checkUnnamed74(o.reservationUsage!); + checkUnnamed72(o.queryPlan!); + checkUnnamed73(o.referencedRoutines!); + checkUnnamed74(o.referencedTables!); + checkUnnamed75(o.reservationUsage!); checkTableSchema(o.schema!); checkSearchStatistics(o.searchStatistics!); checkSparkStatistics(o.sparkStatistics!); @@ -4911,7 +4962,7 @@ void checkJobStatistics2(api.JobStatistics2 o) { o.statementType!, unittest.equals('foo'), ); - checkUnnamed75(o.timeline!); + checkUnnamed76(o.timeline!); unittest.expect( o.totalBytesBilled!, unittest.equals('foo'), @@ -4936,18 +4987,18 @@ void checkJobStatistics2(api.JobStatistics2 o) { o.transferredBytes!, unittest.equals('foo'), ); - checkUnnamed76(o.undeclaredQueryParameters!); + checkUnnamed77(o.undeclaredQueryParameters!); checkVectorSearchStatistics(o.vectorSearchStatistics!); } buildCounterJobStatistics2--; } -core.List buildUnnamed77() => [ +core.List buildUnnamed78() => [ buildQueryTimelineSample(), buildQueryTimelineSample(), ]; -void checkUnnamed77(core.List o) { +void checkUnnamed78(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryTimelineSample(o[0]); checkQueryTimelineSample(o[1]); @@ -4963,7 +5014,7 @@ api.JobStatistics3 buildJobStatistics3() { o.inputFiles = 'foo'; o.outputBytes = 'foo'; o.outputRows = 'foo'; - o.timeline = buildUnnamed77(); + o.timeline = buildUnnamed78(); } buildCounterJobStatistics3--; return o; @@ -4992,17 +5043,17 @@ void checkJobStatistics3(api.JobStatistics3 o) { o.outputRows!, unittest.equals('foo'), ); - checkUnnamed77(o.timeline!); + checkUnnamed78(o.timeline!); } buildCounterJobStatistics3--; } -core.List buildUnnamed78() => [ +core.List buildUnnamed79() => [ 'foo', 'foo', ]; -void checkUnnamed78(core.List o) { +void checkUnnamed79(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5014,12 +5065,12 @@ void checkUnnamed78(core.List o) { ); } -core.List buildUnnamed79() => [ +core.List buildUnnamed80() => [ buildQueryTimelineSample(), buildQueryTimelineSample(), ]; -void checkUnnamed79(core.List o) { +void checkUnnamed80(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryTimelineSample(o[0]); checkQueryTimelineSample(o[1]); @@ -5030,9 +5081,9 @@ api.JobStatistics4 buildJobStatistics4() { final o = api.JobStatistics4(); buildCounterJobStatistics4++; if (buildCounterJobStatistics4 < 3) { - o.destinationUriFileCounts = buildUnnamed78(); + o.destinationUriFileCounts = buildUnnamed79(); o.inputBytes = 'foo'; - o.timeline = buildUnnamed79(); + o.timeline = buildUnnamed80(); } buildCounterJobStatistics4--; return o; @@ -5041,12 +5092,12 @@ api.JobStatistics4 buildJobStatistics4() { void checkJobStatistics4(api.JobStatistics4 o) { buildCounterJobStatistics4++; if (buildCounterJobStatistics4 < 3) { - checkUnnamed78(o.destinationUriFileCounts!); + checkUnnamed79(o.destinationUriFileCounts!); unittest.expect( o.inputBytes!, unittest.equals('foo'), ); - checkUnnamed79(o.timeline!); + checkUnnamed80(o.timeline!); } buildCounterJobStatistics4--; } @@ -5078,12 +5129,12 @@ void checkJobStatistics5(api.JobStatistics5 o) { buildCounterJobStatistics5--; } -core.List buildUnnamed80() => [ +core.List buildUnnamed81() => [ buildErrorProto(), buildErrorProto(), ]; -void checkUnnamed80(core.List o) { +void checkUnnamed81(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkErrorProto(o[0]); checkErrorProto(o[1]); @@ -5095,7 +5146,7 @@ api.JobStatus buildJobStatus() { buildCounterJobStatus++; if (buildCounterJobStatus < 3) { o.errorResult = buildErrorProto(); - o.errors = buildUnnamed80(); + o.errors = buildUnnamed81(); o.state = 'foo'; } buildCounterJobStatus--; @@ -5106,7 +5157,7 @@ void checkJobStatus(api.JobStatus o) { buildCounterJobStatus++; if (buildCounterJobStatus < 3) { checkErrorProto(o.errorResult!); - checkUnnamed80(o.errors!); + checkUnnamed81(o.errors!); unittest.expect( o.state!, unittest.equals('foo'), @@ -5115,12 +5166,12 @@ void checkJobStatus(api.JobStatus o) { buildCounterJobStatus--; } -core.List buildUnnamed81() => [ +core.List buildUnnamed82() => [ 'foo', 'foo', ]; -void checkUnnamed81(core.List o) { +void checkUnnamed82(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5137,7 +5188,7 @@ api.JoinRestrictionPolicy buildJoinRestrictionPolicy() { final o = api.JoinRestrictionPolicy(); buildCounterJoinRestrictionPolicy++; if (buildCounterJoinRestrictionPolicy < 3) { - o.joinAllowedColumns = buildUnnamed81(); + o.joinAllowedColumns = buildUnnamed82(); o.joinCondition = 'foo'; } buildCounterJoinRestrictionPolicy--; @@ -5147,7 +5198,7 @@ api.JoinRestrictionPolicy buildJoinRestrictionPolicy() { void checkJoinRestrictionPolicy(api.JoinRestrictionPolicy o) { buildCounterJoinRestrictionPolicy++; if (buildCounterJoinRestrictionPolicy < 3) { - checkUnnamed81(o.joinAllowedColumns!); + checkUnnamed82(o.joinAllowedColumns!); unittest.expect( o.joinCondition!, unittest.equals('foo'), @@ -5266,12 +5317,12 @@ void checkLinkedDatasetSource(api.LinkedDatasetSource o) { buildCounterLinkedDatasetSource--; } -core.List buildUnnamed82() => [ +core.List buildUnnamed83() => [ buildModel(), buildModel(), ]; -void checkUnnamed82(core.List o) { +void checkUnnamed83(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkModel(o[0]); checkModel(o[1]); @@ -5282,7 +5333,7 @@ api.ListModelsResponse buildListModelsResponse() { final o = api.ListModelsResponse(); buildCounterListModelsResponse++; if (buildCounterListModelsResponse < 3) { - o.models = buildUnnamed82(); + o.models = buildUnnamed83(); o.nextPageToken = 'foo'; } buildCounterListModelsResponse--; @@ -5292,7 +5343,7 @@ api.ListModelsResponse buildListModelsResponse() { void checkListModelsResponse(api.ListModelsResponse o) { buildCounterListModelsResponse++; if (buildCounterListModelsResponse < 3) { - checkUnnamed82(o.models!); + checkUnnamed83(o.models!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5301,12 +5352,12 @@ void checkListModelsResponse(api.ListModelsResponse o) { buildCounterListModelsResponse--; } -core.List buildUnnamed83() => [ +core.List buildUnnamed84() => [ buildRoutine(), buildRoutine(), ]; -void checkUnnamed83(core.List o) { +void checkUnnamed84(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoutine(o[0]); checkRoutine(o[1]); @@ -5318,7 +5369,7 @@ api.ListRoutinesResponse buildListRoutinesResponse() { buildCounterListRoutinesResponse++; if (buildCounterListRoutinesResponse < 3) { o.nextPageToken = 'foo'; - o.routines = buildUnnamed83(); + o.routines = buildUnnamed84(); } buildCounterListRoutinesResponse--; return o; @@ -5331,17 +5382,17 @@ void checkListRoutinesResponse(api.ListRoutinesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed83(o.routines!); + checkUnnamed84(o.routines!); } buildCounterListRoutinesResponse--; } -core.List buildUnnamed84() => [ +core.List buildUnnamed85() => [ buildRowAccessPolicy(), buildRowAccessPolicy(), ]; -void checkUnnamed84(core.List o) { +void checkUnnamed85(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRowAccessPolicy(o[0]); checkRowAccessPolicy(o[1]); @@ -5353,7 +5404,7 @@ api.ListRowAccessPoliciesResponse buildListRowAccessPoliciesResponse() { buildCounterListRowAccessPoliciesResponse++; if (buildCounterListRowAccessPoliciesResponse < 3) { o.nextPageToken = 'foo'; - o.rowAccessPolicies = buildUnnamed84(); + o.rowAccessPolicies = buildUnnamed85(); } buildCounterListRowAccessPoliciesResponse--; return o; @@ -5366,7 +5417,7 @@ void checkListRowAccessPoliciesResponse(api.ListRowAccessPoliciesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed84(o.rowAccessPolicies!); + checkUnnamed85(o.rowAccessPolicies!); } buildCounterListRowAccessPoliciesResponse--; } @@ -5490,12 +5541,12 @@ void checkMaterializedViewDefinition(api.MaterializedViewDefinition o) { buildCounterMaterializedViewDefinition--; } -core.List buildUnnamed85() => [ +core.List buildUnnamed86() => [ buildMaterializedView(), buildMaterializedView(), ]; -void checkUnnamed85(core.List o) { +void checkUnnamed86(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMaterializedView(o[0]); checkMaterializedView(o[1]); @@ -5506,7 +5557,7 @@ api.MaterializedViewStatistics buildMaterializedViewStatistics() { final o = api.MaterializedViewStatistics(); buildCounterMaterializedViewStatistics++; if (buildCounterMaterializedViewStatistics < 3) { - o.materializedView = buildUnnamed85(); + o.materializedView = buildUnnamed86(); } buildCounterMaterializedViewStatistics--; return o; @@ -5515,7 +5566,7 @@ api.MaterializedViewStatistics buildMaterializedViewStatistics() { void checkMaterializedViewStatistics(api.MaterializedViewStatistics o) { buildCounterMaterializedViewStatistics++; if (buildCounterMaterializedViewStatistics < 3) { - checkUnnamed85(o.materializedView!); + checkUnnamed86(o.materializedView!); } buildCounterMaterializedViewStatistics--; } @@ -5544,12 +5595,12 @@ void checkMaterializedViewStatus(api.MaterializedViewStatus o) { buildCounterMaterializedViewStatus--; } -core.List buildUnnamed86() => [ +core.List buildUnnamed87() => [ buildTableMetadataCacheUsage(), buildTableMetadataCacheUsage(), ]; -void checkUnnamed86(core.List o) { +void checkUnnamed87(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableMetadataCacheUsage(o[0]); checkTableMetadataCacheUsage(o[1]); @@ -5560,7 +5611,7 @@ api.MetadataCacheStatistics buildMetadataCacheStatistics() { final o = api.MetadataCacheStatistics(); buildCounterMetadataCacheStatistics++; if (buildCounterMetadataCacheStatistics < 3) { - o.tableMetadataCacheUsage = buildUnnamed86(); + o.tableMetadataCacheUsage = buildUnnamed87(); } buildCounterMetadataCacheStatistics--; return o; @@ -5569,28 +5620,28 @@ api.MetadataCacheStatistics buildMetadataCacheStatistics() { void checkMetadataCacheStatistics(api.MetadataCacheStatistics o) { buildCounterMetadataCacheStatistics++; if (buildCounterMetadataCacheStatistics < 3) { - checkUnnamed86(o.tableMetadataCacheUsage!); + checkUnnamed87(o.tableMetadataCacheUsage!); } buildCounterMetadataCacheStatistics--; } -core.List buildUnnamed87() => [ +core.List buildUnnamed88() => [ buildHparamTuningTrial(), buildHparamTuningTrial(), ]; -void checkUnnamed87(core.List o) { +void checkUnnamed88(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHparamTuningTrial(o[0]); checkHparamTuningTrial(o[1]); } -core.List buildUnnamed88() => [ +core.List buildUnnamed89() => [ buildIterationResult(), buildIterationResult(), ]; -void checkUnnamed88(core.List o) { +void checkUnnamed89(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIterationResult(o[0]); checkIterationResult(o[1]); @@ -5601,8 +5652,8 @@ api.MlStatistics buildMlStatistics() { final o = api.MlStatistics(); buildCounterMlStatistics++; if (buildCounterMlStatistics < 3) { - o.hparamTrials = buildUnnamed87(); - o.iterationResults = buildUnnamed88(); + o.hparamTrials = buildUnnamed88(); + o.iterationResults = buildUnnamed89(); o.maxIterations = 'foo'; o.modelType = 'foo'; o.trainingType = 'foo'; @@ -5614,8 +5665,8 @@ api.MlStatistics buildMlStatistics() { void checkMlStatistics(api.MlStatistics o) { buildCounterMlStatistics++; if (buildCounterMlStatistics < 3) { - checkUnnamed87(o.hparamTrials!); - checkUnnamed88(o.iterationResults!); + checkUnnamed88(o.hparamTrials!); + checkUnnamed89(o.iterationResults!); unittest.expect( o.maxIterations!, unittest.equals('foo'), @@ -5632,45 +5683,45 @@ void checkMlStatistics(api.MlStatistics o) { buildCounterMlStatistics--; } -core.List buildUnnamed89() => [ +core.List buildUnnamed90() => [ buildStandardSqlField(), buildStandardSqlField(), ]; -void checkUnnamed89(core.List o) { +void checkUnnamed90(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStandardSqlField(o[0]); checkStandardSqlField(o[1]); } -core.List buildUnnamed90() => [ +core.List buildUnnamed91() => [ buildHparamTuningTrial(), buildHparamTuningTrial(), ]; -void checkUnnamed90(core.List o) { +void checkUnnamed91(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHparamTuningTrial(o[0]); checkHparamTuningTrial(o[1]); } -core.List buildUnnamed91() => [ +core.List buildUnnamed92() => [ buildStandardSqlField(), buildStandardSqlField(), ]; -void checkUnnamed91(core.List o) { +void checkUnnamed92(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStandardSqlField(o[0]); checkStandardSqlField(o[1]); } -core.Map buildUnnamed92() => { +core.Map buildUnnamed93() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed92(core.Map o) { +void checkUnnamed93(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -5682,12 +5733,12 @@ void checkUnnamed92(core.Map o) { ); } -core.List buildUnnamed93() => [ +core.List buildUnnamed94() => [ 'foo', 'foo', ]; -void checkUnnamed93(core.List o) { +void checkUnnamed94(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5699,23 +5750,23 @@ void checkUnnamed93(core.List o) { ); } -core.List buildUnnamed94() => [ +core.List buildUnnamed95() => [ buildTrainingRun(), buildTrainingRun(), ]; -void checkUnnamed94(core.List o) { +void checkUnnamed95(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrainingRun(o[0]); checkTrainingRun(o[1]); } -core.List buildUnnamed95() => [ +core.List buildUnnamed96() => [ buildTransformColumn(), buildTransformColumn(), ]; -void checkUnnamed95(core.List o) { +void checkUnnamed96(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTransformColumn(o[0]); checkTransformColumn(o[1]); @@ -5733,20 +5784,20 @@ api.Model buildModel() { o.encryptionConfiguration = buildEncryptionConfiguration(); o.etag = 'foo'; o.expirationTime = 'foo'; - o.featureColumns = buildUnnamed89(); + o.featureColumns = buildUnnamed90(); o.friendlyName = 'foo'; o.hparamSearchSpaces = buildHparamSearchSpaces(); - o.hparamTrials = buildUnnamed90(); - o.labelColumns = buildUnnamed91(); - o.labels = buildUnnamed92(); + o.hparamTrials = buildUnnamed91(); + o.labelColumns = buildUnnamed92(); + o.labels = buildUnnamed93(); o.lastModifiedTime = 'foo'; o.location = 'foo'; o.modelReference = buildModelReference(); o.modelType = 'foo'; - o.optimalTrialIds = buildUnnamed93(); + o.optimalTrialIds = buildUnnamed94(); o.remoteModelInfo = buildRemoteModelInfo(); - o.trainingRuns = buildUnnamed94(); - o.transformColumns = buildUnnamed95(); + o.trainingRuns = buildUnnamed95(); + o.transformColumns = buildUnnamed96(); } buildCounterModel--; return o; @@ -5780,15 +5831,15 @@ void checkModel(api.Model o) { o.expirationTime!, unittest.equals('foo'), ); - checkUnnamed89(o.featureColumns!); + checkUnnamed90(o.featureColumns!); unittest.expect( o.friendlyName!, unittest.equals('foo'), ); checkHparamSearchSpaces(o.hparamSearchSpaces!); - checkUnnamed90(o.hparamTrials!); - checkUnnamed91(o.labelColumns!); - checkUnnamed92(o.labels!); + checkUnnamed91(o.hparamTrials!); + checkUnnamed92(o.labelColumns!); + checkUnnamed93(o.labels!); unittest.expect( o.lastModifiedTime!, unittest.equals('foo'), @@ -5802,20 +5853,20 @@ void checkModel(api.Model o) { o.modelType!, unittest.equals('foo'), ); - checkUnnamed93(o.optimalTrialIds!); + checkUnnamed94(o.optimalTrialIds!); checkRemoteModelInfo(o.remoteModelInfo!); - checkUnnamed94(o.trainingRuns!); - checkUnnamed95(o.transformColumns!); + checkUnnamed95(o.trainingRuns!); + checkUnnamed96(o.transformColumns!); } buildCounterModel--; } -core.List buildUnnamed96() => [ +core.List buildUnnamed97() => [ 'foo', 'foo', ]; -void checkUnnamed96(core.List o) { +void checkUnnamed97(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5832,7 +5883,7 @@ api.ModelDefinitionModelOptions buildModelDefinitionModelOptions() { final o = api.ModelDefinitionModelOptions(); buildCounterModelDefinitionModelOptions++; if (buildCounterModelDefinitionModelOptions < 3) { - o.labels = buildUnnamed96(); + o.labels = buildUnnamed97(); o.lossType = 'foo'; o.modelType = 'foo'; } @@ -5843,7 +5894,7 @@ api.ModelDefinitionModelOptions buildModelDefinitionModelOptions() { void checkModelDefinitionModelOptions(api.ModelDefinitionModelOptions o) { buildCounterModelDefinitionModelOptions++; if (buildCounterModelDefinitionModelOptions < 3) { - checkUnnamed96(o.labels!); + checkUnnamed97(o.labels!); unittest.expect( o.lossType!, unittest.equals('foo'), @@ -5856,12 +5907,12 @@ void checkModelDefinitionModelOptions(api.ModelDefinitionModelOptions o) { buildCounterModelDefinitionModelOptions--; } -core.List buildUnnamed97() => [ +core.List buildUnnamed98() => [ buildBqmlTrainingRun(), buildBqmlTrainingRun(), ]; -void checkUnnamed97(core.List o) { +void checkUnnamed98(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBqmlTrainingRun(o[0]); checkBqmlTrainingRun(o[1]); @@ -5873,7 +5924,7 @@ api.ModelDefinition buildModelDefinition() { buildCounterModelDefinition++; if (buildCounterModelDefinition < 3) { o.modelOptions = buildModelDefinitionModelOptions(); - o.trainingRuns = buildUnnamed97(); + o.trainingRuns = buildUnnamed98(); } buildCounterModelDefinition--; return o; @@ -5883,7 +5934,7 @@ void checkModelDefinition(api.ModelDefinition o) { buildCounterModelDefinition++; if (buildCounterModelDefinition < 3) { checkModelDefinitionModelOptions(o.modelOptions!); - checkUnnamed97(o.trainingRuns!); + checkUnnamed98(o.trainingRuns!); } buildCounterModelDefinition--; } @@ -5942,12 +5993,12 @@ void checkModelReference(api.ModelReference o) { buildCounterModelReference--; } -core.List buildUnnamed98() => [ +core.List buildUnnamed99() => [ buildConfusionMatrix(), buildConfusionMatrix(), ]; -void checkUnnamed98(core.List o) { +void checkUnnamed99(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfusionMatrix(o[0]); checkConfusionMatrix(o[1]); @@ -5959,7 +6010,7 @@ api.MultiClassClassificationMetrics buildMultiClassClassificationMetrics() { buildCounterMultiClassClassificationMetrics++; if (buildCounterMultiClassClassificationMetrics < 3) { o.aggregateClassificationMetrics = buildAggregateClassificationMetrics(); - o.confusionMatrixList = buildUnnamed98(); + o.confusionMatrixList = buildUnnamed99(); } buildCounterMultiClassClassificationMetrics--; return o; @@ -5970,7 +6021,7 @@ void checkMultiClassClassificationMetrics( buildCounterMultiClassClassificationMetrics++; if (buildCounterMultiClassClassificationMetrics < 3) { checkAggregateClassificationMetrics(o.aggregateClassificationMetrics!); - checkUnnamed98(o.confusionMatrixList!); + checkUnnamed99(o.confusionMatrixList!); } buildCounterMultiClassClassificationMetrics--; } @@ -6001,12 +6052,12 @@ void checkParquetOptions(api.ParquetOptions o) { buildCounterParquetOptions--; } -core.List buildUnnamed99() => [ +core.List buildUnnamed100() => [ buildSkewSource(), buildSkewSource(), ]; -void checkUnnamed99(core.List o) { +void checkUnnamed100(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSkewSource(o[0]); checkSkewSource(o[1]); @@ -6017,7 +6068,7 @@ api.PartitionSkew buildPartitionSkew() { final o = api.PartitionSkew(); buildCounterPartitionSkew++; if (buildCounterPartitionSkew < 3) { - o.skewSources = buildUnnamed99(); + o.skewSources = buildUnnamed100(); } buildCounterPartitionSkew--; return o; @@ -6026,7 +6077,7 @@ api.PartitionSkew buildPartitionSkew() { void checkPartitionSkew(api.PartitionSkew o) { buildCounterPartitionSkew++; if (buildCounterPartitionSkew < 3) { - checkUnnamed99(o.skewSources!); + checkUnnamed100(o.skewSources!); } buildCounterPartitionSkew--; } @@ -6053,12 +6104,12 @@ void checkPartitionedColumn(api.PartitionedColumn o) { buildCounterPartitionedColumn--; } -core.List buildUnnamed100() => [ +core.List buildUnnamed101() => [ buildPartitionedColumn(), buildPartitionedColumn(), ]; -void checkUnnamed100(core.List o) { +void checkUnnamed101(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPartitionedColumn(o[0]); checkPartitionedColumn(o[1]); @@ -6069,7 +6120,7 @@ api.PartitioningDefinition buildPartitioningDefinition() { final o = api.PartitioningDefinition(); buildCounterPartitioningDefinition++; if (buildCounterPartitioningDefinition < 3) { - o.partitionedColumn = buildUnnamed100(); + o.partitionedColumn = buildUnnamed101(); } buildCounterPartitioningDefinition--; return o; @@ -6078,28 +6129,28 @@ api.PartitioningDefinition buildPartitioningDefinition() { void checkPartitioningDefinition(api.PartitioningDefinition o) { buildCounterPartitioningDefinition++; if (buildCounterPartitioningDefinition < 3) { - checkUnnamed100(o.partitionedColumn!); + checkUnnamed101(o.partitionedColumn!); } buildCounterPartitioningDefinition--; } -core.List buildUnnamed101() => [ +core.List buildUnnamed102() => [ buildStagePerformanceChangeInsight(), buildStagePerformanceChangeInsight(), ]; -void checkUnnamed101(core.List o) { +void checkUnnamed102(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStagePerformanceChangeInsight(o[0]); checkStagePerformanceChangeInsight(o[1]); } -core.List buildUnnamed102() => [ +core.List buildUnnamed103() => [ buildStagePerformanceStandaloneInsight(), buildStagePerformanceStandaloneInsight(), ]; -void checkUnnamed102(core.List o) { +void checkUnnamed103(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStagePerformanceStandaloneInsight(o[0]); checkStagePerformanceStandaloneInsight(o[1]); @@ -6111,8 +6162,8 @@ api.PerformanceInsights buildPerformanceInsights() { buildCounterPerformanceInsights++; if (buildCounterPerformanceInsights < 3) { o.avgPreviousExecutionMs = 'foo'; - o.stagePerformanceChangeInsights = buildUnnamed101(); - o.stagePerformanceStandaloneInsights = buildUnnamed102(); + o.stagePerformanceChangeInsights = buildUnnamed102(); + o.stagePerformanceStandaloneInsights = buildUnnamed103(); } buildCounterPerformanceInsights--; return o; @@ -6125,29 +6176,29 @@ void checkPerformanceInsights(api.PerformanceInsights o) { o.avgPreviousExecutionMs!, unittest.equals('foo'), ); - checkUnnamed101(o.stagePerformanceChangeInsights!); - checkUnnamed102(o.stagePerformanceStandaloneInsights!); + checkUnnamed102(o.stagePerformanceChangeInsights!); + checkUnnamed103(o.stagePerformanceStandaloneInsights!); } buildCounterPerformanceInsights--; } -core.List buildUnnamed103() => [ +core.List buildUnnamed104() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed103(core.List o) { +void checkUnnamed104(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed104() => [ +core.List buildUnnamed105() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed104(core.List o) { +void checkUnnamed105(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -6158,8 +6209,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed103(); - o.bindings = buildUnnamed104(); + o.auditConfigs = buildUnnamed104(); + o.bindings = buildUnnamed105(); o.etag = 'foo'; o.version = 42; } @@ -6170,8 +6221,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed103(o.auditConfigs!); - checkUnnamed104(o.bindings!); + checkUnnamed104(o.auditConfigs!); + checkUnnamed105(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -6283,12 +6334,12 @@ void checkProjectListProjects(api.ProjectListProjects o) { buildCounterProjectListProjects--; } -core.List buildUnnamed105() => [ +core.List buildUnnamed106() => [ buildProjectListProjects(), buildProjectListProjects(), ]; -void checkUnnamed105(core.List o) { +void checkUnnamed106(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProjectListProjects(o[0]); checkProjectListProjects(o[1]); @@ -6302,7 +6353,7 @@ api.ProjectList buildProjectList() { o.etag = 'foo'; o.kind = 'foo'; o.nextPageToken = 'foo'; - o.projects = buildUnnamed105(); + o.projects = buildUnnamed106(); o.totalItems = 42; } buildCounterProjectList--; @@ -6324,7 +6375,7 @@ void checkProjectList(api.ProjectList o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed105(o.projects!); + checkUnnamed106(o.projects!); unittest.expect( o.totalItems!, unittest.equals(42), @@ -6355,7 +6406,7 @@ void checkProjectReference(api.ProjectReference o) { buildCounterProjectReference--; } -core.Map buildUnnamed106() => { +core.Map buildUnnamed107() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6368,7 +6419,7 @@ core.Map buildUnnamed106() => { }, }; -void checkUnnamed106(core.Map o) { +void checkUnnamed107(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -6405,7 +6456,7 @@ api.QueryInfo buildQueryInfo() { final o = api.QueryInfo(); buildCounterQueryInfo++; if (buildCounterQueryInfo < 3) { - o.optimizationDetails = buildUnnamed106(); + o.optimizationDetails = buildUnnamed107(); } buildCounterQueryInfo--; return o; @@ -6414,7 +6465,7 @@ api.QueryInfo buildQueryInfo() { void checkQueryInfo(api.QueryInfo o) { buildCounterQueryInfo++; if (buildCounterQueryInfo < 3) { - checkUnnamed106(o.optimizationDetails!); + checkUnnamed107(o.optimizationDetails!); } buildCounterQueryInfo--; } @@ -6474,12 +6525,12 @@ void checkQueryParameterTypeStructTypes(api.QueryParameterTypeStructTypes o) { buildCounterQueryParameterTypeStructTypes--; } -core.List buildUnnamed107() => [ +core.List buildUnnamed108() => [ buildQueryParameterTypeStructTypes(), buildQueryParameterTypeStructTypes(), ]; -void checkUnnamed107(core.List o) { +void checkUnnamed108(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryParameterTypeStructTypes(o[0]); checkQueryParameterTypeStructTypes(o[1]); @@ -6492,7 +6543,7 @@ api.QueryParameterType buildQueryParameterType() { if (buildCounterQueryParameterType < 3) { o.arrayType = buildQueryParameterType(); o.rangeElementType = buildQueryParameterType(); - o.structTypes = buildUnnamed107(); + o.structTypes = buildUnnamed108(); o.type = 'foo'; } buildCounterQueryParameterType--; @@ -6504,7 +6555,7 @@ void checkQueryParameterType(api.QueryParameterType o) { if (buildCounterQueryParameterType < 3) { checkQueryParameterType(o.arrayType!); checkQueryParameterType(o.rangeElementType!); - checkUnnamed107(o.structTypes!); + checkUnnamed108(o.structTypes!); unittest.expect( o.type!, unittest.equals('foo'), @@ -6513,23 +6564,23 @@ void checkQueryParameterType(api.QueryParameterType o) { buildCounterQueryParameterType--; } -core.List buildUnnamed108() => [ +core.List buildUnnamed109() => [ buildQueryParameterValue(), buildQueryParameterValue(), ]; -void checkUnnamed108(core.List o) { +void checkUnnamed109(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryParameterValue(o[0]); checkQueryParameterValue(o[1]); } -core.Map buildUnnamed109() => { +core.Map buildUnnamed110() => { 'x': buildQueryParameterValue(), 'y': buildQueryParameterValue(), }; -void checkUnnamed109(core.Map o) { +void checkUnnamed110(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkQueryParameterValue(o['x']!); checkQueryParameterValue(o['y']!); @@ -6540,9 +6591,9 @@ api.QueryParameterValue buildQueryParameterValue() { final o = api.QueryParameterValue(); buildCounterQueryParameterValue++; if (buildCounterQueryParameterValue < 3) { - o.arrayValues = buildUnnamed108(); + o.arrayValues = buildUnnamed109(); o.rangeValue = buildRangeValue(); - o.structValues = buildUnnamed109(); + o.structValues = buildUnnamed110(); o.value = 'foo'; } buildCounterQueryParameterValue--; @@ -6552,9 +6603,9 @@ api.QueryParameterValue buildQueryParameterValue() { void checkQueryParameterValue(api.QueryParameterValue o) { buildCounterQueryParameterValue++; if (buildCounterQueryParameterValue < 3) { - checkUnnamed108(o.arrayValues!); + checkUnnamed109(o.arrayValues!); checkRangeValue(o.rangeValue!); - checkUnnamed109(o.structValues!); + checkUnnamed110(o.structValues!); unittest.expect( o.value!, unittest.equals('foo'), @@ -6563,23 +6614,23 @@ void checkQueryParameterValue(api.QueryParameterValue o) { buildCounterQueryParameterValue--; } -core.List buildUnnamed110() => [ +core.List buildUnnamed111() => [ buildConnectionProperty(), buildConnectionProperty(), ]; -void checkUnnamed110(core.List o) { +void checkUnnamed111(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnectionProperty(o[0]); checkConnectionProperty(o[1]); } -core.Map buildUnnamed111() => { +core.Map buildUnnamed112() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed111(core.Map o) { +void checkUnnamed112(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -6591,12 +6642,12 @@ void checkUnnamed111(core.Map o) { ); } -core.List buildUnnamed112() => [ +core.List buildUnnamed113() => [ buildQueryParameter(), buildQueryParameter(), ]; -void checkUnnamed112(core.List o) { +void checkUnnamed113(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryParameter(o[0]); checkQueryParameter(o[1]); @@ -6607,7 +6658,7 @@ api.QueryRequest buildQueryRequest() { final o = api.QueryRequest(); buildCounterQueryRequest++; if (buildCounterQueryRequest < 3) { - o.connectionProperties = buildUnnamed110(); + o.connectionProperties = buildUnnamed111(); o.continuous = true; o.createSession = true; o.defaultDataset = buildDatasetReference(); @@ -6615,14 +6666,14 @@ api.QueryRequest buildQueryRequest() { o.formatOptions = buildDataFormatOptions(); o.jobCreationMode = 'foo'; o.kind = 'foo'; - o.labels = buildUnnamed111(); + o.labels = buildUnnamed112(); o.location = 'foo'; o.maxResults = 42; o.maximumBytesBilled = 'foo'; o.parameterMode = 'foo'; o.preserveNulls = true; o.query = 'foo'; - o.queryParameters = buildUnnamed112(); + o.queryParameters = buildUnnamed113(); o.requestId = 'foo'; o.timeoutMs = 42; o.useLegacySql = true; @@ -6635,7 +6686,7 @@ api.QueryRequest buildQueryRequest() { void checkQueryRequest(api.QueryRequest o) { buildCounterQueryRequest++; if (buildCounterQueryRequest < 3) { - checkUnnamed110(o.connectionProperties!); + checkUnnamed111(o.connectionProperties!); unittest.expect(o.continuous!, unittest.isTrue); unittest.expect(o.createSession!, unittest.isTrue); checkDatasetReference(o.defaultDataset!); @@ -6649,7 +6700,7 @@ void checkQueryRequest(api.QueryRequest o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed111(o.labels!); + checkUnnamed112(o.labels!); unittest.expect( o.location!, unittest.equals('foo'), @@ -6671,7 +6722,7 @@ void checkQueryRequest(api.QueryRequest o) { o.query!, unittest.equals('foo'), ); - checkUnnamed112(o.queryParameters!); + checkUnnamed113(o.queryParameters!); unittest.expect( o.requestId!, unittest.equals('foo'), @@ -6686,23 +6737,23 @@ void checkQueryRequest(api.QueryRequest o) { buildCounterQueryRequest--; } -core.List buildUnnamed113() => [ +core.List buildUnnamed114() => [ buildErrorProto(), buildErrorProto(), ]; -void checkUnnamed113(core.List o) { +void checkUnnamed114(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkErrorProto(o[0]); checkErrorProto(o[1]); } -core.List buildUnnamed114() => [ +core.List buildUnnamed115() => [ buildTableRow(), buildTableRow(), ]; -void checkUnnamed114(core.List o) { +void checkUnnamed115(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableRow(o[0]); checkTableRow(o[1]); @@ -6715,7 +6766,7 @@ api.QueryResponse buildQueryResponse() { if (buildCounterQueryResponse < 3) { o.cacheHit = true; o.dmlStats = buildDmlStatistics(); - o.errors = buildUnnamed113(); + o.errors = buildUnnamed114(); o.jobComplete = true; o.jobCreationReason = buildJobCreationReason(); o.jobReference = buildJobReference(); @@ -6723,7 +6774,7 @@ api.QueryResponse buildQueryResponse() { o.numDmlAffectedRows = 'foo'; o.pageToken = 'foo'; o.queryId = 'foo'; - o.rows = buildUnnamed114(); + o.rows = buildUnnamed115(); o.schema = buildTableSchema(); o.sessionInfo = buildSessionInfo(); o.totalBytesProcessed = 'foo'; @@ -6738,7 +6789,7 @@ void checkQueryResponse(api.QueryResponse o) { if (buildCounterQueryResponse < 3) { unittest.expect(o.cacheHit!, unittest.isTrue); checkDmlStatistics(o.dmlStats!); - checkUnnamed113(o.errors!); + checkUnnamed114(o.errors!); unittest.expect(o.jobComplete!, unittest.isTrue); checkJobCreationReason(o.jobCreationReason!); checkJobReference(o.jobReference!); @@ -6758,7 +6809,7 @@ void checkQueryResponse(api.QueryResponse o) { o.queryId!, unittest.equals('foo'), ); - checkUnnamed114(o.rows!); + checkUnnamed115(o.rows!); checkTableSchema(o.schema!); checkSessionInfo(o.sessionInfo!); unittest.expect( @@ -6976,12 +7027,12 @@ void checkRegressionMetrics(api.RegressionMetrics o) { buildCounterRegressionMetrics--; } -core.Map buildUnnamed115() => { +core.Map buildUnnamed116() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed115(core.Map o) { +void checkUnnamed116(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -7001,7 +7052,7 @@ api.RemoteFunctionOptions buildRemoteFunctionOptions() { o.connection = 'foo'; o.endpoint = 'foo'; o.maxBatchingRows = 'foo'; - o.userDefinedContext = buildUnnamed115(); + o.userDefinedContext = buildUnnamed116(); } buildCounterRemoteFunctionOptions--; return o; @@ -7022,7 +7073,7 @@ void checkRemoteFunctionOptions(api.RemoteFunctionOptions o) { o.maxBatchingRows!, unittest.equals('foo'), ); - checkUnnamed115(o.userDefinedContext!); + checkUnnamed116(o.userDefinedContext!); } buildCounterRemoteFunctionOptions--; } @@ -7096,23 +7147,23 @@ void checkRestrictionConfig(api.RestrictionConfig o) { buildCounterRestrictionConfig--; } -core.List buildUnnamed116() => [ +core.List buildUnnamed117() => [ buildArgument(), buildArgument(), ]; -void checkUnnamed116(core.List o) { +void checkUnnamed117(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkArgument(o[0]); checkArgument(o[1]); } -core.List buildUnnamed117() => [ +core.List buildUnnamed118() => [ 'foo', 'foo', ]; -void checkUnnamed117(core.List o) { +void checkUnnamed118(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7129,14 +7180,14 @@ api.Routine buildRoutine() { final o = api.Routine(); buildCounterRoutine++; if (buildCounterRoutine < 3) { - o.arguments = buildUnnamed116(); + o.arguments = buildUnnamed117(); o.creationTime = 'foo'; o.dataGovernanceType = 'foo'; o.definitionBody = 'foo'; o.description = 'foo'; o.determinismLevel = 'foo'; o.etag = 'foo'; - o.importedLibraries = buildUnnamed117(); + o.importedLibraries = buildUnnamed118(); o.language = 'foo'; o.lastModifiedTime = 'foo'; o.remoteFunctionOptions = buildRemoteFunctionOptions(); @@ -7155,7 +7206,7 @@ api.Routine buildRoutine() { void checkRoutine(api.Routine o) { buildCounterRoutine++; if (buildCounterRoutine < 3) { - checkUnnamed116(o.arguments!); + checkUnnamed117(o.arguments!); unittest.expect( o.creationTime!, unittest.equals('foo'), @@ -7180,7 +7231,7 @@ void checkRoutine(api.Routine o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed117(o.importedLibraries!); + checkUnnamed118(o.importedLibraries!); unittest.expect( o.language!, unittest.equals('foo'), @@ -7239,12 +7290,12 @@ void checkRoutineReference(api.RoutineReference o) { buildCounterRoutineReference--; } -core.List buildUnnamed118() => [ +core.List buildUnnamed119() => [ buildEntry(), buildEntry(), ]; -void checkUnnamed118(core.List o) { +void checkUnnamed119(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEntry(o[0]); checkEntry(o[1]); @@ -7256,7 +7307,7 @@ api.Row buildRow() { buildCounterRow++; if (buildCounterRow < 3) { o.actualLabel = 'foo'; - o.entries = buildUnnamed118(); + o.entries = buildUnnamed119(); } buildCounterRow--; return o; @@ -7269,7 +7320,7 @@ void checkRow(api.Row o) { o.actualLabel!, unittest.equals('foo'), ); - checkUnnamed118(o.entries!); + checkUnnamed119(o.entries!); } buildCounterRow--; } @@ -7448,12 +7499,12 @@ void checkScriptStackFrame(api.ScriptStackFrame o) { buildCounterScriptStackFrame--; } -core.List buildUnnamed119() => [ +core.List buildUnnamed120() => [ buildScriptStackFrame(), buildScriptStackFrame(), ]; -void checkUnnamed119(core.List o) { +void checkUnnamed120(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScriptStackFrame(o[0]); checkScriptStackFrame(o[1]); @@ -7465,7 +7516,7 @@ api.ScriptStatistics buildScriptStatistics() { buildCounterScriptStatistics++; if (buildCounterScriptStatistics < 3) { o.evaluationKind = 'foo'; - o.stackFrames = buildUnnamed119(); + o.stackFrames = buildUnnamed120(); } buildCounterScriptStatistics--; return o; @@ -7478,17 +7529,17 @@ void checkScriptStatistics(api.ScriptStatistics o) { o.evaluationKind!, unittest.equals('foo'), ); - checkUnnamed119(o.stackFrames!); + checkUnnamed120(o.stackFrames!); } buildCounterScriptStatistics--; } -core.List buildUnnamed120() => [ +core.List buildUnnamed121() => [ buildIndexUnusedReason(), buildIndexUnusedReason(), ]; -void checkUnnamed120(core.List o) { +void checkUnnamed121(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIndexUnusedReason(o[0]); checkIndexUnusedReason(o[1]); @@ -7499,7 +7550,7 @@ api.SearchStatistics buildSearchStatistics() { final o = api.SearchStatistics(); buildCounterSearchStatistics++; if (buildCounterSearchStatistics < 3) { - o.indexUnusedReasons = buildUnnamed120(); + o.indexUnusedReasons = buildUnnamed121(); o.indexUsageMode = 'foo'; } buildCounterSearchStatistics--; @@ -7509,7 +7560,7 @@ api.SearchStatistics buildSearchStatistics() { void checkSearchStatistics(api.SearchStatistics o) { buildCounterSearchStatistics++; if (buildCounterSearchStatistics < 3) { - checkUnnamed120(o.indexUnusedReasons!); + checkUnnamed121(o.indexUnusedReasons!); unittest.expect( o.indexUsageMode!, unittest.equals('foo'), @@ -7518,12 +7569,12 @@ void checkSearchStatistics(api.SearchStatistics o) { buildCounterSearchStatistics--; } -core.Map buildUnnamed121() => { +core.Map buildUnnamed122() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed121(core.Map o) { +void checkUnnamed122(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -7541,7 +7592,7 @@ api.SerDeInfo buildSerDeInfo() { buildCounterSerDeInfo++; if (buildCounterSerDeInfo < 3) { o.name = 'foo'; - o.parameters = buildUnnamed121(); + o.parameters = buildUnnamed122(); o.serializationLibrary = 'foo'; } buildCounterSerDeInfo--; @@ -7555,7 +7606,7 @@ void checkSerDeInfo(api.SerDeInfo o) { o.name!, unittest.equals('foo'), ); - checkUnnamed121(o.parameters!); + checkUnnamed122(o.parameters!); unittest.expect( o.serializationLibrary!, unittest.equals('foo'), @@ -7683,12 +7734,12 @@ void checkSparkLoggingInfo(api.SparkLoggingInfo o) { buildCounterSparkLoggingInfo--; } -core.List buildUnnamed122() => [ +core.List buildUnnamed123() => [ 'foo', 'foo', ]; -void checkUnnamed122(core.List o) { +void checkUnnamed123(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7700,12 +7751,12 @@ void checkUnnamed122(core.List o) { ); } -core.List buildUnnamed123() => [ +core.List buildUnnamed124() => [ 'foo', 'foo', ]; -void checkUnnamed123(core.List o) { +void checkUnnamed124(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7717,12 +7768,12 @@ void checkUnnamed123(core.List o) { ); } -core.List buildUnnamed124() => [ +core.List buildUnnamed125() => [ 'foo', 'foo', ]; -void checkUnnamed124(core.List o) { +void checkUnnamed125(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7734,12 +7785,12 @@ void checkUnnamed124(core.List o) { ); } -core.Map buildUnnamed125() => { +core.Map buildUnnamed126() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed125(core.Map o) { +void checkUnnamed126(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -7751,12 +7802,12 @@ void checkUnnamed125(core.Map o) { ); } -core.List buildUnnamed126() => [ +core.List buildUnnamed127() => [ 'foo', 'foo', ]; -void checkUnnamed126(core.List o) { +void checkUnnamed127(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7773,15 +7824,15 @@ api.SparkOptions buildSparkOptions() { final o = api.SparkOptions(); buildCounterSparkOptions++; if (buildCounterSparkOptions < 3) { - o.archiveUris = buildUnnamed122(); + o.archiveUris = buildUnnamed123(); o.connection = 'foo'; o.containerImage = 'foo'; - o.fileUris = buildUnnamed123(); - o.jarUris = buildUnnamed124(); + o.fileUris = buildUnnamed124(); + o.jarUris = buildUnnamed125(); o.mainClass = 'foo'; o.mainFileUri = 'foo'; - o.properties = buildUnnamed125(); - o.pyFileUris = buildUnnamed126(); + o.properties = buildUnnamed126(); + o.pyFileUris = buildUnnamed127(); o.runtimeVersion = 'foo'; } buildCounterSparkOptions--; @@ -7791,7 +7842,7 @@ api.SparkOptions buildSparkOptions() { void checkSparkOptions(api.SparkOptions o) { buildCounterSparkOptions++; if (buildCounterSparkOptions < 3) { - checkUnnamed122(o.archiveUris!); + checkUnnamed123(o.archiveUris!); unittest.expect( o.connection!, unittest.equals('foo'), @@ -7800,8 +7851,8 @@ void checkSparkOptions(api.SparkOptions o) { o.containerImage!, unittest.equals('foo'), ); - checkUnnamed123(o.fileUris!); - checkUnnamed124(o.jarUris!); + checkUnnamed124(o.fileUris!); + checkUnnamed125(o.jarUris!); unittest.expect( o.mainClass!, unittest.equals('foo'), @@ -7810,8 +7861,8 @@ void checkSparkOptions(api.SparkOptions o) { o.mainFileUri!, unittest.equals('foo'), ); - checkUnnamed125(o.properties!); - checkUnnamed126(o.pyFileUris!); + checkUnnamed126(o.properties!); + checkUnnamed127(o.pyFileUris!); unittest.expect( o.runtimeVersion!, unittest.equals('foo'), @@ -7820,12 +7871,12 @@ void checkSparkOptions(api.SparkOptions o) { buildCounterSparkOptions--; } -core.Map buildUnnamed127() => { +core.Map buildUnnamed128() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed127(core.Map o) { +void checkUnnamed128(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -7842,7 +7893,7 @@ api.SparkStatistics buildSparkStatistics() { final o = api.SparkStatistics(); buildCounterSparkStatistics++; if (buildCounterSparkStatistics < 3) { - o.endpoints = buildUnnamed127(); + o.endpoints = buildUnnamed128(); o.gcsStagingBucket = 'foo'; o.kmsKeyName = 'foo'; o.loggingInfo = buildSparkLoggingInfo(); @@ -7856,7 +7907,7 @@ api.SparkStatistics buildSparkStatistics() { void checkSparkStatistics(api.SparkStatistics o) { buildCounterSparkStatistics++; if (buildCounterSparkStatistics < 3) { - checkUnnamed127(o.endpoints!); + checkUnnamed128(o.endpoints!); unittest.expect( o.gcsStagingBucket!, unittest.equals('foo'), @@ -7902,23 +7953,23 @@ void checkStagePerformanceChangeInsight(api.StagePerformanceChangeInsight o) { buildCounterStagePerformanceChangeInsight--; } -core.List buildUnnamed128() => [ +core.List buildUnnamed129() => [ buildBiEngineReason(), buildBiEngineReason(), ]; -void checkUnnamed128(core.List o) { +void checkUnnamed129(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBiEngineReason(o[0]); checkBiEngineReason(o[1]); } -core.List buildUnnamed129() => [ +core.List buildUnnamed130() => [ buildHighCardinalityJoin(), buildHighCardinalityJoin(), ]; -void checkUnnamed129(core.List o) { +void checkUnnamed130(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHighCardinalityJoin(o[0]); checkHighCardinalityJoin(o[1]); @@ -7929,8 +7980,8 @@ api.StagePerformanceStandaloneInsight buildStagePerformanceStandaloneInsight() { final o = api.StagePerformanceStandaloneInsight(); buildCounterStagePerformanceStandaloneInsight++; if (buildCounterStagePerformanceStandaloneInsight < 3) { - o.biEngineReasons = buildUnnamed128(); - o.highCardinalityJoins = buildUnnamed129(); + o.biEngineReasons = buildUnnamed129(); + o.highCardinalityJoins = buildUnnamed130(); o.insufficientShuffleQuota = true; o.partitionSkew = buildPartitionSkew(); o.slotContention = true; @@ -7944,8 +7995,8 @@ void checkStagePerformanceStandaloneInsight( api.StagePerformanceStandaloneInsight o) { buildCounterStagePerformanceStandaloneInsight++; if (buildCounterStagePerformanceStandaloneInsight < 3) { - checkUnnamed128(o.biEngineReasons!); - checkUnnamed129(o.highCardinalityJoins!); + checkUnnamed129(o.biEngineReasons!); + checkUnnamed130(o.highCardinalityJoins!); unittest.expect(o.insufficientShuffleQuota!, unittest.isTrue); checkPartitionSkew(o.partitionSkew!); unittest.expect(o.slotContention!, unittest.isTrue); @@ -8009,12 +8060,12 @@ void checkStandardSqlField(api.StandardSqlField o) { buildCounterStandardSqlField--; } -core.List buildUnnamed130() => [ +core.List buildUnnamed131() => [ buildStandardSqlField(), buildStandardSqlField(), ]; -void checkUnnamed130(core.List o) { +void checkUnnamed131(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStandardSqlField(o[0]); checkStandardSqlField(o[1]); @@ -8025,7 +8076,7 @@ api.StandardSqlStructType buildStandardSqlStructType() { final o = api.StandardSqlStructType(); buildCounterStandardSqlStructType++; if (buildCounterStandardSqlStructType < 3) { - o.fields = buildUnnamed130(); + o.fields = buildUnnamed131(); } buildCounterStandardSqlStructType--; return o; @@ -8034,17 +8085,17 @@ api.StandardSqlStructType buildStandardSqlStructType() { void checkStandardSqlStructType(api.StandardSqlStructType o) { buildCounterStandardSqlStructType++; if (buildCounterStandardSqlStructType < 3) { - checkUnnamed130(o.fields!); + checkUnnamed131(o.fields!); } buildCounterStandardSqlStructType--; } -core.List buildUnnamed131() => [ +core.List buildUnnamed132() => [ buildStandardSqlField(), buildStandardSqlField(), ]; -void checkUnnamed131(core.List o) { +void checkUnnamed132(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStandardSqlField(o[0]); checkStandardSqlField(o[1]); @@ -8055,7 +8106,7 @@ api.StandardSqlTableType buildStandardSqlTableType() { final o = api.StandardSqlTableType(); buildCounterStandardSqlTableType++; if (buildCounterStandardSqlTableType < 3) { - o.columns = buildUnnamed131(); + o.columns = buildUnnamed132(); } buildCounterStandardSqlTableType--; return o; @@ -8064,7 +8115,7 @@ api.StandardSqlTableType buildStandardSqlTableType() { void checkStandardSqlTableType(api.StandardSqlTableType o) { buildCounterStandardSqlTableType++; if (buildCounterStandardSqlTableType < 3) { - checkUnnamed131(o.columns!); + checkUnnamed132(o.columns!); } buildCounterStandardSqlTableType--; } @@ -8135,12 +8186,12 @@ void checkStreamingbuffer(api.Streamingbuffer o) { buildCounterStreamingbuffer--; } -core.List buildUnnamed132() => [ +core.List buildUnnamed133() => [ 'foo', 'foo', ]; -void checkUnnamed132(core.List o) { +void checkUnnamed133(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8157,7 +8208,7 @@ api.StringHparamSearchSpace buildStringHparamSearchSpace() { final o = api.StringHparamSearchSpace(); buildCounterStringHparamSearchSpace++; if (buildCounterStringHparamSearchSpace < 3) { - o.candidates = buildUnnamed132(); + o.candidates = buildUnnamed133(); } buildCounterStringHparamSearchSpace--; return o; @@ -8166,23 +8217,23 @@ api.StringHparamSearchSpace buildStringHparamSearchSpace() { void checkStringHparamSearchSpace(api.StringHparamSearchSpace o) { buildCounterStringHparamSearchSpace++; if (buildCounterStringHparamSearchSpace < 3) { - checkUnnamed132(o.candidates!); + checkUnnamed133(o.candidates!); } buildCounterStringHparamSearchSpace--; } -core.Map buildUnnamed133() => { +core.Map buildUnnamed134() => { 'x': buildStandardSqlDataType(), 'y': buildStandardSqlDataType(), }; -void checkUnnamed133(core.Map o) { +void checkUnnamed134(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkStandardSqlDataType(o['x']!); checkStandardSqlDataType(o['y']!); } -core.Map buildUnnamed134() => { +core.Map buildUnnamed135() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -8195,7 +8246,7 @@ core.Map buildUnnamed134() => { }, }; -void checkUnnamed134(core.Map o) { +void checkUnnamed135(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -8232,8 +8283,8 @@ api.SystemVariables buildSystemVariables() { final o = api.SystemVariables(); buildCounterSystemVariables++; if (buildCounterSystemVariables < 3) { - o.types = buildUnnamed133(); - o.values = buildUnnamed134(); + o.types = buildUnnamed134(); + o.values = buildUnnamed135(); } buildCounterSystemVariables--; return o; @@ -8242,18 +8293,18 @@ api.SystemVariables buildSystemVariables() { void checkSystemVariables(api.SystemVariables o) { buildCounterSystemVariables++; if (buildCounterSystemVariables < 3) { - checkUnnamed133(o.types!); - checkUnnamed134(o.values!); + checkUnnamed134(o.types!); + checkUnnamed135(o.values!); } buildCounterSystemVariables--; } -core.Map buildUnnamed135() => { +core.Map buildUnnamed136() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed135(core.Map o) { +void checkUnnamed136(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -8265,23 +8316,23 @@ void checkUnnamed135(core.Map o) { ); } -core.List buildUnnamed136() => [ +core.List buildUnnamed137() => [ buildTableReference(), buildTableReference(), ]; -void checkUnnamed136(core.List o) { +void checkUnnamed137(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableReference(o[0]); checkTableReference(o[1]); } -core.Map buildUnnamed137() => { +core.Map buildUnnamed138() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed137(core.Map o) { +void checkUnnamed138(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -8313,7 +8364,7 @@ api.Table buildTable() { o.friendlyName = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.labels = buildUnnamed135(); + o.labels = buildUnnamed136(); o.lastModifiedTime = 'foo'; o.location = 'foo'; o.materializedView = buildMaterializedViewDefinition(); @@ -8323,6 +8374,7 @@ api.Table buildTable() { o.numActiveLogicalBytes = 'foo'; o.numActivePhysicalBytes = 'foo'; o.numBytes = 'foo'; + o.numCurrentPhysicalBytes = 'foo'; o.numLongTermBytes = 'foo'; o.numLongTermLogicalBytes = 'foo'; o.numLongTermPhysicalBytes = 'foo'; @@ -8334,9 +8386,9 @@ api.Table buildTable() { o.numTotalPhysicalBytes = 'foo'; o.partitionDefinition = buildPartitioningDefinition(); o.rangePartitioning = buildRangePartitioning(); - o.replicas = buildUnnamed136(); + o.replicas = buildUnnamed137(); o.requirePartitionFilter = true; - o.resourceTags = buildUnnamed137(); + o.resourceTags = buildUnnamed138(); o.restrictions = buildRestrictionConfig(); o.schema = buildTableSchema(); o.selfLink = 'foo'; @@ -8398,7 +8450,7 @@ void checkTable(api.Table o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed135(o.labels!); + checkUnnamed136(o.labels!); unittest.expect( o.lastModifiedTime!, unittest.equals('foo'), @@ -8426,6 +8478,10 @@ void checkTable(api.Table o) { o.numBytes!, unittest.equals('foo'), ); + unittest.expect( + o.numCurrentPhysicalBytes!, + unittest.equals('foo'), + ); unittest.expect( o.numLongTermBytes!, unittest.equals('foo'), @@ -8464,9 +8520,9 @@ void checkTable(api.Table o) { ); checkPartitioningDefinition(o.partitionDefinition!); checkRangePartitioning(o.rangePartitioning!); - checkUnnamed136(o.replicas!); + checkUnnamed137(o.replicas!); unittest.expect(o.requirePartitionFilter!, unittest.isTrue); - checkUnnamed137(o.resourceTags!); + checkUnnamed138(o.resourceTags!); checkRestrictionConfig(o.restrictions!); checkTableSchema(o.schema!); unittest.expect( @@ -8553,13 +8609,13 @@ void checkTableConstraintsForeignKeysColumnReferences( buildCounterTableConstraintsForeignKeysColumnReferences--; } -core.List buildUnnamed138() => +core.List buildUnnamed139() => [ buildTableConstraintsForeignKeysColumnReferences(), buildTableConstraintsForeignKeysColumnReferences(), ]; -void checkUnnamed138( +void checkUnnamed139( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableConstraintsForeignKeysColumnReferences(o[0]); @@ -8605,7 +8661,7 @@ api.TableConstraintsForeignKeys buildTableConstraintsForeignKeys() { final o = api.TableConstraintsForeignKeys(); buildCounterTableConstraintsForeignKeys++; if (buildCounterTableConstraintsForeignKeys < 3) { - o.columnReferences = buildUnnamed138(); + o.columnReferences = buildUnnamed139(); o.name = 'foo'; o.referencedTable = buildTableConstraintsForeignKeysReferencedTable(); } @@ -8616,7 +8672,7 @@ api.TableConstraintsForeignKeys buildTableConstraintsForeignKeys() { void checkTableConstraintsForeignKeys(api.TableConstraintsForeignKeys o) { buildCounterTableConstraintsForeignKeys++; if (buildCounterTableConstraintsForeignKeys < 3) { - checkUnnamed138(o.columnReferences!); + checkUnnamed139(o.columnReferences!); unittest.expect( o.name!, unittest.equals('foo'), @@ -8626,23 +8682,23 @@ void checkTableConstraintsForeignKeys(api.TableConstraintsForeignKeys o) { buildCounterTableConstraintsForeignKeys--; } -core.List buildUnnamed139() => [ +core.List buildUnnamed140() => [ buildTableConstraintsForeignKeys(), buildTableConstraintsForeignKeys(), ]; -void checkUnnamed139(core.List o) { +void checkUnnamed140(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableConstraintsForeignKeys(o[0]); checkTableConstraintsForeignKeys(o[1]); } -core.List buildUnnamed140() => [ +core.List buildUnnamed141() => [ 'foo', 'foo', ]; -void checkUnnamed140(core.List o) { +void checkUnnamed141(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8659,7 +8715,7 @@ api.TableConstraintsPrimaryKey buildTableConstraintsPrimaryKey() { final o = api.TableConstraintsPrimaryKey(); buildCounterTableConstraintsPrimaryKey++; if (buildCounterTableConstraintsPrimaryKey < 3) { - o.columns = buildUnnamed140(); + o.columns = buildUnnamed141(); } buildCounterTableConstraintsPrimaryKey--; return o; @@ -8668,7 +8724,7 @@ api.TableConstraintsPrimaryKey buildTableConstraintsPrimaryKey() { void checkTableConstraintsPrimaryKey(api.TableConstraintsPrimaryKey o) { buildCounterTableConstraintsPrimaryKey++; if (buildCounterTableConstraintsPrimaryKey < 3) { - checkUnnamed140(o.columns!); + checkUnnamed141(o.columns!); } buildCounterTableConstraintsPrimaryKey--; } @@ -8678,7 +8734,7 @@ api.TableConstraints buildTableConstraints() { final o = api.TableConstraints(); buildCounterTableConstraints++; if (buildCounterTableConstraints < 3) { - o.foreignKeys = buildUnnamed139(); + o.foreignKeys = buildUnnamed140(); o.primaryKey = buildTableConstraintsPrimaryKey(); } buildCounterTableConstraints--; @@ -8688,7 +8744,7 @@ api.TableConstraints buildTableConstraints() { void checkTableConstraints(api.TableConstraints o) { buildCounterTableConstraints++; if (buildCounterTableConstraints < 3) { - checkUnnamed139(o.foreignKeys!); + checkUnnamed140(o.foreignKeys!); checkTableConstraintsPrimaryKey(o.primaryKey!); } buildCounterTableConstraints--; @@ -8718,12 +8774,12 @@ void checkTableDataInsertAllRequestRows(api.TableDataInsertAllRequestRows o) { buildCounterTableDataInsertAllRequestRows--; } -core.List buildUnnamed141() => [ +core.List buildUnnamed142() => [ buildTableDataInsertAllRequestRows(), buildTableDataInsertAllRequestRows(), ]; -void checkUnnamed141(core.List o) { +void checkUnnamed142(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableDataInsertAllRequestRows(o[0]); checkTableDataInsertAllRequestRows(o[1]); @@ -8736,7 +8792,7 @@ api.TableDataInsertAllRequest buildTableDataInsertAllRequest() { if (buildCounterTableDataInsertAllRequest < 3) { o.ignoreUnknownValues = true; o.kind = 'foo'; - o.rows = buildUnnamed141(); + o.rows = buildUnnamed142(); o.skipInvalidRows = true; o.templateSuffix = 'foo'; o.traceId = 'foo'; @@ -8753,7 +8809,7 @@ void checkTableDataInsertAllRequest(api.TableDataInsertAllRequest o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed141(o.rows!); + checkUnnamed142(o.rows!); unittest.expect(o.skipInvalidRows!, unittest.isTrue); unittest.expect( o.templateSuffix!, @@ -8767,12 +8823,12 @@ void checkTableDataInsertAllRequest(api.TableDataInsertAllRequest o) { buildCounterTableDataInsertAllRequest--; } -core.List buildUnnamed142() => [ +core.List buildUnnamed143() => [ buildErrorProto(), buildErrorProto(), ]; -void checkUnnamed142(core.List o) { +void checkUnnamed143(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkErrorProto(o[0]); checkErrorProto(o[1]); @@ -8784,7 +8840,7 @@ api.TableDataInsertAllResponseInsertErrors final o = api.TableDataInsertAllResponseInsertErrors(); buildCounterTableDataInsertAllResponseInsertErrors++; if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { - o.errors = buildUnnamed142(); + o.errors = buildUnnamed143(); o.index = 42; } buildCounterTableDataInsertAllResponseInsertErrors--; @@ -8795,7 +8851,7 @@ void checkTableDataInsertAllResponseInsertErrors( api.TableDataInsertAllResponseInsertErrors o) { buildCounterTableDataInsertAllResponseInsertErrors++; if (buildCounterTableDataInsertAllResponseInsertErrors < 3) { - checkUnnamed142(o.errors!); + checkUnnamed143(o.errors!); unittest.expect( o.index!, unittest.equals(42), @@ -8804,12 +8860,12 @@ void checkTableDataInsertAllResponseInsertErrors( buildCounterTableDataInsertAllResponseInsertErrors--; } -core.List buildUnnamed143() => [ +core.List buildUnnamed144() => [ buildTableDataInsertAllResponseInsertErrors(), buildTableDataInsertAllResponseInsertErrors(), ]; -void checkUnnamed143(core.List o) { +void checkUnnamed144(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableDataInsertAllResponseInsertErrors(o[0]); checkTableDataInsertAllResponseInsertErrors(o[1]); @@ -8820,7 +8876,7 @@ api.TableDataInsertAllResponse buildTableDataInsertAllResponse() { final o = api.TableDataInsertAllResponse(); buildCounterTableDataInsertAllResponse++; if (buildCounterTableDataInsertAllResponse < 3) { - o.insertErrors = buildUnnamed143(); + o.insertErrors = buildUnnamed144(); o.kind = 'foo'; } buildCounterTableDataInsertAllResponse--; @@ -8830,7 +8886,7 @@ api.TableDataInsertAllResponse buildTableDataInsertAllResponse() { void checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) { buildCounterTableDataInsertAllResponse++; if (buildCounterTableDataInsertAllResponse < 3) { - checkUnnamed143(o.insertErrors!); + checkUnnamed144(o.insertErrors!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -8839,12 +8895,12 @@ void checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) { buildCounterTableDataInsertAllResponse--; } -core.List buildUnnamed144() => [ +core.List buildUnnamed145() => [ buildTableRow(), buildTableRow(), ]; -void checkUnnamed144(core.List o) { +void checkUnnamed145(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableRow(o[0]); checkTableRow(o[1]); @@ -8858,7 +8914,7 @@ api.TableDataList buildTableDataList() { o.etag = 'foo'; o.kind = 'foo'; o.pageToken = 'foo'; - o.rows = buildUnnamed144(); + o.rows = buildUnnamed145(); o.totalRows = 'foo'; } buildCounterTableDataList--; @@ -8880,7 +8936,7 @@ void checkTableDataList(api.TableDataList o) { o.pageToken!, unittest.equals('foo'), ); - checkUnnamed144(o.rows!); + checkUnnamed145(o.rows!); unittest.expect( o.totalRows!, unittest.equals('foo'), @@ -8889,12 +8945,12 @@ void checkTableDataList(api.TableDataList o) { buildCounterTableDataList--; } -core.List buildUnnamed145() => [ +core.List buildUnnamed146() => [ 'foo', 'foo', ]; -void checkUnnamed145(core.List o) { +void checkUnnamed146(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8911,7 +8967,7 @@ api.TableFieldSchemaCategories buildTableFieldSchemaCategories() { final o = api.TableFieldSchemaCategories(); buildCounterTableFieldSchemaCategories++; if (buildCounterTableFieldSchemaCategories < 3) { - o.names = buildUnnamed145(); + o.names = buildUnnamed146(); } buildCounterTableFieldSchemaCategories--; return o; @@ -8920,28 +8976,28 @@ api.TableFieldSchemaCategories buildTableFieldSchemaCategories() { void checkTableFieldSchemaCategories(api.TableFieldSchemaCategories o) { buildCounterTableFieldSchemaCategories++; if (buildCounterTableFieldSchemaCategories < 3) { - checkUnnamed145(o.names!); + checkUnnamed146(o.names!); } buildCounterTableFieldSchemaCategories--; } -core.List buildUnnamed146() => [ +core.List buildUnnamed147() => [ buildTableFieldSchema(), buildTableFieldSchema(), ]; -void checkUnnamed146(core.List o) { +void checkUnnamed147(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableFieldSchema(o[0]); checkTableFieldSchema(o[1]); } -core.List buildUnnamed147() => [ +core.List buildUnnamed148() => [ 'foo', 'foo', ]; -void checkUnnamed147(core.List o) { +void checkUnnamed148(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8958,7 +9014,7 @@ api.TableFieldSchemaPolicyTags buildTableFieldSchemaPolicyTags() { final o = api.TableFieldSchemaPolicyTags(); buildCounterTableFieldSchemaPolicyTags++; if (buildCounterTableFieldSchemaPolicyTags < 3) { - o.names = buildUnnamed147(); + o.names = buildUnnamed148(); } buildCounterTableFieldSchemaPolicyTags--; return o; @@ -8967,7 +9023,7 @@ api.TableFieldSchemaPolicyTags buildTableFieldSchemaPolicyTags() { void checkTableFieldSchemaPolicyTags(api.TableFieldSchemaPolicyTags o) { buildCounterTableFieldSchemaPolicyTags++; if (buildCounterTableFieldSchemaPolicyTags < 3) { - checkUnnamed147(o.names!); + checkUnnamed148(o.names!); } buildCounterTableFieldSchemaPolicyTags--; } @@ -9004,7 +9060,7 @@ api.TableFieldSchema buildTableFieldSchema() { o.collation = 'foo'; o.defaultValueExpression = 'foo'; o.description = 'foo'; - o.fields = buildUnnamed146(); + o.fields = buildUnnamed147(); o.foreignTypeDefinition = 'foo'; o.maxLength = 'foo'; o.mode = 'foo'; @@ -9036,7 +9092,7 @@ void checkTableFieldSchema(api.TableFieldSchema o) { o.description!, unittest.equals('foo'), ); - checkUnnamed146(o.fields!); + checkUnnamed147(o.fields!); unittest.expect( o.foreignTypeDefinition!, unittest.equals('foo'), @@ -9075,12 +9131,12 @@ void checkTableFieldSchema(api.TableFieldSchema o) { buildCounterTableFieldSchema--; } -core.Map buildUnnamed148() => { +core.Map buildUnnamed149() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed148(core.Map o) { +void checkUnnamed149(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -9124,7 +9180,7 @@ api.TableListTables buildTableListTables() { o.friendlyName = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.labels = buildUnnamed148(); + o.labels = buildUnnamed149(); o.rangePartitioning = buildRangePartitioning(); o.requirePartitionFilter = true; o.tableReference = buildTableReference(); @@ -9160,7 +9216,7 @@ void checkTableListTables(api.TableListTables o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed148(o.labels!); + checkUnnamed149(o.labels!); checkRangePartitioning(o.rangePartitioning!); unittest.expect(o.requirePartitionFilter!, unittest.isTrue); checkTableReference(o.tableReference!); @@ -9174,12 +9230,12 @@ void checkTableListTables(api.TableListTables o) { buildCounterTableListTables--; } -core.List buildUnnamed149() => [ +core.List buildUnnamed150() => [ buildTableListTables(), buildTableListTables(), ]; -void checkUnnamed149(core.List o) { +void checkUnnamed150(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableListTables(o[0]); checkTableListTables(o[1]); @@ -9193,7 +9249,7 @@ api.TableList buildTableList() { o.etag = 'foo'; o.kind = 'foo'; o.nextPageToken = 'foo'; - o.tables = buildUnnamed149(); + o.tables = buildUnnamed150(); o.totalItems = 42; } buildCounterTableList--; @@ -9215,7 +9271,7 @@ void checkTableList(api.TableList o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed149(o.tables!); + checkUnnamed150(o.tables!); unittest.expect( o.totalItems!, unittest.equals(42), @@ -9326,12 +9382,12 @@ void checkTableReplicationInfo(api.TableReplicationInfo o) { buildCounterTableReplicationInfo--; } -core.List buildUnnamed150() => [ +core.List buildUnnamed151() => [ buildTableCell(), buildTableCell(), ]; -void checkUnnamed150(core.List o) { +void checkUnnamed151(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableCell(o[0]); checkTableCell(o[1]); @@ -9342,7 +9398,7 @@ api.TableRow buildTableRow() { final o = api.TableRow(); buildCounterTableRow++; if (buildCounterTableRow < 3) { - o.f = buildUnnamed150(); + o.f = buildUnnamed151(); } buildCounterTableRow--; return o; @@ -9351,17 +9407,17 @@ api.TableRow buildTableRow() { void checkTableRow(api.TableRow o) { buildCounterTableRow++; if (buildCounterTableRow < 3) { - checkUnnamed150(o.f!); + checkUnnamed151(o.f!); } buildCounterTableRow--; } -core.List buildUnnamed151() => [ +core.List buildUnnamed152() => [ buildTableFieldSchema(), buildTableFieldSchema(), ]; -void checkUnnamed151(core.List o) { +void checkUnnamed152(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTableFieldSchema(o[0]); checkTableFieldSchema(o[1]); @@ -9372,7 +9428,7 @@ api.TableSchema buildTableSchema() { final o = api.TableSchema(); buildCounterTableSchema++; if (buildCounterTableSchema < 3) { - o.fields = buildUnnamed151(); + o.fields = buildUnnamed152(); o.foreignTypeInfo = buildForeignTypeInfo(); } buildCounterTableSchema--; @@ -9382,18 +9438,18 @@ api.TableSchema buildTableSchema() { void checkTableSchema(api.TableSchema o) { buildCounterTableSchema++; if (buildCounterTableSchema < 3) { - checkUnnamed151(o.fields!); + checkUnnamed152(o.fields!); checkForeignTypeInfo(o.foreignTypeInfo!); } buildCounterTableSchema--; } -core.List buildUnnamed152() => [ +core.List buildUnnamed153() => [ 'foo', 'foo', ]; -void checkUnnamed152(core.List o) { +void checkUnnamed153(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9410,7 +9466,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed152(); + o.permissions = buildUnnamed153(); } buildCounterTestIamPermissionsRequest--; return o; @@ -9419,17 +9475,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed152(o.permissions!); + checkUnnamed153(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed153() => [ +core.List buildUnnamed154() => [ 'foo', 'foo', ]; -void checkUnnamed153(core.List o) { +void checkUnnamed154(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9446,7 +9502,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed153(); + o.permissions = buildUnnamed154(); } buildCounterTestIamPermissionsResponse--; return o; @@ -9455,7 +9511,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed153(o.permissions!); + checkUnnamed154(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -9494,12 +9550,12 @@ void checkTimePartitioning(api.TimePartitioning o) { buildCounterTimePartitioning--; } -core.List buildUnnamed154() => [ +core.List buildUnnamed155() => [ 'foo', 'foo', ]; -void checkUnnamed154(core.List o) { +void checkUnnamed155(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9511,12 +9567,12 @@ void checkUnnamed154(core.List o) { ); } -core.List buildUnnamed155() => [ +core.List buildUnnamed156() => [ 'foo', 'foo', ]; -void checkUnnamed155(core.List o) { +void checkUnnamed156(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9528,12 +9584,12 @@ void checkUnnamed155(core.List o) { ); } -core.List buildUnnamed156() => [ +core.List buildUnnamed157() => [ 'foo', 'foo', ]; -void checkUnnamed156(core.List o) { +void checkUnnamed157(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9545,12 +9601,12 @@ void checkUnnamed156(core.List o) { ); } -core.List buildUnnamed157() => [ +core.List buildUnnamed158() => [ 'foo', 'foo', ]; -void checkUnnamed157(core.List o) { +void checkUnnamed158(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9562,12 +9618,12 @@ void checkUnnamed157(core.List o) { ); } -core.Map buildUnnamed158() => { +core.Map buildUnnamed159() => { 'x': 42.0, 'y': 42.0, }; -void checkUnnamed158(core.Map o) { +void checkUnnamed159(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -9579,12 +9635,12 @@ void checkUnnamed158(core.Map o) { ); } -core.List buildUnnamed159() => [ +core.List buildUnnamed160() => [ 'foo', 'foo', ]; -void checkUnnamed159(core.List o) { +void checkUnnamed160(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9596,12 +9652,12 @@ void checkUnnamed159(core.List o) { ); } -core.List buildUnnamed160() => [ +core.List buildUnnamed161() => [ 'foo', 'foo', ]; -void checkUnnamed160(core.List o) { +void checkUnnamed161(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9647,14 +9703,14 @@ api.TrainingOptions buildTrainingOptions() { o.enableGlobalExplain = true; o.feedbackType = 'foo'; o.fitIntercept = true; - o.hiddenUnits = buildUnnamed154(); + o.hiddenUnits = buildUnnamed155(); o.holidayRegion = 'foo'; - o.holidayRegions = buildUnnamed155(); + o.holidayRegions = buildUnnamed156(); o.horizon = 'foo'; - o.hparamTuningObjectives = buildUnnamed156(); + o.hparamTuningObjectives = buildUnnamed157(); o.includeDrift = true; o.initialLearnRate = 42.0; - o.inputLabelColumns = buildUnnamed157(); + o.inputLabelColumns = buildUnnamed158(); o.instanceWeightColumn = 'foo'; o.integratedGradientsNumSteps = 'foo'; o.itemColumn = 'foo'; @@ -9663,7 +9719,7 @@ api.TrainingOptions buildTrainingOptions() { o.l1RegActivation = 42.0; o.l1Regularization = 42.0; o.l2Regularization = 42.0; - o.labelClassWeights = buildUnnamed158(); + o.labelClassWeights = buildUnnamed159(); o.learnRate = 42.0; o.learnRateStrategy = 'foo'; o.lossType = 'foo'; @@ -9694,13 +9750,13 @@ api.TrainingOptions buildTrainingOptions() { o.tfVersion = 'foo'; o.timeSeriesDataColumn = 'foo'; o.timeSeriesIdColumn = 'foo'; - o.timeSeriesIdColumns = buildUnnamed159(); + o.timeSeriesIdColumns = buildUnnamed160(); o.timeSeriesLengthFraction = 42.0; o.timeSeriesTimestampColumn = 'foo'; o.treeMethod = 'foo'; o.trendSmoothingWindowSize = 'foo'; o.userColumn = 'foo'; - o.vertexAiModelVersionAliases = buildUnnamed160(); + o.vertexAiModelVersionAliases = buildUnnamed161(); o.walsAlpha = 42.0; o.warmStart = true; o.xgboostVersion = 'foo'; @@ -9798,23 +9854,23 @@ void checkTrainingOptions(api.TrainingOptions o) { unittest.equals('foo'), ); unittest.expect(o.fitIntercept!, unittest.isTrue); - checkUnnamed154(o.hiddenUnits!); + checkUnnamed155(o.hiddenUnits!); unittest.expect( o.holidayRegion!, unittest.equals('foo'), ); - checkUnnamed155(o.holidayRegions!); + checkUnnamed156(o.holidayRegions!); unittest.expect( o.horizon!, unittest.equals('foo'), ); - checkUnnamed156(o.hparamTuningObjectives!); + checkUnnamed157(o.hparamTuningObjectives!); unittest.expect(o.includeDrift!, unittest.isTrue); unittest.expect( o.initialLearnRate!, unittest.equals(42.0), ); - checkUnnamed157(o.inputLabelColumns!); + checkUnnamed158(o.inputLabelColumns!); unittest.expect( o.instanceWeightColumn!, unittest.equals('foo'), @@ -9847,7 +9903,7 @@ void checkTrainingOptions(api.TrainingOptions o) { o.l2Regularization!, unittest.equals(42.0), ); - checkUnnamed158(o.labelClassWeights!); + checkUnnamed159(o.labelClassWeights!); unittest.expect( o.learnRate!, unittest.equals(42.0), @@ -9959,7 +10015,7 @@ void checkTrainingOptions(api.TrainingOptions o) { o.timeSeriesIdColumn!, unittest.equals('foo'), ); - checkUnnamed159(o.timeSeriesIdColumns!); + checkUnnamed160(o.timeSeriesIdColumns!); unittest.expect( o.timeSeriesLengthFraction!, unittest.equals(42.0), @@ -9980,7 +10036,7 @@ void checkTrainingOptions(api.TrainingOptions o) { o.userColumn!, unittest.equals('foo'), ); - checkUnnamed160(o.vertexAiModelVersionAliases!); + checkUnnamed161(o.vertexAiModelVersionAliases!); unittest.expect( o.walsAlpha!, unittest.equals(42.0), @@ -9994,23 +10050,23 @@ void checkTrainingOptions(api.TrainingOptions o) { buildCounterTrainingOptions--; } -core.List buildUnnamed161() => [ +core.List buildUnnamed162() => [ buildGlobalExplanation(), buildGlobalExplanation(), ]; -void checkUnnamed161(core.List o) { +void checkUnnamed162(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGlobalExplanation(o[0]); checkGlobalExplanation(o[1]); } -core.List buildUnnamed162() => [ +core.List buildUnnamed163() => [ buildIterationResult(), buildIterationResult(), ]; -void checkUnnamed162(core.List o) { +void checkUnnamed163(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIterationResult(o[0]); checkIterationResult(o[1]); @@ -10021,11 +10077,11 @@ api.TrainingRun buildTrainingRun() { final o = api.TrainingRun(); buildCounterTrainingRun++; if (buildCounterTrainingRun < 3) { - o.classLevelGlobalExplanations = buildUnnamed161(); + o.classLevelGlobalExplanations = buildUnnamed162(); o.dataSplitResult = buildDataSplitResult(); o.evaluationMetrics = buildEvaluationMetrics(); o.modelLevelGlobalExplanation = buildGlobalExplanation(); - o.results = buildUnnamed162(); + o.results = buildUnnamed163(); o.startTime = 'foo'; o.trainingOptions = buildTrainingOptions(); o.trainingStartTime = 'foo'; @@ -10039,11 +10095,11 @@ api.TrainingRun buildTrainingRun() { void checkTrainingRun(api.TrainingRun o) { buildCounterTrainingRun++; if (buildCounterTrainingRun < 3) { - checkUnnamed161(o.classLevelGlobalExplanations!); + checkUnnamed162(o.classLevelGlobalExplanations!); checkDataSplitResult(o.dataSplitResult!); checkEvaluationMetrics(o.evaluationMetrics!); checkGlobalExplanation(o.modelLevelGlobalExplanation!); - checkUnnamed162(o.results!); + checkUnnamed163(o.results!); unittest.expect( o.startTime!, unittest.equals('foo'), @@ -10165,12 +10221,12 @@ void checkUserDefinedFunctionResource(api.UserDefinedFunctionResource o) { buildCounterUserDefinedFunctionResource--; } -core.List buildUnnamed163() => [ +core.List buildUnnamed164() => [ buildIndexUnusedReason(), buildIndexUnusedReason(), ]; -void checkUnnamed163(core.List o) { +void checkUnnamed164(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkIndexUnusedReason(o[0]); checkIndexUnusedReason(o[1]); @@ -10181,7 +10237,7 @@ api.VectorSearchStatistics buildVectorSearchStatistics() { final o = api.VectorSearchStatistics(); buildCounterVectorSearchStatistics++; if (buildCounterVectorSearchStatistics < 3) { - o.indexUnusedReasons = buildUnnamed163(); + o.indexUnusedReasons = buildUnnamed164(); o.indexUsageMode = 'foo'; } buildCounterVectorSearchStatistics--; @@ -10191,7 +10247,7 @@ api.VectorSearchStatistics buildVectorSearchStatistics() { void checkVectorSearchStatistics(api.VectorSearchStatistics o) { buildCounterVectorSearchStatistics++; if (buildCounterVectorSearchStatistics < 3) { - checkUnnamed163(o.indexUnusedReasons!); + checkUnnamed164(o.indexUnusedReasons!); unittest.expect( o.indexUsageMode!, unittest.equals('foo'), @@ -10200,12 +10256,23 @@ void checkVectorSearchStatistics(api.VectorSearchStatistics o) { buildCounterVectorSearchStatistics--; } -core.List buildUnnamed164() => [ +core.List buildUnnamed165() => [ + buildForeignViewDefinition(), + buildForeignViewDefinition(), + ]; + +void checkUnnamed165(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkForeignViewDefinition(o[0]); + checkForeignViewDefinition(o[1]); +} + +core.List buildUnnamed166() => [ buildUserDefinedFunctionResource(), buildUserDefinedFunctionResource(), ]; -void checkUnnamed164(core.List o) { +void checkUnnamed166(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUserDefinedFunctionResource(o[0]); checkUserDefinedFunctionResource(o[1]); @@ -10216,11 +10283,12 @@ api.ViewDefinition buildViewDefinition() { final o = api.ViewDefinition(); buildCounterViewDefinition++; if (buildCounterViewDefinition < 3) { + o.foreignDefinitions = buildUnnamed165(); o.privacyPolicy = buildPrivacyPolicy(); o.query = 'foo'; o.useExplicitColumnNames = true; o.useLegacySql = true; - o.userDefinedFunctionResources = buildUnnamed164(); + o.userDefinedFunctionResources = buildUnnamed166(); } buildCounterViewDefinition--; return o; @@ -10229,6 +10297,7 @@ api.ViewDefinition buildViewDefinition() { void checkViewDefinition(api.ViewDefinition o) { buildCounterViewDefinition++; if (buildCounterViewDefinition < 3) { + checkUnnamed165(o.foreignDefinitions!); checkPrivacyPolicy(o.privacyPolicy!); unittest.expect( o.query!, @@ -10236,17 +10305,17 @@ void checkViewDefinition(api.ViewDefinition o) { ); unittest.expect(o.useExplicitColumnNames!, unittest.isTrue); unittest.expect(o.useLegacySql!, unittest.isTrue); - checkUnnamed164(o.userDefinedFunctionResources!); + checkUnnamed166(o.userDefinedFunctionResources!); } buildCounterViewDefinition--; } -core.List buildUnnamed165() => [ +core.List buildUnnamed167() => [ 'foo', 'foo', ]; -void checkUnnamed165(core.List o) { +void checkUnnamed167(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10949,6 +11018,16 @@ void main() { }); }); + unittest.group('obj-schema-ForeignViewDefinition', () { + unittest.test('to-json--from-json', () async { + final o = buildForeignViewDefinition(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ForeignViewDefinition.fromJson( + oJson as core.Map); + checkForeignViewDefinition(od); + }); + }); + unittest.group('obj-schema-GetIamPolicyRequest', () { unittest.test('to-json--from-json', () async { final o = buildGetIamPolicyRequest(); @@ -13259,7 +13338,7 @@ void main() { final arg_pageToken = 'foo'; final arg_parentJobId = 'foo'; final arg_projection = 'foo'; - final arg_stateFilter = buildUnnamed165(); + final arg_stateFilter = buildUnnamed167(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; diff --git a/generated/googleapis/test/bigqueryconnection/v1_test.dart b/generated/googleapis/test/bigqueryconnection/v1_test.dart index 69acb8df3..ac28b7479 100644 --- a/generated/googleapis/test/bigqueryconnection/v1_test.dart +++ b/generated/googleapis/test/bigqueryconnection/v1_test.dart @@ -496,6 +496,7 @@ api.ConnectorConfigurationAuthentication final o = api.ConnectorConfigurationAuthentication(); buildCounterConnectorConfigurationAuthentication++; if (buildCounterConnectorConfigurationAuthentication < 3) { + o.serviceAccount = 'foo'; o.usernamePassword = buildConnectorConfigurationUsernamePassword(); } buildCounterConnectorConfigurationAuthentication--; @@ -506,6 +507,10 @@ void checkConnectorConfigurationAuthentication( api.ConnectorConfigurationAuthentication o) { buildCounterConnectorConfigurationAuthentication++; if (buildCounterConnectorConfigurationAuthentication < 3) { + unittest.expect( + o.serviceAccount!, + unittest.equals('foo'), + ); checkConnectorConfigurationUsernamePassword(o.usernamePassword!); } buildCounterConnectorConfigurationAuthentication--; diff --git a/generated/googleapis/test/chromemanagement/v1_test.dart b/generated/googleapis/test/chromemanagement/v1_test.dart index 89638f7e2..cf8bf2541 100644 --- a/generated/googleapis/test/chromemanagement/v1_test.dart +++ b/generated/googleapis/test/chromemanagement/v1_test.dart @@ -184,6 +184,81 @@ void checkGoogleChromeManagementV1AppDetails( buildCounterGoogleChromeManagementV1AppDetails--; } +core.List buildUnnamed1() => [ + buildGoogleChromeManagementV1AppUsageData(), + buildGoogleChromeManagementV1AppUsageData(), + ]; + +void checkUnnamed1(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleChromeManagementV1AppUsageData(o[0]); + checkGoogleChromeManagementV1AppUsageData(o[1]); +} + +core.int buildCounterGoogleChromeManagementV1AppReport = 0; +api.GoogleChromeManagementV1AppReport buildGoogleChromeManagementV1AppReport() { + final o = api.GoogleChromeManagementV1AppReport(); + buildCounterGoogleChromeManagementV1AppReport++; + if (buildCounterGoogleChromeManagementV1AppReport < 3) { + o.reportTime = 'foo'; + o.usageData = buildUnnamed1(); + } + buildCounterGoogleChromeManagementV1AppReport--; + return o; +} + +void checkGoogleChromeManagementV1AppReport( + api.GoogleChromeManagementV1AppReport o) { + buildCounterGoogleChromeManagementV1AppReport++; + if (buildCounterGoogleChromeManagementV1AppReport < 3) { + unittest.expect( + o.reportTime!, + unittest.equals('foo'), + ); + checkUnnamed1(o.usageData!); + } + buildCounterGoogleChromeManagementV1AppReport--; +} + +core.int buildCounterGoogleChromeManagementV1AppUsageData = 0; +api.GoogleChromeManagementV1AppUsageData + buildGoogleChromeManagementV1AppUsageData() { + final o = api.GoogleChromeManagementV1AppUsageData(); + buildCounterGoogleChromeManagementV1AppUsageData++; + if (buildCounterGoogleChromeManagementV1AppUsageData < 3) { + o.appId = 'foo'; + o.appInstanceId = 'foo'; + o.appType = 'foo'; + o.runningDuration = 'foo'; + } + buildCounterGoogleChromeManagementV1AppUsageData--; + return o; +} + +void checkGoogleChromeManagementV1AppUsageData( + api.GoogleChromeManagementV1AppUsageData o) { + buildCounterGoogleChromeManagementV1AppUsageData++; + if (buildCounterGoogleChromeManagementV1AppUsageData < 3) { + unittest.expect( + o.appId!, + unittest.equals('foo'), + ); + unittest.expect( + o.appInstanceId!, + unittest.equals('foo'), + ); + unittest.expect( + o.appType!, + unittest.equals('foo'), + ); + unittest.expect( + o.runningDuration!, + unittest.equals('foo'), + ); + } + buildCounterGoogleChromeManagementV1AppUsageData--; +} + core.int buildCounterGoogleChromeManagementV1AudioStatusReport = 0; api.GoogleChromeManagementV1AudioStatusReport buildGoogleChromeManagementV1AudioStatusReport() { @@ -337,12 +412,12 @@ void checkGoogleChromeManagementV1BatterySampleReport( buildCounterGoogleChromeManagementV1BatterySampleReport--; } -core.List buildUnnamed1() => [ +core.List buildUnnamed2() => [ buildGoogleChromeManagementV1BatterySampleReport(), buildGoogleChromeManagementV1BatterySampleReport(), ]; -void checkUnnamed1( +void checkUnnamed2( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1BatterySampleReport(o[0]); @@ -359,7 +434,7 @@ api.GoogleChromeManagementV1BatteryStatusReport o.cycleCount = 42; o.fullChargeCapacity = 'foo'; o.reportTime = 'foo'; - o.sample = buildUnnamed1(); + o.sample = buildUnnamed2(); o.serialNumber = 'foo'; } buildCounterGoogleChromeManagementV1BatteryStatusReport--; @@ -386,7 +461,7 @@ void checkGoogleChromeManagementV1BatteryStatusReport( o.reportTime!, unittest.equals('foo'), ); - checkUnnamed1(o.sample!); + checkUnnamed2(o.sample!); unittest.expect( o.serialNumber!, unittest.equals('foo'), @@ -488,24 +563,24 @@ void checkGoogleChromeManagementV1BrowserVersion( buildCounterGoogleChromeManagementV1BrowserVersion--; } -core.List buildUnnamed2() => [ +core.List buildUnnamed3() => [ buildGoogleChromeManagementV1ChromeAppPermission(), buildGoogleChromeManagementV1ChromeAppPermission(), ]; -void checkUnnamed2( +void checkUnnamed3( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1ChromeAppPermission(o[0]); checkGoogleChromeManagementV1ChromeAppPermission(o[1]); } -core.List buildUnnamed3() => [ +core.List buildUnnamed4() => [ buildGoogleChromeManagementV1ChromeAppSiteAccess(), buildGoogleChromeManagementV1ChromeAppSiteAccess(), ]; -void checkUnnamed3( +void checkUnnamed4( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1ChromeAppSiteAccess(o[0]); @@ -525,8 +600,8 @@ api.GoogleChromeManagementV1ChromeAppInfo o.isTheme = true; o.kioskEnabled = true; o.minUserCount = 42; - o.permissions = buildUnnamed2(); - o.siteAccess = buildUnnamed3(); + o.permissions = buildUnnamed3(); + o.siteAccess = buildUnnamed4(); o.supportEnabled = true; o.type = 'foo'; } @@ -548,8 +623,8 @@ void checkGoogleChromeManagementV1ChromeAppInfo( o.minUserCount!, unittest.equals(42), ); - checkUnnamed2(o.permissions!); - checkUnnamed3(o.siteAccess!); + checkUnnamed3(o.permissions!); + checkUnnamed4(o.siteAccess!); unittest.expect(o.supportEnabled!, unittest.isTrue); unittest.expect( o.type!, @@ -668,12 +743,12 @@ void checkGoogleChromeManagementV1ChromeAppSiteAccess( buildCounterGoogleChromeManagementV1ChromeAppSiteAccess--; } -core.List buildUnnamed4() => [ +core.List buildUnnamed5() => [ buildGoogleChromeManagementV1ChromeAppRequest(), buildGoogleChromeManagementV1ChromeAppRequest(), ]; -void checkUnnamed4(core.List o) { +void checkUnnamed5(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1ChromeAppRequest(o[0]); checkGoogleChromeManagementV1ChromeAppRequest(o[1]); @@ -686,7 +761,7 @@ api.GoogleChromeManagementV1CountChromeAppRequestsResponse buildCounterGoogleChromeManagementV1CountChromeAppRequestsResponse++; if (buildCounterGoogleChromeManagementV1CountChromeAppRequestsResponse < 3) { o.nextPageToken = 'foo'; - o.requestedApps = buildUnnamed4(); + o.requestedApps = buildUnnamed5(); o.totalSize = 42; } buildCounterGoogleChromeManagementV1CountChromeAppRequestsResponse--; @@ -701,7 +776,7 @@ void checkGoogleChromeManagementV1CountChromeAppRequestsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4(o.requestedApps!); + checkUnnamed5(o.requestedApps!); unittest.expect( o.totalSize!, unittest.equals(42), @@ -752,12 +827,12 @@ void checkGoogleChromeManagementV1CountChromeBrowsersNeedingAttentionResponse( core.List< api .GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount> - buildUnnamed5() => [ + buildUnnamed6() => [ buildGoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount(), buildGoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount(), ]; -void checkUnnamed5( +void checkUnnamed6( core.List< api .GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount> @@ -775,7 +850,7 @@ api.GoogleChromeManagementV1CountChromeCrashEventsResponse final o = api.GoogleChromeManagementV1CountChromeCrashEventsResponse(); buildCounterGoogleChromeManagementV1CountChromeCrashEventsResponse++; if (buildCounterGoogleChromeManagementV1CountChromeCrashEventsResponse < 3) { - o.crashEventCounts = buildUnnamed5(); + o.crashEventCounts = buildUnnamed6(); } buildCounterGoogleChromeManagementV1CountChromeCrashEventsResponse--; return o; @@ -785,7 +860,7 @@ void checkGoogleChromeManagementV1CountChromeCrashEventsResponse( api.GoogleChromeManagementV1CountChromeCrashEventsResponse o) { buildCounterGoogleChromeManagementV1CountChromeCrashEventsResponse++; if (buildCounterGoogleChromeManagementV1CountChromeCrashEventsResponse < 3) { - checkUnnamed5(o.crashEventCounts!); + checkUnnamed6(o.crashEventCounts!); } buildCounterGoogleChromeManagementV1CountChromeCrashEventsResponse--; } @@ -827,12 +902,12 @@ void checkGoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount( buildCounterGoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount--; } -core.List buildUnnamed6() => [ +core.List buildUnnamed7() => [ buildGoogleChromeManagementV1DeviceAueCountReport(), buildGoogleChromeManagementV1DeviceAueCountReport(), ]; -void checkUnnamed6( +void checkUnnamed7( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1DeviceAueCountReport(o[0]); @@ -849,7 +924,7 @@ api.GoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse buildCounterGoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse++; if (buildCounterGoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse < 3) { - o.deviceAueCountReports = buildUnnamed6(); + o.deviceAueCountReports = buildUnnamed7(); } buildCounterGoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse--; return o; @@ -861,7 +936,7 @@ void checkGoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateRe buildCounterGoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse++; if (buildCounterGoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse < 3) { - checkUnnamed6(o.deviceAueCountReports!); + checkUnnamed7(o.deviceAueCountReports!); } buildCounterGoogleChromeManagementV1CountChromeDevicesReachingAutoExpirationDateResponse--; } @@ -916,12 +991,12 @@ void checkGoogleChromeManagementV1CountChromeDevicesThatNeedAttentionResponse( } core.List - buildUnnamed7() => [ + buildUnnamed8() => [ buildGoogleChromeManagementV1DeviceHardwareCountReport(), buildGoogleChromeManagementV1DeviceHardwareCountReport(), ]; -void checkUnnamed7( +void checkUnnamed8( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1DeviceHardwareCountReport(o[0]); @@ -929,12 +1004,12 @@ void checkUnnamed7( } core.List - buildUnnamed8() => [ + buildUnnamed9() => [ buildGoogleChromeManagementV1DeviceHardwareCountReport(), buildGoogleChromeManagementV1DeviceHardwareCountReport(), ]; -void checkUnnamed8( +void checkUnnamed9( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1DeviceHardwareCountReport(o[0]); @@ -942,12 +1017,12 @@ void checkUnnamed8( } core.List - buildUnnamed9() => [ + buildUnnamed10() => [ buildGoogleChromeManagementV1DeviceHardwareCountReport(), buildGoogleChromeManagementV1DeviceHardwareCountReport(), ]; -void checkUnnamed9( +void checkUnnamed10( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1DeviceHardwareCountReport(o[0]); @@ -955,12 +1030,12 @@ void checkUnnamed9( } core.List - buildUnnamed10() => [ + buildUnnamed11() => [ buildGoogleChromeManagementV1DeviceHardwareCountReport(), buildGoogleChromeManagementV1DeviceHardwareCountReport(), ]; -void checkUnnamed10( +void checkUnnamed11( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1DeviceHardwareCountReport(o[0]); @@ -977,10 +1052,10 @@ api.GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse buildCounterGoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse++; if (buildCounterGoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse < 3) { - o.cpuReports = buildUnnamed7(); - o.memoryReports = buildUnnamed8(); - o.modelReports = buildUnnamed9(); - o.storageReports = buildUnnamed10(); + o.cpuReports = buildUnnamed8(); + o.memoryReports = buildUnnamed9(); + o.modelReports = buildUnnamed10(); + o.storageReports = buildUnnamed11(); } buildCounterGoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse--; return o; @@ -991,20 +1066,20 @@ void checkGoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse( buildCounterGoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse++; if (buildCounterGoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse < 3) { - checkUnnamed7(o.cpuReports!); - checkUnnamed8(o.memoryReports!); - checkUnnamed9(o.modelReports!); - checkUnnamed10(o.storageReports!); + checkUnnamed8(o.cpuReports!); + checkUnnamed9(o.memoryReports!); + checkUnnamed10(o.modelReports!); + checkUnnamed11(o.storageReports!); } buildCounterGoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse--; } -core.List buildUnnamed11() => [ +core.List buildUnnamed12() => [ buildGoogleChromeManagementV1BrowserVersion(), buildGoogleChromeManagementV1BrowserVersion(), ]; -void checkUnnamed11(core.List o) { +void checkUnnamed12(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1BrowserVersion(o[0]); checkGoogleChromeManagementV1BrowserVersion(o[1]); @@ -1016,7 +1091,7 @@ api.GoogleChromeManagementV1CountChromeVersionsResponse final o = api.GoogleChromeManagementV1CountChromeVersionsResponse(); buildCounterGoogleChromeManagementV1CountChromeVersionsResponse++; if (buildCounterGoogleChromeManagementV1CountChromeVersionsResponse < 3) { - o.browserVersions = buildUnnamed11(); + o.browserVersions = buildUnnamed12(); o.nextPageToken = 'foo'; o.totalSize = 42; } @@ -1028,7 +1103,7 @@ void checkGoogleChromeManagementV1CountChromeVersionsResponse( api.GoogleChromeManagementV1CountChromeVersionsResponse o) { buildCounterGoogleChromeManagementV1CountChromeVersionsResponse++; if (buildCounterGoogleChromeManagementV1CountChromeVersionsResponse < 3) { - checkUnnamed11(o.browserVersions!); + checkUnnamed12(o.browserVersions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1041,12 +1116,12 @@ void checkGoogleChromeManagementV1CountChromeVersionsResponse( buildCounterGoogleChromeManagementV1CountChromeVersionsResponse--; } -core.List buildUnnamed12() => [ +core.List buildUnnamed13() => [ buildGoogleChromeManagementV1InstalledApp(), buildGoogleChromeManagementV1InstalledApp(), ]; -void checkUnnamed12(core.List o) { +void checkUnnamed13(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1InstalledApp(o[0]); checkGoogleChromeManagementV1InstalledApp(o[1]); @@ -1058,7 +1133,7 @@ api.GoogleChromeManagementV1CountInstalledAppsResponse final o = api.GoogleChromeManagementV1CountInstalledAppsResponse(); buildCounterGoogleChromeManagementV1CountInstalledAppsResponse++; if (buildCounterGoogleChromeManagementV1CountInstalledAppsResponse < 3) { - o.installedApps = buildUnnamed12(); + o.installedApps = buildUnnamed13(); o.nextPageToken = 'foo'; o.totalSize = 42; } @@ -1070,7 +1145,7 @@ void checkGoogleChromeManagementV1CountInstalledAppsResponse( api.GoogleChromeManagementV1CountInstalledAppsResponse o) { buildCounterGoogleChromeManagementV1CountInstalledAppsResponse++; if (buildCounterGoogleChromeManagementV1CountInstalledAppsResponse < 3) { - checkUnnamed12(o.installedApps!); + checkUnnamed13(o.installedApps!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1083,12 +1158,12 @@ void checkGoogleChromeManagementV1CountInstalledAppsResponse( buildCounterGoogleChromeManagementV1CountInstalledAppsResponse--; } -core.List buildUnnamed13() => [ +core.List buildUnnamed14() => [ buildGoogleChromeManagementV1PrinterReport(), buildGoogleChromeManagementV1PrinterReport(), ]; -void checkUnnamed13(core.List o) { +void checkUnnamed14(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1PrinterReport(o[0]); checkGoogleChromeManagementV1PrinterReport(o[1]); @@ -1102,7 +1177,7 @@ api.GoogleChromeManagementV1CountPrintJobsByPrinterResponse buildCounterGoogleChromeManagementV1CountPrintJobsByPrinterResponse++; if (buildCounterGoogleChromeManagementV1CountPrintJobsByPrinterResponse < 3) { o.nextPageToken = 'foo'; - o.printerReports = buildUnnamed13(); + o.printerReports = buildUnnamed14(); o.totalSize = 'foo'; } buildCounterGoogleChromeManagementV1CountPrintJobsByPrinterResponse--; @@ -1117,7 +1192,7 @@ void checkGoogleChromeManagementV1CountPrintJobsByPrinterResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed13(o.printerReports!); + checkUnnamed14(o.printerReports!); unittest.expect( o.totalSize!, unittest.equals('foo'), @@ -1126,12 +1201,12 @@ void checkGoogleChromeManagementV1CountPrintJobsByPrinterResponse( buildCounterGoogleChromeManagementV1CountPrintJobsByPrinterResponse--; } -core.List buildUnnamed14() => [ +core.List buildUnnamed15() => [ buildGoogleChromeManagementV1UserPrintReport(), buildGoogleChromeManagementV1UserPrintReport(), ]; -void checkUnnamed14(core.List o) { +void checkUnnamed15(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1UserPrintReport(o[0]); checkGoogleChromeManagementV1UserPrintReport(o[1]); @@ -1145,7 +1220,7 @@ api.GoogleChromeManagementV1CountPrintJobsByUserResponse if (buildCounterGoogleChromeManagementV1CountPrintJobsByUserResponse < 3) { o.nextPageToken = 'foo'; o.totalSize = 'foo'; - o.userPrintReports = buildUnnamed14(); + o.userPrintReports = buildUnnamed15(); } buildCounterGoogleChromeManagementV1CountPrintJobsByUserResponse--; return o; @@ -1163,7 +1238,7 @@ void checkGoogleChromeManagementV1CountPrintJobsByUserResponse( o.totalSize!, unittest.equals('foo'), ); - checkUnnamed14(o.userPrintReports!); + checkUnnamed15(o.userPrintReports!); } buildCounterGoogleChromeManagementV1CountPrintJobsByUserResponse--; } @@ -1205,12 +1280,12 @@ void checkGoogleChromeManagementV1CpuInfo( buildCounterGoogleChromeManagementV1CpuInfo--; } -core.List buildUnnamed15() => [ +core.List buildUnnamed16() => [ buildGoogleChromeManagementV1CpuTemperatureInfo(), buildGoogleChromeManagementV1CpuTemperatureInfo(), ]; -void checkUnnamed15( +void checkUnnamed16( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1CpuTemperatureInfo(o[0]); @@ -1223,7 +1298,7 @@ api.GoogleChromeManagementV1CpuStatusReport final o = api.GoogleChromeManagementV1CpuStatusReport(); buildCounterGoogleChromeManagementV1CpuStatusReport++; if (buildCounterGoogleChromeManagementV1CpuStatusReport < 3) { - o.cpuTemperatureInfo = buildUnnamed15(); + o.cpuTemperatureInfo = buildUnnamed16(); o.cpuUtilizationPct = 42; o.reportTime = 'foo'; o.sampleFrequency = 'foo'; @@ -1236,7 +1311,7 @@ void checkGoogleChromeManagementV1CpuStatusReport( api.GoogleChromeManagementV1CpuStatusReport o) { buildCounterGoogleChromeManagementV1CpuStatusReport++; if (buildCounterGoogleChromeManagementV1CpuStatusReport < 3) { - checkUnnamed15(o.cpuTemperatureInfo!); + checkUnnamed16(o.cpuTemperatureInfo!); unittest.expect( o.cpuUtilizationPct!, unittest.equals(42), @@ -1440,12 +1515,12 @@ void checkGoogleChromeManagementV1DeviceRequestingExtensionDetails( buildCounterGoogleChromeManagementV1DeviceRequestingExtensionDetails--; } -core.List buildUnnamed16() => [ +core.List buildUnnamed17() => [ 'foo', 'foo', ]; -void checkUnnamed16(core.List o) { +void checkUnnamed17(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1473,7 +1548,7 @@ api.GoogleChromeManagementV1DiskInfo buildGoogleChromeManagementV1DiskInfo() { o.serialNumber = 'foo'; o.sizeBytes = 'foo'; o.type = 'foo'; - o.volumeIds = buildUnnamed16(); + o.volumeIds = buildUnnamed17(); o.writeTimeThisSession = 'foo'; } buildCounterGoogleChromeManagementV1DiskInfo--; @@ -1528,7 +1603,7 @@ void checkGoogleChromeManagementV1DiskInfo( o.type!, unittest.equals('foo'), ); - checkUnnamed16(o.volumeIds!); + checkUnnamed17(o.volumeIds!); unittest.expect( o.writeTimeThisSession!, unittest.equals('foo'), @@ -1634,12 +1709,12 @@ void checkGoogleChromeManagementV1DisplayInfo( buildCounterGoogleChromeManagementV1DisplayInfo--; } -core.List buildUnnamed17() => [ +core.List buildUnnamed18() => [ buildGoogleChromeManagementV1PrintJob(), buildGoogleChromeManagementV1PrintJob(), ]; -void checkUnnamed17(core.List o) { +void checkUnnamed18(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1PrintJob(o[0]); checkGoogleChromeManagementV1PrintJob(o[1]); @@ -1652,7 +1727,7 @@ api.GoogleChromeManagementV1EnumeratePrintJobsResponse buildCounterGoogleChromeManagementV1EnumeratePrintJobsResponse++; if (buildCounterGoogleChromeManagementV1EnumeratePrintJobsResponse < 3) { o.nextPageToken = 'foo'; - o.printJobs = buildUnnamed17(); + o.printJobs = buildUnnamed18(); o.totalSize = 'foo'; } buildCounterGoogleChromeManagementV1EnumeratePrintJobsResponse--; @@ -1667,7 +1742,7 @@ void checkGoogleChromeManagementV1EnumeratePrintJobsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed17(o.printJobs!); + checkUnnamed18(o.printJobs!); unittest.expect( o.totalSize!, unittest.equals('foo'), @@ -1677,12 +1752,12 @@ void checkGoogleChromeManagementV1EnumeratePrintJobsResponse( } core.List - buildUnnamed18() => [ + buildUnnamed19() => [ buildGoogleChromeManagementV1DeviceRequestingExtensionDetails(), buildGoogleChromeManagementV1DeviceRequestingExtensionDetails(), ]; -void checkUnnamed18( +void checkUnnamed19( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1DeviceRequestingExtensionDetails(o[0]); @@ -1699,7 +1774,7 @@ api.GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse buildCounterGoogleChromeManagementV1FetchDevicesRequestingExtensionResponse++; if (buildCounterGoogleChromeManagementV1FetchDevicesRequestingExtensionResponse < 3) { - o.deviceDetails = buildUnnamed18(); + o.deviceDetails = buildUnnamed19(); o.nextPageToken = 'foo'; o.totalSize = 42; } @@ -1712,7 +1787,7 @@ void checkGoogleChromeManagementV1FetchDevicesRequestingExtensionResponse( buildCounterGoogleChromeManagementV1FetchDevicesRequestingExtensionResponse++; if (buildCounterGoogleChromeManagementV1FetchDevicesRequestingExtensionResponse < 3) { - checkUnnamed18(o.deviceDetails!); + checkUnnamed19(o.deviceDetails!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1726,12 +1801,12 @@ void checkGoogleChromeManagementV1FetchDevicesRequestingExtensionResponse( } core.List - buildUnnamed19() => [ + buildUnnamed20() => [ buildGoogleChromeManagementV1UserRequestingExtensionDetails(), buildGoogleChromeManagementV1UserRequestingExtensionDetails(), ]; -void checkUnnamed19( +void checkUnnamed20( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1UserRequestingExtensionDetails(o[0]); @@ -1749,7 +1824,7 @@ api.GoogleChromeManagementV1FetchUsersRequestingExtensionResponse 3) { o.nextPageToken = 'foo'; o.totalSize = 42; - o.userDetails = buildUnnamed19(); + o.userDetails = buildUnnamed20(); } buildCounterGoogleChromeManagementV1FetchUsersRequestingExtensionResponse--; return o; @@ -1768,17 +1843,17 @@ void checkGoogleChromeManagementV1FetchUsersRequestingExtensionResponse( o.totalSize!, unittest.equals(42), ); - checkUnnamed19(o.userDetails!); + checkUnnamed20(o.userDetails!); } buildCounterGoogleChromeManagementV1FetchUsersRequestingExtensionResponse--; } -core.List buildUnnamed20() => [ +core.List buildUnnamed21() => [ buildGoogleChromeManagementV1Device(), buildGoogleChromeManagementV1Device(), ]; -void checkUnnamed20(core.List o) { +void checkUnnamed21(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1Device(o[0]); checkGoogleChromeManagementV1Device(o[1]); @@ -1791,7 +1866,7 @@ api.GoogleChromeManagementV1FindInstalledAppDevicesResponse final o = api.GoogleChromeManagementV1FindInstalledAppDevicesResponse(); buildCounterGoogleChromeManagementV1FindInstalledAppDevicesResponse++; if (buildCounterGoogleChromeManagementV1FindInstalledAppDevicesResponse < 3) { - o.devices = buildUnnamed20(); + o.devices = buildUnnamed21(); o.nextPageToken = 'foo'; o.totalSize = 42; } @@ -1803,7 +1878,7 @@ void checkGoogleChromeManagementV1FindInstalledAppDevicesResponse( api.GoogleChromeManagementV1FindInstalledAppDevicesResponse o) { buildCounterGoogleChromeManagementV1FindInstalledAppDevicesResponse++; if (buildCounterGoogleChromeManagementV1FindInstalledAppDevicesResponse < 3) { - checkUnnamed20(o.devices!); + checkUnnamed21(o.devices!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1850,12 +1925,12 @@ void checkGoogleChromeManagementV1GraphicsAdapterInfo( buildCounterGoogleChromeManagementV1GraphicsAdapterInfo--; } -core.List buildUnnamed21() => [ +core.List buildUnnamed22() => [ buildGoogleChromeManagementV1DisplayDevice(), buildGoogleChromeManagementV1DisplayDevice(), ]; -void checkUnnamed21(core.List o) { +void checkUnnamed22(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1DisplayDevice(o[0]); checkGoogleChromeManagementV1DisplayDevice(o[1]); @@ -1868,7 +1943,7 @@ api.GoogleChromeManagementV1GraphicsInfo buildCounterGoogleChromeManagementV1GraphicsInfo++; if (buildCounterGoogleChromeManagementV1GraphicsInfo < 3) { o.adapterInfo = buildGoogleChromeManagementV1GraphicsAdapterInfo(); - o.displayDevices = buildUnnamed21(); + o.displayDevices = buildUnnamed22(); o.eprivacySupported = true; o.touchScreenInfo = buildGoogleChromeManagementV1TouchScreenInfo(); } @@ -1881,19 +1956,19 @@ void checkGoogleChromeManagementV1GraphicsInfo( buildCounterGoogleChromeManagementV1GraphicsInfo++; if (buildCounterGoogleChromeManagementV1GraphicsInfo < 3) { checkGoogleChromeManagementV1GraphicsAdapterInfo(o.adapterInfo!); - checkUnnamed21(o.displayDevices!); + checkUnnamed22(o.displayDevices!); unittest.expect(o.eprivacySupported!, unittest.isTrue); checkGoogleChromeManagementV1TouchScreenInfo(o.touchScreenInfo!); } buildCounterGoogleChromeManagementV1GraphicsInfo--; } -core.List buildUnnamed22() => [ +core.List buildUnnamed23() => [ buildGoogleChromeManagementV1DisplayInfo(), buildGoogleChromeManagementV1DisplayInfo(), ]; -void checkUnnamed22(core.List o) { +void checkUnnamed23(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1DisplayInfo(o[0]); checkGoogleChromeManagementV1DisplayInfo(o[1]); @@ -1905,7 +1980,7 @@ api.GoogleChromeManagementV1GraphicsStatusReport final o = api.GoogleChromeManagementV1GraphicsStatusReport(); buildCounterGoogleChromeManagementV1GraphicsStatusReport++; if (buildCounterGoogleChromeManagementV1GraphicsStatusReport < 3) { - o.displays = buildUnnamed22(); + o.displays = buildUnnamed23(); o.reportTime = 'foo'; } buildCounterGoogleChromeManagementV1GraphicsStatusReport--; @@ -1916,7 +1991,7 @@ void checkGoogleChromeManagementV1GraphicsStatusReport( api.GoogleChromeManagementV1GraphicsStatusReport o) { buildCounterGoogleChromeManagementV1GraphicsStatusReport++; if (buildCounterGoogleChromeManagementV1GraphicsStatusReport < 3) { - checkUnnamed22(o.displays!); + checkUnnamed23(o.displays!); unittest.expect( o.reportTime!, unittest.equals('foo'), @@ -1983,12 +2058,12 @@ void checkGoogleChromeManagementV1HttpsLatencyRoutineData( buildCounterGoogleChromeManagementV1HttpsLatencyRoutineData--; } -core.List buildUnnamed23() => [ +core.List buildUnnamed24() => [ 'foo', 'foo', ]; -void checkUnnamed23(core.List o) { +void checkUnnamed24(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2016,7 +2091,7 @@ api.GoogleChromeManagementV1InstalledApp o.displayName = 'foo'; o.homepageUri = 'foo'; o.osUserCount = 'foo'; - o.permissions = buildUnnamed23(); + o.permissions = buildUnnamed24(); } buildCounterGoogleChromeManagementV1InstalledApp--; return o; @@ -2063,7 +2138,7 @@ void checkGoogleChromeManagementV1InstalledApp( o.osUserCount!, unittest.equals('foo'), ); - checkUnnamed23(o.permissions!); + checkUnnamed24(o.permissions!); } buildCounterGoogleChromeManagementV1InstalledApp--; } @@ -2102,12 +2177,12 @@ void checkGoogleChromeManagementV1KioskAppStatusReport( buildCounterGoogleChromeManagementV1KioskAppStatusReport--; } -core.List buildUnnamed24() => [ +core.List buildUnnamed25() => [ buildGoogleChromeManagementV1TelemetryDevice(), buildGoogleChromeManagementV1TelemetryDevice(), ]; -void checkUnnamed24(core.List o) { +void checkUnnamed25(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1TelemetryDevice(o[0]); checkGoogleChromeManagementV1TelemetryDevice(o[1]); @@ -2119,7 +2194,7 @@ api.GoogleChromeManagementV1ListTelemetryDevicesResponse final o = api.GoogleChromeManagementV1ListTelemetryDevicesResponse(); buildCounterGoogleChromeManagementV1ListTelemetryDevicesResponse++; if (buildCounterGoogleChromeManagementV1ListTelemetryDevicesResponse < 3) { - o.devices = buildUnnamed24(); + o.devices = buildUnnamed25(); o.nextPageToken = 'foo'; } buildCounterGoogleChromeManagementV1ListTelemetryDevicesResponse--; @@ -2130,7 +2205,7 @@ void checkGoogleChromeManagementV1ListTelemetryDevicesResponse( api.GoogleChromeManagementV1ListTelemetryDevicesResponse o) { buildCounterGoogleChromeManagementV1ListTelemetryDevicesResponse++; if (buildCounterGoogleChromeManagementV1ListTelemetryDevicesResponse < 3) { - checkUnnamed24(o.devices!); + checkUnnamed25(o.devices!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2139,12 +2214,12 @@ void checkGoogleChromeManagementV1ListTelemetryDevicesResponse( buildCounterGoogleChromeManagementV1ListTelemetryDevicesResponse--; } -core.List buildUnnamed25() => [ +core.List buildUnnamed26() => [ buildGoogleChromeManagementV1TelemetryEvent(), buildGoogleChromeManagementV1TelemetryEvent(), ]; -void checkUnnamed25(core.List o) { +void checkUnnamed26(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1TelemetryEvent(o[0]); checkGoogleChromeManagementV1TelemetryEvent(o[1]); @@ -2157,7 +2232,7 @@ api.GoogleChromeManagementV1ListTelemetryEventsResponse buildCounterGoogleChromeManagementV1ListTelemetryEventsResponse++; if (buildCounterGoogleChromeManagementV1ListTelemetryEventsResponse < 3) { o.nextPageToken = 'foo'; - o.telemetryEvents = buildUnnamed25(); + o.telemetryEvents = buildUnnamed26(); } buildCounterGoogleChromeManagementV1ListTelemetryEventsResponse--; return o; @@ -2171,18 +2246,18 @@ void checkGoogleChromeManagementV1ListTelemetryEventsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed25(o.telemetryEvents!); + checkUnnamed26(o.telemetryEvents!); } buildCounterGoogleChromeManagementV1ListTelemetryEventsResponse--; } core.List - buildUnnamed26() => [ + buildUnnamed27() => [ buildGoogleChromeManagementV1TelemetryNotificationConfig(), buildGoogleChromeManagementV1TelemetryNotificationConfig(), ]; -void checkUnnamed26( +void checkUnnamed27( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1TelemetryNotificationConfig(o[0]); @@ -2200,7 +2275,7 @@ api.GoogleChromeManagementV1ListTelemetryNotificationConfigsResponse if (buildCounterGoogleChromeManagementV1ListTelemetryNotificationConfigsResponse < 3) { o.nextPageToken = 'foo'; - o.telemetryNotificationConfigs = buildUnnamed26(); + o.telemetryNotificationConfigs = buildUnnamed27(); } buildCounterGoogleChromeManagementV1ListTelemetryNotificationConfigsResponse--; return o; @@ -2215,17 +2290,17 @@ void checkGoogleChromeManagementV1ListTelemetryNotificationConfigsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed26(o.telemetryNotificationConfigs!); + checkUnnamed27(o.telemetryNotificationConfigs!); } buildCounterGoogleChromeManagementV1ListTelemetryNotificationConfigsResponse--; } -core.List buildUnnamed27() => [ +core.List buildUnnamed28() => [ buildGoogleChromeManagementV1TelemetryUser(), buildGoogleChromeManagementV1TelemetryUser(), ]; -void checkUnnamed27(core.List o) { +void checkUnnamed28(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1TelemetryUser(o[0]); checkGoogleChromeManagementV1TelemetryUser(o[1]); @@ -2238,7 +2313,7 @@ api.GoogleChromeManagementV1ListTelemetryUsersResponse buildCounterGoogleChromeManagementV1ListTelemetryUsersResponse++; if (buildCounterGoogleChromeManagementV1ListTelemetryUsersResponse < 3) { o.nextPageToken = 'foo'; - o.telemetryUsers = buildUnnamed27(); + o.telemetryUsers = buildUnnamed28(); } buildCounterGoogleChromeManagementV1ListTelemetryUsersResponse--; return o; @@ -2252,7 +2327,7 @@ void checkGoogleChromeManagementV1ListTelemetryUsersResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed27(o.telemetryUsers!); + checkUnnamed28(o.telemetryUsers!); } buildCounterGoogleChromeManagementV1ListTelemetryUsersResponse--; } @@ -2433,12 +2508,12 @@ void checkGoogleChromeManagementV1NetworkDiagnosticsReport( buildCounterGoogleChromeManagementV1NetworkDiagnosticsReport--; } -core.List buildUnnamed28() => [ +core.List buildUnnamed29() => [ buildGoogleChromeManagementV1NetworkDevice(), buildGoogleChromeManagementV1NetworkDevice(), ]; -void checkUnnamed28(core.List o) { +void checkUnnamed29(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1NetworkDevice(o[0]); checkGoogleChromeManagementV1NetworkDevice(o[1]); @@ -2450,7 +2525,7 @@ api.GoogleChromeManagementV1NetworkInfo final o = api.GoogleChromeManagementV1NetworkInfo(); buildCounterGoogleChromeManagementV1NetworkInfo++; if (buildCounterGoogleChromeManagementV1NetworkInfo < 3) { - o.networkDevices = buildUnnamed28(); + o.networkDevices = buildUnnamed29(); } buildCounterGoogleChromeManagementV1NetworkInfo--; return o; @@ -2460,7 +2535,7 @@ void checkGoogleChromeManagementV1NetworkInfo( api.GoogleChromeManagementV1NetworkInfo o) { buildCounterGoogleChromeManagementV1NetworkInfo++; if (buildCounterGoogleChromeManagementV1NetworkInfo < 3) { - checkUnnamed28(o.networkDevices!); + checkUnnamed29(o.networkDevices!); } buildCounterGoogleChromeManagementV1NetworkInfo--; } @@ -2597,12 +2672,12 @@ void checkGoogleChromeManagementV1OsUpdateStatus( buildCounterGoogleChromeManagementV1OsUpdateStatus--; } -core.List buildUnnamed29() => [ +core.List buildUnnamed30() => [ buildGoogleChromeManagementV1UsbPeripheralReport(), buildGoogleChromeManagementV1UsbPeripheralReport(), ]; -void checkUnnamed29( +void checkUnnamed30( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1UsbPeripheralReport(o[0]); @@ -2616,7 +2691,7 @@ api.GoogleChromeManagementV1PeripheralsReport buildCounterGoogleChromeManagementV1PeripheralsReport++; if (buildCounterGoogleChromeManagementV1PeripheralsReport < 3) { o.reportTime = 'foo'; - o.usbPeripheralReport = buildUnnamed29(); + o.usbPeripheralReport = buildUnnamed30(); } buildCounterGoogleChromeManagementV1PeripheralsReport--; return o; @@ -2630,7 +2705,7 @@ void checkGoogleChromeManagementV1PeripheralsReport( o.reportTime!, unittest.equals('foo'), ); - checkUnnamed29(o.usbPeripheralReport!); + checkUnnamed30(o.usbPeripheralReport!); } buildCounterGoogleChromeManagementV1PeripheralsReport--; } @@ -2811,13 +2886,13 @@ void checkGoogleChromeManagementV1RuntimeCountersReport( buildCounterGoogleChromeManagementV1RuntimeCountersReport--; } -core.List buildUnnamed30() => +core.List buildUnnamed31() => [ buildGoogleChromeManagementV1StorageInfoDiskVolume(), buildGoogleChromeManagementV1StorageInfoDiskVolume(), ]; -void checkUnnamed30( +void checkUnnamed31( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1StorageInfoDiskVolume(o[0]); @@ -2832,7 +2907,7 @@ api.GoogleChromeManagementV1StorageInfo if (buildCounterGoogleChromeManagementV1StorageInfo < 3) { o.availableDiskBytes = 'foo'; o.totalDiskBytes = 'foo'; - o.volume = buildUnnamed30(); + o.volume = buildUnnamed31(); } buildCounterGoogleChromeManagementV1StorageInfo--; return o; @@ -2850,7 +2925,7 @@ void checkGoogleChromeManagementV1StorageInfo( o.totalDiskBytes!, unittest.equals('foo'), ); - checkUnnamed30(o.volume!); + checkUnnamed31(o.volume!); } buildCounterGoogleChromeManagementV1StorageInfo--; } @@ -2889,12 +2964,12 @@ void checkGoogleChromeManagementV1StorageInfoDiskVolume( buildCounterGoogleChromeManagementV1StorageInfoDiskVolume--; } -core.List buildUnnamed31() => [ +core.List buildUnnamed32() => [ buildGoogleChromeManagementV1DiskInfo(), buildGoogleChromeManagementV1DiskInfo(), ]; -void checkUnnamed31(core.List o) { +void checkUnnamed32(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1DiskInfo(o[0]); checkGoogleChromeManagementV1DiskInfo(o[1]); @@ -2906,7 +2981,7 @@ api.GoogleChromeManagementV1StorageStatusReport final o = api.GoogleChromeManagementV1StorageStatusReport(); buildCounterGoogleChromeManagementV1StorageStatusReport++; if (buildCounterGoogleChromeManagementV1StorageStatusReport < 3) { - o.disk = buildUnnamed31(); + o.disk = buildUnnamed32(); o.reportTime = 'foo'; } buildCounterGoogleChromeManagementV1StorageStatusReport--; @@ -2917,7 +2992,7 @@ void checkGoogleChromeManagementV1StorageStatusReport( api.GoogleChromeManagementV1StorageStatusReport o) { buildCounterGoogleChromeManagementV1StorageStatusReport++; if (buildCounterGoogleChromeManagementV1StorageStatusReport < 3) { - checkUnnamed31(o.disk!); + checkUnnamed32(o.disk!); unittest.expect( o.reportTime!, unittest.equals('foo'), @@ -3058,121 +3133,132 @@ void checkGoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent( buildCounterGoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent--; } -core.List buildUnnamed32() => [ +core.List buildUnnamed33() => [ + buildGoogleChromeManagementV1AppReport(), + buildGoogleChromeManagementV1AppReport(), + ]; + +void checkUnnamed33(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleChromeManagementV1AppReport(o[0]); + checkGoogleChromeManagementV1AppReport(o[1]); +} + +core.List buildUnnamed34() => [ buildGoogleChromeManagementV1AudioStatusReport(), buildGoogleChromeManagementV1AudioStatusReport(), ]; -void checkUnnamed32( +void checkUnnamed34( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1AudioStatusReport(o[0]); checkGoogleChromeManagementV1AudioStatusReport(o[1]); } -core.List buildUnnamed33() => [ +core.List buildUnnamed35() => [ buildGoogleChromeManagementV1BatteryInfo(), buildGoogleChromeManagementV1BatteryInfo(), ]; -void checkUnnamed33(core.List o) { +void checkUnnamed35(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1BatteryInfo(o[0]); checkGoogleChromeManagementV1BatteryInfo(o[1]); } -core.List buildUnnamed34() => [ +core.List buildUnnamed36() => [ buildGoogleChromeManagementV1BatteryStatusReport(), buildGoogleChromeManagementV1BatteryStatusReport(), ]; -void checkUnnamed34( +void checkUnnamed36( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1BatteryStatusReport(o[0]); checkGoogleChromeManagementV1BatteryStatusReport(o[1]); } -core.List buildUnnamed35() => +core.List buildUnnamed37() => [ buildGoogleChromeManagementV1BootPerformanceReport(), buildGoogleChromeManagementV1BootPerformanceReport(), ]; -void checkUnnamed35( +void checkUnnamed37( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1BootPerformanceReport(o[0]); checkGoogleChromeManagementV1BootPerformanceReport(o[1]); } -core.List buildUnnamed36() => [ +core.List buildUnnamed38() => [ buildGoogleChromeManagementV1CpuInfo(), buildGoogleChromeManagementV1CpuInfo(), ]; -void checkUnnamed36(core.List o) { +void checkUnnamed38(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1CpuInfo(o[0]); checkGoogleChromeManagementV1CpuInfo(o[1]); } -core.List buildUnnamed37() => [ +core.List buildUnnamed39() => [ buildGoogleChromeManagementV1CpuStatusReport(), buildGoogleChromeManagementV1CpuStatusReport(), ]; -void checkUnnamed37(core.List o) { +void checkUnnamed39(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1CpuStatusReport(o[0]); checkGoogleChromeManagementV1CpuStatusReport(o[1]); } -core.List buildUnnamed38() => +core.List buildUnnamed40() => [ buildGoogleChromeManagementV1GraphicsStatusReport(), buildGoogleChromeManagementV1GraphicsStatusReport(), ]; -void checkUnnamed38( +void checkUnnamed40( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1GraphicsStatusReport(o[0]); checkGoogleChromeManagementV1GraphicsStatusReport(o[1]); } -core.List buildUnnamed39() => +core.List buildUnnamed41() => [ buildGoogleChromeManagementV1HeartbeatStatusReport(), buildGoogleChromeManagementV1HeartbeatStatusReport(), ]; -void checkUnnamed39( +void checkUnnamed41( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1HeartbeatStatusReport(o[0]); checkGoogleChromeManagementV1HeartbeatStatusReport(o[1]); } -core.List buildUnnamed40() => +core.List buildUnnamed42() => [ buildGoogleChromeManagementV1KioskAppStatusReport(), buildGoogleChromeManagementV1KioskAppStatusReport(), ]; -void checkUnnamed40( +void checkUnnamed42( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1KioskAppStatusReport(o[0]); checkGoogleChromeManagementV1KioskAppStatusReport(o[1]); } -core.List buildUnnamed41() => [ +core.List buildUnnamed43() => [ buildGoogleChromeManagementV1MemoryStatusReport(), buildGoogleChromeManagementV1MemoryStatusReport(), ]; -void checkUnnamed41( +void checkUnnamed43( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1MemoryStatusReport(o[0]); @@ -3180,12 +3266,12 @@ void checkUnnamed41( } core.List - buildUnnamed42() => [ + buildUnnamed44() => [ buildGoogleChromeManagementV1NetworkBandwidthReport(), buildGoogleChromeManagementV1NetworkBandwidthReport(), ]; -void checkUnnamed42( +void checkUnnamed44( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1NetworkBandwidthReport(o[0]); @@ -3193,84 +3279,84 @@ void checkUnnamed42( } core.List - buildUnnamed43() => [ + buildUnnamed45() => [ buildGoogleChromeManagementV1NetworkDiagnosticsReport(), buildGoogleChromeManagementV1NetworkDiagnosticsReport(), ]; -void checkUnnamed43( +void checkUnnamed45( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1NetworkDiagnosticsReport(o[0]); checkGoogleChromeManagementV1NetworkDiagnosticsReport(o[1]); } -core.List buildUnnamed44() => [ +core.List buildUnnamed46() => [ buildGoogleChromeManagementV1NetworkStatusReport(), buildGoogleChromeManagementV1NetworkStatusReport(), ]; -void checkUnnamed44( +void checkUnnamed46( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1NetworkStatusReport(o[0]); checkGoogleChromeManagementV1NetworkStatusReport(o[1]); } -core.List buildUnnamed45() => [ +core.List buildUnnamed47() => [ buildGoogleChromeManagementV1OsUpdateStatus(), buildGoogleChromeManagementV1OsUpdateStatus(), ]; -void checkUnnamed45(core.List o) { +void checkUnnamed47(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1OsUpdateStatus(o[0]); checkGoogleChromeManagementV1OsUpdateStatus(o[1]); } -core.List buildUnnamed46() => [ +core.List buildUnnamed48() => [ buildGoogleChromeManagementV1PeripheralsReport(), buildGoogleChromeManagementV1PeripheralsReport(), ]; -void checkUnnamed46( +void checkUnnamed48( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1PeripheralsReport(o[0]); checkGoogleChromeManagementV1PeripheralsReport(o[1]); } -core.List buildUnnamed47() => +core.List buildUnnamed49() => [ buildGoogleChromeManagementV1RuntimeCountersReport(), buildGoogleChromeManagementV1RuntimeCountersReport(), ]; -void checkUnnamed47( +void checkUnnamed49( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1RuntimeCountersReport(o[0]); checkGoogleChromeManagementV1RuntimeCountersReport(o[1]); } -core.List buildUnnamed48() => [ +core.List buildUnnamed50() => [ buildGoogleChromeManagementV1StorageStatusReport(), buildGoogleChromeManagementV1StorageStatusReport(), ]; -void checkUnnamed48( +void checkUnnamed50( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1StorageStatusReport(o[0]); checkGoogleChromeManagementV1StorageStatusReport(o[1]); } -core.List buildUnnamed49() => [ +core.List buildUnnamed51() => [ buildGoogleChromeManagementV1ThunderboltInfo(), buildGoogleChromeManagementV1ThunderboltInfo(), ]; -void checkUnnamed49(core.List o) { +void checkUnnamed51(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1ThunderboltInfo(o[0]); checkGoogleChromeManagementV1ThunderboltInfo(o[1]); @@ -3282,33 +3368,34 @@ api.GoogleChromeManagementV1TelemetryDevice final o = api.GoogleChromeManagementV1TelemetryDevice(); buildCounterGoogleChromeManagementV1TelemetryDevice++; if (buildCounterGoogleChromeManagementV1TelemetryDevice < 3) { - o.audioStatusReport = buildUnnamed32(); - o.batteryInfo = buildUnnamed33(); - o.batteryStatusReport = buildUnnamed34(); - o.bootPerformanceReport = buildUnnamed35(); - o.cpuInfo = buildUnnamed36(); - o.cpuStatusReport = buildUnnamed37(); + o.appReport = buildUnnamed33(); + o.audioStatusReport = buildUnnamed34(); + o.batteryInfo = buildUnnamed35(); + o.batteryStatusReport = buildUnnamed36(); + o.bootPerformanceReport = buildUnnamed37(); + o.cpuInfo = buildUnnamed38(); + o.cpuStatusReport = buildUnnamed39(); o.customer = 'foo'; o.deviceId = 'foo'; o.graphicsInfo = buildGoogleChromeManagementV1GraphicsInfo(); - o.graphicsStatusReport = buildUnnamed38(); - o.heartbeatStatusReport = buildUnnamed39(); - o.kioskAppStatusReport = buildUnnamed40(); + o.graphicsStatusReport = buildUnnamed40(); + o.heartbeatStatusReport = buildUnnamed41(); + o.kioskAppStatusReport = buildUnnamed42(); o.memoryInfo = buildGoogleChromeManagementV1MemoryInfo(); - o.memoryStatusReport = buildUnnamed41(); + o.memoryStatusReport = buildUnnamed43(); o.name = 'foo'; - o.networkBandwidthReport = buildUnnamed42(); - o.networkDiagnosticsReport = buildUnnamed43(); + o.networkBandwidthReport = buildUnnamed44(); + o.networkDiagnosticsReport = buildUnnamed45(); o.networkInfo = buildGoogleChromeManagementV1NetworkInfo(); - o.networkStatusReport = buildUnnamed44(); + o.networkStatusReport = buildUnnamed46(); o.orgUnitId = 'foo'; - o.osUpdateStatus = buildUnnamed45(); - o.peripheralsReport = buildUnnamed46(); - o.runtimeCountersReport = buildUnnamed47(); + o.osUpdateStatus = buildUnnamed47(); + o.peripheralsReport = buildUnnamed48(); + o.runtimeCountersReport = buildUnnamed49(); o.serialNumber = 'foo'; o.storageInfo = buildGoogleChromeManagementV1StorageInfo(); - o.storageStatusReport = buildUnnamed48(); - o.thunderboltInfo = buildUnnamed49(); + o.storageStatusReport = buildUnnamed50(); + o.thunderboltInfo = buildUnnamed51(); } buildCounterGoogleChromeManagementV1TelemetryDevice--; return o; @@ -3318,12 +3405,13 @@ void checkGoogleChromeManagementV1TelemetryDevice( api.GoogleChromeManagementV1TelemetryDevice o) { buildCounterGoogleChromeManagementV1TelemetryDevice++; if (buildCounterGoogleChromeManagementV1TelemetryDevice < 3) { - checkUnnamed32(o.audioStatusReport!); - checkUnnamed33(o.batteryInfo!); - checkUnnamed34(o.batteryStatusReport!); - checkUnnamed35(o.bootPerformanceReport!); - checkUnnamed36(o.cpuInfo!); - checkUnnamed37(o.cpuStatusReport!); + checkUnnamed33(o.appReport!); + checkUnnamed34(o.audioStatusReport!); + checkUnnamed35(o.batteryInfo!); + checkUnnamed36(o.batteryStatusReport!); + checkUnnamed37(o.bootPerformanceReport!); + checkUnnamed38(o.cpuInfo!); + checkUnnamed39(o.cpuStatusReport!); unittest.expect( o.customer!, unittest.equals('foo'), @@ -3333,33 +3421,33 @@ void checkGoogleChromeManagementV1TelemetryDevice( unittest.equals('foo'), ); checkGoogleChromeManagementV1GraphicsInfo(o.graphicsInfo!); - checkUnnamed38(o.graphicsStatusReport!); - checkUnnamed39(o.heartbeatStatusReport!); - checkUnnamed40(o.kioskAppStatusReport!); + checkUnnamed40(o.graphicsStatusReport!); + checkUnnamed41(o.heartbeatStatusReport!); + checkUnnamed42(o.kioskAppStatusReport!); checkGoogleChromeManagementV1MemoryInfo(o.memoryInfo!); - checkUnnamed41(o.memoryStatusReport!); + checkUnnamed43(o.memoryStatusReport!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed42(o.networkBandwidthReport!); - checkUnnamed43(o.networkDiagnosticsReport!); + checkUnnamed44(o.networkBandwidthReport!); + checkUnnamed45(o.networkDiagnosticsReport!); checkGoogleChromeManagementV1NetworkInfo(o.networkInfo!); - checkUnnamed44(o.networkStatusReport!); + checkUnnamed46(o.networkStatusReport!); unittest.expect( o.orgUnitId!, unittest.equals('foo'), ); - checkUnnamed45(o.osUpdateStatus!); - checkUnnamed46(o.peripheralsReport!); - checkUnnamed47(o.runtimeCountersReport!); + checkUnnamed47(o.osUpdateStatus!); + checkUnnamed48(o.peripheralsReport!); + checkUnnamed49(o.runtimeCountersReport!); unittest.expect( o.serialNumber!, unittest.equals('foo'), ); checkGoogleChromeManagementV1StorageInfo(o.storageInfo!); - checkUnnamed48(o.storageStatusReport!); - checkUnnamed49(o.thunderboltInfo!); + checkUnnamed50(o.storageStatusReport!); + checkUnnamed51(o.thunderboltInfo!); } buildCounterGoogleChromeManagementV1TelemetryDevice--; } @@ -3463,12 +3551,12 @@ void checkGoogleChromeManagementV1TelemetryEvent( buildCounterGoogleChromeManagementV1TelemetryEvent--; } -core.List buildUnnamed50() => [ +core.List buildUnnamed52() => [ 'foo', 'foo', ]; -void checkUnnamed50(core.List o) { +void checkUnnamed52(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3488,7 +3576,7 @@ api.GoogleChromeManagementV1TelemetryEventNotificationFilter buildCounterGoogleChromeManagementV1TelemetryEventNotificationFilter++; if (buildCounterGoogleChromeManagementV1TelemetryEventNotificationFilter < 3) { - o.eventTypes = buildUnnamed50(); + o.eventTypes = buildUnnamed52(); } buildCounterGoogleChromeManagementV1TelemetryEventNotificationFilter--; return o; @@ -3499,7 +3587,7 @@ void checkGoogleChromeManagementV1TelemetryEventNotificationFilter( buildCounterGoogleChromeManagementV1TelemetryEventNotificationFilter++; if (buildCounterGoogleChromeManagementV1TelemetryEventNotificationFilter < 3) { - checkUnnamed50(o.eventTypes!); + checkUnnamed52(o.eventTypes!); } buildCounterGoogleChromeManagementV1TelemetryEventNotificationFilter--; } @@ -3680,12 +3768,12 @@ void checkGoogleChromeManagementV1TelemetryNotificationFilter( buildCounterGoogleChromeManagementV1TelemetryNotificationFilter--; } -core.List buildUnnamed51() => [ +core.List buildUnnamed53() => [ buildGoogleChromeManagementV1UsbPeripheralReport(), buildGoogleChromeManagementV1UsbPeripheralReport(), ]; -void checkUnnamed51( +void checkUnnamed53( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1UsbPeripheralReport(o[0]); @@ -3698,7 +3786,7 @@ api.GoogleChromeManagementV1TelemetryUsbPeripheralsEvent final o = api.GoogleChromeManagementV1TelemetryUsbPeripheralsEvent(); buildCounterGoogleChromeManagementV1TelemetryUsbPeripheralsEvent++; if (buildCounterGoogleChromeManagementV1TelemetryUsbPeripheralsEvent < 3) { - o.usbPeripheralReport = buildUnnamed51(); + o.usbPeripheralReport = buildUnnamed53(); } buildCounterGoogleChromeManagementV1TelemetryUsbPeripheralsEvent--; return o; @@ -3708,17 +3796,17 @@ void checkGoogleChromeManagementV1TelemetryUsbPeripheralsEvent( api.GoogleChromeManagementV1TelemetryUsbPeripheralsEvent o) { buildCounterGoogleChromeManagementV1TelemetryUsbPeripheralsEvent++; if (buildCounterGoogleChromeManagementV1TelemetryUsbPeripheralsEvent < 3) { - checkUnnamed51(o.usbPeripheralReport!); + checkUnnamed53(o.usbPeripheralReport!); } buildCounterGoogleChromeManagementV1TelemetryUsbPeripheralsEvent--; } -core.List buildUnnamed52() => [ +core.List buildUnnamed54() => [ buildGoogleChromeManagementV1TelemetryUserDevice(), buildGoogleChromeManagementV1TelemetryUserDevice(), ]; -void checkUnnamed52( +void checkUnnamed54( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1TelemetryUserDevice(o[0]); @@ -3734,7 +3822,7 @@ api.GoogleChromeManagementV1TelemetryUser o.customer = 'foo'; o.name = 'foo'; o.orgUnitId = 'foo'; - o.userDevice = buildUnnamed52(); + o.userDevice = buildUnnamed54(); o.userEmail = 'foo'; o.userId = 'foo'; } @@ -3758,7 +3846,7 @@ void checkGoogleChromeManagementV1TelemetryUser( o.orgUnitId!, unittest.equals('foo'), ); - checkUnnamed52(o.userDevice!); + checkUnnamed54(o.userDevice!); unittest.expect( o.userEmail!, unittest.equals('foo'), @@ -3771,25 +3859,36 @@ void checkGoogleChromeManagementV1TelemetryUser( buildCounterGoogleChromeManagementV1TelemetryUser--; } -core.List buildUnnamed53() => [ +core.List buildUnnamed55() => [ + buildGoogleChromeManagementV1AppReport(), + buildGoogleChromeManagementV1AppReport(), + ]; + +void checkUnnamed55(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleChromeManagementV1AppReport(o[0]); + checkGoogleChromeManagementV1AppReport(o[1]); +} + +core.List buildUnnamed56() => [ buildGoogleChromeManagementV1AudioStatusReport(), buildGoogleChromeManagementV1AudioStatusReport(), ]; -void checkUnnamed53( +void checkUnnamed56( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1AudioStatusReport(o[0]); checkGoogleChromeManagementV1AudioStatusReport(o[1]); } -core.List buildUnnamed54() => +core.List buildUnnamed57() => [ buildGoogleChromeManagementV1DeviceActivityReport(), buildGoogleChromeManagementV1DeviceActivityReport(), ]; -void checkUnnamed54( +void checkUnnamed57( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1DeviceActivityReport(o[0]); @@ -3797,24 +3896,24 @@ void checkUnnamed54( } core.List - buildUnnamed55() => [ + buildUnnamed58() => [ buildGoogleChromeManagementV1NetworkBandwidthReport(), buildGoogleChromeManagementV1NetworkBandwidthReport(), ]; -void checkUnnamed55( +void checkUnnamed58( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1NetworkBandwidthReport(o[0]); checkGoogleChromeManagementV1NetworkBandwidthReport(o[1]); } -core.List buildUnnamed56() => [ +core.List buildUnnamed59() => [ buildGoogleChromeManagementV1PeripheralsReport(), buildGoogleChromeManagementV1PeripheralsReport(), ]; -void checkUnnamed56( +void checkUnnamed59( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1PeripheralsReport(o[0]); @@ -3827,11 +3926,12 @@ api.GoogleChromeManagementV1TelemetryUserDevice final o = api.GoogleChromeManagementV1TelemetryUserDevice(); buildCounterGoogleChromeManagementV1TelemetryUserDevice++; if (buildCounterGoogleChromeManagementV1TelemetryUserDevice < 3) { - o.audioStatusReport = buildUnnamed53(); - o.deviceActivityReport = buildUnnamed54(); + o.appReport = buildUnnamed55(); + o.audioStatusReport = buildUnnamed56(); + o.deviceActivityReport = buildUnnamed57(); o.deviceId = 'foo'; - o.networkBandwidthReport = buildUnnamed55(); - o.peripheralsReport = buildUnnamed56(); + o.networkBandwidthReport = buildUnnamed58(); + o.peripheralsReport = buildUnnamed59(); } buildCounterGoogleChromeManagementV1TelemetryUserDevice--; return o; @@ -3841,14 +3941,15 @@ void checkGoogleChromeManagementV1TelemetryUserDevice( api.GoogleChromeManagementV1TelemetryUserDevice o) { buildCounterGoogleChromeManagementV1TelemetryUserDevice++; if (buildCounterGoogleChromeManagementV1TelemetryUserDevice < 3) { - checkUnnamed53(o.audioStatusReport!); - checkUnnamed54(o.deviceActivityReport!); + checkUnnamed55(o.appReport!); + checkUnnamed56(o.audioStatusReport!); + checkUnnamed57(o.deviceActivityReport!); unittest.expect( o.deviceId!, unittest.equals('foo'), ); - checkUnnamed55(o.networkBandwidthReport!); - checkUnnamed56(o.peripheralsReport!); + checkUnnamed58(o.networkBandwidthReport!); + checkUnnamed59(o.peripheralsReport!); } buildCounterGoogleChromeManagementV1TelemetryUserDevice--; } @@ -3976,12 +4077,12 @@ void checkGoogleChromeManagementV1TouchScreenDevice( buildCounterGoogleChromeManagementV1TouchScreenDevice--; } -core.List buildUnnamed57() => [ +core.List buildUnnamed60() => [ buildGoogleChromeManagementV1TouchScreenDevice(), buildGoogleChromeManagementV1TouchScreenDevice(), ]; -void checkUnnamed57( +void checkUnnamed60( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleChromeManagementV1TouchScreenDevice(o[0]); @@ -3994,7 +4095,7 @@ api.GoogleChromeManagementV1TouchScreenInfo final o = api.GoogleChromeManagementV1TouchScreenInfo(); buildCounterGoogleChromeManagementV1TouchScreenInfo++; if (buildCounterGoogleChromeManagementV1TouchScreenInfo < 3) { - o.devices = buildUnnamed57(); + o.devices = buildUnnamed60(); o.touchpadLibrary = 'foo'; } buildCounterGoogleChromeManagementV1TouchScreenInfo--; @@ -4005,7 +4106,7 @@ void checkGoogleChromeManagementV1TouchScreenInfo( api.GoogleChromeManagementV1TouchScreenInfo o) { buildCounterGoogleChromeManagementV1TouchScreenInfo++; if (buildCounterGoogleChromeManagementV1TouchScreenInfo < 3) { - checkUnnamed57(o.devices!); + checkUnnamed60(o.devices!); unittest.expect( o.touchpadLibrary!, unittest.equals('foo'), @@ -4014,12 +4115,12 @@ void checkGoogleChromeManagementV1TouchScreenInfo( buildCounterGoogleChromeManagementV1TouchScreenInfo--; } -core.List buildUnnamed58() => [ +core.List buildUnnamed61() => [ 'foo', 'foo', ]; -void checkUnnamed58(core.List o) { +void checkUnnamed61(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4037,7 +4138,7 @@ api.GoogleChromeManagementV1UsbPeripheralReport final o = api.GoogleChromeManagementV1UsbPeripheralReport(); buildCounterGoogleChromeManagementV1UsbPeripheralReport++; if (buildCounterGoogleChromeManagementV1UsbPeripheralReport < 3) { - o.categories = buildUnnamed58(); + o.categories = buildUnnamed61(); o.classId = 42; o.firmwareVersion = 'foo'; o.name = 'foo'; @@ -4054,7 +4155,7 @@ void checkGoogleChromeManagementV1UsbPeripheralReport( api.GoogleChromeManagementV1UsbPeripheralReport o) { buildCounterGoogleChromeManagementV1UsbPeripheralReport++; if (buildCounterGoogleChromeManagementV1UsbPeripheralReport < 3) { - checkUnnamed58(o.categories!); + checkUnnamed61(o.categories!); unittest.expect( o.classId!, unittest.equals(42), @@ -4175,7 +4276,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed59() => { +core.Map buildUnnamed62() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4188,7 +4289,7 @@ core.Map buildUnnamed59() => { }, }; -void checkUnnamed59(core.Map o) { +void checkUnnamed62(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -4220,15 +4321,15 @@ void checkUnnamed59(core.Map o) { ); } -core.List> buildUnnamed60() => [ - buildUnnamed59(), - buildUnnamed59(), +core.List> buildUnnamed63() => [ + buildUnnamed62(), + buildUnnamed62(), ]; -void checkUnnamed60(core.List> o) { +void checkUnnamed63(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed59(o[0]); - checkUnnamed59(o[1]); + checkUnnamed62(o[0]); + checkUnnamed62(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -4237,7 +4338,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed60(); + o.details = buildUnnamed63(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -4251,7 +4352,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed60(o.details!); + checkUnnamed63(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -4323,6 +4424,26 @@ void main() { }); }); + unittest.group('obj-schema-GoogleChromeManagementV1AppReport', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleChromeManagementV1AppReport(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleChromeManagementV1AppReport.fromJson( + oJson as core.Map); + checkGoogleChromeManagementV1AppReport(od); + }); + }); + + unittest.group('obj-schema-GoogleChromeManagementV1AppUsageData', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleChromeManagementV1AppUsageData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleChromeManagementV1AppUsageData.fromJson( + oJson as core.Map); + checkGoogleChromeManagementV1AppUsageData(od); + }); + }); + unittest.group('obj-schema-GoogleChromeManagementV1AudioStatusReport', () { unittest.test('to-json--from-json', () async { final o = buildGoogleChromeManagementV1AudioStatusReport(); diff --git a/generated/googleapis/test/civicinfo/v2_test.dart b/generated/googleapis/test/civicinfo/v2_test.dart index 73ac5b764..01f773398 100644 --- a/generated/googleapis/test/civicinfo/v2_test.dart +++ b/generated/googleapis/test/civicinfo/v2_test.dart @@ -1997,7 +1997,8 @@ void main() { final resp = convert.json.encode(buildVoterInfoResponse()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.voterInfoQuery(arg_address, + final response = await res.voterInfoQuery( + address: arg_address, electionId: arg_electionId, officialOnly: arg_officialOnly, productionDataOnly: arg_productionDataOnly, diff --git a/generated/googleapis/test/cloudcommerceprocurement/v1_test.dart b/generated/googleapis/test/cloudcommerceprocurement/v1_test.dart new file mode 100644 index 000000000..e3c9c6a04 --- /dev/null +++ b/generated/googleapis/test/cloudcommerceprocurement/v1_test.dart @@ -0,0 +1,1658 @@ +// ignore_for_file: camel_case_types +// ignore_for_file: comment_references +// ignore_for_file: deprecated_member_use_from_same_package +// ignore_for_file: doc_directive_unknown +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_const_declarations +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_final_locals +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_cast +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_string_interpolations +// ignore_for_file: unreachable_from_main +// ignore_for_file: unused_local_variable + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:googleapis/cloudcommerceprocurement/v1.dart' as api; +import 'package:http/http.dart' as http; +import 'package:test/test.dart' as unittest; + +import '../test_shared.dart'; + +core.List buildUnnamed0() => [ + buildApproval(), + buildApproval(), + ]; + +void checkUnnamed0(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkApproval(o[0]); + checkApproval(o[1]); +} + +core.Map buildUnnamed1() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed1(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted1 = (o['x']!) as core.Map; + unittest.expect(casted1, unittest.hasLength(3)); + unittest.expect( + casted1['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted1['bool'], + unittest.equals(true), + ); + unittest.expect( + casted1['string'], + unittest.equals('foo'), + ); + var casted2 = (o['y']!) as core.Map; + unittest.expect(casted2, unittest.hasLength(3)); + unittest.expect( + casted2['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted2['bool'], + unittest.equals(true), + ); + unittest.expect( + casted2['string'], + unittest.equals('foo'), + ); +} + +core.int buildCounterAccount = 0; +api.Account buildAccount() { + final o = api.Account(); + buildCounterAccount++; + if (buildCounterAccount < 3) { + o.approvals = buildUnnamed0(); + o.createTime = 'foo'; + o.inputProperties = buildUnnamed1(); + o.name = 'foo'; + o.provider = 'foo'; + o.state = 'foo'; + o.updateTime = 'foo'; + } + buildCounterAccount--; + return o; +} + +void checkAccount(api.Account o) { + buildCounterAccount++; + if (buildCounterAccount < 3) { + checkUnnamed0(o.approvals!); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + checkUnnamed1(o.inputProperties!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.provider!, + unittest.equals('foo'), + ); + unittest.expect( + o.state!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterAccount--; +} + +core.int buildCounterApproval = 0; +api.Approval buildApproval() { + final o = api.Approval(); + buildCounterApproval++; + if (buildCounterApproval < 3) { + o.name = 'foo'; + o.reason = 'foo'; + o.state = 'foo'; + o.updateTime = 'foo'; + } + buildCounterApproval--; + return o; +} + +void checkApproval(api.Approval o) { + buildCounterApproval++; + if (buildCounterApproval < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.reason!, + unittest.equals('foo'), + ); + unittest.expect( + o.state!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterApproval--; +} + +core.Map buildUnnamed2() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed2(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.int buildCounterApproveAccountRequest = 0; +api.ApproveAccountRequest buildApproveAccountRequest() { + final o = api.ApproveAccountRequest(); + buildCounterApproveAccountRequest++; + if (buildCounterApproveAccountRequest < 3) { + o.approvalName = 'foo'; + o.properties = buildUnnamed2(); + o.reason = 'foo'; + } + buildCounterApproveAccountRequest--; + return o; +} + +void checkApproveAccountRequest(api.ApproveAccountRequest o) { + buildCounterApproveAccountRequest++; + if (buildCounterApproveAccountRequest < 3) { + unittest.expect( + o.approvalName!, + unittest.equals('foo'), + ); + checkUnnamed2(o.properties!); + unittest.expect( + o.reason!, + unittest.equals('foo'), + ); + } + buildCounterApproveAccountRequest--; +} + +core.int buildCounterApproveEntitlementPlanChangeRequest = 0; +api.ApproveEntitlementPlanChangeRequest + buildApproveEntitlementPlanChangeRequest() { + final o = api.ApproveEntitlementPlanChangeRequest(); + buildCounterApproveEntitlementPlanChangeRequest++; + if (buildCounterApproveEntitlementPlanChangeRequest < 3) { + o.pendingPlanName = 'foo'; + } + buildCounterApproveEntitlementPlanChangeRequest--; + return o; +} + +void checkApproveEntitlementPlanChangeRequest( + api.ApproveEntitlementPlanChangeRequest o) { + buildCounterApproveEntitlementPlanChangeRequest++; + if (buildCounterApproveEntitlementPlanChangeRequest < 3) { + unittest.expect( + o.pendingPlanName!, + unittest.equals('foo'), + ); + } + buildCounterApproveEntitlementPlanChangeRequest--; +} + +core.Map buildUnnamed3() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed3(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.int buildCounterApproveEntitlementRequest = 0; +api.ApproveEntitlementRequest buildApproveEntitlementRequest() { + final o = api.ApproveEntitlementRequest(); + buildCounterApproveEntitlementRequest++; + if (buildCounterApproveEntitlementRequest < 3) { + o.entitlementMigrated = 'foo'; + o.properties = buildUnnamed3(); + } + buildCounterApproveEntitlementRequest--; + return o; +} + +void checkApproveEntitlementRequest(api.ApproveEntitlementRequest o) { + buildCounterApproveEntitlementRequest++; + if (buildCounterApproveEntitlementRequest < 3) { + unittest.expect( + o.entitlementMigrated!, + unittest.equals('foo'), + ); + checkUnnamed3(o.properties!); + } + buildCounterApproveEntitlementRequest--; +} + +core.int buildCounterConsumer = 0; +api.Consumer buildConsumer() { + final o = api.Consumer(); + buildCounterConsumer++; + if (buildCounterConsumer < 3) { + o.project = 'foo'; + } + buildCounterConsumer--; + return o; +} + +void checkConsumer(api.Consumer o) { + buildCounterConsumer++; + if (buildCounterConsumer < 3) { + unittest.expect( + o.project!, + unittest.equals('foo'), + ); + } + buildCounterConsumer--; +} + +core.int buildCounterEmpty = 0; +api.Empty buildEmpty() { + final o = api.Empty(); + buildCounterEmpty++; + if (buildCounterEmpty < 3) {} + buildCounterEmpty--; + return o; +} + +void checkEmpty(api.Empty o) { + buildCounterEmpty++; + if (buildCounterEmpty < 3) {} + buildCounterEmpty--; +} + +core.List buildUnnamed4() => [ + buildConsumer(), + buildConsumer(), + ]; + +void checkUnnamed4(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkConsumer(o[0]); + checkConsumer(o[1]); +} + +core.List buildUnnamed5() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed5(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +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 casted3 = (o['x']!) as core.Map; + unittest.expect(casted3, unittest.hasLength(3)); + unittest.expect( + casted3['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted3['bool'], + unittest.equals(true), + ); + unittest.expect( + casted3['string'], + unittest.equals('foo'), + ); + var casted4 = (o['y']!) as core.Map; + unittest.expect(casted4, unittest.hasLength(3)); + unittest.expect( + casted4['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted4['bool'], + unittest.equals(true), + ); + unittest.expect( + casted4['string'], + unittest.equals('foo'), + ); +} + +core.int buildCounterEntitlement = 0; +api.Entitlement buildEntitlement() { + final o = api.Entitlement(); + buildCounterEntitlement++; + if (buildCounterEntitlement < 3) { + o.account = 'foo'; + o.cancellationReason = 'foo'; + o.consumers = buildUnnamed4(); + o.createTime = 'foo'; + o.entitlementBenefitIds = buildUnnamed5(); + o.inputProperties = buildUnnamed6(); + o.messageToUser = 'foo'; + o.name = 'foo'; + o.newOfferEndTime = 'foo'; + o.newOfferStartTime = 'foo'; + o.newPendingOffer = 'foo'; + o.newPendingOfferDuration = 'foo'; + o.newPendingPlan = 'foo'; + o.offer = 'foo'; + o.offerDuration = 'foo'; + o.offerEndTime = 'foo'; + o.orderId = 'foo'; + o.plan = 'foo'; + o.product = 'foo'; + o.productExternalName = 'foo'; + o.provider = 'foo'; + o.quoteExternalName = 'foo'; + o.state = 'foo'; + o.subscriptionEndTime = 'foo'; + o.updateTime = 'foo'; + o.usageReportingId = 'foo'; + } + buildCounterEntitlement--; + return o; +} + +void checkEntitlement(api.Entitlement o) { + buildCounterEntitlement++; + if (buildCounterEntitlement < 3) { + unittest.expect( + o.account!, + unittest.equals('foo'), + ); + unittest.expect( + o.cancellationReason!, + unittest.equals('foo'), + ); + checkUnnamed4(o.consumers!); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + checkUnnamed5(o.entitlementBenefitIds!); + checkUnnamed6(o.inputProperties!); + unittest.expect( + o.messageToUser!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.newOfferEndTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.newOfferStartTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.newPendingOffer!, + unittest.equals('foo'), + ); + unittest.expect( + o.newPendingOfferDuration!, + unittest.equals('foo'), + ); + unittest.expect( + o.newPendingPlan!, + unittest.equals('foo'), + ); + unittest.expect( + o.offer!, + unittest.equals('foo'), + ); + unittest.expect( + o.offerDuration!, + unittest.equals('foo'), + ); + unittest.expect( + o.offerEndTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.orderId!, + unittest.equals('foo'), + ); + unittest.expect( + o.plan!, + unittest.equals('foo'), + ); + unittest.expect( + o.product!, + unittest.equals('foo'), + ); + unittest.expect( + o.productExternalName!, + unittest.equals('foo'), + ); + unittest.expect( + o.provider!, + unittest.equals('foo'), + ); + unittest.expect( + o.quoteExternalName!, + unittest.equals('foo'), + ); + unittest.expect( + o.state!, + unittest.equals('foo'), + ); + unittest.expect( + o.subscriptionEndTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.usageReportingId!, + unittest.equals('foo'), + ); + } + buildCounterEntitlement--; +} + +core.List buildUnnamed7() => [ + buildAccount(), + buildAccount(), + ]; + +void checkUnnamed7(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkAccount(o[0]); + checkAccount(o[1]); +} + +core.int buildCounterListAccountsResponse = 0; +api.ListAccountsResponse buildListAccountsResponse() { + final o = api.ListAccountsResponse(); + buildCounterListAccountsResponse++; + if (buildCounterListAccountsResponse < 3) { + o.accounts = buildUnnamed7(); + o.nextPageToken = 'foo'; + } + buildCounterListAccountsResponse--; + return o; +} + +void checkListAccountsResponse(api.ListAccountsResponse o) { + buildCounterListAccountsResponse++; + if (buildCounterListAccountsResponse < 3) { + checkUnnamed7(o.accounts!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterListAccountsResponse--; +} + +core.List buildUnnamed8() => [ + buildEntitlement(), + buildEntitlement(), + ]; + +void checkUnnamed8(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkEntitlement(o[0]); + checkEntitlement(o[1]); +} + +core.int buildCounterListEntitlementsResponse = 0; +api.ListEntitlementsResponse buildListEntitlementsResponse() { + final o = api.ListEntitlementsResponse(); + buildCounterListEntitlementsResponse++; + if (buildCounterListEntitlementsResponse < 3) { + o.entitlements = buildUnnamed8(); + o.nextPageToken = 'foo'; + } + buildCounterListEntitlementsResponse--; + return o; +} + +void checkListEntitlementsResponse(api.ListEntitlementsResponse o) { + buildCounterListEntitlementsResponse++; + if (buildCounterListEntitlementsResponse < 3) { + checkUnnamed8(o.entitlements!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterListEntitlementsResponse--; +} + +core.int buildCounterRejectAccountRequest = 0; +api.RejectAccountRequest buildRejectAccountRequest() { + final o = api.RejectAccountRequest(); + buildCounterRejectAccountRequest++; + if (buildCounterRejectAccountRequest < 3) { + o.approvalName = 'foo'; + o.reason = 'foo'; + } + buildCounterRejectAccountRequest--; + return o; +} + +void checkRejectAccountRequest(api.RejectAccountRequest o) { + buildCounterRejectAccountRequest++; + if (buildCounterRejectAccountRequest < 3) { + unittest.expect( + o.approvalName!, + unittest.equals('foo'), + ); + unittest.expect( + o.reason!, + unittest.equals('foo'), + ); + } + buildCounterRejectAccountRequest--; +} + +core.int buildCounterRejectEntitlementPlanChangeRequest = 0; +api.RejectEntitlementPlanChangeRequest + buildRejectEntitlementPlanChangeRequest() { + final o = api.RejectEntitlementPlanChangeRequest(); + buildCounterRejectEntitlementPlanChangeRequest++; + if (buildCounterRejectEntitlementPlanChangeRequest < 3) { + o.pendingPlanName = 'foo'; + o.reason = 'foo'; + } + buildCounterRejectEntitlementPlanChangeRequest--; + return o; +} + +void checkRejectEntitlementPlanChangeRequest( + api.RejectEntitlementPlanChangeRequest o) { + buildCounterRejectEntitlementPlanChangeRequest++; + if (buildCounterRejectEntitlementPlanChangeRequest < 3) { + unittest.expect( + o.pendingPlanName!, + unittest.equals('foo'), + ); + unittest.expect( + o.reason!, + unittest.equals('foo'), + ); + } + buildCounterRejectEntitlementPlanChangeRequest--; +} + +core.int buildCounterRejectEntitlementRequest = 0; +api.RejectEntitlementRequest buildRejectEntitlementRequest() { + final o = api.RejectEntitlementRequest(); + buildCounterRejectEntitlementRequest++; + if (buildCounterRejectEntitlementRequest < 3) { + o.reason = 'foo'; + } + buildCounterRejectEntitlementRequest--; + return o; +} + +void checkRejectEntitlementRequest(api.RejectEntitlementRequest o) { + buildCounterRejectEntitlementRequest++; + if (buildCounterRejectEntitlementRequest < 3) { + unittest.expect( + o.reason!, + unittest.equals('foo'), + ); + } + buildCounterRejectEntitlementRequest--; +} + +core.int buildCounterResetAccountRequest = 0; +api.ResetAccountRequest buildResetAccountRequest() { + final o = api.ResetAccountRequest(); + buildCounterResetAccountRequest++; + if (buildCounterResetAccountRequest < 3) {} + buildCounterResetAccountRequest--; + return o; +} + +void checkResetAccountRequest(api.ResetAccountRequest o) { + buildCounterResetAccountRequest++; + if (buildCounterResetAccountRequest < 3) {} + buildCounterResetAccountRequest--; +} + +core.int buildCounterSuspendEntitlementRequest = 0; +api.SuspendEntitlementRequest buildSuspendEntitlementRequest() { + final o = api.SuspendEntitlementRequest(); + buildCounterSuspendEntitlementRequest++; + if (buildCounterSuspendEntitlementRequest < 3) { + o.reason = 'foo'; + } + buildCounterSuspendEntitlementRequest--; + return o; +} + +void checkSuspendEntitlementRequest(api.SuspendEntitlementRequest o) { + buildCounterSuspendEntitlementRequest++; + if (buildCounterSuspendEntitlementRequest < 3) { + unittest.expect( + o.reason!, + unittest.equals('foo'), + ); + } + buildCounterSuspendEntitlementRequest--; +} + +void main() { + unittest.group('obj-schema-Account', () { + unittest.test('to-json--from-json', () async { + final o = buildAccount(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Account.fromJson(oJson as core.Map); + checkAccount(od); + }); + }); + + unittest.group('obj-schema-Approval', () { + unittest.test('to-json--from-json', () async { + final o = buildApproval(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Approval.fromJson(oJson as core.Map); + checkApproval(od); + }); + }); + + unittest.group('obj-schema-ApproveAccountRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildApproveAccountRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ApproveAccountRequest.fromJson( + oJson as core.Map); + checkApproveAccountRequest(od); + }); + }); + + unittest.group('obj-schema-ApproveEntitlementPlanChangeRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildApproveEntitlementPlanChangeRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ApproveEntitlementPlanChangeRequest.fromJson( + oJson as core.Map); + checkApproveEntitlementPlanChangeRequest(od); + }); + }); + + unittest.group('obj-schema-ApproveEntitlementRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildApproveEntitlementRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ApproveEntitlementRequest.fromJson( + oJson as core.Map); + checkApproveEntitlementRequest(od); + }); + }); + + unittest.group('obj-schema-Consumer', () { + unittest.test('to-json--from-json', () async { + final o = buildConsumer(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Consumer.fromJson(oJson as core.Map); + checkConsumer(od); + }); + }); + + unittest.group('obj-schema-Empty', () { + unittest.test('to-json--from-json', () async { + final o = buildEmpty(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Empty.fromJson(oJson as core.Map); + checkEmpty(od); + }); + }); + + unittest.group('obj-schema-Entitlement', () { + unittest.test('to-json--from-json', () async { + final o = buildEntitlement(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.Entitlement.fromJson( + oJson as core.Map); + checkEntitlement(od); + }); + }); + + unittest.group('obj-schema-ListAccountsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListAccountsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListAccountsResponse.fromJson( + oJson as core.Map); + checkListAccountsResponse(od); + }); + }); + + unittest.group('obj-schema-ListEntitlementsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListEntitlementsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListEntitlementsResponse.fromJson( + oJson as core.Map); + checkListEntitlementsResponse(od); + }); + }); + + unittest.group('obj-schema-RejectAccountRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildRejectAccountRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RejectAccountRequest.fromJson( + oJson as core.Map); + checkRejectAccountRequest(od); + }); + }); + + unittest.group('obj-schema-RejectEntitlementPlanChangeRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildRejectEntitlementPlanChangeRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RejectEntitlementPlanChangeRequest.fromJson( + oJson as core.Map); + checkRejectEntitlementPlanChangeRequest(od); + }); + }); + + unittest.group('obj-schema-RejectEntitlementRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildRejectEntitlementRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RejectEntitlementRequest.fromJson( + oJson as core.Map); + checkRejectEntitlementRequest(od); + }); + }); + + unittest.group('obj-schema-ResetAccountRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildResetAccountRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ResetAccountRequest.fromJson( + oJson as core.Map); + checkResetAccountRequest(od); + }); + }); + + unittest.group('obj-schema-SuspendEntitlementRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildSuspendEntitlementRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.SuspendEntitlementRequest.fromJson( + oJson as core.Map); + checkSuspendEntitlementRequest(od); + }); + }); + + unittest.group('resource-ProvidersAccountsResource', () { + unittest.test('method--approve', () async { + final mock = HttpServerMock(); + final res = api.CloudCommercePartnerProcurementServiceApi(mock) + .providers + .accounts; + final arg_request = buildApproveAccountRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.ApproveAccountRequest.fromJson( + json as core.Map); + checkApproveAccountRequest(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(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.approve(arg_request, arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.CloudCommercePartnerProcurementServiceApi(mock) + .providers + .accounts; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + 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(buildAccount()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkAccount(response as api.Account); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.CloudCommercePartnerProcurementServiceApi(mock) + .providers + .accounts; + final arg_parent = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + 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( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildListAccountsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkListAccountsResponse(response as api.ListAccountsResponse); + }); + + unittest.test('method--reject', () async { + final mock = HttpServerMock(); + final res = api.CloudCommercePartnerProcurementServiceApi(mock) + .providers + .accounts; + final arg_request = buildRejectAccountRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.RejectAccountRequest.fromJson( + json as core.Map); + checkRejectAccountRequest(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(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.reject(arg_request, arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--reset', () async { + final mock = HttpServerMock(); + final res = api.CloudCommercePartnerProcurementServiceApi(mock) + .providers + .accounts; + final arg_request = buildResetAccountRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.ResetAccountRequest.fromJson( + json as core.Map); + checkResetAccountRequest(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(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.reset(arg_request, arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + }); + + unittest.group('resource-ProvidersEntitlementsResource', () { + unittest.test('method--approve', () async { + final mock = HttpServerMock(); + final res = api.CloudCommercePartnerProcurementServiceApi(mock) + .providers + .entitlements; + final arg_request = buildApproveEntitlementRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.ApproveEntitlementRequest.fromJson( + json as core.Map); + checkApproveEntitlementRequest(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(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.approve(arg_request, arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--approvePlanChange', () async { + final mock = HttpServerMock(); + final res = api.CloudCommercePartnerProcurementServiceApi(mock) + .providers + .entitlements; + final arg_request = buildApproveEntitlementPlanChangeRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.ApproveEntitlementPlanChangeRequest.fromJson( + json as core.Map); + checkApproveEntitlementPlanChangeRequest(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(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.approvePlanChange(arg_request, arg_name, + $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.CloudCommercePartnerProcurementServiceApi(mock) + .providers + .entitlements; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + 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(buildEntitlement()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkEntitlement(response as api.Entitlement); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.CloudCommercePartnerProcurementServiceApi(mock) + .providers + .entitlements; + final arg_parent = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + 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['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildListEntitlementsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkListEntitlementsResponse(response as api.ListEntitlementsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.CloudCommercePartnerProcurementServiceApi(mock) + .providers + .entitlements; + final arg_request = buildEntitlement(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.Entitlement.fromJson( + json as core.Map); + checkEntitlement(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['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildEntitlement()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkEntitlement(response as api.Entitlement); + }); + + unittest.test('method--reject', () async { + final mock = HttpServerMock(); + final res = api.CloudCommercePartnerProcurementServiceApi(mock) + .providers + .entitlements; + final arg_request = buildRejectEntitlementRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.RejectEntitlementRequest.fromJson( + json as core.Map); + checkRejectEntitlementRequest(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(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.reject(arg_request, arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--rejectPlanChange', () async { + final mock = HttpServerMock(); + final res = api.CloudCommercePartnerProcurementServiceApi(mock) + .providers + .entitlements; + final arg_request = buildRejectEntitlementPlanChangeRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.RejectEntitlementPlanChangeRequest.fromJson( + json as core.Map); + checkRejectEntitlementPlanChangeRequest(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(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.rejectPlanChange(arg_request, arg_name, + $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--suspend', () async { + final mock = HttpServerMock(); + final res = api.CloudCommercePartnerProcurementServiceApi(mock) + .providers + .entitlements; + final arg_request = buildSuspendEntitlementRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.SuspendEntitlementRequest.fromJson( + json as core.Map); + checkSuspendEntitlementRequest(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(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.suspend(arg_request, arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + }); +} diff --git a/generated/googleapis/test/clouddeploy/v1_test.dart b/generated/googleapis/test/clouddeploy/v1_test.dart index 8fb861f4f..5110af5fb 100644 --- a/generated/googleapis/test/clouddeploy/v1_test.dart +++ b/generated/googleapis/test/clouddeploy/v1_test.dart @@ -528,7 +528,6 @@ api.AutomationRolloutMetadata buildAutomationRolloutMetadata() { buildCounterAutomationRolloutMetadata++; if (buildCounterAutomationRolloutMetadata < 3) { o.advanceAutomationRuns = buildUnnamed7(); - o.currentRepairAutomationRun = 'foo'; o.promoteAutomationRun = 'foo'; o.repairAutomationRuns = buildUnnamed8(); } @@ -540,10 +539,6 @@ void checkAutomationRolloutMetadata(api.AutomationRolloutMetadata o) { buildCounterAutomationRolloutMetadata++; if (buildCounterAutomationRolloutMetadata < 3) { checkUnnamed7(o.advanceAutomationRuns!); - unittest.expect( - o.currentRepairAutomationRun!, - unittest.equals('foo'), - ); unittest.expect( o.promoteAutomationRun!, unittest.equals('foo'), @@ -1936,6 +1931,7 @@ api.GkeCluster buildGkeCluster() { if (buildCounterGkeCluster < 3) { o.cluster = 'foo'; o.internalIp = true; + o.proxyUrl = 'foo'; } buildCounterGkeCluster--; return o; @@ -1949,6 +1945,10 @@ void checkGkeCluster(api.GkeCluster o) { unittest.equals('foo'), ); unittest.expect(o.internalIp!, unittest.isTrue); + unittest.expect( + o.proxyUrl!, + unittest.equals('foo'), + ); } buildCounterGkeCluster--; } @@ -3715,27 +3715,6 @@ void checkRenderMetadata(api.RenderMetadata o) { buildCounterRenderMetadata--; } -core.int buildCounterRepairMode = 0; -api.RepairMode buildRepairMode() { - final o = api.RepairMode(); - buildCounterRepairMode++; - if (buildCounterRepairMode < 3) { - o.retry = buildRetry(); - o.rollback = buildRollback(); - } - buildCounterRepairMode--; - return o; -} - -void checkRepairMode(api.RepairMode o) { - buildCounterRepairMode++; - if (buildCounterRepairMode < 3) { - checkRetry(o.retry!); - checkRollback(o.rollback!); - } - buildCounterRepairMode--; -} - core.int buildCounterRepairPhase = 0; api.RepairPhase buildRepairPhase() { final o = api.RepairPhase(); @@ -3773,7 +3752,6 @@ api.RepairRolloutOperation buildRepairRolloutOperation() { final o = api.RepairRolloutOperation(); buildCounterRepairRolloutOperation++; if (buildCounterRepairRolloutOperation < 3) { - o.currentRepairModeIndex = 'foo'; o.jobId = 'foo'; o.phaseId = 'foo'; o.repairPhases = buildUnnamed67(); @@ -3786,10 +3764,6 @@ api.RepairRolloutOperation buildRepairRolloutOperation() { void checkRepairRolloutOperation(api.RepairRolloutOperation o) { buildCounterRepairRolloutOperation++; if (buildCounterRepairRolloutOperation < 3) { - unittest.expect( - o.currentRepairModeIndex!, - unittest.equals('foo'), - ); unittest.expect( o.jobId!, unittest.equals('foo'), @@ -3824,34 +3798,6 @@ void checkUnnamed68(core.List o) { ); } -core.List buildUnnamed69() => [ - buildRepairMode(), - buildRepairMode(), - ]; - -void checkUnnamed69(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - checkRepairMode(o[0]); - checkRepairMode(o[1]); -} - -core.List buildUnnamed70() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed70(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - core.int buildCounterRepairRolloutRule = 0; api.RepairRolloutRule buildRepairRolloutRule() { final o = api.RepairRolloutRule(); @@ -3860,8 +3806,6 @@ api.RepairRolloutRule buildRepairRolloutRule() { o.condition = buildAutomationRuleCondition(); o.id = 'foo'; o.jobs = buildUnnamed68(); - o.repairModes = buildUnnamed69(); - o.sourcePhases = buildUnnamed70(); } buildCounterRepairRolloutRule--; return o; @@ -3876,44 +3820,10 @@ void checkRepairRolloutRule(api.RepairRolloutRule o) { unittest.equals('foo'), ); checkUnnamed68(o.jobs!); - checkUnnamed69(o.repairModes!); - checkUnnamed70(o.sourcePhases!); } buildCounterRepairRolloutRule--; } -core.int buildCounterRetry = 0; -api.Retry buildRetry() { - final o = api.Retry(); - buildCounterRetry++; - if (buildCounterRetry < 3) { - o.attempts = 'foo'; - o.backoffMode = 'foo'; - o.wait = 'foo'; - } - buildCounterRetry--; - return o; -} - -void checkRetry(api.Retry o) { - buildCounterRetry++; - if (buildCounterRetry < 3) { - unittest.expect( - o.attempts!, - unittest.equals('foo'), - ); - unittest.expect( - o.backoffMode!, - unittest.equals('foo'), - ); - unittest.expect( - o.wait!, - unittest.equals('foo'), - ); - } - buildCounterRetry--; -} - core.int buildCounterRetryAttempt = 0; api.RetryAttempt buildRetryAttempt() { final o = api.RetryAttempt(); @@ -3993,12 +3903,12 @@ void checkRetryJobResponse(api.RetryJobResponse o) { buildCounterRetryJobResponse--; } -core.List buildUnnamed71() => [ +core.List buildUnnamed69() => [ buildRetryAttempt(), buildRetryAttempt(), ]; -void checkUnnamed71(core.List o) { +void checkUnnamed69(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRetryAttempt(o[0]); checkRetryAttempt(o[1]); @@ -4009,10 +3919,8 @@ api.RetryPhase buildRetryPhase() { final o = api.RetryPhase(); buildCounterRetryPhase++; if (buildCounterRetryPhase < 3) { - o.attempts = buildUnnamed71(); + o.attempts = buildUnnamed69(); o.backoffMode = 'foo'; - o.jobId = 'foo'; - o.phaseId = 'foo'; o.totalAttempts = 'foo'; } buildCounterRetryPhase--; @@ -4022,19 +3930,11 @@ api.RetryPhase buildRetryPhase() { void checkRetryPhase(api.RetryPhase o) { buildCounterRetryPhase++; if (buildCounterRetryPhase < 3) { - checkUnnamed71(o.attempts!); + checkUnnamed69(o.attempts!); unittest.expect( o.backoffMode!, unittest.equals('foo'), ); - unittest.expect( - o.jobId!, - unittest.equals('foo'), - ); - unittest.expect( - o.phaseId!, - unittest.equals('foo'), - ); unittest.expect( o.totalAttempts!, unittest.equals('foo'), @@ -4043,28 +3943,6 @@ void checkRetryPhase(api.RetryPhase o) { buildCounterRetryPhase--; } -core.int buildCounterRollback = 0; -api.Rollback buildRollback() { - final o = api.Rollback(); - buildCounterRollback++; - if (buildCounterRollback < 3) { - o.destinationPhase = 'foo'; - } - buildCounterRollback--; - return o; -} - -void checkRollback(api.Rollback o) { - buildCounterRollback++; - if (buildCounterRollback < 3) { - unittest.expect( - o.destinationPhase!, - unittest.equals('foo'), - ); - } - buildCounterRollback--; -} - core.int buildCounterRollbackAttempt = 0; api.RollbackAttempt buildRollbackAttempt() { final o = api.RollbackAttempt(); @@ -4186,12 +4064,12 @@ void checkRollbackTargetResponse(api.RollbackTargetResponse o) { buildCounterRollbackTargetResponse--; } -core.Map buildUnnamed72() => { +core.Map buildUnnamed70() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed72(core.Map o) { +void checkUnnamed70(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4203,12 +4081,12 @@ void checkUnnamed72(core.Map o) { ); } -core.Map buildUnnamed73() => { +core.Map buildUnnamed71() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed73(core.Map o) { +void checkUnnamed71(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4220,23 +4098,23 @@ void checkUnnamed73(core.Map o) { ); } -core.List buildUnnamed74() => [ +core.List buildUnnamed72() => [ buildPhase(), buildPhase(), ]; -void checkUnnamed74(core.List o) { +void checkUnnamed72(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPhase(o[0]); checkPhase(o[1]); } -core.List buildUnnamed75() => [ +core.List buildUnnamed73() => [ 'foo', 'foo', ]; -void checkUnnamed75(core.List o) { +void checkUnnamed73(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4253,7 +4131,7 @@ api.Rollout buildRollout() { final o = api.Rollout(); buildCounterRollout++; if (buildCounterRollout < 3) { - o.annotations = buildUnnamed72(); + o.annotations = buildUnnamed70(); o.approvalState = 'foo'; o.approveTime = 'foo'; o.controllerRollout = 'foo'; @@ -4266,12 +4144,12 @@ api.Rollout buildRollout() { o.enqueueTime = 'foo'; o.etag = 'foo'; o.failureReason = 'foo'; - o.labels = buildUnnamed73(); + o.labels = buildUnnamed71(); o.metadata = buildMetadata(); o.name = 'foo'; - o.phases = buildUnnamed74(); + o.phases = buildUnnamed72(); o.rollbackOfRollout = 'foo'; - o.rolledBackByRollouts = buildUnnamed75(); + o.rolledBackByRollouts = buildUnnamed73(); o.state = 'foo'; o.targetId = 'foo'; o.uid = 'foo'; @@ -4283,7 +4161,7 @@ api.Rollout buildRollout() { void checkRollout(api.Rollout o) { buildCounterRollout++; if (buildCounterRollout < 3) { - checkUnnamed72(o.annotations!); + checkUnnamed70(o.annotations!); unittest.expect( o.approvalState!, unittest.equals('foo'), @@ -4332,18 +4210,18 @@ void checkRollout(api.Rollout o) { o.failureReason!, unittest.equals('foo'), ); - checkUnnamed73(o.labels!); + checkUnnamed71(o.labels!); checkMetadata(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed74(o.phases!); + checkUnnamed72(o.phases!); unittest.expect( o.rollbackOfRollout!, unittest.equals('foo'), ); - checkUnnamed75(o.rolledBackByRollouts!); + checkUnnamed73(o.rolledBackByRollouts!); unittest.expect( o.state!, unittest.equals('foo'), @@ -4381,12 +4259,12 @@ void checkRuntimeConfig(api.RuntimeConfig o) { buildCounterRuntimeConfig--; } -core.List buildUnnamed76() => [ +core.List buildUnnamed74() => [ buildStage(), buildStage(), ]; -void checkUnnamed76(core.List o) { +void checkUnnamed74(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStage(o[0]); checkStage(o[1]); @@ -4397,7 +4275,7 @@ api.SerialPipeline buildSerialPipeline() { final o = api.SerialPipeline(); buildCounterSerialPipeline++; if (buildCounterSerialPipeline < 3) { - o.stages = buildUnnamed76(); + o.stages = buildUnnamed74(); } buildCounterSerialPipeline--; return o; @@ -4406,7 +4284,7 @@ api.SerialPipeline buildSerialPipeline() { void checkSerialPipeline(api.SerialPipeline o) { buildCounterSerialPipeline++; if (buildCounterSerialPipeline < 3) { - checkUnnamed76(o.stages!); + checkUnnamed74(o.stages!); } buildCounterSerialPipeline--; } @@ -4555,12 +4433,12 @@ void checkSkaffoldGitSource(api.SkaffoldGitSource o) { buildCounterSkaffoldGitSource--; } -core.List buildUnnamed77() => [ +core.List buildUnnamed75() => [ 'foo', 'foo', ]; -void checkUnnamed77(core.List o) { +void checkUnnamed75(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4577,7 +4455,7 @@ api.SkaffoldModules buildSkaffoldModules() { final o = api.SkaffoldModules(); buildCounterSkaffoldModules++; if (buildCounterSkaffoldModules < 3) { - o.configs = buildUnnamed77(); + o.configs = buildUnnamed75(); o.git = buildSkaffoldGitSource(); o.googleCloudBuildRepo = buildSkaffoldGCBRepoSource(); o.googleCloudStorage = buildSkaffoldGCSSource(); @@ -4589,7 +4467,7 @@ api.SkaffoldModules buildSkaffoldModules() { void checkSkaffoldModules(api.SkaffoldModules o) { buildCounterSkaffoldModules++; if (buildCounterSkaffoldModules < 3) { - checkUnnamed77(o.configs!); + checkUnnamed75(o.configs!); checkSkaffoldGitSource(o.git!); checkSkaffoldGCBRepoSource(o.googleCloudBuildRepo!); checkSkaffoldGCSSource(o.googleCloudStorage!); @@ -4665,23 +4543,23 @@ void checkSkaffoldVersion(api.SkaffoldVersion o) { buildCounterSkaffoldVersion--; } -core.List buildUnnamed78() => [ +core.List buildUnnamed76() => [ buildDeployParameters(), buildDeployParameters(), ]; -void checkUnnamed78(core.List o) { +void checkUnnamed76(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDeployParameters(o[0]); checkDeployParameters(o[1]); } -core.List buildUnnamed79() => [ +core.List buildUnnamed77() => [ 'foo', 'foo', ]; -void checkUnnamed79(core.List o) { +void checkUnnamed77(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4698,8 +4576,8 @@ api.Stage buildStage() { final o = api.Stage(); buildCounterStage++; if (buildCounterStage < 3) { - o.deployParameters = buildUnnamed78(); - o.profiles = buildUnnamed79(); + o.deployParameters = buildUnnamed76(); + o.profiles = buildUnnamed77(); o.strategy = buildStrategy(); o.targetId = 'foo'; } @@ -4710,8 +4588,8 @@ api.Stage buildStage() { void checkStage(api.Stage o) { buildCounterStage++; if (buildCounterStage < 3) { - checkUnnamed78(o.deployParameters!); - checkUnnamed79(o.profiles!); + checkUnnamed76(o.deployParameters!); + checkUnnamed77(o.profiles!); checkStrategy(o.strategy!); unittest.expect( o.targetId!, @@ -4744,7 +4622,7 @@ void checkStandard(api.Standard o) { buildCounterStandard--; } -core.Map buildUnnamed80() => { +core.Map buildUnnamed78() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4757,7 +4635,7 @@ core.Map buildUnnamed80() => { }, }; -void checkUnnamed80(core.Map o) { +void checkUnnamed78(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -4789,15 +4667,15 @@ void checkUnnamed80(core.Map o) { ); } -core.List> buildUnnamed81() => [ - buildUnnamed80(), - buildUnnamed80(), +core.List> buildUnnamed79() => [ + buildUnnamed78(), + buildUnnamed78(), ]; -void checkUnnamed81(core.List> o) { +void checkUnnamed79(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed80(o[0]); - checkUnnamed80(o[1]); + checkUnnamed78(o[0]); + checkUnnamed78(o[1]); } core.int buildCounterStatus = 0; @@ -4806,7 +4684,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed81(); + o.details = buildUnnamed79(); o.message = 'foo'; } buildCounterStatus--; @@ -4820,7 +4698,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed81(o.details!); + checkUnnamed79(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -4850,12 +4728,12 @@ void checkStrategy(api.Strategy o) { buildCounterStrategy--; } -core.Map buildUnnamed82() => { +core.Map buildUnnamed80() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed82(core.Map o) { +void checkUnnamed80(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4867,12 +4745,12 @@ void checkUnnamed82(core.Map o) { ); } -core.Map buildUnnamed83() => { +core.Map buildUnnamed81() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed83(core.Map o) { +void checkUnnamed81(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4884,23 +4762,23 @@ void checkUnnamed83(core.Map o) { ); } -core.List buildUnnamed84() => [ +core.List buildUnnamed82() => [ buildExecutionConfig(), buildExecutionConfig(), ]; -void checkUnnamed84(core.List o) { +void checkUnnamed82(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExecutionConfig(o[0]); checkExecutionConfig(o[1]); } -core.Map buildUnnamed85() => { +core.Map buildUnnamed83() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed85(core.Map o) { +void checkUnnamed83(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4917,16 +4795,16 @@ api.Target buildTarget() { final o = api.Target(); buildCounterTarget++; if (buildCounterTarget < 3) { - o.annotations = buildUnnamed82(); + o.annotations = buildUnnamed80(); o.anthosCluster = buildAnthosCluster(); o.createTime = 'foo'; o.customTarget = buildCustomTarget(); - o.deployParameters = buildUnnamed83(); + o.deployParameters = buildUnnamed81(); o.description = 'foo'; o.etag = 'foo'; - o.executionConfigs = buildUnnamed84(); + o.executionConfigs = buildUnnamed82(); o.gke = buildGkeCluster(); - o.labels = buildUnnamed85(); + o.labels = buildUnnamed83(); o.multiTarget = buildMultiTarget(); o.name = 'foo'; o.requireApproval = true; @@ -4942,14 +4820,14 @@ api.Target buildTarget() { void checkTarget(api.Target o) { buildCounterTarget++; if (buildCounterTarget < 3) { - checkUnnamed82(o.annotations!); + checkUnnamed80(o.annotations!); checkAnthosCluster(o.anthosCluster!); unittest.expect( o.createTime!, unittest.equals('foo'), ); checkCustomTarget(o.customTarget!); - checkUnnamed83(o.deployParameters!); + checkUnnamed81(o.deployParameters!); unittest.expect( o.description!, unittest.equals('foo'), @@ -4958,9 +4836,9 @@ void checkTarget(api.Target o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed84(o.executionConfigs!); + checkUnnamed82(o.executionConfigs!); checkGkeCluster(o.gke!); - checkUnnamed85(o.labels!); + checkUnnamed83(o.labels!); checkMultiTarget(o.multiTarget!); unittest.expect( o.name!, @@ -4984,12 +4862,12 @@ void checkTarget(api.Target o) { buildCounterTarget--; } -core.Map buildUnnamed86() => { +core.Map buildUnnamed84() => { 'x': buildPhaseArtifact(), 'y': buildPhaseArtifact(), }; -void checkUnnamed86(core.Map o) { +void checkUnnamed84(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkPhaseArtifact(o['x']!); checkPhaseArtifact(o['y']!); @@ -5002,7 +4880,7 @@ api.TargetArtifact buildTargetArtifact() { if (buildCounterTargetArtifact < 3) { o.artifactUri = 'foo'; o.manifestPath = 'foo'; - o.phaseArtifacts = buildUnnamed86(); + o.phaseArtifacts = buildUnnamed84(); o.skaffoldConfigPath = 'foo'; } buildCounterTargetArtifact--; @@ -5020,7 +4898,7 @@ void checkTargetArtifact(api.TargetArtifact o) { o.manifestPath!, unittest.equals('foo'), ); - checkUnnamed86(o.phaseArtifacts!); + checkUnnamed84(o.phaseArtifacts!); unittest.expect( o.skaffoldConfigPath!, unittest.equals('foo'), @@ -5029,12 +4907,12 @@ void checkTargetArtifact(api.TargetArtifact o) { buildCounterTargetArtifact--; } -core.Map buildUnnamed87() => { +core.Map buildUnnamed85() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed87(core.Map o) { +void checkUnnamed85(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -5052,7 +4930,7 @@ api.TargetAttribute buildTargetAttribute() { buildCounterTargetAttribute++; if (buildCounterTargetAttribute < 3) { o.id = 'foo'; - o.labels = buildUnnamed87(); + o.labels = buildUnnamed85(); } buildCounterTargetAttribute--; return o; @@ -5065,7 +4943,7 @@ void checkTargetAttribute(api.TargetAttribute o) { o.id!, unittest.equals('foo'), ); - checkUnnamed87(o.labels!); + checkUnnamed85(o.labels!); } buildCounterTargetAttribute--; } @@ -5109,12 +4987,12 @@ void checkTargetRender(api.TargetRender o) { buildCounterTargetRender--; } -core.List buildUnnamed88() => [ +core.List buildUnnamed86() => [ 'foo', 'foo', ]; -void checkUnnamed88(core.List o) { +void checkUnnamed86(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5131,7 +5009,7 @@ api.TargetsPresentCondition buildTargetsPresentCondition() { final o = api.TargetsPresentCondition(); buildCounterTargetsPresentCondition++; if (buildCounterTargetsPresentCondition < 3) { - o.missingTargets = buildUnnamed88(); + o.missingTargets = buildUnnamed86(); o.status = true; o.updateTime = 'foo'; } @@ -5142,7 +5020,7 @@ api.TargetsPresentCondition buildTargetsPresentCondition() { void checkTargetsPresentCondition(api.TargetsPresentCondition o) { buildCounterTargetsPresentCondition++; if (buildCounterTargetsPresentCondition < 3) { - checkUnnamed88(o.missingTargets!); + checkUnnamed86(o.missingTargets!); unittest.expect(o.status!, unittest.isTrue); unittest.expect( o.updateTime!, @@ -5206,12 +5084,12 @@ void checkTerminateJobRunResponse(api.TerminateJobRunResponse o) { buildCounterTerminateJobRunResponse--; } -core.List buildUnnamed89() => [ +core.List buildUnnamed87() => [ 'foo', 'foo', ]; -void checkUnnamed89(core.List o) { +void checkUnnamed87(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5228,7 +5106,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed89(); + o.permissions = buildUnnamed87(); } buildCounterTestIamPermissionsRequest--; return o; @@ -5237,17 +5115,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed89(o.permissions!); + checkUnnamed87(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed90() => [ +core.List buildUnnamed88() => [ 'foo', 'foo', ]; -void checkUnnamed90(core.List o) { +void checkUnnamed88(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5264,7 +5142,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed90(); + o.permissions = buildUnnamed88(); } buildCounterTestIamPermissionsResponse--; return o; @@ -5273,7 +5151,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed90(o.permissions!); + checkUnnamed88(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -6275,16 +6153,6 @@ void main() { }); }); - unittest.group('obj-schema-RepairMode', () { - unittest.test('to-json--from-json', () async { - final o = buildRepairMode(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.RepairMode.fromJson(oJson as core.Map); - checkRepairMode(od); - }); - }); - unittest.group('obj-schema-RepairPhase', () { unittest.test('to-json--from-json', () async { final o = buildRepairPhase(); @@ -6315,16 +6183,6 @@ void main() { }); }); - unittest.group('obj-schema-Retry', () { - unittest.test('to-json--from-json', () async { - final o = buildRetry(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.Retry.fromJson(oJson as core.Map); - checkRetry(od); - }); - }); - unittest.group('obj-schema-RetryAttempt', () { unittest.test('to-json--from-json', () async { final o = buildRetryAttempt(); @@ -6365,16 +6223,6 @@ void main() { }); }); - unittest.group('obj-schema-Rollback', () { - unittest.test('to-json--from-json', () async { - final o = buildRollback(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.Rollback.fromJson(oJson as core.Map); - checkRollback(od); - }); - }); - unittest.group('obj-schema-RollbackAttempt', () { unittest.test('to-json--from-json', () async { final o = buildRollbackAttempt(); diff --git a/generated/googleapis/test/cloudsearch/v1_test.dart b/generated/googleapis/test/cloudsearch/v1_test.dart index a06b2f362..344ef55ac 100644 --- a/generated/googleapis/test/cloudsearch/v1_test.dart +++ b/generated/googleapis/test/cloudsearch/v1_test.dart @@ -641,6 +641,35 @@ void checkDebugOptions(api.DebugOptions o) { buildCounterDebugOptions--; } +core.int buildCounterDebugResponse = 0; +api.DebugResponse buildDebugResponse() { + final o = api.DebugResponse(); + buildCounterDebugResponse++; + if (buildCounterDebugResponse < 3) { + o.gsrRequest = 'foo'; + o.gsrResponse = 'foo'; + o.searchResponse = buildSearchResponse(); + } + buildCounterDebugResponse--; + return o; +} + +void checkDebugResponse(api.DebugResponse o) { + buildCounterDebugResponse++; + if (buildCounterDebugResponse < 3) { + unittest.expect( + o.gsrRequest!, + unittest.equals('foo'), + ); + unittest.expect( + o.gsrResponse!, + unittest.equals('foo'), + ); + checkSearchResponse(o.searchResponse!); + } + buildCounterDebugResponse--; +} + core.int buildCounterDeleteQueueItemsRequest = 0; api.DeleteQueueItemsRequest buildDeleteQueueItemsRequest() { final o = api.DeleteQueueItemsRequest(); @@ -5626,6 +5655,16 @@ void main() { }); }); + unittest.group('obj-schema-DebugResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildDebugResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.DebugResponse.fromJson( + oJson as core.Map); + checkDebugResponse(od); + }); + }); + unittest.group('obj-schema-DeleteQueueItemsRequest', () { unittest.test('to-json--from-json', () async { final o = buildDeleteQueueItemsRequest(); @@ -8346,6 +8385,61 @@ void main() { }); unittest.group('resource-QueryResource', () { + unittest.test('method--debugSearch', () async { + final mock = HttpServerMock(); + final res = api.CloudSearchApi(mock).query; + final arg_request = buildSearchRequest(); + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.SearchRequest.fromJson( + json as core.Map); + checkSearchRequest(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 + 20), + unittest.equals('v1/query:debugSearch'), + ); + pathOffset += 20; + + 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(buildDebugResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.debugSearch(arg_request, $fields: arg_$fields); + checkDebugResponse(response as api.DebugResponse); + }); + unittest.test('method--removeActivity', () async { final mock = HttpServerMock(); final res = api.CloudSearchApi(mock).query; diff --git a/generated/googleapis/test/compute/v1_test.dart b/generated/googleapis/test/compute/v1_test.dart index f60c81ebd..2f970844a 100644 --- a/generated/googleapis/test/compute/v1_test.dart +++ b/generated/googleapis/test/compute/v1_test.dart @@ -1084,6 +1084,7 @@ api.AdvancedMachineFeatures buildAdvancedMachineFeatures() { if (buildCounterAdvancedMachineFeatures < 3) { o.enableNestedVirtualization = true; o.enableUefiNetworking = true; + o.performanceMonitoringUnit = 'foo'; o.threadsPerCore = 42; o.visibleCoreCount = 42; } @@ -1096,6 +1097,10 @@ void checkAdvancedMachineFeatures(api.AdvancedMachineFeatures o) { if (buildCounterAdvancedMachineFeatures < 3) { unittest.expect(o.enableNestedVirtualization!, unittest.isTrue); unittest.expect(o.enableUefiNetworking!, unittest.isTrue); + unittest.expect( + o.performanceMonitoringUnit!, + unittest.equals('foo'), + ); unittest.expect( o.threadsPerCore!, unittest.equals(42), @@ -5418,6 +5423,7 @@ api.ConfidentialInstanceConfig buildConfidentialInstanceConfig() { final o = api.ConfidentialInstanceConfig(); buildCounterConfidentialInstanceConfig++; if (buildCounterConfidentialInstanceConfig < 3) { + o.confidentialInstanceType = 'foo'; o.enableConfidentialCompute = true; } buildCounterConfidentialInstanceConfig--; @@ -5427,6 +5433,10 @@ api.ConfidentialInstanceConfig buildConfidentialInstanceConfig() { void checkConfidentialInstanceConfig(api.ConfidentialInstanceConfig o) { buildCounterConfidentialInstanceConfig++; if (buildCounterConfidentialInstanceConfig < 3) { + unittest.expect( + o.confidentialInstanceType!, + unittest.equals('foo'), + ); unittest.expect(o.enableConfidentialCompute!, unittest.isTrue); } buildCounterConfidentialInstanceConfig--; @@ -35515,11 +35525,14 @@ api.Scheduling buildScheduling() { o.instanceTerminationAction = 'foo'; o.localSsdRecoveryTimeout = buildDuration(); o.locationHint = 'foo'; + o.maxRunDuration = buildDuration(); o.minNodeCpus = 42; o.nodeAffinities = buildUnnamed613(); o.onHostMaintenance = 'foo'; + o.onInstanceStopAction = buildSchedulingOnInstanceStopAction(); o.preemptible = true; o.provisioningModel = 'foo'; + o.terminationTime = 'foo'; } buildCounterScheduling--; return o; @@ -35538,6 +35551,7 @@ void checkScheduling(api.Scheduling o) { o.locationHint!, unittest.equals('foo'), ); + checkDuration(o.maxRunDuration!); unittest.expect( o.minNodeCpus!, unittest.equals(42), @@ -35547,11 +35561,16 @@ void checkScheduling(api.Scheduling o) { o.onHostMaintenance!, unittest.equals('foo'), ); + checkSchedulingOnInstanceStopAction(o.onInstanceStopAction!); unittest.expect(o.preemptible!, unittest.isTrue); unittest.expect( o.provisioningModel!, unittest.equals('foo'), ); + unittest.expect( + o.terminationTime!, + unittest.equals('foo'), + ); } buildCounterScheduling--; } @@ -35602,6 +35621,25 @@ void checkSchedulingNodeAffinity(api.SchedulingNodeAffinity o) { buildCounterSchedulingNodeAffinity--; } +core.int buildCounterSchedulingOnInstanceStopAction = 0; +api.SchedulingOnInstanceStopAction buildSchedulingOnInstanceStopAction() { + final o = api.SchedulingOnInstanceStopAction(); + buildCounterSchedulingOnInstanceStopAction++; + if (buildCounterSchedulingOnInstanceStopAction < 3) { + o.discardLocalSsd = true; + } + buildCounterSchedulingOnInstanceStopAction--; + return o; +} + +void checkSchedulingOnInstanceStopAction(api.SchedulingOnInstanceStopAction o) { + buildCounterSchedulingOnInstanceStopAction++; + if (buildCounterSchedulingOnInstanceStopAction < 3) { + unittest.expect(o.discardLocalSsd!, unittest.isTrue); + } + buildCounterSchedulingOnInstanceStopAction--; +} + core.int buildCounterScreenshot = 0; api.Screenshot buildScreenshot() { final o = api.Screenshot(); @@ -57042,6 +57080,16 @@ void main() { }); }); + unittest.group('obj-schema-SchedulingOnInstanceStopAction', () { + unittest.test('to-json--from-json', () async { + final o = buildSchedulingOnInstanceStopAction(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.SchedulingOnInstanceStopAction.fromJson( + oJson as core.Map); + checkSchedulingOnInstanceStopAction(od); + }); + }); + unittest.group('obj-schema-Screenshot', () { unittest.test('to-json--from-json', () async { final o = buildScreenshot(); diff --git a/generated/googleapis/test/connectors/v1_test.dart b/generated/googleapis/test/connectors/v1_test.dart index 3a1738239..bc6d8a4bd 100644 --- a/generated/googleapis/test/connectors/v1_test.dart +++ b/generated/googleapis/test/connectors/v1_test.dart @@ -391,6 +391,7 @@ api.ConfigVariableTemplate buildConfigVariableTemplate() { o.isAdvanced = true; o.key = 'foo'; o.locationType = 'foo'; + o.multipleSelectConfig = buildMultipleSelectConfig(); o.required = true; o.requiredCondition = buildLogicalExpression(); o.roleGrant = buildRoleGrant(); @@ -428,6 +429,7 @@ void checkConfigVariableTemplate(api.ConfigVariableTemplate o) { o.locationType!, unittest.equals('foo'), ); + checkMultipleSelectConfig(o.multipleSelectConfig!); unittest.expect(o.required!, unittest.isTrue); checkLogicalExpression(o.requiredCondition!); checkRoleGrant(o.roleGrant!); @@ -727,11 +729,29 @@ void checkUnnamed12(core.Map o) { ); } +core.List buildUnnamed13() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed13(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + core.int buildCounterConnector = 0; api.Connector buildConnector() { final o = api.Connector(); buildCounterConnector++; if (buildCounterConnector < 3) { + o.category = 'foo'; o.createTime = 'foo'; o.description = 'foo'; o.displayName = 'foo'; @@ -741,6 +761,7 @@ api.Connector buildConnector() { o.labels = buildUnnamed12(); o.launchStage = 'foo'; o.name = 'foo'; + o.tags = buildUnnamed13(); o.updateTime = 'foo'; o.webAssetsLocation = 'foo'; } @@ -751,6 +772,10 @@ api.Connector buildConnector() { void checkConnector(api.Connector o) { buildCounterConnector++; if (buildCounterConnector < 3) { + unittest.expect( + o.category!, + unittest.equals('foo'), + ); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -781,6 +806,7 @@ void checkConnector(api.Connector o) { o.name!, unittest.equals('foo'), ); + checkUnnamed13(o.tags!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -841,45 +867,45 @@ void checkConnectorInfraConfig(api.ConnectorInfraConfig o) { buildCounterConnectorInfraConfig--; } -core.List buildUnnamed13() => [ +core.List buildUnnamed14() => [ buildAuthConfigTemplate(), buildAuthConfigTemplate(), ]; -void checkUnnamed13(core.List o) { +void checkUnnamed14(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthConfigTemplate(o[0]); checkAuthConfigTemplate(o[1]); } -core.List buildUnnamed14() => [ +core.List buildUnnamed15() => [ buildConfigVariableTemplate(), buildConfigVariableTemplate(), ]; -void checkUnnamed14(core.List o) { +void checkUnnamed15(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfigVariableTemplate(o[0]); checkConfigVariableTemplate(o[1]); } -core.List buildUnnamed15() => [ +core.List buildUnnamed16() => [ buildDestinationConfigTemplate(), buildDestinationConfigTemplate(), ]; -void checkUnnamed15(core.List o) { +void checkUnnamed16(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDestinationConfigTemplate(o[0]); checkDestinationConfigTemplate(o[1]); } -core.Map buildUnnamed16() => { +core.Map buildUnnamed17() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed16(core.Map o) { +void checkUnnamed17(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -891,23 +917,23 @@ void checkUnnamed16(core.Map o) { ); } -core.List buildUnnamed17() => [ +core.List buildUnnamed18() => [ buildRoleGrant(), buildRoleGrant(), ]; -void checkUnnamed17(core.List o) { +void checkUnnamed18(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoleGrant(o[0]); checkRoleGrant(o[1]); } -core.List buildUnnamed18() => [ +core.List buildUnnamed19() => [ 'foo', 'foo', ]; -void checkUnnamed18(core.List o) { +void checkUnnamed19(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -924,25 +950,25 @@ api.ConnectorVersion buildConnectorVersion() { final o = api.ConnectorVersion(); buildCounterConnectorVersion++; if (buildCounterConnectorVersion < 3) { - o.authConfigTemplates = buildUnnamed13(); + o.authConfigTemplates = buildUnnamed14(); o.authOverrideEnabled = true; - o.configVariableTemplates = buildUnnamed14(); + o.configVariableTemplates = buildUnnamed15(); o.connectorInfraConfig = buildConnectorInfraConfig(); o.createTime = 'foo'; - o.destinationConfigTemplates = buildUnnamed15(); + o.destinationConfigTemplates = buildUnnamed16(); o.displayName = 'foo'; o.egressControlConfig = buildEgressControlConfig(); o.eventingConfigTemplate = buildEventingConfigTemplate(); - o.labels = buildUnnamed16(); + o.labels = buildUnnamed17(); o.launchStage = 'foo'; o.name = 'foo'; o.releaseVersion = 'foo'; o.roleGrant = buildRoleGrant(); - o.roleGrants = buildUnnamed17(); + o.roleGrants = buildUnnamed18(); o.schemaRefreshConfig = buildSchemaRefreshConfig(); o.sslConfigTemplate = buildSslConfigTemplate(); o.supportedRuntimeFeatures = buildSupportedRuntimeFeatures(); - o.unsupportedConnectionTypes = buildUnnamed18(); + o.unsupportedConnectionTypes = buildUnnamed19(); o.updateTime = 'foo'; } buildCounterConnectorVersion--; @@ -952,22 +978,22 @@ api.ConnectorVersion buildConnectorVersion() { void checkConnectorVersion(api.ConnectorVersion o) { buildCounterConnectorVersion++; if (buildCounterConnectorVersion < 3) { - checkUnnamed13(o.authConfigTemplates!); + checkUnnamed14(o.authConfigTemplates!); unittest.expect(o.authOverrideEnabled!, unittest.isTrue); - checkUnnamed14(o.configVariableTemplates!); + checkUnnamed15(o.configVariableTemplates!); checkConnectorInfraConfig(o.connectorInfraConfig!); unittest.expect( o.createTime!, unittest.equals('foo'), ); - checkUnnamed15(o.destinationConfigTemplates!); + checkUnnamed16(o.destinationConfigTemplates!); unittest.expect( o.displayName!, unittest.equals('foo'), ); checkEgressControlConfig(o.egressControlConfig!); checkEventingConfigTemplate(o.eventingConfigTemplate!); - checkUnnamed16(o.labels!); + checkUnnamed17(o.labels!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -981,11 +1007,11 @@ void checkConnectorVersion(api.ConnectorVersion o) { unittest.equals('foo'), ); checkRoleGrant(o.roleGrant!); - checkUnnamed17(o.roleGrants!); + checkUnnamed18(o.roleGrants!); checkSchemaRefreshConfig(o.schemaRefreshConfig!); checkSslConfigTemplate(o.sslConfigTemplate!); checkSupportedRuntimeFeatures(o.supportedRuntimeFeatures!); - checkUnnamed18(o.unsupportedConnectionTypes!); + checkUnnamed19(o.unsupportedConnectionTypes!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -1066,12 +1092,12 @@ void checkConnectorsLogConfig(api.ConnectorsLogConfig o) { buildCounterConnectorsLogConfig--; } -core.List buildUnnamed19() => [ +core.List buildUnnamed20() => [ 'foo', 'foo', ]; -void checkUnnamed19(core.List o) { +void checkUnnamed20(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1083,12 +1109,12 @@ void checkUnnamed19(core.List o) { ); } -core.List buildUnnamed20() => [ +core.List buildUnnamed21() => [ 'foo', 'foo', ]; -void checkUnnamed20(core.List o) { +void checkUnnamed21(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1100,12 +1126,12 @@ void checkUnnamed20(core.List o) { ); } -core.Map buildUnnamed21() => { +core.Map buildUnnamed22() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed21(core.Map o) { +void checkUnnamed22(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1122,13 +1148,13 @@ api.CustomConnector buildCustomConnector() { final o = api.CustomConnector(); buildCounterCustomConnector++; if (buildCounterCustomConnector < 3) { - o.activeConnectorVersions = buildUnnamed19(); - o.allConnectorVersions = buildUnnamed20(); + o.activeConnectorVersions = buildUnnamed20(); + o.allConnectorVersions = buildUnnamed21(); o.createTime = 'foo'; o.customConnectorType = 'foo'; o.description = 'foo'; o.displayName = 'foo'; - o.labels = buildUnnamed21(); + o.labels = buildUnnamed22(); o.logo = 'foo'; o.name = 'foo'; o.updateTime = 'foo'; @@ -1140,8 +1166,8 @@ api.CustomConnector buildCustomConnector() { void checkCustomConnector(api.CustomConnector o) { buildCounterCustomConnector++; if (buildCounterCustomConnector < 3) { - checkUnnamed19(o.activeConnectorVersions!); - checkUnnamed20(o.allConnectorVersions!); + checkUnnamed20(o.activeConnectorVersions!); + checkUnnamed21(o.allConnectorVersions!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -1158,7 +1184,7 @@ void checkCustomConnector(api.CustomConnector o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed21(o.labels!); + checkUnnamed22(o.labels!); unittest.expect( o.logo!, unittest.equals('foo'), @@ -1175,34 +1201,34 @@ void checkCustomConnector(api.CustomConnector o) { buildCounterCustomConnector--; } -core.List buildUnnamed22() => [ +core.List buildUnnamed23() => [ buildConfigVariableTemplate(), buildConfigVariableTemplate(), ]; -void checkUnnamed22(core.List o) { +void checkUnnamed23(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfigVariableTemplate(o[0]); checkConfigVariableTemplate(o[1]); } -core.List buildUnnamed23() => [ +core.List buildUnnamed24() => [ buildDestinationConfig(), buildDestinationConfig(), ]; -void checkUnnamed23(core.List o) { +void checkUnnamed24(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDestinationConfig(o[0]); checkDestinationConfig(o[1]); } -core.Map buildUnnamed24() => { +core.Map buildUnnamed25() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed24(core.Map o) { +void checkUnnamed25(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1214,12 +1240,12 @@ void checkUnnamed24(core.Map o) { ); } -core.List buildUnnamed25() => [ +core.List buildUnnamed26() => [ 'foo', 'foo', ]; -void checkUnnamed25(core.List o) { +void checkUnnamed26(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1237,15 +1263,15 @@ api.CustomConnectorVersion buildCustomConnectorVersion() { buildCounterCustomConnectorVersion++; if (buildCounterCustomConnectorVersion < 3) { o.authConfig = buildAuthConfig(); - o.backendVariableTemplates = buildUnnamed22(); + o.backendVariableTemplates = buildUnnamed23(); o.createTime = 'foo'; - o.destinationConfigs = buildUnnamed23(); + o.destinationConfigs = buildUnnamed24(); o.enableBackendDestinationConfig = true; - o.labels = buildUnnamed24(); + o.labels = buildUnnamed25(); o.name = 'foo'; o.serviceAccount = 'foo'; o.specLocation = 'foo'; - o.specServerUrls = buildUnnamed25(); + o.specServerUrls = buildUnnamed26(); o.state = 'foo'; o.updateTime = 'foo'; } @@ -1257,14 +1283,14 @@ void checkCustomConnectorVersion(api.CustomConnectorVersion o) { buildCounterCustomConnectorVersion++; if (buildCounterCustomConnectorVersion < 3) { checkAuthConfig(o.authConfig!); - checkUnnamed22(o.backendVariableTemplates!); + checkUnnamed23(o.backendVariableTemplates!); unittest.expect( o.createTime!, unittest.equals('foo'), ); - checkUnnamed23(o.destinationConfigs!); + checkUnnamed24(o.destinationConfigs!); unittest.expect(o.enableBackendDestinationConfig!, unittest.isTrue); - checkUnnamed24(o.labels!); + checkUnnamed25(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1277,7 +1303,7 @@ void checkCustomConnectorVersion(api.CustomConnectorVersion o) { o.specLocation!, unittest.equals('foo'), ); - checkUnnamed25(o.specServerUrls!); + checkUnnamed26(o.specServerUrls!); unittest.expect( o.state!, unittest.equals('foo'), @@ -1366,12 +1392,12 @@ void checkDestination(api.Destination o) { buildCounterDestination--; } -core.List buildUnnamed26() => [ +core.List buildUnnamed27() => [ buildDestination(), buildDestination(), ]; -void checkUnnamed26(core.List o) { +void checkUnnamed27(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDestination(o[0]); checkDestination(o[1]); @@ -1382,7 +1408,7 @@ api.DestinationConfig buildDestinationConfig() { final o = api.DestinationConfig(); buildCounterDestinationConfig++; if (buildCounterDestinationConfig < 3) { - o.destinations = buildUnnamed26(); + o.destinations = buildUnnamed27(); o.key = 'foo'; } buildCounterDestinationConfig--; @@ -1392,7 +1418,7 @@ api.DestinationConfig buildDestinationConfig() { void checkDestinationConfig(api.DestinationConfig o) { buildCounterDestinationConfig++; if (buildCounterDestinationConfig < 3) { - checkUnnamed26(o.destinations!); + checkUnnamed27(o.destinations!); unittest.expect( o.key!, unittest.equals('foo'), @@ -1401,12 +1427,12 @@ void checkDestinationConfig(api.DestinationConfig o) { buildCounterDestinationConfig--; } -core.List buildUnnamed27() => [ +core.List buildUnnamed28() => [ 'foo', 'foo', ]; -void checkUnnamed27(core.List o) { +void checkUnnamed28(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1423,7 +1449,7 @@ api.DestinationConfigTemplate buildDestinationConfigTemplate() { final o = api.DestinationConfigTemplate(); buildCounterDestinationConfigTemplate++; if (buildCounterDestinationConfigTemplate < 3) { - o.autocompleteSuggestions = buildUnnamed27(); + o.autocompleteSuggestions = buildUnnamed28(); o.defaultPort = 42; o.description = 'foo'; o.displayName = 'foo'; @@ -1441,7 +1467,7 @@ api.DestinationConfigTemplate buildDestinationConfigTemplate() { void checkDestinationConfigTemplate(api.DestinationConfigTemplate o) { buildCounterDestinationConfigTemplate++; if (buildCounterDestinationConfigTemplate < 3) { - checkUnnamed27(o.autocompleteSuggestions!); + checkUnnamed28(o.autocompleteSuggestions!); unittest.expect( o.defaultPort!, unittest.equals(42), @@ -1572,12 +1598,12 @@ void checkEncryptionKey(api.EncryptionKey o) { buildCounterEncryptionKey--; } -core.List buildUnnamed28() => [ +core.List buildUnnamed29() => [ buildHeader(), buildHeader(), ]; -void checkUnnamed28(core.List o) { +void checkUnnamed29(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHeader(o[0]); checkHeader(o[1]); @@ -1589,7 +1615,7 @@ api.EndPoint buildEndPoint() { buildCounterEndPoint++; if (buildCounterEndPoint < 3) { o.endpointUri = 'foo'; - o.headers = buildUnnamed28(); + o.headers = buildUnnamed29(); } buildCounterEndPoint--; return o; @@ -1602,17 +1628,17 @@ void checkEndPoint(api.EndPoint o) { o.endpointUri!, unittest.equals('foo'), ); - checkUnnamed28(o.headers!); + checkUnnamed29(o.headers!); } buildCounterEndPoint--; } -core.Map buildUnnamed29() => { +core.Map buildUnnamed30() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed29(core.Map o) { +void checkUnnamed30(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1633,7 +1659,7 @@ api.EndpointAttachment buildEndpointAttachment() { o.description = 'foo'; o.endpointGlobalAccess = true; o.endpointIp = 'foo'; - o.labels = buildUnnamed29(); + o.labels = buildUnnamed30(); o.name = 'foo'; o.serviceAttachment = 'foo'; o.updateTime = 'foo'; @@ -1658,7 +1684,7 @@ void checkEndpointAttachment(api.EndpointAttachment o) { o.endpointIp!, unittest.equals('foo'), ); - checkUnnamed29(o.labels!); + checkUnnamed30(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1702,12 +1728,12 @@ void checkEnumOption(api.EnumOption o) { buildCounterEnumOption--; } -core.List buildUnnamed30() => [ +core.List buildUnnamed31() => [ buildConfigVariable(), buildConfigVariable(), ]; -void checkUnnamed30(core.List o) { +void checkUnnamed31(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfigVariable(o[0]); checkConfigVariable(o[1]); @@ -1726,7 +1752,7 @@ api.EventSubscription buildEventSubscription() { o.status = buildEventSubscriptionStatus(); o.subscriber = 'foo'; o.subscriberLink = 'foo'; - o.triggerConfigVariables = buildUnnamed30(); + o.triggerConfigVariables = buildUnnamed31(); o.updateTime = 'foo'; } buildCounterEventSubscription--; @@ -1759,7 +1785,7 @@ void checkEventSubscription(api.EventSubscription o) { o.subscriberLink!, unittest.equals('foo'), ); - checkUnnamed30(o.triggerConfigVariables!); + checkUnnamed31(o.triggerConfigVariables!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -1881,12 +1907,12 @@ void checkEventType(api.EventType o) { buildCounterEventType--; } -core.List buildUnnamed31() => [ +core.List buildUnnamed32() => [ buildConfigVariable(), buildConfigVariable(), ]; -void checkUnnamed31(core.List o) { +void checkUnnamed32(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfigVariable(o[0]); checkConfigVariable(o[1]); @@ -1897,7 +1923,7 @@ api.EventingConfig buildEventingConfig() { final o = api.EventingConfig(); buildCounterEventingConfig++; if (buildCounterEventingConfig < 3) { - o.additionalVariables = buildUnnamed31(); + o.additionalVariables = buildUnnamed32(); o.authConfig = buildAuthConfig(); o.deadLetterConfig = buildDeadLetterConfig(); o.enrichmentEnabled = true; @@ -1914,7 +1940,7 @@ api.EventingConfig buildEventingConfig() { void checkEventingConfig(api.EventingConfig o) { buildCounterEventingConfig++; if (buildCounterEventingConfig < 3) { - checkUnnamed31(o.additionalVariables!); + checkUnnamed32(o.additionalVariables!); checkAuthConfig(o.authConfig!); checkDeadLetterConfig(o.deadLetterConfig!); unittest.expect(o.enrichmentEnabled!, unittest.isTrue); @@ -1930,45 +1956,45 @@ void checkEventingConfig(api.EventingConfig o) { buildCounterEventingConfig--; } -core.List buildUnnamed32() => [ +core.List buildUnnamed33() => [ buildConfigVariableTemplate(), buildConfigVariableTemplate(), ]; -void checkUnnamed32(core.List o) { +void checkUnnamed33(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfigVariableTemplate(o[0]); checkConfigVariableTemplate(o[1]); } -core.List buildUnnamed33() => [ +core.List buildUnnamed34() => [ buildAuthConfigTemplate(), buildAuthConfigTemplate(), ]; -void checkUnnamed33(core.List o) { +void checkUnnamed34(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthConfigTemplate(o[0]); checkAuthConfigTemplate(o[1]); } -core.List buildUnnamed34() => [ +core.List buildUnnamed35() => [ buildAuthConfigTemplate(), buildAuthConfigTemplate(), ]; -void checkUnnamed34(core.List o) { +void checkUnnamed35(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuthConfigTemplate(o[0]); checkAuthConfigTemplate(o[1]); } -core.List buildUnnamed35() => [ +core.List buildUnnamed36() => [ buildConfigVariableTemplate(), buildConfigVariableTemplate(), ]; -void checkUnnamed35(core.List o) { +void checkUnnamed36(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfigVariableTemplate(o[0]); checkConfigVariableTemplate(o[1]); @@ -1979,18 +2005,18 @@ api.EventingConfigTemplate buildEventingConfigTemplate() { final o = api.EventingConfigTemplate(); buildCounterEventingConfigTemplate++; if (buildCounterEventingConfigTemplate < 3) { - o.additionalVariables = buildUnnamed32(); - o.authConfigTemplates = buildUnnamed33(); + o.additionalVariables = buildUnnamed33(); + o.authConfigTemplates = buildUnnamed34(); o.autoRefresh = true; o.autoRegistrationSupported = true; o.encryptionKeyTemplate = buildConfigVariableTemplate(); o.enrichmentSupported = true; o.eventListenerType = 'foo'; o.isEventingSupported = true; - o.listenerAuthConfigTemplates = buildUnnamed34(); + o.listenerAuthConfigTemplates = buildUnnamed35(); o.proxyDestinationConfig = buildDestinationConfigTemplate(); o.registrationDestinationConfig = buildDestinationConfigTemplate(); - o.triggerConfigVariables = buildUnnamed35(); + o.triggerConfigVariables = buildUnnamed36(); } buildCounterEventingConfigTemplate--; return o; @@ -1999,8 +2025,8 @@ api.EventingConfigTemplate buildEventingConfigTemplate() { void checkEventingConfigTemplate(api.EventingConfigTemplate o) { buildCounterEventingConfigTemplate++; if (buildCounterEventingConfigTemplate < 3) { - checkUnnamed32(o.additionalVariables!); - checkUnnamed33(o.authConfigTemplates!); + checkUnnamed33(o.additionalVariables!); + checkUnnamed34(o.authConfigTemplates!); unittest.expect(o.autoRefresh!, unittest.isTrue); unittest.expect(o.autoRegistrationSupported!, unittest.isTrue); checkConfigVariableTemplate(o.encryptionKeyTemplate!); @@ -2010,20 +2036,20 @@ void checkEventingConfigTemplate(api.EventingConfigTemplate o) { unittest.equals('foo'), ); unittest.expect(o.isEventingSupported!, unittest.isTrue); - checkUnnamed34(o.listenerAuthConfigTemplates!); + checkUnnamed35(o.listenerAuthConfigTemplates!); checkDestinationConfigTemplate(o.proxyDestinationConfig!); checkDestinationConfigTemplate(o.registrationDestinationConfig!); - checkUnnamed35(o.triggerConfigVariables!); + checkUnnamed36(o.triggerConfigVariables!); } buildCounterEventingConfigTemplate--; } -core.List buildUnnamed36() => [ +core.List buildUnnamed37() => [ 'foo', 'foo', ]; -void checkUnnamed36(core.List o) { +void checkUnnamed37(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2046,7 +2072,7 @@ api.EventingDetails buildEventingDetails() { o.iconLocation = 'foo'; o.launchStage = 'foo'; o.name = 'foo'; - o.searchTags = buildUnnamed36(); + o.searchTags = buildUnnamed37(); o.type = 'foo'; } buildCounterEventingDetails--; @@ -2077,7 +2103,7 @@ void checkEventingDetails(api.EventingDetails o) { o.name!, unittest.equals('foo'), ); - checkUnnamed36(o.searchTags!); + checkUnnamed37(o.searchTags!); unittest.expect( o.type!, unittest.equals('foo'), @@ -2205,12 +2231,12 @@ void checkExtractionRule(api.ExtractionRule o) { buildCounterExtractionRule--; } -core.List buildUnnamed37() => [ +core.List buildUnnamed38() => [ buildExtractionRule(), buildExtractionRule(), ]; -void checkUnnamed37(core.List o) { +void checkUnnamed38(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExtractionRule(o[0]); checkExtractionRule(o[1]); @@ -2221,7 +2247,7 @@ api.ExtractionRules buildExtractionRules() { final o = api.ExtractionRules(); buildCounterExtractionRules++; if (buildCounterExtractionRules < 3) { - o.extractionRule = buildUnnamed37(); + o.extractionRule = buildUnnamed38(); } buildCounterExtractionRules--; return o; @@ -2230,12 +2256,12 @@ api.ExtractionRules buildExtractionRules() { void checkExtractionRules(api.ExtractionRules o) { buildCounterExtractionRules++; if (buildCounterExtractionRules < 3) { - checkUnnamed37(o.extractionRule!); + checkUnnamed38(o.extractionRule!); } buildCounterExtractionRules--; } -core.Map buildUnnamed38() => { +core.Map buildUnnamed39() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2248,7 +2274,7 @@ core.Map buildUnnamed38() => { }, }; -void checkUnnamed38(core.Map o) { +void checkUnnamed39(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -2285,7 +2311,7 @@ api.Field buildField() { final o = api.Field(); buildCounterField++; if (buildCounterField < 3) { - o.additionalDetails = buildUnnamed38(); + o.additionalDetails = buildUnnamed39(); o.dataType = 'foo'; o.defaultValue = { 'list': [1, 2, 3], @@ -2306,7 +2332,7 @@ api.Field buildField() { void checkField(api.Field o) { buildCounterField++; if (buildCounterField < 3) { - checkUnnamed38(o.additionalDetails!); + checkUnnamed39(o.additionalDetails!); unittest.expect( o.dataType!, unittest.equals('foo'), @@ -2516,7 +2542,7 @@ void checkJMS(api.JMS o) { buildCounterJMS--; } -core.List buildUnnamed39() => [ +core.List buildUnnamed40() => [ { 'list': [1, 2, 3], 'bool': true, @@ -2529,7 +2555,7 @@ core.List buildUnnamed39() => [ }, ]; -void checkUnnamed39(core.List o) { +void checkUnnamed40(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o[0]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -2561,23 +2587,23 @@ void checkUnnamed39(core.List o) { ); } -core.Map buildUnnamed40() => { +core.Map buildUnnamed41() => { 'x': buildJsonSchema(), 'y': buildJsonSchema(), }; -void checkUnnamed40(core.Map o) { +void checkUnnamed41(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkJsonSchema(o['x']!); checkJsonSchema(o['y']!); } -core.List buildUnnamed41() => [ +core.List buildUnnamed42() => [ 'foo', 'foo', ]; -void checkUnnamed41(core.List o) { +void checkUnnamed42(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2589,12 +2615,12 @@ void checkUnnamed41(core.List o) { ); } -core.List buildUnnamed42() => [ +core.List buildUnnamed43() => [ 'foo', 'foo', ]; -void checkUnnamed42(core.List o) { +void checkUnnamed43(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2617,13 +2643,13 @@ api.JsonSchema buildJsonSchema() { 'string': 'foo' }; o.description = 'foo'; - o.enum_ = buildUnnamed39(); + o.enum_ = buildUnnamed40(); o.format = 'foo'; o.items = buildJsonSchema(); o.jdbcType = 'foo'; - o.properties = buildUnnamed40(); - o.required = buildUnnamed41(); - o.type = buildUnnamed42(); + o.properties = buildUnnamed41(); + o.required = buildUnnamed42(); + o.type = buildUnnamed43(); } buildCounterJsonSchema--; return o; @@ -2650,7 +2676,7 @@ void checkJsonSchema(api.JsonSchema o) { o.description!, unittest.equals('foo'), ); - checkUnnamed39(o.enum_!); + checkUnnamed40(o.enum_!); unittest.expect( o.format!, unittest.equals('foo'), @@ -2660,9 +2686,9 @@ void checkJsonSchema(api.JsonSchema o) { o.jdbcType!, unittest.equals('foo'), ); - checkUnnamed40(o.properties!); - checkUnnamed41(o.required!); - checkUnnamed42(o.type!); + checkUnnamed41(o.properties!); + checkUnnamed42(o.required!); + checkUnnamed43(o.type!); } buildCounterJsonSchema--; } @@ -2699,12 +2725,12 @@ void checkJwtClaims(api.JwtClaims o) { buildCounterJwtClaims--; } -core.List buildUnnamed43() => [ +core.List buildUnnamed44() => [ buildRuntimeActionSchema(), buildRuntimeActionSchema(), ]; -void checkUnnamed43(core.List o) { +void checkUnnamed44(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRuntimeActionSchema(o[0]); checkRuntimeActionSchema(o[1]); @@ -2715,7 +2741,7 @@ api.ListActionsResponse buildListActionsResponse() { final o = api.ListActionsResponse(); buildCounterListActionsResponse++; if (buildCounterListActionsResponse < 3) { - o.actions = buildUnnamed43(); + o.actions = buildUnnamed44(); o.nextPageToken = 'foo'; } buildCounterListActionsResponse--; @@ -2725,7 +2751,7 @@ api.ListActionsResponse buildListActionsResponse() { void checkListActionsResponse(api.ListActionsResponse o) { buildCounterListActionsResponse++; if (buildCounterListActionsResponse < 3) { - checkUnnamed43(o.actions!); + checkUnnamed44(o.actions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2734,23 +2760,23 @@ void checkListActionsResponse(api.ListActionsResponse o) { buildCounterListActionsResponse--; } -core.List buildUnnamed44() => [ +core.List buildUnnamed45() => [ buildConnection(), buildConnection(), ]; -void checkUnnamed44(core.List o) { +void checkUnnamed45(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnection(o[0]); checkConnection(o[1]); } -core.List buildUnnamed45() => [ +core.List buildUnnamed46() => [ 'foo', 'foo', ]; -void checkUnnamed45(core.List o) { +void checkUnnamed46(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2767,9 +2793,9 @@ api.ListConnectionsResponse buildListConnectionsResponse() { final o = api.ListConnectionsResponse(); buildCounterListConnectionsResponse++; if (buildCounterListConnectionsResponse < 3) { - o.connections = buildUnnamed44(); + o.connections = buildUnnamed45(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed45(); + o.unreachable = buildUnnamed46(); } buildCounterListConnectionsResponse--; return o; @@ -2778,33 +2804,33 @@ api.ListConnectionsResponse buildListConnectionsResponse() { void checkListConnectionsResponse(api.ListConnectionsResponse o) { buildCounterListConnectionsResponse++; if (buildCounterListConnectionsResponse < 3) { - checkUnnamed44(o.connections!); + checkUnnamed45(o.connections!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed45(o.unreachable!); + checkUnnamed46(o.unreachable!); } buildCounterListConnectionsResponse--; } -core.List buildUnnamed46() => [ +core.List buildUnnamed47() => [ buildConnectorVersion(), buildConnectorVersion(), ]; -void checkUnnamed46(core.List o) { +void checkUnnamed47(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnectorVersion(o[0]); checkConnectorVersion(o[1]); } -core.List buildUnnamed47() => [ +core.List buildUnnamed48() => [ 'foo', 'foo', ]; -void checkUnnamed47(core.List o) { +void checkUnnamed48(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2821,9 +2847,9 @@ api.ListConnectorVersionsResponse buildListConnectorVersionsResponse() { final o = api.ListConnectorVersionsResponse(); buildCounterListConnectorVersionsResponse++; if (buildCounterListConnectorVersionsResponse < 3) { - o.connectorVersions = buildUnnamed46(); + o.connectorVersions = buildUnnamed47(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed47(); + o.unreachable = buildUnnamed48(); } buildCounterListConnectorVersionsResponse--; return o; @@ -2832,33 +2858,33 @@ api.ListConnectorVersionsResponse buildListConnectorVersionsResponse() { void checkListConnectorVersionsResponse(api.ListConnectorVersionsResponse o) { buildCounterListConnectorVersionsResponse++; if (buildCounterListConnectorVersionsResponse < 3) { - checkUnnamed46(o.connectorVersions!); + checkUnnamed47(o.connectorVersions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed47(o.unreachable!); + checkUnnamed48(o.unreachable!); } buildCounterListConnectorVersionsResponse--; } -core.List buildUnnamed48() => [ +core.List buildUnnamed49() => [ buildConnector(), buildConnector(), ]; -void checkUnnamed48(core.List o) { +void checkUnnamed49(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConnector(o[0]); checkConnector(o[1]); } -core.List buildUnnamed49() => [ +core.List buildUnnamed50() => [ 'foo', 'foo', ]; -void checkUnnamed49(core.List o) { +void checkUnnamed50(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2875,9 +2901,9 @@ api.ListConnectorsResponse buildListConnectorsResponse() { final o = api.ListConnectorsResponse(); buildCounterListConnectorsResponse++; if (buildCounterListConnectorsResponse < 3) { - o.connectors = buildUnnamed48(); + o.connectors = buildUnnamed49(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed49(); + o.unreachable = buildUnnamed50(); } buildCounterListConnectorsResponse--; return o; @@ -2886,33 +2912,33 @@ api.ListConnectorsResponse buildListConnectorsResponse() { void checkListConnectorsResponse(api.ListConnectorsResponse o) { buildCounterListConnectorsResponse++; if (buildCounterListConnectorsResponse < 3) { - checkUnnamed48(o.connectors!); + checkUnnamed49(o.connectors!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed49(o.unreachable!); + checkUnnamed50(o.unreachable!); } buildCounterListConnectorsResponse--; } -core.List buildUnnamed50() => [ +core.List buildUnnamed51() => [ buildCustomConnectorVersion(), buildCustomConnectorVersion(), ]; -void checkUnnamed50(core.List o) { +void checkUnnamed51(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomConnectorVersion(o[0]); checkCustomConnectorVersion(o[1]); } -core.List buildUnnamed51() => [ +core.List buildUnnamed52() => [ 'foo', 'foo', ]; -void checkUnnamed51(core.List o) { +void checkUnnamed52(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2930,9 +2956,9 @@ api.ListCustomConnectorVersionsResponse final o = api.ListCustomConnectorVersionsResponse(); buildCounterListCustomConnectorVersionsResponse++; if (buildCounterListCustomConnectorVersionsResponse < 3) { - o.customConnectorVersions = buildUnnamed50(); + o.customConnectorVersions = buildUnnamed51(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed51(); + o.unreachable = buildUnnamed52(); } buildCounterListCustomConnectorVersionsResponse--; return o; @@ -2942,33 +2968,33 @@ void checkListCustomConnectorVersionsResponse( api.ListCustomConnectorVersionsResponse o) { buildCounterListCustomConnectorVersionsResponse++; if (buildCounterListCustomConnectorVersionsResponse < 3) { - checkUnnamed50(o.customConnectorVersions!); + checkUnnamed51(o.customConnectorVersions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed51(o.unreachable!); + checkUnnamed52(o.unreachable!); } buildCounterListCustomConnectorVersionsResponse--; } -core.List buildUnnamed52() => [ +core.List buildUnnamed53() => [ buildCustomConnector(), buildCustomConnector(), ]; -void checkUnnamed52(core.List o) { +void checkUnnamed53(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomConnector(o[0]); checkCustomConnector(o[1]); } -core.List buildUnnamed53() => [ +core.List buildUnnamed54() => [ 'foo', 'foo', ]; -void checkUnnamed53(core.List o) { +void checkUnnamed54(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2985,9 +3011,9 @@ api.ListCustomConnectorsResponse buildListCustomConnectorsResponse() { final o = api.ListCustomConnectorsResponse(); buildCounterListCustomConnectorsResponse++; if (buildCounterListCustomConnectorsResponse < 3) { - o.customConnectors = buildUnnamed52(); + o.customConnectors = buildUnnamed53(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed53(); + o.unreachable = buildUnnamed54(); } buildCounterListCustomConnectorsResponse--; return o; @@ -2996,33 +3022,33 @@ api.ListCustomConnectorsResponse buildListCustomConnectorsResponse() { void checkListCustomConnectorsResponse(api.ListCustomConnectorsResponse o) { buildCounterListCustomConnectorsResponse++; if (buildCounterListCustomConnectorsResponse < 3) { - checkUnnamed52(o.customConnectors!); + checkUnnamed53(o.customConnectors!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed53(o.unreachable!); + checkUnnamed54(o.unreachable!); } buildCounterListCustomConnectorsResponse--; } -core.List buildUnnamed54() => [ +core.List buildUnnamed55() => [ buildEndpointAttachment(), buildEndpointAttachment(), ]; -void checkUnnamed54(core.List o) { +void checkUnnamed55(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEndpointAttachment(o[0]); checkEndpointAttachment(o[1]); } -core.List buildUnnamed55() => [ +core.List buildUnnamed56() => [ 'foo', 'foo', ]; -void checkUnnamed55(core.List o) { +void checkUnnamed56(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3039,9 +3065,9 @@ api.ListEndpointAttachmentsResponse buildListEndpointAttachmentsResponse() { final o = api.ListEndpointAttachmentsResponse(); buildCounterListEndpointAttachmentsResponse++; if (buildCounterListEndpointAttachmentsResponse < 3) { - o.endpointAttachments = buildUnnamed54(); + o.endpointAttachments = buildUnnamed55(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed55(); + o.unreachable = buildUnnamed56(); } buildCounterListEndpointAttachmentsResponse--; return o; @@ -3051,22 +3077,22 @@ void checkListEndpointAttachmentsResponse( api.ListEndpointAttachmentsResponse o) { buildCounterListEndpointAttachmentsResponse++; if (buildCounterListEndpointAttachmentsResponse < 3) { - checkUnnamed54(o.endpointAttachments!); + checkUnnamed55(o.endpointAttachments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed55(o.unreachable!); + checkUnnamed56(o.unreachable!); } buildCounterListEndpointAttachmentsResponse--; } -core.List buildUnnamed56() => [ +core.List buildUnnamed57() => [ buildRuntimeEntitySchema(), buildRuntimeEntitySchema(), ]; -void checkUnnamed56(core.List o) { +void checkUnnamed57(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRuntimeEntitySchema(o[0]); checkRuntimeEntitySchema(o[1]); @@ -3077,7 +3103,7 @@ api.ListEntityTypesResponse buildListEntityTypesResponse() { final o = api.ListEntityTypesResponse(); buildCounterListEntityTypesResponse++; if (buildCounterListEntityTypesResponse < 3) { - o.entityTypes = buildUnnamed56(); + o.entityTypes = buildUnnamed57(); o.nextPageToken = 'foo'; } buildCounterListEntityTypesResponse--; @@ -3087,7 +3113,7 @@ api.ListEntityTypesResponse buildListEntityTypesResponse() { void checkListEntityTypesResponse(api.ListEntityTypesResponse o) { buildCounterListEntityTypesResponse++; if (buildCounterListEntityTypesResponse < 3) { - checkUnnamed56(o.entityTypes!); + checkUnnamed57(o.entityTypes!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3096,23 +3122,23 @@ void checkListEntityTypesResponse(api.ListEntityTypesResponse o) { buildCounterListEntityTypesResponse--; } -core.List buildUnnamed57() => [ +core.List buildUnnamed58() => [ buildEventSubscription(), buildEventSubscription(), ]; -void checkUnnamed57(core.List o) { +void checkUnnamed58(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventSubscription(o[0]); checkEventSubscription(o[1]); } -core.List buildUnnamed58() => [ +core.List buildUnnamed59() => [ 'foo', 'foo', ]; -void checkUnnamed58(core.List o) { +void checkUnnamed59(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3129,9 +3155,9 @@ api.ListEventSubscriptionsResponse buildListEventSubscriptionsResponse() { final o = api.ListEventSubscriptionsResponse(); buildCounterListEventSubscriptionsResponse++; if (buildCounterListEventSubscriptionsResponse < 3) { - o.eventSubscriptions = buildUnnamed57(); + o.eventSubscriptions = buildUnnamed58(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed58(); + o.unreachable = buildUnnamed59(); } buildCounterListEventSubscriptionsResponse--; return o; @@ -3140,22 +3166,22 @@ api.ListEventSubscriptionsResponse buildListEventSubscriptionsResponse() { void checkListEventSubscriptionsResponse(api.ListEventSubscriptionsResponse o) { buildCounterListEventSubscriptionsResponse++; if (buildCounterListEventSubscriptionsResponse < 3) { - checkUnnamed57(o.eventSubscriptions!); + checkUnnamed58(o.eventSubscriptions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed58(o.unreachable!); + checkUnnamed59(o.unreachable!); } buildCounterListEventSubscriptionsResponse--; } -core.List buildUnnamed59() => [ +core.List buildUnnamed60() => [ buildEventType(), buildEventType(), ]; -void checkUnnamed59(core.List o) { +void checkUnnamed60(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEventType(o[0]); checkEventType(o[1]); @@ -3166,7 +3192,7 @@ api.ListEventTypesResponse buildListEventTypesResponse() { final o = api.ListEventTypesResponse(); buildCounterListEventTypesResponse++; if (buildCounterListEventTypesResponse < 3) { - o.eventTypes = buildUnnamed59(); + o.eventTypes = buildUnnamed60(); o.nextPageToken = 'foo'; } buildCounterListEventTypesResponse--; @@ -3176,7 +3202,7 @@ api.ListEventTypesResponse buildListEventTypesResponse() { void checkListEventTypesResponse(api.ListEventTypesResponse o) { buildCounterListEventTypesResponse++; if (buildCounterListEventTypesResponse < 3) { - checkUnnamed59(o.eventTypes!); + checkUnnamed60(o.eventTypes!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3185,12 +3211,12 @@ void checkListEventTypesResponse(api.ListEventTypesResponse o) { buildCounterListEventTypesResponse--; } -core.List buildUnnamed60() => [ +core.List buildUnnamed61() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed60(core.List o) { +void checkUnnamed61(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -3201,7 +3227,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed60(); + o.locations = buildUnnamed61(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -3211,7 +3237,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed60(o.locations!); + checkUnnamed61(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3220,12 +3246,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed61() => [ +core.List buildUnnamed62() => [ buildManagedZone(), buildManagedZone(), ]; -void checkUnnamed61(core.List o) { +void checkUnnamed62(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedZone(o[0]); checkManagedZone(o[1]); @@ -3236,7 +3262,7 @@ api.ListManagedZonesResponse buildListManagedZonesResponse() { final o = api.ListManagedZonesResponse(); buildCounterListManagedZonesResponse++; if (buildCounterListManagedZonesResponse < 3) { - o.managedZones = buildUnnamed61(); + o.managedZones = buildUnnamed62(); o.nextPageToken = 'foo'; } buildCounterListManagedZonesResponse--; @@ -3246,7 +3272,7 @@ api.ListManagedZonesResponse buildListManagedZonesResponse() { void checkListManagedZonesResponse(api.ListManagedZonesResponse o) { buildCounterListManagedZonesResponse++; if (buildCounterListManagedZonesResponse < 3) { - checkUnnamed61(o.managedZones!); + checkUnnamed62(o.managedZones!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3255,12 +3281,12 @@ void checkListManagedZonesResponse(api.ListManagedZonesResponse o) { buildCounterListManagedZonesResponse--; } -core.List buildUnnamed62() => [ +core.List buildUnnamed63() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed62(core.List o) { +void checkUnnamed63(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -3272,7 +3298,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed62(); + o.operations = buildUnnamed63(); } buildCounterListOperationsResponse--; return o; @@ -3285,28 +3311,28 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed62(o.operations!); + checkUnnamed63(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed63() => [ +core.List buildUnnamed64() => [ buildProvider(), buildProvider(), ]; -void checkUnnamed63(core.List o) { +void checkUnnamed64(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProvider(o[0]); checkProvider(o[1]); } -core.List buildUnnamed64() => [ +core.List buildUnnamed65() => [ 'foo', 'foo', ]; -void checkUnnamed64(core.List o) { +void checkUnnamed65(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3324,8 +3350,8 @@ api.ListProvidersResponse buildListProvidersResponse() { buildCounterListProvidersResponse++; if (buildCounterListProvidersResponse < 3) { o.nextPageToken = 'foo'; - o.providers = buildUnnamed63(); - o.unreachable = buildUnnamed64(); + o.providers = buildUnnamed64(); + o.unreachable = buildUnnamed65(); } buildCounterListProvidersResponse--; return o; @@ -3338,18 +3364,18 @@ void checkListProvidersResponse(api.ListProvidersResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed63(o.providers!); - checkUnnamed64(o.unreachable!); + checkUnnamed64(o.providers!); + checkUnnamed65(o.unreachable!); } buildCounterListProvidersResponse--; } -core.List buildUnnamed65() => [ +core.List buildUnnamed66() => [ buildRuntimeActionSchema(), buildRuntimeActionSchema(), ]; -void checkUnnamed65(core.List o) { +void checkUnnamed66(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRuntimeActionSchema(o[0]); checkRuntimeActionSchema(o[1]); @@ -3361,7 +3387,7 @@ api.ListRuntimeActionSchemasResponse buildListRuntimeActionSchemasResponse() { buildCounterListRuntimeActionSchemasResponse++; if (buildCounterListRuntimeActionSchemasResponse < 3) { o.nextPageToken = 'foo'; - o.runtimeActionSchemas = buildUnnamed65(); + o.runtimeActionSchemas = buildUnnamed66(); } buildCounterListRuntimeActionSchemasResponse--; return o; @@ -3375,17 +3401,17 @@ void checkListRuntimeActionSchemasResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed65(o.runtimeActionSchemas!); + checkUnnamed66(o.runtimeActionSchemas!); } buildCounterListRuntimeActionSchemasResponse--; } -core.List buildUnnamed66() => [ +core.List buildUnnamed67() => [ buildRuntimeEntitySchema(), buildRuntimeEntitySchema(), ]; -void checkUnnamed66(core.List o) { +void checkUnnamed67(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRuntimeEntitySchema(o[0]); checkRuntimeEntitySchema(o[1]); @@ -3397,7 +3423,7 @@ api.ListRuntimeEntitySchemasResponse buildListRuntimeEntitySchemasResponse() { buildCounterListRuntimeEntitySchemasResponse++; if (buildCounterListRuntimeEntitySchemasResponse < 3) { o.nextPageToken = 'foo'; - o.runtimeEntitySchemas = buildUnnamed66(); + o.runtimeEntitySchemas = buildUnnamed67(); } buildCounterListRuntimeEntitySchemasResponse--; return o; @@ -3411,12 +3437,12 @@ void checkListRuntimeEntitySchemasResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed66(o.runtimeEntitySchemas!); + checkUnnamed67(o.runtimeEntitySchemas!); } buildCounterListRuntimeEntitySchemasResponse--; } -core.Map buildUnnamed67() => { +core.Map buildUnnamed68() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3429,7 +3455,7 @@ core.Map buildUnnamed67() => { }, }; -void checkUnnamed67(core.Map o) { +void checkUnnamed68(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted8 = (o['x']!) as core.Map; unittest.expect(casted8, unittest.hasLength(3)); @@ -3466,7 +3492,7 @@ api.ListenEventRequest buildListenEventRequest() { final o = api.ListenEventRequest(); buildCounterListenEventRequest++; if (buildCounterListenEventRequest < 3) { - o.payload = buildUnnamed67(); + o.payload = buildUnnamed68(); } buildCounterListenEventRequest--; return o; @@ -3475,7 +3501,7 @@ api.ListenEventRequest buildListenEventRequest() { void checkListenEventRequest(api.ListenEventRequest o) { buildCounterListenEventRequest++; if (buildCounterListenEventRequest < 3) { - checkUnnamed67(o.payload!); + checkUnnamed68(o.payload!); } buildCounterListenEventRequest--; } @@ -3495,12 +3521,12 @@ void checkListenEventResponse(api.ListenEventResponse o) { buildCounterListenEventResponse--; } -core.Map buildUnnamed68() => { +core.Map buildUnnamed69() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed68(core.Map o) { +void checkUnnamed69(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3512,7 +3538,7 @@ void checkUnnamed68(core.Map o) { ); } -core.Map buildUnnamed69() => { +core.Map buildUnnamed70() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3525,7 +3551,7 @@ core.Map buildUnnamed69() => { }, }; -void checkUnnamed69(core.Map o) { +void checkUnnamed70(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted10 = (o['x']!) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); @@ -3563,9 +3589,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed68(); + o.labels = buildUnnamed69(); o.locationId = 'foo'; - o.metadata = buildUnnamed69(); + o.metadata = buildUnnamed70(); o.name = 'foo'; } buildCounterLocation--; @@ -3579,12 +3605,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed68(o.labels!); + checkUnnamed69(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed69(o.metadata!); + checkUnnamed70(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -3617,23 +3643,23 @@ void checkLockConfig(api.LockConfig o) { buildCounterLockConfig--; } -core.List buildUnnamed70() => [ +core.List buildUnnamed71() => [ buildFieldComparison(), buildFieldComparison(), ]; -void checkUnnamed70(core.List o) { +void checkUnnamed71(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFieldComparison(o[0]); checkFieldComparison(o[1]); } -core.List buildUnnamed71() => [ +core.List buildUnnamed72() => [ buildLogicalExpression(), buildLogicalExpression(), ]; -void checkUnnamed71(core.List o) { +void checkUnnamed72(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLogicalExpression(o[0]); checkLogicalExpression(o[1]); @@ -3644,8 +3670,8 @@ api.LogicalExpression buildLogicalExpression() { final o = api.LogicalExpression(); buildCounterLogicalExpression++; if (buildCounterLogicalExpression < 3) { - o.fieldComparisons = buildUnnamed70(); - o.logicalExpressions = buildUnnamed71(); + o.fieldComparisons = buildUnnamed71(); + o.logicalExpressions = buildUnnamed72(); o.logicalOperator = 'foo'; } buildCounterLogicalExpression--; @@ -3655,8 +3681,8 @@ api.LogicalExpression buildLogicalExpression() { void checkLogicalExpression(api.LogicalExpression o) { buildCounterLogicalExpression++; if (buildCounterLogicalExpression < 3) { - checkUnnamed70(o.fieldComparisons!); - checkUnnamed71(o.logicalExpressions!); + checkUnnamed71(o.fieldComparisons!); + checkUnnamed72(o.logicalExpressions!); unittest.expect( o.logicalOperator!, unittest.equals('foo'), @@ -3665,12 +3691,12 @@ void checkLogicalExpression(api.LogicalExpression o) { buildCounterLogicalExpression--; } -core.Map buildUnnamed72() => { +core.Map buildUnnamed73() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed72(core.Map o) { +void checkUnnamed73(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3690,7 +3716,7 @@ api.ManagedZone buildManagedZone() { o.createTime = 'foo'; o.description = 'foo'; o.dns = 'foo'; - o.labels = buildUnnamed72(); + o.labels = buildUnnamed73(); o.name = 'foo'; o.targetProject = 'foo'; o.targetVpc = 'foo'; @@ -3715,7 +3741,7 @@ void checkManagedZone(api.ManagedZone o) { o.dns!, unittest.equals('foo'), ); - checkUnnamed72(o.labels!); + checkUnnamed73(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -3736,12 +3762,83 @@ void checkManagedZone(api.ManagedZone o) { buildCounterManagedZone--; } -core.List buildUnnamed73() => [ +core.List buildUnnamed74() => [ + buildMultipleSelectOption(), + buildMultipleSelectOption(), + ]; + +void checkUnnamed74(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkMultipleSelectOption(o[0]); + checkMultipleSelectOption(o[1]); +} + +core.int buildCounterMultipleSelectConfig = 0; +api.MultipleSelectConfig buildMultipleSelectConfig() { + final o = api.MultipleSelectConfig(); + buildCounterMultipleSelectConfig++; + if (buildCounterMultipleSelectConfig < 3) { + o.allowCustomValues = true; + o.multipleSelectOptions = buildUnnamed74(); + o.valueSeparator = 'foo'; + } + buildCounterMultipleSelectConfig--; + return o; +} + +void checkMultipleSelectConfig(api.MultipleSelectConfig o) { + buildCounterMultipleSelectConfig++; + if (buildCounterMultipleSelectConfig < 3) { + unittest.expect(o.allowCustomValues!, unittest.isTrue); + checkUnnamed74(o.multipleSelectOptions!); + unittest.expect( + o.valueSeparator!, + unittest.equals('foo'), + ); + } + buildCounterMultipleSelectConfig--; +} + +core.int buildCounterMultipleSelectOption = 0; +api.MultipleSelectOption buildMultipleSelectOption() { + final o = api.MultipleSelectOption(); + buildCounterMultipleSelectOption++; + if (buildCounterMultipleSelectOption < 3) { + o.description = 'foo'; + o.displayName = 'foo'; + o.key = 'foo'; + o.preselected = true; + } + buildCounterMultipleSelectOption--; + return o; +} + +void checkMultipleSelectOption(api.MultipleSelectOption o) { + buildCounterMultipleSelectOption++; + if (buildCounterMultipleSelectOption < 3) { + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.key!, + unittest.equals('foo'), + ); + unittest.expect(o.preselected!, unittest.isTrue); + } + buildCounterMultipleSelectOption--; +} + +core.List buildUnnamed75() => [ 'foo', 'foo', ]; -void checkUnnamed73(core.List o) { +void checkUnnamed75(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3758,7 +3855,7 @@ api.NetworkConfig buildNetworkConfig() { final o = api.NetworkConfig(); buildCounterNetworkConfig++; if (buildCounterNetworkConfig < 3) { - o.egressIps = buildUnnamed73(); + o.egressIps = buildUnnamed75(); o.egressMode = 'foo'; } buildCounterNetworkConfig--; @@ -3768,7 +3865,7 @@ api.NetworkConfig buildNetworkConfig() { void checkNetworkConfig(api.NetworkConfig o) { buildCounterNetworkConfig++; if (buildCounterNetworkConfig < 3) { - checkUnnamed73(o.egressIps!); + checkUnnamed75(o.egressIps!); unittest.expect( o.egressMode!, unittest.equals('foo'), @@ -3804,12 +3901,12 @@ void checkNodeConfig(api.NodeConfig o) { buildCounterNodeConfig--; } -core.List buildUnnamed74() => [ +core.List buildUnnamed76() => [ 'foo', 'foo', ]; -void checkUnnamed74(core.List o) { +void checkUnnamed76(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3833,7 +3930,7 @@ api.Oauth2AuthCodeFlow buildOauth2AuthCodeFlow() { o.enablePkce = true; o.pkceVerifier = 'foo'; o.redirectUri = 'foo'; - o.scopes = buildUnnamed74(); + o.scopes = buildUnnamed76(); } buildCounterOauth2AuthCodeFlow--; return o; @@ -3864,7 +3961,7 @@ void checkOauth2AuthCodeFlow(api.Oauth2AuthCodeFlow o) { o.redirectUri!, unittest.equals('foo'), ); - checkUnnamed74(o.scopes!); + checkUnnamed76(o.scopes!); } buildCounterOauth2AuthCodeFlow--; } @@ -3914,7 +4011,7 @@ void checkOauth2JwtBearer(api.Oauth2JwtBearer o) { buildCounterOauth2JwtBearer--; } -core.Map buildUnnamed75() => { +core.Map buildUnnamed77() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3927,7 +4024,7 @@ core.Map buildUnnamed75() => { }, }; -void checkUnnamed75(core.Map o) { +void checkUnnamed77(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted12 = (o['x']!) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); @@ -3959,7 +4056,7 @@ void checkUnnamed75(core.Map o) { ); } -core.Map buildUnnamed76() => { +core.Map buildUnnamed78() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3972,7 +4069,7 @@ core.Map buildUnnamed76() => { }, }; -void checkUnnamed76(core.Map o) { +void checkUnnamed78(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted14 = (o['x']!) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); @@ -4011,9 +4108,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed75(); + o.metadata = buildUnnamed77(); o.name = 'foo'; - o.response = buildUnnamed76(); + o.response = buildUnnamed78(); } buildCounterOperation--; return o; @@ -4024,33 +4121,33 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed75(o.metadata!); + checkUnnamed77(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed76(o.response!); + checkUnnamed78(o.response!); } buildCounterOperation--; } -core.List buildUnnamed77() => [ +core.List buildUnnamed79() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed77(core.List o) { +void checkUnnamed79(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed78() => [ +core.List buildUnnamed80() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed78(core.List o) { +void checkUnnamed80(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -4061,8 +4158,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed77(); - o.bindings = buildUnnamed78(); + o.auditConfigs = buildUnnamed79(); + o.bindings = buildUnnamed80(); o.etag = 'foo'; o.version = 42; } @@ -4073,8 +4170,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed77(o.auditConfigs!); - checkUnnamed78(o.bindings!); + checkUnnamed79(o.auditConfigs!); + checkUnnamed80(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -4087,12 +4184,12 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.Map buildUnnamed79() => { +core.Map buildUnnamed81() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed79(core.Map o) { +void checkUnnamed81(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4114,7 +4211,7 @@ api.Provider buildProvider() { o.displayName = 'foo'; o.documentationUri = 'foo'; o.externalUri = 'foo'; - o.labels = buildUnnamed79(); + o.labels = buildUnnamed81(); o.launchStage = 'foo'; o.name = 'foo'; o.updateTime = 'foo'; @@ -4147,7 +4244,7 @@ void checkProvider(api.Provider o) { o.externalUri!, unittest.equals('foo'), ); - checkUnnamed79(o.labels!); + checkUnnamed81(o.labels!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -4358,12 +4455,12 @@ void checkRetryEventSubscriptionRequest(api.RetryEventSubscriptionRequest o) { buildCounterRetryEventSubscriptionRequest--; } -core.List buildUnnamed80() => [ +core.List buildUnnamed82() => [ 'foo', 'foo', ]; -void checkUnnamed80(core.List o) { +void checkUnnamed82(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4383,7 +4480,7 @@ api.RoleGrant buildRoleGrant() { o.helperTextTemplate = 'foo'; o.principal = 'foo'; o.resource = buildResource(); - o.roles = buildUnnamed80(); + o.roles = buildUnnamed82(); } buildCounterRoleGrant--; return o; @@ -4401,28 +4498,28 @@ void checkRoleGrant(api.RoleGrant o) { unittest.equals('foo'), ); checkResource(o.resource!); - checkUnnamed80(o.roles!); + checkUnnamed82(o.roles!); } buildCounterRoleGrant--; } -core.List buildUnnamed81() => [ +core.List buildUnnamed83() => [ buildInputParameter(), buildInputParameter(), ]; -void checkUnnamed81(core.List o) { +void checkUnnamed83(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInputParameter(o[0]); checkInputParameter(o[1]); } -core.List buildUnnamed82() => [ +core.List buildUnnamed84() => [ buildResultMetadata(), buildResultMetadata(), ]; -void checkUnnamed82(core.List o) { +void checkUnnamed84(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkResultMetadata(o[0]); checkResultMetadata(o[1]); @@ -4437,9 +4534,9 @@ api.RuntimeActionSchema buildRuntimeActionSchema() { o.description = 'foo'; o.displayName = 'foo'; o.inputJsonSchema = buildJsonSchema(); - o.inputParameters = buildUnnamed81(); + o.inputParameters = buildUnnamed83(); o.resultJsonSchema = buildJsonSchema(); - o.resultMetadata = buildUnnamed82(); + o.resultMetadata = buildUnnamed84(); } buildCounterRuntimeActionSchema--; return o; @@ -4461,9 +4558,9 @@ void checkRuntimeActionSchema(api.RuntimeActionSchema o) { unittest.equals('foo'), ); checkJsonSchema(o.inputJsonSchema!); - checkUnnamed81(o.inputParameters!); + checkUnnamed83(o.inputParameters!); checkJsonSchema(o.resultJsonSchema!); - checkUnnamed82(o.resultMetadata!); + checkUnnamed84(o.resultMetadata!); } buildCounterRuntimeActionSchema--; } @@ -4535,23 +4632,23 @@ void checkRuntimeConfig(api.RuntimeConfig o) { buildCounterRuntimeConfig--; } -core.List buildUnnamed83() => [ +core.List buildUnnamed85() => [ buildField(), buildField(), ]; -void checkUnnamed83(core.List o) { +void checkUnnamed85(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkField(o[0]); checkField(o[1]); } -core.List buildUnnamed84() => [ +core.List buildUnnamed86() => [ 'foo', 'foo', ]; -void checkUnnamed84(core.List o) { +void checkUnnamed86(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4569,9 +4666,9 @@ api.RuntimeEntitySchema buildRuntimeEntitySchema() { buildCounterRuntimeEntitySchema++; if (buildCounterRuntimeEntitySchema < 3) { o.entity = 'foo'; - o.fields = buildUnnamed83(); + o.fields = buildUnnamed85(); o.jsonSchema = buildJsonSchema(); - o.operations = buildUnnamed84(); + o.operations = buildUnnamed86(); } buildCounterRuntimeEntitySchema--; return o; @@ -4584,9 +4681,9 @@ void checkRuntimeEntitySchema(api.RuntimeEntitySchema o) { o.entity!, unittest.equals('foo'), ); - checkUnnamed83(o.fields!); + checkUnnamed85(o.fields!); checkJsonSchema(o.jsonSchema!); - checkUnnamed84(o.operations!); + checkUnnamed86(o.operations!); } buildCounterRuntimeEntitySchema--; } @@ -4635,23 +4732,23 @@ void checkSearchConnectionInstance(api.SearchConnectionInstance o) { buildCounterSearchConnectionInstance--; } -core.List buildUnnamed85() => [ +core.List buildUnnamed87() => [ buildSearchConnectionInstance(), buildSearchConnectionInstance(), ]; -void checkUnnamed85(core.List o) { +void checkUnnamed87(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSearchConnectionInstance(o[0]); checkSearchConnectionInstance(o[1]); } -core.List buildUnnamed86() => [ +core.List buildUnnamed88() => [ 'foo', 'foo', ]; -void checkUnnamed86(core.List o) { +void checkUnnamed88(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4668,9 +4765,9 @@ api.SearchConnectionsResponse buildSearchConnectionsResponse() { final o = api.SearchConnectionsResponse(); buildCounterSearchConnectionsResponse++; if (buildCounterSearchConnectionsResponse < 3) { - o.connections = buildUnnamed85(); + o.connections = buildUnnamed87(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed86(); + o.unreachable = buildUnnamed88(); } buildCounterSearchConnectionsResponse--; return o; @@ -4679,12 +4776,12 @@ api.SearchConnectionsResponse buildSearchConnectionsResponse() { void checkSearchConnectionsResponse(api.SearchConnectionsResponse o) { buildCounterSearchConnectionsResponse++; if (buildCounterSearchConnectionsResponse < 3) { - checkUnnamed85(o.connections!); + checkUnnamed87(o.connections!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed86(o.unreachable!); + checkUnnamed88(o.unreachable!); } buildCounterSearchConnectionsResponse--; } @@ -4824,12 +4921,12 @@ void checkSshPublicKey(api.SshPublicKey o) { buildCounterSshPublicKey--; } -core.List buildUnnamed87() => [ +core.List buildUnnamed89() => [ buildConfigVariable(), buildConfigVariable(), ]; -void checkUnnamed87(core.List o) { +void checkUnnamed89(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfigVariable(o[0]); checkConfigVariable(o[1]); @@ -4840,7 +4937,7 @@ api.SslConfig buildSslConfig() { final o = api.SslConfig(); buildCounterSslConfig++; if (buildCounterSslConfig < 3) { - o.additionalVariables = buildUnnamed87(); + o.additionalVariables = buildUnnamed89(); o.clientCertType = 'foo'; o.clientCertificate = buildSecret(); o.clientPrivateKey = buildSecret(); @@ -4858,7 +4955,7 @@ api.SslConfig buildSslConfig() { void checkSslConfig(api.SslConfig o) { buildCounterSslConfig++; if (buildCounterSslConfig < 3) { - checkUnnamed87(o.additionalVariables!); + checkUnnamed89(o.additionalVariables!); unittest.expect( o.clientCertType!, unittest.equals('foo'), @@ -4884,23 +4981,23 @@ void checkSslConfig(api.SslConfig o) { buildCounterSslConfig--; } -core.List buildUnnamed88() => [ +core.List buildUnnamed90() => [ buildConfigVariableTemplate(), buildConfigVariableTemplate(), ]; -void checkUnnamed88(core.List o) { +void checkUnnamed90(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfigVariableTemplate(o[0]); checkConfigVariableTemplate(o[1]); } -core.List buildUnnamed89() => [ +core.List buildUnnamed91() => [ 'foo', 'foo', ]; -void checkUnnamed89(core.List o) { +void checkUnnamed91(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4912,12 +5009,12 @@ void checkUnnamed89(core.List o) { ); } -core.List buildUnnamed90() => [ +core.List buildUnnamed92() => [ 'foo', 'foo', ]; -void checkUnnamed90(core.List o) { +void checkUnnamed92(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4934,10 +5031,10 @@ api.SslConfigTemplate buildSslConfigTemplate() { final o = api.SslConfigTemplate(); buildCounterSslConfigTemplate++; if (buildCounterSslConfigTemplate < 3) { - o.additionalVariables = buildUnnamed88(); - o.clientCertType = buildUnnamed89(); + o.additionalVariables = buildUnnamed90(); + o.clientCertType = buildUnnamed91(); o.isTlsMandatory = true; - o.serverCertType = buildUnnamed90(); + o.serverCertType = buildUnnamed92(); o.sslType = 'foo'; } buildCounterSslConfigTemplate--; @@ -4947,10 +5044,10 @@ api.SslConfigTemplate buildSslConfigTemplate() { void checkSslConfigTemplate(api.SslConfigTemplate o) { buildCounterSslConfigTemplate++; if (buildCounterSslConfigTemplate < 3) { - checkUnnamed88(o.additionalVariables!); - checkUnnamed89(o.clientCertType!); + checkUnnamed90(o.additionalVariables!); + checkUnnamed91(o.clientCertType!); unittest.expect(o.isTlsMandatory!, unittest.isTrue); - checkUnnamed90(o.serverCertType!); + checkUnnamed92(o.serverCertType!); unittest.expect( o.sslType!, unittest.equals('foo'), @@ -4959,7 +5056,7 @@ void checkSslConfigTemplate(api.SslConfigTemplate o) { buildCounterSslConfigTemplate--; } -core.Map buildUnnamed91() => { +core.Map buildUnnamed93() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4972,7 +5069,7 @@ core.Map buildUnnamed91() => { }, }; -void checkUnnamed91(core.Map o) { +void checkUnnamed93(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted16 = (o['x']!) as core.Map; unittest.expect(casted16, unittest.hasLength(3)); @@ -5004,15 +5101,15 @@ void checkUnnamed91(core.Map o) { ); } -core.List> buildUnnamed92() => [ - buildUnnamed91(), - buildUnnamed91(), +core.List> buildUnnamed94() => [ + buildUnnamed93(), + buildUnnamed93(), ]; -void checkUnnamed92(core.List> o) { +void checkUnnamed94(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed91(o[0]); - checkUnnamed91(o[1]); + checkUnnamed93(o[0]); + checkUnnamed93(o[1]); } core.int buildCounterStatus = 0; @@ -5021,7 +5118,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed92(); + o.details = buildUnnamed94(); o.message = 'foo'; } buildCounterStatus--; @@ -5035,7 +5132,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed92(o.details!); + checkUnnamed94(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -5067,12 +5164,12 @@ void checkSupportedRuntimeFeatures(api.SupportedRuntimeFeatures o) { buildCounterSupportedRuntimeFeatures--; } -core.List buildUnnamed93() => [ +core.List buildUnnamed95() => [ 'foo', 'foo', ]; -void checkUnnamed93(core.List o) { +void checkUnnamed95(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5089,7 +5186,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed93(); + o.permissions = buildUnnamed95(); } buildCounterTestIamPermissionsRequest--; return o; @@ -5098,17 +5195,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed93(o.permissions!); + checkUnnamed95(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed94() => [ +core.List buildUnnamed96() => [ 'foo', 'foo', ]; -void checkUnnamed94(core.List o) { +void checkUnnamed96(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5125,7 +5222,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed94(); + o.permissions = buildUnnamed96(); } buildCounterTestIamPermissionsResponse--; return o; @@ -5134,7 +5231,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed94(o.permissions!); + checkUnnamed96(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -5221,12 +5318,12 @@ void checkValidateCustomConnectorSpecResponse( buildCounterValidateCustomConnectorSpecResponse--; } -core.List buildUnnamed95() => [ +core.List buildUnnamed97() => [ buildConfigVariable(), buildConfigVariable(), ]; -void checkUnnamed95(core.List o) { +void checkUnnamed97(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConfigVariable(o[0]); checkConfigVariable(o[1]); @@ -5237,7 +5334,7 @@ api.WebhookData buildWebhookData() { final o = api.WebhookData(); buildCounterWebhookData++; if (buildCounterWebhookData < 3) { - o.additionalVariables = buildUnnamed95(); + o.additionalVariables = buildUnnamed97(); o.createTime = 'foo'; o.id = 'foo'; o.name = 'foo'; @@ -5251,7 +5348,7 @@ api.WebhookData buildWebhookData() { void checkWebhookData(api.WebhookData o) { buildCounterWebhookData++; if (buildCounterWebhookData < 3) { - checkUnnamed95(o.additionalVariables!); + checkUnnamed97(o.additionalVariables!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -6016,6 +6113,26 @@ void main() { }); }); + unittest.group('obj-schema-MultipleSelectConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildMultipleSelectConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.MultipleSelectConfig.fromJson( + oJson as core.Map); + checkMultipleSelectConfig(od); + }); + }); + + unittest.group('obj-schema-MultipleSelectOption', () { + unittest.test('to-json--from-json', () async { + final o = buildMultipleSelectOption(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.MultipleSelectOption.fromJson( + oJson as core.Map); + checkMultipleSelectOption(od); + }); + }); + unittest.group('obj-schema-NetworkConfig', () { unittest.test('to-json--from-json', () async { final o = buildNetworkConfig(); diff --git a/generated/googleapis/test/connectors/v2_test.dart b/generated/googleapis/test/connectors/v2_test.dart index 228954995..92c61efd2 100644 --- a/generated/googleapis/test/connectors/v2_test.dart +++ b/generated/googleapis/test/connectors/v2_test.dart @@ -1124,12 +1124,132 @@ void checkListEntityTypesResponse(api.ListEntityTypesResponse o) { buildCounterListEntityTypesResponse--; } -core.List buildUnnamed22() => [ +core.Map buildUnnamed22() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed22(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted20 = (o['x']!) as core.Map; + unittest.expect(casted20, unittest.hasLength(3)); + unittest.expect( + casted20['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted20['bool'], + unittest.equals(true), + ); + unittest.expect( + casted20['string'], + unittest.equals('foo'), + ); + var casted21 = (o['y']!) as core.Map; + unittest.expect(casted21, unittest.hasLength(3)); + unittest.expect( + casted21['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted21['bool'], + unittest.equals(true), + ); + unittest.expect( + casted21['string'], + unittest.equals('foo'), + ); +} + +core.Map buildUnnamed23() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed23(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted22 = (o['x']!) as core.Map; + unittest.expect(casted22, unittest.hasLength(3)); + unittest.expect( + casted22['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted22['bool'], + unittest.equals(true), + ); + unittest.expect( + casted22['string'], + unittest.equals('foo'), + ); + var casted23 = (o['y']!) as core.Map; + unittest.expect(casted23, unittest.hasLength(3)); + unittest.expect( + casted23['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted23['bool'], + unittest.equals(true), + ); + unittest.expect( + casted23['string'], + unittest.equals('foo'), + ); +} + +core.int buildCounterOperation = 0; +api.Operation buildOperation() { + final o = api.Operation(); + buildCounterOperation++; + if (buildCounterOperation < 3) { + o.done = true; + o.error = buildStatus(); + o.metadata = buildUnnamed22(); + o.name = 'foo'; + o.response = buildUnnamed23(); + } + buildCounterOperation--; + return o; +} + +void checkOperation(api.Operation o) { + buildCounterOperation++; + if (buildCounterOperation < 3) { + unittest.expect(o.done!, unittest.isTrue); + checkStatus(o.error!); + checkUnnamed22(o.metadata!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed23(o.response!); + } + buildCounterOperation--; +} + +core.List buildUnnamed24() => [ buildQueryParameter(), buildQueryParameter(), ]; -void checkUnnamed22(core.List o) { +void checkUnnamed24(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkQueryParameter(o[0]); checkQueryParameter(o[1]); @@ -1142,7 +1262,7 @@ api.Query buildQuery() { if (buildCounterQuery < 3) { o.maxRows = 'foo'; o.query = 'foo'; - o.queryParameters = buildUnnamed22(); + o.queryParameters = buildUnnamed24(); o.timeout = 'foo'; } buildCounterQuery--; @@ -1160,7 +1280,7 @@ void checkQuery(api.Query o) { o.query!, unittest.equals('foo'), ); - checkUnnamed22(o.queryParameters!); + checkUnnamed24(o.queryParameters!); unittest.expect( o.timeout!, unittest.equals('foo'), @@ -1192,18 +1312,18 @@ void checkQueryParameter(api.QueryParameter o) { o.dataType!, unittest.equals('foo'), ); - var casted20 = (o.value!) as core.Map; - unittest.expect(casted20, unittest.hasLength(3)); + var casted24 = (o.value!) as core.Map; + unittest.expect(casted24, unittest.hasLength(3)); unittest.expect( - casted20['list'], + casted24['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted20['bool'], + casted24['bool'], unittest.equals(true), ); unittest.expect( - casted20['string'], + casted24['string'], unittest.equals('foo'), ); } @@ -1305,7 +1425,7 @@ void checkResultMetadata(api.ResultMetadata o) { buildCounterResultMetadata--; } -core.Map buildUnnamed23() => { +core.Map buildUnnamed25() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1318,34 +1438,119 @@ core.Map buildUnnamed23() => { }, }; -void checkUnnamed23(core.Map o) { +void checkUnnamed25(core.Map o) { unittest.expect(o, unittest.hasLength(2)); - var casted21 = (o['x']!) as core.Map; - unittest.expect(casted21, unittest.hasLength(3)); + var casted25 = (o['x']!) as core.Map; + unittest.expect(casted25, unittest.hasLength(3)); unittest.expect( - casted21['list'], + casted25['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted21['bool'], + casted25['bool'], unittest.equals(true), ); unittest.expect( - casted21['string'], + casted25['string'], unittest.equals('foo'), ); - var casted22 = (o['y']!) as core.Map; - unittest.expect(casted22, unittest.hasLength(3)); + var casted26 = (o['y']!) as core.Map; + unittest.expect(casted26, unittest.hasLength(3)); unittest.expect( - casted22['list'], + casted26['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted22['bool'], + casted26['bool'], unittest.equals(true), ); unittest.expect( - casted22['string'], + casted26['string'], + unittest.equals('foo'), + ); +} + +core.List> buildUnnamed26() => [ + buildUnnamed25(), + buildUnnamed25(), + ]; + +void checkUnnamed26(core.List> o) { + unittest.expect(o, unittest.hasLength(2)); + checkUnnamed25(o[0]); + checkUnnamed25(o[1]); +} + +core.int buildCounterStatus = 0; +api.Status buildStatus() { + final o = api.Status(); + buildCounterStatus++; + if (buildCounterStatus < 3) { + o.code = 42; + o.details = buildUnnamed26(); + o.message = 'foo'; + } + buildCounterStatus--; + return o; +} + +void checkStatus(api.Status o) { + buildCounterStatus++; + if (buildCounterStatus < 3) { + unittest.expect( + o.code!, + unittest.equals(42), + ); + checkUnnamed26(o.details!); + unittest.expect( + o.message!, + unittest.equals('foo'), + ); + } + buildCounterStatus--; +} + +core.Map buildUnnamed27() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed27(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted27 = (o['x']!) as core.Map; + unittest.expect(casted27, unittest.hasLength(3)); + unittest.expect( + casted27['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted27['bool'], + unittest.equals(true), + ); + unittest.expect( + casted27['string'], + unittest.equals('foo'), + ); + var casted28 = (o['y']!) as core.Map; + unittest.expect(casted28, unittest.hasLength(3)); + unittest.expect( + casted28['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted28['bool'], + unittest.equals(true), + ); + unittest.expect( + casted28['string'], unittest.equals('foo'), ); } @@ -1356,7 +1561,7 @@ api.UpdateEntitiesWithConditionsResponse final o = api.UpdateEntitiesWithConditionsResponse(); buildCounterUpdateEntitiesWithConditionsResponse++; if (buildCounterUpdateEntitiesWithConditionsResponse < 3) { - o.response = buildUnnamed23(); + o.response = buildUnnamed27(); } buildCounterUpdateEntitiesWithConditionsResponse--; return o; @@ -1366,17 +1571,17 @@ void checkUpdateEntitiesWithConditionsResponse( api.UpdateEntitiesWithConditionsResponse o) { buildCounterUpdateEntitiesWithConditionsResponse++; if (buildCounterUpdateEntitiesWithConditionsResponse < 3) { - checkUnnamed23(o.response!); + checkUnnamed27(o.response!); } buildCounterUpdateEntitiesWithConditionsResponse--; } -core.List buildUnnamed24() => [ +core.List buildUnnamed28() => [ 'foo', 'foo', ]; -void checkUnnamed24(core.List o) { +void checkUnnamed28(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1579,6 +1784,16 @@ void main() { }); }); + unittest.group('obj-schema-Operation', () { + unittest.test('to-json--from-json', () async { + final o = buildOperation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Operation.fromJson(oJson as core.Map); + checkOperation(od); + }); + }); + unittest.group('obj-schema-Query', () { unittest.test('to-json--from-json', () async { final o = buildQuery(); @@ -1639,6 +1854,16 @@ void main() { }); }); + unittest.group('obj-schema-Status', () { + unittest.test('to-json--from-json', () async { + final o = buildStatus(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Status.fromJson(oJson as core.Map); + checkStatus(od); + }); + }); + unittest.group('obj-schema-UpdateEntitiesWithConditionsResponse', () { unittest.test('to-json--from-json', () async { final o = buildUpdateEntitiesWithConditionsResponse(); @@ -2498,7 +2723,7 @@ void main() { final arg_conditions = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; - final arg_sortBy = buildUnnamed24(); + final arg_sortBy = buildUnnamed28(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -2702,4 +2927,78 @@ void main() { response as api.UpdateEntitiesWithConditionsResponse); }); }); + + unittest.group( + 'resource-ProjectsLocationsConnectionsEntityTypesEntitieswithaclsResource', + () { + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.ConnectorsApi(mock) + .projects + .locations + .connections + .entityTypes + .entitieswithacls; + final arg_parent = 'foo'; + final arg_conditions = 'foo'; + final arg_gsutilUri = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + 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('v2/'), + ); + 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['conditions']!.first, + unittest.equals(arg_conditions), + ); + unittest.expect( + queryMap['gsutilUri']!.first, + unittest.equals(arg_gsutilUri), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + conditions: arg_conditions, + gsutilUri: arg_gsutilUri, + $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + }); } diff --git a/generated/googleapis/test/contactcenterinsights/v1_test.dart b/generated/googleapis/test/contactcenterinsights/v1_test.dart index e252ac576..b785a4beb 100644 --- a/generated/googleapis/test/contactcenterinsights/v1_test.dart +++ b/generated/googleapis/test/contactcenterinsights/v1_test.dart @@ -25,292 +25,6 @@ import 'package:test/test.dart' as unittest; import '../test_shared.dart'; -core.Map buildUnnamed0() => { - 'x': 'foo', - 'y': 'foo', - }; - -void checkUnnamed0(core.Map o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o['x']!, - unittest.equals('foo'), - ); - unittest.expect( - o['y']!, - unittest.equals('foo'), - ); -} - -core.int - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingInstruction = 0; -api.GoogleCloudContactcenterinsightsV1AgentCoachingInstruction - buildGoogleCloudContactcenterinsightsV1AgentCoachingInstruction() { - final o = api.GoogleCloudContactcenterinsightsV1AgentCoachingInstruction(); - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingInstruction++; - if (buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingInstruction < - 3) { - o.agentAction = 'foo'; - o.condition = 'foo'; - o.description = 'foo'; - o.displayName = 'foo'; - o.metadata = buildUnnamed0(); - o.systemAction = 'foo'; - } - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingInstruction--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1AgentCoachingInstruction( - api.GoogleCloudContactcenterinsightsV1AgentCoachingInstruction o) { - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingInstruction++; - if (buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingInstruction < - 3) { - unittest.expect( - o.agentAction!, - unittest.equals('foo'), - ); - unittest.expect( - o.condition!, - unittest.equals('foo'), - ); - unittest.expect( - o.description!, - unittest.equals('foo'), - ); - unittest.expect( - o.displayName!, - unittest.equals('foo'), - ); - checkUnnamed0(o.metadata!); - unittest.expect( - o.systemAction!, - unittest.equals('foo'), - ); - } - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingInstruction--; -} - -core.List< - api - .GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion> - buildUnnamed1() => [ - buildGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion(), - buildGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion(), - ]; - -void checkUnnamed1( - core.List< - api - .GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion> - o) { - unittest.expect(o, unittest.hasLength(2)); - checkGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion( - o[0]); - checkGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion( - o[1]); -} - -core.List - buildUnnamed2() => [ - buildGoogleCloudContactcenterinsightsV1AgentCoachingInstruction(), - buildGoogleCloudContactcenterinsightsV1AgentCoachingInstruction(), - ]; - -void checkUnnamed2( - core.List - o) { - unittest.expect(o, unittest.hasLength(2)); - checkGoogleCloudContactcenterinsightsV1AgentCoachingInstruction(o[0]); - checkGoogleCloudContactcenterinsightsV1AgentCoachingInstruction(o[1]); -} - -core.List< - api - .GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse> - buildUnnamed3() => [ - buildGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse(), - buildGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse(), - ]; - -void checkUnnamed3( - core.List< - api - .GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse> - o) { - unittest.expect(o, unittest.hasLength(2)); - checkGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse( - o[0]); - checkGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse( - o[1]); -} - -core.int buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestion = - 0; -api.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion - buildGoogleCloudContactcenterinsightsV1AgentCoachingSuggestion() { - final o = api.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion(); - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestion++; - if (buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestion < - 3) { - o.agentActionSuggestions = buildUnnamed1(); - o.applicableInstructions = buildUnnamed2(); - o.sampleResponses = buildUnnamed3(); - o.suggestionEval = - buildGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval(); - o.suggestionReasoning = - buildGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning(); - } - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestion--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1AgentCoachingSuggestion( - api.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion o) { - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestion++; - if (buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestion < - 3) { - checkUnnamed1(o.agentActionSuggestions!); - checkUnnamed2(o.applicableInstructions!); - checkUnnamed3(o.sampleResponses!); - checkGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval( - o.suggestionEval!); - checkGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning( - o.suggestionReasoning!); - } - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestion--; -} - -core.int - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion = - 0; -api.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion - buildGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion() { - final o = api - .GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion(); - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion++; - if (buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion < - 3) { - o.agentAction = 'foo'; - } - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion( - api.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion - o) { - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion++; - if (buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion < - 3) { - unittest.expect( - o.agentAction!, - unittest.equals('foo'), - ); - } - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion--; -} - -core.int - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval = - 0; -api.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval - buildGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval() { - final o = api - .GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval(); - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval++; - if (buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval < - 3) { - o.actionActionSuggestionEval = 'foo'; - o.sampleResponseEval = 'foo'; - } - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval( - api.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval - o) { - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval++; - if (buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval < - 3) { - unittest.expect( - o.actionActionSuggestionEval!, - unittest.equals('foo'), - ); - unittest.expect( - o.sampleResponseEval!, - unittest.equals('foo'), - ); - } - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval--; -} - -core.int - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning = - 0; -api.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning - buildGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning() { - final o = api - .GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning(); - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning++; - if (buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning < - 3) { - o.agentActionTaken = 'foo'; - o.issueSummary = 'foo'; - } - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning( - api.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning - o) { - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning++; - if (buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning < - 3) { - unittest.expect( - o.agentActionTaken!, - unittest.equals('foo'), - ); - unittest.expect( - o.issueSummary!, - unittest.equals('foo'), - ); - } - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning--; -} - -core.int - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse = - 0; -api.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse - buildGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse() { - final o = api - .GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse(); - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse++; - if (buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse < - 3) { - o.responseText = 'foo'; - } - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse( - api.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse - o) { - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse++; - if (buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse < - 3) { - unittest.expect( - o.responseText!, - unittest.equals('foo'), - ); - } - buildCounterGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse--; -} - core.int buildCounterGoogleCloudContactcenterinsightsV1Analysis = 0; api.GoogleCloudContactcenterinsightsV1Analysis buildGoogleCloudContactcenterinsightsV1Analysis() { @@ -380,12 +94,12 @@ void checkGoogleCloudContactcenterinsightsV1AnalysisResult( } core.List - buildUnnamed4() => [ + buildUnnamed0() => [ buildGoogleCloudContactcenterinsightsV1CallAnnotation(), buildGoogleCloudContactcenterinsightsV1CallAnnotation(), ]; -void checkUnnamed4( +void checkUnnamed0( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudContactcenterinsightsV1CallAnnotation(o[0]); @@ -393,12 +107,12 @@ void checkUnnamed4( } core.Map - buildUnnamed5() => { + buildUnnamed1() => { 'x': buildGoogleCloudContactcenterinsightsV1Entity(), 'y': buildGoogleCloudContactcenterinsightsV1Entity(), }; -void checkUnnamed5( +void checkUnnamed1( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudContactcenterinsightsV1Entity(o['x']!); @@ -406,12 +120,12 @@ void checkUnnamed5( } core.Map - buildUnnamed6() => { + buildUnnamed2() => { 'x': buildGoogleCloudContactcenterinsightsV1Intent(), 'y': buildGoogleCloudContactcenterinsightsV1Intent(), }; -void checkUnnamed6( +void checkUnnamed2( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudContactcenterinsightsV1Intent(o['x']!); @@ -419,12 +133,12 @@ void checkUnnamed6( } core.Map - buildUnnamed7() => { + buildUnnamed3() => { 'x': buildGoogleCloudContactcenterinsightsV1PhraseMatchData(), 'y': buildGoogleCloudContactcenterinsightsV1PhraseMatchData(), }; -void checkUnnamed7( +void checkUnnamed3( core.Map o) { unittest.expect(o, unittest.hasLength(2)); @@ -433,12 +147,12 @@ void checkUnnamed7( } core.List - buildUnnamed8() => [ + buildUnnamed4() => [ buildGoogleCloudContactcenterinsightsV1ConversationLevelSentiment(), buildGoogleCloudContactcenterinsightsV1ConversationLevelSentiment(), ]; -void checkUnnamed8( +void checkUnnamed4( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -456,13 +170,13 @@ api.GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata buildCounterGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata++; if (buildCounterGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata < 3) { - o.annotations = buildUnnamed4(); - o.entities = buildUnnamed5(); - o.intents = buildUnnamed6(); + o.annotations = buildUnnamed0(); + o.entities = buildUnnamed1(); + o.intents = buildUnnamed2(); o.issueModelResult = buildGoogleCloudContactcenterinsightsV1IssueModelResult(); - o.phraseMatchers = buildUnnamed7(); - o.sentiments = buildUnnamed8(); + o.phraseMatchers = buildUnnamed3(); + o.sentiments = buildUnnamed4(); o.silence = buildGoogleCloudContactcenterinsightsV1ConversationLevelSilence(); } @@ -476,13 +190,13 @@ void checkGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata( buildCounterGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata++; if (buildCounterGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata < 3) { - checkUnnamed4(o.annotations!); - checkUnnamed5(o.entities!); - checkUnnamed6(o.intents!); + checkUnnamed0(o.annotations!); + checkUnnamed1(o.entities!); + checkUnnamed2(o.intents!); checkGoogleCloudContactcenterinsightsV1IssueModelResult( o.issueModelResult!); - checkUnnamed7(o.phraseMatchers!); - checkUnnamed8(o.sentiments!); + checkUnnamed3(o.phraseMatchers!); + checkUnnamed4(o.sentiments!); checkGoogleCloudContactcenterinsightsV1ConversationLevelSilence(o.silence!); } buildCounterGoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata--; @@ -517,12 +231,12 @@ void checkGoogleCloudContactcenterinsightsV1AnnotationBoundary( buildCounterGoogleCloudContactcenterinsightsV1AnnotationBoundary--; } -core.List buildUnnamed9() => [ +core.List buildUnnamed5() => [ 'foo', 'foo', ]; -void checkUnnamed9(core.List o) { +void checkUnnamed5(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -534,12 +248,12 @@ void checkUnnamed9(core.List o) { ); } -core.List buildUnnamed10() => [ +core.List buildUnnamed6() => [ 'foo', 'foo', ]; -void checkUnnamed10(core.List o) { +void checkUnnamed6(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -557,8 +271,8 @@ api.GoogleCloudContactcenterinsightsV1AnnotatorSelector final o = api.GoogleCloudContactcenterinsightsV1AnnotatorSelector(); buildCounterGoogleCloudContactcenterinsightsV1AnnotatorSelector++; if (buildCounterGoogleCloudContactcenterinsightsV1AnnotatorSelector < 3) { - o.issueModels = buildUnnamed9(); - o.phraseMatchers = buildUnnamed10(); + o.issueModels = buildUnnamed5(); + o.phraseMatchers = buildUnnamed6(); o.runEntityAnnotator = true; o.runIntentAnnotator = true; o.runInterruptionAnnotator = true; @@ -578,8 +292,8 @@ void checkGoogleCloudContactcenterinsightsV1AnnotatorSelector( api.GoogleCloudContactcenterinsightsV1AnnotatorSelector o) { buildCounterGoogleCloudContactcenterinsightsV1AnnotatorSelector++; if (buildCounterGoogleCloudContactcenterinsightsV1AnnotatorSelector < 3) { - checkUnnamed9(o.issueModels!); - checkUnnamed10(o.phraseMatchers!); + checkUnnamed5(o.issueModels!); + checkUnnamed6(o.phraseMatchers!); unittest.expect(o.runEntityAnnotator!, unittest.isTrue); unittest.expect(o.runIntentAnnotator!, unittest.isTrue); unittest.expect(o.runInterruptionAnnotator!, unittest.isTrue); @@ -657,12 +371,12 @@ void checkGoogleCloudContactcenterinsightsV1AnswerFeedback( buildCounterGoogleCloudContactcenterinsightsV1AnswerFeedback--; } -core.Map buildUnnamed11() => { +core.Map buildUnnamed7() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed11(core.Map o) { +void checkUnnamed7(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -682,7 +396,7 @@ api.GoogleCloudContactcenterinsightsV1ArticleSuggestionData buildCounterGoogleCloudContactcenterinsightsV1ArticleSuggestionData++; if (buildCounterGoogleCloudContactcenterinsightsV1ArticleSuggestionData < 3) { o.confidenceScore = 42.0; - o.metadata = buildUnnamed11(); + o.metadata = buildUnnamed7(); o.queryRecord = 'foo'; o.source = 'foo'; o.title = 'foo'; @@ -700,7 +414,7 @@ void checkGoogleCloudContactcenterinsightsV1ArticleSuggestionData( o.confidenceScore!, unittest.equals(42.0), ); - checkUnnamed11(o.metadata!); + checkUnnamed7(o.metadata!); unittest.expect( o.queryRecord!, unittest.equals('foo'), @@ -833,12 +547,12 @@ void checkGoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse( buildCounterGoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse--; } -core.Map buildUnnamed12() => { +core.Map buildUnnamed8() => { 'x': 42, 'y': 42, }; -void checkUnnamed12(core.Map o) { +void checkUnnamed8(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -850,12 +564,12 @@ void checkUnnamed12(core.Map o) { ); } -core.Map buildUnnamed13() => { +core.Map buildUnnamed9() => { 'x': 42, 'y': 42, }; -void checkUnnamed13(core.Map o) { +void checkUnnamed9(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -869,14 +583,14 @@ void checkUnnamed13(core.Map o) { core.Map - buildUnnamed14() => { + buildUnnamed10() => { 'x': buildGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats(), 'y': buildGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats(), }; -void checkUnnamed14( +void checkUnnamed10( core.Map< core.String, api @@ -889,12 +603,12 @@ void checkUnnamed14( o['y']!); } -core.Map buildUnnamed15() => { +core.Map buildUnnamed11() => { 'x': 42, 'y': 42, }; -void checkUnnamed15(core.Map o) { +void checkUnnamed11(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -919,10 +633,10 @@ api.GoogleCloudContactcenterinsightsV1CalculateStatsResponse o.conversationCount = 42; o.conversationCountTimeSeries = buildGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries(); - o.customHighlighterMatches = buildUnnamed12(); - o.issueMatches = buildUnnamed13(); - o.issueMatchesStats = buildUnnamed14(); - o.smartHighlighterMatches = buildUnnamed15(); + o.customHighlighterMatches = buildUnnamed8(); + o.issueMatches = buildUnnamed9(); + o.issueMatchesStats = buildUnnamed10(); + o.smartHighlighterMatches = buildUnnamed11(); } buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponse--; return o; @@ -947,10 +661,10 @@ void checkGoogleCloudContactcenterinsightsV1CalculateStatsResponse( ); checkGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries( o.conversationCountTimeSeries!); - checkUnnamed12(o.customHighlighterMatches!); - checkUnnamed13(o.issueMatches!); - checkUnnamed14(o.issueMatchesStats!); - checkUnnamed15(o.smartHighlighterMatches!); + checkUnnamed8(o.customHighlighterMatches!); + checkUnnamed9(o.issueMatches!); + checkUnnamed10(o.issueMatchesStats!); + checkUnnamed11(o.smartHighlighterMatches!); } buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponse--; } @@ -958,12 +672,12 @@ void checkGoogleCloudContactcenterinsightsV1CalculateStatsResponse( core.List< api .GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval> - buildUnnamed16() => [ + buildUnnamed12() => [ buildGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval(), buildGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval(), ]; -void checkUnnamed16( +void checkUnnamed12( core.List< api .GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval> @@ -986,7 +700,7 @@ api.GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries if (buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries < 3) { o.intervalDuration = 'foo'; - o.points = buildUnnamed16(); + o.points = buildUnnamed12(); } buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries--; return o; @@ -1001,7 +715,7 @@ void checkGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries( o.intervalDuration!, unittest.equals('foo'), ); - checkUnnamed16(o.points!); + checkUnnamed12(o.points!); } buildCounterGoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries--; } @@ -1096,12 +810,12 @@ void checkGoogleCloudContactcenterinsightsV1CallAnnotation( } core.Map - buildUnnamed17() => { + buildUnnamed13() => { 'x': buildGoogleCloudContactcenterinsightsV1DialogflowIntent(), 'y': buildGoogleCloudContactcenterinsightsV1DialogflowIntent(), }; -void checkUnnamed17( +void checkUnnamed13( core.Map o) { @@ -1110,12 +824,12 @@ void checkUnnamed17( checkGoogleCloudContactcenterinsightsV1DialogflowIntent(o['y']!); } -core.Map buildUnnamed18() => { +core.Map buildUnnamed14() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed18(core.Map o) { +void checkUnnamed14(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1128,12 +842,12 @@ void checkUnnamed18(core.Map o) { } core.List - buildUnnamed19() => [ + buildUnnamed15() => [ buildGoogleCloudContactcenterinsightsV1RuntimeAnnotation(), buildGoogleCloudContactcenterinsightsV1RuntimeAnnotation(), ]; -void checkUnnamed19( +void checkUnnamed15( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudContactcenterinsightsV1RuntimeAnnotation(o[0]); @@ -1152,10 +866,10 @@ api.GoogleCloudContactcenterinsightsV1Conversation o.createTime = 'foo'; o.dataSource = buildGoogleCloudContactcenterinsightsV1ConversationDataSource(); - o.dialogflowIntents = buildUnnamed17(); + o.dialogflowIntents = buildUnnamed13(); o.duration = 'foo'; o.expireTime = 'foo'; - o.labels = buildUnnamed18(); + o.labels = buildUnnamed14(); o.languageCode = 'foo'; o.latestAnalysis = buildGoogleCloudContactcenterinsightsV1Analysis(); o.latestSummary = @@ -1165,7 +879,7 @@ api.GoogleCloudContactcenterinsightsV1Conversation o.obfuscatedUserId = 'foo'; o.qualityMetadata = buildGoogleCloudContactcenterinsightsV1ConversationQualityMetadata(); - o.runtimeAnnotations = buildUnnamed19(); + o.runtimeAnnotations = buildUnnamed15(); o.startTime = 'foo'; o.transcript = buildGoogleCloudContactcenterinsightsV1ConversationTranscript(); @@ -1193,7 +907,7 @@ void checkGoogleCloudContactcenterinsightsV1Conversation( ); checkGoogleCloudContactcenterinsightsV1ConversationDataSource( o.dataSource!); - checkUnnamed17(o.dialogflowIntents!); + checkUnnamed13(o.dialogflowIntents!); unittest.expect( o.duration!, unittest.equals('foo'), @@ -1202,7 +916,7 @@ void checkGoogleCloudContactcenterinsightsV1Conversation( o.expireTime!, unittest.equals('foo'), ); - checkUnnamed18(o.labels!); + checkUnnamed14(o.labels!); unittest.expect( o.languageCode!, unittest.equals('foo'), @@ -1224,7 +938,7 @@ void checkGoogleCloudContactcenterinsightsV1Conversation( ); checkGoogleCloudContactcenterinsightsV1ConversationQualityMetadata( o.qualityMetadata!); - checkUnnamed19(o.runtimeAnnotations!); + checkUnnamed15(o.runtimeAnnotations!); unittest.expect( o.startTime!, unittest.equals('foo'), @@ -1419,12 +1133,12 @@ void checkGoogleCloudContactcenterinsightsV1ConversationParticipant( core.List< api .GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo> - buildUnnamed20() => [ + buildUnnamed16() => [ buildGoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo(), buildGoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo(), ]; -void checkUnnamed20( +void checkUnnamed16( core.List< api .GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo> @@ -1445,7 +1159,7 @@ api.GoogleCloudContactcenterinsightsV1ConversationQualityMetadata buildCounterGoogleCloudContactcenterinsightsV1ConversationQualityMetadata++; if (buildCounterGoogleCloudContactcenterinsightsV1ConversationQualityMetadata < 3) { - o.agentInfo = buildUnnamed20(); + o.agentInfo = buildUnnamed16(); o.customerSatisfactionRating = 42; o.menuPath = 'foo'; o.waitDuration = 'foo'; @@ -1459,7 +1173,7 @@ void checkGoogleCloudContactcenterinsightsV1ConversationQualityMetadata( buildCounterGoogleCloudContactcenterinsightsV1ConversationQualityMetadata++; if (buildCounterGoogleCloudContactcenterinsightsV1ConversationQualityMetadata < 3) { - checkUnnamed20(o.agentInfo!); + checkUnnamed16(o.agentInfo!); unittest.expect( o.customerSatisfactionRating!, unittest.equals(42), @@ -1521,12 +1235,12 @@ void checkGoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo buildCounterGoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo--; } -core.Map buildUnnamed21() => { +core.Map buildUnnamed17() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed21(core.Map o) { +void checkUnnamed17(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1538,12 +1252,12 @@ void checkUnnamed21(core.Map o) { ); } -core.Map buildUnnamed22() => { +core.Map buildUnnamed18() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed22(core.Map o) { +void checkUnnamed18(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1568,9 +1282,9 @@ api.GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData o.answerRecord = 'foo'; o.confidence = 42.0; o.conversationModel = 'foo'; - o.metadata = buildUnnamed21(); + o.metadata = buildUnnamed17(); o.text = 'foo'; - o.textSections = buildUnnamed22(); + o.textSections = buildUnnamed18(); } buildCounterGoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData--; return o; @@ -1594,12 +1308,12 @@ void checkGoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionD o.conversationModel!, unittest.equals('foo'), ); - checkUnnamed21(o.metadata!); + checkUnnamed17(o.metadata!); unittest.expect( o.text!, unittest.equals('foo'), ); - checkUnnamed22(o.textSections!); + checkUnnamed18(o.textSections!); } buildCounterGoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData--; } @@ -1607,12 +1321,12 @@ void checkGoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionD core.List< api .GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment> - buildUnnamed23() => [ + buildUnnamed19() => [ buildGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment(), buildGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment(), ]; -void checkUnnamed23( +void checkUnnamed19( core.List< api .GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment> @@ -1632,7 +1346,7 @@ api.GoogleCloudContactcenterinsightsV1ConversationTranscript buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscript++; if (buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscript < 3) { - o.transcriptSegments = buildUnnamed23(); + o.transcriptSegments = buildUnnamed19(); } buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscript--; return o; @@ -1643,7 +1357,7 @@ void checkGoogleCloudContactcenterinsightsV1ConversationTranscript( buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscript++; if (buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscript < 3) { - checkUnnamed23(o.transcriptSegments!); + checkUnnamed19(o.transcriptSegments!); } buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscript--; } @@ -1651,12 +1365,12 @@ void checkGoogleCloudContactcenterinsightsV1ConversationTranscript( core.List< api .GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo> - buildUnnamed24() => [ + buildUnnamed20() => [ buildGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo(), buildGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo(), ]; -void checkUnnamed24( +void checkUnnamed20( core.List< api .GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo> @@ -1688,7 +1402,7 @@ api.GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment buildGoogleCloudContactcenterinsightsV1ConversationParticipant(); o.sentiment = buildGoogleCloudContactcenterinsightsV1SentimentData(); o.text = 'foo'; - o.words = buildUnnamed24(); + o.words = buildUnnamed20(); } buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment--; return o; @@ -1725,7 +1439,7 @@ void checkGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegm o.text!, unittest.equals('foo'), ); - checkUnnamed24(o.words!); + checkUnnamed20(o.words!); } buildCounterGoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment--; } @@ -1914,12 +1628,12 @@ void checkGoogleCloudContactcenterinsightsV1DialogflowSource( buildCounterGoogleCloudContactcenterinsightsV1DialogflowSource--; } -core.Map buildUnnamed25() => { +core.Map buildUnnamed21() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed25(core.Map o) { +void checkUnnamed21(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1938,7 +1652,7 @@ api.GoogleCloudContactcenterinsightsV1Entity buildCounterGoogleCloudContactcenterinsightsV1Entity++; if (buildCounterGoogleCloudContactcenterinsightsV1Entity < 3) { o.displayName = 'foo'; - o.metadata = buildUnnamed25(); + o.metadata = buildUnnamed21(); o.salience = 42.0; o.sentiment = buildGoogleCloudContactcenterinsightsV1SentimentData(); o.type = 'foo'; @@ -1955,7 +1669,7 @@ void checkGoogleCloudContactcenterinsightsV1Entity( o.displayName!, unittest.equals('foo'), ); - checkUnnamed25(o.metadata!); + checkUnnamed21(o.metadata!); unittest.expect( o.salience!, unittest.equals(42.0), @@ -2168,12 +1882,12 @@ void checkGoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestinatio buildCounterGoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination--; } -core.Map buildUnnamed26() => { +core.Map buildUnnamed22() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed26(core.Map o) { +void checkUnnamed22(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2193,7 +1907,7 @@ api.GoogleCloudContactcenterinsightsV1FaqAnswerData if (buildCounterGoogleCloudContactcenterinsightsV1FaqAnswerData < 3) { o.answer = 'foo'; o.confidenceScore = 42.0; - o.metadata = buildUnnamed26(); + o.metadata = buildUnnamed22(); o.queryRecord = 'foo'; o.question = 'foo'; o.source = 'foo'; @@ -2214,7 +1928,7 @@ void checkGoogleCloudContactcenterinsightsV1FaqAnswerData( o.confidenceScore!, unittest.equals(42.0), ); - checkUnnamed26(o.metadata!); + checkUnnamed22(o.metadata!); unittest.expect( o.queryRecord!, unittest.equals('foo'), @@ -2231,49 +1945,6 @@ void checkGoogleCloudContactcenterinsightsV1FaqAnswerData( buildCounterGoogleCloudContactcenterinsightsV1FaqAnswerData--; } -core.List buildUnnamed27() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed27(core.List o) { - unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); -} - -core.int buildCounterGoogleCloudContactcenterinsightsV1FreeFormSuggestion = 0; -api.GoogleCloudContactcenterinsightsV1FreeFormSuggestion - buildGoogleCloudContactcenterinsightsV1FreeFormSuggestion() { - final o = api.GoogleCloudContactcenterinsightsV1FreeFormSuggestion(); - buildCounterGoogleCloudContactcenterinsightsV1FreeFormSuggestion++; - if (buildCounterGoogleCloudContactcenterinsightsV1FreeFormSuggestion < 3) { - o.labels = buildUnnamed27(); - o.response = 'foo'; - } - buildCounterGoogleCloudContactcenterinsightsV1FreeFormSuggestion--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1FreeFormSuggestion( - api.GoogleCloudContactcenterinsightsV1FreeFormSuggestion o) { - buildCounterGoogleCloudContactcenterinsightsV1FreeFormSuggestion++; - if (buildCounterGoogleCloudContactcenterinsightsV1FreeFormSuggestion < 3) { - checkUnnamed27(o.labels!); - unittest.expect( - o.response!, - unittest.equals('foo'), - ); - } - buildCounterGoogleCloudContactcenterinsightsV1FreeFormSuggestion--; -} - core.int buildCounterGoogleCloudContactcenterinsightsV1GcsSource = 0; api.GoogleCloudContactcenterinsightsV1GcsSource buildGoogleCloudContactcenterinsightsV1GcsSource() { @@ -2303,392 +1974,58 @@ void checkGoogleCloudContactcenterinsightsV1GcsSource( buildCounterGoogleCloudContactcenterinsightsV1GcsSource--; } -core.int buildCounterGoogleCloudContactcenterinsightsV1GeneratorSuggestion = 0; -api.GoogleCloudContactcenterinsightsV1GeneratorSuggestion - buildGoogleCloudContactcenterinsightsV1GeneratorSuggestion() { - final o = api.GoogleCloudContactcenterinsightsV1GeneratorSuggestion(); - buildCounterGoogleCloudContactcenterinsightsV1GeneratorSuggestion++; - if (buildCounterGoogleCloudContactcenterinsightsV1GeneratorSuggestion < 3) { - o.agentCoachingSuggestion = - buildGoogleCloudContactcenterinsightsV1AgentCoachingSuggestion(); - o.freeFormSuggestion = - buildGoogleCloudContactcenterinsightsV1FreeFormSuggestion(); - o.summarySuggestion = - buildGoogleCloudContactcenterinsightsV1SummarySuggestion(); - } - buildCounterGoogleCloudContactcenterinsightsV1GeneratorSuggestion--; +core.int buildCounterGoogleCloudContactcenterinsightsV1HoldData = 0; +api.GoogleCloudContactcenterinsightsV1HoldData + buildGoogleCloudContactcenterinsightsV1HoldData() { + final o = api.GoogleCloudContactcenterinsightsV1HoldData(); + buildCounterGoogleCloudContactcenterinsightsV1HoldData++; + if (buildCounterGoogleCloudContactcenterinsightsV1HoldData < 3) {} + buildCounterGoogleCloudContactcenterinsightsV1HoldData--; return o; } -void checkGoogleCloudContactcenterinsightsV1GeneratorSuggestion( - api.GoogleCloudContactcenterinsightsV1GeneratorSuggestion o) { - buildCounterGoogleCloudContactcenterinsightsV1GeneratorSuggestion++; - if (buildCounterGoogleCloudContactcenterinsightsV1GeneratorSuggestion < 3) { - checkGoogleCloudContactcenterinsightsV1AgentCoachingSuggestion( - o.agentCoachingSuggestion!); - checkGoogleCloudContactcenterinsightsV1FreeFormSuggestion( - o.freeFormSuggestion!); - checkGoogleCloudContactcenterinsightsV1SummarySuggestion( - o.summarySuggestion!); - } - buildCounterGoogleCloudContactcenterinsightsV1GeneratorSuggestion--; +void checkGoogleCloudContactcenterinsightsV1HoldData( + api.GoogleCloudContactcenterinsightsV1HoldData o) { + buildCounterGoogleCloudContactcenterinsightsV1HoldData++; + if (buildCounterGoogleCloudContactcenterinsightsV1HoldData < 3) {} + buildCounterGoogleCloudContactcenterinsightsV1HoldData--; } -core.int - buildCounterGoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse = +core.int buildCounterGoogleCloudContactcenterinsightsV1ImportIssueModelRequest = 0; -api.GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse - buildGoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse() { - final o = - api.GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse(); - buildCounterGoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse++; - if (buildCounterGoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse < +api.GoogleCloudContactcenterinsightsV1ImportIssueModelRequest + buildGoogleCloudContactcenterinsightsV1ImportIssueModelRequest() { + final o = api.GoogleCloudContactcenterinsightsV1ImportIssueModelRequest(); + buildCounterGoogleCloudContactcenterinsightsV1ImportIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1ImportIssueModelRequest < 3) { - o.generatorSuggestion = - buildGoogleCloudContactcenterinsightsV1GeneratorSuggestion(); + o.createNewModel = true; + o.gcsSource = + buildGoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource(); + o.parent = 'foo'; } - buildCounterGoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse--; + buildCounterGoogleCloudContactcenterinsightsV1ImportIssueModelRequest--; return o; } -void checkGoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse( - api.GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse o) { - buildCounterGoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse++; - if (buildCounterGoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse < +void checkGoogleCloudContactcenterinsightsV1ImportIssueModelRequest( + api.GoogleCloudContactcenterinsightsV1ImportIssueModelRequest o) { + buildCounterGoogleCloudContactcenterinsightsV1ImportIssueModelRequest++; + if (buildCounterGoogleCloudContactcenterinsightsV1ImportIssueModelRequest < 3) { - checkGoogleCloudContactcenterinsightsV1GeneratorSuggestion( - o.generatorSuggestion!); + unittest.expect(o.createNewModel!, unittest.isTrue); + checkGoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource( + o.gcsSource!); + unittest.expect( + o.parent!, + unittest.equals('foo'), + ); } - buildCounterGoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse--; + buildCounterGoogleCloudContactcenterinsightsV1ImportIssueModelRequest--; } core.int - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse = - 0; -api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse() { - final o = api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse(); - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse++; - if (buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse < - 3) { - o.suggestedQuery = - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery(); - o.suggestedQueryAnswer = - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer(); - } - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse( - api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse o) { - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse++; - if (buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse < - 3) { - checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery( - o.suggestedQuery!); - checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer( - o.suggestedQueryAnswer!); - } - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse--; -} - -core.int - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer = - 0; -api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer() { - final o = api - .GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer(); - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer++; - if (buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer < - 3) { - o.answerText = 'foo'; - o.faqSource = - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource(); - o.generativeSource = - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource(); - o.intentMatchingSource = - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource(); - o.matchConfidence = 42.0; - } - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer( - api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer - o) { - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer++; - if (buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer < - 3) { - unittest.expect( - o.answerText!, - unittest.equals('foo'), - ); - checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource( - o.faqSource!); - checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource( - o.generativeSource!); - checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource( - o.intentMatchingSource!); - unittest.expect( - o.matchConfidence!, - unittest.equals(42.0), - ); - } - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer--; -} - -core.int - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource = - 0; -api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource() { - final o = api - .GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource(); - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource++; - if (buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource < - 3) { - o.document = 'foo'; - o.question = 'foo'; - } - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource( - api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource - o) { - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource++; - if (buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource < - 3) { - unittest.expect( - o.document!, - unittest.equals('foo'), - ); - unittest.expect( - o.question!, - unittest.equals('foo'), - ); - } - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource--; -} - -core.List< - api - .GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet> - buildUnnamed28() => [ - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet(), - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet(), - ]; - -void checkUnnamed28( - core.List< - api - .GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet> - o) { - unittest.expect(o, unittest.hasLength(2)); - checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet( - o[0]); - checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet( - o[1]); -} - -core.int - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource = - 0; -api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource() { - final o = api - .GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource(); - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource++; - if (buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource < - 3) { - o.snippets = buildUnnamed28(); - } - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource( - api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource - o) { - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource++; - if (buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource < - 3) { - checkUnnamed28(o.snippets!); - } - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource--; -} - -core.int - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet = - 0; -api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet() { - final o = api - .GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet(); - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet++; - if (buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet < - 3) { - o.document = 'foo'; - o.text = 'foo'; - o.title = 'foo'; - o.uri = 'foo'; - } - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet( - api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet - o) { - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet++; - if (buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet < - 3) { - unittest.expect( - o.document!, - unittest.equals('foo'), - ); - unittest.expect( - o.text!, - unittest.equals('foo'), - ); - unittest.expect( - o.title!, - unittest.equals('foo'), - ); - unittest.expect( - o.uri!, - unittest.equals('foo'), - ); - } - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet--; -} - -core.int - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource = - 0; -api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource() { - final o = api - .GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource(); - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource++; - if (buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource < - 3) { - o.title = 'foo'; - o.uri = 'foo'; - } - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource( - api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource - o) { - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource++; - if (buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource < - 3) { - unittest.expect( - o.title!, - unittest.equals('foo'), - ); - unittest.expect( - o.uri!, - unittest.equals('foo'), - ); - } - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource--; -} - -core.int - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery = - 0; -api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery() { - final o = api - .GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery(); - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery++; - if (buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery < - 3) { - o.queryText = 'foo'; - o.score = 42.0; - } - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery( - api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery - o) { - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery++; - if (buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery < - 3) { - unittest.expect( - o.queryText!, - unittest.equals('foo'), - ); - unittest.expect( - o.score!, - unittest.equals(42.0), - ); - } - buildCounterGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery--; -} - -core.int buildCounterGoogleCloudContactcenterinsightsV1HoldData = 0; -api.GoogleCloudContactcenterinsightsV1HoldData - buildGoogleCloudContactcenterinsightsV1HoldData() { - final o = api.GoogleCloudContactcenterinsightsV1HoldData(); - buildCounterGoogleCloudContactcenterinsightsV1HoldData++; - if (buildCounterGoogleCloudContactcenterinsightsV1HoldData < 3) {} - buildCounterGoogleCloudContactcenterinsightsV1HoldData--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1HoldData( - api.GoogleCloudContactcenterinsightsV1HoldData o) { - buildCounterGoogleCloudContactcenterinsightsV1HoldData++; - if (buildCounterGoogleCloudContactcenterinsightsV1HoldData < 3) {} - buildCounterGoogleCloudContactcenterinsightsV1HoldData--; -} - -core.int buildCounterGoogleCloudContactcenterinsightsV1ImportIssueModelRequest = - 0; -api.GoogleCloudContactcenterinsightsV1ImportIssueModelRequest - buildGoogleCloudContactcenterinsightsV1ImportIssueModelRequest() { - final o = api.GoogleCloudContactcenterinsightsV1ImportIssueModelRequest(); - buildCounterGoogleCloudContactcenterinsightsV1ImportIssueModelRequest++; - if (buildCounterGoogleCloudContactcenterinsightsV1ImportIssueModelRequest < - 3) { - o.createNewModel = true; - o.gcsSource = - buildGoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource(); - o.parent = 'foo'; - } - buildCounterGoogleCloudContactcenterinsightsV1ImportIssueModelRequest--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1ImportIssueModelRequest( - api.GoogleCloudContactcenterinsightsV1ImportIssueModelRequest o) { - buildCounterGoogleCloudContactcenterinsightsV1ImportIssueModelRequest++; - if (buildCounterGoogleCloudContactcenterinsightsV1ImportIssueModelRequest < - 3) { - unittest.expect(o.createNewModel!, unittest.isTrue); - checkGoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource( - o.gcsSource!); - unittest.expect( - o.parent!, - unittest.equals('foo'), - ); - } - buildCounterGoogleCloudContactcenterinsightsV1ImportIssueModelRequest--; -} - -core.int - buildCounterGoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource = + buildCounterGoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource = 0; api.GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource buildGoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource() { @@ -2806,12 +2143,12 @@ void checkGoogleCloudContactcenterinsightsV1IngestConversationsRequestConversati buildCounterGoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig--; } -core.List buildUnnamed29() => [ +core.List buildUnnamed23() => [ 'foo', 'foo', ]; -void checkUnnamed29(core.List o) { +void checkUnnamed23(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2835,7 +2172,7 @@ api.GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource 3) { o.bucketObjectType = 'foo'; o.bucketUri = 'foo'; - o.customMetadataKeys = buildUnnamed29(); + o.customMetadataKeys = buildUnnamed23(); o.metadataBucketUri = 'foo'; } buildCounterGoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource--; @@ -2856,7 +2193,7 @@ void checkGoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource( o.bucketUri!, unittest.equals('foo'), ); - checkUnnamed29(o.customMetadataKeys!); + checkUnnamed23(o.customMetadataKeys!); unittest.expect( o.metadataBucketUri!, unittest.equals('foo'), @@ -2965,12 +2302,12 @@ void checkGoogleCloudContactcenterinsightsV1InterruptionData( buildCounterGoogleCloudContactcenterinsightsV1InterruptionData--; } -core.List buildUnnamed30() => [ +core.List buildUnnamed24() => [ 'foo', 'foo', ]; -void checkUnnamed30(core.List o) { +void checkUnnamed24(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2991,7 +2328,7 @@ api.GoogleCloudContactcenterinsightsV1Issue o.createTime = 'foo'; o.displayName = 'foo'; o.name = 'foo'; - o.sampleUtterances = buildUnnamed30(); + o.sampleUtterances = buildUnnamed24(); o.updateTime = 'foo'; } buildCounterGoogleCloudContactcenterinsightsV1Issue--; @@ -3014,7 +2351,7 @@ void checkGoogleCloudContactcenterinsightsV1Issue( o.name!, unittest.equals('foo'), ); - checkUnnamed30(o.sampleUtterances!); + checkUnnamed24(o.sampleUtterances!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -3185,14 +2522,14 @@ void checkGoogleCloudContactcenterinsightsV1IssueModelInputDataConfig( core.Map - buildUnnamed31() => { + buildUnnamed25() => { 'x': buildGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats(), 'y': buildGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats(), }; -void checkUnnamed31( +void checkUnnamed25( core.Map< core.String, api @@ -3212,7 +2549,7 @@ api.GoogleCloudContactcenterinsightsV1IssueModelLabelStats buildCounterGoogleCloudContactcenterinsightsV1IssueModelLabelStats++; if (buildCounterGoogleCloudContactcenterinsightsV1IssueModelLabelStats < 3) { o.analyzedConversationsCount = 'foo'; - o.issueStats = buildUnnamed31(); + o.issueStats = buildUnnamed25(); o.unclassifiedConversationsCount = 'foo'; } buildCounterGoogleCloudContactcenterinsightsV1IssueModelLabelStats--; @@ -3227,7 +2564,7 @@ void checkGoogleCloudContactcenterinsightsV1IssueModelLabelStats( o.analyzedConversationsCount!, unittest.equals('foo'), ); - checkUnnamed31(o.issueStats!); + checkUnnamed25(o.issueStats!); unittest.expect( o.unclassifiedConversationsCount!, unittest.equals('foo'), @@ -3276,12 +2613,12 @@ void checkGoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats( } core.List - buildUnnamed32() => [ + buildUnnamed26() => [ buildGoogleCloudContactcenterinsightsV1IssueAssignment(), buildGoogleCloudContactcenterinsightsV1IssueAssignment(), ]; -void checkUnnamed32( +void checkUnnamed26( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudContactcenterinsightsV1IssueAssignment(o[0]); @@ -3295,7 +2632,7 @@ api.GoogleCloudContactcenterinsightsV1IssueModelResult buildCounterGoogleCloudContactcenterinsightsV1IssueModelResult++; if (buildCounterGoogleCloudContactcenterinsightsV1IssueModelResult < 3) { o.issueModel = 'foo'; - o.issues = buildUnnamed32(); + o.issues = buildUnnamed26(); } buildCounterGoogleCloudContactcenterinsightsV1IssueModelResult--; return o; @@ -3309,17 +2646,17 @@ void checkGoogleCloudContactcenterinsightsV1IssueModelResult( o.issueModel!, unittest.equals('foo'), ); - checkUnnamed32(o.issues!); + checkUnnamed26(o.issues!); } buildCounterGoogleCloudContactcenterinsightsV1IssueModelResult--; } -core.List buildUnnamed33() => [ +core.List buildUnnamed27() => [ buildGoogleCloudContactcenterinsightsV1Analysis(), buildGoogleCloudContactcenterinsightsV1Analysis(), ]; -void checkUnnamed33( +void checkUnnamed27( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudContactcenterinsightsV1Analysis(o[0]); @@ -3332,7 +2669,7 @@ api.GoogleCloudContactcenterinsightsV1ListAnalysesResponse final o = api.GoogleCloudContactcenterinsightsV1ListAnalysesResponse(); buildCounterGoogleCloudContactcenterinsightsV1ListAnalysesResponse++; if (buildCounterGoogleCloudContactcenterinsightsV1ListAnalysesResponse < 3) { - o.analyses = buildUnnamed33(); + o.analyses = buildUnnamed27(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudContactcenterinsightsV1ListAnalysesResponse--; @@ -3343,7 +2680,7 @@ void checkGoogleCloudContactcenterinsightsV1ListAnalysesResponse( api.GoogleCloudContactcenterinsightsV1ListAnalysesResponse o) { buildCounterGoogleCloudContactcenterinsightsV1ListAnalysesResponse++; if (buildCounterGoogleCloudContactcenterinsightsV1ListAnalysesResponse < 3) { - checkUnnamed33(o.analyses!); + checkUnnamed27(o.analyses!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3353,12 +2690,12 @@ void checkGoogleCloudContactcenterinsightsV1ListAnalysesResponse( } core.List - buildUnnamed34() => [ + buildUnnamed28() => [ buildGoogleCloudContactcenterinsightsV1Conversation(), buildGoogleCloudContactcenterinsightsV1Conversation(), ]; -void checkUnnamed34( +void checkUnnamed28( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudContactcenterinsightsV1Conversation(o[0]); @@ -3373,7 +2710,7 @@ api.GoogleCloudContactcenterinsightsV1ListConversationsResponse buildCounterGoogleCloudContactcenterinsightsV1ListConversationsResponse++; if (buildCounterGoogleCloudContactcenterinsightsV1ListConversationsResponse < 3) { - o.conversations = buildUnnamed34(); + o.conversations = buildUnnamed28(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudContactcenterinsightsV1ListConversationsResponse--; @@ -3385,7 +2722,7 @@ void checkGoogleCloudContactcenterinsightsV1ListConversationsResponse( buildCounterGoogleCloudContactcenterinsightsV1ListConversationsResponse++; if (buildCounterGoogleCloudContactcenterinsightsV1ListConversationsResponse < 3) { - checkUnnamed34(o.conversations!); + checkUnnamed28(o.conversations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3394,13 +2731,13 @@ void checkGoogleCloudContactcenterinsightsV1ListConversationsResponse( buildCounterGoogleCloudContactcenterinsightsV1ListConversationsResponse--; } -core.List buildUnnamed35() => +core.List buildUnnamed29() => [ buildGoogleCloudContactcenterinsightsV1IssueModel(), buildGoogleCloudContactcenterinsightsV1IssueModel(), ]; -void checkUnnamed35( +void checkUnnamed29( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudContactcenterinsightsV1IssueModel(o[0]); @@ -3415,7 +2752,7 @@ api.GoogleCloudContactcenterinsightsV1ListIssueModelsResponse buildCounterGoogleCloudContactcenterinsightsV1ListIssueModelsResponse++; if (buildCounterGoogleCloudContactcenterinsightsV1ListIssueModelsResponse < 3) { - o.issueModels = buildUnnamed35(); + o.issueModels = buildUnnamed29(); } buildCounterGoogleCloudContactcenterinsightsV1ListIssueModelsResponse--; return o; @@ -3426,17 +2763,17 @@ void checkGoogleCloudContactcenterinsightsV1ListIssueModelsResponse( buildCounterGoogleCloudContactcenterinsightsV1ListIssueModelsResponse++; if (buildCounterGoogleCloudContactcenterinsightsV1ListIssueModelsResponse < 3) { - checkUnnamed35(o.issueModels!); + checkUnnamed29(o.issueModels!); } buildCounterGoogleCloudContactcenterinsightsV1ListIssueModelsResponse--; } -core.List buildUnnamed36() => [ +core.List buildUnnamed30() => [ buildGoogleCloudContactcenterinsightsV1Issue(), buildGoogleCloudContactcenterinsightsV1Issue(), ]; -void checkUnnamed36(core.List o) { +void checkUnnamed30(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudContactcenterinsightsV1Issue(o[0]); checkGoogleCloudContactcenterinsightsV1Issue(o[1]); @@ -3448,7 +2785,7 @@ api.GoogleCloudContactcenterinsightsV1ListIssuesResponse final o = api.GoogleCloudContactcenterinsightsV1ListIssuesResponse(); buildCounterGoogleCloudContactcenterinsightsV1ListIssuesResponse++; if (buildCounterGoogleCloudContactcenterinsightsV1ListIssuesResponse < 3) { - o.issues = buildUnnamed36(); + o.issues = buildUnnamed30(); } buildCounterGoogleCloudContactcenterinsightsV1ListIssuesResponse--; return o; @@ -3458,18 +2795,18 @@ void checkGoogleCloudContactcenterinsightsV1ListIssuesResponse( api.GoogleCloudContactcenterinsightsV1ListIssuesResponse o) { buildCounterGoogleCloudContactcenterinsightsV1ListIssuesResponse++; if (buildCounterGoogleCloudContactcenterinsightsV1ListIssuesResponse < 3) { - checkUnnamed36(o.issues!); + checkUnnamed30(o.issues!); } buildCounterGoogleCloudContactcenterinsightsV1ListIssuesResponse--; } core.List - buildUnnamed37() => [ + buildUnnamed31() => [ buildGoogleCloudContactcenterinsightsV1PhraseMatcher(), buildGoogleCloudContactcenterinsightsV1PhraseMatcher(), ]; -void checkUnnamed37( +void checkUnnamed31( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudContactcenterinsightsV1PhraseMatcher(o[0]); @@ -3486,7 +2823,7 @@ api.GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse if (buildCounterGoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse < 3) { o.nextPageToken = 'foo'; - o.phraseMatchers = buildUnnamed37(); + o.phraseMatchers = buildUnnamed31(); } buildCounterGoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse--; return o; @@ -3501,17 +2838,17 @@ void checkGoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed37(o.phraseMatchers!); + checkUnnamed31(o.phraseMatchers!); } buildCounterGoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse--; } -core.List buildUnnamed38() => [ +core.List buildUnnamed32() => [ buildGoogleCloudContactcenterinsightsV1View(), buildGoogleCloudContactcenterinsightsV1View(), ]; -void checkUnnamed38(core.List o) { +void checkUnnamed32(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudContactcenterinsightsV1View(o[0]); checkGoogleCloudContactcenterinsightsV1View(o[1]); @@ -3524,7 +2861,7 @@ api.GoogleCloudContactcenterinsightsV1ListViewsResponse buildCounterGoogleCloudContactcenterinsightsV1ListViewsResponse++; if (buildCounterGoogleCloudContactcenterinsightsV1ListViewsResponse < 3) { o.nextPageToken = 'foo'; - o.views = buildUnnamed38(); + o.views = buildUnnamed32(); } buildCounterGoogleCloudContactcenterinsightsV1ListViewsResponse--; return o; @@ -3538,7 +2875,7 @@ void checkGoogleCloudContactcenterinsightsV1ListViewsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed38(o.views!); + checkUnnamed32(o.views!); } buildCounterGoogleCloudContactcenterinsightsV1ListViewsResponse--; } @@ -3625,12 +2962,12 @@ void checkGoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig( } core.List - buildUnnamed39() => [ + buildUnnamed33() => [ buildGoogleCloudContactcenterinsightsV1PhraseMatchRule(), buildGoogleCloudContactcenterinsightsV1PhraseMatchRule(), ]; -void checkUnnamed39( +void checkUnnamed33( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudContactcenterinsightsV1PhraseMatchRule(o[0]); @@ -3643,7 +2980,7 @@ api.GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup final o = api.GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup(); buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup++; if (buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup < 3) { - o.phraseMatchRules = buildUnnamed39(); + o.phraseMatchRules = buildUnnamed33(); o.type = 'foo'; } buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup--; @@ -3654,7 +2991,7 @@ void checkGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup( api.GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup o) { buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup++; if (buildCounterGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup < 3) { - checkUnnamed39(o.phraseMatchRules!); + checkUnnamed33(o.phraseMatchRules!); unittest.expect( o.type!, unittest.equals('foo'), @@ -3664,12 +3001,12 @@ void checkGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup( } core.List - buildUnnamed40() => [ + buildUnnamed34() => [ buildGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup(), buildGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup(), ]; -void checkUnnamed40( +void checkUnnamed34( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup(o[0]); @@ -3686,7 +3023,7 @@ api.GoogleCloudContactcenterinsightsV1PhraseMatcher o.active = true; o.displayName = 'foo'; o.name = 'foo'; - o.phraseMatchRuleGroups = buildUnnamed40(); + o.phraseMatchRuleGroups = buildUnnamed34(); o.revisionCreateTime = 'foo'; o.revisionId = 'foo'; o.roleMatch = 'foo'; @@ -3715,7 +3052,7 @@ void checkGoogleCloudContactcenterinsightsV1PhraseMatcher( o.name!, unittest.equals('foo'), ); - checkUnnamed40(o.phraseMatchRuleGroups!); + checkUnnamed34(o.phraseMatchRuleGroups!); unittest.expect( o.revisionCreateTime!, unittest.equals('foo'), @@ -3790,17 +3127,13 @@ api.GoogleCloudContactcenterinsightsV1RuntimeAnnotation buildGoogleCloudContactcenterinsightsV1DialogflowInteractionData(); o.endBoundary = buildGoogleCloudContactcenterinsightsV1AnnotationBoundary(); o.faqAnswer = buildGoogleCloudContactcenterinsightsV1FaqAnswerData(); - o.generatorSuggestionResult = - buildGoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse(); - o.knowledgeAssistResult = - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse(); - o.knowledgeSearchResult = - buildGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer(); o.smartComposeSuggestion = buildGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData(); o.smartReply = buildGoogleCloudContactcenterinsightsV1SmartReplyData(); o.startBoundary = buildGoogleCloudContactcenterinsightsV1AnnotationBoundary(); + o.userInput = + buildGoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput(); } buildCounterGoogleCloudContactcenterinsightsV1RuntimeAnnotation--; return o; @@ -3827,123 +3160,47 @@ void checkGoogleCloudContactcenterinsightsV1RuntimeAnnotation( o.dialogflowInteraction!); checkGoogleCloudContactcenterinsightsV1AnnotationBoundary(o.endBoundary!); checkGoogleCloudContactcenterinsightsV1FaqAnswerData(o.faqAnswer!); - checkGoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse( - o.generatorSuggestionResult!); - checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse( - o.knowledgeAssistResult!); - checkGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer( - o.knowledgeSearchResult!); checkGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData( o.smartComposeSuggestion!); checkGoogleCloudContactcenterinsightsV1SmartReplyData(o.smartReply!); checkGoogleCloudContactcenterinsightsV1AnnotationBoundary(o.startBoundary!); + checkGoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput( + o.userInput!); } buildCounterGoogleCloudContactcenterinsightsV1RuntimeAnnotation--; } -core.List< - api.GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource> - buildUnnamed41() => [ - buildGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource(), - buildGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource(), - ]; - -void checkUnnamed41( - core.List< - api - .GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource> - o) { - unittest.expect(o, unittest.hasLength(2)); - checkGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource( - o[0]); - checkGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource( - o[1]); -} - -core.int buildCounterGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer = - 0; -api.GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer - buildGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer() { - final o = api.GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer(); - buildCounterGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer++; - if (buildCounterGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer < 3) { - o.answer = 'foo'; - o.answerRecord = 'foo'; - o.answerSources = buildUnnamed41(); - o.answerType = 'foo'; - o.confidenceScore = 42.0; - } - buildCounterGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer( - api.GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer o) { - buildCounterGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer++; - if (buildCounterGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer < 3) { - unittest.expect( - o.answer!, - unittest.equals('foo'), - ); - unittest.expect( - o.answerRecord!, - unittest.equals('foo'), - ); - checkUnnamed41(o.answerSources!); - unittest.expect( - o.answerType!, - unittest.equals('foo'), - ); - unittest.expect( - o.confidenceScore!, - unittest.equals(42.0), - ); - } - buildCounterGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer--; -} - core.int - buildCounterGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource = + buildCounterGoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput = 0; -api.GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource - buildGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource() { - final o = - api.GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource(); - buildCounterGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource++; - if (buildCounterGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource < +api.GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput + buildGoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput() { + final o = api.GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput(); + buildCounterGoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput++; + if (buildCounterGoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput < 3) { - o.document = 'foo'; - o.snippet = 'foo'; - o.title = 'foo'; - o.uri = 'foo'; + o.generatorName = 'foo'; + o.query = 'foo'; } - buildCounterGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource--; + buildCounterGoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput--; return o; } -void checkGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource( - api.GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource o) { - buildCounterGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource++; - if (buildCounterGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource < +void checkGoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput( + api.GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput o) { + buildCounterGoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput++; + if (buildCounterGoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput < 3) { unittest.expect( - o.document!, + o.generatorName!, unittest.equals('foo'), ); unittest.expect( - o.snippet!, - unittest.equals('foo'), - ); - unittest.expect( - o.title!, - unittest.equals('foo'), - ); - unittest.expect( - o.uri!, + o.query!, unittest.equals('foo'), ); } - buildCounterGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource--; + buildCounterGoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput--; } core.int buildCounterGoogleCloudContactcenterinsightsV1SentimentData = 0; @@ -3975,12 +3232,12 @@ void checkGoogleCloudContactcenterinsightsV1SentimentData( buildCounterGoogleCloudContactcenterinsightsV1SentimentData--; } -core.Map buildUnnamed42() => { +core.Map buildUnnamed35() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed42(core.Map o) { +void checkUnnamed35(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4004,7 +3261,7 @@ api.GoogleCloudContactcenterinsightsV1Settings o.createTime = 'foo'; o.languageCode = 'foo'; o.name = 'foo'; - o.pubsubNotificationSettings = buildUnnamed42(); + o.pubsubNotificationSettings = buildUnnamed35(); o.redactionConfig = buildGoogleCloudContactcenterinsightsV1RedactionConfig(); o.speechConfig = buildGoogleCloudContactcenterinsightsV1SpeechConfig(); @@ -4036,7 +3293,7 @@ void checkGoogleCloudContactcenterinsightsV1Settings( o.name!, unittest.equals('foo'), ); - checkUnnamed42(o.pubsubNotificationSettings!); + checkUnnamed35(o.pubsubNotificationSettings!); checkGoogleCloudContactcenterinsightsV1RedactionConfig(o.redactionConfig!); checkGoogleCloudContactcenterinsightsV1SpeechConfig(o.speechConfig!); unittest.expect( @@ -4100,12 +3357,12 @@ void checkGoogleCloudContactcenterinsightsV1SilenceData( buildCounterGoogleCloudContactcenterinsightsV1SilenceData--; } -core.Map buildUnnamed43() => { +core.Map buildUnnamed36() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed43(core.Map o) { +void checkUnnamed36(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4127,7 +3384,7 @@ api.GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData if (buildCounterGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData < 3) { o.confidenceScore = 42.0; - o.metadata = buildUnnamed43(); + o.metadata = buildUnnamed36(); o.queryRecord = 'foo'; o.suggestion = 'foo'; } @@ -4144,7 +3401,7 @@ void checkGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData( o.confidenceScore!, unittest.equals(42.0), ); - checkUnnamed43(o.metadata!); + checkUnnamed36(o.metadata!); unittest.expect( o.queryRecord!, unittest.equals('foo'), @@ -4157,12 +3414,12 @@ void checkGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData( buildCounterGoogleCloudContactcenterinsightsV1SmartComposeSuggestionData--; } -core.Map buildUnnamed44() => { +core.Map buildUnnamed37() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed44(core.Map o) { +void checkUnnamed37(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4181,7 +3438,7 @@ api.GoogleCloudContactcenterinsightsV1SmartReplyData buildCounterGoogleCloudContactcenterinsightsV1SmartReplyData++; if (buildCounterGoogleCloudContactcenterinsightsV1SmartReplyData < 3) { o.confidenceScore = 42.0; - o.metadata = buildUnnamed44(); + o.metadata = buildUnnamed37(); o.queryRecord = 'foo'; o.reply = 'foo'; } @@ -4197,7 +3454,7 @@ void checkGoogleCloudContactcenterinsightsV1SmartReplyData( o.confidenceScore!, unittest.equals(42.0), ); - checkUnnamed44(o.metadata!); + checkUnnamed37(o.metadata!); unittest.expect( o.queryRecord!, unittest.equals('foo'), @@ -4234,77 +3491,6 @@ void checkGoogleCloudContactcenterinsightsV1SpeechConfig( buildCounterGoogleCloudContactcenterinsightsV1SpeechConfig--; } -core.List - buildUnnamed45() => [ - buildGoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection(), - buildGoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection(), - ]; - -void checkUnnamed45( - core.List< - api - .GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection> - o) { - unittest.expect(o, unittest.hasLength(2)); - checkGoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection(o[0]); - checkGoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection(o[1]); -} - -core.int buildCounterGoogleCloudContactcenterinsightsV1SummarySuggestion = 0; -api.GoogleCloudContactcenterinsightsV1SummarySuggestion - buildGoogleCloudContactcenterinsightsV1SummarySuggestion() { - final o = api.GoogleCloudContactcenterinsightsV1SummarySuggestion(); - buildCounterGoogleCloudContactcenterinsightsV1SummarySuggestion++; - if (buildCounterGoogleCloudContactcenterinsightsV1SummarySuggestion < 3) { - o.summarySections = buildUnnamed45(); - } - buildCounterGoogleCloudContactcenterinsightsV1SummarySuggestion--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1SummarySuggestion( - api.GoogleCloudContactcenterinsightsV1SummarySuggestion o) { - buildCounterGoogleCloudContactcenterinsightsV1SummarySuggestion++; - if (buildCounterGoogleCloudContactcenterinsightsV1SummarySuggestion < 3) { - checkUnnamed45(o.summarySections!); - } - buildCounterGoogleCloudContactcenterinsightsV1SummarySuggestion--; -} - -core.int - buildCounterGoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection = - 0; -api.GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection - buildGoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection() { - final o = - api.GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection(); - buildCounterGoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection++; - if (buildCounterGoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection < - 3) { - o.section = 'foo'; - o.summary = 'foo'; - } - buildCounterGoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection--; - return o; -} - -void checkGoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection( - api.GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection o) { - buildCounterGoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection++; - if (buildCounterGoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection < - 3) { - unittest.expect( - o.section!, - unittest.equals('foo'), - ); - unittest.expect( - o.summary!, - unittest.equals('foo'), - ); - } - buildCounterGoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection--; -} - core.int buildCounterGoogleCloudContactcenterinsightsV1UndeployIssueModelRequest = 0; api.GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest @@ -4415,12 +3601,12 @@ void checkGoogleCloudContactcenterinsightsV1View( buildCounterGoogleCloudContactcenterinsightsV1View--; } -core.List buildUnnamed46() => [ +core.List buildUnnamed38() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed46(core.List o) { +void checkUnnamed38(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -4433,7 +3619,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed46(); + o.operations = buildUnnamed38(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -4447,12 +3633,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed46(o.operations!); + checkUnnamed38(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed47() => { +core.Map buildUnnamed39() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4465,7 +3651,7 @@ core.Map buildUnnamed47() => { }, }; -void checkUnnamed47(core.Map o) { +void checkUnnamed39(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -4497,7 +3683,7 @@ void checkUnnamed47(core.Map o) { ); } -core.Map buildUnnamed48() => { +core.Map buildUnnamed40() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4510,7 +3696,7 @@ core.Map buildUnnamed48() => { }, }; -void checkUnnamed48(core.Map o) { +void checkUnnamed40(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -4549,9 +3735,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed47(); + o.metadata = buildUnnamed39(); o.name = 'foo'; - o.response = buildUnnamed48(); + o.response = buildUnnamed40(); } buildCounterGoogleLongrunningOperation--; return o; @@ -4562,12 +3748,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed47(o.metadata!); + checkUnnamed39(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed48(o.response!); + checkUnnamed40(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -4587,7 +3773,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed49() => { +core.Map buildUnnamed41() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4600,7 +3786,7 @@ core.Map buildUnnamed49() => { }, }; -void checkUnnamed49(core.Map o) { +void checkUnnamed41(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -4632,15 +3818,15 @@ void checkUnnamed49(core.Map o) { ); } -core.List> buildUnnamed50() => [ - buildUnnamed49(), - buildUnnamed49(), +core.List> buildUnnamed42() => [ + buildUnnamed41(), + buildUnnamed41(), ]; -void checkUnnamed50(core.List> o) { +void checkUnnamed42(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed49(o[0]); - checkUnnamed49(o[1]); + checkUnnamed41(o[0]); + checkUnnamed41(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -4649,7 +3835,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed50(); + o.details = buildUnnamed42(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -4663,7 +3849,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed50(o.details!); + checkUnnamed42(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -4673,92 +3859,6 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { } void main() { - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1AgentCoachingInstruction', - () { - unittest.test('to-json--from-json', () async { - final o = - buildGoogleCloudContactcenterinsightsV1AgentCoachingInstruction(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudContactcenterinsightsV1AgentCoachingInstruction - .fromJson(oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1AgentCoachingInstruction(od); - }); - }); - - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion', - () { - unittest.test('to-json--from-json', () async { - final o = - buildGoogleCloudContactcenterinsightsV1AgentCoachingSuggestion(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion - .fromJson(oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1AgentCoachingSuggestion(od); - }); - }); - - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion', - () { - unittest.test('to-json--from-json', () async { - final o = - buildGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion - .fromJson(oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion( - od); - }); - }); - - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval', - () { - unittest.test('to-json--from-json', () async { - final o = - buildGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval - .fromJson(oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval( - od); - }); - }); - - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning', - () { - unittest.test('to-json--from-json', () async { - final o = - buildGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning - .fromJson(oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning( - od); - }); - }); - - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse', - () { - unittest.test('to-json--from-json', () async { - final o = - buildGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse - .fromJson(oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse( - od); - }); - }); - unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1Analysis', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudContactcenterinsightsV1Analysis(); @@ -5285,18 +4385,6 @@ void main() { }); }); - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1FreeFormSuggestion', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudContactcenterinsightsV1FreeFormSuggestion(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudContactcenterinsightsV1FreeFormSuggestion.fromJson( - oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1FreeFormSuggestion(od); - }); - }); - unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1GcsSource', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudContactcenterinsightsV1GcsSource(); @@ -5307,136 +4395,6 @@ void main() { }); }); - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1GeneratorSuggestion', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudContactcenterinsightsV1GeneratorSuggestion(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudContactcenterinsightsV1GeneratorSuggestion.fromJson( - oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1GeneratorSuggestion(od); - }); - }); - - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse', - () { - unittest.test('to-json--from-json', () async { - final o = - buildGoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse - .fromJson(oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse(od); - }); - }); - - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse', - () { - unittest.test('to-json--from-json', () async { - final o = - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse - .fromJson(oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse(od); - }); - }); - - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer', - () { - unittest.test('to-json--from-json', () async { - final o = - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer - .fromJson(oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer( - od); - }); - }); - - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource', - () { - unittest.test('to-json--from-json', () async { - final o = - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource - .fromJson(oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource( - od); - }); - }); - - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource', - () { - unittest.test('to-json--from-json', () async { - final o = - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource - .fromJson(oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource( - od); - }); - }); - - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet', - () { - unittest.test('to-json--from-json', () async { - final o = - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet - .fromJson(oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet( - od); - }); - }); - - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource', - () { - unittest.test('to-json--from-json', () async { - final o = - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource - .fromJson(oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource( - od); - }); - }); - - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery', - () { - unittest.test('to-json--from-json', () async { - final o = - buildGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery - .fromJson(oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery( - od); - }); - }); - unittest.group('obj-schema-GoogleCloudContactcenterinsightsV1HoldData', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudContactcenterinsightsV1HoldData(); @@ -5817,29 +4775,16 @@ void main() { }); unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer.fromJson( - oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer(od); - }); - }); - - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource', + 'obj-schema-GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput', () { unittest.test('to-json--from-json', () async { final o = - buildGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource(); + buildGoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); final od = - api.GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource + api.GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput .fromJson(oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource( - od); + checkGoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput(od); }); }); @@ -5924,33 +4869,6 @@ void main() { }); }); - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1SummarySuggestion', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudContactcenterinsightsV1SummarySuggestion(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudContactcenterinsightsV1SummarySuggestion.fromJson( - oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1SummarySuggestion(od); - }); - }); - - unittest.group( - 'obj-schema-GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection', - () { - unittest.test('to-json--from-json', () async { - final o = - buildGoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection - .fromJson(oJson as core.Map); - checkGoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection( - od); - }); - }); - unittest.group( 'obj-schema-GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest', () { diff --git a/generated/googleapis/test/datamigration/v1_test.dart b/generated/googleapis/test/datamigration/v1_test.dart index 18a48d37d..bfb4230f5 100644 --- a/generated/googleapis/test/datamigration/v1_test.dart +++ b/generated/googleapis/test/datamigration/v1_test.dart @@ -4873,6 +4873,7 @@ api.SqlServerHomogeneousMigrationJobConfig if (buildCounterSqlServerHomogeneousMigrationJobConfig < 3) { o.backupFilePattern = 'foo'; o.databaseBackups = buildUnnamed64(); + o.useDiffBackup = true; } buildCounterSqlServerHomogeneousMigrationJobConfig--; return o; @@ -4887,6 +4888,7 @@ void checkSqlServerHomogeneousMigrationJobConfig( unittest.equals('foo'), ); checkUnnamed64(o.databaseBackups!); + unittest.expect(o.useDiffBackup!, unittest.isTrue); } buildCounterSqlServerHomogeneousMigrationJobConfig--; } diff --git a/generated/googleapis/test/dataplex/v1_test.dart b/generated/googleapis/test/dataplex/v1_test.dart index b3055796f..48aa7243d 100644 --- a/generated/googleapis/test/dataplex/v1_test.dart +++ b/generated/googleapis/test/dataplex/v1_test.dart @@ -3726,6 +3726,7 @@ api.GoogleCloudDataplexV1EntrySource buildGoogleCloudDataplexV1EntrySource() { o.description = 'foo'; o.displayName = 'foo'; o.labels = buildUnnamed34(); + o.location = 'foo'; o.platform = 'foo'; o.resource = 'foo'; o.system = 'foo'; @@ -3753,6 +3754,10 @@ void checkGoogleCloudDataplexV1EntrySource( unittest.equals('foo'), ); checkUnnamed34(o.labels!); + unittest.expect( + o.location!, + unittest.equals('foo'), + ); unittest.expect( o.platform!, unittest.equals('foo'), diff --git a/generated/googleapis/test/dataproc/v1_test.dart b/generated/googleapis/test/dataproc/v1_test.dart index 19e7fbd41..b82776155 100644 --- a/generated/googleapis/test/dataproc/v1_test.dart +++ b/generated/googleapis/test/dataproc/v1_test.dart @@ -148,6 +148,42 @@ void checkAutoscalingPolicy(api.AutoscalingPolicy o) { buildCounterAutoscalingPolicy--; } +core.List buildUnnamed1() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed1(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterAutotuningConfig = 0; +api.AutotuningConfig buildAutotuningConfig() { + final o = api.AutotuningConfig(); + buildCounterAutotuningConfig++; + if (buildCounterAutotuningConfig < 3) { + o.scenarios = buildUnnamed1(); + } + buildCounterAutotuningConfig--; + return o; +} + +void checkAutotuningConfig(api.AutotuningConfig o) { + buildCounterAutotuningConfig++; + if (buildCounterAutotuningConfig < 3) { + checkUnnamed1(o.scenarios!); + } + buildCounterAutotuningConfig--; +} + core.int buildCounterAuxiliaryNodeGroup = 0; api.AuxiliaryNodeGroup buildAuxiliaryNodeGroup() { final o = api.AuxiliaryNodeGroup(); @@ -261,12 +297,12 @@ void checkBasicYarnAutoscalingConfig(api.BasicYarnAutoscalingConfig o) { buildCounterBasicYarnAutoscalingConfig--; } -core.Map buildUnnamed1() => { +core.Map buildUnnamed2() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed1(core.Map o) { +void checkUnnamed2(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -278,12 +314,12 @@ void checkUnnamed1(core.Map o) { ); } -core.List buildUnnamed2() => [ +core.List buildUnnamed3() => [ buildStateHistory(), buildStateHistory(), ]; -void checkUnnamed2(core.List o) { +void checkUnnamed3(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStateHistory(o[0]); checkStateHistory(o[1]); @@ -297,7 +333,7 @@ api.Batch buildBatch() { o.createTime = 'foo'; o.creator = 'foo'; o.environmentConfig = buildEnvironmentConfig(); - o.labels = buildUnnamed1(); + o.labels = buildUnnamed2(); o.name = 'foo'; o.operation = 'foo'; o.pysparkBatch = buildPySparkBatch(); @@ -307,7 +343,7 @@ api.Batch buildBatch() { o.sparkRBatch = buildSparkRBatch(); o.sparkSqlBatch = buildSparkSqlBatch(); o.state = 'foo'; - o.stateHistory = buildUnnamed2(); + o.stateHistory = buildUnnamed3(); o.stateMessage = 'foo'; o.stateTime = 'foo'; o.uuid = 'foo'; @@ -328,7 +364,7 @@ void checkBatch(api.Batch o) { unittest.equals('foo'), ); checkEnvironmentConfig(o.environmentConfig!); - checkUnnamed1(o.labels!); + checkUnnamed2(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -347,7 +383,7 @@ void checkBatch(api.Batch o) { o.state!, unittest.equals('foo'), ); - checkUnnamed2(o.stateHistory!); + checkUnnamed3(o.stateHistory!); unittest.expect( o.stateMessage!, unittest.equals('foo'), @@ -364,12 +400,12 @@ void checkBatch(api.Batch o) { buildCounterBatch--; } -core.List buildUnnamed3() => [ +core.List buildUnnamed4() => [ 'foo', 'foo', ]; -void checkUnnamed3(core.List o) { +void checkUnnamed4(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -387,7 +423,7 @@ api.Binding buildBinding() { buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed3(); + o.members = buildUnnamed4(); o.role = 'foo'; } buildCounterBinding--; @@ -398,7 +434,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed3(o.members!); + checkUnnamed4(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -422,12 +458,12 @@ void checkCancelJobRequest(api.CancelJobRequest o) { buildCounterCancelJobRequest--; } -core.Map buildUnnamed4() => { +core.Map buildUnnamed5() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed4(core.Map o) { +void checkUnnamed5(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -439,12 +475,12 @@ void checkUnnamed4(core.Map o) { ); } -core.List buildUnnamed5() => [ +core.List buildUnnamed6() => [ buildClusterStatus(), buildClusterStatus(), ]; -void checkUnnamed5(core.List o) { +void checkUnnamed6(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkClusterStatus(o[0]); checkClusterStatus(o[1]); @@ -458,11 +494,11 @@ api.Cluster buildCluster() { o.clusterName = 'foo'; o.clusterUuid = 'foo'; o.config = buildClusterConfig(); - o.labels = buildUnnamed4(); + o.labels = buildUnnamed5(); o.metrics = buildClusterMetrics(); o.projectId = 'foo'; o.status = buildClusterStatus(); - o.statusHistory = buildUnnamed5(); + o.statusHistory = buildUnnamed6(); o.virtualClusterConfig = buildVirtualClusterConfig(); } buildCounterCluster--; @@ -481,36 +517,36 @@ void checkCluster(api.Cluster o) { unittest.equals('foo'), ); checkClusterConfig(o.config!); - checkUnnamed4(o.labels!); + checkUnnamed5(o.labels!); checkClusterMetrics(o.metrics!); unittest.expect( o.projectId!, unittest.equals('foo'), ); checkClusterStatus(o.status!); - checkUnnamed5(o.statusHistory!); + checkUnnamed6(o.statusHistory!); checkVirtualClusterConfig(o.virtualClusterConfig!); } buildCounterCluster--; } -core.List buildUnnamed6() => [ +core.List buildUnnamed7() => [ buildAuxiliaryNodeGroup(), buildAuxiliaryNodeGroup(), ]; -void checkUnnamed6(core.List o) { +void checkUnnamed7(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuxiliaryNodeGroup(o[0]); checkAuxiliaryNodeGroup(o[1]); } -core.List buildUnnamed7() => [ +core.List buildUnnamed8() => [ buildNodeInitializationAction(), buildNodeInitializationAction(), ]; -void checkUnnamed7(core.List o) { +void checkUnnamed8(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodeInitializationAction(o[0]); checkNodeInitializationAction(o[1]); @@ -522,14 +558,14 @@ api.ClusterConfig buildClusterConfig() { buildCounterClusterConfig++; if (buildCounterClusterConfig < 3) { o.autoscalingConfig = buildAutoscalingConfig(); - o.auxiliaryNodeGroups = buildUnnamed6(); + o.auxiliaryNodeGroups = buildUnnamed7(); o.configBucket = 'foo'; o.dataprocMetricConfig = buildDataprocMetricConfig(); o.encryptionConfig = buildEncryptionConfig(); o.endpointConfig = buildEndpointConfig(); o.gceClusterConfig = buildGceClusterConfig(); o.gkeClusterConfig = buildGkeClusterConfig(); - o.initializationActions = buildUnnamed7(); + o.initializationActions = buildUnnamed8(); o.lifecycleConfig = buildLifecycleConfig(); o.masterConfig = buildInstanceGroupConfig(); o.metastoreConfig = buildMetastoreConfig(); @@ -547,7 +583,7 @@ void checkClusterConfig(api.ClusterConfig o) { buildCounterClusterConfig++; if (buildCounterClusterConfig < 3) { checkAutoscalingConfig(o.autoscalingConfig!); - checkUnnamed6(o.auxiliaryNodeGroups!); + checkUnnamed7(o.auxiliaryNodeGroups!); unittest.expect( o.configBucket!, unittest.equals('foo'), @@ -557,7 +593,7 @@ void checkClusterConfig(api.ClusterConfig o) { checkEndpointConfig(o.endpointConfig!); checkGceClusterConfig(o.gceClusterConfig!); checkGkeClusterConfig(o.gkeClusterConfig!); - checkUnnamed7(o.initializationActions!); + checkUnnamed8(o.initializationActions!); checkLifecycleConfig(o.lifecycleConfig!); checkInstanceGroupConfig(o.masterConfig!); checkMetastoreConfig(o.metastoreConfig!); @@ -573,12 +609,12 @@ void checkClusterConfig(api.ClusterConfig o) { buildCounterClusterConfig--; } -core.Map buildUnnamed8() => { +core.Map buildUnnamed9() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8(core.Map o) { +void checkUnnamed9(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -590,12 +626,12 @@ void checkUnnamed8(core.Map o) { ); } -core.Map buildUnnamed9() => { +core.Map buildUnnamed10() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed9(core.Map o) { +void checkUnnamed10(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -612,8 +648,8 @@ api.ClusterMetrics buildClusterMetrics() { final o = api.ClusterMetrics(); buildCounterClusterMetrics++; if (buildCounterClusterMetrics < 3) { - o.hdfsMetrics = buildUnnamed8(); - o.yarnMetrics = buildUnnamed9(); + o.hdfsMetrics = buildUnnamed9(); + o.yarnMetrics = buildUnnamed10(); } buildCounterClusterMetrics--; return o; @@ -622,18 +658,18 @@ api.ClusterMetrics buildClusterMetrics() { void checkClusterMetrics(api.ClusterMetrics o) { buildCounterClusterMetrics++; if (buildCounterClusterMetrics < 3) { - checkUnnamed8(o.hdfsMetrics!); - checkUnnamed9(o.yarnMetrics!); + checkUnnamed9(o.hdfsMetrics!); + checkUnnamed10(o.yarnMetrics!); } buildCounterClusterMetrics--; } -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']!, @@ -650,7 +686,7 @@ api.ClusterSelector buildClusterSelector() { final o = api.ClusterSelector(); buildCounterClusterSelector++; if (buildCounterClusterSelector < 3) { - o.clusterLabels = buildUnnamed10(); + o.clusterLabels = buildUnnamed11(); o.zone = 'foo'; } buildCounterClusterSelector--; @@ -660,7 +696,7 @@ api.ClusterSelector buildClusterSelector() { void checkClusterSelector(api.ClusterSelector o) { buildCounterClusterSelector++; if (buildCounterClusterSelector < 3) { - checkUnnamed10(o.clusterLabels!); + checkUnnamed11(o.clusterLabels!); unittest.expect( o.zone!, unittest.equals('foo'), @@ -725,12 +761,12 @@ void checkConfidentialInstanceConfig(api.ConfidentialInstanceConfig o) { buildCounterConfidentialInstanceConfig--; } -core.List buildUnnamed11() => [ +core.List buildUnnamed12() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed11(core.List o) { +void checkUnnamed12(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); @@ -741,7 +777,7 @@ api.DataprocMetricConfig buildDataprocMetricConfig() { final o = api.DataprocMetricConfig(); buildCounterDataprocMetricConfig++; if (buildCounterDataprocMetricConfig < 3) { - o.metrics = buildUnnamed11(); + o.metrics = buildUnnamed12(); } buildCounterDataprocMetricConfig--; return o; @@ -750,17 +786,17 @@ api.DataprocMetricConfig buildDataprocMetricConfig() { void checkDataprocMetricConfig(api.DataprocMetricConfig o) { buildCounterDataprocMetricConfig++; if (buildCounterDataprocMetricConfig < 3) { - checkUnnamed11(o.metrics!); + checkUnnamed12(o.metrics!); } buildCounterDataprocMetricConfig--; } -core.List buildUnnamed12() => [ +core.List buildUnnamed13() => [ 'foo', 'foo', ]; -void checkUnnamed12(core.List o) { +void checkUnnamed13(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -772,12 +808,12 @@ void checkUnnamed12(core.List o) { ); } -core.List buildUnnamed13() => [ +core.List buildUnnamed14() => [ 'foo', 'foo', ]; -void checkUnnamed13(core.List o) { +void checkUnnamed14(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -796,11 +832,11 @@ api.DiagnoseClusterRequest buildDiagnoseClusterRequest() { if (buildCounterDiagnoseClusterRequest < 3) { o.diagnosisInterval = buildInterval(); o.job = 'foo'; - o.jobs = buildUnnamed12(); + o.jobs = buildUnnamed13(); o.tarballAccess = 'foo'; o.tarballGcsDir = 'foo'; o.yarnApplicationId = 'foo'; - o.yarnApplicationIds = buildUnnamed13(); + o.yarnApplicationIds = buildUnnamed14(); } buildCounterDiagnoseClusterRequest--; return o; @@ -814,7 +850,7 @@ void checkDiagnoseClusterRequest(api.DiagnoseClusterRequest o) { o.job!, unittest.equals('foo'), ); - checkUnnamed12(o.jobs!); + checkUnnamed13(o.jobs!); unittest.expect( o.tarballAccess!, unittest.equals('foo'), @@ -827,7 +863,7 @@ void checkDiagnoseClusterRequest(api.DiagnoseClusterRequest o) { o.yarnApplicationId!, unittest.equals('foo'), ); - checkUnnamed13(o.yarnApplicationIds!); + checkUnnamed14(o.yarnApplicationIds!); } buildCounterDiagnoseClusterRequest--; } @@ -938,12 +974,12 @@ void checkEncryptionConfig(api.EncryptionConfig o) { buildCounterEncryptionConfig--; } -core.Map buildUnnamed14() => { +core.Map buildUnnamed15() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed14(core.Map o) { +void checkUnnamed15(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -961,7 +997,7 @@ api.EndpointConfig buildEndpointConfig() { buildCounterEndpointConfig++; if (buildCounterEndpointConfig < 3) { o.enableHttpPortAccess = true; - o.httpPorts = buildUnnamed14(); + o.httpPorts = buildUnnamed15(); } buildCounterEndpointConfig--; return o; @@ -971,7 +1007,7 @@ void checkEndpointConfig(api.EndpointConfig o) { buildCounterEndpointConfig++; if (buildCounterEndpointConfig < 3) { unittest.expect(o.enableHttpPortAccess!, unittest.isTrue); - checkUnnamed14(o.httpPorts!); + checkUnnamed15(o.httpPorts!); } buildCounterEndpointConfig--; } @@ -997,12 +1033,12 @@ void checkEnvironmentConfig(api.EnvironmentConfig o) { buildCounterEnvironmentConfig--; } -core.List buildUnnamed15() => [ +core.List buildUnnamed16() => [ 'foo', 'foo', ]; -void checkUnnamed15(core.List o) { +void checkUnnamed16(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1021,7 +1057,7 @@ api.ExecutionConfig buildExecutionConfig() { if (buildCounterExecutionConfig < 3) { o.idleTtl = 'foo'; o.kmsKey = 'foo'; - o.networkTags = buildUnnamed15(); + o.networkTags = buildUnnamed16(); o.networkUri = 'foo'; o.serviceAccount = 'foo'; o.stagingBucket = 'foo'; @@ -1043,7 +1079,7 @@ void checkExecutionConfig(api.ExecutionConfig o) { o.kmsKey!, unittest.equals('foo'), ); - checkUnnamed15(o.networkTags!); + checkUnnamed16(o.networkTags!); unittest.expect( o.networkUri!, unittest.equals('foo'), @@ -1105,12 +1141,12 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } -core.List buildUnnamed16() => [ +core.List buildUnnamed17() => [ 'foo', 'foo', ]; -void checkUnnamed16(core.List o) { +void checkUnnamed17(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1122,12 +1158,12 @@ void checkUnnamed16(core.List o) { ); } -core.List buildUnnamed17() => [ +core.List buildUnnamed18() => [ 'foo', 'foo', ]; -void checkUnnamed17(core.List o) { +void checkUnnamed18(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1139,12 +1175,12 @@ void checkUnnamed17(core.List o) { ); } -core.Map buildUnnamed18() => { +core.Map buildUnnamed19() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed18(core.Map o) { +void checkUnnamed19(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1161,12 +1197,12 @@ api.FlinkJob buildFlinkJob() { final o = api.FlinkJob(); buildCounterFlinkJob++; if (buildCounterFlinkJob < 3) { - o.args = buildUnnamed16(); - o.jarFileUris = buildUnnamed17(); + o.args = buildUnnamed17(); + o.jarFileUris = buildUnnamed18(); o.loggingConfig = buildLoggingConfig(); o.mainClass = 'foo'; o.mainJarFileUri = 'foo'; - o.properties = buildUnnamed18(); + o.properties = buildUnnamed19(); o.savepointUri = 'foo'; } buildCounterFlinkJob--; @@ -1176,8 +1212,8 @@ api.FlinkJob buildFlinkJob() { void checkFlinkJob(api.FlinkJob o) { buildCounterFlinkJob++; if (buildCounterFlinkJob < 3) { - checkUnnamed16(o.args!); - checkUnnamed17(o.jarFileUris!); + checkUnnamed17(o.args!); + checkUnnamed18(o.jarFileUris!); checkLoggingConfig(o.loggingConfig!); unittest.expect( o.mainClass!, @@ -1187,7 +1223,7 @@ void checkFlinkJob(api.FlinkJob o) { o.mainJarFileUri!, unittest.equals('foo'), ); - checkUnnamed18(o.properties!); + checkUnnamed19(o.properties!); unittest.expect( o.savepointUri!, unittest.equals('foo'), @@ -1196,12 +1232,12 @@ void checkFlinkJob(api.FlinkJob o) { buildCounterFlinkJob--; } -core.Map buildUnnamed19() => { +core.Map buildUnnamed20() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed19(core.Map o) { +void checkUnnamed20(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1213,12 +1249,12 @@ void checkUnnamed19(core.Map o) { ); } -core.List buildUnnamed20() => [ +core.List buildUnnamed21() => [ 'foo', 'foo', ]; -void checkUnnamed20(core.List o) { +void checkUnnamed21(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1230,12 +1266,12 @@ void checkUnnamed20(core.List o) { ); } -core.List buildUnnamed21() => [ +core.List buildUnnamed22() => [ 'foo', 'foo', ]; -void checkUnnamed21(core.List o) { +void checkUnnamed22(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1254,16 +1290,16 @@ api.GceClusterConfig buildGceClusterConfig() { if (buildCounterGceClusterConfig < 3) { o.confidentialInstanceConfig = buildConfidentialInstanceConfig(); o.internalIpOnly = true; - o.metadata = buildUnnamed19(); + o.metadata = buildUnnamed20(); o.networkUri = 'foo'; o.nodeGroupAffinity = buildNodeGroupAffinity(); o.privateIpv6GoogleAccess = 'foo'; o.reservationAffinity = buildReservationAffinity(); o.serviceAccount = 'foo'; - o.serviceAccountScopes = buildUnnamed20(); + o.serviceAccountScopes = buildUnnamed21(); o.shieldedInstanceConfig = buildShieldedInstanceConfig(); o.subnetworkUri = 'foo'; - o.tags = buildUnnamed21(); + o.tags = buildUnnamed22(); o.zoneUri = 'foo'; } buildCounterGceClusterConfig--; @@ -1275,7 +1311,7 @@ void checkGceClusterConfig(api.GceClusterConfig o) { if (buildCounterGceClusterConfig < 3) { checkConfidentialInstanceConfig(o.confidentialInstanceConfig!); unittest.expect(o.internalIpOnly!, unittest.isTrue); - checkUnnamed19(o.metadata!); + checkUnnamed20(o.metadata!); unittest.expect( o.networkUri!, unittest.equals('foo'), @@ -1290,13 +1326,13 @@ void checkGceClusterConfig(api.GceClusterConfig o) { o.serviceAccount!, unittest.equals('foo'), ); - checkUnnamed20(o.serviceAccountScopes!); + checkUnnamed21(o.serviceAccountScopes!); checkShieldedInstanceConfig(o.shieldedInstanceConfig!); unittest.expect( o.subnetworkUri!, unittest.equals('foo'), ); - checkUnnamed21(o.tags!); + checkUnnamed22(o.tags!); unittest.expect( o.zoneUri!, unittest.equals('foo'), @@ -1346,12 +1382,12 @@ void checkGetPolicyOptions(api.GetPolicyOptions o) { buildCounterGetPolicyOptions--; } -core.List buildUnnamed22() => [ +core.List buildUnnamed23() => [ buildGkeNodePoolTarget(), buildGkeNodePoolTarget(), ]; -void checkUnnamed22(core.List o) { +void checkUnnamed23(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGkeNodePoolTarget(o[0]); checkGkeNodePoolTarget(o[1]); @@ -1364,7 +1400,7 @@ api.GkeClusterConfig buildGkeClusterConfig() { if (buildCounterGkeClusterConfig < 3) { o.gkeClusterTarget = 'foo'; o.namespacedGkeDeploymentTarget = buildNamespacedGkeDeploymentTarget(); - o.nodePoolTarget = buildUnnamed22(); + o.nodePoolTarget = buildUnnamed23(); } buildCounterGkeClusterConfig--; return o; @@ -1378,17 +1414,17 @@ void checkGkeClusterConfig(api.GkeClusterConfig o) { unittest.equals('foo'), ); checkNamespacedGkeDeploymentTarget(o.namespacedGkeDeploymentTarget!); - checkUnnamed22(o.nodePoolTarget!); + checkUnnamed23(o.nodePoolTarget!); } buildCounterGkeClusterConfig--; } -core.List buildUnnamed23() => [ +core.List buildUnnamed24() => [ buildGkeNodePoolAcceleratorConfig(), buildGkeNodePoolAcceleratorConfig(), ]; -void checkUnnamed23(core.List o) { +void checkUnnamed24(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGkeNodePoolAcceleratorConfig(o[0]); checkGkeNodePoolAcceleratorConfig(o[1]); @@ -1399,7 +1435,7 @@ api.GkeNodeConfig buildGkeNodeConfig() { final o = api.GkeNodeConfig(); buildCounterGkeNodeConfig++; if (buildCounterGkeNodeConfig < 3) { - o.accelerators = buildUnnamed23(); + o.accelerators = buildUnnamed24(); o.bootDiskKmsKey = 'foo'; o.localSsdCount = 42; o.machineType = 'foo'; @@ -1414,7 +1450,7 @@ api.GkeNodeConfig buildGkeNodeConfig() { void checkGkeNodeConfig(api.GkeNodeConfig o) { buildCounterGkeNodeConfig++; if (buildCounterGkeNodeConfig < 3) { - checkUnnamed23(o.accelerators!); + checkUnnamed24(o.accelerators!); unittest.expect( o.bootDiskKmsKey!, unittest.equals('foo'), @@ -1496,12 +1532,12 @@ void checkGkeNodePoolAutoscalingConfig(api.GkeNodePoolAutoscalingConfig o) { buildCounterGkeNodePoolAutoscalingConfig--; } -core.List buildUnnamed24() => [ +core.List buildUnnamed25() => [ 'foo', 'foo', ]; -void checkUnnamed24(core.List o) { +void checkUnnamed25(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1520,7 +1556,7 @@ api.GkeNodePoolConfig buildGkeNodePoolConfig() { if (buildCounterGkeNodePoolConfig < 3) { o.autoscaling = buildGkeNodePoolAutoscalingConfig(); o.config = buildGkeNodeConfig(); - o.locations = buildUnnamed24(); + o.locations = buildUnnamed25(); } buildCounterGkeNodePoolConfig--; return o; @@ -1531,17 +1567,17 @@ void checkGkeNodePoolConfig(api.GkeNodePoolConfig o) { if (buildCounterGkeNodePoolConfig < 3) { checkGkeNodePoolAutoscalingConfig(o.autoscaling!); checkGkeNodeConfig(o.config!); - checkUnnamed24(o.locations!); + checkUnnamed25(o.locations!); } buildCounterGkeNodePoolConfig--; } -core.List buildUnnamed25() => [ +core.List buildUnnamed26() => [ 'foo', 'foo', ]; -void checkUnnamed25(core.List o) { +void checkUnnamed26(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1560,7 +1596,7 @@ api.GkeNodePoolTarget buildGkeNodePoolTarget() { if (buildCounterGkeNodePoolTarget < 3) { o.nodePool = 'foo'; o.nodePoolConfig = buildGkeNodePoolConfig(); - o.roles = buildUnnamed25(); + o.roles = buildUnnamed26(); } buildCounterGkeNodePoolTarget--; return o; @@ -1574,7 +1610,7 @@ void checkGkeNodePoolTarget(api.GkeNodePoolTarget o) { unittest.equals('foo'), ); checkGkeNodePoolConfig(o.nodePoolConfig!); - checkUnnamed25(o.roles!); + checkUnnamed26(o.roles!); } buildCounterGkeNodePoolTarget--; } @@ -1603,12 +1639,12 @@ void checkGoogleCloudDataprocV1WorkflowTemplateEncryptionConfig( buildCounterGoogleCloudDataprocV1WorkflowTemplateEncryptionConfig--; } -core.List buildUnnamed26() => [ +core.List buildUnnamed27() => [ 'foo', 'foo', ]; -void checkUnnamed26(core.List o) { +void checkUnnamed27(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1620,12 +1656,12 @@ void checkUnnamed26(core.List o) { ); } -core.List buildUnnamed27() => [ +core.List buildUnnamed28() => [ 'foo', 'foo', ]; -void checkUnnamed27(core.List o) { +void checkUnnamed28(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1637,12 +1673,12 @@ void checkUnnamed27(core.List o) { ); } -core.List buildUnnamed28() => [ +core.List buildUnnamed29() => [ 'foo', 'foo', ]; -void checkUnnamed28(core.List o) { +void checkUnnamed29(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1654,12 +1690,12 @@ void checkUnnamed28(core.List o) { ); } -core.List buildUnnamed29() => [ +core.List buildUnnamed30() => [ 'foo', 'foo', ]; -void checkUnnamed29(core.List o) { +void checkUnnamed30(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1671,12 +1707,12 @@ void checkUnnamed29(core.List o) { ); } -core.Map buildUnnamed30() => { +core.Map buildUnnamed31() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed30(core.Map o) { +void checkUnnamed31(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1693,14 +1729,14 @@ api.HadoopJob buildHadoopJob() { final o = api.HadoopJob(); buildCounterHadoopJob++; if (buildCounterHadoopJob < 3) { - o.archiveUris = buildUnnamed26(); - o.args = buildUnnamed27(); - o.fileUris = buildUnnamed28(); - o.jarFileUris = buildUnnamed29(); + o.archiveUris = buildUnnamed27(); + o.args = buildUnnamed28(); + o.fileUris = buildUnnamed29(); + o.jarFileUris = buildUnnamed30(); o.loggingConfig = buildLoggingConfig(); o.mainClass = 'foo'; o.mainJarFileUri = 'foo'; - o.properties = buildUnnamed30(); + o.properties = buildUnnamed31(); } buildCounterHadoopJob--; return o; @@ -1709,10 +1745,10 @@ api.HadoopJob buildHadoopJob() { void checkHadoopJob(api.HadoopJob o) { buildCounterHadoopJob++; if (buildCounterHadoopJob < 3) { - checkUnnamed26(o.archiveUris!); - checkUnnamed27(o.args!); - checkUnnamed28(o.fileUris!); - checkUnnamed29(o.jarFileUris!); + checkUnnamed27(o.archiveUris!); + checkUnnamed28(o.args!); + checkUnnamed29(o.fileUris!); + checkUnnamed30(o.jarFileUris!); checkLoggingConfig(o.loggingConfig!); unittest.expect( o.mainClass!, @@ -1722,17 +1758,17 @@ void checkHadoopJob(api.HadoopJob o) { o.mainJarFileUri!, unittest.equals('foo'), ); - checkUnnamed30(o.properties!); + checkUnnamed31(o.properties!); } buildCounterHadoopJob--; } -core.List buildUnnamed31() => [ +core.List buildUnnamed32() => [ 'foo', 'foo', ]; -void checkUnnamed31(core.List o) { +void checkUnnamed32(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1744,12 +1780,12 @@ void checkUnnamed31(core.List o) { ); } -core.Map buildUnnamed32() => { +core.Map buildUnnamed33() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed32(core.Map o) { +void checkUnnamed33(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1761,12 +1797,12 @@ void checkUnnamed32(core.Map o) { ); } -core.Map buildUnnamed33() => { +core.Map buildUnnamed34() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed33(core.Map o) { +void checkUnnamed34(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1784,11 +1820,11 @@ api.HiveJob buildHiveJob() { buildCounterHiveJob++; if (buildCounterHiveJob < 3) { o.continueOnFailure = true; - o.jarFileUris = buildUnnamed31(); - o.properties = buildUnnamed32(); + o.jarFileUris = buildUnnamed32(); + o.properties = buildUnnamed33(); o.queryFileUri = 'foo'; o.queryList = buildQueryList(); - o.scriptVariables = buildUnnamed33(); + o.scriptVariables = buildUnnamed34(); } buildCounterHiveJob--; return o; @@ -1798,24 +1834,24 @@ void checkHiveJob(api.HiveJob o) { buildCounterHiveJob++; if (buildCounterHiveJob < 3) { unittest.expect(o.continueOnFailure!, unittest.isTrue); - checkUnnamed31(o.jarFileUris!); - checkUnnamed32(o.properties!); + checkUnnamed32(o.jarFileUris!); + checkUnnamed33(o.properties!); unittest.expect( o.queryFileUri!, unittest.equals('foo'), ); checkQueryList(o.queryList!); - checkUnnamed33(o.scriptVariables!); + checkUnnamed34(o.scriptVariables!); } buildCounterHiveJob--; } -core.Map buildUnnamed34() => { +core.Map buildUnnamed35() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed34(core.Map o) { +void checkUnnamed35(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1832,7 +1868,7 @@ api.IdentityConfig buildIdentityConfig() { final o = api.IdentityConfig(); buildCounterIdentityConfig++; if (buildCounterIdentityConfig < 3) { - o.userServiceAccountMapping = buildUnnamed34(); + o.userServiceAccountMapping = buildUnnamed35(); } buildCounterIdentityConfig--; return o; @@ -1841,7 +1877,7 @@ api.IdentityConfig buildIdentityConfig() { void checkIdentityConfig(api.IdentityConfig o) { buildCounterIdentityConfig++; if (buildCounterIdentityConfig < 3) { - checkUnnamed34(o.userServiceAccountMapping!); + checkUnnamed35(o.userServiceAccountMapping!); } buildCounterIdentityConfig--; } @@ -1873,23 +1909,23 @@ void checkInjectCredentialsRequest(api.InjectCredentialsRequest o) { buildCounterInjectCredentialsRequest--; } -core.List buildUnnamed35() => [ +core.List buildUnnamed36() => [ buildInstanceSelection(), buildInstanceSelection(), ]; -void checkUnnamed35(core.List o) { +void checkUnnamed36(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceSelection(o[0]); checkInstanceSelection(o[1]); } -core.List buildUnnamed36() => [ +core.List buildUnnamed37() => [ buildInstanceSelectionResult(), buildInstanceSelectionResult(), ]; -void checkUnnamed36(core.List o) { +void checkUnnamed37(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceSelectionResult(o[0]); checkInstanceSelectionResult(o[1]); @@ -1900,8 +1936,8 @@ api.InstanceFlexibilityPolicy buildInstanceFlexibilityPolicy() { final o = api.InstanceFlexibilityPolicy(); buildCounterInstanceFlexibilityPolicy++; if (buildCounterInstanceFlexibilityPolicy < 3) { - o.instanceSelectionList = buildUnnamed35(); - o.instanceSelectionResults = buildUnnamed36(); + o.instanceSelectionList = buildUnnamed36(); + o.instanceSelectionResults = buildUnnamed37(); } buildCounterInstanceFlexibilityPolicy--; return o; @@ -1910,8 +1946,8 @@ api.InstanceFlexibilityPolicy buildInstanceFlexibilityPolicy() { void checkInstanceFlexibilityPolicy(api.InstanceFlexibilityPolicy o) { buildCounterInstanceFlexibilityPolicy++; if (buildCounterInstanceFlexibilityPolicy < 3) { - checkUnnamed35(o.instanceSelectionList!); - checkUnnamed36(o.instanceSelectionResults!); + checkUnnamed36(o.instanceSelectionList!); + checkUnnamed37(o.instanceSelectionResults!); } buildCounterInstanceFlexibilityPolicy--; } @@ -1950,23 +1986,23 @@ void checkInstanceGroupAutoscalingPolicyConfig( buildCounterInstanceGroupAutoscalingPolicyConfig--; } -core.List buildUnnamed37() => [ +core.List buildUnnamed38() => [ buildAcceleratorConfig(), buildAcceleratorConfig(), ]; -void checkUnnamed37(core.List o) { +void checkUnnamed38(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAcceleratorConfig(o[0]); checkAcceleratorConfig(o[1]); } -core.List buildUnnamed38() => [ +core.List buildUnnamed39() => [ 'foo', 'foo', ]; -void checkUnnamed38(core.List o) { +void checkUnnamed39(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1978,12 +2014,12 @@ void checkUnnamed38(core.List o) { ); } -core.List buildUnnamed39() => [ +core.List buildUnnamed40() => [ buildInstanceReference(), buildInstanceReference(), ]; -void checkUnnamed39(core.List o) { +void checkUnnamed40(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInstanceReference(o[0]); checkInstanceReference(o[1]); @@ -1994,12 +2030,12 @@ api.InstanceGroupConfig buildInstanceGroupConfig() { final o = api.InstanceGroupConfig(); buildCounterInstanceGroupConfig++; if (buildCounterInstanceGroupConfig < 3) { - o.accelerators = buildUnnamed37(); + o.accelerators = buildUnnamed38(); o.diskConfig = buildDiskConfig(); o.imageUri = 'foo'; o.instanceFlexibilityPolicy = buildInstanceFlexibilityPolicy(); - o.instanceNames = buildUnnamed38(); - o.instanceReferences = buildUnnamed39(); + o.instanceNames = buildUnnamed39(); + o.instanceReferences = buildUnnamed40(); o.isPreemptible = true; o.machineTypeUri = 'foo'; o.managedGroupConfig = buildManagedGroupConfig(); @@ -2016,15 +2052,15 @@ api.InstanceGroupConfig buildInstanceGroupConfig() { void checkInstanceGroupConfig(api.InstanceGroupConfig o) { buildCounterInstanceGroupConfig++; if (buildCounterInstanceGroupConfig < 3) { - checkUnnamed37(o.accelerators!); + checkUnnamed38(o.accelerators!); checkDiskConfig(o.diskConfig!); unittest.expect( o.imageUri!, unittest.equals('foo'), ); checkInstanceFlexibilityPolicy(o.instanceFlexibilityPolicy!); - checkUnnamed38(o.instanceNames!); - checkUnnamed39(o.instanceReferences!); + checkUnnamed39(o.instanceNames!); + checkUnnamed40(o.instanceReferences!); unittest.expect(o.isPreemptible!, unittest.isTrue); unittest.expect( o.machineTypeUri!, @@ -2089,12 +2125,12 @@ void checkInstanceReference(api.InstanceReference o) { buildCounterInstanceReference--; } -core.List buildUnnamed40() => [ +core.List buildUnnamed41() => [ 'foo', 'foo', ]; -void checkUnnamed40(core.List o) { +void checkUnnamed41(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2111,7 +2147,7 @@ api.InstanceSelection buildInstanceSelection() { final o = api.InstanceSelection(); buildCounterInstanceSelection++; if (buildCounterInstanceSelection < 3) { - o.machineTypes = buildUnnamed40(); + o.machineTypes = buildUnnamed41(); o.rank = 42; } buildCounterInstanceSelection--; @@ -2121,7 +2157,7 @@ api.InstanceSelection buildInstanceSelection() { void checkInstanceSelection(api.InstanceSelection o) { buildCounterInstanceSelection++; if (buildCounterInstanceSelection < 3) { - checkUnnamed40(o.machineTypes!); + checkUnnamed41(o.machineTypes!); unittest.expect( o.rank!, unittest.equals(42), @@ -2157,12 +2193,12 @@ void checkInstanceSelectionResult(api.InstanceSelectionResult o) { buildCounterInstanceSelectionResult--; } -core.Map buildUnnamed41() => { +core.Map buildUnnamed42() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed41(core.Map o) { +void checkUnnamed42(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2180,7 +2216,7 @@ api.InstantiateWorkflowTemplateRequest final o = api.InstantiateWorkflowTemplateRequest(); buildCounterInstantiateWorkflowTemplateRequest++; if (buildCounterInstantiateWorkflowTemplateRequest < 3) { - o.parameters = buildUnnamed41(); + o.parameters = buildUnnamed42(); o.requestId = 'foo'; o.version = 42; } @@ -2192,7 +2228,7 @@ void checkInstantiateWorkflowTemplateRequest( api.InstantiateWorkflowTemplateRequest o) { buildCounterInstantiateWorkflowTemplateRequest++; if (buildCounterInstantiateWorkflowTemplateRequest < 3) { - checkUnnamed41(o.parameters!); + checkUnnamed42(o.parameters!); unittest.expect( o.requestId!, unittest.equals('foo'), @@ -2232,12 +2268,12 @@ void checkInterval(api.Interval o) { buildCounterInterval--; } -core.Map buildUnnamed42() => { +core.Map buildUnnamed43() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed42(core.Map o) { +void checkUnnamed43(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2249,23 +2285,23 @@ void checkUnnamed42(core.Map o) { ); } -core.List buildUnnamed43() => [ +core.List buildUnnamed44() => [ buildJobStatus(), buildJobStatus(), ]; -void checkUnnamed43(core.List o) { +void checkUnnamed44(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJobStatus(o[0]); checkJobStatus(o[1]); } -core.List buildUnnamed44() => [ +core.List buildUnnamed45() => [ buildYarnApplication(), buildYarnApplication(), ]; -void checkUnnamed44(core.List o) { +void checkUnnamed45(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkYarnApplication(o[0]); checkYarnApplication(o[1]); @@ -2284,7 +2320,7 @@ api.Job buildJob() { o.hadoopJob = buildHadoopJob(); o.hiveJob = buildHiveJob(); o.jobUuid = 'foo'; - o.labels = buildUnnamed42(); + o.labels = buildUnnamed43(); o.pigJob = buildPigJob(); o.placement = buildJobPlacement(); o.prestoJob = buildPrestoJob(); @@ -2295,9 +2331,9 @@ api.Job buildJob() { o.sparkRJob = buildSparkRJob(); o.sparkSqlJob = buildSparkSqlJob(); o.status = buildJobStatus(); - o.statusHistory = buildUnnamed43(); + o.statusHistory = buildUnnamed44(); o.trinoJob = buildTrinoJob(); - o.yarnApplications = buildUnnamed44(); + o.yarnApplications = buildUnnamed45(); } buildCounterJob--; return o; @@ -2323,7 +2359,7 @@ void checkJob(api.Job o) { o.jobUuid!, unittest.equals('foo'), ); - checkUnnamed42(o.labels!); + checkUnnamed43(o.labels!); checkPigJob(o.pigJob!); checkJobPlacement(o.placement!); checkPrestoJob(o.prestoJob!); @@ -2334,19 +2370,19 @@ void checkJob(api.Job o) { checkSparkRJob(o.sparkRJob!); checkSparkSqlJob(o.sparkSqlJob!); checkJobStatus(o.status!); - checkUnnamed43(o.statusHistory!); + checkUnnamed44(o.statusHistory!); checkTrinoJob(o.trinoJob!); - checkUnnamed44(o.yarnApplications!); + checkUnnamed45(o.yarnApplications!); } buildCounterJob--; } -core.Map buildUnnamed45() => { +core.Map buildUnnamed46() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed45(core.Map o) { +void checkUnnamed46(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2363,7 +2399,7 @@ api.JobPlacement buildJobPlacement() { final o = api.JobPlacement(); buildCounterJobPlacement++; if (buildCounterJobPlacement < 3) { - o.clusterLabels = buildUnnamed45(); + o.clusterLabels = buildUnnamed46(); o.clusterName = 'foo'; o.clusterUuid = 'foo'; } @@ -2374,7 +2410,7 @@ api.JobPlacement buildJobPlacement() { void checkJobPlacement(api.JobPlacement o) { buildCounterJobPlacement++; if (buildCounterJobPlacement < 3) { - checkUnnamed45(o.clusterLabels!); + checkUnnamed46(o.clusterLabels!); unittest.expect( o.clusterName!, unittest.equals('foo'), @@ -2620,12 +2656,12 @@ void checkKubernetesClusterConfig(api.KubernetesClusterConfig o) { buildCounterKubernetesClusterConfig--; } -core.Map buildUnnamed46() => { +core.Map buildUnnamed47() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed46(core.Map o) { +void checkUnnamed47(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2637,12 +2673,12 @@ void checkUnnamed46(core.Map o) { ); } -core.Map buildUnnamed47() => { +core.Map buildUnnamed48() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed47(core.Map o) { +void checkUnnamed48(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2659,8 +2695,8 @@ api.KubernetesSoftwareConfig buildKubernetesSoftwareConfig() { final o = api.KubernetesSoftwareConfig(); buildCounterKubernetesSoftwareConfig++; if (buildCounterKubernetesSoftwareConfig < 3) { - o.componentVersion = buildUnnamed46(); - o.properties = buildUnnamed47(); + o.componentVersion = buildUnnamed47(); + o.properties = buildUnnamed48(); } buildCounterKubernetesSoftwareConfig--; return o; @@ -2669,8 +2705,8 @@ api.KubernetesSoftwareConfig buildKubernetesSoftwareConfig() { void checkKubernetesSoftwareConfig(api.KubernetesSoftwareConfig o) { buildCounterKubernetesSoftwareConfig++; if (buildCounterKubernetesSoftwareConfig < 3) { - checkUnnamed46(o.componentVersion!); - checkUnnamed47(o.properties!); + checkUnnamed47(o.componentVersion!); + checkUnnamed48(o.properties!); } buildCounterKubernetesSoftwareConfig--; } @@ -2712,12 +2748,12 @@ void checkLifecycleConfig(api.LifecycleConfig o) { buildCounterLifecycleConfig--; } -core.List buildUnnamed48() => [ +core.List buildUnnamed49() => [ buildAutoscalingPolicy(), buildAutoscalingPolicy(), ]; -void checkUnnamed48(core.List o) { +void checkUnnamed49(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAutoscalingPolicy(o[0]); checkAutoscalingPolicy(o[1]); @@ -2729,7 +2765,7 @@ api.ListAutoscalingPoliciesResponse buildListAutoscalingPoliciesResponse() { buildCounterListAutoscalingPoliciesResponse++; if (buildCounterListAutoscalingPoliciesResponse < 3) { o.nextPageToken = 'foo'; - o.policies = buildUnnamed48(); + o.policies = buildUnnamed49(); } buildCounterListAutoscalingPoliciesResponse--; return o; @@ -2743,28 +2779,28 @@ void checkListAutoscalingPoliciesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed48(o.policies!); + checkUnnamed49(o.policies!); } buildCounterListAutoscalingPoliciesResponse--; } -core.List buildUnnamed49() => [ +core.List buildUnnamed50() => [ buildBatch(), buildBatch(), ]; -void checkUnnamed49(core.List o) { +void checkUnnamed50(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBatch(o[0]); checkBatch(o[1]); } -core.List buildUnnamed50() => [ +core.List buildUnnamed51() => [ 'foo', 'foo', ]; -void checkUnnamed50(core.List o) { +void checkUnnamed51(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2781,9 +2817,9 @@ api.ListBatchesResponse buildListBatchesResponse() { final o = api.ListBatchesResponse(); buildCounterListBatchesResponse++; if (buildCounterListBatchesResponse < 3) { - o.batches = buildUnnamed49(); + o.batches = buildUnnamed50(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed50(); + o.unreachable = buildUnnamed51(); } buildCounterListBatchesResponse--; return o; @@ -2792,22 +2828,22 @@ api.ListBatchesResponse buildListBatchesResponse() { void checkListBatchesResponse(api.ListBatchesResponse o) { buildCounterListBatchesResponse++; if (buildCounterListBatchesResponse < 3) { - checkUnnamed49(o.batches!); + checkUnnamed50(o.batches!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed50(o.unreachable!); + checkUnnamed51(o.unreachable!); } buildCounterListBatchesResponse--; } -core.List buildUnnamed51() => [ +core.List buildUnnamed52() => [ buildCluster(), buildCluster(), ]; -void checkUnnamed51(core.List o) { +void checkUnnamed52(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCluster(o[0]); checkCluster(o[1]); @@ -2818,7 +2854,7 @@ api.ListClustersResponse buildListClustersResponse() { final o = api.ListClustersResponse(); buildCounterListClustersResponse++; if (buildCounterListClustersResponse < 3) { - o.clusters = buildUnnamed51(); + o.clusters = buildUnnamed52(); o.nextPageToken = 'foo'; } buildCounterListClustersResponse--; @@ -2828,7 +2864,7 @@ api.ListClustersResponse buildListClustersResponse() { void checkListClustersResponse(api.ListClustersResponse o) { buildCounterListClustersResponse++; if (buildCounterListClustersResponse < 3) { - checkUnnamed51(o.clusters!); + checkUnnamed52(o.clusters!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2837,23 +2873,23 @@ void checkListClustersResponse(api.ListClustersResponse o) { buildCounterListClustersResponse--; } -core.List buildUnnamed52() => [ +core.List buildUnnamed53() => [ buildJob(), buildJob(), ]; -void checkUnnamed52(core.List o) { +void checkUnnamed53(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkJob(o[0]); checkJob(o[1]); } -core.List buildUnnamed53() => [ +core.List buildUnnamed54() => [ 'foo', 'foo', ]; -void checkUnnamed53(core.List o) { +void checkUnnamed54(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2870,9 +2906,9 @@ api.ListJobsResponse buildListJobsResponse() { final o = api.ListJobsResponse(); buildCounterListJobsResponse++; if (buildCounterListJobsResponse < 3) { - o.jobs = buildUnnamed52(); + o.jobs = buildUnnamed53(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed53(); + o.unreachable = buildUnnamed54(); } buildCounterListJobsResponse--; return o; @@ -2881,22 +2917,22 @@ api.ListJobsResponse buildListJobsResponse() { void checkListJobsResponse(api.ListJobsResponse o) { buildCounterListJobsResponse++; if (buildCounterListJobsResponse < 3) { - checkUnnamed52(o.jobs!); + checkUnnamed53(o.jobs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed53(o.unreachable!); + checkUnnamed54(o.unreachable!); } buildCounterListJobsResponse--; } -core.List buildUnnamed54() => [ +core.List buildUnnamed55() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed54(core.List o) { +void checkUnnamed55(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -2908,7 +2944,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed54(); + o.operations = buildUnnamed55(); } buildCounterListOperationsResponse--; return o; @@ -2921,17 +2957,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed54(o.operations!); + checkUnnamed55(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed55() => [ +core.List buildUnnamed56() => [ buildSessionTemplate(), buildSessionTemplate(), ]; -void checkUnnamed55(core.List o) { +void checkUnnamed56(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSessionTemplate(o[0]); checkSessionTemplate(o[1]); @@ -2943,7 +2979,7 @@ api.ListSessionTemplatesResponse buildListSessionTemplatesResponse() { buildCounterListSessionTemplatesResponse++; if (buildCounterListSessionTemplatesResponse < 3) { o.nextPageToken = 'foo'; - o.sessionTemplates = buildUnnamed55(); + o.sessionTemplates = buildUnnamed56(); } buildCounterListSessionTemplatesResponse--; return o; @@ -2956,17 +2992,17 @@ void checkListSessionTemplatesResponse(api.ListSessionTemplatesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed55(o.sessionTemplates!); + checkUnnamed56(o.sessionTemplates!); } buildCounterListSessionTemplatesResponse--; } -core.List buildUnnamed56() => [ +core.List buildUnnamed57() => [ buildSession(), buildSession(), ]; -void checkUnnamed56(core.List o) { +void checkUnnamed57(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSession(o[0]); checkSession(o[1]); @@ -2978,7 +3014,7 @@ api.ListSessionsResponse buildListSessionsResponse() { buildCounterListSessionsResponse++; if (buildCounterListSessionsResponse < 3) { o.nextPageToken = 'foo'; - o.sessions = buildUnnamed56(); + o.sessions = buildUnnamed57(); } buildCounterListSessionsResponse--; return o; @@ -2991,28 +3027,28 @@ void checkListSessionsResponse(api.ListSessionsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed56(o.sessions!); + checkUnnamed57(o.sessions!); } buildCounterListSessionsResponse--; } -core.List buildUnnamed57() => [ +core.List buildUnnamed58() => [ buildWorkflowTemplate(), buildWorkflowTemplate(), ]; -void checkUnnamed57(core.List o) { +void checkUnnamed58(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWorkflowTemplate(o[0]); checkWorkflowTemplate(o[1]); } -core.List buildUnnamed58() => [ +core.List buildUnnamed59() => [ 'foo', 'foo', ]; -void checkUnnamed58(core.List o) { +void checkUnnamed59(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3030,8 +3066,8 @@ api.ListWorkflowTemplatesResponse buildListWorkflowTemplatesResponse() { buildCounterListWorkflowTemplatesResponse++; if (buildCounterListWorkflowTemplatesResponse < 3) { o.nextPageToken = 'foo'; - o.templates = buildUnnamed57(); - o.unreachable = buildUnnamed58(); + o.templates = buildUnnamed58(); + o.unreachable = buildUnnamed59(); } buildCounterListWorkflowTemplatesResponse--; return o; @@ -3044,18 +3080,18 @@ void checkListWorkflowTemplatesResponse(api.ListWorkflowTemplatesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed57(o.templates!); - checkUnnamed58(o.unreachable!); + checkUnnamed58(o.templates!); + checkUnnamed59(o.unreachable!); } buildCounterListWorkflowTemplatesResponse--; } -core.Map buildUnnamed59() => { +core.Map buildUnnamed60() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed59(core.Map o) { +void checkUnnamed60(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3072,7 +3108,7 @@ api.LoggingConfig buildLoggingConfig() { final o = api.LoggingConfig(); buildCounterLoggingConfig++; if (buildCounterLoggingConfig < 3) { - o.driverLogLevels = buildUnnamed59(); + o.driverLogLevels = buildUnnamed60(); } buildCounterLoggingConfig--; return o; @@ -3081,17 +3117,17 @@ api.LoggingConfig buildLoggingConfig() { void checkLoggingConfig(api.LoggingConfig o) { buildCounterLoggingConfig++; if (buildCounterLoggingConfig < 3) { - checkUnnamed59(o.driverLogLevels!); + checkUnnamed60(o.driverLogLevels!); } buildCounterLoggingConfig--; } -core.Map buildUnnamed60() => { +core.Map buildUnnamed61() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed60(core.Map o) { +void checkUnnamed61(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3110,7 +3146,7 @@ api.ManagedCluster buildManagedCluster() { if (buildCounterManagedCluster < 3) { o.clusterName = 'foo'; o.config = buildClusterConfig(); - o.labels = buildUnnamed60(); + o.labels = buildUnnamed61(); } buildCounterManagedCluster--; return o; @@ -3124,7 +3160,7 @@ void checkManagedCluster(api.ManagedCluster o) { unittest.equals('foo'), ); checkClusterConfig(o.config!); - checkUnnamed60(o.labels!); + checkUnnamed61(o.labels!); } buildCounterManagedCluster--; } @@ -3183,12 +3219,12 @@ void checkMetastoreConfig(api.MetastoreConfig o) { buildCounterMetastoreConfig--; } -core.List buildUnnamed61() => [ +core.List buildUnnamed62() => [ 'foo', 'foo', ]; -void checkUnnamed61(core.List o) { +void checkUnnamed62(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3205,7 +3241,7 @@ api.Metric buildMetric() { final o = api.Metric(); buildCounterMetric++; if (buildCounterMetric < 3) { - o.metricOverrides = buildUnnamed61(); + o.metricOverrides = buildUnnamed62(); o.metricSource = 'foo'; } buildCounterMetric--; @@ -3215,7 +3251,7 @@ api.Metric buildMetric() { void checkMetric(api.Metric o) { buildCounterMetric++; if (buildCounterMetric < 3) { - checkUnnamed61(o.metricOverrides!); + checkUnnamed62(o.metricOverrides!); unittest.expect( o.metricSource!, unittest.equals('foo'), @@ -3251,12 +3287,12 @@ void checkNamespacedGkeDeploymentTarget(api.NamespacedGkeDeploymentTarget o) { buildCounterNamespacedGkeDeploymentTarget--; } -core.Map buildUnnamed62() => { +core.Map buildUnnamed63() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed62(core.Map o) { +void checkUnnamed63(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3268,12 +3304,12 @@ void checkUnnamed62(core.Map o) { ); } -core.List buildUnnamed63() => [ +core.List buildUnnamed64() => [ 'foo', 'foo', ]; -void checkUnnamed63(core.List o) { +void checkUnnamed64(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3290,10 +3326,10 @@ api.NodeGroup buildNodeGroup() { final o = api.NodeGroup(); buildCounterNodeGroup++; if (buildCounterNodeGroup < 3) { - o.labels = buildUnnamed62(); + o.labels = buildUnnamed63(); o.name = 'foo'; o.nodeGroupConfig = buildInstanceGroupConfig(); - o.roles = buildUnnamed63(); + o.roles = buildUnnamed64(); } buildCounterNodeGroup--; return o; @@ -3302,13 +3338,13 @@ api.NodeGroup buildNodeGroup() { void checkNodeGroup(api.NodeGroup o) { buildCounterNodeGroup++; if (buildCounterNodeGroup < 3) { - checkUnnamed62(o.labels!); + checkUnnamed63(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); checkInstanceGroupConfig(o.nodeGroupConfig!); - checkUnnamed63(o.roles!); + checkUnnamed64(o.roles!); } buildCounterNodeGroup--; } @@ -3362,12 +3398,12 @@ void checkNodeInitializationAction(api.NodeInitializationAction o) { buildCounterNodeInitializationAction--; } -core.List buildUnnamed64() => [ +core.List buildUnnamed65() => [ 'foo', 'foo', ]; -void checkUnnamed64(core.List o) { +void checkUnnamed65(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3385,7 +3421,7 @@ api.NodePool buildNodePool() { buildCounterNodePool++; if (buildCounterNodePool < 3) { o.id = 'foo'; - o.instanceNames = buildUnnamed64(); + o.instanceNames = buildUnnamed65(); o.repairAction = 'foo'; } buildCounterNodePool--; @@ -3399,7 +3435,7 @@ void checkNodePool(api.NodePool o) { o.id!, unittest.equals('foo'), ); - checkUnnamed64(o.instanceNames!); + checkUnnamed65(o.instanceNames!); unittest.expect( o.repairAction!, unittest.equals('foo'), @@ -3408,7 +3444,7 @@ void checkNodePool(api.NodePool o) { buildCounterNodePool--; } -core.Map buildUnnamed65() => { +core.Map buildUnnamed66() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3421,7 +3457,7 @@ core.Map buildUnnamed65() => { }, }; -void checkUnnamed65(core.Map o) { +void checkUnnamed66(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -3453,7 +3489,7 @@ void checkUnnamed65(core.Map o) { ); } -core.Map buildUnnamed66() => { +core.Map buildUnnamed67() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3466,7 +3502,7 @@ core.Map buildUnnamed66() => { }, }; -void checkUnnamed66(core.Map o) { +void checkUnnamed67(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -3505,9 +3541,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed65(); + o.metadata = buildUnnamed66(); o.name = 'foo'; - o.response = buildUnnamed66(); + o.response = buildUnnamed67(); } buildCounterOperation--; return o; @@ -3518,22 +3554,22 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed65(o.metadata!); + checkUnnamed66(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed66(o.response!); + checkUnnamed67(o.response!); } buildCounterOperation--; } -core.Map buildUnnamed67() => { +core.Map buildUnnamed68() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed67(core.Map o) { +void checkUnnamed68(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3545,12 +3581,12 @@ void checkUnnamed67(core.Map o) { ); } -core.List buildUnnamed68() => [ +core.List buildUnnamed69() => [ 'foo', 'foo', ]; -void checkUnnamed68(core.List o) { +void checkUnnamed69(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3570,9 +3606,9 @@ api.OrderedJob buildOrderedJob() { o.flinkJob = buildFlinkJob(); o.hadoopJob = buildHadoopJob(); o.hiveJob = buildHiveJob(); - o.labels = buildUnnamed67(); + o.labels = buildUnnamed68(); o.pigJob = buildPigJob(); - o.prerequisiteStepIds = buildUnnamed68(); + o.prerequisiteStepIds = buildUnnamed69(); o.prestoJob = buildPrestoJob(); o.pysparkJob = buildPySparkJob(); o.scheduling = buildJobScheduling(); @@ -3592,9 +3628,9 @@ void checkOrderedJob(api.OrderedJob o) { checkFlinkJob(o.flinkJob!); checkHadoopJob(o.hadoopJob!); checkHiveJob(o.hiveJob!); - checkUnnamed67(o.labels!); + checkUnnamed68(o.labels!); checkPigJob(o.pigJob!); - checkUnnamed68(o.prerequisiteStepIds!); + checkUnnamed69(o.prerequisiteStepIds!); checkPrestoJob(o.prestoJob!); checkPySparkJob(o.pysparkJob!); checkJobScheduling(o.scheduling!); @@ -3655,12 +3691,12 @@ void checkPeripheralsConfig(api.PeripheralsConfig o) { buildCounterPeripheralsConfig--; } -core.List buildUnnamed69() => [ +core.List buildUnnamed70() => [ 'foo', 'foo', ]; -void checkUnnamed69(core.List o) { +void checkUnnamed70(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3672,12 +3708,12 @@ void checkUnnamed69(core.List o) { ); } -core.Map buildUnnamed70() => { +core.Map buildUnnamed71() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed70(core.Map o) { +void checkUnnamed71(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3689,12 +3725,12 @@ void checkUnnamed70(core.Map o) { ); } -core.Map buildUnnamed71() => { +core.Map buildUnnamed72() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed71(core.Map o) { +void checkUnnamed72(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3712,12 +3748,12 @@ api.PigJob buildPigJob() { buildCounterPigJob++; if (buildCounterPigJob < 3) { o.continueOnFailure = true; - o.jarFileUris = buildUnnamed69(); + o.jarFileUris = buildUnnamed70(); o.loggingConfig = buildLoggingConfig(); - o.properties = buildUnnamed70(); + o.properties = buildUnnamed71(); o.queryFileUri = 'foo'; o.queryList = buildQueryList(); - o.scriptVariables = buildUnnamed71(); + o.scriptVariables = buildUnnamed72(); } buildCounterPigJob--; return o; @@ -3727,25 +3763,25 @@ void checkPigJob(api.PigJob o) { buildCounterPigJob++; if (buildCounterPigJob < 3) { unittest.expect(o.continueOnFailure!, unittest.isTrue); - checkUnnamed69(o.jarFileUris!); + checkUnnamed70(o.jarFileUris!); checkLoggingConfig(o.loggingConfig!); - checkUnnamed70(o.properties!); + checkUnnamed71(o.properties!); unittest.expect( o.queryFileUri!, unittest.equals('foo'), ); checkQueryList(o.queryList!); - checkUnnamed71(o.scriptVariables!); + checkUnnamed72(o.scriptVariables!); } buildCounterPigJob--; } -core.List buildUnnamed72() => [ +core.List buildUnnamed73() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed72(core.List o) { +void checkUnnamed73(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -3756,7 +3792,7 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.bindings = buildUnnamed72(); + o.bindings = buildUnnamed73(); o.etag = 'foo'; o.version = 42; } @@ -3767,7 +3803,7 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed72(o.bindings!); + checkUnnamed73(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -3780,12 +3816,12 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.List buildUnnamed73() => [ +core.List buildUnnamed74() => [ 'foo', 'foo', ]; -void checkUnnamed73(core.List o) { +void checkUnnamed74(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3797,12 +3833,12 @@ void checkUnnamed73(core.List o) { ); } -core.Map buildUnnamed74() => { +core.Map buildUnnamed75() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed74(core.Map o) { +void checkUnnamed75(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3819,11 +3855,11 @@ api.PrestoJob buildPrestoJob() { final o = api.PrestoJob(); buildCounterPrestoJob++; if (buildCounterPrestoJob < 3) { - o.clientTags = buildUnnamed73(); + o.clientTags = buildUnnamed74(); o.continueOnFailure = true; o.loggingConfig = buildLoggingConfig(); o.outputFormat = 'foo'; - o.properties = buildUnnamed74(); + o.properties = buildUnnamed75(); o.queryFileUri = 'foo'; o.queryList = buildQueryList(); } @@ -3834,14 +3870,14 @@ api.PrestoJob buildPrestoJob() { void checkPrestoJob(api.PrestoJob o) { buildCounterPrestoJob++; if (buildCounterPrestoJob < 3) { - checkUnnamed73(o.clientTags!); + checkUnnamed74(o.clientTags!); unittest.expect(o.continueOnFailure!, unittest.isTrue); checkLoggingConfig(o.loggingConfig!); unittest.expect( o.outputFormat!, unittest.equals('foo'), ); - checkUnnamed74(o.properties!); + checkUnnamed75(o.properties!); unittest.expect( o.queryFileUri!, unittest.equals('foo'), @@ -3873,12 +3909,12 @@ void checkPyPiRepositoryConfig(api.PyPiRepositoryConfig o) { buildCounterPyPiRepositoryConfig--; } -core.List buildUnnamed75() => [ +core.List buildUnnamed76() => [ 'foo', 'foo', ]; -void checkUnnamed75(core.List o) { +void checkUnnamed76(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3890,12 +3926,12 @@ void checkUnnamed75(core.List o) { ); } -core.List buildUnnamed76() => [ +core.List buildUnnamed77() => [ 'foo', 'foo', ]; -void checkUnnamed76(core.List o) { +void checkUnnamed77(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3907,12 +3943,12 @@ void checkUnnamed76(core.List o) { ); } -core.List buildUnnamed77() => [ +core.List buildUnnamed78() => [ 'foo', 'foo', ]; -void checkUnnamed77(core.List o) { +void checkUnnamed78(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3924,12 +3960,12 @@ void checkUnnamed77(core.List o) { ); } -core.List buildUnnamed78() => [ +core.List buildUnnamed79() => [ 'foo', 'foo', ]; -void checkUnnamed78(core.List o) { +void checkUnnamed79(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3941,12 +3977,12 @@ void checkUnnamed78(core.List o) { ); } -core.List buildUnnamed79() => [ +core.List buildUnnamed80() => [ 'foo', 'foo', ]; -void checkUnnamed79(core.List o) { +void checkUnnamed80(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3963,12 +3999,12 @@ api.PySparkBatch buildPySparkBatch() { final o = api.PySparkBatch(); buildCounterPySparkBatch++; if (buildCounterPySparkBatch < 3) { - o.archiveUris = buildUnnamed75(); - o.args = buildUnnamed76(); - o.fileUris = buildUnnamed77(); - o.jarFileUris = buildUnnamed78(); + o.archiveUris = buildUnnamed76(); + o.args = buildUnnamed77(); + o.fileUris = buildUnnamed78(); + o.jarFileUris = buildUnnamed79(); o.mainPythonFileUri = 'foo'; - o.pythonFileUris = buildUnnamed79(); + o.pythonFileUris = buildUnnamed80(); } buildCounterPySparkBatch--; return o; @@ -3977,25 +4013,25 @@ api.PySparkBatch buildPySparkBatch() { void checkPySparkBatch(api.PySparkBatch o) { buildCounterPySparkBatch++; if (buildCounterPySparkBatch < 3) { - checkUnnamed75(o.archiveUris!); - checkUnnamed76(o.args!); - checkUnnamed77(o.fileUris!); - checkUnnamed78(o.jarFileUris!); + checkUnnamed76(o.archiveUris!); + checkUnnamed77(o.args!); + checkUnnamed78(o.fileUris!); + checkUnnamed79(o.jarFileUris!); unittest.expect( o.mainPythonFileUri!, unittest.equals('foo'), ); - checkUnnamed79(o.pythonFileUris!); + checkUnnamed80(o.pythonFileUris!); } buildCounterPySparkBatch--; } -core.List buildUnnamed80() => [ +core.List buildUnnamed81() => [ 'foo', 'foo', ]; -void checkUnnamed80(core.List o) { +void checkUnnamed81(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4007,12 +4043,12 @@ void checkUnnamed80(core.List o) { ); } -core.List buildUnnamed81() => [ +core.List buildUnnamed82() => [ 'foo', 'foo', ]; -void checkUnnamed81(core.List o) { +void checkUnnamed82(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4024,12 +4060,12 @@ void checkUnnamed81(core.List o) { ); } -core.List buildUnnamed82() => [ +core.List buildUnnamed83() => [ 'foo', 'foo', ]; -void checkUnnamed82(core.List o) { +void checkUnnamed83(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4041,12 +4077,12 @@ void checkUnnamed82(core.List o) { ); } -core.List buildUnnamed83() => [ +core.List buildUnnamed84() => [ 'foo', 'foo', ]; -void checkUnnamed83(core.List o) { +void checkUnnamed84(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4058,12 +4094,12 @@ void checkUnnamed83(core.List o) { ); } -core.Map buildUnnamed84() => { +core.Map buildUnnamed85() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed84(core.Map o) { +void checkUnnamed85(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4075,12 +4111,12 @@ void checkUnnamed84(core.Map o) { ); } -core.List buildUnnamed85() => [ +core.List buildUnnamed86() => [ 'foo', 'foo', ]; -void checkUnnamed85(core.List o) { +void checkUnnamed86(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4097,14 +4133,14 @@ api.PySparkJob buildPySparkJob() { final o = api.PySparkJob(); buildCounterPySparkJob++; if (buildCounterPySparkJob < 3) { - o.archiveUris = buildUnnamed80(); - o.args = buildUnnamed81(); - o.fileUris = buildUnnamed82(); - o.jarFileUris = buildUnnamed83(); + o.archiveUris = buildUnnamed81(); + o.args = buildUnnamed82(); + o.fileUris = buildUnnamed83(); + o.jarFileUris = buildUnnamed84(); o.loggingConfig = buildLoggingConfig(); o.mainPythonFileUri = 'foo'; - o.properties = buildUnnamed84(); - o.pythonFileUris = buildUnnamed85(); + o.properties = buildUnnamed85(); + o.pythonFileUris = buildUnnamed86(); } buildCounterPySparkJob--; return o; @@ -4113,27 +4149,27 @@ api.PySparkJob buildPySparkJob() { void checkPySparkJob(api.PySparkJob o) { buildCounterPySparkJob++; if (buildCounterPySparkJob < 3) { - checkUnnamed80(o.archiveUris!); - checkUnnamed81(o.args!); - checkUnnamed82(o.fileUris!); - checkUnnamed83(o.jarFileUris!); + checkUnnamed81(o.archiveUris!); + checkUnnamed82(o.args!); + checkUnnamed83(o.fileUris!); + checkUnnamed84(o.jarFileUris!); checkLoggingConfig(o.loggingConfig!); unittest.expect( o.mainPythonFileUri!, unittest.equals('foo'), ); - checkUnnamed84(o.properties!); - checkUnnamed85(o.pythonFileUris!); + checkUnnamed85(o.properties!); + checkUnnamed86(o.pythonFileUris!); } buildCounterPySparkJob--; } -core.List buildUnnamed86() => [ +core.List buildUnnamed87() => [ 'foo', 'foo', ]; -void checkUnnamed86(core.List o) { +void checkUnnamed87(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4150,7 +4186,7 @@ api.QueryList buildQueryList() { final o = api.QueryList(); buildCounterQueryList++; if (buildCounterQueryList < 3) { - o.queries = buildUnnamed86(); + o.queries = buildUnnamed87(); } buildCounterQueryList--; return o; @@ -4159,17 +4195,17 @@ api.QueryList buildQueryList() { void checkQueryList(api.QueryList o) { buildCounterQueryList++; if (buildCounterQueryList < 3) { - checkUnnamed86(o.queries!); + checkUnnamed87(o.queries!); } buildCounterQueryList--; } -core.List buildUnnamed87() => [ +core.List buildUnnamed88() => [ 'foo', 'foo', ]; -void checkUnnamed87(core.List o) { +void checkUnnamed88(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4186,7 +4222,7 @@ api.RegexValidation buildRegexValidation() { final o = api.RegexValidation(); buildCounterRegexValidation++; if (buildCounterRegexValidation < 3) { - o.regexes = buildUnnamed87(); + o.regexes = buildUnnamed88(); } buildCounterRegexValidation--; return o; @@ -4195,17 +4231,17 @@ api.RegexValidation buildRegexValidation() { void checkRegexValidation(api.RegexValidation o) { buildCounterRegexValidation++; if (buildCounterRegexValidation < 3) { - checkUnnamed87(o.regexes!); + checkUnnamed88(o.regexes!); } buildCounterRegexValidation--; } -core.List buildUnnamed88() => [ +core.List buildUnnamed89() => [ buildNodePool(), buildNodePool(), ]; -void checkUnnamed88(core.List o) { +void checkUnnamed89(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNodePool(o[0]); checkNodePool(o[1]); @@ -4218,7 +4254,7 @@ api.RepairClusterRequest buildRepairClusterRequest() { if (buildCounterRepairClusterRequest < 3) { o.clusterUuid = 'foo'; o.gracefulDecommissionTimeout = 'foo'; - o.nodePools = buildUnnamed88(); + o.nodePools = buildUnnamed89(); o.parentOperationId = 'foo'; o.requestId = 'foo'; } @@ -4237,7 +4273,7 @@ void checkRepairClusterRequest(api.RepairClusterRequest o) { o.gracefulDecommissionTimeout!, unittest.equals('foo'), ); - checkUnnamed88(o.nodePools!); + checkUnnamed89(o.nodePools!); unittest.expect( o.parentOperationId!, unittest.equals('foo'), @@ -4250,12 +4286,12 @@ void checkRepairClusterRequest(api.RepairClusterRequest o) { buildCounterRepairClusterRequest--; } -core.List buildUnnamed89() => [ +core.List buildUnnamed90() => [ 'foo', 'foo', ]; -void checkUnnamed89(core.List o) { +void checkUnnamed90(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4272,7 +4308,7 @@ api.RepairNodeGroupRequest buildRepairNodeGroupRequest() { final o = api.RepairNodeGroupRequest(); buildCounterRepairNodeGroupRequest++; if (buildCounterRepairNodeGroupRequest < 3) { - o.instanceNames = buildUnnamed89(); + o.instanceNames = buildUnnamed90(); o.repairAction = 'foo'; o.requestId = 'foo'; } @@ -4283,7 +4319,7 @@ api.RepairNodeGroupRequest buildRepairNodeGroupRequest() { void checkRepairNodeGroupRequest(api.RepairNodeGroupRequest o) { buildCounterRepairNodeGroupRequest++; if (buildCounterRepairNodeGroupRequest < 3) { - checkUnnamed89(o.instanceNames!); + checkUnnamed90(o.instanceNames!); unittest.expect( o.repairAction!, unittest.equals('foo'), @@ -4315,12 +4351,12 @@ void checkRepositoryConfig(api.RepositoryConfig o) { buildCounterRepositoryConfig--; } -core.List buildUnnamed90() => [ +core.List buildUnnamed91() => [ 'foo', 'foo', ]; -void checkUnnamed90(core.List o) { +void checkUnnamed91(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4339,7 +4375,7 @@ api.ReservationAffinity buildReservationAffinity() { if (buildCounterReservationAffinity < 3) { o.consumeReservationType = 'foo'; o.key = 'foo'; - o.values = buildUnnamed90(); + o.values = buildUnnamed91(); } buildCounterReservationAffinity--; return o; @@ -4356,7 +4392,7 @@ void checkReservationAffinity(api.ReservationAffinity o) { o.key!, unittest.equals('foo'), ); - checkUnnamed90(o.values!); + checkUnnamed91(o.values!); } buildCounterReservationAffinity--; } @@ -4398,12 +4434,12 @@ void checkResizeNodeGroupRequest(api.ResizeNodeGroupRequest o) { buildCounterResizeNodeGroupRequest--; } -core.Map buildUnnamed91() => { +core.Map buildUnnamed92() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed91(core.Map o) { +void checkUnnamed92(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4420,8 +4456,10 @@ api.RuntimeConfig buildRuntimeConfig() { final o = api.RuntimeConfig(); buildCounterRuntimeConfig++; if (buildCounterRuntimeConfig < 3) { + o.autotuningConfig = buildAutotuningConfig(); + o.cohort = 'foo'; o.containerImage = 'foo'; - o.properties = buildUnnamed91(); + o.properties = buildUnnamed92(); o.repositoryConfig = buildRepositoryConfig(); o.version = 'foo'; } @@ -4432,11 +4470,16 @@ api.RuntimeConfig buildRuntimeConfig() { void checkRuntimeConfig(api.RuntimeConfig o) { buildCounterRuntimeConfig++; if (buildCounterRuntimeConfig < 3) { + checkAutotuningConfig(o.autotuningConfig!); + unittest.expect( + o.cohort!, + unittest.equals('foo'), + ); unittest.expect( o.containerImage!, unittest.equals('foo'), ); - checkUnnamed91(o.properties!); + checkUnnamed92(o.properties!); checkRepositoryConfig(o.repositoryConfig!); unittest.expect( o.version!, @@ -4446,12 +4489,12 @@ void checkRuntimeConfig(api.RuntimeConfig o) { buildCounterRuntimeConfig--; } -core.Map buildUnnamed92() => { +core.Map buildUnnamed93() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed92(core.Map o) { +void checkUnnamed93(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4471,7 +4514,7 @@ api.RuntimeInfo buildRuntimeInfo() { o.approximateUsage = buildUsageMetrics(); o.currentUsage = buildUsageSnapshot(); o.diagnosticOutputUri = 'foo'; - o.endpoints = buildUnnamed92(); + o.endpoints = buildUnnamed93(); o.outputUri = 'foo'; } buildCounterRuntimeInfo--; @@ -4487,7 +4530,7 @@ void checkRuntimeInfo(api.RuntimeInfo o) { o.diagnosticOutputUri!, unittest.equals('foo'), ); - checkUnnamed92(o.endpoints!); + checkUnnamed93(o.endpoints!); unittest.expect( o.outputUri!, unittest.equals('foo'), @@ -4517,12 +4560,12 @@ void checkSecurityConfig(api.SecurityConfig o) { buildCounterSecurityConfig--; } -core.Map buildUnnamed93() => { +core.Map buildUnnamed94() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed93(core.Map o) { +void checkUnnamed94(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4534,12 +4577,12 @@ void checkUnnamed93(core.Map o) { ); } -core.List buildUnnamed94() => [ +core.List buildUnnamed95() => [ buildSessionStateHistory(), buildSessionStateHistory(), ]; -void checkUnnamed94(core.List o) { +void checkUnnamed95(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSessionStateHistory(o[0]); checkSessionStateHistory(o[1]); @@ -4554,13 +4597,13 @@ api.Session buildSession() { o.creator = 'foo'; o.environmentConfig = buildEnvironmentConfig(); o.jupyterSession = buildJupyterConfig(); - o.labels = buildUnnamed93(); + o.labels = buildUnnamed94(); o.name = 'foo'; o.runtimeConfig = buildRuntimeConfig(); o.runtimeInfo = buildRuntimeInfo(); o.sessionTemplate = 'foo'; o.state = 'foo'; - o.stateHistory = buildUnnamed94(); + o.stateHistory = buildUnnamed95(); o.stateMessage = 'foo'; o.stateTime = 'foo'; o.user = 'foo'; @@ -4583,7 +4626,7 @@ void checkSession(api.Session o) { ); checkEnvironmentConfig(o.environmentConfig!); checkJupyterConfig(o.jupyterSession!); - checkUnnamed93(o.labels!); + checkUnnamed94(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -4598,7 +4641,7 @@ void checkSession(api.Session o) { o.state!, unittest.equals('foo'), ); - checkUnnamed94(o.stateHistory!); + checkUnnamed95(o.stateHistory!); unittest.expect( o.stateMessage!, unittest.equals('foo'), @@ -4651,12 +4694,12 @@ void checkSessionStateHistory(api.SessionStateHistory o) { buildCounterSessionStateHistory--; } -core.Map buildUnnamed95() => { +core.Map buildUnnamed96() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed95(core.Map o) { +void checkUnnamed96(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4678,7 +4721,7 @@ api.SessionTemplate buildSessionTemplate() { o.description = 'foo'; o.environmentConfig = buildEnvironmentConfig(); o.jupyterSession = buildJupyterConfig(); - o.labels = buildUnnamed95(); + o.labels = buildUnnamed96(); o.name = 'foo'; o.runtimeConfig = buildRuntimeConfig(); o.updateTime = 'foo'; @@ -4705,7 +4748,7 @@ void checkSessionTemplate(api.SessionTemplate o) { ); checkEnvironmentConfig(o.environmentConfig!); checkJupyterConfig(o.jupyterSession!); - checkUnnamed95(o.labels!); + checkUnnamed96(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -4765,12 +4808,12 @@ void checkShieldedInstanceConfig(api.ShieldedInstanceConfig o) { buildCounterShieldedInstanceConfig--; } -core.List buildUnnamed96() => [ +core.List buildUnnamed97() => [ 'foo', 'foo', ]; -void checkUnnamed96(core.List o) { +void checkUnnamed97(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4782,12 +4825,12 @@ void checkUnnamed96(core.List o) { ); } -core.Map buildUnnamed97() => { +core.Map buildUnnamed98() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed97(core.Map o) { +void checkUnnamed98(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4805,8 +4848,8 @@ api.SoftwareConfig buildSoftwareConfig() { buildCounterSoftwareConfig++; if (buildCounterSoftwareConfig < 3) { o.imageVersion = 'foo'; - o.optionalComponents = buildUnnamed96(); - o.properties = buildUnnamed97(); + o.optionalComponents = buildUnnamed97(); + o.properties = buildUnnamed98(); } buildCounterSoftwareConfig--; return o; @@ -4819,18 +4862,18 @@ void checkSoftwareConfig(api.SoftwareConfig o) { o.imageVersion!, unittest.equals('foo'), ); - checkUnnamed96(o.optionalComponents!); - checkUnnamed97(o.properties!); + checkUnnamed97(o.optionalComponents!); + checkUnnamed98(o.properties!); } buildCounterSoftwareConfig--; } -core.List buildUnnamed98() => [ +core.List buildUnnamed99() => [ 'foo', 'foo', ]; -void checkUnnamed98(core.List o) { +void checkUnnamed99(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4842,12 +4885,12 @@ void checkUnnamed98(core.List o) { ); } -core.List buildUnnamed99() => [ +core.List buildUnnamed100() => [ 'foo', 'foo', ]; -void checkUnnamed99(core.List o) { +void checkUnnamed100(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4859,12 +4902,12 @@ void checkUnnamed99(core.List o) { ); } -core.List buildUnnamed100() => [ +core.List buildUnnamed101() => [ 'foo', 'foo', ]; -void checkUnnamed100(core.List o) { +void checkUnnamed101(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4876,12 +4919,12 @@ void checkUnnamed100(core.List o) { ); } -core.List buildUnnamed101() => [ +core.List buildUnnamed102() => [ 'foo', 'foo', ]; -void checkUnnamed101(core.List o) { +void checkUnnamed102(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4898,10 +4941,10 @@ api.SparkBatch buildSparkBatch() { final o = api.SparkBatch(); buildCounterSparkBatch++; if (buildCounterSparkBatch < 3) { - o.archiveUris = buildUnnamed98(); - o.args = buildUnnamed99(); - o.fileUris = buildUnnamed100(); - o.jarFileUris = buildUnnamed101(); + o.archiveUris = buildUnnamed99(); + o.args = buildUnnamed100(); + o.fileUris = buildUnnamed101(); + o.jarFileUris = buildUnnamed102(); o.mainClass = 'foo'; o.mainJarFileUri = 'foo'; } @@ -4912,10 +4955,10 @@ api.SparkBatch buildSparkBatch() { void checkSparkBatch(api.SparkBatch o) { buildCounterSparkBatch++; if (buildCounterSparkBatch < 3) { - checkUnnamed98(o.archiveUris!); - checkUnnamed99(o.args!); - checkUnnamed100(o.fileUris!); - checkUnnamed101(o.jarFileUris!); + checkUnnamed99(o.archiveUris!); + checkUnnamed100(o.args!); + checkUnnamed101(o.fileUris!); + checkUnnamed102(o.jarFileUris!); unittest.expect( o.mainClass!, unittest.equals('foo'), @@ -4950,12 +4993,12 @@ void checkSparkHistoryServerConfig(api.SparkHistoryServerConfig o) { buildCounterSparkHistoryServerConfig--; } -core.List buildUnnamed102() => [ +core.List buildUnnamed103() => [ 'foo', 'foo', ]; -void checkUnnamed102(core.List o) { +void checkUnnamed103(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4967,12 +5010,12 @@ void checkUnnamed102(core.List o) { ); } -core.List buildUnnamed103() => [ +core.List buildUnnamed104() => [ 'foo', 'foo', ]; -void checkUnnamed103(core.List o) { +void checkUnnamed104(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4984,12 +5027,12 @@ void checkUnnamed103(core.List o) { ); } -core.List buildUnnamed104() => [ +core.List buildUnnamed105() => [ 'foo', 'foo', ]; -void checkUnnamed104(core.List o) { +void checkUnnamed105(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5001,12 +5044,12 @@ void checkUnnamed104(core.List o) { ); } -core.List buildUnnamed105() => [ +core.List buildUnnamed106() => [ 'foo', 'foo', ]; -void checkUnnamed105(core.List o) { +void checkUnnamed106(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5018,12 +5061,12 @@ void checkUnnamed105(core.List o) { ); } -core.Map buildUnnamed106() => { +core.Map buildUnnamed107() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed106(core.Map o) { +void checkUnnamed107(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -5040,14 +5083,14 @@ api.SparkJob buildSparkJob() { final o = api.SparkJob(); buildCounterSparkJob++; if (buildCounterSparkJob < 3) { - o.archiveUris = buildUnnamed102(); - o.args = buildUnnamed103(); - o.fileUris = buildUnnamed104(); - o.jarFileUris = buildUnnamed105(); + o.archiveUris = buildUnnamed103(); + o.args = buildUnnamed104(); + o.fileUris = buildUnnamed105(); + o.jarFileUris = buildUnnamed106(); o.loggingConfig = buildLoggingConfig(); o.mainClass = 'foo'; o.mainJarFileUri = 'foo'; - o.properties = buildUnnamed106(); + o.properties = buildUnnamed107(); } buildCounterSparkJob--; return o; @@ -5056,10 +5099,10 @@ api.SparkJob buildSparkJob() { void checkSparkJob(api.SparkJob o) { buildCounterSparkJob++; if (buildCounterSparkJob < 3) { - checkUnnamed102(o.archiveUris!); - checkUnnamed103(o.args!); - checkUnnamed104(o.fileUris!); - checkUnnamed105(o.jarFileUris!); + checkUnnamed103(o.archiveUris!); + checkUnnamed104(o.args!); + checkUnnamed105(o.fileUris!); + checkUnnamed106(o.jarFileUris!); checkLoggingConfig(o.loggingConfig!); unittest.expect( o.mainClass!, @@ -5069,17 +5112,17 @@ void checkSparkJob(api.SparkJob o) { o.mainJarFileUri!, unittest.equals('foo'), ); - checkUnnamed106(o.properties!); + checkUnnamed107(o.properties!); } buildCounterSparkJob--; } -core.List buildUnnamed107() => [ +core.List buildUnnamed108() => [ 'foo', 'foo', ]; -void checkUnnamed107(core.List o) { +void checkUnnamed108(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5091,12 +5134,12 @@ void checkUnnamed107(core.List o) { ); } -core.List buildUnnamed108() => [ +core.List buildUnnamed109() => [ 'foo', 'foo', ]; -void checkUnnamed108(core.List o) { +void checkUnnamed109(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5108,12 +5151,12 @@ void checkUnnamed108(core.List o) { ); } -core.List buildUnnamed109() => [ +core.List buildUnnamed110() => [ 'foo', 'foo', ]; -void checkUnnamed109(core.List o) { +void checkUnnamed110(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5130,9 +5173,9 @@ api.SparkRBatch buildSparkRBatch() { final o = api.SparkRBatch(); buildCounterSparkRBatch++; if (buildCounterSparkRBatch < 3) { - o.archiveUris = buildUnnamed107(); - o.args = buildUnnamed108(); - o.fileUris = buildUnnamed109(); + o.archiveUris = buildUnnamed108(); + o.args = buildUnnamed109(); + o.fileUris = buildUnnamed110(); o.mainRFileUri = 'foo'; } buildCounterSparkRBatch--; @@ -5142,9 +5185,9 @@ api.SparkRBatch buildSparkRBatch() { void checkSparkRBatch(api.SparkRBatch o) { buildCounterSparkRBatch++; if (buildCounterSparkRBatch < 3) { - checkUnnamed107(o.archiveUris!); - checkUnnamed108(o.args!); - checkUnnamed109(o.fileUris!); + checkUnnamed108(o.archiveUris!); + checkUnnamed109(o.args!); + checkUnnamed110(o.fileUris!); unittest.expect( o.mainRFileUri!, unittest.equals('foo'), @@ -5153,12 +5196,12 @@ void checkSparkRBatch(api.SparkRBatch o) { buildCounterSparkRBatch--; } -core.List buildUnnamed110() => [ +core.List buildUnnamed111() => [ 'foo', 'foo', ]; -void checkUnnamed110(core.List o) { +void checkUnnamed111(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5170,12 +5213,12 @@ void checkUnnamed110(core.List o) { ); } -core.List buildUnnamed111() => [ +core.List buildUnnamed112() => [ 'foo', 'foo', ]; -void checkUnnamed111(core.List o) { +void checkUnnamed112(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5187,12 +5230,12 @@ void checkUnnamed111(core.List o) { ); } -core.List buildUnnamed112() => [ +core.List buildUnnamed113() => [ 'foo', 'foo', ]; -void checkUnnamed112(core.List o) { +void checkUnnamed113(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5204,12 +5247,12 @@ void checkUnnamed112(core.List o) { ); } -core.Map buildUnnamed113() => { +core.Map buildUnnamed114() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed113(core.Map o) { +void checkUnnamed114(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -5226,12 +5269,12 @@ api.SparkRJob buildSparkRJob() { final o = api.SparkRJob(); buildCounterSparkRJob++; if (buildCounterSparkRJob < 3) { - o.archiveUris = buildUnnamed110(); - o.args = buildUnnamed111(); - o.fileUris = buildUnnamed112(); + o.archiveUris = buildUnnamed111(); + o.args = buildUnnamed112(); + o.fileUris = buildUnnamed113(); o.loggingConfig = buildLoggingConfig(); o.mainRFileUri = 'foo'; - o.properties = buildUnnamed113(); + o.properties = buildUnnamed114(); } buildCounterSparkRJob--; return o; @@ -5240,25 +5283,25 @@ api.SparkRJob buildSparkRJob() { void checkSparkRJob(api.SparkRJob o) { buildCounterSparkRJob++; if (buildCounterSparkRJob < 3) { - checkUnnamed110(o.archiveUris!); - checkUnnamed111(o.args!); - checkUnnamed112(o.fileUris!); + checkUnnamed111(o.archiveUris!); + checkUnnamed112(o.args!); + checkUnnamed113(o.fileUris!); checkLoggingConfig(o.loggingConfig!); unittest.expect( o.mainRFileUri!, unittest.equals('foo'), ); - checkUnnamed113(o.properties!); + checkUnnamed114(o.properties!); } buildCounterSparkRJob--; } -core.List buildUnnamed114() => [ +core.List buildUnnamed115() => [ 'foo', 'foo', ]; -void checkUnnamed114(core.List o) { +void checkUnnamed115(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5270,12 +5313,12 @@ void checkUnnamed114(core.List o) { ); } -core.Map buildUnnamed115() => { +core.Map buildUnnamed116() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed115(core.Map o) { +void checkUnnamed116(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -5292,9 +5335,9 @@ api.SparkSqlBatch buildSparkSqlBatch() { final o = api.SparkSqlBatch(); buildCounterSparkSqlBatch++; if (buildCounterSparkSqlBatch < 3) { - o.jarFileUris = buildUnnamed114(); + o.jarFileUris = buildUnnamed115(); o.queryFileUri = 'foo'; - o.queryVariables = buildUnnamed115(); + o.queryVariables = buildUnnamed116(); } buildCounterSparkSqlBatch--; return o; @@ -5303,22 +5346,22 @@ api.SparkSqlBatch buildSparkSqlBatch() { void checkSparkSqlBatch(api.SparkSqlBatch o) { buildCounterSparkSqlBatch++; if (buildCounterSparkSqlBatch < 3) { - checkUnnamed114(o.jarFileUris!); + checkUnnamed115(o.jarFileUris!); unittest.expect( o.queryFileUri!, unittest.equals('foo'), ); - checkUnnamed115(o.queryVariables!); + checkUnnamed116(o.queryVariables!); } buildCounterSparkSqlBatch--; } -core.List buildUnnamed116() => [ +core.List buildUnnamed117() => [ 'foo', 'foo', ]; -void checkUnnamed116(core.List o) { +void checkUnnamed117(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5330,12 +5373,12 @@ void checkUnnamed116(core.List o) { ); } -core.Map buildUnnamed117() => { +core.Map buildUnnamed118() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed117(core.Map o) { +void checkUnnamed118(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -5347,12 +5390,12 @@ void checkUnnamed117(core.Map o) { ); } -core.Map buildUnnamed118() => { +core.Map buildUnnamed119() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed118(core.Map o) { +void checkUnnamed119(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -5369,12 +5412,12 @@ api.SparkSqlJob buildSparkSqlJob() { final o = api.SparkSqlJob(); buildCounterSparkSqlJob++; if (buildCounterSparkSqlJob < 3) { - o.jarFileUris = buildUnnamed116(); + o.jarFileUris = buildUnnamed117(); o.loggingConfig = buildLoggingConfig(); - o.properties = buildUnnamed117(); + o.properties = buildUnnamed118(); o.queryFileUri = 'foo'; o.queryList = buildQueryList(); - o.scriptVariables = buildUnnamed118(); + o.scriptVariables = buildUnnamed119(); } buildCounterSparkSqlJob--; return o; @@ -5383,15 +5426,15 @@ api.SparkSqlJob buildSparkSqlJob() { void checkSparkSqlJob(api.SparkSqlJob o) { buildCounterSparkSqlJob++; if (buildCounterSparkSqlJob < 3) { - checkUnnamed116(o.jarFileUris!); + checkUnnamed117(o.jarFileUris!); checkLoggingConfig(o.loggingConfig!); - checkUnnamed117(o.properties!); + checkUnnamed118(o.properties!); unittest.expect( o.queryFileUri!, unittest.equals('foo'), ); checkQueryList(o.queryList!); - checkUnnamed118(o.scriptVariables!); + checkUnnamed119(o.scriptVariables!); } buildCounterSparkSqlJob--; } @@ -5522,7 +5565,7 @@ void checkStateHistory(api.StateHistory o) { buildCounterStateHistory--; } -core.Map buildUnnamed119() => { +core.Map buildUnnamed120() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -5535,7 +5578,7 @@ core.Map buildUnnamed119() => { }, }; -void checkUnnamed119(core.Map o) { +void checkUnnamed120(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -5567,15 +5610,15 @@ void checkUnnamed119(core.Map o) { ); } -core.List> buildUnnamed120() => [ - buildUnnamed119(), - buildUnnamed119(), +core.List> buildUnnamed121() => [ + buildUnnamed120(), + buildUnnamed120(), ]; -void checkUnnamed120(core.List> o) { +void checkUnnamed121(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed119(o[0]); - checkUnnamed119(o[1]); + checkUnnamed120(o[0]); + checkUnnamed120(o[1]); } core.int buildCounterStatus = 0; @@ -5584,7 +5627,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed120(); + o.details = buildUnnamed121(); o.message = 'foo'; } buildCounterStatus--; @@ -5598,7 +5641,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed120(o.details!); + checkUnnamed121(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -5658,12 +5701,12 @@ void checkSubmitJobRequest(api.SubmitJobRequest o) { buildCounterSubmitJobRequest--; } -core.List buildUnnamed121() => [ +core.List buildUnnamed122() => [ 'foo', 'foo', ]; -void checkUnnamed121(core.List o) { +void checkUnnamed122(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5681,7 +5724,7 @@ api.TemplateParameter buildTemplateParameter() { buildCounterTemplateParameter++; if (buildCounterTemplateParameter < 3) { o.description = 'foo'; - o.fields = buildUnnamed121(); + o.fields = buildUnnamed122(); o.name = 'foo'; o.validation = buildParameterValidation(); } @@ -5696,7 +5739,7 @@ void checkTemplateParameter(api.TemplateParameter o) { o.description!, unittest.equals('foo'), ); - checkUnnamed121(o.fields!); + checkUnnamed122(o.fields!); unittest.expect( o.name!, unittest.equals('foo'), @@ -5728,12 +5771,12 @@ void checkTerminateSessionRequest(api.TerminateSessionRequest o) { buildCounterTerminateSessionRequest--; } -core.List buildUnnamed122() => [ +core.List buildUnnamed123() => [ 'foo', 'foo', ]; -void checkUnnamed122(core.List o) { +void checkUnnamed123(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5750,7 +5793,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed122(); + o.permissions = buildUnnamed123(); } buildCounterTestIamPermissionsRequest--; return o; @@ -5759,17 +5802,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed122(o.permissions!); + checkUnnamed123(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed123() => [ +core.List buildUnnamed124() => [ 'foo', 'foo', ]; -void checkUnnamed123(core.List o) { +void checkUnnamed124(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5786,7 +5829,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed123(); + o.permissions = buildUnnamed124(); } buildCounterTestIamPermissionsResponse--; return o; @@ -5795,17 +5838,17 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed123(o.permissions!); + checkUnnamed124(o.permissions!); } buildCounterTestIamPermissionsResponse--; } -core.List buildUnnamed124() => [ +core.List buildUnnamed125() => [ 'foo', 'foo', ]; -void checkUnnamed124(core.List o) { +void checkUnnamed125(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5817,12 +5860,12 @@ void checkUnnamed124(core.List o) { ); } -core.Map buildUnnamed125() => { +core.Map buildUnnamed126() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed125(core.Map o) { +void checkUnnamed126(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -5839,11 +5882,11 @@ api.TrinoJob buildTrinoJob() { final o = api.TrinoJob(); buildCounterTrinoJob++; if (buildCounterTrinoJob < 3) { - o.clientTags = buildUnnamed124(); + o.clientTags = buildUnnamed125(); o.continueOnFailure = true; o.loggingConfig = buildLoggingConfig(); o.outputFormat = 'foo'; - o.properties = buildUnnamed125(); + o.properties = buildUnnamed126(); o.queryFileUri = 'foo'; o.queryList = buildQueryList(); } @@ -5854,14 +5897,14 @@ api.TrinoJob buildTrinoJob() { void checkTrinoJob(api.TrinoJob o) { buildCounterTrinoJob++; if (buildCounterTrinoJob < 3) { - checkUnnamed124(o.clientTags!); + checkUnnamed125(o.clientTags!); unittest.expect(o.continueOnFailure!, unittest.isTrue); checkLoggingConfig(o.loggingConfig!); unittest.expect( o.outputFormat!, unittest.equals('foo'), ); - checkUnnamed125(o.properties!); + checkUnnamed126(o.properties!); unittest.expect( o.queryFileUri!, unittest.equals('foo'), @@ -5960,12 +6003,12 @@ void checkUsageSnapshot(api.UsageSnapshot o) { buildCounterUsageSnapshot--; } -core.List buildUnnamed126() => [ +core.List buildUnnamed127() => [ 'foo', 'foo', ]; -void checkUnnamed126(core.List o) { +void checkUnnamed127(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5982,7 +6025,7 @@ api.ValueValidation buildValueValidation() { final o = api.ValueValidation(); buildCounterValueValidation++; if (buildCounterValueValidation < 3) { - o.values = buildUnnamed126(); + o.values = buildUnnamed127(); } buildCounterValueValidation--; return o; @@ -5991,7 +6034,7 @@ api.ValueValidation buildValueValidation() { void checkValueValidation(api.ValueValidation o) { buildCounterValueValidation++; if (buildCounterValueValidation < 3) { - checkUnnamed126(o.values!); + checkUnnamed127(o.values!); } buildCounterValueValidation--; } @@ -6022,23 +6065,23 @@ void checkVirtualClusterConfig(api.VirtualClusterConfig o) { buildCounterVirtualClusterConfig--; } -core.List buildUnnamed127() => [ +core.List buildUnnamed128() => [ buildOrderedJob(), buildOrderedJob(), ]; -void checkUnnamed127(core.List o) { +void checkUnnamed128(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderedJob(o[0]); checkOrderedJob(o[1]); } -core.Map buildUnnamed128() => { +core.Map buildUnnamed129() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed128(core.Map o) { +void checkUnnamed129(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -6050,12 +6093,12 @@ void checkUnnamed128(core.Map o) { ); } -core.List buildUnnamed129() => [ +core.List buildUnnamed130() => [ buildTemplateParameter(), buildTemplateParameter(), ]; -void checkUnnamed129(core.List o) { +void checkUnnamed130(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTemplateParameter(o[0]); checkTemplateParameter(o[1]); @@ -6071,10 +6114,10 @@ api.WorkflowTemplate buildWorkflowTemplate() { o.encryptionConfig = buildGoogleCloudDataprocV1WorkflowTemplateEncryptionConfig(); o.id = 'foo'; - o.jobs = buildUnnamed127(); - o.labels = buildUnnamed128(); + o.jobs = buildUnnamed128(); + o.labels = buildUnnamed129(); o.name = 'foo'; - o.parameters = buildUnnamed129(); + o.parameters = buildUnnamed130(); o.placement = buildWorkflowTemplatePlacement(); o.updateTime = 'foo'; o.version = 42; @@ -6100,13 +6143,13 @@ void checkWorkflowTemplate(api.WorkflowTemplate o) { o.id!, unittest.equals('foo'), ); - checkUnnamed127(o.jobs!); - checkUnnamed128(o.labels!); + checkUnnamed128(o.jobs!); + checkUnnamed129(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed129(o.parameters!); + checkUnnamed130(o.parameters!); checkWorkflowTemplatePlacement(o.placement!); unittest.expect( o.updateTime!, @@ -6219,6 +6262,16 @@ void main() { }); }); + unittest.group('obj-schema-AutotuningConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildAutotuningConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AutotuningConfig.fromJson( + oJson as core.Map); + checkAutotuningConfig(od); + }); + }); + unittest.group('obj-schema-AuxiliaryNodeGroup', () { unittest.test('to-json--from-json', () async { final o = buildAuxiliaryNodeGroup(); diff --git a/generated/googleapis/test/datastream/v1_test.dart b/generated/googleapis/test/datastream/v1_test.dart index 7d7a81fe5..f88903430 100644 --- a/generated/googleapis/test/datastream/v1_test.dart +++ b/generated/googleapis/test/datastream/v1_test.dart @@ -372,6 +372,7 @@ api.DiscoverConnectionProfileRequest buildDiscoverConnectionProfileRequest() { o.mysqlRdbms = buildMysqlRdbms(); o.oracleRdbms = buildOracleRdbms(); o.postgresqlRdbms = buildPostgresqlRdbms(); + o.sqlServerRdbms = buildSqlServerRdbms(); } buildCounterDiscoverConnectionProfileRequest--; return o; @@ -394,6 +395,7 @@ void checkDiscoverConnectionProfileRequest( checkMysqlRdbms(o.mysqlRdbms!); checkOracleRdbms(o.oracleRdbms!); checkPostgresqlRdbms(o.postgresqlRdbms!); + checkSqlServerRdbms(o.sqlServerRdbms!); } buildCounterDiscoverConnectionProfileRequest--; } @@ -406,6 +408,7 @@ api.DiscoverConnectionProfileResponse buildDiscoverConnectionProfileResponse() { o.mysqlRdbms = buildMysqlRdbms(); o.oracleRdbms = buildOracleRdbms(); o.postgresqlRdbms = buildPostgresqlRdbms(); + o.sqlServerRdbms = buildSqlServerRdbms(); } buildCounterDiscoverConnectionProfileResponse--; return o; @@ -418,6 +421,7 @@ void checkDiscoverConnectionProfileResponse( checkMysqlRdbms(o.mysqlRdbms!); checkOracleRdbms(o.oracleRdbms!); checkPostgresqlRdbms(o.postgresqlRdbms!); + checkSqlServerRdbms(o.sqlServerRdbms!); } buildCounterDiscoverConnectionProfileResponse--; } @@ -2474,6 +2478,21 @@ void checkSpecificStartPosition(api.SpecificStartPosition o) { buildCounterSpecificStartPosition--; } +core.int buildCounterSqlServerChangeTables = 0; +api.SqlServerChangeTables buildSqlServerChangeTables() { + final o = api.SqlServerChangeTables(); + buildCounterSqlServerChangeTables++; + if (buildCounterSqlServerChangeTables < 3) {} + buildCounterSqlServerChangeTables--; + return o; +} + +void checkSqlServerChangeTables(api.SqlServerChangeTables o) { + buildCounterSqlServerChangeTables++; + if (buildCounterSqlServerChangeTables < 3) {} + buildCounterSqlServerChangeTables--; +} + core.int buildCounterSqlServerColumn = 0; api.SqlServerColumn buildSqlServerColumn() { final o = api.SqlServerColumn(); @@ -2664,10 +2683,12 @@ api.SqlServerSourceConfig buildSqlServerSourceConfig() { final o = api.SqlServerSourceConfig(); buildCounterSqlServerSourceConfig++; if (buildCounterSqlServerSourceConfig < 3) { + o.changeTables = buildSqlServerChangeTables(); o.excludeObjects = buildSqlServerRdbms(); o.includeObjects = buildSqlServerRdbms(); o.maxConcurrentBackfillTasks = 42; o.maxConcurrentCdcTasks = 42; + o.transactionLogs = buildSqlServerTransactionLogs(); } buildCounterSqlServerSourceConfig--; return o; @@ -2676,6 +2697,7 @@ api.SqlServerSourceConfig buildSqlServerSourceConfig() { void checkSqlServerSourceConfig(api.SqlServerSourceConfig o) { buildCounterSqlServerSourceConfig++; if (buildCounterSqlServerSourceConfig < 3) { + checkSqlServerChangeTables(o.changeTables!); checkSqlServerRdbms(o.excludeObjects!); checkSqlServerRdbms(o.includeObjects!); unittest.expect( @@ -2686,6 +2708,7 @@ void checkSqlServerSourceConfig(api.SqlServerSourceConfig o) { o.maxConcurrentCdcTasks!, unittest.equals(42), ); + checkSqlServerTransactionLogs(o.transactionLogs!); } buildCounterSqlServerSourceConfig--; } @@ -2725,6 +2748,21 @@ void checkSqlServerTable(api.SqlServerTable o) { buildCounterSqlServerTable--; } +core.int buildCounterSqlServerTransactionLogs = 0; +api.SqlServerTransactionLogs buildSqlServerTransactionLogs() { + final o = api.SqlServerTransactionLogs(); + buildCounterSqlServerTransactionLogs++; + if (buildCounterSqlServerTransactionLogs < 3) {} + buildCounterSqlServerTransactionLogs--; + return o; +} + +void checkSqlServerTransactionLogs(api.SqlServerTransactionLogs o) { + buildCounterSqlServerTransactionLogs++; + if (buildCounterSqlServerTransactionLogs < 3) {} + buildCounterSqlServerTransactionLogs--; +} + core.int buildCounterStartBackfillJobRequest = 0; api.StartBackfillJobRequest buildStartBackfillJobRequest() { final o = api.StartBackfillJobRequest(); @@ -3772,6 +3810,16 @@ void main() { }); }); + unittest.group('obj-schema-SqlServerChangeTables', () { + unittest.test('to-json--from-json', () async { + final o = buildSqlServerChangeTables(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.SqlServerChangeTables.fromJson( + oJson as core.Map); + checkSqlServerChangeTables(od); + }); + }); + unittest.group('obj-schema-SqlServerColumn', () { unittest.test('to-json--from-json', () async { final o = buildSqlServerColumn(); @@ -3842,6 +3890,16 @@ void main() { }); }); + unittest.group('obj-schema-SqlServerTransactionLogs', () { + unittest.test('to-json--from-json', () async { + final o = buildSqlServerTransactionLogs(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.SqlServerTransactionLogs.fromJson( + oJson as core.Map); + checkSqlServerTransactionLogs(od); + }); + }); + unittest.group('obj-schema-StartBackfillJobRequest', () { unittest.test('to-json--from-json', () async { final o = buildStartBackfillJobRequest(); diff --git a/generated/googleapis/test/dialogflow/v2_test.dart b/generated/googleapis/test/dialogflow/v2_test.dart index 6f1f2e45f..7e06a305b 100644 --- a/generated/googleapis/test/dialogflow/v2_test.dart +++ b/generated/googleapis/test/dialogflow/v2_test.dart @@ -122,6 +122,8 @@ api.GoogleCloudDialogflowV2AgentAssistantFeedback o.answerRelevance = 'foo'; o.documentCorrectness = 'foo'; o.documentEfficiency = 'foo'; + o.knowledgeAssistFeedback = + buildGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback(); o.knowledgeSearchFeedback = buildGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback(); o.summarizationFeedback = @@ -147,6 +149,8 @@ void checkGoogleCloudDialogflowV2AgentAssistantFeedback( o.documentEfficiency!, unittest.equals('foo'), ); + checkGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback( + o.knowledgeAssistFeedback!); checkGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback( o.knowledgeSearchFeedback!); checkGoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback( @@ -172,6 +176,52 @@ void checkUnnamed1(core.List o) { ); } +core.int + buildCounterGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback = + 0; +api.GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback + buildGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback() { + final o = api + .GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback(); + buildCounterGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback++; + if (buildCounterGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback < + 3) { + o.answerCopied = true; + o.clickedUris = buildUnnamed1(); + } + buildCounterGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback--; + return o; +} + +void checkGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback( + api.GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback + o) { + buildCounterGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback++; + if (buildCounterGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback < + 3) { + unittest.expect(o.answerCopied!, unittest.isTrue); + checkUnnamed1(o.clickedUris!); + } + buildCounterGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback--; +} + +core.List buildUnnamed2() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed2(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + core.int buildCounterGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback = 0; @@ -183,7 +233,7 @@ api.GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback if (buildCounterGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback < 3) { o.answerCopied = true; - o.clickedUris = buildUnnamed1(); + o.clickedUris = buildUnnamed2(); } buildCounterGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback--; return o; @@ -196,17 +246,17 @@ void checkGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback( if (buildCounterGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback < 3) { unittest.expect(o.answerCopied!, unittest.isTrue); - checkUnnamed1(o.clickedUris!); + checkUnnamed2(o.clickedUris!); } buildCounterGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback--; } -core.Map buildUnnamed2() => { +core.Map buildUnnamed3() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed2(core.Map o) { +void checkUnnamed3(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -231,7 +281,7 @@ api.GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback o.startTime = 'foo'; o.submitTime = 'foo'; o.summaryText = 'foo'; - o.textSections = buildUnnamed2(); + o.textSections = buildUnnamed3(); } buildCounterGoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback--; return o; @@ -254,7 +304,7 @@ void checkGoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback( o.summaryText!, unittest.equals('foo'), ); - checkUnnamed2(o.textSections!); + checkUnnamed3(o.textSections!); } buildCounterGoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback--; } @@ -286,7 +336,7 @@ void checkGoogleCloudDialogflowV2AgentAssistantRecord( buildCounterGoogleCloudDialogflowV2AgentAssistantRecord--; } -core.Map buildUnnamed3() => { +core.Map buildUnnamed4() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -299,7 +349,7 @@ core.Map buildUnnamed3() => { }, }; -void checkUnnamed3(core.Map o) { +void checkUnnamed4(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -338,7 +388,7 @@ api.GoogleCloudDialogflowV2AnalyzeContentRequest buildCounterGoogleCloudDialogflowV2AnalyzeContentRequest++; if (buildCounterGoogleCloudDialogflowV2AnalyzeContentRequest < 3) { o.assistQueryParams = buildGoogleCloudDialogflowV2AssistQueryParameters(); - o.cxParameters = buildUnnamed3(); + o.cxParameters = buildUnnamed4(); o.eventInput = buildGoogleCloudDialogflowV2EventInput(); o.queryParams = buildGoogleCloudDialogflowV2QueryParameters(); o.replyAudioConfig = buildGoogleCloudDialogflowV2OutputAudioConfig(); @@ -355,7 +405,7 @@ void checkGoogleCloudDialogflowV2AnalyzeContentRequest( buildCounterGoogleCloudDialogflowV2AnalyzeContentRequest++; if (buildCounterGoogleCloudDialogflowV2AnalyzeContentRequest < 3) { checkGoogleCloudDialogflowV2AssistQueryParameters(o.assistQueryParams!); - checkUnnamed3(o.cxParameters!); + checkUnnamed4(o.cxParameters!); checkGoogleCloudDialogflowV2EventInput(o.eventInput!); checkGoogleCloudDialogflowV2QueryParameters(o.queryParams!); checkGoogleCloudDialogflowV2OutputAudioConfig(o.replyAudioConfig!); @@ -369,23 +419,23 @@ void checkGoogleCloudDialogflowV2AnalyzeContentRequest( buildCounterGoogleCloudDialogflowV2AnalyzeContentRequest--; } -core.List buildUnnamed4() => [ +core.List buildUnnamed5() => [ buildGoogleCloudDialogflowV2SuggestionResult(), buildGoogleCloudDialogflowV2SuggestionResult(), ]; -void checkUnnamed4(core.List o) { +void checkUnnamed5(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SuggestionResult(o[0]); checkGoogleCloudDialogflowV2SuggestionResult(o[1]); } -core.List buildUnnamed5() => [ +core.List buildUnnamed6() => [ buildGoogleCloudDialogflowV2SuggestionResult(), buildGoogleCloudDialogflowV2SuggestionResult(), ]; -void checkUnnamed5(core.List o) { +void checkUnnamed6(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SuggestionResult(o[0]); checkGoogleCloudDialogflowV2SuggestionResult(o[1]); @@ -399,8 +449,8 @@ api.GoogleCloudDialogflowV2AnalyzeContentResponse if (buildCounterGoogleCloudDialogflowV2AnalyzeContentResponse < 3) { o.automatedAgentReply = buildGoogleCloudDialogflowV2AutomatedAgentReply(); o.dtmfParameters = buildGoogleCloudDialogflowV2DtmfParameters(); - o.endUserSuggestionResults = buildUnnamed4(); - o.humanAgentSuggestionResults = buildUnnamed5(); + o.endUserSuggestionResults = buildUnnamed5(); + o.humanAgentSuggestionResults = buildUnnamed6(); o.message = buildGoogleCloudDialogflowV2Message(); o.replyAudio = buildGoogleCloudDialogflowV2OutputAudio(); o.replyText = 'foo'; @@ -415,8 +465,8 @@ void checkGoogleCloudDialogflowV2AnalyzeContentResponse( if (buildCounterGoogleCloudDialogflowV2AnalyzeContentResponse < 3) { checkGoogleCloudDialogflowV2AutomatedAgentReply(o.automatedAgentReply!); checkGoogleCloudDialogflowV2DtmfParameters(o.dtmfParameters!); - checkUnnamed4(o.endUserSuggestionResults!); - checkUnnamed5(o.humanAgentSuggestionResults!); + checkUnnamed5(o.endUserSuggestionResults!); + checkUnnamed6(o.humanAgentSuggestionResults!); checkGoogleCloudDialogflowV2Message(o.message!); checkGoogleCloudDialogflowV2OutputAudio(o.replyAudio!); unittest.expect( @@ -545,12 +595,12 @@ void checkGoogleCloudDialogflowV2AnswerRecord( buildCounterGoogleCloudDialogflowV2AnswerRecord--; } -core.Map buildUnnamed6() => { +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']!, @@ -562,12 +612,12 @@ void checkUnnamed6(core.Map o) { ); } -core.List buildUnnamed7() => [ +core.List buildUnnamed8() => [ 'foo', 'foo', ]; -void checkUnnamed7(core.List o) { +void checkUnnamed8(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -587,8 +637,8 @@ api.GoogleCloudDialogflowV2ArticleAnswer if (buildCounterGoogleCloudDialogflowV2ArticleAnswer < 3) { o.answerRecord = 'foo'; o.confidence = 42.0; - o.metadata = buildUnnamed6(); - o.snippets = buildUnnamed7(); + o.metadata = buildUnnamed7(); + o.snippets = buildUnnamed8(); o.title = 'foo'; o.uri = 'foo'; } @@ -608,8 +658,8 @@ void checkGoogleCloudDialogflowV2ArticleAnswer( o.confidence!, unittest.equals(42.0), ); - checkUnnamed6(o.metadata!); - checkUnnamed7(o.snippets!); + checkUnnamed7(o.metadata!); + checkUnnamed8(o.snippets!); unittest.expect( o.title!, unittest.equals('foo'), @@ -646,12 +696,12 @@ void checkGoogleCloudDialogflowV2ArticleSuggestionModelMetadata( buildCounterGoogleCloudDialogflowV2ArticleSuggestionModelMetadata--; } -core.Map buildUnnamed8() => { +core.Map buildUnnamed9() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed8(core.Map o) { +void checkUnnamed9(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -669,7 +719,7 @@ api.GoogleCloudDialogflowV2AssistQueryParameters final o = api.GoogleCloudDialogflowV2AssistQueryParameters(); buildCounterGoogleCloudDialogflowV2AssistQueryParameters++; if (buildCounterGoogleCloudDialogflowV2AssistQueryParameters < 3) { - o.documentsMetadataFilters = buildUnnamed8(); + o.documentsMetadataFilters = buildUnnamed9(); } buildCounterGoogleCloudDialogflowV2AssistQueryParameters--; return o; @@ -679,7 +729,7 @@ void checkGoogleCloudDialogflowV2AssistQueryParameters( api.GoogleCloudDialogflowV2AssistQueryParameters o) { buildCounterGoogleCloudDialogflowV2AssistQueryParameters++; if (buildCounterGoogleCloudDialogflowV2AssistQueryParameters < 3) { - checkUnnamed8(o.documentsMetadataFilters!); + checkUnnamed9(o.documentsMetadataFilters!); } buildCounterGoogleCloudDialogflowV2AssistQueryParameters--; } @@ -746,12 +796,12 @@ void checkGoogleCloudDialogflowV2AutomatedAgentReply( buildCounterGoogleCloudDialogflowV2AutomatedAgentReply--; } -core.List buildUnnamed9() => [ +core.List buildUnnamed10() => [ buildGoogleCloudDialogflowV2EntityTypeEntity(), buildGoogleCloudDialogflowV2EntityTypeEntity(), ]; -void checkUnnamed9(core.List o) { +void checkUnnamed10(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EntityTypeEntity(o[0]); checkGoogleCloudDialogflowV2EntityTypeEntity(o[1]); @@ -763,7 +813,7 @@ api.GoogleCloudDialogflowV2BatchCreateEntitiesRequest final o = api.GoogleCloudDialogflowV2BatchCreateEntitiesRequest(); buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest++; if (buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest < 3) { - o.entities = buildUnnamed9(); + o.entities = buildUnnamed10(); o.languageCode = 'foo'; } buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest--; @@ -774,7 +824,7 @@ void checkGoogleCloudDialogflowV2BatchCreateEntitiesRequest( api.GoogleCloudDialogflowV2BatchCreateEntitiesRequest o) { buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest++; if (buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest < 3) { - checkUnnamed9(o.entities!); + checkUnnamed10(o.entities!); unittest.expect( o.languageCode!, unittest.equals('foo'), @@ -783,12 +833,12 @@ void checkGoogleCloudDialogflowV2BatchCreateEntitiesRequest( buildCounterGoogleCloudDialogflowV2BatchCreateEntitiesRequest--; } -core.List buildUnnamed10() => [ +core.List buildUnnamed11() => [ 'foo', 'foo', ]; -void checkUnnamed10(core.List o) { +void checkUnnamed11(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -806,7 +856,7 @@ api.GoogleCloudDialogflowV2BatchDeleteEntitiesRequest final o = api.GoogleCloudDialogflowV2BatchDeleteEntitiesRequest(); buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest++; if (buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest < 3) { - o.entityValues = buildUnnamed10(); + o.entityValues = buildUnnamed11(); o.languageCode = 'foo'; } buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest--; @@ -817,7 +867,7 @@ void checkGoogleCloudDialogflowV2BatchDeleteEntitiesRequest( api.GoogleCloudDialogflowV2BatchDeleteEntitiesRequest o) { buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest++; if (buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest < 3) { - checkUnnamed10(o.entityValues!); + checkUnnamed11(o.entityValues!); unittest.expect( o.languageCode!, unittest.equals('foo'), @@ -826,12 +876,12 @@ void checkGoogleCloudDialogflowV2BatchDeleteEntitiesRequest( buildCounterGoogleCloudDialogflowV2BatchDeleteEntitiesRequest--; } -core.List buildUnnamed11() => [ +core.List buildUnnamed12() => [ 'foo', 'foo', ]; -void checkUnnamed11(core.List o) { +void checkUnnamed12(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -849,7 +899,7 @@ api.GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest final o = api.GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest(); buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest++; if (buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest < 3) { - o.entityTypeNames = buildUnnamed11(); + o.entityTypeNames = buildUnnamed12(); } buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest--; return o; @@ -859,17 +909,17 @@ void checkGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest( api.GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest o) { buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest++; if (buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest < 3) { - checkUnnamed11(o.entityTypeNames!); + checkUnnamed12(o.entityTypeNames!); } buildCounterGoogleCloudDialogflowV2BatchDeleteEntityTypesRequest--; } -core.List buildUnnamed12() => [ +core.List buildUnnamed13() => [ buildGoogleCloudDialogflowV2Intent(), buildGoogleCloudDialogflowV2Intent(), ]; -void checkUnnamed12(core.List o) { +void checkUnnamed13(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Intent(o[0]); checkGoogleCloudDialogflowV2Intent(o[1]); @@ -881,7 +931,7 @@ api.GoogleCloudDialogflowV2BatchDeleteIntentsRequest final o = api.GoogleCloudDialogflowV2BatchDeleteIntentsRequest(); buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest++; if (buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest < 3) { - o.intents = buildUnnamed12(); + o.intents = buildUnnamed13(); } buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest--; return o; @@ -891,17 +941,17 @@ void checkGoogleCloudDialogflowV2BatchDeleteIntentsRequest( api.GoogleCloudDialogflowV2BatchDeleteIntentsRequest o) { buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest++; if (buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest < 3) { - checkUnnamed12(o.intents!); + checkUnnamed13(o.intents!); } buildCounterGoogleCloudDialogflowV2BatchDeleteIntentsRequest--; } -core.List buildUnnamed13() => [ +core.List buildUnnamed14() => [ buildGoogleCloudDialogflowV2EntityTypeEntity(), buildGoogleCloudDialogflowV2EntityTypeEntity(), ]; -void checkUnnamed13(core.List o) { +void checkUnnamed14(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EntityTypeEntity(o[0]); checkGoogleCloudDialogflowV2EntityTypeEntity(o[1]); @@ -913,7 +963,7 @@ api.GoogleCloudDialogflowV2BatchUpdateEntitiesRequest final o = api.GoogleCloudDialogflowV2BatchUpdateEntitiesRequest(); buildCounterGoogleCloudDialogflowV2BatchUpdateEntitiesRequest++; if (buildCounterGoogleCloudDialogflowV2BatchUpdateEntitiesRequest < 3) { - o.entities = buildUnnamed13(); + o.entities = buildUnnamed14(); o.languageCode = 'foo'; o.updateMask = 'foo'; } @@ -925,7 +975,7 @@ void checkGoogleCloudDialogflowV2BatchUpdateEntitiesRequest( api.GoogleCloudDialogflowV2BatchUpdateEntitiesRequest o) { buildCounterGoogleCloudDialogflowV2BatchUpdateEntitiesRequest++; if (buildCounterGoogleCloudDialogflowV2BatchUpdateEntitiesRequest < 3) { - checkUnnamed13(o.entities!); + checkUnnamed14(o.entities!); unittest.expect( o.languageCode!, unittest.equals('foo'), @@ -1064,7 +1114,7 @@ void checkGoogleCloudDialogflowV2CompleteConversationRequest( buildCounterGoogleCloudDialogflowV2CompleteConversationRequest--; } -core.Map buildUnnamed14() => { +core.Map buildUnnamed15() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1077,7 +1127,7 @@ core.Map buildUnnamed14() => { }, }; -void checkUnnamed14(core.Map o) { +void checkUnnamed15(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted4 = (o['x']!) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); @@ -1116,7 +1166,7 @@ api.GoogleCloudDialogflowV2Context buildGoogleCloudDialogflowV2Context() { if (buildCounterGoogleCloudDialogflowV2Context < 3) { o.lifespanCount = 42; o.name = 'foo'; - o.parameters = buildUnnamed14(); + o.parameters = buildUnnamed15(); } buildCounterGoogleCloudDialogflowV2Context--; return o; @@ -1133,7 +1183,7 @@ void checkGoogleCloudDialogflowV2Context(api.GoogleCloudDialogflowV2Context o) { o.name!, unittest.equals('foo'), ); - checkUnnamed14(o.parameters!); + checkUnnamed15(o.parameters!); } buildCounterGoogleCloudDialogflowV2Context--; } @@ -1189,6 +1239,38 @@ void checkGoogleCloudDialogflowV2Conversation( buildCounterGoogleCloudDialogflowV2Conversation--; } +core.List buildUnnamed16() => [ + buildGoogleCloudDialogflowV2MessageEntry(), + buildGoogleCloudDialogflowV2MessageEntry(), + ]; + +void checkUnnamed16(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDialogflowV2MessageEntry(o[0]); + checkGoogleCloudDialogflowV2MessageEntry(o[1]); +} + +core.int buildCounterGoogleCloudDialogflowV2ConversationContext = 0; +api.GoogleCloudDialogflowV2ConversationContext + buildGoogleCloudDialogflowV2ConversationContext() { + final o = api.GoogleCloudDialogflowV2ConversationContext(); + buildCounterGoogleCloudDialogflowV2ConversationContext++; + if (buildCounterGoogleCloudDialogflowV2ConversationContext < 3) { + o.messageEntries = buildUnnamed16(); + } + buildCounterGoogleCloudDialogflowV2ConversationContext--; + return o; +} + +void checkGoogleCloudDialogflowV2ConversationContext( + api.GoogleCloudDialogflowV2ConversationContext o) { + buildCounterGoogleCloudDialogflowV2ConversationContext++; + if (buildCounterGoogleCloudDialogflowV2ConversationContext < 3) { + checkUnnamed16(o.messageEntries!); + } + buildCounterGoogleCloudDialogflowV2ConversationContext--; +} + core.int buildCounterGoogleCloudDialogflowV2ConversationDataset = 0; api.GoogleCloudDialogflowV2ConversationDataset buildGoogleCloudDialogflowV2ConversationDataset() { @@ -1261,12 +1343,12 @@ void checkGoogleCloudDialogflowV2ConversationInfo( buildCounterGoogleCloudDialogflowV2ConversationInfo--; } -core.List buildUnnamed15() => [ +core.List buildUnnamed17() => [ buildGoogleCloudDialogflowV2InputDataset(), buildGoogleCloudDialogflowV2InputDataset(), ]; -void checkUnnamed15(core.List o) { +void checkUnnamed17(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2InputDataset(o[0]); checkGoogleCloudDialogflowV2InputDataset(o[1]); @@ -1281,7 +1363,7 @@ api.GoogleCloudDialogflowV2ConversationModel o.articleSuggestionModelMetadata = buildGoogleCloudDialogflowV2ArticleSuggestionModelMetadata(); o.createTime = 'foo'; - o.datasets = buildUnnamed15(); + o.datasets = buildUnnamed17(); o.displayName = 'foo'; o.languageCode = 'foo'; o.name = 'foo'; @@ -1303,7 +1385,7 @@ void checkGoogleCloudDialogflowV2ConversationModel( o.createTime!, unittest.equals('foo'), ); - checkUnnamed15(o.datasets!); + checkUnnamed17(o.datasets!); unittest.expect( o.displayName!, unittest.equals('foo'), @@ -1612,12 +1694,12 @@ void checkGoogleCloudDialogflowV2DialogflowAssistAnswer( buildCounterGoogleCloudDialogflowV2DialogflowAssistAnswer--; } -core.List buildUnnamed16() => [ +core.List buildUnnamed18() => [ 'foo', 'foo', ]; -void checkUnnamed16(core.List o) { +void checkUnnamed18(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1629,12 +1711,12 @@ void checkUnnamed16(core.List o) { ); } -core.Map buildUnnamed17() => { +core.Map buildUnnamed19() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed17(core.Map o) { +void checkUnnamed19(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1654,9 +1736,9 @@ api.GoogleCloudDialogflowV2Document buildGoogleCloudDialogflowV2Document() { o.contentUri = 'foo'; o.displayName = 'foo'; o.enableAutoReload = true; - o.knowledgeTypes = buildUnnamed16(); + o.knowledgeTypes = buildUnnamed18(); o.latestReloadStatus = buildGoogleCloudDialogflowV2DocumentReloadStatus(); - o.metadata = buildUnnamed17(); + o.metadata = buildUnnamed19(); o.mimeType = 'foo'; o.name = 'foo'; o.rawContent = 'foo'; @@ -1679,9 +1761,9 @@ void checkGoogleCloudDialogflowV2Document( unittest.equals('foo'), ); unittest.expect(o.enableAutoReload!, unittest.isTrue); - checkUnnamed16(o.knowledgeTypes!); + checkUnnamed18(o.knowledgeTypes!); checkGoogleCloudDialogflowV2DocumentReloadStatus(o.latestReloadStatus!); - checkUnnamed17(o.metadata!); + checkUnnamed19(o.metadata!); unittest.expect( o.mimeType!, unittest.equals('foo'), @@ -1749,12 +1831,12 @@ void checkGoogleCloudDialogflowV2DtmfParameters( buildCounterGoogleCloudDialogflowV2DtmfParameters--; } -core.List buildUnnamed18() => [ +core.List buildUnnamed20() => [ buildGoogleCloudDialogflowV2EntityTypeEntity(), buildGoogleCloudDialogflowV2EntityTypeEntity(), ]; -void checkUnnamed18(core.List o) { +void checkUnnamed20(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EntityTypeEntity(o[0]); checkGoogleCloudDialogflowV2EntityTypeEntity(o[1]); @@ -1768,7 +1850,7 @@ api.GoogleCloudDialogflowV2EntityType buildGoogleCloudDialogflowV2EntityType() { o.autoExpansionMode = 'foo'; o.displayName = 'foo'; o.enableFuzzyExtraction = true; - o.entities = buildUnnamed18(); + o.entities = buildUnnamed20(); o.kind = 'foo'; o.name = 'foo'; } @@ -1789,7 +1871,7 @@ void checkGoogleCloudDialogflowV2EntityType( unittest.equals('foo'), ); unittest.expect(o.enableFuzzyExtraction!, unittest.isTrue); - checkUnnamed18(o.entities!); + checkUnnamed20(o.entities!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1802,12 +1884,12 @@ void checkGoogleCloudDialogflowV2EntityType( buildCounterGoogleCloudDialogflowV2EntityType--; } -core.List buildUnnamed19() => [ +core.List buildUnnamed21() => [ buildGoogleCloudDialogflowV2EntityType(), buildGoogleCloudDialogflowV2EntityType(), ]; -void checkUnnamed19(core.List o) { +void checkUnnamed21(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EntityType(o[0]); checkGoogleCloudDialogflowV2EntityType(o[1]); @@ -1819,7 +1901,7 @@ api.GoogleCloudDialogflowV2EntityTypeBatch final o = api.GoogleCloudDialogflowV2EntityTypeBatch(); buildCounterGoogleCloudDialogflowV2EntityTypeBatch++; if (buildCounterGoogleCloudDialogflowV2EntityTypeBatch < 3) { - o.entityTypes = buildUnnamed19(); + o.entityTypes = buildUnnamed21(); } buildCounterGoogleCloudDialogflowV2EntityTypeBatch--; return o; @@ -1829,17 +1911,17 @@ void checkGoogleCloudDialogflowV2EntityTypeBatch( api.GoogleCloudDialogflowV2EntityTypeBatch o) { buildCounterGoogleCloudDialogflowV2EntityTypeBatch++; if (buildCounterGoogleCloudDialogflowV2EntityTypeBatch < 3) { - checkUnnamed19(o.entityTypes!); + checkUnnamed21(o.entityTypes!); } buildCounterGoogleCloudDialogflowV2EntityTypeBatch--; } -core.List buildUnnamed20() => [ +core.List buildUnnamed22() => [ 'foo', 'foo', ]; -void checkUnnamed20(core.List o) { +void checkUnnamed22(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1857,7 +1939,7 @@ api.GoogleCloudDialogflowV2EntityTypeEntity final o = api.GoogleCloudDialogflowV2EntityTypeEntity(); buildCounterGoogleCloudDialogflowV2EntityTypeEntity++; if (buildCounterGoogleCloudDialogflowV2EntityTypeEntity < 3) { - o.synonyms = buildUnnamed20(); + o.synonyms = buildUnnamed22(); o.value = 'foo'; } buildCounterGoogleCloudDialogflowV2EntityTypeEntity--; @@ -1868,7 +1950,7 @@ void checkGoogleCloudDialogflowV2EntityTypeEntity( api.GoogleCloudDialogflowV2EntityTypeEntity o) { buildCounterGoogleCloudDialogflowV2EntityTypeEntity++; if (buildCounterGoogleCloudDialogflowV2EntityTypeEntity < 3) { - checkUnnamed20(o.synonyms!); + checkUnnamed22(o.synonyms!); unittest.expect( o.value!, unittest.equals('foo'), @@ -1926,12 +2008,12 @@ void checkGoogleCloudDialogflowV2Environment( } core.List - buildUnnamed21() => [ + buildUnnamed23() => [ buildGoogleCloudDialogflowV2EnvironmentHistoryEntry(), buildGoogleCloudDialogflowV2EnvironmentHistoryEntry(), ]; -void checkUnnamed21( +void checkUnnamed23( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EnvironmentHistoryEntry(o[0]); @@ -1944,7 +2026,7 @@ api.GoogleCloudDialogflowV2EnvironmentHistory final o = api.GoogleCloudDialogflowV2EnvironmentHistory(); buildCounterGoogleCloudDialogflowV2EnvironmentHistory++; if (buildCounterGoogleCloudDialogflowV2EnvironmentHistory < 3) { - o.entries = buildUnnamed21(); + o.entries = buildUnnamed23(); o.nextPageToken = 'foo'; o.parent = 'foo'; } @@ -1956,7 +2038,7 @@ void checkGoogleCloudDialogflowV2EnvironmentHistory( api.GoogleCloudDialogflowV2EnvironmentHistory o) { buildCounterGoogleCloudDialogflowV2EnvironmentHistory++; if (buildCounterGoogleCloudDialogflowV2EnvironmentHistory < 3) { - checkUnnamed21(o.entries!); + checkUnnamed23(o.entries!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2003,12 +2085,12 @@ void checkGoogleCloudDialogflowV2EnvironmentHistoryEntry( buildCounterGoogleCloudDialogflowV2EnvironmentHistoryEntry--; } -core.List buildUnnamed22() => [ +core.List buildUnnamed24() => [ buildGoogleCloudDialogflowV2InputDataset(), buildGoogleCloudDialogflowV2InputDataset(), ]; -void checkUnnamed22(core.List o) { +void checkUnnamed24(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2InputDataset(o[0]); checkGoogleCloudDialogflowV2InputDataset(o[1]); @@ -2020,7 +2102,7 @@ api.GoogleCloudDialogflowV2EvaluationConfig final o = api.GoogleCloudDialogflowV2EvaluationConfig(); buildCounterGoogleCloudDialogflowV2EvaluationConfig++; if (buildCounterGoogleCloudDialogflowV2EvaluationConfig < 3) { - o.datasets = buildUnnamed22(); + o.datasets = buildUnnamed24(); o.smartComposeConfig = buildGoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig(); o.smartReplyConfig = @@ -2034,7 +2116,7 @@ void checkGoogleCloudDialogflowV2EvaluationConfig( api.GoogleCloudDialogflowV2EvaluationConfig o) { buildCounterGoogleCloudDialogflowV2EvaluationConfig++; if (buildCounterGoogleCloudDialogflowV2EvaluationConfig < 3) { - checkUnnamed22(o.datasets!); + checkUnnamed24(o.datasets!); checkGoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig( o.smartComposeConfig!); checkGoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig( @@ -2105,7 +2187,7 @@ void checkGoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig( buildCounterGoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig--; } -core.Map buildUnnamed23() => { +core.Map buildUnnamed25() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2118,7 +2200,7 @@ core.Map buildUnnamed23() => { }, }; -void checkUnnamed23(core.Map o) { +void checkUnnamed25(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted6 = (o['x']!) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); @@ -2157,7 +2239,7 @@ api.GoogleCloudDialogflowV2EventInput buildGoogleCloudDialogflowV2EventInput() { if (buildCounterGoogleCloudDialogflowV2EventInput < 3) { o.languageCode = 'foo'; o.name = 'foo'; - o.parameters = buildUnnamed23(); + o.parameters = buildUnnamed25(); } buildCounterGoogleCloudDialogflowV2EventInput--; return o; @@ -2175,7 +2257,7 @@ void checkGoogleCloudDialogflowV2EventInput( o.name!, unittest.equals('foo'), ); - checkUnnamed23(o.parameters!); + checkUnnamed25(o.parameters!); } buildCounterGoogleCloudDialogflowV2EventInput--; } @@ -2229,12 +2311,12 @@ void checkGoogleCloudDialogflowV2ExportDocumentRequest( buildCounterGoogleCloudDialogflowV2ExportDocumentRequest--; } -core.Map buildUnnamed24() => { +core.Map buildUnnamed26() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed24(core.Map o) { +void checkUnnamed26(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2254,7 +2336,7 @@ api.GoogleCloudDialogflowV2FaqAnswer buildGoogleCloudDialogflowV2FaqAnswer() { o.answer = 'foo'; o.answerRecord = 'foo'; o.confidence = 42.0; - o.metadata = buildUnnamed24(); + o.metadata = buildUnnamed26(); o.question = 'foo'; o.source = 'foo'; } @@ -2278,7 +2360,7 @@ void checkGoogleCloudDialogflowV2FaqAnswer( o.confidence!, unittest.equals(42.0), ); - checkUnnamed24(o.metadata!); + checkUnnamed26(o.metadata!); unittest.expect( o.question!, unittest.equals('foo'), @@ -2291,12 +2373,58 @@ void checkGoogleCloudDialogflowV2FaqAnswer( buildCounterGoogleCloudDialogflowV2FaqAnswer--; } -core.List buildUnnamed25() => [ +core.Map buildUnnamed27() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed27(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudDialogflowV2FewShotExample = 0; +api.GoogleCloudDialogflowV2FewShotExample + buildGoogleCloudDialogflowV2FewShotExample() { + final o = api.GoogleCloudDialogflowV2FewShotExample(); + buildCounterGoogleCloudDialogflowV2FewShotExample++; + if (buildCounterGoogleCloudDialogflowV2FewShotExample < 3) { + o.conversationContext = buildGoogleCloudDialogflowV2ConversationContext(); + o.extraInfo = buildUnnamed27(); + o.output = buildGoogleCloudDialogflowV2GeneratorSuggestion(); + o.summarizationSectionList = + buildGoogleCloudDialogflowV2SummarizationSectionList(); + } + buildCounterGoogleCloudDialogflowV2FewShotExample--; + return o; +} + +void checkGoogleCloudDialogflowV2FewShotExample( + api.GoogleCloudDialogflowV2FewShotExample o) { + buildCounterGoogleCloudDialogflowV2FewShotExample++; + if (buildCounterGoogleCloudDialogflowV2FewShotExample < 3) { + checkGoogleCloudDialogflowV2ConversationContext(o.conversationContext!); + checkUnnamed27(o.extraInfo!); + checkGoogleCloudDialogflowV2GeneratorSuggestion(o.output!); + checkGoogleCloudDialogflowV2SummarizationSectionList( + o.summarizationSectionList!); + } + buildCounterGoogleCloudDialogflowV2FewShotExample--; +} + +core.List buildUnnamed28() => [ buildGoogleCloudDialogflowV2FulfillmentFeature(), buildGoogleCloudDialogflowV2FulfillmentFeature(), ]; -void checkUnnamed25( +void checkUnnamed28( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2FulfillmentFeature(o[0]); @@ -2311,7 +2439,7 @@ api.GoogleCloudDialogflowV2Fulfillment if (buildCounterGoogleCloudDialogflowV2Fulfillment < 3) { o.displayName = 'foo'; o.enabled = true; - o.features = buildUnnamed25(); + o.features = buildUnnamed28(); o.genericWebService = buildGoogleCloudDialogflowV2FulfillmentGenericWebService(); o.name = 'foo'; @@ -2329,7 +2457,7 @@ void checkGoogleCloudDialogflowV2Fulfillment( unittest.equals('foo'), ); unittest.expect(o.enabled!, unittest.isTrue); - checkUnnamed25(o.features!); + checkUnnamed28(o.features!); checkGoogleCloudDialogflowV2FulfillmentGenericWebService( o.genericWebService!); unittest.expect( @@ -2364,12 +2492,12 @@ void checkGoogleCloudDialogflowV2FulfillmentFeature( buildCounterGoogleCloudDialogflowV2FulfillmentFeature--; } -core.Map buildUnnamed26() => { +core.Map buildUnnamed29() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed26(core.Map o) { +void checkUnnamed29(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2389,7 +2517,7 @@ api.GoogleCloudDialogflowV2FulfillmentGenericWebService if (buildCounterGoogleCloudDialogflowV2FulfillmentGenericWebService < 3) { o.isCloudFunction = true; o.password = 'foo'; - o.requestHeaders = buildUnnamed26(); + o.requestHeaders = buildUnnamed29(); o.uri = 'foo'; o.username = 'foo'; } @@ -2406,7 +2534,7 @@ void checkGoogleCloudDialogflowV2FulfillmentGenericWebService( o.password!, unittest.equals('foo'), ); - checkUnnamed26(o.requestHeaders!); + checkUnnamed29(o.requestHeaders!); unittest.expect( o.uri!, unittest.equals('foo'), @@ -2443,12 +2571,12 @@ void checkGoogleCloudDialogflowV2GcsDestination( buildCounterGoogleCloudDialogflowV2GcsDestination--; } -core.List buildUnnamed27() => [ +core.List buildUnnamed30() => [ 'foo', 'foo', ]; -void checkUnnamed27(core.List o) { +void checkUnnamed30(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2465,7 +2593,7 @@ api.GoogleCloudDialogflowV2GcsSources buildGoogleCloudDialogflowV2GcsSources() { final o = api.GoogleCloudDialogflowV2GcsSources(); buildCounterGoogleCloudDialogflowV2GcsSources++; if (buildCounterGoogleCloudDialogflowV2GcsSources < 3) { - o.uris = buildUnnamed27(); + o.uris = buildUnnamed30(); } buildCounterGoogleCloudDialogflowV2GcsSources--; return o; @@ -2475,11 +2603,85 @@ void checkGoogleCloudDialogflowV2GcsSources( api.GoogleCloudDialogflowV2GcsSources o) { buildCounterGoogleCloudDialogflowV2GcsSources++; if (buildCounterGoogleCloudDialogflowV2GcsSources < 3) { - checkUnnamed27(o.uris!); + checkUnnamed30(o.uris!); } buildCounterGoogleCloudDialogflowV2GcsSources--; } +core.List buildUnnamed31() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed31(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudDialogflowV2GenerateStatelessSuggestionRequest = + 0; +api.GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest + buildGoogleCloudDialogflowV2GenerateStatelessSuggestionRequest() { + final o = api.GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest(); + buildCounterGoogleCloudDialogflowV2GenerateStatelessSuggestionRequest++; + if (buildCounterGoogleCloudDialogflowV2GenerateStatelessSuggestionRequest < + 3) { + o.conversationContext = buildGoogleCloudDialogflowV2ConversationContext(); + o.generator = buildGoogleCloudDialogflowV2Generator(); + o.generatorName = 'foo'; + o.triggerEvents = buildUnnamed31(); + } + buildCounterGoogleCloudDialogflowV2GenerateStatelessSuggestionRequest--; + return o; +} + +void checkGoogleCloudDialogflowV2GenerateStatelessSuggestionRequest( + api.GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest o) { + buildCounterGoogleCloudDialogflowV2GenerateStatelessSuggestionRequest++; + if (buildCounterGoogleCloudDialogflowV2GenerateStatelessSuggestionRequest < + 3) { + checkGoogleCloudDialogflowV2ConversationContext(o.conversationContext!); + checkGoogleCloudDialogflowV2Generator(o.generator!); + unittest.expect( + o.generatorName!, + unittest.equals('foo'), + ); + checkUnnamed31(o.triggerEvents!); + } + buildCounterGoogleCloudDialogflowV2GenerateStatelessSuggestionRequest--; +} + +core.int + buildCounterGoogleCloudDialogflowV2GenerateStatelessSuggestionResponse = 0; +api.GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse + buildGoogleCloudDialogflowV2GenerateStatelessSuggestionResponse() { + final o = api.GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse(); + buildCounterGoogleCloudDialogflowV2GenerateStatelessSuggestionResponse++; + if (buildCounterGoogleCloudDialogflowV2GenerateStatelessSuggestionResponse < + 3) { + o.generatorSuggestion = buildGoogleCloudDialogflowV2GeneratorSuggestion(); + } + buildCounterGoogleCloudDialogflowV2GenerateStatelessSuggestionResponse--; + return o; +} + +void checkGoogleCloudDialogflowV2GenerateStatelessSuggestionResponse( + api.GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse o) { + buildCounterGoogleCloudDialogflowV2GenerateStatelessSuggestionResponse++; + if (buildCounterGoogleCloudDialogflowV2GenerateStatelessSuggestionResponse < + 3) { + checkGoogleCloudDialogflowV2GeneratorSuggestion(o.generatorSuggestion!); + } + buildCounterGoogleCloudDialogflowV2GenerateStatelessSuggestionResponse--; +} + core.int buildCounterGoogleCloudDialogflowV2GenerateStatelessSummaryRequest = 0; api.GoogleCloudDialogflowV2GenerateStatelessSummaryRequest buildGoogleCloudDialogflowV2GenerateStatelessSummaryRequest() { @@ -2515,12 +2717,12 @@ void checkGoogleCloudDialogflowV2GenerateStatelessSummaryRequest( buildCounterGoogleCloudDialogflowV2GenerateStatelessSummaryRequest--; } -core.List buildUnnamed28() => [ +core.List buildUnnamed32() => [ buildGoogleCloudDialogflowV2Message(), buildGoogleCloudDialogflowV2Message(), ]; -void checkUnnamed28(core.List o) { +void checkUnnamed32(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Message(o[0]); checkGoogleCloudDialogflowV2Message(o[1]); @@ -2536,7 +2738,7 @@ api.GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation buildCounterGoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation++; if (buildCounterGoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation < 3) { - o.messages = buildUnnamed28(); + o.messages = buildUnnamed32(); } buildCounterGoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation--; return o; @@ -2548,7 +2750,7 @@ void checkGoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversat buildCounterGoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation++; if (buildCounterGoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation < 3) { - checkUnnamed28(o.messages!); + checkUnnamed32(o.messages!); } buildCounterGoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation--; } @@ -2587,12 +2789,12 @@ void checkGoogleCloudDialogflowV2GenerateStatelessSummaryResponse( buildCounterGoogleCloudDialogflowV2GenerateStatelessSummaryResponse--; } -core.Map buildUnnamed29() => { +core.Map buildUnnamed33() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed29(core.Map o) { +void checkUnnamed33(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2616,7 +2818,7 @@ api.GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary 3) { o.baselineModelVersion = 'foo'; o.text = 'foo'; - o.textSections = buildUnnamed29(); + o.textSections = buildUnnamed33(); } buildCounterGoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary--; return o; @@ -2635,11 +2837,79 @@ void checkGoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary( o.text!, unittest.equals('foo'), ); - checkUnnamed29(o.textSections!); + checkUnnamed33(o.textSections!); } buildCounterGoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary--; } +core.int buildCounterGoogleCloudDialogflowV2Generator = 0; +api.GoogleCloudDialogflowV2Generator buildGoogleCloudDialogflowV2Generator() { + final o = api.GoogleCloudDialogflowV2Generator(); + buildCounterGoogleCloudDialogflowV2Generator++; + if (buildCounterGoogleCloudDialogflowV2Generator < 3) { + o.createTime = 'foo'; + o.description = 'foo'; + o.inferenceParameter = buildGoogleCloudDialogflowV2InferenceParameter(); + o.name = 'foo'; + o.summarizationContext = buildGoogleCloudDialogflowV2SummarizationContext(); + o.triggerEvent = 'foo'; + o.updateTime = 'foo'; + } + buildCounterGoogleCloudDialogflowV2Generator--; + return o; +} + +void checkGoogleCloudDialogflowV2Generator( + api.GoogleCloudDialogflowV2Generator o) { + buildCounterGoogleCloudDialogflowV2Generator++; + if (buildCounterGoogleCloudDialogflowV2Generator < 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + checkGoogleCloudDialogflowV2InferenceParameter(o.inferenceParameter!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkGoogleCloudDialogflowV2SummarizationContext(o.summarizationContext!); + unittest.expect( + o.triggerEvent!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudDialogflowV2Generator--; +} + +core.int buildCounterGoogleCloudDialogflowV2GeneratorSuggestion = 0; +api.GoogleCloudDialogflowV2GeneratorSuggestion + buildGoogleCloudDialogflowV2GeneratorSuggestion() { + final o = api.GoogleCloudDialogflowV2GeneratorSuggestion(); + buildCounterGoogleCloudDialogflowV2GeneratorSuggestion++; + if (buildCounterGoogleCloudDialogflowV2GeneratorSuggestion < 3) { + o.summarySuggestion = buildGoogleCloudDialogflowV2SummarySuggestion(); + } + buildCounterGoogleCloudDialogflowV2GeneratorSuggestion--; + return o; +} + +void checkGoogleCloudDialogflowV2GeneratorSuggestion( + api.GoogleCloudDialogflowV2GeneratorSuggestion o) { + buildCounterGoogleCloudDialogflowV2GeneratorSuggestion++; + if (buildCounterGoogleCloudDialogflowV2GeneratorSuggestion < 3) { + checkGoogleCloudDialogflowV2SummarySuggestion(o.summarySuggestion!); + } + buildCounterGoogleCloudDialogflowV2GeneratorSuggestion--; +} + core.int buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfig = 0; api.GoogleCloudDialogflowV2HumanAgentAssistantConfig buildGoogleCloudDialogflowV2HumanAgentAssistantConfig() { @@ -2770,12 +3040,12 @@ void checkGoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig( core.List< api .GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig> - buildUnnamed30() => [ + buildUnnamed34() => [ buildGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig(), buildGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig(), ]; -void checkUnnamed30( +void checkUnnamed34( core.List< api .GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig> @@ -2787,6 +3057,23 @@ void checkUnnamed30( o[1]); } +core.List buildUnnamed35() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed35(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + core.int buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig = 0; @@ -2797,7 +3084,9 @@ api.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig++; if (buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig < 3) { - o.featureConfigs = buildUnnamed30(); + o.disableHighLatencyFeaturesSyncDelivery = true; + o.featureConfigs = buildUnnamed34(); + o.generators = buildUnnamed35(); o.groupSuggestionResponses = true; } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig--; @@ -2809,7 +3098,9 @@ void checkGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig( buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig++; if (buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig < 3) { - checkUnnamed30(o.featureConfigs!); + unittest.expect(o.disableHighLatencyFeaturesSyncDelivery!, unittest.isTrue); + checkUnnamed34(o.featureConfigs!); + checkUnnamed35(o.generators!); unittest.expect(o.groupSuggestionResponses!, unittest.isTrue); } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig--; @@ -2832,6 +3123,8 @@ api.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig o.disableAgentQueryLogging = true; o.enableConversationAugmentedQuery = true; o.enableEventBasedSuggestion = true; + o.enableQuerySuggestionOnly = true; + o.enableQuerySuggestionWhenNoAnswer = true; o.queryConfig = buildGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig(); o.suggestionFeature = buildGoogleCloudDialogflowV2SuggestionFeature(); @@ -2855,6 +3148,8 @@ void checkGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfi unittest.expect(o.disableAgentQueryLogging!, unittest.isTrue); unittest.expect(o.enableConversationAugmentedQuery!, unittest.isTrue); unittest.expect(o.enableEventBasedSuggestion!, unittest.isTrue); + unittest.expect(o.enableQuerySuggestionOnly!, unittest.isTrue); + unittest.expect(o.enableQuerySuggestionWhenNoAnswer!, unittest.isTrue); checkGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig( o.queryConfig!); checkGoogleCloudDialogflowV2SuggestionFeature(o.suggestionFeature!); @@ -3014,12 +3309,12 @@ void checkGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigD buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig--; } -core.List buildUnnamed31() => [ +core.List buildUnnamed36() => [ 'foo', 'foo', ]; -void checkUnnamed31(core.List o) { +void checkUnnamed36(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3041,7 +3336,7 @@ api.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumen buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource++; if (buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource < 3) { - o.documents = buildUnnamed31(); + o.documents = buildUnnamed36(); } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource--; return o; @@ -3053,17 +3348,17 @@ void checkGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigD buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource++; if (buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource < 3) { - checkUnnamed31(o.documents!); + checkUnnamed36(o.documents!); } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource--; } -core.List buildUnnamed32() => [ +core.List buildUnnamed37() => [ 'foo', 'foo', ]; -void checkUnnamed32(core.List o) { +void checkUnnamed37(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3085,7 +3380,7 @@ api.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowled buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource++; if (buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource < 3) { - o.knowledgeBases = buildUnnamed32(); + o.knowledgeBases = buildUnnamed37(); } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource--; return o; @@ -3097,17 +3392,17 @@ void checkGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigK buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource++; if (buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource < 3) { - checkUnnamed32(o.knowledgeBases!); + checkUnnamed37(o.knowledgeBases!); } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource--; } -core.List buildUnnamed33() => [ +core.List buildUnnamed38() => [ 'foo', 'foo', ]; -void checkUnnamed33(core.List o) { +void checkUnnamed38(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3129,7 +3424,7 @@ api.GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSection buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections++; if (buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections < 3) { - o.sectionTypes = buildUnnamed33(); + o.sectionTypes = buildUnnamed38(); } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections--; return o; @@ -3141,7 +3436,7 @@ void checkGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigS buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections++; if (buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections < 3) { - checkUnnamed33(o.sectionTypes!); + checkUnnamed38(o.sectionTypes!); } buildCounterGoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigSections--; } @@ -3326,12 +3621,12 @@ void checkGoogleCloudDialogflowV2ImportConversationDataRequest( buildCounterGoogleCloudDialogflowV2ImportConversationDataRequest--; } -core.List buildUnnamed34() => [ +core.List buildUnnamed39() => [ 'foo', 'foo', ]; -void checkUnnamed34(core.List o) { +void checkUnnamed39(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3343,12 +3638,12 @@ void checkUnnamed34(core.List o) { ); } -core.Map buildUnnamed35() => { +core.Map buildUnnamed40() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed35(core.Map o) { +void checkUnnamed40(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3366,8 +3661,8 @@ api.GoogleCloudDialogflowV2ImportDocumentTemplate final o = api.GoogleCloudDialogflowV2ImportDocumentTemplate(); buildCounterGoogleCloudDialogflowV2ImportDocumentTemplate++; if (buildCounterGoogleCloudDialogflowV2ImportDocumentTemplate < 3) { - o.knowledgeTypes = buildUnnamed34(); - o.metadata = buildUnnamed35(); + o.knowledgeTypes = buildUnnamed39(); + o.metadata = buildUnnamed40(); o.mimeType = 'foo'; } buildCounterGoogleCloudDialogflowV2ImportDocumentTemplate--; @@ -3378,8 +3673,8 @@ void checkGoogleCloudDialogflowV2ImportDocumentTemplate( api.GoogleCloudDialogflowV2ImportDocumentTemplate o) { buildCounterGoogleCloudDialogflowV2ImportDocumentTemplate++; if (buildCounterGoogleCloudDialogflowV2ImportDocumentTemplate < 3) { - checkUnnamed34(o.knowledgeTypes!); - checkUnnamed35(o.metadata!); + checkUnnamed39(o.knowledgeTypes!); + checkUnnamed40(o.metadata!); unittest.expect( o.mimeType!, unittest.equals('foo'), @@ -3413,12 +3708,51 @@ void checkGoogleCloudDialogflowV2ImportDocumentsRequest( buildCounterGoogleCloudDialogflowV2ImportDocumentsRequest--; } -core.List buildUnnamed36() => [ +core.int buildCounterGoogleCloudDialogflowV2InferenceParameter = 0; +api.GoogleCloudDialogflowV2InferenceParameter + buildGoogleCloudDialogflowV2InferenceParameter() { + final o = api.GoogleCloudDialogflowV2InferenceParameter(); + buildCounterGoogleCloudDialogflowV2InferenceParameter++; + if (buildCounterGoogleCloudDialogflowV2InferenceParameter < 3) { + o.maxOutputTokens = 42; + o.temperature = 42.0; + o.topK = 42; + o.topP = 42.0; + } + buildCounterGoogleCloudDialogflowV2InferenceParameter--; + return o; +} + +void checkGoogleCloudDialogflowV2InferenceParameter( + api.GoogleCloudDialogflowV2InferenceParameter o) { + buildCounterGoogleCloudDialogflowV2InferenceParameter++; + if (buildCounterGoogleCloudDialogflowV2InferenceParameter < 3) { + unittest.expect( + o.maxOutputTokens!, + unittest.equals(42), + ); + unittest.expect( + o.temperature!, + unittest.equals(42.0), + ); + unittest.expect( + o.topK!, + unittest.equals(42), + ); + unittest.expect( + o.topP!, + unittest.equals(42.0), + ); + } + buildCounterGoogleCloudDialogflowV2InferenceParameter--; +} + +core.List buildUnnamed41() => [ 'foo', 'foo', ]; -void checkUnnamed36(core.List o) { +void checkUnnamed41(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3430,12 +3764,12 @@ void checkUnnamed36(core.List o) { ); } -core.List buildUnnamed37() => [ +core.List buildUnnamed42() => [ buildGoogleCloudDialogflowV2SpeechContext(), buildGoogleCloudDialogflowV2SpeechContext(), ]; -void checkUnnamed37(core.List o) { +void checkUnnamed42(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SpeechContext(o[0]); checkGoogleCloudDialogflowV2SpeechContext(o[1]); @@ -3455,10 +3789,10 @@ api.GoogleCloudDialogflowV2InputAudioConfig o.model = 'foo'; o.modelVariant = 'foo'; o.optOutConformerModelMigration = true; - o.phraseHints = buildUnnamed36(); + o.phraseHints = buildUnnamed41(); o.sampleRateHertz = 42; o.singleUtterance = true; - o.speechContexts = buildUnnamed37(); + o.speechContexts = buildUnnamed42(); } buildCounterGoogleCloudDialogflowV2InputAudioConfig--; return o; @@ -3488,13 +3822,13 @@ void checkGoogleCloudDialogflowV2InputAudioConfig( unittest.equals('foo'), ); unittest.expect(o.optOutConformerModelMigration!, unittest.isTrue); - checkUnnamed36(o.phraseHints!); + checkUnnamed41(o.phraseHints!); unittest.expect( o.sampleRateHertz!, unittest.equals(42), ); unittest.expect(o.singleUtterance!, unittest.isTrue); - checkUnnamed37(o.speechContexts!); + checkUnnamed42(o.speechContexts!); } buildCounterGoogleCloudDialogflowV2InputAudioConfig--; } @@ -3544,12 +3878,12 @@ void checkGoogleCloudDialogflowV2InputDataset( buildCounterGoogleCloudDialogflowV2InputDataset--; } -core.List buildUnnamed38() => [ +core.List buildUnnamed43() => [ 'foo', 'foo', ]; -void checkUnnamed38(core.List o) { +void checkUnnamed43(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3561,12 +3895,12 @@ void checkUnnamed38(core.List o) { ); } -core.List buildUnnamed39() => [ +core.List buildUnnamed44() => [ 'foo', 'foo', ]; -void checkUnnamed39(core.List o) { +void checkUnnamed44(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3579,24 +3913,24 @@ void checkUnnamed39(core.List o) { } core.List - buildUnnamed40() => [ + buildUnnamed45() => [ buildGoogleCloudDialogflowV2IntentFollowupIntentInfo(), buildGoogleCloudDialogflowV2IntentFollowupIntentInfo(), ]; -void checkUnnamed40( +void checkUnnamed45( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentFollowupIntentInfo(o[0]); checkGoogleCloudDialogflowV2IntentFollowupIntentInfo(o[1]); } -core.List buildUnnamed41() => [ +core.List buildUnnamed46() => [ 'foo', 'foo', ]; -void checkUnnamed41(core.List o) { +void checkUnnamed46(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3608,45 +3942,45 @@ void checkUnnamed41(core.List o) { ); } -core.List buildUnnamed42() => [ +core.List buildUnnamed47() => [ buildGoogleCloudDialogflowV2IntentMessage(), buildGoogleCloudDialogflowV2IntentMessage(), ]; -void checkUnnamed42(core.List o) { +void checkUnnamed47(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessage(o[0]); checkGoogleCloudDialogflowV2IntentMessage(o[1]); } -core.List buildUnnamed43() => [ +core.List buildUnnamed48() => [ buildGoogleCloudDialogflowV2Context(), buildGoogleCloudDialogflowV2Context(), ]; -void checkUnnamed43(core.List o) { +void checkUnnamed48(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Context(o[0]); checkGoogleCloudDialogflowV2Context(o[1]); } -core.List buildUnnamed44() => [ +core.List buildUnnamed49() => [ buildGoogleCloudDialogflowV2IntentParameter(), buildGoogleCloudDialogflowV2IntentParameter(), ]; -void checkUnnamed44(core.List o) { +void checkUnnamed49(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentParameter(o[0]); checkGoogleCloudDialogflowV2IntentParameter(o[1]); } -core.List buildUnnamed45() => [ +core.List buildUnnamed50() => [ buildGoogleCloudDialogflowV2IntentTrainingPhrase(), buildGoogleCloudDialogflowV2IntentTrainingPhrase(), ]; -void checkUnnamed45( +void checkUnnamed50( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentTrainingPhrase(o[0]); @@ -3659,24 +3993,24 @@ api.GoogleCloudDialogflowV2Intent buildGoogleCloudDialogflowV2Intent() { buildCounterGoogleCloudDialogflowV2Intent++; if (buildCounterGoogleCloudDialogflowV2Intent < 3) { o.action = 'foo'; - o.defaultResponsePlatforms = buildUnnamed38(); + o.defaultResponsePlatforms = buildUnnamed43(); o.displayName = 'foo'; o.endInteraction = true; - o.events = buildUnnamed39(); - o.followupIntentInfo = buildUnnamed40(); - o.inputContextNames = buildUnnamed41(); + o.events = buildUnnamed44(); + o.followupIntentInfo = buildUnnamed45(); + o.inputContextNames = buildUnnamed46(); o.isFallback = true; o.liveAgentHandoff = true; - o.messages = buildUnnamed42(); + o.messages = buildUnnamed47(); o.mlDisabled = true; o.name = 'foo'; - o.outputContexts = buildUnnamed43(); - o.parameters = buildUnnamed44(); + o.outputContexts = buildUnnamed48(); + o.parameters = buildUnnamed49(); o.parentFollowupIntentName = 'foo'; o.priority = 42; o.resetContexts = true; o.rootFollowupIntentName = 'foo'; - o.trainingPhrases = buildUnnamed45(); + o.trainingPhrases = buildUnnamed50(); o.webhookState = 'foo'; } buildCounterGoogleCloudDialogflowV2Intent--; @@ -3690,25 +4024,25 @@ void checkGoogleCloudDialogflowV2Intent(api.GoogleCloudDialogflowV2Intent o) { o.action!, unittest.equals('foo'), ); - checkUnnamed38(o.defaultResponsePlatforms!); + checkUnnamed43(o.defaultResponsePlatforms!); unittest.expect( o.displayName!, unittest.equals('foo'), ); unittest.expect(o.endInteraction!, unittest.isTrue); - checkUnnamed39(o.events!); - checkUnnamed40(o.followupIntentInfo!); - checkUnnamed41(o.inputContextNames!); + checkUnnamed44(o.events!); + checkUnnamed45(o.followupIntentInfo!); + checkUnnamed46(o.inputContextNames!); unittest.expect(o.isFallback!, unittest.isTrue); unittest.expect(o.liveAgentHandoff!, unittest.isTrue); - checkUnnamed42(o.messages!); + checkUnnamed47(o.messages!); unittest.expect(o.mlDisabled!, unittest.isTrue); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed43(o.outputContexts!); - checkUnnamed44(o.parameters!); + checkUnnamed48(o.outputContexts!); + checkUnnamed49(o.parameters!); unittest.expect( o.parentFollowupIntentName!, unittest.equals('foo'), @@ -3722,7 +4056,7 @@ void checkGoogleCloudDialogflowV2Intent(api.GoogleCloudDialogflowV2Intent o) { o.rootFollowupIntentName!, unittest.equals('foo'), ); - checkUnnamed45(o.trainingPhrases!); + checkUnnamed50(o.trainingPhrases!); unittest.expect( o.webhookState!, unittest.equals('foo'), @@ -3731,12 +4065,12 @@ void checkGoogleCloudDialogflowV2Intent(api.GoogleCloudDialogflowV2Intent o) { buildCounterGoogleCloudDialogflowV2Intent--; } -core.List buildUnnamed46() => [ +core.List buildUnnamed51() => [ buildGoogleCloudDialogflowV2Intent(), buildGoogleCloudDialogflowV2Intent(), ]; -void checkUnnamed46(core.List o) { +void checkUnnamed51(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Intent(o[0]); checkGoogleCloudDialogflowV2Intent(o[1]); @@ -3748,7 +4082,7 @@ api.GoogleCloudDialogflowV2IntentBatch final o = api.GoogleCloudDialogflowV2IntentBatch(); buildCounterGoogleCloudDialogflowV2IntentBatch++; if (buildCounterGoogleCloudDialogflowV2IntentBatch < 3) { - o.intents = buildUnnamed46(); + o.intents = buildUnnamed51(); } buildCounterGoogleCloudDialogflowV2IntentBatch--; return o; @@ -3758,7 +4092,7 @@ void checkGoogleCloudDialogflowV2IntentBatch( api.GoogleCloudDialogflowV2IntentBatch o) { buildCounterGoogleCloudDialogflowV2IntentBatch++; if (buildCounterGoogleCloudDialogflowV2IntentBatch < 3) { - checkUnnamed46(o.intents!); + checkUnnamed51(o.intents!); } buildCounterGoogleCloudDialogflowV2IntentBatch--; } @@ -3792,7 +4126,7 @@ void checkGoogleCloudDialogflowV2IntentFollowupIntentInfo( buildCounterGoogleCloudDialogflowV2IntentFollowupIntentInfo--; } -core.Map buildUnnamed47() => { +core.Map buildUnnamed52() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3805,7 +4139,7 @@ core.Map buildUnnamed47() => { }, }; -void checkUnnamed47(core.Map o) { +void checkUnnamed52(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted8 = (o['x']!) as core.Map; unittest.expect(casted8, unittest.hasLength(3)); @@ -3854,7 +4188,7 @@ api.GoogleCloudDialogflowV2IntentMessage buildGoogleCloudDialogflowV2IntentMessageLinkOutSuggestion(); o.listSelect = buildGoogleCloudDialogflowV2IntentMessageListSelect(); o.mediaContent = buildGoogleCloudDialogflowV2IntentMessageMediaContent(); - o.payload = buildUnnamed47(); + o.payload = buildUnnamed52(); o.platform = 'foo'; o.quickReplies = buildGoogleCloudDialogflowV2IntentMessageQuickReplies(); o.simpleResponses = @@ -3881,7 +4215,7 @@ void checkGoogleCloudDialogflowV2IntentMessage( o.linkOutSuggestion!); checkGoogleCloudDialogflowV2IntentMessageListSelect(o.listSelect!); checkGoogleCloudDialogflowV2IntentMessageMediaContent(o.mediaContent!); - checkUnnamed47(o.payload!); + checkUnnamed52(o.payload!); unittest.expect( o.platform!, unittest.equals('foo'), @@ -3897,12 +4231,12 @@ void checkGoogleCloudDialogflowV2IntentMessage( } core.List - buildUnnamed48() => [ + buildUnnamed53() => [ buildGoogleCloudDialogflowV2IntentMessageBasicCardButton(), buildGoogleCloudDialogflowV2IntentMessageBasicCardButton(), ]; -void checkUnnamed48( +void checkUnnamed53( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageBasicCardButton(o[0]); @@ -3915,7 +4249,7 @@ api.GoogleCloudDialogflowV2IntentMessageBasicCard final o = api.GoogleCloudDialogflowV2IntentMessageBasicCard(); buildCounterGoogleCloudDialogflowV2IntentMessageBasicCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageBasicCard < 3) { - o.buttons = buildUnnamed48(); + o.buttons = buildUnnamed53(); o.formattedText = 'foo'; o.image = buildGoogleCloudDialogflowV2IntentMessageImage(); o.subtitle = 'foo'; @@ -3929,7 +4263,7 @@ void checkGoogleCloudDialogflowV2IntentMessageBasicCard( api.GoogleCloudDialogflowV2IntentMessageBasicCard o) { buildCounterGoogleCloudDialogflowV2IntentMessageBasicCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageBasicCard < 3) { - checkUnnamed48(o.buttons!); + checkUnnamed53(o.buttons!); unittest.expect( o.formattedText!, unittest.equals('foo'), @@ -4007,12 +4341,12 @@ void checkGoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction( core.List< api .GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem> - buildUnnamed49() => [ + buildUnnamed54() => [ buildGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem(), buildGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem(), ]; -void checkUnnamed49( +void checkUnnamed54( core.List< api .GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem> @@ -4031,7 +4365,7 @@ api.GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard < 3) { o.imageDisplayOptions = 'foo'; - o.items = buildUnnamed49(); + o.items = buildUnnamed54(); } buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard--; return o; @@ -4045,7 +4379,7 @@ void checkGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard( o.imageDisplayOptions!, unittest.equals('foo'), ); - checkUnnamed49(o.items!); + checkUnnamed54(o.items!); } buildCounterGoogleCloudDialogflowV2IntentMessageBrowseCarouselCard--; } @@ -4132,12 +4466,12 @@ void checkGoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa } core.List - buildUnnamed50() => [ + buildUnnamed55() => [ buildGoogleCloudDialogflowV2IntentMessageCardButton(), buildGoogleCloudDialogflowV2IntentMessageCardButton(), ]; -void checkUnnamed50( +void checkUnnamed55( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageCardButton(o[0]); @@ -4150,7 +4484,7 @@ api.GoogleCloudDialogflowV2IntentMessageCard final o = api.GoogleCloudDialogflowV2IntentMessageCard(); buildCounterGoogleCloudDialogflowV2IntentMessageCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageCard < 3) { - o.buttons = buildUnnamed50(); + o.buttons = buildUnnamed55(); o.imageUri = 'foo'; o.subtitle = 'foo'; o.title = 'foo'; @@ -4163,7 +4497,7 @@ void checkGoogleCloudDialogflowV2IntentMessageCard( api.GoogleCloudDialogflowV2IntentMessageCard o) { buildCounterGoogleCloudDialogflowV2IntentMessageCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageCard < 3) { - checkUnnamed50(o.buttons!); + checkUnnamed55(o.buttons!); unittest.expect( o.imageUri!, unittest.equals('foo'), @@ -4210,12 +4544,12 @@ void checkGoogleCloudDialogflowV2IntentMessageCardButton( } core.List - buildUnnamed51() => [ + buildUnnamed56() => [ buildGoogleCloudDialogflowV2IntentMessageCarouselSelectItem(), buildGoogleCloudDialogflowV2IntentMessageCarouselSelectItem(), ]; -void checkUnnamed51( +void checkUnnamed56( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageCarouselSelectItem(o[0]); @@ -4228,7 +4562,7 @@ api.GoogleCloudDialogflowV2IntentMessageCarouselSelect final o = api.GoogleCloudDialogflowV2IntentMessageCarouselSelect(); buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect++; if (buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect < 3) { - o.items = buildUnnamed51(); + o.items = buildUnnamed56(); } buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect--; return o; @@ -4238,7 +4572,7 @@ void checkGoogleCloudDialogflowV2IntentMessageCarouselSelect( api.GoogleCloudDialogflowV2IntentMessageCarouselSelect o) { buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect++; if (buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect < 3) { - checkUnnamed51(o.items!); + checkUnnamed56(o.items!); } buildCounterGoogleCloudDialogflowV2IntentMessageCarouselSelect--; } @@ -4364,12 +4698,12 @@ void checkGoogleCloudDialogflowV2IntentMessageLinkOutSuggestion( } core.List - buildUnnamed52() => [ + buildUnnamed57() => [ buildGoogleCloudDialogflowV2IntentMessageListSelectItem(), buildGoogleCloudDialogflowV2IntentMessageListSelectItem(), ]; -void checkUnnamed52( +void checkUnnamed57( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageListSelectItem(o[0]); @@ -4382,7 +4716,7 @@ api.GoogleCloudDialogflowV2IntentMessageListSelect final o = api.GoogleCloudDialogflowV2IntentMessageListSelect(); buildCounterGoogleCloudDialogflowV2IntentMessageListSelect++; if (buildCounterGoogleCloudDialogflowV2IntentMessageListSelect < 3) { - o.items = buildUnnamed52(); + o.items = buildUnnamed57(); o.subtitle = 'foo'; o.title = 'foo'; } @@ -4394,7 +4728,7 @@ void checkGoogleCloudDialogflowV2IntentMessageListSelect( api.GoogleCloudDialogflowV2IntentMessageListSelect o) { buildCounterGoogleCloudDialogflowV2IntentMessageListSelect++; if (buildCounterGoogleCloudDialogflowV2IntentMessageListSelect < 3) { - checkUnnamed52(o.items!); + checkUnnamed57(o.items!); unittest.expect( o.subtitle!, unittest.equals('foo'), @@ -4442,12 +4776,12 @@ void checkGoogleCloudDialogflowV2IntentMessageListSelectItem( core.List< api.GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject> - buildUnnamed53() => [ + buildUnnamed58() => [ buildGoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject(), buildGoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject(), ]; -void checkUnnamed53( +void checkUnnamed58( core.List< api .GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject> @@ -4465,7 +4799,7 @@ api.GoogleCloudDialogflowV2IntentMessageMediaContent final o = api.GoogleCloudDialogflowV2IntentMessageMediaContent(); buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent++; if (buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent < 3) { - o.mediaObjects = buildUnnamed53(); + o.mediaObjects = buildUnnamed58(); o.mediaType = 'foo'; } buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent--; @@ -4476,7 +4810,7 @@ void checkGoogleCloudDialogflowV2IntentMessageMediaContent( api.GoogleCloudDialogflowV2IntentMessageMediaContent o) { buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent++; if (buildCounterGoogleCloudDialogflowV2IntentMessageMediaContent < 3) { - checkUnnamed53(o.mediaObjects!); + checkUnnamed58(o.mediaObjects!); unittest.expect( o.mediaType!, unittest.equals('foo'), @@ -4528,12 +4862,12 @@ void checkGoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject( buildCounterGoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject--; } -core.List buildUnnamed54() => [ +core.List buildUnnamed59() => [ 'foo', 'foo', ]; -void checkUnnamed54(core.List o) { +void checkUnnamed59(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4551,7 +4885,7 @@ api.GoogleCloudDialogflowV2IntentMessageQuickReplies final o = api.GoogleCloudDialogflowV2IntentMessageQuickReplies(); buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies++; if (buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies < 3) { - o.quickReplies = buildUnnamed54(); + o.quickReplies = buildUnnamed59(); o.title = 'foo'; } buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies--; @@ -4562,7 +4896,7 @@ void checkGoogleCloudDialogflowV2IntentMessageQuickReplies( api.GoogleCloudDialogflowV2IntentMessageQuickReplies o) { buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies++; if (buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies < 3) { - checkUnnamed54(o.quickReplies!); + checkUnnamed59(o.quickReplies!); unittest.expect( o.title!, unittest.equals('foo'), @@ -4571,12 +4905,12 @@ void checkGoogleCloudDialogflowV2IntentMessageQuickReplies( buildCounterGoogleCloudDialogflowV2IntentMessageQuickReplies--; } -core.List buildUnnamed55() => [ +core.List buildUnnamed60() => [ 'foo', 'foo', ]; -void checkUnnamed55(core.List o) { +void checkUnnamed60(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4595,7 +4929,7 @@ api.GoogleCloudDialogflowV2IntentMessageSelectItemInfo buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo++; if (buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo < 3) { o.key = 'foo'; - o.synonyms = buildUnnamed55(); + o.synonyms = buildUnnamed60(); } buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo--; return o; @@ -4609,7 +4943,7 @@ void checkGoogleCloudDialogflowV2IntentMessageSelectItemInfo( o.key!, unittest.equals('foo'), ); - checkUnnamed55(o.synonyms!); + checkUnnamed60(o.synonyms!); } buildCounterGoogleCloudDialogflowV2IntentMessageSelectItemInfo--; } @@ -4649,12 +4983,12 @@ void checkGoogleCloudDialogflowV2IntentMessageSimpleResponse( } core.List - buildUnnamed56() => [ + buildUnnamed61() => [ buildGoogleCloudDialogflowV2IntentMessageSimpleResponse(), buildGoogleCloudDialogflowV2IntentMessageSimpleResponse(), ]; -void checkUnnamed56( +void checkUnnamed61( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageSimpleResponse(o[0]); @@ -4667,7 +5001,7 @@ api.GoogleCloudDialogflowV2IntentMessageSimpleResponses final o = api.GoogleCloudDialogflowV2IntentMessageSimpleResponses(); buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses++; if (buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses < 3) { - o.simpleResponses = buildUnnamed56(); + o.simpleResponses = buildUnnamed61(); } buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses--; return o; @@ -4677,7 +5011,7 @@ void checkGoogleCloudDialogflowV2IntentMessageSimpleResponses( api.GoogleCloudDialogflowV2IntentMessageSimpleResponses o) { buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses++; if (buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses < 3) { - checkUnnamed56(o.simpleResponses!); + checkUnnamed61(o.simpleResponses!); } buildCounterGoogleCloudDialogflowV2IntentMessageSimpleResponses--; } @@ -4707,12 +5041,12 @@ void checkGoogleCloudDialogflowV2IntentMessageSuggestion( } core.List - buildUnnamed57() => [ + buildUnnamed62() => [ buildGoogleCloudDialogflowV2IntentMessageSuggestion(), buildGoogleCloudDialogflowV2IntentMessageSuggestion(), ]; -void checkUnnamed57( +void checkUnnamed62( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageSuggestion(o[0]); @@ -4725,7 +5059,7 @@ api.GoogleCloudDialogflowV2IntentMessageSuggestions final o = api.GoogleCloudDialogflowV2IntentMessageSuggestions(); buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions++; if (buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions < 3) { - o.suggestions = buildUnnamed57(); + o.suggestions = buildUnnamed62(); } buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions--; return o; @@ -4735,18 +5069,18 @@ void checkGoogleCloudDialogflowV2IntentMessageSuggestions( api.GoogleCloudDialogflowV2IntentMessageSuggestions o) { buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions++; if (buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions < 3) { - checkUnnamed57(o.suggestions!); + checkUnnamed62(o.suggestions!); } buildCounterGoogleCloudDialogflowV2IntentMessageSuggestions--; } core.List - buildUnnamed58() => [ + buildUnnamed63() => [ buildGoogleCloudDialogflowV2IntentMessageBasicCardButton(), buildGoogleCloudDialogflowV2IntentMessageBasicCardButton(), ]; -void checkUnnamed58( +void checkUnnamed63( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageBasicCardButton(o[0]); @@ -4754,12 +5088,12 @@ void checkUnnamed58( } core.List - buildUnnamed59() => [ + buildUnnamed64() => [ buildGoogleCloudDialogflowV2IntentMessageColumnProperties(), buildGoogleCloudDialogflowV2IntentMessageColumnProperties(), ]; -void checkUnnamed59( +void checkUnnamed64( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageColumnProperties(o[0]); @@ -4767,12 +5101,12 @@ void checkUnnamed59( } core.List - buildUnnamed60() => [ + buildUnnamed65() => [ buildGoogleCloudDialogflowV2IntentMessageTableCardRow(), buildGoogleCloudDialogflowV2IntentMessageTableCardRow(), ]; -void checkUnnamed60( +void checkUnnamed65( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageTableCardRow(o[0]); @@ -4785,10 +5119,10 @@ api.GoogleCloudDialogflowV2IntentMessageTableCard final o = api.GoogleCloudDialogflowV2IntentMessageTableCard(); buildCounterGoogleCloudDialogflowV2IntentMessageTableCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageTableCard < 3) { - o.buttons = buildUnnamed58(); - o.columnProperties = buildUnnamed59(); + o.buttons = buildUnnamed63(); + o.columnProperties = buildUnnamed64(); o.image = buildGoogleCloudDialogflowV2IntentMessageImage(); - o.rows = buildUnnamed60(); + o.rows = buildUnnamed65(); o.subtitle = 'foo'; o.title = 'foo'; } @@ -4800,10 +5134,10 @@ void checkGoogleCloudDialogflowV2IntentMessageTableCard( api.GoogleCloudDialogflowV2IntentMessageTableCard o) { buildCounterGoogleCloudDialogflowV2IntentMessageTableCard++; if (buildCounterGoogleCloudDialogflowV2IntentMessageTableCard < 3) { - checkUnnamed58(o.buttons!); - checkUnnamed59(o.columnProperties!); + checkUnnamed63(o.buttons!); + checkUnnamed64(o.columnProperties!); checkGoogleCloudDialogflowV2IntentMessageImage(o.image!); - checkUnnamed60(o.rows!); + checkUnnamed65(o.rows!); unittest.expect( o.subtitle!, unittest.equals('foo'), @@ -4841,12 +5175,12 @@ void checkGoogleCloudDialogflowV2IntentMessageTableCardCell( } core.List - buildUnnamed61() => [ + buildUnnamed66() => [ buildGoogleCloudDialogflowV2IntentMessageTableCardCell(), buildGoogleCloudDialogflowV2IntentMessageTableCardCell(), ]; -void checkUnnamed61( +void checkUnnamed66( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessageTableCardCell(o[0]); @@ -4859,7 +5193,7 @@ api.GoogleCloudDialogflowV2IntentMessageTableCardRow final o = api.GoogleCloudDialogflowV2IntentMessageTableCardRow(); buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow++; if (buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow < 3) { - o.cells = buildUnnamed61(); + o.cells = buildUnnamed66(); o.dividerAfter = true; } buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow--; @@ -4870,18 +5204,18 @@ void checkGoogleCloudDialogflowV2IntentMessageTableCardRow( api.GoogleCloudDialogflowV2IntentMessageTableCardRow o) { buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow++; if (buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow < 3) { - checkUnnamed61(o.cells!); + checkUnnamed66(o.cells!); unittest.expect(o.dividerAfter!, unittest.isTrue); } buildCounterGoogleCloudDialogflowV2IntentMessageTableCardRow--; } -core.List buildUnnamed62() => [ +core.List buildUnnamed67() => [ 'foo', 'foo', ]; -void checkUnnamed62(core.List o) { +void checkUnnamed67(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4899,7 +5233,7 @@ api.GoogleCloudDialogflowV2IntentMessageText final o = api.GoogleCloudDialogflowV2IntentMessageText(); buildCounterGoogleCloudDialogflowV2IntentMessageText++; if (buildCounterGoogleCloudDialogflowV2IntentMessageText < 3) { - o.text = buildUnnamed62(); + o.text = buildUnnamed67(); } buildCounterGoogleCloudDialogflowV2IntentMessageText--; return o; @@ -4909,17 +5243,17 @@ void checkGoogleCloudDialogflowV2IntentMessageText( api.GoogleCloudDialogflowV2IntentMessageText o) { buildCounterGoogleCloudDialogflowV2IntentMessageText++; if (buildCounterGoogleCloudDialogflowV2IntentMessageText < 3) { - checkUnnamed62(o.text!); + checkUnnamed67(o.text!); } buildCounterGoogleCloudDialogflowV2IntentMessageText--; } -core.List buildUnnamed63() => [ +core.List buildUnnamed68() => [ 'foo', 'foo', ]; -void checkUnnamed63(core.List o) { +void checkUnnamed68(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4943,7 +5277,7 @@ api.GoogleCloudDialogflowV2IntentParameter o.isList = true; o.mandatory = true; o.name = 'foo'; - o.prompts = buildUnnamed63(); + o.prompts = buildUnnamed68(); o.value = 'foo'; } buildCounterGoogleCloudDialogflowV2IntentParameter--; @@ -4972,7 +5306,7 @@ void checkGoogleCloudDialogflowV2IntentParameter( o.name!, unittest.equals('foo'), ); - checkUnnamed63(o.prompts!); + checkUnnamed68(o.prompts!); unittest.expect( o.value!, unittest.equals('foo'), @@ -5016,12 +5350,12 @@ void checkGoogleCloudDialogflowV2IntentSuggestion( } core.List - buildUnnamed64() => [ + buildUnnamed69() => [ buildGoogleCloudDialogflowV2IntentTrainingPhrasePart(), buildGoogleCloudDialogflowV2IntentTrainingPhrasePart(), ]; -void checkUnnamed64( +void checkUnnamed69( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentTrainingPhrasePart(o[0]); @@ -5035,7 +5369,7 @@ api.GoogleCloudDialogflowV2IntentTrainingPhrase buildCounterGoogleCloudDialogflowV2IntentTrainingPhrase++; if (buildCounterGoogleCloudDialogflowV2IntentTrainingPhrase < 3) { o.name = 'foo'; - o.parts = buildUnnamed64(); + o.parts = buildUnnamed69(); o.timesAddedCount = 42; o.type = 'foo'; } @@ -5051,7 +5385,7 @@ void checkGoogleCloudDialogflowV2IntentTrainingPhrase( o.name!, unittest.equals('foo'), ); - checkUnnamed64(o.parts!); + checkUnnamed69(o.parts!); unittest.expect( o.timesAddedCount!, unittest.equals(42), @@ -5100,24 +5434,235 @@ void checkGoogleCloudDialogflowV2IntentTrainingPhrasePart( buildCounterGoogleCloudDialogflowV2IntentTrainingPhrasePart--; } -core.int buildCounterGoogleCloudDialogflowV2KnowledgeBase = 0; -api.GoogleCloudDialogflowV2KnowledgeBase - buildGoogleCloudDialogflowV2KnowledgeBase() { - final o = api.GoogleCloudDialogflowV2KnowledgeBase(); - buildCounterGoogleCloudDialogflowV2KnowledgeBase++; - if (buildCounterGoogleCloudDialogflowV2KnowledgeBase < 3) { - o.displayName = 'foo'; - o.languageCode = 'foo'; - o.name = 'foo'; +core.int buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswer = 0; +api.GoogleCloudDialogflowV2KnowledgeAssistAnswer + buildGoogleCloudDialogflowV2KnowledgeAssistAnswer() { + final o = api.GoogleCloudDialogflowV2KnowledgeAssistAnswer(); + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswer++; + if (buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswer < 3) { + o.answerRecord = 'foo'; + o.suggestedQuery = + buildGoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery(); + o.suggestedQueryAnswer = + buildGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer(); } - buildCounterGoogleCloudDialogflowV2KnowledgeBase--; + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswer--; return o; } -void checkGoogleCloudDialogflowV2KnowledgeBase( - api.GoogleCloudDialogflowV2KnowledgeBase o) { - buildCounterGoogleCloudDialogflowV2KnowledgeBase++; - if (buildCounterGoogleCloudDialogflowV2KnowledgeBase < 3) { +void checkGoogleCloudDialogflowV2KnowledgeAssistAnswer( + api.GoogleCloudDialogflowV2KnowledgeAssistAnswer o) { + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswer++; + if (buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswer < 3) { + unittest.expect( + o.answerRecord!, + unittest.equals('foo'), + ); + checkGoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery( + o.suggestedQuery!); + checkGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer( + o.suggestedQueryAnswer!); + } + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswer--; +} + +core.int + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer = 0; +api.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer + buildGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer() { + final o = api.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer(); + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer++; + if (buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer < + 3) { + o.answerText = 'foo'; + o.faqSource = + buildGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource(); + o.generativeSource = + buildGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource(); + } + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer--; + return o; +} + +void checkGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer( + api.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer o) { + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer++; + if (buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer < + 3) { + unittest.expect( + o.answerText!, + unittest.equals('foo'), + ); + checkGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource( + o.faqSource!); + checkGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource( + o.generativeSource!); + } + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer--; +} + +core.int + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource = + 0; +api.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource + buildGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource() { + final o = api + .GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource(); + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource++; + if (buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource < + 3) { + o.question = 'foo'; + } + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource--; + return o; +} + +void checkGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource( + api.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource + o) { + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource++; + if (buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource < + 3) { + unittest.expect( + o.question!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource--; +} + +core.List< + api + .GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet> + buildUnnamed70() => [ + buildGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet(), + buildGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet(), + ]; + +void checkUnnamed70( + core.List< + api + .GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet> + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet( + o[0]); + checkGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet( + o[1]); +} + +core.int + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource = + 0; +api.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + buildGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource() { + final o = api + .GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource(); + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource++; + if (buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource < + 3) { + o.snippets = buildUnnamed70(); + } + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource--; + return o; +} + +void checkGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource( + api.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + o) { + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource++; + if (buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource < + 3) { + checkUnnamed70(o.snippets!); + } + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource--; +} + +core.int + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet = + 0; +api.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet + buildGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet() { + final o = api + .GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet(); + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet++; + if (buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet < + 3) { + o.text = 'foo'; + o.title = 'foo'; + o.uri = 'foo'; + } + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet--; + return o; +} + +void checkGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet( + api.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet + o) { + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet++; + if (buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet < + 3) { + unittest.expect( + o.text!, + unittest.equals('foo'), + ); + unittest.expect( + o.title!, + unittest.equals('foo'), + ); + unittest.expect( + o.uri!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet--; +} + +core.int + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery = 0; +api.GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery + buildGoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery() { + final o = api.GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery(); + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery++; + if (buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery < + 3) { + o.queryText = 'foo'; + } + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery--; + return o; +} + +void checkGoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery( + api.GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery o) { + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery++; + if (buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery < + 3) { + unittest.expect( + o.queryText!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery--; +} + +core.int buildCounterGoogleCloudDialogflowV2KnowledgeBase = 0; +api.GoogleCloudDialogflowV2KnowledgeBase + buildGoogleCloudDialogflowV2KnowledgeBase() { + final o = api.GoogleCloudDialogflowV2KnowledgeBase(); + buildCounterGoogleCloudDialogflowV2KnowledgeBase++; + if (buildCounterGoogleCloudDialogflowV2KnowledgeBase < 3) { + o.displayName = 'foo'; + o.languageCode = 'foo'; + o.name = 'foo'; + } + buildCounterGoogleCloudDialogflowV2KnowledgeBase--; + return o; +} + +void checkGoogleCloudDialogflowV2KnowledgeBase( + api.GoogleCloudDialogflowV2KnowledgeBase o) { + buildCounterGoogleCloudDialogflowV2KnowledgeBase++; + if (buildCounterGoogleCloudDialogflowV2KnowledgeBase < 3) { unittest.expect( o.displayName!, unittest.equals('foo'), @@ -5134,12 +5679,12 @@ void checkGoogleCloudDialogflowV2KnowledgeBase( buildCounterGoogleCloudDialogflowV2KnowledgeBase--; } -core.List buildUnnamed65() => [ +core.List buildUnnamed71() => [ buildGoogleCloudDialogflowV2AnswerRecord(), buildGoogleCloudDialogflowV2AnswerRecord(), ]; -void checkUnnamed65(core.List o) { +void checkUnnamed71(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2AnswerRecord(o[0]); checkGoogleCloudDialogflowV2AnswerRecord(o[1]); @@ -5151,7 +5696,7 @@ api.GoogleCloudDialogflowV2ListAnswerRecordsResponse final o = api.GoogleCloudDialogflowV2ListAnswerRecordsResponse(); buildCounterGoogleCloudDialogflowV2ListAnswerRecordsResponse++; if (buildCounterGoogleCloudDialogflowV2ListAnswerRecordsResponse < 3) { - o.answerRecords = buildUnnamed65(); + o.answerRecords = buildUnnamed71(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListAnswerRecordsResponse--; @@ -5162,7 +5707,7 @@ void checkGoogleCloudDialogflowV2ListAnswerRecordsResponse( api.GoogleCloudDialogflowV2ListAnswerRecordsResponse o) { buildCounterGoogleCloudDialogflowV2ListAnswerRecordsResponse++; if (buildCounterGoogleCloudDialogflowV2ListAnswerRecordsResponse < 3) { - checkUnnamed65(o.answerRecords!); + checkUnnamed71(o.answerRecords!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5171,12 +5716,12 @@ void checkGoogleCloudDialogflowV2ListAnswerRecordsResponse( buildCounterGoogleCloudDialogflowV2ListAnswerRecordsResponse--; } -core.List buildUnnamed66() => [ +core.List buildUnnamed72() => [ buildGoogleCloudDialogflowV2Context(), buildGoogleCloudDialogflowV2Context(), ]; -void checkUnnamed66(core.List o) { +void checkUnnamed72(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Context(o[0]); checkGoogleCloudDialogflowV2Context(o[1]); @@ -5188,7 +5733,7 @@ api.GoogleCloudDialogflowV2ListContextsResponse final o = api.GoogleCloudDialogflowV2ListContextsResponse(); buildCounterGoogleCloudDialogflowV2ListContextsResponse++; if (buildCounterGoogleCloudDialogflowV2ListContextsResponse < 3) { - o.contexts = buildUnnamed66(); + o.contexts = buildUnnamed72(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListContextsResponse--; @@ -5199,7 +5744,7 @@ void checkGoogleCloudDialogflowV2ListContextsResponse( api.GoogleCloudDialogflowV2ListContextsResponse o) { buildCounterGoogleCloudDialogflowV2ListContextsResponse++; if (buildCounterGoogleCloudDialogflowV2ListContextsResponse < 3) { - checkUnnamed66(o.contexts!); + checkUnnamed72(o.contexts!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5208,12 +5753,12 @@ void checkGoogleCloudDialogflowV2ListContextsResponse( buildCounterGoogleCloudDialogflowV2ListContextsResponse--; } -core.List buildUnnamed67() => [ +core.List buildUnnamed73() => [ buildGoogleCloudDialogflowV2ConversationDataset(), buildGoogleCloudDialogflowV2ConversationDataset(), ]; -void checkUnnamed67( +void checkUnnamed73( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2ConversationDataset(o[0]); @@ -5227,7 +5772,7 @@ api.GoogleCloudDialogflowV2ListConversationDatasetsResponse final o = api.GoogleCloudDialogflowV2ListConversationDatasetsResponse(); buildCounterGoogleCloudDialogflowV2ListConversationDatasetsResponse++; if (buildCounterGoogleCloudDialogflowV2ListConversationDatasetsResponse < 3) { - o.conversationDatasets = buildUnnamed67(); + o.conversationDatasets = buildUnnamed73(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListConversationDatasetsResponse--; @@ -5238,7 +5783,7 @@ void checkGoogleCloudDialogflowV2ListConversationDatasetsResponse( api.GoogleCloudDialogflowV2ListConversationDatasetsResponse o) { buildCounterGoogleCloudDialogflowV2ListConversationDatasetsResponse++; if (buildCounterGoogleCloudDialogflowV2ListConversationDatasetsResponse < 3) { - checkUnnamed67(o.conversationDatasets!); + checkUnnamed73(o.conversationDatasets!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5248,12 +5793,12 @@ void checkGoogleCloudDialogflowV2ListConversationDatasetsResponse( } core.List - buildUnnamed68() => [ + buildUnnamed74() => [ buildGoogleCloudDialogflowV2ConversationModelEvaluation(), buildGoogleCloudDialogflowV2ConversationModelEvaluation(), ]; -void checkUnnamed68( +void checkUnnamed74( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2ConversationModelEvaluation(o[0]); @@ -5270,7 +5815,7 @@ api.GoogleCloudDialogflowV2ListConversationModelEvaluationsResponse buildCounterGoogleCloudDialogflowV2ListConversationModelEvaluationsResponse++; if (buildCounterGoogleCloudDialogflowV2ListConversationModelEvaluationsResponse < 3) { - o.conversationModelEvaluations = buildUnnamed68(); + o.conversationModelEvaluations = buildUnnamed74(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListConversationModelEvaluationsResponse--; @@ -5282,7 +5827,7 @@ void checkGoogleCloudDialogflowV2ListConversationModelEvaluationsResponse( buildCounterGoogleCloudDialogflowV2ListConversationModelEvaluationsResponse++; if (buildCounterGoogleCloudDialogflowV2ListConversationModelEvaluationsResponse < 3) { - checkUnnamed68(o.conversationModelEvaluations!); + checkUnnamed74(o.conversationModelEvaluations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5291,12 +5836,12 @@ void checkGoogleCloudDialogflowV2ListConversationModelEvaluationsResponse( buildCounterGoogleCloudDialogflowV2ListConversationModelEvaluationsResponse--; } -core.List buildUnnamed69() => [ +core.List buildUnnamed75() => [ buildGoogleCloudDialogflowV2ConversationModel(), buildGoogleCloudDialogflowV2ConversationModel(), ]; -void checkUnnamed69(core.List o) { +void checkUnnamed75(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2ConversationModel(o[0]); checkGoogleCloudDialogflowV2ConversationModel(o[1]); @@ -5308,7 +5853,7 @@ api.GoogleCloudDialogflowV2ListConversationModelsResponse final o = api.GoogleCloudDialogflowV2ListConversationModelsResponse(); buildCounterGoogleCloudDialogflowV2ListConversationModelsResponse++; if (buildCounterGoogleCloudDialogflowV2ListConversationModelsResponse < 3) { - o.conversationModels = buildUnnamed69(); + o.conversationModels = buildUnnamed75(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListConversationModelsResponse--; @@ -5319,7 +5864,7 @@ void checkGoogleCloudDialogflowV2ListConversationModelsResponse( api.GoogleCloudDialogflowV2ListConversationModelsResponse o) { buildCounterGoogleCloudDialogflowV2ListConversationModelsResponse++; if (buildCounterGoogleCloudDialogflowV2ListConversationModelsResponse < 3) { - checkUnnamed69(o.conversationModels!); + checkUnnamed75(o.conversationModels!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5328,12 +5873,12 @@ void checkGoogleCloudDialogflowV2ListConversationModelsResponse( buildCounterGoogleCloudDialogflowV2ListConversationModelsResponse--; } -core.List buildUnnamed70() => [ +core.List buildUnnamed76() => [ buildGoogleCloudDialogflowV2ConversationProfile(), buildGoogleCloudDialogflowV2ConversationProfile(), ]; -void checkUnnamed70( +void checkUnnamed76( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2ConversationProfile(o[0]); @@ -5347,7 +5892,7 @@ api.GoogleCloudDialogflowV2ListConversationProfilesResponse final o = api.GoogleCloudDialogflowV2ListConversationProfilesResponse(); buildCounterGoogleCloudDialogflowV2ListConversationProfilesResponse++; if (buildCounterGoogleCloudDialogflowV2ListConversationProfilesResponse < 3) { - o.conversationProfiles = buildUnnamed70(); + o.conversationProfiles = buildUnnamed76(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListConversationProfilesResponse--; @@ -5358,7 +5903,7 @@ void checkGoogleCloudDialogflowV2ListConversationProfilesResponse( api.GoogleCloudDialogflowV2ListConversationProfilesResponse o) { buildCounterGoogleCloudDialogflowV2ListConversationProfilesResponse++; if (buildCounterGoogleCloudDialogflowV2ListConversationProfilesResponse < 3) { - checkUnnamed70(o.conversationProfiles!); + checkUnnamed76(o.conversationProfiles!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5367,12 +5912,12 @@ void checkGoogleCloudDialogflowV2ListConversationProfilesResponse( buildCounterGoogleCloudDialogflowV2ListConversationProfilesResponse--; } -core.List buildUnnamed71() => [ +core.List buildUnnamed77() => [ buildGoogleCloudDialogflowV2Conversation(), buildGoogleCloudDialogflowV2Conversation(), ]; -void checkUnnamed71(core.List o) { +void checkUnnamed77(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Conversation(o[0]); checkGoogleCloudDialogflowV2Conversation(o[1]); @@ -5384,7 +5929,7 @@ api.GoogleCloudDialogflowV2ListConversationsResponse final o = api.GoogleCloudDialogflowV2ListConversationsResponse(); buildCounterGoogleCloudDialogflowV2ListConversationsResponse++; if (buildCounterGoogleCloudDialogflowV2ListConversationsResponse < 3) { - o.conversations = buildUnnamed71(); + o.conversations = buildUnnamed77(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListConversationsResponse--; @@ -5395,7 +5940,7 @@ void checkGoogleCloudDialogflowV2ListConversationsResponse( api.GoogleCloudDialogflowV2ListConversationsResponse o) { buildCounterGoogleCloudDialogflowV2ListConversationsResponse++; if (buildCounterGoogleCloudDialogflowV2ListConversationsResponse < 3) { - checkUnnamed71(o.conversations!); + checkUnnamed77(o.conversations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5404,12 +5949,12 @@ void checkGoogleCloudDialogflowV2ListConversationsResponse( buildCounterGoogleCloudDialogflowV2ListConversationsResponse--; } -core.List buildUnnamed72() => [ +core.List buildUnnamed78() => [ buildGoogleCloudDialogflowV2Document(), buildGoogleCloudDialogflowV2Document(), ]; -void checkUnnamed72(core.List o) { +void checkUnnamed78(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Document(o[0]); checkGoogleCloudDialogflowV2Document(o[1]); @@ -5421,7 +5966,7 @@ api.GoogleCloudDialogflowV2ListDocumentsResponse final o = api.GoogleCloudDialogflowV2ListDocumentsResponse(); buildCounterGoogleCloudDialogflowV2ListDocumentsResponse++; if (buildCounterGoogleCloudDialogflowV2ListDocumentsResponse < 3) { - o.documents = buildUnnamed72(); + o.documents = buildUnnamed78(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListDocumentsResponse--; @@ -5432,7 +5977,7 @@ void checkGoogleCloudDialogflowV2ListDocumentsResponse( api.GoogleCloudDialogflowV2ListDocumentsResponse o) { buildCounterGoogleCloudDialogflowV2ListDocumentsResponse++; if (buildCounterGoogleCloudDialogflowV2ListDocumentsResponse < 3) { - checkUnnamed72(o.documents!); + checkUnnamed78(o.documents!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5441,12 +5986,12 @@ void checkGoogleCloudDialogflowV2ListDocumentsResponse( buildCounterGoogleCloudDialogflowV2ListDocumentsResponse--; } -core.List buildUnnamed73() => [ +core.List buildUnnamed79() => [ buildGoogleCloudDialogflowV2EntityType(), buildGoogleCloudDialogflowV2EntityType(), ]; -void checkUnnamed73(core.List o) { +void checkUnnamed79(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EntityType(o[0]); checkGoogleCloudDialogflowV2EntityType(o[1]); @@ -5458,7 +6003,7 @@ api.GoogleCloudDialogflowV2ListEntityTypesResponse final o = api.GoogleCloudDialogflowV2ListEntityTypesResponse(); buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse++; if (buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse < 3) { - o.entityTypes = buildUnnamed73(); + o.entityTypes = buildUnnamed79(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse--; @@ -5469,7 +6014,7 @@ void checkGoogleCloudDialogflowV2ListEntityTypesResponse( api.GoogleCloudDialogflowV2ListEntityTypesResponse o) { buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse++; if (buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse < 3) { - checkUnnamed73(o.entityTypes!); + checkUnnamed79(o.entityTypes!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5478,12 +6023,12 @@ void checkGoogleCloudDialogflowV2ListEntityTypesResponse( buildCounterGoogleCloudDialogflowV2ListEntityTypesResponse--; } -core.List buildUnnamed74() => [ +core.List buildUnnamed80() => [ buildGoogleCloudDialogflowV2Environment(), buildGoogleCloudDialogflowV2Environment(), ]; -void checkUnnamed74(core.List o) { +void checkUnnamed80(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Environment(o[0]); checkGoogleCloudDialogflowV2Environment(o[1]); @@ -5495,7 +6040,7 @@ api.GoogleCloudDialogflowV2ListEnvironmentsResponse final o = api.GoogleCloudDialogflowV2ListEnvironmentsResponse(); buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse++; if (buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse < 3) { - o.environments = buildUnnamed74(); + o.environments = buildUnnamed80(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse--; @@ -5506,7 +6051,7 @@ void checkGoogleCloudDialogflowV2ListEnvironmentsResponse( api.GoogleCloudDialogflowV2ListEnvironmentsResponse o) { buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse++; if (buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse < 3) { - checkUnnamed74(o.environments!); + checkUnnamed80(o.environments!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5515,12 +6060,49 @@ void checkGoogleCloudDialogflowV2ListEnvironmentsResponse( buildCounterGoogleCloudDialogflowV2ListEnvironmentsResponse--; } -core.List buildUnnamed75() => [ +core.List buildUnnamed81() => [ + buildGoogleCloudDialogflowV2Generator(), + buildGoogleCloudDialogflowV2Generator(), + ]; + +void checkUnnamed81(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDialogflowV2Generator(o[0]); + checkGoogleCloudDialogflowV2Generator(o[1]); +} + +core.int buildCounterGoogleCloudDialogflowV2ListGeneratorsResponse = 0; +api.GoogleCloudDialogflowV2ListGeneratorsResponse + buildGoogleCloudDialogflowV2ListGeneratorsResponse() { + final o = api.GoogleCloudDialogflowV2ListGeneratorsResponse(); + buildCounterGoogleCloudDialogflowV2ListGeneratorsResponse++; + if (buildCounterGoogleCloudDialogflowV2ListGeneratorsResponse < 3) { + o.generators = buildUnnamed81(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleCloudDialogflowV2ListGeneratorsResponse--; + return o; +} + +void checkGoogleCloudDialogflowV2ListGeneratorsResponse( + api.GoogleCloudDialogflowV2ListGeneratorsResponse o) { + buildCounterGoogleCloudDialogflowV2ListGeneratorsResponse++; + if (buildCounterGoogleCloudDialogflowV2ListGeneratorsResponse < 3) { + checkUnnamed81(o.generators!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudDialogflowV2ListGeneratorsResponse--; +} + +core.List buildUnnamed82() => [ buildGoogleCloudDialogflowV2Intent(), buildGoogleCloudDialogflowV2Intent(), ]; -void checkUnnamed75(core.List o) { +void checkUnnamed82(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Intent(o[0]); checkGoogleCloudDialogflowV2Intent(o[1]); @@ -5532,7 +6114,7 @@ api.GoogleCloudDialogflowV2ListIntentsResponse final o = api.GoogleCloudDialogflowV2ListIntentsResponse(); buildCounterGoogleCloudDialogflowV2ListIntentsResponse++; if (buildCounterGoogleCloudDialogflowV2ListIntentsResponse < 3) { - o.intents = buildUnnamed75(); + o.intents = buildUnnamed82(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListIntentsResponse--; @@ -5543,7 +6125,7 @@ void checkGoogleCloudDialogflowV2ListIntentsResponse( api.GoogleCloudDialogflowV2ListIntentsResponse o) { buildCounterGoogleCloudDialogflowV2ListIntentsResponse++; if (buildCounterGoogleCloudDialogflowV2ListIntentsResponse < 3) { - checkUnnamed75(o.intents!); + checkUnnamed82(o.intents!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5552,12 +6134,12 @@ void checkGoogleCloudDialogflowV2ListIntentsResponse( buildCounterGoogleCloudDialogflowV2ListIntentsResponse--; } -core.List buildUnnamed76() => [ +core.List buildUnnamed83() => [ buildGoogleCloudDialogflowV2KnowledgeBase(), buildGoogleCloudDialogflowV2KnowledgeBase(), ]; -void checkUnnamed76(core.List o) { +void checkUnnamed83(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2KnowledgeBase(o[0]); checkGoogleCloudDialogflowV2KnowledgeBase(o[1]); @@ -5569,7 +6151,7 @@ api.GoogleCloudDialogflowV2ListKnowledgeBasesResponse final o = api.GoogleCloudDialogflowV2ListKnowledgeBasesResponse(); buildCounterGoogleCloudDialogflowV2ListKnowledgeBasesResponse++; if (buildCounterGoogleCloudDialogflowV2ListKnowledgeBasesResponse < 3) { - o.knowledgeBases = buildUnnamed76(); + o.knowledgeBases = buildUnnamed83(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListKnowledgeBasesResponse--; @@ -5580,7 +6162,7 @@ void checkGoogleCloudDialogflowV2ListKnowledgeBasesResponse( api.GoogleCloudDialogflowV2ListKnowledgeBasesResponse o) { buildCounterGoogleCloudDialogflowV2ListKnowledgeBasesResponse++; if (buildCounterGoogleCloudDialogflowV2ListKnowledgeBasesResponse < 3) { - checkUnnamed76(o.knowledgeBases!); + checkUnnamed83(o.knowledgeBases!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5589,12 +6171,12 @@ void checkGoogleCloudDialogflowV2ListKnowledgeBasesResponse( buildCounterGoogleCloudDialogflowV2ListKnowledgeBasesResponse--; } -core.List buildUnnamed77() => [ +core.List buildUnnamed84() => [ buildGoogleCloudDialogflowV2Message(), buildGoogleCloudDialogflowV2Message(), ]; -void checkUnnamed77(core.List o) { +void checkUnnamed84(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Message(o[0]); checkGoogleCloudDialogflowV2Message(o[1]); @@ -5606,7 +6188,7 @@ api.GoogleCloudDialogflowV2ListMessagesResponse final o = api.GoogleCloudDialogflowV2ListMessagesResponse(); buildCounterGoogleCloudDialogflowV2ListMessagesResponse++; if (buildCounterGoogleCloudDialogflowV2ListMessagesResponse < 3) { - o.messages = buildUnnamed77(); + o.messages = buildUnnamed84(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2ListMessagesResponse--; @@ -5617,7 +6199,7 @@ void checkGoogleCloudDialogflowV2ListMessagesResponse( api.GoogleCloudDialogflowV2ListMessagesResponse o) { buildCounterGoogleCloudDialogflowV2ListMessagesResponse++; if (buildCounterGoogleCloudDialogflowV2ListMessagesResponse < 3) { - checkUnnamed77(o.messages!); + checkUnnamed84(o.messages!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5626,12 +6208,12 @@ void checkGoogleCloudDialogflowV2ListMessagesResponse( buildCounterGoogleCloudDialogflowV2ListMessagesResponse--; } -core.List buildUnnamed78() => [ +core.List buildUnnamed85() => [ buildGoogleCloudDialogflowV2Participant(), buildGoogleCloudDialogflowV2Participant(), ]; -void checkUnnamed78(core.List o) { +void checkUnnamed85(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Participant(o[0]); checkGoogleCloudDialogflowV2Participant(o[1]); @@ -5644,7 +6226,7 @@ api.GoogleCloudDialogflowV2ListParticipantsResponse buildCounterGoogleCloudDialogflowV2ListParticipantsResponse++; if (buildCounterGoogleCloudDialogflowV2ListParticipantsResponse < 3) { o.nextPageToken = 'foo'; - o.participants = buildUnnamed78(); + o.participants = buildUnnamed85(); } buildCounterGoogleCloudDialogflowV2ListParticipantsResponse--; return o; @@ -5658,17 +6240,17 @@ void checkGoogleCloudDialogflowV2ListParticipantsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed78(o.participants!); + checkUnnamed85(o.participants!); } buildCounterGoogleCloudDialogflowV2ListParticipantsResponse--; } -core.List buildUnnamed79() => [ +core.List buildUnnamed86() => [ buildGoogleCloudDialogflowV2SessionEntityType(), buildGoogleCloudDialogflowV2SessionEntityType(), ]; -void checkUnnamed79(core.List o) { +void checkUnnamed86(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SessionEntityType(o[0]); checkGoogleCloudDialogflowV2SessionEntityType(o[1]); @@ -5681,7 +6263,7 @@ api.GoogleCloudDialogflowV2ListSessionEntityTypesResponse buildCounterGoogleCloudDialogflowV2ListSessionEntityTypesResponse++; if (buildCounterGoogleCloudDialogflowV2ListSessionEntityTypesResponse < 3) { o.nextPageToken = 'foo'; - o.sessionEntityTypes = buildUnnamed79(); + o.sessionEntityTypes = buildUnnamed86(); } buildCounterGoogleCloudDialogflowV2ListSessionEntityTypesResponse--; return o; @@ -5695,17 +6277,17 @@ void checkGoogleCloudDialogflowV2ListSessionEntityTypesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed79(o.sessionEntityTypes!); + checkUnnamed86(o.sessionEntityTypes!); } buildCounterGoogleCloudDialogflowV2ListSessionEntityTypesResponse--; } -core.List buildUnnamed80() => [ +core.List buildUnnamed87() => [ buildGoogleCloudDialogflowV2Version(), buildGoogleCloudDialogflowV2Version(), ]; -void checkUnnamed80(core.List o) { +void checkUnnamed87(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Version(o[0]); checkGoogleCloudDialogflowV2Version(o[1]); @@ -5718,7 +6300,7 @@ api.GoogleCloudDialogflowV2ListVersionsResponse buildCounterGoogleCloudDialogflowV2ListVersionsResponse++; if (buildCounterGoogleCloudDialogflowV2ListVersionsResponse < 3) { o.nextPageToken = 'foo'; - o.versions = buildUnnamed80(); + o.versions = buildUnnamed87(); } buildCounterGoogleCloudDialogflowV2ListVersionsResponse--; return o; @@ -5732,7 +6314,7 @@ void checkGoogleCloudDialogflowV2ListVersionsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed80(o.versions!); + checkUnnamed87(o.versions!); } buildCounterGoogleCloudDialogflowV2ListVersionsResponse--; } @@ -5814,12 +6396,12 @@ void checkGoogleCloudDialogflowV2Message(api.GoogleCloudDialogflowV2Message o) { buildCounterGoogleCloudDialogflowV2Message--; } -core.List buildUnnamed81() => [ +core.List buildUnnamed88() => [ buildGoogleCloudDialogflowV2AnnotatedMessagePart(), buildGoogleCloudDialogflowV2AnnotatedMessagePart(), ]; -void checkUnnamed81( +void checkUnnamed88( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2AnnotatedMessagePart(o[0]); @@ -5833,7 +6415,7 @@ api.GoogleCloudDialogflowV2MessageAnnotation buildCounterGoogleCloudDialogflowV2MessageAnnotation++; if (buildCounterGoogleCloudDialogflowV2MessageAnnotation < 3) { o.containEntities = true; - o.parts = buildUnnamed81(); + o.parts = buildUnnamed88(); } buildCounterGoogleCloudDialogflowV2MessageAnnotation--; return o; @@ -5844,11 +6426,50 @@ void checkGoogleCloudDialogflowV2MessageAnnotation( buildCounterGoogleCloudDialogflowV2MessageAnnotation++; if (buildCounterGoogleCloudDialogflowV2MessageAnnotation < 3) { unittest.expect(o.containEntities!, unittest.isTrue); - checkUnnamed81(o.parts!); + checkUnnamed88(o.parts!); } buildCounterGoogleCloudDialogflowV2MessageAnnotation--; } +core.int buildCounterGoogleCloudDialogflowV2MessageEntry = 0; +api.GoogleCloudDialogflowV2MessageEntry + buildGoogleCloudDialogflowV2MessageEntry() { + final o = api.GoogleCloudDialogflowV2MessageEntry(); + buildCounterGoogleCloudDialogflowV2MessageEntry++; + if (buildCounterGoogleCloudDialogflowV2MessageEntry < 3) { + o.createTime = 'foo'; + o.languageCode = 'foo'; + o.role = 'foo'; + o.text = 'foo'; + } + buildCounterGoogleCloudDialogflowV2MessageEntry--; + return o; +} + +void checkGoogleCloudDialogflowV2MessageEntry( + api.GoogleCloudDialogflowV2MessageEntry o) { + buildCounterGoogleCloudDialogflowV2MessageEntry++; + if (buildCounterGoogleCloudDialogflowV2MessageEntry < 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.languageCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.role!, + unittest.equals('foo'), + ); + unittest.expect( + o.text!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudDialogflowV2MessageEntry--; +} + core.int buildCounterGoogleCloudDialogflowV2NotificationConfig = 0; api.GoogleCloudDialogflowV2NotificationConfig buildGoogleCloudDialogflowV2NotificationConfig() { @@ -5937,12 +6558,12 @@ void checkGoogleCloudDialogflowV2OutputAudioConfig( buildCounterGoogleCloudDialogflowV2OutputAudioConfig--; } -core.Map buildUnnamed82() => { +core.Map buildUnnamed89() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed82(core.Map o) { +void checkUnnamed89(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -5960,7 +6581,7 @@ api.GoogleCloudDialogflowV2Participant final o = api.GoogleCloudDialogflowV2Participant(); buildCounterGoogleCloudDialogflowV2Participant++; if (buildCounterGoogleCloudDialogflowV2Participant < 3) { - o.documentsMetadataFilters = buildUnnamed82(); + o.documentsMetadataFilters = buildUnnamed89(); o.name = 'foo'; o.obfuscatedExternalUserId = 'foo'; o.role = 'foo'; @@ -5974,7 +6595,7 @@ void checkGoogleCloudDialogflowV2Participant( api.GoogleCloudDialogflowV2Participant o) { buildCounterGoogleCloudDialogflowV2Participant++; if (buildCounterGoogleCloudDialogflowV2Participant < 3) { - checkUnnamed82(o.documentsMetadataFilters!); + checkUnnamed89(o.documentsMetadataFilters!); unittest.expect( o.name!, unittest.equals('foo'), @@ -6019,18 +6640,18 @@ void checkGoogleCloudDialogflowV2QueryInput( buildCounterGoogleCloudDialogflowV2QueryInput--; } -core.List buildUnnamed83() => [ +core.List buildUnnamed90() => [ buildGoogleCloudDialogflowV2Context(), buildGoogleCloudDialogflowV2Context(), ]; -void checkUnnamed83(core.List o) { +void checkUnnamed90(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Context(o[0]); checkGoogleCloudDialogflowV2Context(o[1]); } -core.Map buildUnnamed84() => { +core.Map buildUnnamed91() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6043,7 +6664,7 @@ core.Map buildUnnamed84() => { }, }; -void checkUnnamed84(core.Map o) { +void checkUnnamed91(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted10 = (o['x']!) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); @@ -6075,23 +6696,23 @@ void checkUnnamed84(core.Map o) { ); } -core.List buildUnnamed85() => [ +core.List buildUnnamed92() => [ buildGoogleCloudDialogflowV2SessionEntityType(), buildGoogleCloudDialogflowV2SessionEntityType(), ]; -void checkUnnamed85(core.List o) { +void checkUnnamed92(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SessionEntityType(o[0]); checkGoogleCloudDialogflowV2SessionEntityType(o[1]); } -core.Map buildUnnamed86() => { +core.Map buildUnnamed93() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed86(core.Map o) { +void checkUnnamed93(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -6109,16 +6730,16 @@ api.GoogleCloudDialogflowV2QueryParameters final o = api.GoogleCloudDialogflowV2QueryParameters(); buildCounterGoogleCloudDialogflowV2QueryParameters++; if (buildCounterGoogleCloudDialogflowV2QueryParameters < 3) { - o.contexts = buildUnnamed83(); + o.contexts = buildUnnamed90(); o.geoLocation = buildGoogleTypeLatLng(); - o.payload = buildUnnamed84(); + o.payload = buildUnnamed91(); o.platform = 'foo'; o.resetContexts = true; o.sentimentAnalysisRequestConfig = buildGoogleCloudDialogflowV2SentimentAnalysisRequestConfig(); - o.sessionEntityTypes = buildUnnamed85(); + o.sessionEntityTypes = buildUnnamed92(); o.timeZone = 'foo'; - o.webhookHeaders = buildUnnamed86(); + o.webhookHeaders = buildUnnamed93(); } buildCounterGoogleCloudDialogflowV2QueryParameters--; return o; @@ -6128,9 +6749,9 @@ void checkGoogleCloudDialogflowV2QueryParameters( api.GoogleCloudDialogflowV2QueryParameters o) { buildCounterGoogleCloudDialogflowV2QueryParameters++; if (buildCounterGoogleCloudDialogflowV2QueryParameters < 3) { - checkUnnamed83(o.contexts!); + checkUnnamed90(o.contexts!); checkGoogleTypeLatLng(o.geoLocation!); - checkUnnamed84(o.payload!); + checkUnnamed91(o.payload!); unittest.expect( o.platform!, unittest.equals('foo'), @@ -6138,17 +6759,17 @@ void checkGoogleCloudDialogflowV2QueryParameters( unittest.expect(o.resetContexts!, unittest.isTrue); checkGoogleCloudDialogflowV2SentimentAnalysisRequestConfig( o.sentimentAnalysisRequestConfig!); - checkUnnamed85(o.sessionEntityTypes!); + checkUnnamed92(o.sessionEntityTypes!); unittest.expect( o.timeZone!, unittest.equals('foo'), ); - checkUnnamed86(o.webhookHeaders!); + checkUnnamed93(o.webhookHeaders!); } buildCounterGoogleCloudDialogflowV2QueryParameters--; } -core.Map buildUnnamed87() => { +core.Map buildUnnamed94() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6161,7 +6782,7 @@ core.Map buildUnnamed87() => { }, }; -void checkUnnamed87(core.Map o) { +void checkUnnamed94(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted12 = (o['x']!) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); @@ -6193,29 +6814,29 @@ void checkUnnamed87(core.Map o) { ); } -core.List buildUnnamed88() => [ +core.List buildUnnamed95() => [ buildGoogleCloudDialogflowV2IntentMessage(), buildGoogleCloudDialogflowV2IntentMessage(), ]; -void checkUnnamed88(core.List o) { +void checkUnnamed95(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2IntentMessage(o[0]); checkGoogleCloudDialogflowV2IntentMessage(o[1]); } -core.List buildUnnamed89() => [ +core.List buildUnnamed96() => [ buildGoogleCloudDialogflowV2Context(), buildGoogleCloudDialogflowV2Context(), ]; -void checkUnnamed89(core.List o) { +void checkUnnamed96(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Context(o[0]); checkGoogleCloudDialogflowV2Context(o[1]); } -core.Map buildUnnamed90() => { +core.Map buildUnnamed97() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6228,7 +6849,7 @@ core.Map buildUnnamed90() => { }, }; -void checkUnnamed90(core.Map o) { +void checkUnnamed97(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted14 = (o['x']!) as core.Map; unittest.expect(casted14, unittest.hasLength(3)); @@ -6260,7 +6881,7 @@ void checkUnnamed90(core.Map o) { ); } -core.Map buildUnnamed91() => { +core.Map buildUnnamed98() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6273,7 +6894,7 @@ core.Map buildUnnamed91() => { }, }; -void checkUnnamed91(core.Map o) { +void checkUnnamed98(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted16 = (o['x']!) as core.Map; unittest.expect(casted16, unittest.hasLength(3)); @@ -6314,19 +6935,19 @@ api.GoogleCloudDialogflowV2QueryResult o.action = 'foo'; o.allRequiredParamsPresent = true; o.cancelsSlotFilling = true; - o.diagnosticInfo = buildUnnamed87(); - o.fulfillmentMessages = buildUnnamed88(); + o.diagnosticInfo = buildUnnamed94(); + o.fulfillmentMessages = buildUnnamed95(); o.fulfillmentText = 'foo'; o.intent = buildGoogleCloudDialogflowV2Intent(); o.intentDetectionConfidence = 42.0; o.languageCode = 'foo'; - o.outputContexts = buildUnnamed89(); - o.parameters = buildUnnamed90(); + o.outputContexts = buildUnnamed96(); + o.parameters = buildUnnamed97(); o.queryText = 'foo'; o.sentimentAnalysisResult = buildGoogleCloudDialogflowV2SentimentAnalysisResult(); o.speechRecognitionConfidence = 42.0; - o.webhookPayload = buildUnnamed91(); + o.webhookPayload = buildUnnamed98(); o.webhookSource = 'foo'; } buildCounterGoogleCloudDialogflowV2QueryResult--; @@ -6343,8 +6964,8 @@ void checkGoogleCloudDialogflowV2QueryResult( ); unittest.expect(o.allRequiredParamsPresent!, unittest.isTrue); unittest.expect(o.cancelsSlotFilling!, unittest.isTrue); - checkUnnamed87(o.diagnosticInfo!); - checkUnnamed88(o.fulfillmentMessages!); + checkUnnamed94(o.diagnosticInfo!); + checkUnnamed95(o.fulfillmentMessages!); unittest.expect( o.fulfillmentText!, unittest.equals('foo'), @@ -6358,8 +6979,8 @@ void checkGoogleCloudDialogflowV2QueryResult( o.languageCode!, unittest.equals('foo'), ); - checkUnnamed89(o.outputContexts!); - checkUnnamed90(o.parameters!); + checkUnnamed96(o.outputContexts!); + checkUnnamed97(o.parameters!); unittest.expect( o.queryText!, unittest.equals('foo'), @@ -6370,7 +6991,7 @@ void checkGoogleCloudDialogflowV2QueryResult( o.speechRecognitionConfidence!, unittest.equals(42.0), ); - checkUnnamed91(o.webhookPayload!); + checkUnnamed98(o.webhookPayload!); unittest.expect( o.webhookSource!, unittest.equals('foo'), @@ -6436,12 +7057,12 @@ void checkGoogleCloudDialogflowV2RestoreAgentRequest( buildCounterGoogleCloudDialogflowV2RestoreAgentRequest--; } -core.List buildUnnamed92() => [ +core.List buildUnnamed99() => [ buildGoogleCloudDialogflowV2Agent(), buildGoogleCloudDialogflowV2Agent(), ]; -void checkUnnamed92(core.List o) { +void checkUnnamed99(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2Agent(o[0]); checkGoogleCloudDialogflowV2Agent(o[1]); @@ -6453,7 +7074,7 @@ api.GoogleCloudDialogflowV2SearchAgentsResponse final o = api.GoogleCloudDialogflowV2SearchAgentsResponse(); buildCounterGoogleCloudDialogflowV2SearchAgentsResponse++; if (buildCounterGoogleCloudDialogflowV2SearchAgentsResponse < 3) { - o.agents = buildUnnamed92(); + o.agents = buildUnnamed99(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDialogflowV2SearchAgentsResponse--; @@ -6464,7 +7085,7 @@ void checkGoogleCloudDialogflowV2SearchAgentsResponse( api.GoogleCloudDialogflowV2SearchAgentsResponse o) { buildCounterGoogleCloudDialogflowV2SearchAgentsResponse++; if (buildCounterGoogleCloudDialogflowV2SearchAgentsResponse < 3) { - checkUnnamed92(o.agents!); + checkUnnamed99(o.agents!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -6474,12 +7095,12 @@ void checkGoogleCloudDialogflowV2SearchAgentsResponse( } core.List - buildUnnamed93() => [ + buildUnnamed100() => [ buildGoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource(), buildGoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource(), ]; -void checkUnnamed93( +void checkUnnamed100( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource(o[0]); @@ -6494,7 +7115,7 @@ api.GoogleCloudDialogflowV2SearchKnowledgeAnswer if (buildCounterGoogleCloudDialogflowV2SearchKnowledgeAnswer < 3) { o.answer = 'foo'; o.answerRecord = 'foo'; - o.answerSources = buildUnnamed93(); + o.answerSources = buildUnnamed100(); o.answerType = 'foo'; } buildCounterGoogleCloudDialogflowV2SearchKnowledgeAnswer--; @@ -6513,7 +7134,7 @@ void checkGoogleCloudDialogflowV2SearchKnowledgeAnswer( o.answerRecord!, unittest.equals('foo'), ); - checkUnnamed93(o.answerSources!); + checkUnnamed100(o.answerSources!); unittest.expect( o.answerType!, unittest.equals('foo'), @@ -6605,13 +7226,13 @@ void checkGoogleCloudDialogflowV2SearchKnowledgeRequest( buildCounterGoogleCloudDialogflowV2SearchKnowledgeRequest--; } -core.List buildUnnamed94() => +core.List buildUnnamed101() => [ buildGoogleCloudDialogflowV2SearchKnowledgeAnswer(), buildGoogleCloudDialogflowV2SearchKnowledgeAnswer(), ]; -void checkUnnamed94( +void checkUnnamed101( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SearchKnowledgeAnswer(o[0]); @@ -6624,7 +7245,7 @@ api.GoogleCloudDialogflowV2SearchKnowledgeResponse final o = api.GoogleCloudDialogflowV2SearchKnowledgeResponse(); buildCounterGoogleCloudDialogflowV2SearchKnowledgeResponse++; if (buildCounterGoogleCloudDialogflowV2SearchKnowledgeResponse < 3) { - o.answers = buildUnnamed94(); + o.answers = buildUnnamed101(); o.rewrittenQuery = 'foo'; } buildCounterGoogleCloudDialogflowV2SearchKnowledgeResponse--; @@ -6635,7 +7256,7 @@ void checkGoogleCloudDialogflowV2SearchKnowledgeResponse( api.GoogleCloudDialogflowV2SearchKnowledgeResponse o) { buildCounterGoogleCloudDialogflowV2SearchKnowledgeResponse++; if (buildCounterGoogleCloudDialogflowV2SearchKnowledgeResponse < 3) { - checkUnnamed94(o.answers!); + checkUnnamed101(o.answers!); unittest.expect( o.rewrittenQuery!, unittest.equals('foo'), @@ -6714,12 +7335,12 @@ void checkGoogleCloudDialogflowV2SentimentAnalysisResult( buildCounterGoogleCloudDialogflowV2SentimentAnalysisResult--; } -core.List buildUnnamed95() => [ +core.List buildUnnamed102() => [ buildGoogleCloudDialogflowV2EntityTypeEntity(), buildGoogleCloudDialogflowV2EntityTypeEntity(), ]; -void checkUnnamed95(core.List o) { +void checkUnnamed102(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2EntityTypeEntity(o[0]); checkGoogleCloudDialogflowV2EntityTypeEntity(o[1]); @@ -6731,7 +7352,7 @@ api.GoogleCloudDialogflowV2SessionEntityType final o = api.GoogleCloudDialogflowV2SessionEntityType(); buildCounterGoogleCloudDialogflowV2SessionEntityType++; if (buildCounterGoogleCloudDialogflowV2SessionEntityType < 3) { - o.entities = buildUnnamed95(); + o.entities = buildUnnamed102(); o.entityOverrideMode = 'foo'; o.name = 'foo'; } @@ -6743,7 +7364,7 @@ void checkGoogleCloudDialogflowV2SessionEntityType( api.GoogleCloudDialogflowV2SessionEntityType o) { buildCounterGoogleCloudDialogflowV2SessionEntityType++; if (buildCounterGoogleCloudDialogflowV2SessionEntityType < 3) { - checkUnnamed95(o.entities!); + checkUnnamed102(o.entities!); unittest.expect( o.entityOverrideMode!, unittest.equals('foo'), @@ -6822,12 +7443,12 @@ void checkGoogleCloudDialogflowV2SmartReplyAnswer( } core.List - buildUnnamed96() => [ + buildUnnamed103() => [ buildGoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics(), buildGoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics(), ]; -void checkUnnamed96( +void checkUnnamed103( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics(o[0]); @@ -6842,7 +7463,7 @@ api.GoogleCloudDialogflowV2SmartReplyMetrics if (buildCounterGoogleCloudDialogflowV2SmartReplyMetrics < 3) { o.allowlistCoverage = 42.0; o.conversationCount = 'foo'; - o.topNMetrics = buildUnnamed96(); + o.topNMetrics = buildUnnamed103(); } buildCounterGoogleCloudDialogflowV2SmartReplyMetrics--; return o; @@ -6860,7 +7481,7 @@ void checkGoogleCloudDialogflowV2SmartReplyMetrics( o.conversationCount!, unittest.equals('foo'), ); - checkUnnamed96(o.topNMetrics!); + checkUnnamed103(o.topNMetrics!); } buildCounterGoogleCloudDialogflowV2SmartReplyMetrics--; } @@ -6918,12 +7539,12 @@ void checkGoogleCloudDialogflowV2SmartReplyModelMetadata( buildCounterGoogleCloudDialogflowV2SmartReplyModelMetadata--; } -core.List buildUnnamed97() => [ +core.List buildUnnamed104() => [ 'foo', 'foo', ]; -void checkUnnamed97(core.List o) { +void checkUnnamed104(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6942,7 +7563,7 @@ api.GoogleCloudDialogflowV2SpeechContext buildCounterGoogleCloudDialogflowV2SpeechContext++; if (buildCounterGoogleCloudDialogflowV2SpeechContext < 3) { o.boost = 42.0; - o.phrases = buildUnnamed97(); + o.phrases = buildUnnamed104(); } buildCounterGoogleCloudDialogflowV2SpeechContext--; return o; @@ -6956,7 +7577,7 @@ void checkGoogleCloudDialogflowV2SpeechContext( o.boost!, unittest.equals(42.0), ); - checkUnnamed97(o.phrases!); + checkUnnamed104(o.phrases!); } buildCounterGoogleCloudDialogflowV2SpeechContext--; } @@ -7023,12 +7644,12 @@ void checkGoogleCloudDialogflowV2SuggestArticlesRequest( buildCounterGoogleCloudDialogflowV2SuggestArticlesRequest--; } -core.List buildUnnamed98() => [ +core.List buildUnnamed105() => [ buildGoogleCloudDialogflowV2ArticleAnswer(), buildGoogleCloudDialogflowV2ArticleAnswer(), ]; -void checkUnnamed98(core.List o) { +void checkUnnamed105(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2ArticleAnswer(o[0]); checkGoogleCloudDialogflowV2ArticleAnswer(o[1]); @@ -7040,7 +7661,7 @@ api.GoogleCloudDialogflowV2SuggestArticlesResponse final o = api.GoogleCloudDialogflowV2SuggestArticlesResponse(); buildCounterGoogleCloudDialogflowV2SuggestArticlesResponse++; if (buildCounterGoogleCloudDialogflowV2SuggestArticlesResponse < 3) { - o.articleAnswers = buildUnnamed98(); + o.articleAnswers = buildUnnamed105(); o.contextSize = 42; o.latestMessage = 'foo'; } @@ -7052,7 +7673,7 @@ void checkGoogleCloudDialogflowV2SuggestArticlesResponse( api.GoogleCloudDialogflowV2SuggestArticlesResponse o) { buildCounterGoogleCloudDialogflowV2SuggestArticlesResponse++; if (buildCounterGoogleCloudDialogflowV2SuggestArticlesResponse < 3) { - checkUnnamed98(o.articleAnswers!); + checkUnnamed105(o.articleAnswers!); unittest.expect( o.contextSize!, unittest.equals(42), @@ -7135,12 +7756,12 @@ void checkGoogleCloudDialogflowV2SuggestConversationSummaryResponse( buildCounterGoogleCloudDialogflowV2SuggestConversationSummaryResponse--; } -core.Map buildUnnamed99() => { +core.Map buildUnnamed106() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed99(core.Map o) { +void checkUnnamed106(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -7165,7 +7786,7 @@ api.GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary o.answerRecord = 'foo'; o.baselineModelVersion = 'foo'; o.text = 'foo'; - o.textSections = buildUnnamed99(); + o.textSections = buildUnnamed106(); } buildCounterGoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary--; return o; @@ -7188,7 +7809,7 @@ void checkGoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary( o.text!, unittest.equals('foo'), ); - checkUnnamed99(o.textSections!); + checkUnnamed106(o.textSections!); } buildCounterGoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary--; } @@ -7224,12 +7845,12 @@ void checkGoogleCloudDialogflowV2SuggestFaqAnswersRequest( buildCounterGoogleCloudDialogflowV2SuggestFaqAnswersRequest--; } -core.List buildUnnamed100() => [ +core.List buildUnnamed107() => [ buildGoogleCloudDialogflowV2FaqAnswer(), buildGoogleCloudDialogflowV2FaqAnswer(), ]; -void checkUnnamed100(core.List o) { +void checkUnnamed107(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2FaqAnswer(o[0]); checkGoogleCloudDialogflowV2FaqAnswer(o[1]); @@ -7242,7 +7863,7 @@ api.GoogleCloudDialogflowV2SuggestFaqAnswersResponse buildCounterGoogleCloudDialogflowV2SuggestFaqAnswersResponse++; if (buildCounterGoogleCloudDialogflowV2SuggestFaqAnswersResponse < 3) { o.contextSize = 42; - o.faqAnswers = buildUnnamed100(); + o.faqAnswers = buildUnnamed107(); o.latestMessage = 'foo'; } buildCounterGoogleCloudDialogflowV2SuggestFaqAnswersResponse--; @@ -7257,7 +7878,7 @@ void checkGoogleCloudDialogflowV2SuggestFaqAnswersResponse( o.contextSize!, unittest.equals(42), ); - checkUnnamed100(o.faqAnswers!); + checkUnnamed107(o.faqAnswers!); unittest.expect( o.latestMessage!, unittest.equals('foo'), @@ -7266,6 +7887,72 @@ void checkGoogleCloudDialogflowV2SuggestFaqAnswersResponse( buildCounterGoogleCloudDialogflowV2SuggestFaqAnswersResponse--; } +core.int buildCounterGoogleCloudDialogflowV2SuggestKnowledgeAssistRequest = 0; +api.GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest + buildGoogleCloudDialogflowV2SuggestKnowledgeAssistRequest() { + final o = api.GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest(); + buildCounterGoogleCloudDialogflowV2SuggestKnowledgeAssistRequest++; + if (buildCounterGoogleCloudDialogflowV2SuggestKnowledgeAssistRequest < 3) { + o.contextSize = 42; + o.latestMessage = 'foo'; + o.previousSuggestedQuery = 'foo'; + } + buildCounterGoogleCloudDialogflowV2SuggestKnowledgeAssistRequest--; + return o; +} + +void checkGoogleCloudDialogflowV2SuggestKnowledgeAssistRequest( + api.GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest o) { + buildCounterGoogleCloudDialogflowV2SuggestKnowledgeAssistRequest++; + if (buildCounterGoogleCloudDialogflowV2SuggestKnowledgeAssistRequest < 3) { + unittest.expect( + o.contextSize!, + unittest.equals(42), + ); + unittest.expect( + o.latestMessage!, + unittest.equals('foo'), + ); + unittest.expect( + o.previousSuggestedQuery!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudDialogflowV2SuggestKnowledgeAssistRequest--; +} + +core.int buildCounterGoogleCloudDialogflowV2SuggestKnowledgeAssistResponse = 0; +api.GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse + buildGoogleCloudDialogflowV2SuggestKnowledgeAssistResponse() { + final o = api.GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse(); + buildCounterGoogleCloudDialogflowV2SuggestKnowledgeAssistResponse++; + if (buildCounterGoogleCloudDialogflowV2SuggestKnowledgeAssistResponse < 3) { + o.contextSize = 42; + o.knowledgeAssistAnswer = + buildGoogleCloudDialogflowV2KnowledgeAssistAnswer(); + o.latestMessage = 'foo'; + } + buildCounterGoogleCloudDialogflowV2SuggestKnowledgeAssistResponse--; + return o; +} + +void checkGoogleCloudDialogflowV2SuggestKnowledgeAssistResponse( + api.GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse o) { + buildCounterGoogleCloudDialogflowV2SuggestKnowledgeAssistResponse++; + if (buildCounterGoogleCloudDialogflowV2SuggestKnowledgeAssistResponse < 3) { + unittest.expect( + o.contextSize!, + unittest.equals(42), + ); + checkGoogleCloudDialogflowV2KnowledgeAssistAnswer(o.knowledgeAssistAnswer!); + unittest.expect( + o.latestMessage!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudDialogflowV2SuggestKnowledgeAssistResponse--; +} + core.int buildCounterGoogleCloudDialogflowV2SuggestSmartRepliesRequest = 0; api.GoogleCloudDialogflowV2SuggestSmartRepliesRequest buildGoogleCloudDialogflowV2SuggestSmartRepliesRequest() { @@ -7297,12 +7984,12 @@ void checkGoogleCloudDialogflowV2SuggestSmartRepliesRequest( buildCounterGoogleCloudDialogflowV2SuggestSmartRepliesRequest--; } -core.List buildUnnamed101() => [ +core.List buildUnnamed108() => [ buildGoogleCloudDialogflowV2SmartReplyAnswer(), buildGoogleCloudDialogflowV2SmartReplyAnswer(), ]; -void checkUnnamed101(core.List o) { +void checkUnnamed108(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2SmartReplyAnswer(o[0]); checkGoogleCloudDialogflowV2SmartReplyAnswer(o[1]); @@ -7316,7 +8003,7 @@ api.GoogleCloudDialogflowV2SuggestSmartRepliesResponse if (buildCounterGoogleCloudDialogflowV2SuggestSmartRepliesResponse < 3) { o.contextSize = 42; o.latestMessage = 'foo'; - o.smartReplyAnswers = buildUnnamed101(); + o.smartReplyAnswers = buildUnnamed108(); } buildCounterGoogleCloudDialogflowV2SuggestSmartRepliesResponse--; return o; @@ -7334,7 +8021,7 @@ void checkGoogleCloudDialogflowV2SuggestSmartRepliesResponse( o.latestMessage!, unittest.equals('foo'), ); - checkUnnamed101(o.smartReplyAnswers!); + checkUnnamed108(o.smartReplyAnswers!); } buildCounterGoogleCloudDialogflowV2SuggestSmartRepliesResponse--; } @@ -7398,6 +8085,8 @@ api.GoogleCloudDialogflowV2SuggestionResult buildGoogleCloudDialogflowV2SuggestArticlesResponse(); o.suggestFaqAnswersResponse = buildGoogleCloudDialogflowV2SuggestFaqAnswersResponse(); + o.suggestKnowledgeAssistResponse = + buildGoogleCloudDialogflowV2SuggestKnowledgeAssistResponse(); o.suggestSmartRepliesResponse = buildGoogleCloudDialogflowV2SuggestSmartRepliesResponse(); } @@ -7414,65 +8103,255 @@ void checkGoogleCloudDialogflowV2SuggestionResult( o.suggestArticlesResponse!); checkGoogleCloudDialogflowV2SuggestFaqAnswersResponse( o.suggestFaqAnswersResponse!); + checkGoogleCloudDialogflowV2SuggestKnowledgeAssistResponse( + o.suggestKnowledgeAssistResponse!); checkGoogleCloudDialogflowV2SuggestSmartRepliesResponse( o.suggestSmartRepliesResponse!); } buildCounterGoogleCloudDialogflowV2SuggestionResult--; } -core.List buildUnnamed102() => [ - 'foo', - 'foo', +core.List buildUnnamed109() => [ + buildGoogleCloudDialogflowV2FewShotExample(), + buildGoogleCloudDialogflowV2FewShotExample(), ]; -void checkUnnamed102(core.List o) { +void checkUnnamed109(core.List o) { unittest.expect(o, unittest.hasLength(2)); - unittest.expect( - o[0], - unittest.equals('foo'), - ); - unittest.expect( - o[1], - unittest.equals('foo'), - ); + checkGoogleCloudDialogflowV2FewShotExample(o[0]); + checkGoogleCloudDialogflowV2FewShotExample(o[1]); } -core.int buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig = 0; -api.GoogleCloudDialogflowV2SynthesizeSpeechConfig - buildGoogleCloudDialogflowV2SynthesizeSpeechConfig() { - final o = api.GoogleCloudDialogflowV2SynthesizeSpeechConfig(); - buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig++; - if (buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig < 3) { - o.effectsProfileId = buildUnnamed102(); - o.pitch = 42.0; - o.speakingRate = 42.0; - o.voice = buildGoogleCloudDialogflowV2VoiceSelectionParams(); - o.volumeGainDb = 42.0; - } - buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig--; +core.List buildUnnamed110() => + [ + buildGoogleCloudDialogflowV2SummarizationSection(), + buildGoogleCloudDialogflowV2SummarizationSection(), + ]; + +void checkUnnamed110( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDialogflowV2SummarizationSection(o[0]); + checkGoogleCloudDialogflowV2SummarizationSection(o[1]); +} + +core.int buildCounterGoogleCloudDialogflowV2SummarizationContext = 0; +api.GoogleCloudDialogflowV2SummarizationContext + buildGoogleCloudDialogflowV2SummarizationContext() { + final o = api.GoogleCloudDialogflowV2SummarizationContext(); + buildCounterGoogleCloudDialogflowV2SummarizationContext++; + if (buildCounterGoogleCloudDialogflowV2SummarizationContext < 3) { + o.fewShotExamples = buildUnnamed109(); + o.outputLanguageCode = 'foo'; + o.summarizationSections = buildUnnamed110(); + o.version = 'foo'; + } + buildCounterGoogleCloudDialogflowV2SummarizationContext--; return o; } -void checkGoogleCloudDialogflowV2SynthesizeSpeechConfig( - api.GoogleCloudDialogflowV2SynthesizeSpeechConfig o) { - buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig++; - if (buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig < 3) { - checkUnnamed102(o.effectsProfileId!); - unittest.expect( - o.pitch!, - unittest.equals(42.0), - ); +void checkGoogleCloudDialogflowV2SummarizationContext( + api.GoogleCloudDialogflowV2SummarizationContext o) { + buildCounterGoogleCloudDialogflowV2SummarizationContext++; + if (buildCounterGoogleCloudDialogflowV2SummarizationContext < 3) { + checkUnnamed109(o.fewShotExamples!); unittest.expect( - o.speakingRate!, - unittest.equals(42.0), + o.outputLanguageCode!, + unittest.equals('foo'), ); - checkGoogleCloudDialogflowV2VoiceSelectionParams(o.voice!); + checkUnnamed110(o.summarizationSections!); unittest.expect( - o.volumeGainDb!, - unittest.equals(42.0), + o.version!, + unittest.equals('foo'), ); } - buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig--; + buildCounterGoogleCloudDialogflowV2SummarizationContext--; +} + +core.int buildCounterGoogleCloudDialogflowV2SummarizationSection = 0; +api.GoogleCloudDialogflowV2SummarizationSection + buildGoogleCloudDialogflowV2SummarizationSection() { + final o = api.GoogleCloudDialogflowV2SummarizationSection(); + buildCounterGoogleCloudDialogflowV2SummarizationSection++; + if (buildCounterGoogleCloudDialogflowV2SummarizationSection < 3) { + o.definition = 'foo'; + o.key = 'foo'; + o.type = 'foo'; + } + buildCounterGoogleCloudDialogflowV2SummarizationSection--; + return o; +} + +void checkGoogleCloudDialogflowV2SummarizationSection( + api.GoogleCloudDialogflowV2SummarizationSection o) { + buildCounterGoogleCloudDialogflowV2SummarizationSection++; + if (buildCounterGoogleCloudDialogflowV2SummarizationSection < 3) { + unittest.expect( + o.definition!, + unittest.equals('foo'), + ); + unittest.expect( + o.key!, + unittest.equals('foo'), + ); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudDialogflowV2SummarizationSection--; +} + +core.List buildUnnamed111() => + [ + buildGoogleCloudDialogflowV2SummarizationSection(), + buildGoogleCloudDialogflowV2SummarizationSection(), + ]; + +void checkUnnamed111( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDialogflowV2SummarizationSection(o[0]); + checkGoogleCloudDialogflowV2SummarizationSection(o[1]); +} + +core.int buildCounterGoogleCloudDialogflowV2SummarizationSectionList = 0; +api.GoogleCloudDialogflowV2SummarizationSectionList + buildGoogleCloudDialogflowV2SummarizationSectionList() { + final o = api.GoogleCloudDialogflowV2SummarizationSectionList(); + buildCounterGoogleCloudDialogflowV2SummarizationSectionList++; + if (buildCounterGoogleCloudDialogflowV2SummarizationSectionList < 3) { + o.summarizationSections = buildUnnamed111(); + } + buildCounterGoogleCloudDialogflowV2SummarizationSectionList--; + return o; +} + +void checkGoogleCloudDialogflowV2SummarizationSectionList( + api.GoogleCloudDialogflowV2SummarizationSectionList o) { + buildCounterGoogleCloudDialogflowV2SummarizationSectionList++; + if (buildCounterGoogleCloudDialogflowV2SummarizationSectionList < 3) { + checkUnnamed111(o.summarizationSections!); + } + buildCounterGoogleCloudDialogflowV2SummarizationSectionList--; +} + +core.List + buildUnnamed112() => [ + buildGoogleCloudDialogflowV2SummarySuggestionSummarySection(), + buildGoogleCloudDialogflowV2SummarySuggestionSummarySection(), + ]; + +void checkUnnamed112( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDialogflowV2SummarySuggestionSummarySection(o[0]); + checkGoogleCloudDialogflowV2SummarySuggestionSummarySection(o[1]); +} + +core.int buildCounterGoogleCloudDialogflowV2SummarySuggestion = 0; +api.GoogleCloudDialogflowV2SummarySuggestion + buildGoogleCloudDialogflowV2SummarySuggestion() { + final o = api.GoogleCloudDialogflowV2SummarySuggestion(); + buildCounterGoogleCloudDialogflowV2SummarySuggestion++; + if (buildCounterGoogleCloudDialogflowV2SummarySuggestion < 3) { + o.summarySections = buildUnnamed112(); + } + buildCounterGoogleCloudDialogflowV2SummarySuggestion--; + return o; +} + +void checkGoogleCloudDialogflowV2SummarySuggestion( + api.GoogleCloudDialogflowV2SummarySuggestion o) { + buildCounterGoogleCloudDialogflowV2SummarySuggestion++; + if (buildCounterGoogleCloudDialogflowV2SummarySuggestion < 3) { + checkUnnamed112(o.summarySections!); + } + buildCounterGoogleCloudDialogflowV2SummarySuggestion--; +} + +core.int buildCounterGoogleCloudDialogflowV2SummarySuggestionSummarySection = 0; +api.GoogleCloudDialogflowV2SummarySuggestionSummarySection + buildGoogleCloudDialogflowV2SummarySuggestionSummarySection() { + final o = api.GoogleCloudDialogflowV2SummarySuggestionSummarySection(); + buildCounterGoogleCloudDialogflowV2SummarySuggestionSummarySection++; + if (buildCounterGoogleCloudDialogflowV2SummarySuggestionSummarySection < 3) { + o.section = 'foo'; + o.summary = 'foo'; + } + buildCounterGoogleCloudDialogflowV2SummarySuggestionSummarySection--; + return o; +} + +void checkGoogleCloudDialogflowV2SummarySuggestionSummarySection( + api.GoogleCloudDialogflowV2SummarySuggestionSummarySection o) { + buildCounterGoogleCloudDialogflowV2SummarySuggestionSummarySection++; + if (buildCounterGoogleCloudDialogflowV2SummarySuggestionSummarySection < 3) { + unittest.expect( + o.section!, + unittest.equals('foo'), + ); + unittest.expect( + o.summary!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudDialogflowV2SummarySuggestionSummarySection--; +} + +core.List buildUnnamed113() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed113(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig = 0; +api.GoogleCloudDialogflowV2SynthesizeSpeechConfig + buildGoogleCloudDialogflowV2SynthesizeSpeechConfig() { + final o = api.GoogleCloudDialogflowV2SynthesizeSpeechConfig(); + buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig++; + if (buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig < 3) { + o.effectsProfileId = buildUnnamed113(); + o.pitch = 42.0; + o.speakingRate = 42.0; + o.voice = buildGoogleCloudDialogflowV2VoiceSelectionParams(); + o.volumeGainDb = 42.0; + } + buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig--; + return o; +} + +void checkGoogleCloudDialogflowV2SynthesizeSpeechConfig( + api.GoogleCloudDialogflowV2SynthesizeSpeechConfig o) { + buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig++; + if (buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig < 3) { + checkUnnamed113(o.effectsProfileId!); + unittest.expect( + o.pitch!, + unittest.equals(42.0), + ); + unittest.expect( + o.speakingRate!, + unittest.equals(42.0), + ); + checkGoogleCloudDialogflowV2VoiceSelectionParams(o.voice!); + unittest.expect( + o.volumeGainDb!, + unittest.equals(42.0), + ); + } + buildCounterGoogleCloudDialogflowV2SynthesizeSpeechConfig--; } core.int buildCounterGoogleCloudDialogflowV2TextInput = 0; @@ -7504,12 +8383,12 @@ void checkGoogleCloudDialogflowV2TextInput( } core.Map - buildUnnamed103() => { + buildUnnamed114() => { 'x': buildGoogleCloudDialogflowV2SynthesizeSpeechConfig(), 'y': buildGoogleCloudDialogflowV2SynthesizeSpeechConfig(), }; -void checkUnnamed103( +void checkUnnamed114( core.Map o) { unittest.expect(o, unittest.hasLength(2)); @@ -7526,7 +8405,7 @@ api.GoogleCloudDialogflowV2TextToSpeechSettings o.enableTextToSpeech = true; o.outputAudioEncoding = 'foo'; o.sampleRateHertz = 42; - o.synthesizeSpeechConfigs = buildUnnamed103(); + o.synthesizeSpeechConfigs = buildUnnamed114(); } buildCounterGoogleCloudDialogflowV2TextToSpeechSettings--; return o; @@ -7545,7 +8424,7 @@ void checkGoogleCloudDialogflowV2TextToSpeechSettings( o.sampleRateHertz!, unittest.equals(42), ); - checkUnnamed103(o.synthesizeSpeechConfigs!); + checkUnnamed114(o.synthesizeSpeechConfigs!); } buildCounterGoogleCloudDialogflowV2TextToSpeechSettings--; } @@ -7587,12 +8466,12 @@ void checkGoogleCloudDialogflowV2UndeployConversationModelRequest( buildCounterGoogleCloudDialogflowV2UndeployConversationModelRequest--; } -core.List buildUnnamed104() => [ +core.List buildUnnamed115() => [ 'foo', 'foo', ]; -void checkUnnamed104(core.List o) { +void checkUnnamed115(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7610,7 +8489,7 @@ api.GoogleCloudDialogflowV2ValidationError final o = api.GoogleCloudDialogflowV2ValidationError(); buildCounterGoogleCloudDialogflowV2ValidationError++; if (buildCounterGoogleCloudDialogflowV2ValidationError < 3) { - o.entries = buildUnnamed104(); + o.entries = buildUnnamed115(); o.errorMessage = 'foo'; o.severity = 'foo'; } @@ -7622,7 +8501,7 @@ void checkGoogleCloudDialogflowV2ValidationError( api.GoogleCloudDialogflowV2ValidationError o) { buildCounterGoogleCloudDialogflowV2ValidationError++; if (buildCounterGoogleCloudDialogflowV2ValidationError < 3) { - checkUnnamed104(o.entries!); + checkUnnamed115(o.entries!); unittest.expect( o.errorMessage!, unittest.equals('foo'), @@ -7635,12 +8514,12 @@ void checkGoogleCloudDialogflowV2ValidationError( buildCounterGoogleCloudDialogflowV2ValidationError--; } -core.List buildUnnamed105() => [ +core.List buildUnnamed116() => [ buildGoogleCloudDialogflowV2ValidationError(), buildGoogleCloudDialogflowV2ValidationError(), ]; -void checkUnnamed105(core.List o) { +void checkUnnamed116(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDialogflowV2ValidationError(o[0]); checkGoogleCloudDialogflowV2ValidationError(o[1]); @@ -7652,7 +8531,7 @@ api.GoogleCloudDialogflowV2ValidationResult final o = api.GoogleCloudDialogflowV2ValidationResult(); buildCounterGoogleCloudDialogflowV2ValidationResult++; if (buildCounterGoogleCloudDialogflowV2ValidationResult < 3) { - o.validationErrors = buildUnnamed105(); + o.validationErrors = buildUnnamed116(); } buildCounterGoogleCloudDialogflowV2ValidationResult--; return o; @@ -7662,7 +8541,7 @@ void checkGoogleCloudDialogflowV2ValidationResult( api.GoogleCloudDialogflowV2ValidationResult o) { buildCounterGoogleCloudDialogflowV2ValidationResult++; if (buildCounterGoogleCloudDialogflowV2ValidationResult < 3) { - checkUnnamed105(o.validationErrors!); + checkUnnamed116(o.validationErrors!); } buildCounterGoogleCloudDialogflowV2ValidationResult--; } @@ -7738,12 +8617,12 @@ void checkGoogleCloudDialogflowV2VoiceSelectionParams( buildCounterGoogleCloudDialogflowV2VoiceSelectionParams--; } -core.List buildUnnamed106() => [ +core.List buildUnnamed117() => [ buildGoogleCloudLocationLocation(), buildGoogleCloudLocationLocation(), ]; -void checkUnnamed106(core.List o) { +void checkUnnamed117(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudLocationLocation(o[0]); checkGoogleCloudLocationLocation(o[1]); @@ -7755,7 +8634,7 @@ api.GoogleCloudLocationListLocationsResponse final o = api.GoogleCloudLocationListLocationsResponse(); buildCounterGoogleCloudLocationListLocationsResponse++; if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { - o.locations = buildUnnamed106(); + o.locations = buildUnnamed117(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudLocationListLocationsResponse--; @@ -7766,7 +8645,7 @@ void checkGoogleCloudLocationListLocationsResponse( api.GoogleCloudLocationListLocationsResponse o) { buildCounterGoogleCloudLocationListLocationsResponse++; if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { - checkUnnamed106(o.locations!); + checkUnnamed117(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -7775,12 +8654,12 @@ void checkGoogleCloudLocationListLocationsResponse( buildCounterGoogleCloudLocationListLocationsResponse--; } -core.Map buildUnnamed107() => { +core.Map buildUnnamed118() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed107(core.Map o) { +void checkUnnamed118(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -7792,7 +8671,7 @@ void checkUnnamed107(core.Map o) { ); } -core.Map buildUnnamed108() => { +core.Map buildUnnamed119() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7805,7 +8684,7 @@ core.Map buildUnnamed108() => { }, }; -void checkUnnamed108(core.Map o) { +void checkUnnamed119(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted18 = (o['x']!) as core.Map; unittest.expect(casted18, unittest.hasLength(3)); @@ -7843,9 +8722,9 @@ api.GoogleCloudLocationLocation buildGoogleCloudLocationLocation() { buildCounterGoogleCloudLocationLocation++; if (buildCounterGoogleCloudLocationLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed107(); + o.labels = buildUnnamed118(); o.locationId = 'foo'; - o.metadata = buildUnnamed108(); + o.metadata = buildUnnamed119(); o.name = 'foo'; } buildCounterGoogleCloudLocationLocation--; @@ -7859,12 +8738,12 @@ void checkGoogleCloudLocationLocation(api.GoogleCloudLocationLocation o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed107(o.labels!); + checkUnnamed118(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed108(o.metadata!); + checkUnnamed119(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -7873,12 +8752,12 @@ void checkGoogleCloudLocationLocation(api.GoogleCloudLocationLocation o) { buildCounterGoogleCloudLocationLocation--; } -core.List buildUnnamed109() => [ +core.List buildUnnamed120() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed109(core.List o) { +void checkUnnamed120(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -7891,7 +8770,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed109(); + o.operations = buildUnnamed120(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -7905,12 +8784,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed109(o.operations!); + checkUnnamed120(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed110() => { +core.Map buildUnnamed121() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7923,7 +8802,7 @@ core.Map buildUnnamed110() => { }, }; -void checkUnnamed110(core.Map o) { +void checkUnnamed121(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted20 = (o['x']!) as core.Map; unittest.expect(casted20, unittest.hasLength(3)); @@ -7955,7 +8834,7 @@ void checkUnnamed110(core.Map o) { ); } -core.Map buildUnnamed111() => { +core.Map buildUnnamed122() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7968,7 +8847,7 @@ core.Map buildUnnamed111() => { }, }; -void checkUnnamed111(core.Map o) { +void checkUnnamed122(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted22 = (o['x']!) as core.Map; unittest.expect(casted22, unittest.hasLength(3)); @@ -8007,9 +8886,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed110(); + o.metadata = buildUnnamed121(); o.name = 'foo'; - o.response = buildUnnamed111(); + o.response = buildUnnamed122(); } buildCounterGoogleLongrunningOperation--; return o; @@ -8020,12 +8899,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed110(o.metadata!); + checkUnnamed121(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed111(o.response!); + checkUnnamed122(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -8045,7 +8924,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed112() => { +core.Map buildUnnamed123() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -8058,7 +8937,7 @@ core.Map buildUnnamed112() => { }, }; -void checkUnnamed112(core.Map o) { +void checkUnnamed123(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted24 = (o['x']!) as core.Map; unittest.expect(casted24, unittest.hasLength(3)); @@ -8090,15 +8969,15 @@ void checkUnnamed112(core.Map o) { ); } -core.List> buildUnnamed113() => [ - buildUnnamed112(), - buildUnnamed112(), +core.List> buildUnnamed124() => [ + buildUnnamed123(), + buildUnnamed123(), ]; -void checkUnnamed113(core.List> o) { +void checkUnnamed124(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed112(o[0]); - checkUnnamed112(o[1]); + checkUnnamed123(o[0]); + checkUnnamed123(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -8107,7 +8986,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed113(); + o.details = buildUnnamed124(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -8121,7 +9000,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed113(o.details!); + checkUnnamed124(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -8179,6 +9058,21 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback + .fromJson(oJson as core.Map); + checkGoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback( + od); + }); + }); + unittest.group( 'obj-schema-GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback', () { @@ -8446,6 +9340,16 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudDialogflowV2ConversationContext', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowV2ConversationContext(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowV2ConversationContext.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowV2ConversationContext(od); + }); + }); + unittest.group('obj-schema-GoogleCloudDialogflowV2ConversationDataset', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudDialogflowV2ConversationDataset(); @@ -8732,6 +9636,16 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudDialogflowV2FewShotExample', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowV2FewShotExample(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowV2FewShotExample.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowV2FewShotExample(od); + }); + }); + unittest.group('obj-schema-GoogleCloudDialogflowV2Fulfillment', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudDialogflowV2Fulfillment(); @@ -8784,6 +9698,32 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDialogflowV2GenerateStatelessSuggestionRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest + .fromJson(oJson as core.Map); + checkGoogleCloudDialogflowV2GenerateStatelessSuggestionRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDialogflowV2GenerateStatelessSuggestionResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse + .fromJson(oJson as core.Map); + checkGoogleCloudDialogflowV2GenerateStatelessSuggestionResponse(od); + }); + }); + unittest.group( 'obj-schema-GoogleCloudDialogflowV2GenerateStatelessSummaryRequest', () { unittest.test('to-json--from-json', () async { @@ -8837,6 +9777,26 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudDialogflowV2Generator', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowV2Generator(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowV2Generator.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowV2Generator(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudDialogflowV2GeneratorSuggestion', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowV2GeneratorSuggestion(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowV2GeneratorSuggestion.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowV2GeneratorSuggestion(od); + }); + }); + unittest.group('obj-schema-GoogleCloudDialogflowV2HumanAgentAssistantConfig', () { unittest.test('to-json--from-json', () async { @@ -9126,6 +10086,16 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudDialogflowV2InferenceParameter', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowV2InferenceParameter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowV2InferenceParameter.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowV2InferenceParameter(od); + }); + }); + unittest.group('obj-schema-GoogleCloudDialogflowV2InputAudioConfig', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudDialogflowV2InputAudioConfig(); @@ -9557,6 +10527,87 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudDialogflowV2KnowledgeAssistAnswer', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowV2KnowledgeAssistAnswer(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowV2KnowledgeAssistAnswer.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowV2KnowledgeAssistAnswer(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer + .fromJson(oJson as core.Map); + checkGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource + .fromJson(oJson as core.Map); + checkGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource + .fromJson(oJson as core.Map); + checkGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet + .fromJson(oJson as core.Map); + checkGoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery + .fromJson(oJson as core.Map); + checkGoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery(od); + }); + }); + unittest.group('obj-schema-GoogleCloudDialogflowV2KnowledgeBase', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudDialogflowV2KnowledgeBase(); @@ -9681,6 +10732,17 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudDialogflowV2ListGeneratorsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowV2ListGeneratorsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowV2ListGeneratorsResponse.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowV2ListGeneratorsResponse(od); + }); + }); + unittest.group('obj-schema-GoogleCloudDialogflowV2ListIntentsResponse', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudDialogflowV2ListIntentsResponse(); @@ -9775,6 +10837,16 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudDialogflowV2MessageEntry', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowV2MessageEntry(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowV2MessageEntry.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowV2MessageEntry(od); + }); + }); + unittest.group('obj-schema-GoogleCloudDialogflowV2NotificationConfig', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudDialogflowV2NotificationConfig(); @@ -10123,31 +11195,55 @@ void main() { }); }); - unittest.group('obj-schema-GoogleCloudDialogflowV2SuggestSmartRepliesRequest', - () { + unittest.group( + 'obj-schema-GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest', () { unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudDialogflowV2SuggestSmartRepliesRequest(); + final o = buildGoogleCloudDialogflowV2SuggestKnowledgeAssistRequest(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.GoogleCloudDialogflowV2SuggestSmartRepliesRequest.fromJson( - oJson as core.Map); - checkGoogleCloudDialogflowV2SuggestSmartRepliesRequest(od); + final od = + api.GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowV2SuggestKnowledgeAssistRequest(od); }); }); unittest.group( - 'obj-schema-GoogleCloudDialogflowV2SuggestSmartRepliesResponse', () { + 'obj-schema-GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse', () { unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudDialogflowV2SuggestSmartRepliesResponse(); + final o = buildGoogleCloudDialogflowV2SuggestKnowledgeAssistResponse(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); final od = - api.GoogleCloudDialogflowV2SuggestSmartRepliesResponse.fromJson( + api.GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse.fromJson( oJson as core.Map); - checkGoogleCloudDialogflowV2SuggestSmartRepliesResponse(od); + checkGoogleCloudDialogflowV2SuggestKnowledgeAssistResponse(od); }); }); - unittest.group('obj-schema-GoogleCloudDialogflowV2SuggestionFeature', () { - unittest.test('to-json--from-json', () async { + unittest.group('obj-schema-GoogleCloudDialogflowV2SuggestSmartRepliesRequest', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowV2SuggestSmartRepliesRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowV2SuggestSmartRepliesRequest.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowV2SuggestSmartRepliesRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDialogflowV2SuggestSmartRepliesResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowV2SuggestSmartRepliesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDialogflowV2SuggestSmartRepliesResponse.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowV2SuggestSmartRepliesResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudDialogflowV2SuggestionFeature', () { + unittest.test('to-json--from-json', () async { final o = buildGoogleCloudDialogflowV2SuggestionFeature(); final oJson = convert.jsonDecode(convert.jsonEncode(o)); final od = api.GoogleCloudDialogflowV2SuggestionFeature.fromJson( @@ -10176,6 +11272,59 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudDialogflowV2SummarizationContext', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowV2SummarizationContext(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowV2SummarizationContext.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowV2SummarizationContext(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudDialogflowV2SummarizationSection', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowV2SummarizationSection(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowV2SummarizationSection.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowV2SummarizationSection(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudDialogflowV2SummarizationSectionList', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowV2SummarizationSectionList(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowV2SummarizationSectionList.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowV2SummarizationSectionList(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudDialogflowV2SummarySuggestion', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowV2SummarySuggestion(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDialogflowV2SummarySuggestion.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowV2SummarySuggestion(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDialogflowV2SummarySuggestionSummarySection', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDialogflowV2SummarySuggestionSummarySection(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDialogflowV2SummarySuggestionSummarySection.fromJson( + oJson as core.Map); + checkGoogleCloudDialogflowV2SummarySuggestionSummarySection(od); + }); + }); + unittest.group('obj-schema-GoogleCloudDialogflowV2SynthesizeSpeechConfig', () { unittest.test('to-json--from-json', () async { @@ -17022,6 +18171,72 @@ void main() { response as api.GoogleCloudDialogflowV2SuggestFaqAnswersResponse); }); + unittest.test('method--suggestKnowledgeAssist', () async { + final mock = HttpServerMock(); + final res = api.DialogflowApi(mock) + .projects + .conversations + .participants + .suggestions; + final arg_request = + buildGoogleCloudDialogflowV2SuggestKnowledgeAssistRequest(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest.fromJson( + json as core.Map); + checkGoogleCloudDialogflowV2SuggestKnowledgeAssistRequest(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('v2/'), + ); + 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( + buildGoogleCloudDialogflowV2SuggestKnowledgeAssistResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.suggestKnowledgeAssist(arg_request, arg_parent, + $fields: arg_$fields); + checkGoogleCloudDialogflowV2SuggestKnowledgeAssistResponse(response + as api.GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse); + }); + unittest.test('method--suggestSmartReplies', () async { final mock = HttpServerMock(); final res = api.DialogflowApi(mock) @@ -17213,6 +18428,140 @@ void main() { }); }); + unittest.group('resource-ProjectsGeneratorsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.DialogflowApi(mock).projects.generators; + final arg_request = buildGoogleCloudDialogflowV2Generator(); + final arg_parent = 'foo'; + final arg_generatorId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudDialogflowV2Generator.fromJson( + json as core.Map); + checkGoogleCloudDialogflowV2Generator(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('v2/'), + ); + 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['generatorId']!.first, + unittest.equals(arg_generatorId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleCloudDialogflowV2Generator()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, arg_parent, + generatorId: arg_generatorId, $fields: arg_$fields); + checkGoogleCloudDialogflowV2Generator( + response as api.GoogleCloudDialogflowV2Generator); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.DialogflowApi(mock).projects.generators; + final arg_parent = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + 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('v2/'), + ); + 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( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudDialogflowV2ListGeneratorsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkGoogleCloudDialogflowV2ListGeneratorsResponse( + response as api.GoogleCloudDialogflowV2ListGeneratorsResponse); + }); + }); + unittest.group('resource-ProjectsKnowledgeBasesResource', () { unittest.test('method--create', () async { final mock = HttpServerMock(); @@ -24381,7 +25730,7 @@ void main() { response as api.GoogleCloudDialogflowV2SuggestFaqAnswersResponse); }); - unittest.test('method--suggestSmartReplies', () async { + unittest.test('method--suggestKnowledgeAssist', () async { final mock = HttpServerMock(); final res = api.DialogflowApi(mock) .projects @@ -24390,14 +25739,14 @@ void main() { .participants .suggestions; final arg_request = - buildGoogleCloudDialogflowV2SuggestSmartRepliesRequest(); + buildGoogleCloudDialogflowV2SuggestKnowledgeAssistRequest(); final arg_parent = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = - api.GoogleCloudDialogflowV2SuggestSmartRepliesRequest.fromJson( + api.GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest.fromJson( json as core.Map); - checkGoogleCloudDialogflowV2SuggestSmartRepliesRequest(obj); + checkGoogleCloudDialogflowV2SuggestKnowledgeAssistRequest(obj); final path = req.url.path; var pathOffset = 0; @@ -24438,28 +25787,95 @@ void main() { final h = { 'content-type': 'application/json; charset=utf-8', }; - final resp = convert.json - .encode(buildGoogleCloudDialogflowV2SuggestSmartRepliesResponse()); + final resp = convert.json.encode( + buildGoogleCloudDialogflowV2SuggestKnowledgeAssistResponse()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.suggestSmartReplies(arg_request, arg_parent, + final response = await res.suggestKnowledgeAssist(arg_request, arg_parent, $fields: arg_$fields); - checkGoogleCloudDialogflowV2SuggestSmartRepliesResponse( - response as api.GoogleCloudDialogflowV2SuggestSmartRepliesResponse); + checkGoogleCloudDialogflowV2SuggestKnowledgeAssistResponse(response + as api.GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse); }); - }); - unittest.group('resource-ProjectsLocationsConversationsSuggestionsResource', - () { - unittest.test('method--searchKnowledge', () async { + unittest.test('method--suggestSmartReplies', () async { final mock = HttpServerMock(); - final res = - api.DialogflowApi(mock).projects.locations.conversations.suggestions; - final arg_request = buildGoogleCloudDialogflowV2SearchKnowledgeRequest(); - final arg_conversation = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.GoogleCloudDialogflowV2SearchKnowledgeRequest.fromJson( + final res = api.DialogflowApi(mock) + .projects + .locations + .conversations + .participants + .suggestions; + final arg_request = + buildGoogleCloudDialogflowV2SuggestSmartRepliesRequest(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleCloudDialogflowV2SuggestSmartRepliesRequest.fromJson( + json as core.Map); + checkGoogleCloudDialogflowV2SuggestSmartRepliesRequest(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('v2/'), + ); + 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(buildGoogleCloudDialogflowV2SuggestSmartRepliesResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.suggestSmartReplies(arg_request, arg_parent, + $fields: arg_$fields); + checkGoogleCloudDialogflowV2SuggestSmartRepliesResponse( + response as api.GoogleCloudDialogflowV2SuggestSmartRepliesResponse); + }); + }); + + unittest.group('resource-ProjectsLocationsConversationsSuggestionsResource', + () { + unittest.test('method--searchKnowledge', () async { + final mock = HttpServerMock(); + final res = + api.DialogflowApi(mock).projects.locations.conversations.suggestions; + final arg_request = buildGoogleCloudDialogflowV2SearchKnowledgeRequest(); + final arg_conversation = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudDialogflowV2SearchKnowledgeRequest.fromJson( json as core.Map); checkGoogleCloudDialogflowV2SearchKnowledgeRequest(obj); @@ -24576,6 +25992,311 @@ void main() { }); }); + unittest.group('resource-ProjectsLocationsGeneratorsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.DialogflowApi(mock).projects.locations.generators; + final arg_request = buildGoogleCloudDialogflowV2Generator(); + final arg_parent = 'foo'; + final arg_generatorId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudDialogflowV2Generator.fromJson( + json as core.Map); + checkGoogleCloudDialogflowV2Generator(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('v2/'), + ); + 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['generatorId']!.first, + unittest.equals(arg_generatorId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleCloudDialogflowV2Generator()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, arg_parent, + generatorId: arg_generatorId, $fields: arg_$fields); + checkGoogleCloudDialogflowV2Generator( + response as api.GoogleCloudDialogflowV2Generator); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.DialogflowApi(mock).projects.locations.generators; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + 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('v2/'), + ); + 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(buildGoogleProtobufEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.DialogflowApi(mock).projects.locations.generators; + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + 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('v2/'), + ); + 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(buildGoogleCloudDialogflowV2Generator()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleCloudDialogflowV2Generator( + response as api.GoogleCloudDialogflowV2Generator); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.DialogflowApi(mock).projects.locations.generators; + final arg_parent = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + 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('v2/'), + ); + 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( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudDialogflowV2ListGeneratorsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkGoogleCloudDialogflowV2ListGeneratorsResponse( + response as api.GoogleCloudDialogflowV2ListGeneratorsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.DialogflowApi(mock).projects.locations.generators; + final arg_request = buildGoogleCloudDialogflowV2Generator(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudDialogflowV2Generator.fromJson( + json as core.Map); + checkGoogleCloudDialogflowV2Generator(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('v2/'), + ); + 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['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleCloudDialogflowV2Generator()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleCloudDialogflowV2Generator( + response as api.GoogleCloudDialogflowV2Generator); + }); + }); + unittest.group('resource-ProjectsLocationsKnowledgeBasesResource', () { unittest.test('method--create', () async { final mock = HttpServerMock(); @@ -25559,6 +27280,71 @@ void main() { }); }); + unittest.group('resource-ProjectsLocationsStatelessSuggestionResource', () { + unittest.test('method--generate', () async { + final mock = HttpServerMock(); + final res = + api.DialogflowApi(mock).projects.locations.statelessSuggestion; + final arg_request = + buildGoogleCloudDialogflowV2GenerateStatelessSuggestionRequest(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest + .fromJson(json as core.Map); + checkGoogleCloudDialogflowV2GenerateStatelessSuggestionRequest(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('v2/'), + ); + 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( + buildGoogleCloudDialogflowV2GenerateStatelessSuggestionResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.generate(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleCloudDialogflowV2GenerateStatelessSuggestionResponse(response + as api.GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse); + }); + }); + unittest.group('resource-ProjectsLocationsSuggestionsResource', () { unittest.test('method--generateStatelessSummary', () async { final mock = HttpServerMock(); diff --git a/generated/googleapis/test/dns/v1_test.dart b/generated/googleapis/test/dns/v1_test.dart index f847449d6..4e51ae804 100644 --- a/generated/googleapis/test/dns/v1_test.dart +++ b/generated/googleapis/test/dns/v1_test.dart @@ -107,7 +107,6 @@ api.ChangesListResponse buildChangesListResponse() { buildCounterChangesListResponse++; if (buildCounterChangesListResponse < 3) { o.changes = buildUnnamed2(); - o.header = buildResponseHeader(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -119,7 +118,6 @@ void checkChangesListResponse(api.ChangesListResponse o) { buildCounterChangesListResponse++; if (buildCounterChangesListResponse < 3) { checkUnnamed2(o.changes!); - checkResponseHeader(o.header!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -290,7 +288,6 @@ api.DnsKeysListResponse buildDnsKeysListResponse() { buildCounterDnsKeysListResponse++; if (buildCounterDnsKeysListResponse < 3) { o.dnsKeys = buildUnnamed4(); - o.header = buildResponseHeader(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -302,7 +299,6 @@ void checkDnsKeysListResponse(api.DnsKeysListResponse o) { buildCounterDnsKeysListResponse++; if (buildCounterDnsKeysListResponse < 3) { checkUnnamed4(o.dnsKeys!); - checkResponseHeader(o.header!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -934,7 +930,6 @@ api.ManagedZoneOperationsListResponse buildManagedZoneOperationsListResponse() { final o = api.ManagedZoneOperationsListResponse(); buildCounterManagedZoneOperationsListResponse++; if (buildCounterManagedZoneOperationsListResponse < 3) { - o.header = buildResponseHeader(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.operations = buildUnnamed16(); @@ -947,7 +942,6 @@ void checkManagedZoneOperationsListResponse( api.ManagedZoneOperationsListResponse o) { buildCounterManagedZoneOperationsListResponse++; if (buildCounterManagedZoneOperationsListResponse < 3) { - checkResponseHeader(o.header!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1227,7 +1221,6 @@ api.ManagedZonesListResponse buildManagedZonesListResponse() { final o = api.ManagedZonesListResponse(); buildCounterManagedZonesListResponse++; if (buildCounterManagedZonesListResponse < 3) { - o.header = buildResponseHeader(); o.kind = 'foo'; o.managedZones = buildUnnamed19(); o.nextPageToken = 'foo'; @@ -1239,7 +1232,6 @@ api.ManagedZonesListResponse buildManagedZonesListResponse() { void checkManagedZonesListResponse(api.ManagedZonesListResponse o) { buildCounterManagedZonesListResponse++; if (buildCounterManagedZonesListResponse < 3) { - checkResponseHeader(o.header!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1362,7 +1354,6 @@ api.PoliciesListResponse buildPoliciesListResponse() { final o = api.PoliciesListResponse(); buildCounterPoliciesListResponse++; if (buildCounterPoliciesListResponse < 3) { - o.header = buildResponseHeader(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.policies = buildUnnamed20(); @@ -1374,7 +1365,6 @@ api.PoliciesListResponse buildPoliciesListResponse() { void checkPoliciesListResponse(api.PoliciesListResponse o) { buildCounterPoliciesListResponse++; if (buildCounterPoliciesListResponse < 3) { - checkResponseHeader(o.header!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1393,7 +1383,6 @@ api.PoliciesPatchResponse buildPoliciesPatchResponse() { final o = api.PoliciesPatchResponse(); buildCounterPoliciesPatchResponse++; if (buildCounterPoliciesPatchResponse < 3) { - o.header = buildResponseHeader(); o.policy = buildPolicy(); } buildCounterPoliciesPatchResponse--; @@ -1403,7 +1392,6 @@ api.PoliciesPatchResponse buildPoliciesPatchResponse() { void checkPoliciesPatchResponse(api.PoliciesPatchResponse o) { buildCounterPoliciesPatchResponse++; if (buildCounterPoliciesPatchResponse < 3) { - checkResponseHeader(o.header!); checkPolicy(o.policy!); } buildCounterPoliciesPatchResponse--; @@ -1414,7 +1402,6 @@ api.PoliciesUpdateResponse buildPoliciesUpdateResponse() { final o = api.PoliciesUpdateResponse(); buildCounterPoliciesUpdateResponse++; if (buildCounterPoliciesUpdateResponse < 3) { - o.header = buildResponseHeader(); o.policy = buildPolicy(); } buildCounterPoliciesUpdateResponse--; @@ -1424,7 +1411,6 @@ api.PoliciesUpdateResponse buildPoliciesUpdateResponse() { void checkPoliciesUpdateResponse(api.PoliciesUpdateResponse o) { buildCounterPoliciesUpdateResponse++; if (buildCounterPoliciesUpdateResponse < 3) { - checkResponseHeader(o.header!); checkPolicy(o.policy!); } buildCounterPoliciesUpdateResponse--; @@ -2245,7 +2231,6 @@ api.ResourceRecordSetsListResponse buildResourceRecordSetsListResponse() { final o = api.ResourceRecordSetsListResponse(); buildCounterResourceRecordSetsListResponse++; if (buildCounterResourceRecordSetsListResponse < 3) { - o.header = buildResponseHeader(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.rrsets = buildUnnamed33(); @@ -2257,7 +2242,6 @@ api.ResourceRecordSetsListResponse buildResourceRecordSetsListResponse() { void checkResourceRecordSetsListResponse(api.ResourceRecordSetsListResponse o) { buildCounterResourceRecordSetsListResponse++; if (buildCounterResourceRecordSetsListResponse < 3) { - checkResponseHeader(o.header!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2271,28 +2255,6 @@ void checkResourceRecordSetsListResponse(api.ResourceRecordSetsListResponse o) { buildCounterResourceRecordSetsListResponse--; } -core.int buildCounterResponseHeader = 0; -api.ResponseHeader buildResponseHeader() { - final o = api.ResponseHeader(); - buildCounterResponseHeader++; - if (buildCounterResponseHeader < 3) { - o.operationId = 'foo'; - } - buildCounterResponseHeader--; - return o; -} - -void checkResponseHeader(api.ResponseHeader o) { - buildCounterResponseHeader++; - if (buildCounterResponseHeader < 3) { - unittest.expect( - o.operationId!, - unittest.equals('foo'), - ); - } - buildCounterResponseHeader--; -} - core.List buildUnnamed34() => [ buildResponsePolicy(), buildResponsePolicy(), @@ -2309,7 +2271,6 @@ api.ResponsePoliciesListResponse buildResponsePoliciesListResponse() { final o = api.ResponsePoliciesListResponse(); buildCounterResponsePoliciesListResponse++; if (buildCounterResponsePoliciesListResponse < 3) { - o.header = buildResponseHeader(); o.nextPageToken = 'foo'; o.responsePolicies = buildUnnamed34(); } @@ -2320,7 +2281,6 @@ api.ResponsePoliciesListResponse buildResponsePoliciesListResponse() { void checkResponsePoliciesListResponse(api.ResponsePoliciesListResponse o) { buildCounterResponsePoliciesListResponse++; if (buildCounterResponsePoliciesListResponse < 3) { - checkResponseHeader(o.header!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2335,7 +2295,6 @@ api.ResponsePoliciesPatchResponse buildResponsePoliciesPatchResponse() { final o = api.ResponsePoliciesPatchResponse(); buildCounterResponsePoliciesPatchResponse++; if (buildCounterResponsePoliciesPatchResponse < 3) { - o.header = buildResponseHeader(); o.responsePolicy = buildResponsePolicy(); } buildCounterResponsePoliciesPatchResponse--; @@ -2345,7 +2304,6 @@ api.ResponsePoliciesPatchResponse buildResponsePoliciesPatchResponse() { void checkResponsePoliciesPatchResponse(api.ResponsePoliciesPatchResponse o) { buildCounterResponsePoliciesPatchResponse++; if (buildCounterResponsePoliciesPatchResponse < 3) { - checkResponseHeader(o.header!); checkResponsePolicy(o.responsePolicy!); } buildCounterResponsePoliciesPatchResponse--; @@ -2356,7 +2314,6 @@ api.ResponsePoliciesUpdateResponse buildResponsePoliciesUpdateResponse() { final o = api.ResponsePoliciesUpdateResponse(); buildCounterResponsePoliciesUpdateResponse++; if (buildCounterResponsePoliciesUpdateResponse < 3) { - o.header = buildResponseHeader(); o.responsePolicy = buildResponsePolicy(); } buildCounterResponsePoliciesUpdateResponse--; @@ -2366,7 +2323,6 @@ api.ResponsePoliciesUpdateResponse buildResponsePoliciesUpdateResponse() { void checkResponsePoliciesUpdateResponse(api.ResponsePoliciesUpdateResponse o) { buildCounterResponsePoliciesUpdateResponse++; if (buildCounterResponsePoliciesUpdateResponse < 3) { - checkResponseHeader(o.header!); checkResponsePolicy(o.responsePolicy!); } buildCounterResponsePoliciesUpdateResponse--; @@ -2593,7 +2549,6 @@ api.ResponsePolicyRulesListResponse buildResponsePolicyRulesListResponse() { final o = api.ResponsePolicyRulesListResponse(); buildCounterResponsePolicyRulesListResponse++; if (buildCounterResponsePolicyRulesListResponse < 3) { - o.header = buildResponseHeader(); o.nextPageToken = 'foo'; o.responsePolicyRules = buildUnnamed39(); } @@ -2605,7 +2560,6 @@ void checkResponsePolicyRulesListResponse( api.ResponsePolicyRulesListResponse o) { buildCounterResponsePolicyRulesListResponse++; if (buildCounterResponsePolicyRulesListResponse < 3) { - checkResponseHeader(o.header!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2620,7 +2574,6 @@ api.ResponsePolicyRulesPatchResponse buildResponsePolicyRulesPatchResponse() { final o = api.ResponsePolicyRulesPatchResponse(); buildCounterResponsePolicyRulesPatchResponse++; if (buildCounterResponsePolicyRulesPatchResponse < 3) { - o.header = buildResponseHeader(); o.responsePolicyRule = buildResponsePolicyRule(); } buildCounterResponsePolicyRulesPatchResponse--; @@ -2631,7 +2584,6 @@ void checkResponsePolicyRulesPatchResponse( api.ResponsePolicyRulesPatchResponse o) { buildCounterResponsePolicyRulesPatchResponse++; if (buildCounterResponsePolicyRulesPatchResponse < 3) { - checkResponseHeader(o.header!); checkResponsePolicyRule(o.responsePolicyRule!); } buildCounterResponsePolicyRulesPatchResponse--; @@ -2642,7 +2594,6 @@ api.ResponsePolicyRulesUpdateResponse buildResponsePolicyRulesUpdateResponse() { final o = api.ResponsePolicyRulesUpdateResponse(); buildCounterResponsePolicyRulesUpdateResponse++; if (buildCounterResponsePolicyRulesUpdateResponse < 3) { - o.header = buildResponseHeader(); o.responsePolicyRule = buildResponsePolicyRule(); } buildCounterResponsePolicyRulesUpdateResponse--; @@ -2653,7 +2604,6 @@ void checkResponsePolicyRulesUpdateResponse( api.ResponsePolicyRulesUpdateResponse o) { buildCounterResponsePolicyRulesUpdateResponse++; if (buildCounterResponsePolicyRulesUpdateResponse < 3) { - checkResponseHeader(o.header!); checkResponsePolicyRule(o.responsePolicyRule!); } buildCounterResponsePolicyRulesUpdateResponse--; @@ -3201,16 +3151,6 @@ void main() { }); }); - unittest.group('obj-schema-ResponseHeader', () { - unittest.test('to-json--from-json', () async { - final o = buildResponseHeader(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.ResponseHeader.fromJson( - oJson as core.Map); - checkResponseHeader(od); - }); - }); - unittest.group('obj-schema-ResponsePoliciesListResponse', () { unittest.test('to-json--from-json', () async { final o = buildResponsePoliciesListResponse(); diff --git a/generated/googleapis/test/documentai/v1_test.dart b/generated/googleapis/test/documentai/v1_test.dart index 1fb24829e..f3512c635 100644 --- a/generated/googleapis/test/documentai/v1_test.dart +++ b/generated/googleapis/test/documentai/v1_test.dart @@ -278,7 +278,9 @@ api.GoogleCloudDocumentaiV1Document buildGoogleCloudDocumentaiV1Document() { final o = api.GoogleCloudDocumentaiV1Document(); buildCounterGoogleCloudDocumentaiV1Document++; if (buildCounterGoogleCloudDocumentaiV1Document < 3) { + o.chunkedDocument = buildGoogleCloudDocumentaiV1DocumentChunkedDocument(); o.content = 'foo'; + o.documentLayout = buildGoogleCloudDocumentaiV1DocumentDocumentLayout(); o.entities = buildUnnamed3(); o.entityRelations = buildUnnamed4(); o.error = buildGoogleRpcStatus(); @@ -299,10 +301,12 @@ void checkGoogleCloudDocumentaiV1Document( api.GoogleCloudDocumentaiV1Document o) { buildCounterGoogleCloudDocumentaiV1Document++; if (buildCounterGoogleCloudDocumentaiV1Document < 3) { + checkGoogleCloudDocumentaiV1DocumentChunkedDocument(o.chunkedDocument!); unittest.expect( o.content!, unittest.equals('foo'), ); + checkGoogleCloudDocumentaiV1DocumentDocumentLayout(o.documentLayout!); checkUnnamed3(o.entities!); checkUnnamed4(o.entityRelations!); checkGoogleRpcStatus(o.error!); @@ -327,12 +331,675 @@ void checkGoogleCloudDocumentaiV1Document( buildCounterGoogleCloudDocumentaiV1Document--; } -core.List buildUnnamed9() => [ +core.List + buildUnnamed9() => [ + buildGoogleCloudDocumentaiV1DocumentChunkedDocumentChunk(), + buildGoogleCloudDocumentaiV1DocumentChunkedDocumentChunk(), + ]; + +void checkUnnamed9( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDocumentaiV1DocumentChunkedDocumentChunk(o[0]); + checkGoogleCloudDocumentaiV1DocumentChunkedDocumentChunk(o[1]); +} + +core.int buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocument = 0; +api.GoogleCloudDocumentaiV1DocumentChunkedDocument + buildGoogleCloudDocumentaiV1DocumentChunkedDocument() { + final o = api.GoogleCloudDocumentaiV1DocumentChunkedDocument(); + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocument++; + if (buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocument < 3) { + o.chunks = buildUnnamed9(); + } + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocument--; + return o; +} + +void checkGoogleCloudDocumentaiV1DocumentChunkedDocument( + api.GoogleCloudDocumentaiV1DocumentChunkedDocument o) { + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocument++; + if (buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocument < 3) { + checkUnnamed9(o.chunks!); + } + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocument--; +} + +core.List< + api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter> + buildUnnamed10() => [ + buildGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter(), + buildGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter(), + ]; + +void checkUnnamed10( + core.List< + api + .GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter> + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter(o[0]); + checkGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter(o[1]); +} + +core.List< + api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader> + buildUnnamed11() => [ + buildGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader(), + buildGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader(), + ]; + +void checkUnnamed11( + core.List< + api + .GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader> + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader(o[0]); + checkGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader(o[1]); +} + +core.List buildUnnamed12() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed12(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunk = 0; +api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk + buildGoogleCloudDocumentaiV1DocumentChunkedDocumentChunk() { + final o = api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk(); + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunk++; + if (buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunk < 3) { + o.chunkId = 'foo'; + o.content = 'foo'; + o.pageFooters = buildUnnamed10(); + o.pageHeaders = buildUnnamed11(); + o.pageSpan = + buildGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan(); + o.sourceBlockIds = buildUnnamed12(); + } + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunk--; + return o; +} + +void checkGoogleCloudDocumentaiV1DocumentChunkedDocumentChunk( + api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk o) { + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunk++; + if (buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunk < 3) { + unittest.expect( + o.chunkId!, + unittest.equals('foo'), + ); + unittest.expect( + o.content!, + unittest.equals('foo'), + ); + checkUnnamed10(o.pageFooters!); + checkUnnamed11(o.pageHeaders!); + checkGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan( + o.pageSpan!); + checkUnnamed12(o.sourceBlockIds!); + } + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunk--; +} + +core.int + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter = + 0; +api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter + buildGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter() { + final o = + api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter(); + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter++; + if (buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter < + 3) { + o.pageSpan = + buildGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan(); + o.text = 'foo'; + } + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter--; + return o; +} + +void checkGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter( + api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter o) { + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter++; + if (buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter < + 3) { + checkGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan( + o.pageSpan!); + unittest.expect( + o.text!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter--; +} + +core.int + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader = + 0; +api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader + buildGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader() { + final o = + api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader(); + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader++; + if (buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader < + 3) { + o.pageSpan = + buildGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan(); + o.text = 'foo'; + } + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader--; + return o; +} + +void checkGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader( + api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader o) { + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader++; + if (buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader < + 3) { + checkGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan( + o.pageSpan!); + unittest.expect( + o.text!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader--; +} + +core.int + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan = + 0; +api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan + buildGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan() { + final o = + api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan(); + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan++; + if (buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan < + 3) { + o.pageEnd = 42; + o.pageStart = 42; + } + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan--; + return o; +} + +void checkGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan( + api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan o) { + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan++; + if (buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan < + 3) { + unittest.expect( + o.pageEnd!, + unittest.equals(42), + ); + unittest.expect( + o.pageStart!, + unittest.equals(42), + ); + } + buildCounterGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan--; +} + +core.List + buildUnnamed13() => [ + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(), + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(), + ]; + +void checkUnnamed13( + core.List< + api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock> + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(o[0]); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(o[1]); +} + +core.int buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayout = 0; +api.GoogleCloudDocumentaiV1DocumentDocumentLayout + buildGoogleCloudDocumentaiV1DocumentDocumentLayout() { + final o = api.GoogleCloudDocumentaiV1DocumentDocumentLayout(); + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayout++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayout < 3) { + o.blocks = buildUnnamed13(); + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayout--; + return o; +} + +void checkGoogleCloudDocumentaiV1DocumentDocumentLayout( + api.GoogleCloudDocumentaiV1DocumentDocumentLayout o) { + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayout++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayout < 3) { + checkUnnamed13(o.blocks!); + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayout--; +} + +core.int + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock = + 0; +api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock() { + final o = + api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(); + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock < + 3) { + o.blockId = 'foo'; + o.listBlock = + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock(); + o.pageSpan = + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan(); + o.tableBlock = + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock(); + o.textBlock = + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock(); + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock--; + return o; +} + +void checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock( + api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock o) { + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock < + 3) { + unittest.expect( + o.blockId!, + unittest.equals('foo'), + ); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock( + o.listBlock!); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan( + o.pageSpan!); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock( + o.tableBlock!); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock( + o.textBlock!); + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock--; +} + +core.List< + api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry> + buildUnnamed14() => [ + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry(), + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry(), + ]; + +void checkUnnamed14( + core.List< + api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry> + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry( + o[0]); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry( + o[1]); +} + +core.int + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock = + 0; +api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock() { + final o = api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock(); + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock < + 3) { + o.listEntries = buildUnnamed14(); + o.type = 'foo'; + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock--; + return o; +} + +void checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock( + api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock + o) { + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock < + 3) { + checkUnnamed14(o.listEntries!); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock--; +} + +core.List + buildUnnamed15() => [ + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(), + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(), + ]; + +void checkUnnamed15( + core.List< + api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock> + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(o[0]); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(o[1]); +} + +core.int + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry = + 0; +api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry() { + final o = api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry(); + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry < + 3) { + o.blocks = buildUnnamed15(); + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry--; + return o; +} + +void checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry( + api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry + o) { + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry < + 3) { + checkUnnamed15(o.blocks!); + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry--; +} + +core.int + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan = + 0; +api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan() { + final o = api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan(); + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan < + 3) { + o.pageEnd = 42; + o.pageStart = 42; + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan--; + return o; +} + +void checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan( + api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan + o) { + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan < + 3) { + unittest.expect( + o.pageEnd!, + unittest.equals(42), + ); + unittest.expect( + o.pageStart!, + unittest.equals(42), + ); + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan--; +} + +core.List< + api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow> + buildUnnamed16() => [ + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow(), + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow(), + ]; + +void checkUnnamed16( + core.List< + api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow> + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow( + o[0]); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow( + o[1]); +} + +core.List< + api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow> + buildUnnamed17() => [ + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow(), + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow(), + ]; + +void checkUnnamed17( + core.List< + api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow> + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow( + o[0]); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow( + o[1]); +} + +core.int + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock = + 0; +api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock() { + final o = api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock(); + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock < + 3) { + o.bodyRows = buildUnnamed16(); + o.caption = 'foo'; + o.headerRows = buildUnnamed17(); + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock--; + return o; +} + +void checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock( + api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock + o) { + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock < + 3) { + checkUnnamed16(o.bodyRows!); + unittest.expect( + o.caption!, + unittest.equals('foo'), + ); + checkUnnamed17(o.headerRows!); + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock--; +} + +core.List + buildUnnamed18() => [ + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(), + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(), + ]; + +void checkUnnamed18( + core.List< + api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock> + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(o[0]); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(o[1]); +} + +core.int + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell = + 0; +api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell() { + final o = api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell(); + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell < + 3) { + o.blocks = buildUnnamed18(); + o.colSpan = 42; + o.rowSpan = 42; + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell--; + return o; +} + +void checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell( + api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell + o) { + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell < + 3) { + checkUnnamed18(o.blocks!); + unittest.expect( + o.colSpan!, + unittest.equals(42), + ); + unittest.expect( + o.rowSpan!, + unittest.equals(42), + ); + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell--; +} + +core.List< + api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell> + buildUnnamed19() => [ + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell(), + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell(), + ]; + +void checkUnnamed19( + core.List< + api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell> + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell( + o[0]); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell( + o[1]); +} + +core.int + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow = + 0; +api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow() { + final o = api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow(); + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow < + 3) { + o.cells = buildUnnamed19(); + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow--; + return o; +} + +void checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow( + api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow + o) { + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow < + 3) { + checkUnnamed19(o.cells!); + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow--; +} + +core.List + buildUnnamed20() => [ + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(), + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(), + ]; + +void checkUnnamed20( + core.List< + api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock> + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(o[0]); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(o[1]); +} + +core.int + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock = + 0; +api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock() { + final o = api + .GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock(); + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock < + 3) { + o.blocks = buildUnnamed20(); + o.text = 'foo'; + o.type = 'foo'; + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock--; + return o; +} + +void checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock( + api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock + o) { + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock++; + if (buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock < + 3) { + checkUnnamed20(o.blocks!); + unittest.expect( + o.text!, + unittest.equals('foo'), + ); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock--; +} + +core.List buildUnnamed21() => [ buildGoogleCloudDocumentaiV1DocumentEntity(), buildGoogleCloudDocumentaiV1DocumentEntity(), ]; -void checkUnnamed9(core.List o) { +void checkUnnamed21(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentEntity(o[0]); checkGoogleCloudDocumentaiV1DocumentEntity(o[1]); @@ -351,7 +1018,7 @@ api.GoogleCloudDocumentaiV1DocumentEntity o.normalizedValue = buildGoogleCloudDocumentaiV1DocumentEntityNormalizedValue(); o.pageAnchor = buildGoogleCloudDocumentaiV1DocumentPageAnchor(); - o.properties = buildUnnamed9(); + o.properties = buildUnnamed21(); o.provenance = buildGoogleCloudDocumentaiV1DocumentProvenance(); o.redacted = true; o.textAnchor = buildGoogleCloudDocumentaiV1DocumentTextAnchor(); @@ -384,7 +1051,7 @@ void checkGoogleCloudDocumentaiV1DocumentEntity( checkGoogleCloudDocumentaiV1DocumentEntityNormalizedValue( o.normalizedValue!); checkGoogleCloudDocumentaiV1DocumentPageAnchor(o.pageAnchor!); - checkUnnamed9(o.properties!); + checkUnnamed21(o.properties!); checkGoogleCloudDocumentaiV1DocumentProvenance(o.provenance!); unittest.expect(o.redacted!, unittest.isTrue); checkGoogleCloudDocumentaiV1DocumentTextAnchor(o.textAnchor!); @@ -568,24 +1235,24 @@ void checkGoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConf buildCounterGoogleCloudDocumentaiV1DocumentOutputConfigGcsOutputConfigShardingConfig--; } -core.List buildUnnamed10() => [ +core.List buildUnnamed22() => [ buildGoogleCloudDocumentaiV1DocumentPageBlock(), buildGoogleCloudDocumentaiV1DocumentPageBlock(), ]; -void checkUnnamed10(core.List o) { +void checkUnnamed22(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageBlock(o[0]); checkGoogleCloudDocumentaiV1DocumentPageBlock(o[1]); } core.List - buildUnnamed11() => [ + buildUnnamed23() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedBarcode(), buildGoogleCloudDocumentaiV1DocumentPageDetectedBarcode(), ]; -void checkUnnamed11( +void checkUnnamed23( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedBarcode(o[0]); @@ -593,95 +1260,95 @@ void checkUnnamed11( } core.List - buildUnnamed12() => [ + buildUnnamed24() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed12( +void checkUnnamed24( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[1]); } -core.List buildUnnamed13() => +core.List buildUnnamed25() => [ buildGoogleCloudDocumentaiV1DocumentPageFormField(), buildGoogleCloudDocumentaiV1DocumentPageFormField(), ]; -void checkUnnamed13( +void checkUnnamed25( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageFormField(o[0]); checkGoogleCloudDocumentaiV1DocumentPageFormField(o[1]); } -core.List buildUnnamed14() => [ +core.List buildUnnamed26() => [ buildGoogleCloudDocumentaiV1DocumentPageLine(), buildGoogleCloudDocumentaiV1DocumentPageLine(), ]; -void checkUnnamed14(core.List o) { +void checkUnnamed26(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageLine(o[0]); checkGoogleCloudDocumentaiV1DocumentPageLine(o[1]); } -core.List buildUnnamed15() => +core.List buildUnnamed27() => [ buildGoogleCloudDocumentaiV1DocumentPageParagraph(), buildGoogleCloudDocumentaiV1DocumentPageParagraph(), ]; -void checkUnnamed15( +void checkUnnamed27( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageParagraph(o[0]); checkGoogleCloudDocumentaiV1DocumentPageParagraph(o[1]); } -core.List buildUnnamed16() => [ +core.List buildUnnamed28() => [ buildGoogleCloudDocumentaiV1DocumentPageSymbol(), buildGoogleCloudDocumentaiV1DocumentPageSymbol(), ]; -void checkUnnamed16( +void checkUnnamed28( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageSymbol(o[0]); checkGoogleCloudDocumentaiV1DocumentPageSymbol(o[1]); } -core.List buildUnnamed17() => [ +core.List buildUnnamed29() => [ buildGoogleCloudDocumentaiV1DocumentPageTable(), buildGoogleCloudDocumentaiV1DocumentPageTable(), ]; -void checkUnnamed17(core.List o) { +void checkUnnamed29(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageTable(o[0]); checkGoogleCloudDocumentaiV1DocumentPageTable(o[1]); } -core.List buildUnnamed18() => [ +core.List buildUnnamed30() => [ buildGoogleCloudDocumentaiV1DocumentPageToken(), buildGoogleCloudDocumentaiV1DocumentPageToken(), ]; -void checkUnnamed18(core.List o) { +void checkUnnamed30(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageToken(o[0]); checkGoogleCloudDocumentaiV1DocumentPageToken(o[1]); } -core.List buildUnnamed19() => [ +core.List buildUnnamed31() => [ buildGoogleCloudDocumentaiV1DocumentPageMatrix(), buildGoogleCloudDocumentaiV1DocumentPageMatrix(), ]; -void checkUnnamed19( +void checkUnnamed31( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageMatrix(o[0]); @@ -689,12 +1356,12 @@ void checkUnnamed19( } core.List - buildUnnamed20() => [ + buildUnnamed32() => [ buildGoogleCloudDocumentaiV1DocumentPageVisualElement(), buildGoogleCloudDocumentaiV1DocumentPageVisualElement(), ]; -void checkUnnamed20( +void checkUnnamed32( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageVisualElement(o[0]); @@ -707,24 +1374,24 @@ api.GoogleCloudDocumentaiV1DocumentPage final o = api.GoogleCloudDocumentaiV1DocumentPage(); buildCounterGoogleCloudDocumentaiV1DocumentPage++; if (buildCounterGoogleCloudDocumentaiV1DocumentPage < 3) { - o.blocks = buildUnnamed10(); - o.detectedBarcodes = buildUnnamed11(); - o.detectedLanguages = buildUnnamed12(); + o.blocks = buildUnnamed22(); + o.detectedBarcodes = buildUnnamed23(); + o.detectedLanguages = buildUnnamed24(); o.dimension = buildGoogleCloudDocumentaiV1DocumentPageDimension(); - o.formFields = buildUnnamed13(); + o.formFields = buildUnnamed25(); o.image = buildGoogleCloudDocumentaiV1DocumentPageImage(); o.imageQualityScores = buildGoogleCloudDocumentaiV1DocumentPageImageQualityScores(); o.layout = buildGoogleCloudDocumentaiV1DocumentPageLayout(); - o.lines = buildUnnamed14(); + o.lines = buildUnnamed26(); o.pageNumber = 42; - o.paragraphs = buildUnnamed15(); + o.paragraphs = buildUnnamed27(); o.provenance = buildGoogleCloudDocumentaiV1DocumentProvenance(); - o.symbols = buildUnnamed16(); - o.tables = buildUnnamed17(); - o.tokens = buildUnnamed18(); - o.transforms = buildUnnamed19(); - o.visualElements = buildUnnamed20(); + o.symbols = buildUnnamed28(); + o.tables = buildUnnamed29(); + o.tokens = buildUnnamed30(); + o.transforms = buildUnnamed31(); + o.visualElements = buildUnnamed32(); } buildCounterGoogleCloudDocumentaiV1DocumentPage--; return o; @@ -734,38 +1401,38 @@ void checkGoogleCloudDocumentaiV1DocumentPage( api.GoogleCloudDocumentaiV1DocumentPage o) { buildCounterGoogleCloudDocumentaiV1DocumentPage++; if (buildCounterGoogleCloudDocumentaiV1DocumentPage < 3) { - checkUnnamed10(o.blocks!); - checkUnnamed11(o.detectedBarcodes!); - checkUnnamed12(o.detectedLanguages!); + checkUnnamed22(o.blocks!); + checkUnnamed23(o.detectedBarcodes!); + checkUnnamed24(o.detectedLanguages!); checkGoogleCloudDocumentaiV1DocumentPageDimension(o.dimension!); - checkUnnamed13(o.formFields!); + checkUnnamed25(o.formFields!); checkGoogleCloudDocumentaiV1DocumentPageImage(o.image!); checkGoogleCloudDocumentaiV1DocumentPageImageQualityScores( o.imageQualityScores!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.layout!); - checkUnnamed14(o.lines!); + checkUnnamed26(o.lines!); unittest.expect( o.pageNumber!, unittest.equals(42), ); - checkUnnamed15(o.paragraphs!); + checkUnnamed27(o.paragraphs!); checkGoogleCloudDocumentaiV1DocumentProvenance(o.provenance!); - checkUnnamed16(o.symbols!); - checkUnnamed17(o.tables!); - checkUnnamed18(o.tokens!); - checkUnnamed19(o.transforms!); - checkUnnamed20(o.visualElements!); + checkUnnamed28(o.symbols!); + checkUnnamed29(o.tables!); + checkUnnamed30(o.tokens!); + checkUnnamed31(o.transforms!); + checkUnnamed32(o.visualElements!); } buildCounterGoogleCloudDocumentaiV1DocumentPage--; } core.List - buildUnnamed21() => [ + buildUnnamed33() => [ buildGoogleCloudDocumentaiV1DocumentPageAnchorPageRef(), buildGoogleCloudDocumentaiV1DocumentPageAnchorPageRef(), ]; -void checkUnnamed21( +void checkUnnamed33( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageAnchorPageRef(o[0]); @@ -778,7 +1445,7 @@ api.GoogleCloudDocumentaiV1DocumentPageAnchor final o = api.GoogleCloudDocumentaiV1DocumentPageAnchor(); buildCounterGoogleCloudDocumentaiV1DocumentPageAnchor++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageAnchor < 3) { - o.pageRefs = buildUnnamed21(); + o.pageRefs = buildUnnamed33(); } buildCounterGoogleCloudDocumentaiV1DocumentPageAnchor--; return o; @@ -788,7 +1455,7 @@ void checkGoogleCloudDocumentaiV1DocumentPageAnchor( api.GoogleCloudDocumentaiV1DocumentPageAnchor o) { buildCounterGoogleCloudDocumentaiV1DocumentPageAnchor++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageAnchor < 3) { - checkUnnamed21(o.pageRefs!); + checkUnnamed33(o.pageRefs!); } buildCounterGoogleCloudDocumentaiV1DocumentPageAnchor--; } @@ -835,12 +1502,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageAnchorPageRef( } core.List - buildUnnamed22() => [ + buildUnnamed34() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed22( +void checkUnnamed34( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -853,7 +1520,7 @@ api.GoogleCloudDocumentaiV1DocumentPageBlock final o = api.GoogleCloudDocumentaiV1DocumentPageBlock(); buildCounterGoogleCloudDocumentaiV1DocumentPageBlock++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageBlock < 3) { - o.detectedLanguages = buildUnnamed22(); + o.detectedLanguages = buildUnnamed34(); o.layout = buildGoogleCloudDocumentaiV1DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1DocumentProvenance(); } @@ -865,7 +1532,7 @@ void checkGoogleCloudDocumentaiV1DocumentPageBlock( api.GoogleCloudDocumentaiV1DocumentPageBlock o) { buildCounterGoogleCloudDocumentaiV1DocumentPageBlock++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageBlock < 3) { - checkUnnamed22(o.detectedLanguages!); + checkUnnamed34(o.detectedLanguages!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1DocumentProvenance(o.provenance!); } @@ -959,12 +1626,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageDimension( } core.List - buildUnnamed23() => [ + buildUnnamed35() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed23( +void checkUnnamed35( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -972,12 +1639,12 @@ void checkUnnamed23( } core.List - buildUnnamed24() => [ + buildUnnamed36() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed24( +void checkUnnamed36( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -994,9 +1661,9 @@ api.GoogleCloudDocumentaiV1DocumentPageFormField o.correctedValueText = 'foo'; o.fieldName = buildGoogleCloudDocumentaiV1DocumentPageLayout(); o.fieldValue = buildGoogleCloudDocumentaiV1DocumentPageLayout(); - o.nameDetectedLanguages = buildUnnamed23(); + o.nameDetectedLanguages = buildUnnamed35(); o.provenance = buildGoogleCloudDocumentaiV1DocumentProvenance(); - o.valueDetectedLanguages = buildUnnamed24(); + o.valueDetectedLanguages = buildUnnamed36(); o.valueType = 'foo'; } buildCounterGoogleCloudDocumentaiV1DocumentPageFormField--; @@ -1017,9 +1684,9 @@ void checkGoogleCloudDocumentaiV1DocumentPageFormField( ); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.fieldName!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.fieldValue!); - checkUnnamed23(o.nameDetectedLanguages!); + checkUnnamed35(o.nameDetectedLanguages!); checkGoogleCloudDocumentaiV1DocumentProvenance(o.provenance!); - checkUnnamed24(o.valueDetectedLanguages!); + checkUnnamed36(o.valueDetectedLanguages!); unittest.expect( o.valueType!, unittest.equals('foo'), @@ -1069,12 +1736,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageImage( core.List< api.GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect> - buildUnnamed25() => [ + buildUnnamed37() => [ buildGoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect(), buildGoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect(), ]; -void checkUnnamed25( +void checkUnnamed37( core.List< api .GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect> @@ -1092,7 +1759,7 @@ api.GoogleCloudDocumentaiV1DocumentPageImageQualityScores final o = api.GoogleCloudDocumentaiV1DocumentPageImageQualityScores(); buildCounterGoogleCloudDocumentaiV1DocumentPageImageQualityScores++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageImageQualityScores < 3) { - o.detectedDefects = buildUnnamed25(); + o.detectedDefects = buildUnnamed37(); o.qualityScore = 42.0; } buildCounterGoogleCloudDocumentaiV1DocumentPageImageQualityScores--; @@ -1103,7 +1770,7 @@ void checkGoogleCloudDocumentaiV1DocumentPageImageQualityScores( api.GoogleCloudDocumentaiV1DocumentPageImageQualityScores o) { buildCounterGoogleCloudDocumentaiV1DocumentPageImageQualityScores++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageImageQualityScores < 3) { - checkUnnamed25(o.detectedDefects!); + checkUnnamed37(o.detectedDefects!); unittest.expect( o.qualityScore!, unittest.equals(42.0), @@ -1180,12 +1847,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageLayout( } core.List - buildUnnamed26() => [ + buildUnnamed38() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed26( +void checkUnnamed38( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -1198,7 +1865,7 @@ api.GoogleCloudDocumentaiV1DocumentPageLine final o = api.GoogleCloudDocumentaiV1DocumentPageLine(); buildCounterGoogleCloudDocumentaiV1DocumentPageLine++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageLine < 3) { - o.detectedLanguages = buildUnnamed26(); + o.detectedLanguages = buildUnnamed38(); o.layout = buildGoogleCloudDocumentaiV1DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1DocumentProvenance(); } @@ -1210,7 +1877,7 @@ void checkGoogleCloudDocumentaiV1DocumentPageLine( api.GoogleCloudDocumentaiV1DocumentPageLine o) { buildCounterGoogleCloudDocumentaiV1DocumentPageLine++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageLine < 3) { - checkUnnamed26(o.detectedLanguages!); + checkUnnamed38(o.detectedLanguages!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1DocumentProvenance(o.provenance!); } @@ -1257,12 +1924,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageMatrix( } core.List - buildUnnamed27() => [ + buildUnnamed39() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed27( +void checkUnnamed39( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -1275,7 +1942,7 @@ api.GoogleCloudDocumentaiV1DocumentPageParagraph final o = api.GoogleCloudDocumentaiV1DocumentPageParagraph(); buildCounterGoogleCloudDocumentaiV1DocumentPageParagraph++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageParagraph < 3) { - o.detectedLanguages = buildUnnamed27(); + o.detectedLanguages = buildUnnamed39(); o.layout = buildGoogleCloudDocumentaiV1DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1DocumentProvenance(); } @@ -1287,7 +1954,7 @@ void checkGoogleCloudDocumentaiV1DocumentPageParagraph( api.GoogleCloudDocumentaiV1DocumentPageParagraph o) { buildCounterGoogleCloudDocumentaiV1DocumentPageParagraph++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageParagraph < 3) { - checkUnnamed27(o.detectedLanguages!); + checkUnnamed39(o.detectedLanguages!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1DocumentProvenance(o.provenance!); } @@ -1295,12 +1962,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageParagraph( } core.List - buildUnnamed28() => [ + buildUnnamed40() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed28( +void checkUnnamed40( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -1313,7 +1980,7 @@ api.GoogleCloudDocumentaiV1DocumentPageSymbol final o = api.GoogleCloudDocumentaiV1DocumentPageSymbol(); buildCounterGoogleCloudDocumentaiV1DocumentPageSymbol++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageSymbol < 3) { - o.detectedLanguages = buildUnnamed28(); + o.detectedLanguages = buildUnnamed40(); o.layout = buildGoogleCloudDocumentaiV1DocumentPageLayout(); } buildCounterGoogleCloudDocumentaiV1DocumentPageSymbol--; @@ -1324,19 +1991,19 @@ void checkGoogleCloudDocumentaiV1DocumentPageSymbol( api.GoogleCloudDocumentaiV1DocumentPageSymbol o) { buildCounterGoogleCloudDocumentaiV1DocumentPageSymbol++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageSymbol < 3) { - checkUnnamed28(o.detectedLanguages!); + checkUnnamed40(o.detectedLanguages!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.layout!); } buildCounterGoogleCloudDocumentaiV1DocumentPageSymbol--; } core.List - buildUnnamed29() => [ + buildUnnamed41() => [ buildGoogleCloudDocumentaiV1DocumentPageTableTableRow(), buildGoogleCloudDocumentaiV1DocumentPageTableTableRow(), ]; -void checkUnnamed29( +void checkUnnamed41( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageTableTableRow(o[0]); @@ -1344,12 +2011,12 @@ void checkUnnamed29( } core.List - buildUnnamed30() => [ + buildUnnamed42() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed30( +void checkUnnamed42( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -1357,12 +2024,12 @@ void checkUnnamed30( } core.List - buildUnnamed31() => [ + buildUnnamed43() => [ buildGoogleCloudDocumentaiV1DocumentPageTableTableRow(), buildGoogleCloudDocumentaiV1DocumentPageTableTableRow(), ]; -void checkUnnamed31( +void checkUnnamed43( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageTableTableRow(o[0]); @@ -1375,9 +2042,9 @@ api.GoogleCloudDocumentaiV1DocumentPageTable final o = api.GoogleCloudDocumentaiV1DocumentPageTable(); buildCounterGoogleCloudDocumentaiV1DocumentPageTable++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageTable < 3) { - o.bodyRows = buildUnnamed29(); - o.detectedLanguages = buildUnnamed30(); - o.headerRows = buildUnnamed31(); + o.bodyRows = buildUnnamed41(); + o.detectedLanguages = buildUnnamed42(); + o.headerRows = buildUnnamed43(); o.layout = buildGoogleCloudDocumentaiV1DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1DocumentProvenance(); } @@ -1389,9 +2056,9 @@ void checkGoogleCloudDocumentaiV1DocumentPageTable( api.GoogleCloudDocumentaiV1DocumentPageTable o) { buildCounterGoogleCloudDocumentaiV1DocumentPageTable++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageTable < 3) { - checkUnnamed29(o.bodyRows!); - checkUnnamed30(o.detectedLanguages!); - checkUnnamed31(o.headerRows!); + checkUnnamed41(o.bodyRows!); + checkUnnamed42(o.detectedLanguages!); + checkUnnamed43(o.headerRows!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1DocumentProvenance(o.provenance!); } @@ -1399,12 +2066,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageTable( } core.List - buildUnnamed32() => [ + buildUnnamed44() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed32( +void checkUnnamed44( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -1418,7 +2085,7 @@ api.GoogleCloudDocumentaiV1DocumentPageTableTableCell buildCounterGoogleCloudDocumentaiV1DocumentPageTableTableCell++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageTableTableCell < 3) { o.colSpan = 42; - o.detectedLanguages = buildUnnamed32(); + o.detectedLanguages = buildUnnamed44(); o.layout = buildGoogleCloudDocumentaiV1DocumentPageLayout(); o.rowSpan = 42; } @@ -1434,7 +2101,7 @@ void checkGoogleCloudDocumentaiV1DocumentPageTableTableCell( o.colSpan!, unittest.equals(42), ); - checkUnnamed32(o.detectedLanguages!); + checkUnnamed44(o.detectedLanguages!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.layout!); unittest.expect( o.rowSpan!, @@ -1445,12 +2112,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageTableTableCell( } core.List - buildUnnamed33() => [ + buildUnnamed45() => [ buildGoogleCloudDocumentaiV1DocumentPageTableTableCell(), buildGoogleCloudDocumentaiV1DocumentPageTableTableCell(), ]; -void checkUnnamed33( +void checkUnnamed45( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageTableTableCell(o[0]); @@ -1463,7 +2130,7 @@ api.GoogleCloudDocumentaiV1DocumentPageTableTableRow final o = api.GoogleCloudDocumentaiV1DocumentPageTableTableRow(); buildCounterGoogleCloudDocumentaiV1DocumentPageTableTableRow++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageTableTableRow < 3) { - o.cells = buildUnnamed33(); + o.cells = buildUnnamed45(); } buildCounterGoogleCloudDocumentaiV1DocumentPageTableTableRow--; return o; @@ -1473,18 +2140,18 @@ void checkGoogleCloudDocumentaiV1DocumentPageTableTableRow( api.GoogleCloudDocumentaiV1DocumentPageTableTableRow o) { buildCounterGoogleCloudDocumentaiV1DocumentPageTableTableRow++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageTableTableRow < 3) { - checkUnnamed33(o.cells!); + checkUnnamed45(o.cells!); } buildCounterGoogleCloudDocumentaiV1DocumentPageTableTableRow--; } core.List - buildUnnamed34() => [ + buildUnnamed46() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed34( +void checkUnnamed46( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -1499,7 +2166,7 @@ api.GoogleCloudDocumentaiV1DocumentPageToken if (buildCounterGoogleCloudDocumentaiV1DocumentPageToken < 3) { o.detectedBreak = buildGoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak(); - o.detectedLanguages = buildUnnamed34(); + o.detectedLanguages = buildUnnamed46(); o.layout = buildGoogleCloudDocumentaiV1DocumentPageLayout(); o.provenance = buildGoogleCloudDocumentaiV1DocumentProvenance(); o.styleInfo = buildGoogleCloudDocumentaiV1DocumentPageTokenStyleInfo(); @@ -1514,7 +2181,7 @@ void checkGoogleCloudDocumentaiV1DocumentPageToken( if (buildCounterGoogleCloudDocumentaiV1DocumentPageToken < 3) { checkGoogleCloudDocumentaiV1DocumentPageTokenDetectedBreak( o.detectedBreak!); - checkUnnamed34(o.detectedLanguages!); + checkUnnamed46(o.detectedLanguages!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.layout!); checkGoogleCloudDocumentaiV1DocumentProvenance(o.provenance!); checkGoogleCloudDocumentaiV1DocumentPageTokenStyleInfo(o.styleInfo!); @@ -1611,12 +2278,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageTokenStyleInfo( } core.List - buildUnnamed35() => [ + buildUnnamed47() => [ buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), buildGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(), ]; -void checkUnnamed35( +void checkUnnamed47( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentPageDetectedLanguage(o[0]); @@ -1629,7 +2296,7 @@ api.GoogleCloudDocumentaiV1DocumentPageVisualElement final o = api.GoogleCloudDocumentaiV1DocumentPageVisualElement(); buildCounterGoogleCloudDocumentaiV1DocumentPageVisualElement++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageVisualElement < 3) { - o.detectedLanguages = buildUnnamed35(); + o.detectedLanguages = buildUnnamed47(); o.layout = buildGoogleCloudDocumentaiV1DocumentPageLayout(); o.type = 'foo'; } @@ -1641,7 +2308,7 @@ void checkGoogleCloudDocumentaiV1DocumentPageVisualElement( api.GoogleCloudDocumentaiV1DocumentPageVisualElement o) { buildCounterGoogleCloudDocumentaiV1DocumentPageVisualElement++; if (buildCounterGoogleCloudDocumentaiV1DocumentPageVisualElement < 3) { - checkUnnamed35(o.detectedLanguages!); + checkUnnamed47(o.detectedLanguages!); checkGoogleCloudDocumentaiV1DocumentPageLayout(o.layout!); unittest.expect( o.type!, @@ -1652,12 +2319,12 @@ void checkGoogleCloudDocumentaiV1DocumentPageVisualElement( } core.List - buildUnnamed36() => [ + buildUnnamed48() => [ buildGoogleCloudDocumentaiV1DocumentProvenanceParent(), buildGoogleCloudDocumentaiV1DocumentProvenanceParent(), ]; -void checkUnnamed36( +void checkUnnamed48( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentProvenanceParent(o[0]); @@ -1671,7 +2338,7 @@ api.GoogleCloudDocumentaiV1DocumentProvenance buildCounterGoogleCloudDocumentaiV1DocumentProvenance++; if (buildCounterGoogleCloudDocumentaiV1DocumentProvenance < 3) { o.id = 42; - o.parents = buildUnnamed36(); + o.parents = buildUnnamed48(); o.revision = 42; o.type = 'foo'; } @@ -1687,7 +2354,7 @@ void checkGoogleCloudDocumentaiV1DocumentProvenance( o.id!, unittest.equals(42), ); - checkUnnamed36(o.parents!); + checkUnnamed48(o.parents!); unittest.expect( o.revision!, unittest.equals(42), @@ -1734,12 +2401,12 @@ void checkGoogleCloudDocumentaiV1DocumentProvenanceParent( buildCounterGoogleCloudDocumentaiV1DocumentProvenanceParent--; } -core.List buildUnnamed37() => [ +core.List buildUnnamed49() => [ 42, 42, ]; -void checkUnnamed37(core.List o) { +void checkUnnamed49(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1751,12 +2418,12 @@ void checkUnnamed37(core.List o) { ); } -core.List buildUnnamed38() => [ +core.List buildUnnamed50() => [ 'foo', 'foo', ]; -void checkUnnamed38(core.List o) { +void checkUnnamed50(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1778,8 +2445,8 @@ api.GoogleCloudDocumentaiV1DocumentRevision o.createTime = 'foo'; o.humanReview = buildGoogleCloudDocumentaiV1DocumentRevisionHumanReview(); o.id = 'foo'; - o.parent = buildUnnamed37(); - o.parentIds = buildUnnamed38(); + o.parent = buildUnnamed49(); + o.parentIds = buildUnnamed50(); o.processor = 'foo'; } buildCounterGoogleCloudDocumentaiV1DocumentRevision--; @@ -1803,8 +2470,8 @@ void checkGoogleCloudDocumentaiV1DocumentRevision( o.id!, unittest.equals('foo'), ); - checkUnnamed37(o.parent!); - checkUnnamed38(o.parentIds!); + checkUnnamed49(o.parent!); + checkUnnamed50(o.parentIds!); unittest.expect( o.processor!, unittest.equals('foo'), @@ -1843,12 +2510,12 @@ void checkGoogleCloudDocumentaiV1DocumentRevisionHumanReview( } core.List - buildUnnamed39() => [ + buildUnnamed51() => [ buildGoogleCloudDocumentaiV1DocumentSchemaEntityType(), buildGoogleCloudDocumentaiV1DocumentSchemaEntityType(), ]; -void checkUnnamed39( +void checkUnnamed51( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentSchemaEntityType(o[0]); @@ -1863,7 +2530,7 @@ api.GoogleCloudDocumentaiV1DocumentSchema if (buildCounterGoogleCloudDocumentaiV1DocumentSchema < 3) { o.description = 'foo'; o.displayName = 'foo'; - o.entityTypes = buildUnnamed39(); + o.entityTypes = buildUnnamed51(); o.metadata = buildGoogleCloudDocumentaiV1DocumentSchemaMetadata(); } buildCounterGoogleCloudDocumentaiV1DocumentSchema--; @@ -1882,18 +2549,18 @@ void checkGoogleCloudDocumentaiV1DocumentSchema( o.displayName!, unittest.equals('foo'), ); - checkUnnamed39(o.entityTypes!); + checkUnnamed51(o.entityTypes!); checkGoogleCloudDocumentaiV1DocumentSchemaMetadata(o.metadata!); } buildCounterGoogleCloudDocumentaiV1DocumentSchema--; } -core.List buildUnnamed40() => [ +core.List buildUnnamed52() => [ 'foo', 'foo', ]; -void checkUnnamed40(core.List o) { +void checkUnnamed52(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1906,12 +2573,12 @@ void checkUnnamed40(core.List o) { } core.List - buildUnnamed41() => [ + buildUnnamed53() => [ buildGoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty(), buildGoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty(), ]; -void checkUnnamed41( +void checkUnnamed53( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty(o[0]); @@ -1924,12 +2591,12 @@ api.GoogleCloudDocumentaiV1DocumentSchemaEntityType final o = api.GoogleCloudDocumentaiV1DocumentSchemaEntityType(); buildCounterGoogleCloudDocumentaiV1DocumentSchemaEntityType++; if (buildCounterGoogleCloudDocumentaiV1DocumentSchemaEntityType < 3) { - o.baseTypes = buildUnnamed40(); + o.baseTypes = buildUnnamed52(); o.displayName = 'foo'; o.enumValues = buildGoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues(); o.name = 'foo'; - o.properties = buildUnnamed41(); + o.properties = buildUnnamed53(); } buildCounterGoogleCloudDocumentaiV1DocumentSchemaEntityType--; return o; @@ -1939,7 +2606,7 @@ void checkGoogleCloudDocumentaiV1DocumentSchemaEntityType( api.GoogleCloudDocumentaiV1DocumentSchemaEntityType o) { buildCounterGoogleCloudDocumentaiV1DocumentSchemaEntityType++; if (buildCounterGoogleCloudDocumentaiV1DocumentSchemaEntityType < 3) { - checkUnnamed40(o.baseTypes!); + checkUnnamed52(o.baseTypes!); unittest.expect( o.displayName!, unittest.equals('foo'), @@ -1950,17 +2617,17 @@ void checkGoogleCloudDocumentaiV1DocumentSchemaEntityType( o.name!, unittest.equals('foo'), ); - checkUnnamed41(o.properties!); + checkUnnamed53(o.properties!); } buildCounterGoogleCloudDocumentaiV1DocumentSchemaEntityType--; } -core.List buildUnnamed42() => [ +core.List buildUnnamed54() => [ 'foo', 'foo', ]; -void checkUnnamed42(core.List o) { +void checkUnnamed54(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1980,7 +2647,7 @@ api.GoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues buildCounterGoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues++; if (buildCounterGoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues < 3) { - o.values = buildUnnamed42(); + o.values = buildUnnamed54(); } buildCounterGoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues--; return o; @@ -1991,7 +2658,7 @@ void checkGoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues( buildCounterGoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues++; if (buildCounterGoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues < 3) { - checkUnnamed42(o.values!); + checkUnnamed54(o.values!); } buildCounterGoogleCloudDocumentaiV1DocumentSchemaEntityTypeEnumValues--; } @@ -2174,12 +2841,12 @@ void checkGoogleCloudDocumentaiV1DocumentStyleFontSize( } core.List - buildUnnamed43() => [ + buildUnnamed55() => [ buildGoogleCloudDocumentaiV1DocumentTextAnchorTextSegment(), buildGoogleCloudDocumentaiV1DocumentTextAnchorTextSegment(), ]; -void checkUnnamed43( +void checkUnnamed55( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentTextAnchorTextSegment(o[0]); @@ -2193,7 +2860,7 @@ api.GoogleCloudDocumentaiV1DocumentTextAnchor buildCounterGoogleCloudDocumentaiV1DocumentTextAnchor++; if (buildCounterGoogleCloudDocumentaiV1DocumentTextAnchor < 3) { o.content = 'foo'; - o.textSegments = buildUnnamed43(); + o.textSegments = buildUnnamed55(); } buildCounterGoogleCloudDocumentaiV1DocumentTextAnchor--; return o; @@ -2207,7 +2874,7 @@ void checkGoogleCloudDocumentaiV1DocumentTextAnchor( o.content!, unittest.equals('foo'), ); - checkUnnamed43(o.textSegments!); + checkUnnamed55(o.textSegments!); } buildCounterGoogleCloudDocumentaiV1DocumentTextAnchor--; } @@ -2241,12 +2908,12 @@ void checkGoogleCloudDocumentaiV1DocumentTextAnchorTextSegment( buildCounterGoogleCloudDocumentaiV1DocumentTextAnchorTextSegment--; } -core.List buildUnnamed44() => [ +core.List buildUnnamed56() => [ buildGoogleCloudDocumentaiV1DocumentProvenance(), buildGoogleCloudDocumentaiV1DocumentProvenance(), ]; -void checkUnnamed44( +void checkUnnamed56( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1DocumentProvenance(o[0]); @@ -2260,7 +2927,7 @@ api.GoogleCloudDocumentaiV1DocumentTextChange buildCounterGoogleCloudDocumentaiV1DocumentTextChange++; if (buildCounterGoogleCloudDocumentaiV1DocumentTextChange < 3) { o.changedText = 'foo'; - o.provenance = buildUnnamed44(); + o.provenance = buildUnnamed56(); o.textAnchor = buildGoogleCloudDocumentaiV1DocumentTextAnchor(); } buildCounterGoogleCloudDocumentaiV1DocumentTextChange--; @@ -2275,7 +2942,7 @@ void checkGoogleCloudDocumentaiV1DocumentTextChange( o.changedText!, unittest.equals('foo'), ); - checkUnnamed44(o.provenance!); + checkUnnamed56(o.provenance!); checkGoogleCloudDocumentaiV1DocumentTextAnchor(o.textAnchor!); } buildCounterGoogleCloudDocumentaiV1DocumentTextChange--; @@ -2323,12 +2990,12 @@ void checkGoogleCloudDocumentaiV1EvaluateProcessorVersionRequest( core.Map - buildUnnamed45() => { + buildUnnamed57() => { 'x': buildGoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics(), 'y': buildGoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics(), }; -void checkUnnamed45( +void checkUnnamed57( core.Map o) { @@ -2346,7 +3013,7 @@ api.GoogleCloudDocumentaiV1Evaluation buildGoogleCloudDocumentaiV1Evaluation() { buildGoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics(); o.createTime = 'foo'; o.documentCounters = buildGoogleCloudDocumentaiV1EvaluationCounters(); - o.entityMetrics = buildUnnamed45(); + o.entityMetrics = buildUnnamed57(); o.kmsKeyName = 'foo'; o.kmsKeyVersionName = 'foo'; o.name = 'foo'; @@ -2366,7 +3033,7 @@ void checkGoogleCloudDocumentaiV1Evaluation( unittest.equals('foo'), ); checkGoogleCloudDocumentaiV1EvaluationCounters(o.documentCounters!); - checkUnnamed45(o.entityMetrics!); + checkUnnamed57(o.entityMetrics!); unittest.expect( o.kmsKeyName!, unittest.equals('foo'), @@ -2524,12 +3191,12 @@ void checkGoogleCloudDocumentaiV1EvaluationMetrics( } core.List - buildUnnamed46() => [ + buildUnnamed58() => [ buildGoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics(), buildGoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics(), ]; -void checkUnnamed46( +void checkUnnamed58( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics(o[0]); @@ -2537,12 +3204,12 @@ void checkUnnamed46( } core.List - buildUnnamed47() => [ + buildUnnamed59() => [ buildGoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics(), buildGoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics(), ]; -void checkUnnamed47( +void checkUnnamed59( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics(o[0]); @@ -2558,8 +3225,8 @@ api.GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics if (buildCounterGoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics < 3) { o.auprc = 42.0; o.auprcExact = 42.0; - o.confidenceLevelMetrics = buildUnnamed46(); - o.confidenceLevelMetricsExact = buildUnnamed47(); + o.confidenceLevelMetrics = buildUnnamed58(); + o.confidenceLevelMetricsExact = buildUnnamed59(); o.estimatedCalibrationError = 42.0; o.estimatedCalibrationErrorExact = 42.0; o.metricsType = 'foo'; @@ -2580,8 +3247,8 @@ void checkGoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics( o.auprcExact!, unittest.equals(42.0), ); - checkUnnamed46(o.confidenceLevelMetrics!); - checkUnnamed47(o.confidenceLevelMetricsExact!); + checkUnnamed58(o.confidenceLevelMetrics!); + checkUnnamed59(o.confidenceLevelMetricsExact!); unittest.expect( o.estimatedCalibrationError!, unittest.equals(42.0), @@ -2631,12 +3298,12 @@ void checkGoogleCloudDocumentaiV1EvaluationReference( buildCounterGoogleCloudDocumentaiV1EvaluationReference--; } -core.List buildUnnamed48() => [ +core.List buildUnnamed60() => [ buildGoogleCloudDocumentaiV1ProcessorType(), buildGoogleCloudDocumentaiV1ProcessorType(), ]; -void checkUnnamed48(core.List o) { +void checkUnnamed60(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1ProcessorType(o[0]); checkGoogleCloudDocumentaiV1ProcessorType(o[1]); @@ -2648,7 +3315,7 @@ api.GoogleCloudDocumentaiV1FetchProcessorTypesResponse final o = api.GoogleCloudDocumentaiV1FetchProcessorTypesResponse(); buildCounterGoogleCloudDocumentaiV1FetchProcessorTypesResponse++; if (buildCounterGoogleCloudDocumentaiV1FetchProcessorTypesResponse < 3) { - o.processorTypes = buildUnnamed48(); + o.processorTypes = buildUnnamed60(); } buildCounterGoogleCloudDocumentaiV1FetchProcessorTypesResponse--; return o; @@ -2658,7 +3325,7 @@ void checkGoogleCloudDocumentaiV1FetchProcessorTypesResponse( api.GoogleCloudDocumentaiV1FetchProcessorTypesResponse o) { buildCounterGoogleCloudDocumentaiV1FetchProcessorTypesResponse++; if (buildCounterGoogleCloudDocumentaiV1FetchProcessorTypesResponse < 3) { - checkUnnamed48(o.processorTypes!); + checkUnnamed60(o.processorTypes!); } buildCounterGoogleCloudDocumentaiV1FetchProcessorTypesResponse--; } @@ -2692,12 +3359,12 @@ void checkGoogleCloudDocumentaiV1GcsDocument( buildCounterGoogleCloudDocumentaiV1GcsDocument--; } -core.List buildUnnamed49() => [ +core.List buildUnnamed61() => [ buildGoogleCloudDocumentaiV1GcsDocument(), buildGoogleCloudDocumentaiV1GcsDocument(), ]; -void checkUnnamed49(core.List o) { +void checkUnnamed61(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1GcsDocument(o[0]); checkGoogleCloudDocumentaiV1GcsDocument(o[1]); @@ -2709,7 +3376,7 @@ api.GoogleCloudDocumentaiV1GcsDocuments final o = api.GoogleCloudDocumentaiV1GcsDocuments(); buildCounterGoogleCloudDocumentaiV1GcsDocuments++; if (buildCounterGoogleCloudDocumentaiV1GcsDocuments < 3) { - o.documents = buildUnnamed49(); + o.documents = buildUnnamed61(); } buildCounterGoogleCloudDocumentaiV1GcsDocuments--; return o; @@ -2719,7 +3386,7 @@ void checkGoogleCloudDocumentaiV1GcsDocuments( api.GoogleCloudDocumentaiV1GcsDocuments o) { buildCounterGoogleCloudDocumentaiV1GcsDocuments++; if (buildCounterGoogleCloudDocumentaiV1GcsDocuments < 3) { - checkUnnamed49(o.documents!); + checkUnnamed61(o.documents!); } buildCounterGoogleCloudDocumentaiV1GcsDocuments--; } @@ -2781,12 +3448,12 @@ void checkGoogleCloudDocumentaiV1HumanReviewStatus( buildCounterGoogleCloudDocumentaiV1HumanReviewStatus--; } -core.List buildUnnamed50() => [ +core.List buildUnnamed62() => [ buildGoogleCloudDocumentaiV1Evaluation(), buildGoogleCloudDocumentaiV1Evaluation(), ]; -void checkUnnamed50(core.List o) { +void checkUnnamed62(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1Evaluation(o[0]); checkGoogleCloudDocumentaiV1Evaluation(o[1]); @@ -2798,7 +3465,7 @@ api.GoogleCloudDocumentaiV1ListEvaluationsResponse final o = api.GoogleCloudDocumentaiV1ListEvaluationsResponse(); buildCounterGoogleCloudDocumentaiV1ListEvaluationsResponse++; if (buildCounterGoogleCloudDocumentaiV1ListEvaluationsResponse < 3) { - o.evaluations = buildUnnamed50(); + o.evaluations = buildUnnamed62(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudDocumentaiV1ListEvaluationsResponse--; @@ -2809,7 +3476,7 @@ void checkGoogleCloudDocumentaiV1ListEvaluationsResponse( api.GoogleCloudDocumentaiV1ListEvaluationsResponse o) { buildCounterGoogleCloudDocumentaiV1ListEvaluationsResponse++; if (buildCounterGoogleCloudDocumentaiV1ListEvaluationsResponse < 3) { - checkUnnamed50(o.evaluations!); + checkUnnamed62(o.evaluations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2818,12 +3485,12 @@ void checkGoogleCloudDocumentaiV1ListEvaluationsResponse( buildCounterGoogleCloudDocumentaiV1ListEvaluationsResponse--; } -core.List buildUnnamed51() => [ +core.List buildUnnamed63() => [ buildGoogleCloudDocumentaiV1ProcessorType(), buildGoogleCloudDocumentaiV1ProcessorType(), ]; -void checkUnnamed51(core.List o) { +void checkUnnamed63(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1ProcessorType(o[0]); checkGoogleCloudDocumentaiV1ProcessorType(o[1]); @@ -2836,7 +3503,7 @@ api.GoogleCloudDocumentaiV1ListProcessorTypesResponse buildCounterGoogleCloudDocumentaiV1ListProcessorTypesResponse++; if (buildCounterGoogleCloudDocumentaiV1ListProcessorTypesResponse < 3) { o.nextPageToken = 'foo'; - o.processorTypes = buildUnnamed51(); + o.processorTypes = buildUnnamed63(); } buildCounterGoogleCloudDocumentaiV1ListProcessorTypesResponse--; return o; @@ -2850,17 +3517,17 @@ void checkGoogleCloudDocumentaiV1ListProcessorTypesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed51(o.processorTypes!); + checkUnnamed63(o.processorTypes!); } buildCounterGoogleCloudDocumentaiV1ListProcessorTypesResponse--; } -core.List buildUnnamed52() => [ +core.List buildUnnamed64() => [ buildGoogleCloudDocumentaiV1ProcessorVersion(), buildGoogleCloudDocumentaiV1ProcessorVersion(), ]; -void checkUnnamed52(core.List o) { +void checkUnnamed64(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1ProcessorVersion(o[0]); checkGoogleCloudDocumentaiV1ProcessorVersion(o[1]); @@ -2873,7 +3540,7 @@ api.GoogleCloudDocumentaiV1ListProcessorVersionsResponse buildCounterGoogleCloudDocumentaiV1ListProcessorVersionsResponse++; if (buildCounterGoogleCloudDocumentaiV1ListProcessorVersionsResponse < 3) { o.nextPageToken = 'foo'; - o.processorVersions = buildUnnamed52(); + o.processorVersions = buildUnnamed64(); } buildCounterGoogleCloudDocumentaiV1ListProcessorVersionsResponse--; return o; @@ -2887,17 +3554,17 @@ void checkGoogleCloudDocumentaiV1ListProcessorVersionsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed52(o.processorVersions!); + checkUnnamed64(o.processorVersions!); } buildCounterGoogleCloudDocumentaiV1ListProcessorVersionsResponse--; } -core.List buildUnnamed53() => [ +core.List buildUnnamed65() => [ buildGoogleCloudDocumentaiV1Processor(), buildGoogleCloudDocumentaiV1Processor(), ]; -void checkUnnamed53(core.List o) { +void checkUnnamed65(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1Processor(o[0]); checkGoogleCloudDocumentaiV1Processor(o[1]); @@ -2910,7 +3577,7 @@ api.GoogleCloudDocumentaiV1ListProcessorsResponse buildCounterGoogleCloudDocumentaiV1ListProcessorsResponse++; if (buildCounterGoogleCloudDocumentaiV1ListProcessorsResponse < 3) { o.nextPageToken = 'foo'; - o.processors = buildUnnamed53(); + o.processors = buildUnnamed65(); } buildCounterGoogleCloudDocumentaiV1ListProcessorsResponse--; return o; @@ -2924,7 +3591,7 @@ void checkGoogleCloudDocumentaiV1ListProcessorsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed53(o.processors!); + checkUnnamed65(o.processors!); } buildCounterGoogleCloudDocumentaiV1ListProcessorsResponse--; } @@ -2958,12 +3625,12 @@ void checkGoogleCloudDocumentaiV1NormalizedVertex( buildCounterGoogleCloudDocumentaiV1NormalizedVertex--; } -core.List buildUnnamed54() => [ +core.List buildUnnamed66() => [ 'foo', 'foo', ]; -void checkUnnamed54(core.List o) { +void checkUnnamed66(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2980,7 +3647,7 @@ api.GoogleCloudDocumentaiV1OcrConfig buildGoogleCloudDocumentaiV1OcrConfig() { final o = api.GoogleCloudDocumentaiV1OcrConfig(); buildCounterGoogleCloudDocumentaiV1OcrConfig++; if (buildCounterGoogleCloudDocumentaiV1OcrConfig < 3) { - o.advancedOcrOptions = buildUnnamed54(); + o.advancedOcrOptions = buildUnnamed66(); o.computeStyleInfo = true; o.disableCharacterBoxesDetection = true; o.enableImageQualityScores = true; @@ -2997,7 +3664,7 @@ void checkGoogleCloudDocumentaiV1OcrConfig( api.GoogleCloudDocumentaiV1OcrConfig o) { buildCounterGoogleCloudDocumentaiV1OcrConfig++; if (buildCounterGoogleCloudDocumentaiV1OcrConfig < 3) { - checkUnnamed54(o.advancedOcrOptions!); + checkUnnamed66(o.advancedOcrOptions!); unittest.expect(o.computeStyleInfo!, unittest.isTrue); unittest.expect(o.disableCharacterBoxesDetection!, unittest.isTrue); unittest.expect(o.enableImageQualityScores!, unittest.isTrue); @@ -3009,12 +3676,12 @@ void checkGoogleCloudDocumentaiV1OcrConfig( buildCounterGoogleCloudDocumentaiV1OcrConfig--; } -core.List buildUnnamed55() => [ +core.List buildUnnamed67() => [ 'foo', 'foo', ]; -void checkUnnamed55(core.List o) { +void checkUnnamed67(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3032,7 +3699,7 @@ api.GoogleCloudDocumentaiV1OcrConfigHints final o = api.GoogleCloudDocumentaiV1OcrConfigHints(); buildCounterGoogleCloudDocumentaiV1OcrConfigHints++; if (buildCounterGoogleCloudDocumentaiV1OcrConfigHints < 3) { - o.languageHints = buildUnnamed55(); + o.languageHints = buildUnnamed67(); } buildCounterGoogleCloudDocumentaiV1OcrConfigHints--; return o; @@ -3042,7 +3709,7 @@ void checkGoogleCloudDocumentaiV1OcrConfigHints( api.GoogleCloudDocumentaiV1OcrConfigHints o) { buildCounterGoogleCloudDocumentaiV1OcrConfigHints++; if (buildCounterGoogleCloudDocumentaiV1OcrConfigHints < 3) { - checkUnnamed55(o.languageHints!); + checkUnnamed67(o.languageHints!); } buildCounterGoogleCloudDocumentaiV1OcrConfigHints--; } @@ -3082,6 +3749,7 @@ api.GoogleCloudDocumentaiV1ProcessOptions o.fromStart = 42; o.individualPageSelector = buildGoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector(); + o.layoutConfig = buildGoogleCloudDocumentaiV1ProcessOptionsLayoutConfig(); o.ocrConfig = buildGoogleCloudDocumentaiV1OcrConfig(); o.schemaOverride = buildGoogleCloudDocumentaiV1DocumentSchema(); } @@ -3103,18 +3771,19 @@ void checkGoogleCloudDocumentaiV1ProcessOptions( ); checkGoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector( o.individualPageSelector!); + checkGoogleCloudDocumentaiV1ProcessOptionsLayoutConfig(o.layoutConfig!); checkGoogleCloudDocumentaiV1OcrConfig(o.ocrConfig!); checkGoogleCloudDocumentaiV1DocumentSchema(o.schemaOverride!); } buildCounterGoogleCloudDocumentaiV1ProcessOptions--; } -core.List buildUnnamed56() => [ +core.List buildUnnamed68() => [ 42, 42, ]; -void checkUnnamed56(core.List o) { +void checkUnnamed68(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3134,7 +3803,7 @@ api.GoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector buildCounterGoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector++; if (buildCounterGoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector < 3) { - o.pages = buildUnnamed56(); + o.pages = buildUnnamed68(); } buildCounterGoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector--; return o; @@ -3145,17 +3814,71 @@ void checkGoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector( buildCounterGoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector++; if (buildCounterGoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector < 3) { - checkUnnamed56(o.pages!); + checkUnnamed68(o.pages!); } buildCounterGoogleCloudDocumentaiV1ProcessOptionsIndividualPageSelector--; } -core.Map buildUnnamed57() => { +core.int buildCounterGoogleCloudDocumentaiV1ProcessOptionsLayoutConfig = 0; +api.GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig + buildGoogleCloudDocumentaiV1ProcessOptionsLayoutConfig() { + final o = api.GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig(); + buildCounterGoogleCloudDocumentaiV1ProcessOptionsLayoutConfig++; + if (buildCounterGoogleCloudDocumentaiV1ProcessOptionsLayoutConfig < 3) { + o.chunkingConfig = + buildGoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig(); + } + buildCounterGoogleCloudDocumentaiV1ProcessOptionsLayoutConfig--; + return o; +} + +void checkGoogleCloudDocumentaiV1ProcessOptionsLayoutConfig( + api.GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig o) { + buildCounterGoogleCloudDocumentaiV1ProcessOptionsLayoutConfig++; + if (buildCounterGoogleCloudDocumentaiV1ProcessOptionsLayoutConfig < 3) { + checkGoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig( + o.chunkingConfig!); + } + buildCounterGoogleCloudDocumentaiV1ProcessOptionsLayoutConfig--; +} + +core.int + buildCounterGoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig = + 0; +api.GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig + buildGoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig() { + final o = + api.GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig(); + buildCounterGoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig++; + if (buildCounterGoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig < + 3) { + o.chunkSize = 42; + o.includeAncestorHeadings = true; + } + buildCounterGoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig--; + return o; +} + +void checkGoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig( + api.GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig o) { + buildCounterGoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig++; + if (buildCounterGoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig < + 3) { + unittest.expect( + o.chunkSize!, + unittest.equals(42), + ); + unittest.expect(o.includeAncestorHeadings!, unittest.isTrue); + } + buildCounterGoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig--; +} + +core.Map buildUnnamed69() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed57(core.Map o) { +void checkUnnamed69(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3176,7 +3899,7 @@ api.GoogleCloudDocumentaiV1ProcessRequest o.fieldMask = 'foo'; o.gcsDocument = buildGoogleCloudDocumentaiV1GcsDocument(); o.inlineDocument = buildGoogleCloudDocumentaiV1Document(); - o.labels = buildUnnamed57(); + o.labels = buildUnnamed69(); o.processOptions = buildGoogleCloudDocumentaiV1ProcessOptions(); o.rawDocument = buildGoogleCloudDocumentaiV1RawDocument(); o.skipHumanReview = true; @@ -3195,7 +3918,7 @@ void checkGoogleCloudDocumentaiV1ProcessRequest( ); checkGoogleCloudDocumentaiV1GcsDocument(o.gcsDocument!); checkGoogleCloudDocumentaiV1Document(o.inlineDocument!); - checkUnnamed57(o.labels!); + checkUnnamed69(o.labels!); checkGoogleCloudDocumentaiV1ProcessOptions(o.processOptions!); checkGoogleCloudDocumentaiV1RawDocument(o.rawDocument!); unittest.expect(o.skipHumanReview!, unittest.isTrue); @@ -3226,13 +3949,13 @@ void checkGoogleCloudDocumentaiV1ProcessResponse( buildCounterGoogleCloudDocumentaiV1ProcessResponse--; } -core.List buildUnnamed58() => +core.List buildUnnamed70() => [ buildGoogleCloudDocumentaiV1ProcessorVersionAlias(), buildGoogleCloudDocumentaiV1ProcessorVersionAlias(), ]; -void checkUnnamed58( +void checkUnnamed70( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1ProcessorVersionAlias(o[0]); @@ -3250,7 +3973,9 @@ api.GoogleCloudDocumentaiV1Processor buildGoogleCloudDocumentaiV1Processor() { o.kmsKeyName = 'foo'; o.name = 'foo'; o.processEndpoint = 'foo'; - o.processorVersionAliases = buildUnnamed58(); + o.processorVersionAliases = buildUnnamed70(); + o.satisfiesPzi = true; + o.satisfiesPzs = true; o.state = 'foo'; o.type = 'foo'; } @@ -3286,7 +4011,9 @@ void checkGoogleCloudDocumentaiV1Processor( o.processEndpoint!, unittest.equals('foo'), ); - checkUnnamed58(o.processorVersionAliases!); + checkUnnamed70(o.processorVersionAliases!); + unittest.expect(o.satisfiesPzi!, unittest.isTrue); + unittest.expect(o.satisfiesPzs!, unittest.isTrue); unittest.expect( o.state!, unittest.equals('foo'), @@ -3300,24 +4027,24 @@ void checkGoogleCloudDocumentaiV1Processor( } core.List - buildUnnamed59() => [ + buildUnnamed71() => [ buildGoogleCloudDocumentaiV1ProcessorTypeLocationInfo(), buildGoogleCloudDocumentaiV1ProcessorTypeLocationInfo(), ]; -void checkUnnamed59( +void checkUnnamed71( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudDocumentaiV1ProcessorTypeLocationInfo(o[0]); checkGoogleCloudDocumentaiV1ProcessorTypeLocationInfo(o[1]); } -core.List buildUnnamed60() => [ +core.List buildUnnamed72() => [ 'foo', 'foo', ]; -void checkUnnamed60(core.List o) { +void checkUnnamed72(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3336,11 +4063,11 @@ api.GoogleCloudDocumentaiV1ProcessorType buildCounterGoogleCloudDocumentaiV1ProcessorType++; if (buildCounterGoogleCloudDocumentaiV1ProcessorType < 3) { o.allowCreation = true; - o.availableLocations = buildUnnamed59(); + o.availableLocations = buildUnnamed71(); o.category = 'foo'; o.launchStage = 'foo'; o.name = 'foo'; - o.sampleDocumentUris = buildUnnamed60(); + o.sampleDocumentUris = buildUnnamed72(); o.type = 'foo'; } buildCounterGoogleCloudDocumentaiV1ProcessorType--; @@ -3352,7 +4079,7 @@ void checkGoogleCloudDocumentaiV1ProcessorType( buildCounterGoogleCloudDocumentaiV1ProcessorType++; if (buildCounterGoogleCloudDocumentaiV1ProcessorType < 3) { unittest.expect(o.allowCreation!, unittest.isTrue); - checkUnnamed59(o.availableLocations!); + checkUnnamed71(o.availableLocations!); unittest.expect( o.category!, unittest.equals('foo'), @@ -3365,7 +4092,7 @@ void checkGoogleCloudDocumentaiV1ProcessorType( o.name!, unittest.equals('foo'), ); - checkUnnamed60(o.sampleDocumentUris!); + checkUnnamed72(o.sampleDocumentUris!); unittest.expect( o.type!, unittest.equals('foo'), @@ -3415,6 +4142,8 @@ api.GoogleCloudDocumentaiV1ProcessorVersion o.latestEvaluation = buildGoogleCloudDocumentaiV1EvaluationReference(); o.modelType = 'foo'; o.name = 'foo'; + o.satisfiesPzi = true; + o.satisfiesPzs = true; o.state = 'foo'; } buildCounterGoogleCloudDocumentaiV1ProcessorVersion--; @@ -3454,6 +4183,8 @@ void checkGoogleCloudDocumentaiV1ProcessorVersion( o.name!, unittest.equals('foo'), ); + unittest.expect(o.satisfiesPzi!, unittest.isTrue); + unittest.expect(o.satisfiesPzs!, unittest.isTrue); unittest.expect( o.state!, unittest.equals('foo'), @@ -3788,12 +4519,12 @@ void checkGoogleCloudDocumentaiV1Vertex(api.GoogleCloudDocumentaiV1Vertex o) { buildCounterGoogleCloudDocumentaiV1Vertex--; } -core.List buildUnnamed61() => [ +core.List buildUnnamed73() => [ buildGoogleCloudLocationLocation(), buildGoogleCloudLocationLocation(), ]; -void checkUnnamed61(core.List o) { +void checkUnnamed73(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudLocationLocation(o[0]); checkGoogleCloudLocationLocation(o[1]); @@ -3805,7 +4536,7 @@ api.GoogleCloudLocationListLocationsResponse final o = api.GoogleCloudLocationListLocationsResponse(); buildCounterGoogleCloudLocationListLocationsResponse++; if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { - o.locations = buildUnnamed61(); + o.locations = buildUnnamed73(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudLocationListLocationsResponse--; @@ -3816,7 +4547,7 @@ void checkGoogleCloudLocationListLocationsResponse( api.GoogleCloudLocationListLocationsResponse o) { buildCounterGoogleCloudLocationListLocationsResponse++; if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { - checkUnnamed61(o.locations!); + checkUnnamed73(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3825,12 +4556,12 @@ void checkGoogleCloudLocationListLocationsResponse( buildCounterGoogleCloudLocationListLocationsResponse--; } -core.Map buildUnnamed62() => { +core.Map buildUnnamed74() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed62(core.Map o) { +void checkUnnamed74(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3842,7 +4573,7 @@ void checkUnnamed62(core.Map o) { ); } -core.Map buildUnnamed63() => { +core.Map buildUnnamed75() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3855,7 +4586,7 @@ core.Map buildUnnamed63() => { }, }; -void checkUnnamed63(core.Map o) { +void checkUnnamed75(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -3893,9 +4624,9 @@ api.GoogleCloudLocationLocation buildGoogleCloudLocationLocation() { buildCounterGoogleCloudLocationLocation++; if (buildCounterGoogleCloudLocationLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed62(); + o.labels = buildUnnamed74(); o.locationId = 'foo'; - o.metadata = buildUnnamed63(); + o.metadata = buildUnnamed75(); o.name = 'foo'; } buildCounterGoogleCloudLocationLocation--; @@ -3909,12 +4640,12 @@ void checkGoogleCloudLocationLocation(api.GoogleCloudLocationLocation o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed62(o.labels!); + checkUnnamed74(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed63(o.metadata!); + checkUnnamed75(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -3923,12 +4654,12 @@ void checkGoogleCloudLocationLocation(api.GoogleCloudLocationLocation o) { buildCounterGoogleCloudLocationLocation--; } -core.List buildUnnamed64() => [ +core.List buildUnnamed76() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed64(core.List o) { +void checkUnnamed76(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -3941,7 +4672,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed64(); + o.operations = buildUnnamed76(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -3955,12 +4686,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed64(o.operations!); + checkUnnamed76(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed65() => { +core.Map buildUnnamed77() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3973,7 +4704,7 @@ core.Map buildUnnamed65() => { }, }; -void checkUnnamed65(core.Map o) { +void checkUnnamed77(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -4005,7 +4736,7 @@ void checkUnnamed65(core.Map o) { ); } -core.Map buildUnnamed66() => { +core.Map buildUnnamed78() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4018,7 +4749,7 @@ core.Map buildUnnamed66() => { }, }; -void checkUnnamed66(core.Map o) { +void checkUnnamed78(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -4057,9 +4788,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed65(); + o.metadata = buildUnnamed77(); o.name = 'foo'; - o.response = buildUnnamed66(); + o.response = buildUnnamed78(); } buildCounterGoogleLongrunningOperation--; return o; @@ -4070,12 +4801,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed65(o.metadata!); + checkUnnamed77(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed66(o.response!); + checkUnnamed78(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -4095,7 +4826,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed67() => { +core.Map buildUnnamed79() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4108,7 +4839,7 @@ core.Map buildUnnamed67() => { }, }; -void checkUnnamed67(core.Map o) { +void checkUnnamed79(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -4140,15 +4871,15 @@ void checkUnnamed67(core.Map o) { ); } -core.List> buildUnnamed68() => [ - buildUnnamed67(), - buildUnnamed67(), +core.List> buildUnnamed80() => [ + buildUnnamed79(), + buildUnnamed79(), ]; -void checkUnnamed68(core.List> o) { +void checkUnnamed80(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed67(o[0]); - checkUnnamed67(o[1]); + checkUnnamed79(o[0]); + checkUnnamed79(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -4157,7 +4888,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed68(); + o.details = buildUnnamed80(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -4171,7 +4902,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed68(o.details!); + checkUnnamed80(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -4340,12 +5071,12 @@ void checkGoogleTypeMoney(api.GoogleTypeMoney o) { buildCounterGoogleTypeMoney--; } -core.List buildUnnamed69() => [ +core.List buildUnnamed81() => [ 'foo', 'foo', ]; -void checkUnnamed69(core.List o) { +void checkUnnamed81(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4357,12 +5088,12 @@ void checkUnnamed69(core.List o) { ); } -core.List buildUnnamed70() => [ +core.List buildUnnamed82() => [ 'foo', 'foo', ]; -void checkUnnamed70(core.List o) { +void checkUnnamed82(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4379,13 +5110,13 @@ api.GoogleTypePostalAddress buildGoogleTypePostalAddress() { final o = api.GoogleTypePostalAddress(); buildCounterGoogleTypePostalAddress++; if (buildCounterGoogleTypePostalAddress < 3) { - o.addressLines = buildUnnamed69(); + o.addressLines = buildUnnamed81(); o.administrativeArea = 'foo'; o.languageCode = 'foo'; o.locality = 'foo'; o.organization = 'foo'; o.postalCode = 'foo'; - o.recipients = buildUnnamed70(); + o.recipients = buildUnnamed82(); o.regionCode = 'foo'; o.revision = 42; o.sortingCode = 'foo'; @@ -4398,7 +5129,7 @@ api.GoogleTypePostalAddress buildGoogleTypePostalAddress() { void checkGoogleTypePostalAddress(api.GoogleTypePostalAddress o) { buildCounterGoogleTypePostalAddress++; if (buildCounterGoogleTypePostalAddress < 3) { - checkUnnamed69(o.addressLines!); + checkUnnamed81(o.addressLines!); unittest.expect( o.administrativeArea!, unittest.equals('foo'), @@ -4419,7 +5150,7 @@ void checkGoogleTypePostalAddress(api.GoogleTypePostalAddress o) { o.postalCode!, unittest.equals('foo'), ); - checkUnnamed70(o.recipients!); + checkUnnamed82(o.recipients!); unittest.expect( o.regionCode!, unittest.equals('foo'), @@ -4542,6 +5273,203 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudDocumentaiV1DocumentChunkedDocument', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDocumentaiV1DocumentChunkedDocument(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDocumentaiV1DocumentChunkedDocument.fromJson( + oJson as core.Map); + checkGoogleCloudDocumentaiV1DocumentChunkedDocument(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDocumentaiV1DocumentChunkedDocumentChunk(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk.fromJson( + oJson as core.Map); + checkGoogleCloudDocumentaiV1DocumentChunkedDocumentChunk(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudDocumentaiV1DocumentDocumentLayout', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDocumentaiV1DocumentDocumentLayout(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDocumentaiV1DocumentDocumentLayout.fromJson( + oJson as core.Map); + checkGoogleCloudDocumentaiV1DocumentDocumentLayout(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock( + od); + }); + }); + unittest.group('obj-schema-GoogleCloudDocumentaiV1DocumentEntity', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudDocumentaiV1DocumentEntity(); @@ -5271,6 +6199,31 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudDocumentaiV1ProcessOptionsLayoutConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig.fromJson( + oJson as core.Map); + checkGoogleCloudDocumentaiV1ProcessOptionsLayoutConfig(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig + .fromJson(oJson as core.Map); + checkGoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig(od); + }); + }); + unittest.group('obj-schema-GoogleCloudDocumentaiV1ProcessRequest', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudDocumentaiV1ProcessRequest(); diff --git a/generated/googleapis/test/domains/v1_test.dart b/generated/googleapis/test/domains/v1_test.dart index b9fc9c5ff..6798b0f05 100644 --- a/generated/googleapis/test/domains/v1_test.dart +++ b/generated/googleapis/test/domains/v1_test.dart @@ -438,6 +438,47 @@ void checkDomain(api.Domain o) { buildCounterDomain--; } +core.int buildCounterDomainForwarding = 0; +api.DomainForwarding buildDomainForwarding() { + final o = api.DomainForwarding(); + buildCounterDomainForwarding++; + if (buildCounterDomainForwarding < 3) { + o.pathForwarding = true; + o.pemCertificate = 'foo'; + o.redirectType = 'foo'; + o.sslEnabled = true; + o.subdomain = 'foo'; + o.targetUri = 'foo'; + } + buildCounterDomainForwarding--; + return o; +} + +void checkDomainForwarding(api.DomainForwarding o) { + buildCounterDomainForwarding++; + if (buildCounterDomainForwarding < 3) { + unittest.expect(o.pathForwarding!, unittest.isTrue); + unittest.expect( + o.pemCertificate!, + unittest.equals('foo'), + ); + unittest.expect( + o.redirectType!, + unittest.equals('foo'), + ); + unittest.expect(o.sslEnabled!, unittest.isTrue); + unittest.expect( + o.subdomain!, + unittest.equals('foo'), + ); + unittest.expect( + o.targetUri!, + unittest.equals('foo'), + ); + } + buildCounterDomainForwarding--; +} + core.int buildCounterDsRecord = 0; api.DsRecord buildDsRecord() { final o = api.DsRecord(); @@ -475,6 +516,33 @@ void checkDsRecord(api.DsRecord o) { buildCounterDsRecord--; } +core.int buildCounterEmailForwarding = 0; +api.EmailForwarding buildEmailForwarding() { + final o = api.EmailForwarding(); + buildCounterEmailForwarding++; + if (buildCounterEmailForwarding < 3) { + o.alias = 'foo'; + o.targetEmailAddress = 'foo'; + } + buildCounterEmailForwarding--; + return o; +} + +void checkEmailForwarding(api.EmailForwarding o) { + buildCounterEmailForwarding++; + if (buildCounterEmailForwarding < 3) { + unittest.expect( + o.alias!, + unittest.equals('foo'), + ); + unittest.expect( + o.targetEmailAddress!, + unittest.equals('foo'), + ); + } + buildCounterEmailForwarding--; +} + core.int buildCounterExportRegistrationRequest = 0; api.ExportRegistrationRequest buildExportRegistrationRequest() { final o = api.ExportRegistrationRequest(); @@ -682,6 +750,28 @@ void checkImportDomainRequest(api.ImportDomainRequest o) { buildCounterImportDomainRequest--; } +core.int buildCounterInitiatePushTransferRequest = 0; +api.InitiatePushTransferRequest buildInitiatePushTransferRequest() { + final o = api.InitiatePushTransferRequest(); + buildCounterInitiatePushTransferRequest++; + if (buildCounterInitiatePushTransferRequest < 3) { + o.tag = 'foo'; + } + buildCounterInitiatePushTransferRequest--; + return o; +} + +void checkInitiatePushTransferRequest(api.InitiatePushTransferRequest o) { + buildCounterInitiatePushTransferRequest++; + if (buildCounterInitiatePushTransferRequest < 3) { + unittest.expect( + o.tag!, + unittest.equals('foo'), + ); + } + buildCounterInitiatePushTransferRequest--; +} + core.List buildUnnamed12() => [ buildLocation(), buildLocation(), @@ -890,6 +980,7 @@ api.ManagementSettings buildManagementSettings() { final o = api.ManagementSettings(); buildCounterManagementSettings++; if (buildCounterManagementSettings < 3) { + o.effectiveTransferLockState = 'foo'; o.preferredRenewalMethod = 'foo'; o.renewalMethod = 'foo'; o.transferLockState = 'foo'; @@ -901,6 +992,10 @@ api.ManagementSettings buildManagementSettings() { void checkManagementSettings(api.ManagementSettings o) { buildCounterManagementSettings++; if (buildCounterManagementSettings < 3) { + unittest.expect( + o.effectiveTransferLockState!, + unittest.equals('foo'), + ); unittest.expect( o.preferredRenewalMethod!, unittest.equals('foo'), @@ -1367,12 +1462,29 @@ void checkUnnamed27(core.List o) { ); } -core.Map buildUnnamed28() => { +core.List buildUnnamed28() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed28(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.Map buildUnnamed29() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed28(core.Map o) { +void checkUnnamed29(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1384,12 +1496,12 @@ void checkUnnamed28(core.Map o) { ); } -core.List buildUnnamed29() => [ +core.List buildUnnamed30() => [ 'foo', 'foo', ]; -void checkUnnamed29(core.List o) { +void checkUnnamed30(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1410,15 +1522,16 @@ api.Registration buildRegistration() { o.createTime = 'foo'; o.dnsSettings = buildDnsSettings(); o.domainName = 'foo'; + o.domainProperties = buildUnnamed27(); o.expireTime = 'foo'; - o.issues = buildUnnamed27(); - o.labels = buildUnnamed28(); + o.issues = buildUnnamed28(); + o.labels = buildUnnamed29(); o.managementSettings = buildManagementSettings(); o.name = 'foo'; o.pendingContactSettings = buildContactSettings(); o.registerFailureReason = 'foo'; o.state = 'foo'; - o.supportedPrivacy = buildUnnamed29(); + o.supportedPrivacy = buildUnnamed30(); o.transferFailureReason = 'foo'; } buildCounterRegistration--; @@ -1438,12 +1551,13 @@ void checkRegistration(api.Registration o) { o.domainName!, unittest.equals('foo'), ); + checkUnnamed27(o.domainProperties!); unittest.expect( o.expireTime!, unittest.equals('foo'), ); - checkUnnamed27(o.issues!); - checkUnnamed28(o.labels!); + checkUnnamed28(o.issues!); + checkUnnamed29(o.labels!); checkManagementSettings(o.managementSettings!); unittest.expect( o.name!, @@ -1458,7 +1572,7 @@ void checkRegistration(api.Registration o) { o.state!, unittest.equals('foo'), ); - checkUnnamed29(o.supportedPrivacy!); + checkUnnamed30(o.supportedPrivacy!); unittest.expect( o.transferFailureReason!, unittest.equals('foo'), @@ -1467,6 +1581,27 @@ void checkRegistration(api.Registration o) { buildCounterRegistration--; } +core.int buildCounterRenewDomainRequest = 0; +api.RenewDomainRequest buildRenewDomainRequest() { + final o = api.RenewDomainRequest(); + buildCounterRenewDomainRequest++; + if (buildCounterRenewDomainRequest < 3) { + o.validateOnly = true; + o.yearlyPrice = buildMoney(); + } + buildCounterRenewDomainRequest--; + return o; +} + +void checkRenewDomainRequest(api.RenewDomainRequest o) { + buildCounterRenewDomainRequest++; + if (buildCounterRenewDomainRequest < 3) { + unittest.expect(o.validateOnly!, unittest.isTrue); + checkMoney(o.yearlyPrice!); + } + buildCounterRenewDomainRequest--; +} + core.int buildCounterResetAuthorizationCodeRequest = 0; api.ResetAuthorizationCodeRequest buildResetAuthorizationCodeRequest() { final o = api.ResetAuthorizationCodeRequest(); @@ -1482,12 +1617,57 @@ void checkResetAuthorizationCodeRequest(api.ResetAuthorizationCodeRequest o) { buildCounterResetAuthorizationCodeRequest--; } -core.List buildUnnamed30() => [ +core.List buildUnnamed31() => [ + buildDomainForwarding(), + buildDomainForwarding(), + ]; + +void checkUnnamed31(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkDomainForwarding(o[0]); + checkDomainForwarding(o[1]); +} + +core.List buildUnnamed32() => [ + buildEmailForwarding(), + buildEmailForwarding(), + ]; + +void checkUnnamed32(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkEmailForwarding(o[0]); + checkEmailForwarding(o[1]); +} + +core.int buildCounterRetrieveGoogleDomainsForwardingConfigResponse = 0; +api.RetrieveGoogleDomainsForwardingConfigResponse + buildRetrieveGoogleDomainsForwardingConfigResponse() { + final o = api.RetrieveGoogleDomainsForwardingConfigResponse(); + buildCounterRetrieveGoogleDomainsForwardingConfigResponse++; + if (buildCounterRetrieveGoogleDomainsForwardingConfigResponse < 3) { + o.domainForwardings = buildUnnamed31(); + o.emailForwardings = buildUnnamed32(); + } + buildCounterRetrieveGoogleDomainsForwardingConfigResponse--; + return o; +} + +void checkRetrieveGoogleDomainsForwardingConfigResponse( + api.RetrieveGoogleDomainsForwardingConfigResponse o) { + buildCounterRetrieveGoogleDomainsForwardingConfigResponse++; + if (buildCounterRetrieveGoogleDomainsForwardingConfigResponse < 3) { + checkUnnamed31(o.domainForwardings!); + checkUnnamed32(o.emailForwardings!); + } + buildCounterRetrieveGoogleDomainsForwardingConfigResponse--; +} + +core.List buildUnnamed33() => [ buildDomain(), buildDomain(), ]; -void checkUnnamed30(core.List o) { +void checkUnnamed33(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDomain(o[0]); checkDomain(o[1]); @@ -1498,7 +1678,7 @@ api.RetrieveImportableDomainsResponse buildRetrieveImportableDomainsResponse() { final o = api.RetrieveImportableDomainsResponse(); buildCounterRetrieveImportableDomainsResponse++; if (buildCounterRetrieveImportableDomainsResponse < 3) { - o.domains = buildUnnamed30(); + o.domains = buildUnnamed33(); o.nextPageToken = 'foo'; } buildCounterRetrieveImportableDomainsResponse--; @@ -1509,7 +1689,7 @@ void checkRetrieveImportableDomainsResponse( api.RetrieveImportableDomainsResponse o) { buildCounterRetrieveImportableDomainsResponse++; if (buildCounterRetrieveImportableDomainsResponse < 3) { - checkUnnamed30(o.domains!); + checkUnnamed33(o.domains!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1560,12 +1740,12 @@ void checkRetrieveTransferParametersResponse( buildCounterRetrieveTransferParametersResponse--; } -core.List buildUnnamed31() => [ +core.List buildUnnamed34() => [ buildRegisterParameters(), buildRegisterParameters(), ]; -void checkUnnamed31(core.List o) { +void checkUnnamed34(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegisterParameters(o[0]); checkRegisterParameters(o[1]); @@ -1576,7 +1756,7 @@ api.SearchDomainsResponse buildSearchDomainsResponse() { final o = api.SearchDomainsResponse(); buildCounterSearchDomainsResponse++; if (buildCounterSearchDomainsResponse < 3) { - o.registerParameters = buildUnnamed31(); + o.registerParameters = buildUnnamed34(); } buildCounterSearchDomainsResponse--; return o; @@ -1585,7 +1765,7 @@ api.SearchDomainsResponse buildSearchDomainsResponse() { void checkSearchDomainsResponse(api.SearchDomainsResponse o) { buildCounterSearchDomainsResponse++; if (buildCounterSearchDomainsResponse < 3) { - checkUnnamed31(o.registerParameters!); + checkUnnamed34(o.registerParameters!); } buildCounterSearchDomainsResponse--; } @@ -1614,7 +1794,7 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.Map buildUnnamed32() => { +core.Map buildUnnamed35() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1627,7 +1807,7 @@ core.Map buildUnnamed32() => { }, }; -void checkUnnamed32(core.Map o) { +void checkUnnamed35(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1659,15 +1839,15 @@ void checkUnnamed32(core.Map o) { ); } -core.List> buildUnnamed33() => [ - buildUnnamed32(), - buildUnnamed32(), +core.List> buildUnnamed36() => [ + buildUnnamed35(), + buildUnnamed35(), ]; -void checkUnnamed33(core.List> o) { +void checkUnnamed36(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed32(o[0]); - checkUnnamed32(o[1]); + checkUnnamed35(o[0]); + checkUnnamed35(o[1]); } core.int buildCounterStatus = 0; @@ -1676,7 +1856,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed33(); + o.details = buildUnnamed36(); o.message = 'foo'; } buildCounterStatus--; @@ -1690,7 +1870,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed33(o.details!); + checkUnnamed36(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1699,12 +1879,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.List buildUnnamed34() => [ +core.List buildUnnamed37() => [ 'foo', 'foo', ]; -void checkUnnamed34(core.List o) { +void checkUnnamed37(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1721,7 +1901,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed34(); + o.permissions = buildUnnamed37(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1730,17 +1910,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed34(o.permissions!); + checkUnnamed37(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed35() => [ +core.List buildUnnamed38() => [ 'foo', 'foo', ]; -void checkUnnamed35(core.List o) { +void checkUnnamed38(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1757,7 +1937,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed35(); + o.permissions = buildUnnamed38(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1766,17 +1946,17 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed35(o.permissions!); + checkUnnamed38(o.permissions!); } buildCounterTestIamPermissionsResponse--; } -core.List buildUnnamed36() => [ +core.List buildUnnamed39() => [ 'foo', 'foo', ]; -void checkUnnamed36(core.List o) { +void checkUnnamed39(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1794,7 +1974,7 @@ api.TransferDomainRequest buildTransferDomainRequest() { buildCounterTransferDomainRequest++; if (buildCounterTransferDomainRequest < 3) { o.authorizationCode = buildAuthorizationCode(); - o.contactNotices = buildUnnamed36(); + o.contactNotices = buildUnnamed39(); o.registration = buildRegistration(); o.validateOnly = true; o.yearlyPrice = buildMoney(); @@ -1807,7 +1987,7 @@ void checkTransferDomainRequest(api.TransferDomainRequest o) { buildCounterTransferDomainRequest++; if (buildCounterTransferDomainRequest < 3) { checkAuthorizationCode(o.authorizationCode!); - checkUnnamed36(o.contactNotices!); + checkUnnamed39(o.contactNotices!); checkRegistration(o.registration!); unittest.expect(o.validateOnly!, unittest.isTrue); checkMoney(o.yearlyPrice!); @@ -1815,12 +1995,12 @@ void checkTransferDomainRequest(api.TransferDomainRequest o) { buildCounterTransferDomainRequest--; } -core.List buildUnnamed37() => [ +core.List buildUnnamed40() => [ 'foo', 'foo', ]; -void checkUnnamed37(core.List o) { +void checkUnnamed40(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1832,12 +2012,12 @@ void checkUnnamed37(core.List o) { ); } -core.List buildUnnamed38() => [ +core.List buildUnnamed41() => [ 'foo', 'foo', ]; -void checkUnnamed38(core.List o) { +void checkUnnamed41(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1857,8 +2037,8 @@ api.TransferParameters buildTransferParameters() { o.currentRegistrar = 'foo'; o.currentRegistrarUri = 'foo'; o.domainName = 'foo'; - o.nameServers = buildUnnamed37(); - o.supportedPrivacy = buildUnnamed38(); + o.nameServers = buildUnnamed40(); + o.supportedPrivacy = buildUnnamed41(); o.transferLockState = 'foo'; o.yearlyPrice = buildMoney(); } @@ -1881,8 +2061,8 @@ void checkTransferParameters(api.TransferParameters o) { o.domainName!, unittest.equals('foo'), ); - checkUnnamed37(o.nameServers!); - checkUnnamed38(o.supportedPrivacy!); + checkUnnamed40(o.nameServers!); + checkUnnamed41(o.supportedPrivacy!); unittest.expect( o.transferLockState!, unittest.equals('foo'), @@ -2013,6 +2193,16 @@ void main() { }); }); + unittest.group('obj-schema-DomainForwarding', () { + unittest.test('to-json--from-json', () async { + final o = buildDomainForwarding(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.DomainForwarding.fromJson( + oJson as core.Map); + checkDomainForwarding(od); + }); + }); + unittest.group('obj-schema-DsRecord', () { unittest.test('to-json--from-json', () async { final o = buildDsRecord(); @@ -2023,6 +2213,16 @@ void main() { }); }); + unittest.group('obj-schema-EmailForwarding', () { + unittest.test('to-json--from-json', () async { + final o = buildEmailForwarding(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.EmailForwarding.fromJson( + oJson as core.Map); + checkEmailForwarding(od); + }); + }); + unittest.group('obj-schema-ExportRegistrationRequest', () { unittest.test('to-json--from-json', () async { final o = buildExportRegistrationRequest(); @@ -2073,6 +2273,16 @@ void main() { }); }); + unittest.group('obj-schema-InitiatePushTransferRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildInitiatePushTransferRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.InitiatePushTransferRequest.fromJson( + oJson as core.Map); + checkInitiatePushTransferRequest(od); + }); + }); + unittest.group('obj-schema-ListLocationsResponse', () { unittest.test('to-json--from-json', () async { final o = buildListLocationsResponse(); @@ -2193,6 +2403,16 @@ void main() { }); }); + unittest.group('obj-schema-RenewDomainRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildRenewDomainRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RenewDomainRequest.fromJson( + oJson as core.Map); + checkRenewDomainRequest(od); + }); + }); + unittest.group('obj-schema-ResetAuthorizationCodeRequest', () { unittest.test('to-json--from-json', () async { final o = buildResetAuthorizationCodeRequest(); @@ -2203,6 +2423,17 @@ void main() { }); }); + unittest.group('obj-schema-RetrieveGoogleDomainsForwardingConfigResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildRetrieveGoogleDomainsForwardingConfigResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RetrieveGoogleDomainsForwardingConfigResponse.fromJson( + oJson as core.Map); + checkRetrieveGoogleDomainsForwardingConfigResponse(od); + }); + }); + unittest.group('obj-schema-RetrieveImportableDomainsResponse', () { unittest.test('to-json--from-json', () async { final o = buildRetrieveImportableDomainsResponse(); @@ -3010,6 +3241,65 @@ void main() { checkOperation(response as api.Operation); }); + unittest.test('method--initiatePushTransfer', () async { + final mock = HttpServerMock(); + final res = api.CloudDomainsApi(mock).projects.locations.registrations; + final arg_request = buildInitiatePushTransferRequest(); + final arg_registration = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.InitiatePushTransferRequest.fromJson( + json as core.Map); + checkInitiatePushTransferRequest(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(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.initiatePushTransfer( + arg_request, arg_registration, + $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.CloudDomainsApi(mock).projects.locations.registrations; @@ -3202,6 +3492,64 @@ void main() { checkOperation(response as api.Operation); }); + unittest.test('method--renewDomain', () async { + final mock = HttpServerMock(); + final res = api.CloudDomainsApi(mock).projects.locations.registrations; + final arg_request = buildRenewDomainRequest(); + final arg_registration = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.RenewDomainRequest.fromJson( + json as core.Map); + checkRenewDomainRequest(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(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.renewDomain(arg_request, arg_registration, + $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + unittest.test('method--resetAuthorizationCode', () async { final mock = HttpServerMock(); final res = api.CloudDomainsApi(mock).projects.locations.registrations; @@ -3314,6 +3662,62 @@ void main() { checkAuthorizationCode(response as api.AuthorizationCode); }); + unittest.test('method--retrieveGoogleDomainsForwardingConfig', () async { + final mock = HttpServerMock(); + final res = api.CloudDomainsApi(mock).projects.locations.registrations; + final arg_registration = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + 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(buildRetrieveGoogleDomainsForwardingConfigResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.retrieveGoogleDomainsForwardingConfig( + arg_registration, + $fields: arg_$fields); + checkRetrieveGoogleDomainsForwardingConfigResponse( + response as api.RetrieveGoogleDomainsForwardingConfigResponse); + }); + unittest.test('method--retrieveImportableDomains', () async { final mock = HttpServerMock(); final res = api.CloudDomainsApi(mock).projects.locations.registrations; diff --git a/generated/googleapis/test/games/v1_test.dart b/generated/googleapis/test/games/v1_test.dart index 048c94747..4a1c0727c 100644 --- a/generated/googleapis/test/games/v1_test.dart +++ b/generated/googleapis/test/games/v1_test.dart @@ -1094,6 +1094,41 @@ void checkEventUpdateResponse(api.EventUpdateResponse o) { buildCounterEventUpdateResponse--; } +core.List buildUnnamed14() => [ + buildRecallToken(), + buildRecallToken(), + ]; + +void checkUnnamed14(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkRecallToken(o[0]); + checkRecallToken(o[1]); +} + +core.int buildCounterGamePlayerToken = 0; +api.GamePlayerToken buildGamePlayerToken() { + final o = api.GamePlayerToken(); + buildCounterGamePlayerToken++; + if (buildCounterGamePlayerToken < 3) { + o.applicationId = 'foo'; + o.token = buildUnnamed14(); + } + buildCounterGamePlayerToken--; + return o; +} + +void checkGamePlayerToken(api.GamePlayerToken o) { + buildCounterGamePlayerToken++; + if (buildCounterGamePlayerToken < 3) { + unittest.expect( + o.applicationId!, + unittest.equals('foo'), + ); + checkUnnamed14(o.token!); + } + buildCounterGamePlayerToken--; +} + core.int buildCounterGamesAchievementIncrement = 0; api.GamesAchievementIncrement buildGamesAchievementIncrement() { final o = api.GamesAchievementIncrement(); @@ -1154,12 +1189,12 @@ void checkGamesAchievementSetStepsAtLeast( buildCounterGamesAchievementSetStepsAtLeast--; } -core.List buildUnnamed14() => [ +core.List buildUnnamed15() => [ buildApplicationPlayerId(), buildApplicationPlayerId(), ]; -void checkUnnamed14(core.List o) { +void checkUnnamed15(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApplicationPlayerId(o[0]); checkApplicationPlayerId(o[1]); @@ -1171,7 +1206,7 @@ api.GetMultipleApplicationPlayerIdsResponse final o = api.GetMultipleApplicationPlayerIdsResponse(); buildCounterGetMultipleApplicationPlayerIdsResponse++; if (buildCounterGetMultipleApplicationPlayerIdsResponse < 3) { - o.playerIds = buildUnnamed14(); + o.playerIds = buildUnnamed15(); } buildCounterGetMultipleApplicationPlayerIdsResponse--; return o; @@ -1181,7 +1216,7 @@ void checkGetMultipleApplicationPlayerIdsResponse( api.GetMultipleApplicationPlayerIdsResponse o) { buildCounterGetMultipleApplicationPlayerIdsResponse++; if (buildCounterGetMultipleApplicationPlayerIdsResponse < 3) { - checkUnnamed14(o.playerIds!); + checkUnnamed15(o.playerIds!); } buildCounterGetMultipleApplicationPlayerIdsResponse--; } @@ -1478,12 +1513,12 @@ void checkLeaderboardEntry(api.LeaderboardEntry o) { buildCounterLeaderboardEntry--; } -core.List buildUnnamed15() => [ +core.List buildUnnamed16() => [ buildLeaderboard(), buildLeaderboard(), ]; -void checkUnnamed15(core.List o) { +void checkUnnamed16(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLeaderboard(o[0]); checkLeaderboard(o[1]); @@ -1494,7 +1529,7 @@ api.LeaderboardListResponse buildLeaderboardListResponse() { final o = api.LeaderboardListResponse(); buildCounterLeaderboardListResponse++; if (buildCounterLeaderboardListResponse < 3) { - o.items = buildUnnamed15(); + o.items = buildUnnamed16(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1505,7 +1540,7 @@ api.LeaderboardListResponse buildLeaderboardListResponse() { void checkLeaderboardListResponse(api.LeaderboardListResponse o) { buildCounterLeaderboardListResponse++; if (buildCounterLeaderboardListResponse < 3) { - checkUnnamed15(o.items!); + checkUnnamed16(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1560,12 +1595,12 @@ void checkLeaderboardScoreRank(api.LeaderboardScoreRank o) { buildCounterLeaderboardScoreRank--; } -core.List buildUnnamed16() => [ +core.List buildUnnamed17() => [ buildLeaderboardEntry(), buildLeaderboardEntry(), ]; -void checkUnnamed16(core.List o) { +void checkUnnamed17(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLeaderboardEntry(o[0]); checkLeaderboardEntry(o[1]); @@ -1576,7 +1611,7 @@ api.LeaderboardScores buildLeaderboardScores() { final o = api.LeaderboardScores(); buildCounterLeaderboardScores++; if (buildCounterLeaderboardScores < 3) { - o.items = buildUnnamed16(); + o.items = buildUnnamed17(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.numScores = 'foo'; @@ -1590,7 +1625,7 @@ api.LeaderboardScores buildLeaderboardScores() { void checkLeaderboardScores(api.LeaderboardScores o) { buildCounterLeaderboardScores++; if (buildCounterLeaderboardScores < 3) { - checkUnnamed16(o.items!); + checkUnnamed17(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1686,12 +1721,12 @@ void checkLinkPersonaResponse(api.LinkPersonaResponse o) { buildCounterLinkPersonaResponse--; } -core.List buildUnnamed17() => [ +core.List buildUnnamed18() => [ buildPlayerLevel(), buildPlayerLevel(), ]; -void checkUnnamed17(core.List o) { +void checkUnnamed18(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerLevel(o[0]); checkPlayerLevel(o[1]); @@ -1704,7 +1739,7 @@ api.MetagameConfig buildMetagameConfig() { if (buildCounterMetagameConfig < 3) { o.currentVersion = 42; o.kind = 'foo'; - o.playerLevels = buildUnnamed17(); + o.playerLevels = buildUnnamed18(); } buildCounterMetagameConfig--; return o; @@ -1721,7 +1756,7 @@ void checkMetagameConfig(api.MetagameConfig o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed17(o.playerLevels!); + checkUnnamed18(o.playerLevels!); } buildCounterMetagameConfig--; } @@ -1878,12 +1913,12 @@ void checkPlayerAchievement(api.PlayerAchievement o) { buildCounterPlayerAchievement--; } -core.List buildUnnamed18() => [ +core.List buildUnnamed19() => [ buildPlayerAchievement(), buildPlayerAchievement(), ]; -void checkUnnamed18(core.List o) { +void checkUnnamed19(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerAchievement(o[0]); checkPlayerAchievement(o[1]); @@ -1894,7 +1929,7 @@ api.PlayerAchievementListResponse buildPlayerAchievementListResponse() { final o = api.PlayerAchievementListResponse(); buildCounterPlayerAchievementListResponse++; if (buildCounterPlayerAchievementListResponse < 3) { - o.items = buildUnnamed18(); + o.items = buildUnnamed19(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1905,7 +1940,7 @@ api.PlayerAchievementListResponse buildPlayerAchievementListResponse() { void checkPlayerAchievementListResponse(api.PlayerAchievementListResponse o) { buildCounterPlayerAchievementListResponse++; if (buildCounterPlayerAchievementListResponse < 3) { - checkUnnamed18(o.items!); + checkUnnamed19(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1960,12 +1995,12 @@ void checkPlayerEvent(api.PlayerEvent o) { buildCounterPlayerEvent--; } -core.List buildUnnamed19() => [ +core.List buildUnnamed20() => [ buildPlayerEvent(), buildPlayerEvent(), ]; -void checkUnnamed19(core.List o) { +void checkUnnamed20(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerEvent(o[0]); checkPlayerEvent(o[1]); @@ -1976,7 +2011,7 @@ api.PlayerEventListResponse buildPlayerEventListResponse() { final o = api.PlayerEventListResponse(); buildCounterPlayerEventListResponse++; if (buildCounterPlayerEventListResponse < 3) { - o.items = buildUnnamed19(); + o.items = buildUnnamed20(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1987,7 +2022,7 @@ api.PlayerEventListResponse buildPlayerEventListResponse() { void checkPlayerEventListResponse(api.PlayerEventListResponse o) { buildCounterPlayerEventListResponse++; if (buildCounterPlayerEventListResponse < 3) { - checkUnnamed19(o.items!); + checkUnnamed20(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2094,12 +2129,12 @@ void checkPlayerLeaderboardScore(api.PlayerLeaderboardScore o) { buildCounterPlayerLeaderboardScore--; } -core.List buildUnnamed20() => [ +core.List buildUnnamed21() => [ buildPlayerLeaderboardScore(), buildPlayerLeaderboardScore(), ]; -void checkUnnamed20(core.List o) { +void checkUnnamed21(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerLeaderboardScore(o[0]); checkPlayerLeaderboardScore(o[1]); @@ -2111,7 +2146,7 @@ api.PlayerLeaderboardScoreListResponse final o = api.PlayerLeaderboardScoreListResponse(); buildCounterPlayerLeaderboardScoreListResponse++; if (buildCounterPlayerLeaderboardScoreListResponse < 3) { - o.items = buildUnnamed20(); + o.items = buildUnnamed21(); o.kind = 'foo'; o.nextPageToken = 'foo'; o.player = buildPlayer(); @@ -2124,7 +2159,7 @@ void checkPlayerLeaderboardScoreListResponse( api.PlayerLeaderboardScoreListResponse o) { buildCounterPlayerLeaderboardScoreListResponse++; if (buildCounterPlayerLeaderboardScoreListResponse < 3) { - checkUnnamed20(o.items!); + checkUnnamed21(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2175,12 +2210,12 @@ void checkPlayerLevel(api.PlayerLevel o) { buildCounterPlayerLevel--; } -core.List buildUnnamed21() => [ +core.List buildUnnamed22() => [ buildPlayer(), buildPlayer(), ]; -void checkUnnamed21(core.List o) { +void checkUnnamed22(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlayer(o[0]); checkPlayer(o[1]); @@ -2191,7 +2226,7 @@ api.PlayerListResponse buildPlayerListResponse() { final o = api.PlayerListResponse(); buildCounterPlayerListResponse++; if (buildCounterPlayerListResponse < 3) { - o.items = buildUnnamed21(); + o.items = buildUnnamed22(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -2202,7 +2237,7 @@ api.PlayerListResponse buildPlayerListResponse() { void checkPlayerListResponse(api.PlayerListResponse o) { buildCounterPlayerListResponse++; if (buildCounterPlayerListResponse < 3) { - checkUnnamed21(o.items!); + checkUnnamed22(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2257,12 +2292,12 @@ void checkPlayerScore(api.PlayerScore o) { buildCounterPlayerScore--; } -core.List buildUnnamed22() => [ +core.List buildUnnamed23() => [ buildPlayerScoreResponse(), buildPlayerScoreResponse(), ]; -void checkUnnamed22(core.List o) { +void checkUnnamed23(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerScoreResponse(o[0]); checkPlayerScoreResponse(o[1]); @@ -2274,7 +2309,7 @@ api.PlayerScoreListResponse buildPlayerScoreListResponse() { buildCounterPlayerScoreListResponse++; if (buildCounterPlayerScoreListResponse < 3) { o.kind = 'foo'; - o.submittedScores = buildUnnamed22(); + o.submittedScores = buildUnnamed23(); } buildCounterPlayerScoreListResponse--; return o; @@ -2287,17 +2322,17 @@ void checkPlayerScoreListResponse(api.PlayerScoreListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed22(o.submittedScores!); + checkUnnamed23(o.submittedScores!); } buildCounterPlayerScoreListResponse--; } -core.List buildUnnamed23() => [ +core.List buildUnnamed24() => [ 'foo', 'foo', ]; -void checkUnnamed23(core.List o) { +void checkUnnamed24(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2309,12 +2344,12 @@ void checkUnnamed23(core.List o) { ); } -core.List buildUnnamed24() => [ +core.List buildUnnamed25() => [ buildPlayerScore(), buildPlayerScore(), ]; -void checkUnnamed24(core.List o) { +void checkUnnamed25(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPlayerScore(o[0]); checkPlayerScore(o[1]); @@ -2325,12 +2360,12 @@ api.PlayerScoreResponse buildPlayerScoreResponse() { final o = api.PlayerScoreResponse(); buildCounterPlayerScoreResponse++; if (buildCounterPlayerScoreResponse < 3) { - o.beatenScoreTimeSpans = buildUnnamed23(); + o.beatenScoreTimeSpans = buildUnnamed24(); o.formattedScore = 'foo'; o.kind = 'foo'; o.leaderboardId = 'foo'; o.scoreTag = 'foo'; - o.unbeatenScores = buildUnnamed24(); + o.unbeatenScores = buildUnnamed25(); } buildCounterPlayerScoreResponse--; return o; @@ -2339,7 +2374,7 @@ api.PlayerScoreResponse buildPlayerScoreResponse() { void checkPlayerScoreResponse(api.PlayerScoreResponse o) { buildCounterPlayerScoreResponse++; if (buildCounterPlayerScoreResponse < 3) { - checkUnnamed23(o.beatenScoreTimeSpans!); + checkUnnamed24(o.beatenScoreTimeSpans!); unittest.expect( o.formattedScore!, unittest.equals('foo'), @@ -2356,17 +2391,17 @@ void checkPlayerScoreResponse(api.PlayerScoreResponse o) { o.scoreTag!, unittest.equals('foo'), ); - checkUnnamed24(o.unbeatenScores!); + checkUnnamed25(o.unbeatenScores!); } buildCounterPlayerScoreResponse--; } -core.List buildUnnamed25() => [ +core.List buildUnnamed26() => [ buildScoreSubmission(), buildScoreSubmission(), ]; -void checkUnnamed25(core.List o) { +void checkUnnamed26(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScoreSubmission(o[0]); checkScoreSubmission(o[1]); @@ -2378,7 +2413,7 @@ api.PlayerScoreSubmissionList buildPlayerScoreSubmissionList() { buildCounterPlayerScoreSubmissionList++; if (buildCounterPlayerScoreSubmissionList < 3) { o.kind = 'foo'; - o.scores = buildUnnamed25(); + o.scores = buildUnnamed26(); } buildCounterPlayerScoreSubmissionList--; return o; @@ -2391,7 +2426,7 @@ void checkPlayerScoreSubmissionList(api.PlayerScoreSubmissionList o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed25(o.scores!); + checkUnnamed26(o.scores!); } buildCounterPlayerScoreSubmissionList--; } @@ -2516,12 +2551,43 @@ void checkRetrieveDeveloperGamesLastPlayerTokenResponse( buildCounterRetrieveDeveloperGamesLastPlayerTokenResponse--; } -core.List buildUnnamed26() => [ +core.List buildUnnamed27() => [ + buildGamePlayerToken(), + buildGamePlayerToken(), + ]; + +void checkUnnamed27(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGamePlayerToken(o[0]); + checkGamePlayerToken(o[1]); +} + +core.int buildCounterRetrieveGamesPlayerTokensResponse = 0; +api.RetrieveGamesPlayerTokensResponse buildRetrieveGamesPlayerTokensResponse() { + final o = api.RetrieveGamesPlayerTokensResponse(); + buildCounterRetrieveGamesPlayerTokensResponse++; + if (buildCounterRetrieveGamesPlayerTokensResponse < 3) { + o.applicationRecallTokens = buildUnnamed27(); + } + buildCounterRetrieveGamesPlayerTokensResponse--; + return o; +} + +void checkRetrieveGamesPlayerTokensResponse( + api.RetrieveGamesPlayerTokensResponse o) { + buildCounterRetrieveGamesPlayerTokensResponse++; + if (buildCounterRetrieveGamesPlayerTokensResponse < 3) { + checkUnnamed27(o.applicationRecallTokens!); + } + buildCounterRetrieveGamesPlayerTokensResponse--; +} + +core.List buildUnnamed28() => [ buildRecallToken(), buildRecallToken(), ]; -void checkUnnamed26(core.List o) { +void checkUnnamed28(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRecallToken(o[0]); checkRecallToken(o[1]); @@ -2532,7 +2598,7 @@ api.RetrievePlayerTokensResponse buildRetrievePlayerTokensResponse() { final o = api.RetrievePlayerTokensResponse(); buildCounterRetrievePlayerTokensResponse++; if (buildCounterRetrievePlayerTokensResponse < 3) { - o.tokens = buildUnnamed26(); + o.tokens = buildUnnamed28(); } buildCounterRetrievePlayerTokensResponse--; return o; @@ -2541,7 +2607,7 @@ api.RetrievePlayerTokensResponse buildRetrievePlayerTokensResponse() { void checkRetrievePlayerTokensResponse(api.RetrievePlayerTokensResponse o) { buildCounterRetrievePlayerTokensResponse++; if (buildCounterRetrievePlayerTokensResponse < 3) { - checkUnnamed26(o.tokens!); + checkUnnamed28(o.tokens!); } buildCounterRetrievePlayerTokensResponse--; } @@ -2758,12 +2824,12 @@ void checkSnapshotImage(api.SnapshotImage o) { buildCounterSnapshotImage--; } -core.List buildUnnamed27() => [ +core.List buildUnnamed29() => [ buildSnapshot(), buildSnapshot(), ]; -void checkUnnamed27(core.List o) { +void checkUnnamed29(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSnapshot(o[0]); checkSnapshot(o[1]); @@ -2774,7 +2840,7 @@ api.SnapshotListResponse buildSnapshotListResponse() { final o = api.SnapshotListResponse(); buildCounterSnapshotListResponse++; if (buildCounterSnapshotListResponse < 3) { - o.items = buildUnnamed27(); + o.items = buildUnnamed29(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -2785,7 +2851,7 @@ api.SnapshotListResponse buildSnapshotListResponse() { void checkSnapshotListResponse(api.SnapshotListResponse o) { buildCounterSnapshotListResponse++; if (buildCounterSnapshotListResponse < 3) { - checkUnnamed27(o.items!); + checkUnnamed29(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2921,12 +2987,29 @@ void checkUnlinkPersonaResponse(api.UnlinkPersonaResponse o) { buildCounterUnlinkPersonaResponse--; } -core.List buildUnnamed28() => [ +core.List buildUnnamed30() => [ 'foo', 'foo', ]; -void checkUnnamed28(core.List o) { +void checkUnnamed30(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed31() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed31(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3209,6 +3292,16 @@ void main() { }); }); + unittest.group('obj-schema-GamePlayerToken', () { + unittest.test('to-json--from-json', () async { + final o = buildGamePlayerToken(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GamePlayerToken.fromJson( + oJson as core.Map); + checkGamePlayerToken(od); + }); + }); + unittest.group('obj-schema-GamesAchievementIncrement', () { unittest.test('to-json--from-json', () async { final o = buildGamesAchievementIncrement(); @@ -3570,6 +3663,16 @@ void main() { }); }); + unittest.group('obj-schema-RetrieveGamesPlayerTokensResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildRetrieveGamesPlayerTokensResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RetrieveGamesPlayerTokensResponse.fromJson( + oJson as core.Map); + checkRetrieveGamesPlayerTokensResponse(od); + }); + }); + unittest.group('obj-schema-RetrievePlayerTokensResponse', () { unittest.test('to-json--from-json', () async { final o = buildRetrievePlayerTokensResponse(); @@ -4981,7 +5084,7 @@ void main() { unittest.test('method--getMultipleApplicationPlayerIds', () async { final mock = HttpServerMock(); final res = api.GamesApi(mock).players; - final arg_applicationIds = buildUnnamed28(); + final arg_applicationIds = buildUnnamed30(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -5164,6 +5267,71 @@ void main() { }); unittest.group('resource-RecallResource', () { + unittest.test('method--gamesPlayerTokens', () async { + final mock = HttpServerMock(); + final res = api.GamesApi(mock).recall; + final arg_sessionId = 'foo'; + final arg_applicationIds = buildUnnamed31(); + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + 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 + 34), + unittest.equals('games/v1/recall/gamesPlayerTokens/'), + ); + pathOffset += 34; + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); + pathOffset = path.length; + unittest.expect( + subPart, + unittest.equals('$arg_sessionId'), + ); + + 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['applicationIds']!, + unittest.equals(arg_applicationIds), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildRetrieveGamesPlayerTokensResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.gamesPlayerTokens(arg_sessionId, + applicationIds: arg_applicationIds, $fields: arg_$fields); + checkRetrieveGamesPlayerTokensResponse( + response as api.RetrieveGamesPlayerTokensResponse); + }); + unittest.test('method--lastTokenFromAllDeveloperGames', () async { final mock = HttpServerMock(); final res = api.GamesApi(mock).recall; diff --git a/generated/googleapis/test/integrations/v1_test.dart b/generated/googleapis/test/integrations/v1_test.dart index fea1e324c..75c2fc4ae 100644 --- a/generated/googleapis/test/integrations/v1_test.dart +++ b/generated/googleapis/test/integrations/v1_test.dart @@ -451,6 +451,40 @@ void checkEnterpriseCrmEventbusProtoConditionResult( buildCounterEnterpriseCrmEventbusProtoConditionResult--; } +core.List buildUnnamed5() => [ + buildEnterpriseCrmEventbusProtoFailurePolicy(), + buildEnterpriseCrmEventbusProtoFailurePolicy(), + ]; + +void checkUnnamed5(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkEnterpriseCrmEventbusProtoFailurePolicy(o[0]); + checkEnterpriseCrmEventbusProtoFailurePolicy(o[1]); +} + +core.int buildCounterEnterpriseCrmEventbusProtoConditionalFailurePolicies = 0; +api.EnterpriseCrmEventbusProtoConditionalFailurePolicies + buildEnterpriseCrmEventbusProtoConditionalFailurePolicies() { + final o = api.EnterpriseCrmEventbusProtoConditionalFailurePolicies(); + buildCounterEnterpriseCrmEventbusProtoConditionalFailurePolicies++; + if (buildCounterEnterpriseCrmEventbusProtoConditionalFailurePolicies < 3) { + o.defaultFailurePolicy = buildEnterpriseCrmEventbusProtoFailurePolicy(); + o.failurePolicies = buildUnnamed5(); + } + buildCounterEnterpriseCrmEventbusProtoConditionalFailurePolicies--; + return o; +} + +void checkEnterpriseCrmEventbusProtoConditionalFailurePolicies( + api.EnterpriseCrmEventbusProtoConditionalFailurePolicies o) { + buildCounterEnterpriseCrmEventbusProtoConditionalFailurePolicies++; + if (buildCounterEnterpriseCrmEventbusProtoConditionalFailurePolicies < 3) { + checkEnterpriseCrmEventbusProtoFailurePolicy(o.defaultFailurePolicy!); + checkUnnamed5(o.failurePolicies!); + } + buildCounterEnterpriseCrmEventbusProtoConditionalFailurePolicies--; +} + core.int buildCounterEnterpriseCrmEventbusProtoCoordinate = 0; api.EnterpriseCrmEventbusProtoCoordinate buildEnterpriseCrmEventbusProtoCoordinate() { @@ -508,12 +542,12 @@ void checkEnterpriseCrmEventbusProtoCustomSuspensionRequest( buildCounterEnterpriseCrmEventbusProtoCustomSuspensionRequest--; } -core.List buildUnnamed5() => [ +core.List buildUnnamed6() => [ 42.0, 42.0, ]; -void checkUnnamed5(core.List o) { +void checkUnnamed6(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -531,7 +565,7 @@ api.EnterpriseCrmEventbusProtoDoubleArray final o = api.EnterpriseCrmEventbusProtoDoubleArray(); buildCounterEnterpriseCrmEventbusProtoDoubleArray++; if (buildCounterEnterpriseCrmEventbusProtoDoubleArray < 3) { - o.values = buildUnnamed5(); + o.values = buildUnnamed6(); } buildCounterEnterpriseCrmEventbusProtoDoubleArray--; return o; @@ -541,17 +575,17 @@ void checkEnterpriseCrmEventbusProtoDoubleArray( api.EnterpriseCrmEventbusProtoDoubleArray o) { buildCounterEnterpriseCrmEventbusProtoDoubleArray++; if (buildCounterEnterpriseCrmEventbusProtoDoubleArray < 3) { - checkUnnamed5(o.values!); + checkUnnamed6(o.values!); } buildCounterEnterpriseCrmEventbusProtoDoubleArray--; } -core.List buildUnnamed6() => [ +core.List buildUnnamed7() => [ 42.0, 42.0, ]; -void checkUnnamed6(core.List o) { +void checkUnnamed7(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -569,7 +603,7 @@ api.EnterpriseCrmEventbusProtoDoubleParameterArray final o = api.EnterpriseCrmEventbusProtoDoubleParameterArray(); buildCounterEnterpriseCrmEventbusProtoDoubleParameterArray++; if (buildCounterEnterpriseCrmEventbusProtoDoubleParameterArray < 3) { - o.doubleValues = buildUnnamed6(); + o.doubleValues = buildUnnamed7(); } buildCounterEnterpriseCrmEventbusProtoDoubleParameterArray--; return o; @@ -579,7 +613,7 @@ void checkEnterpriseCrmEventbusProtoDoubleParameterArray( api.EnterpriseCrmEventbusProtoDoubleParameterArray o) { buildCounterEnterpriseCrmEventbusProtoDoubleParameterArray++; if (buildCounterEnterpriseCrmEventbusProtoDoubleParameterArray < 3) { - checkUnnamed6(o.doubleValues!); + checkUnnamed7(o.doubleValues!); } buildCounterEnterpriseCrmEventbusProtoDoubleParameterArray--; } @@ -620,12 +654,12 @@ void checkEnterpriseCrmEventbusProtoErrorDetail( buildCounterEnterpriseCrmEventbusProtoErrorDetail--; } -core.List buildUnnamed7() => [ +core.List buildUnnamed8() => [ buildEnterpriseCrmEventbusProtoPropertyEntry(), buildEnterpriseCrmEventbusProtoPropertyEntry(), ]; -void checkUnnamed7(core.List o) { +void checkUnnamed8(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoPropertyEntry(o[0]); checkEnterpriseCrmEventbusProtoPropertyEntry(o[1]); @@ -637,7 +671,7 @@ api.EnterpriseCrmEventbusProtoEventBusProperties final o = api.EnterpriseCrmEventbusProtoEventBusProperties(); buildCounterEnterpriseCrmEventbusProtoEventBusProperties++; if (buildCounterEnterpriseCrmEventbusProtoEventBusProperties < 3) { - o.properties = buildUnnamed7(); + o.properties = buildUnnamed8(); } buildCounterEnterpriseCrmEventbusProtoEventBusProperties--; return o; @@ -647,18 +681,18 @@ void checkEnterpriseCrmEventbusProtoEventBusProperties( api.EnterpriseCrmEventbusProtoEventBusProperties o) { buildCounterEnterpriseCrmEventbusProtoEventBusProperties++; if (buildCounterEnterpriseCrmEventbusProtoEventBusProperties < 3) { - checkUnnamed7(o.properties!); + checkUnnamed8(o.properties!); } buildCounterEnterpriseCrmEventbusProtoEventBusProperties--; } core.List - buildUnnamed8() => [ + buildUnnamed9() => [ buildEnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats(), buildEnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats(), ]; -void checkUnnamed8( +void checkUnnamed9( core.List< api .EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats> @@ -669,12 +703,12 @@ void checkUnnamed8( } core.List - buildUnnamed9() => [ + buildUnnamed10() => [ buildEnterpriseCrmEventbusProtoEventExecutionSnapshot(), buildEnterpriseCrmEventbusProtoEventExecutionSnapshot(), ]; -void checkUnnamed9( +void checkUnnamed10( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoEventExecutionSnapshot(o[0]); @@ -687,8 +721,8 @@ api.EnterpriseCrmEventbusProtoEventExecutionDetails final o = api.EnterpriseCrmEventbusProtoEventExecutionDetails(); buildCounterEnterpriseCrmEventbusProtoEventExecutionDetails++; if (buildCounterEnterpriseCrmEventbusProtoEventExecutionDetails < 3) { - o.eventAttemptStats = buildUnnamed8(); - o.eventExecutionSnapshot = buildUnnamed9(); + o.eventAttemptStats = buildUnnamed9(); + o.eventExecutionSnapshot = buildUnnamed10(); o.eventExecutionSnapshotsSize = 'foo'; o.eventExecutionState = 'foo'; o.eventRetriesFromBeginningCount = 42; @@ -705,8 +739,8 @@ void checkEnterpriseCrmEventbusProtoEventExecutionDetails( api.EnterpriseCrmEventbusProtoEventExecutionDetails o) { buildCounterEnterpriseCrmEventbusProtoEventExecutionDetails++; if (buildCounterEnterpriseCrmEventbusProtoEventExecutionDetails < 3) { - checkUnnamed8(o.eventAttemptStats!); - checkUnnamed9(o.eventExecutionSnapshot!); + checkUnnamed9(o.eventAttemptStats!); + checkUnnamed10(o.eventExecutionSnapshot!); unittest.expect( o.eventExecutionSnapshotsSize!, unittest.equals('foo'), @@ -773,12 +807,12 @@ void checkEnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats( buildCounterEnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats--; } -core.List buildUnnamed10() => [ +core.List buildUnnamed11() => [ buildEnterpriseCrmEventbusProtoConditionResult(), buildEnterpriseCrmEventbusProtoConditionResult(), ]; -void checkUnnamed10( +void checkUnnamed11( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoConditionResult(o[0]); @@ -786,12 +820,12 @@ void checkUnnamed10( } core.List - buildUnnamed11() => [ + buildUnnamed12() => [ buildEnterpriseCrmEventbusProtoTaskExecutionDetails(), buildEnterpriseCrmEventbusProtoTaskExecutionDetails(), ]; -void checkUnnamed11( +void checkUnnamed12( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoTaskExecutionDetails(o[0]); @@ -805,7 +839,8 @@ api.EnterpriseCrmEventbusProtoEventExecutionSnapshot buildCounterEnterpriseCrmEventbusProtoEventExecutionSnapshot++; if (buildCounterEnterpriseCrmEventbusProtoEventExecutionSnapshot < 3) { o.checkpointTaskNumber = 'foo'; - o.conditionResults = buildUnnamed10(); + o.clientId = 'foo'; + o.conditionResults = buildUnnamed11(); o.diffParams = buildEnterpriseCrmEventbusProtoEventParameters(); o.eventExecutionInfoId = 'foo'; o.eventExecutionSnapshotId = 'foo'; @@ -814,8 +849,9 @@ api.EnterpriseCrmEventbusProtoEventExecutionSnapshot o.eventParams = buildEnterpriseCrmEventbusProtoEventParameters(); o.exceedMaxSize = true; o.snapshotTime = 'foo'; - o.taskExecutionDetails = buildUnnamed11(); + o.taskExecutionDetails = buildUnnamed12(); o.taskName = 'foo'; + o.workflowName = 'foo'; } buildCounterEnterpriseCrmEventbusProtoEventExecutionSnapshot--; return o; @@ -829,7 +865,11 @@ void checkEnterpriseCrmEventbusProtoEventExecutionSnapshot( o.checkpointTaskNumber!, unittest.equals('foo'), ); - checkUnnamed10(o.conditionResults!); + unittest.expect( + o.clientId!, + unittest.equals('foo'), + ); + checkUnnamed11(o.conditionResults!); checkEnterpriseCrmEventbusProtoEventParameters(o.diffParams!); unittest.expect( o.eventExecutionInfoId!, @@ -847,21 +887,25 @@ void checkEnterpriseCrmEventbusProtoEventExecutionSnapshot( o.snapshotTime!, unittest.equals('foo'), ); - checkUnnamed11(o.taskExecutionDetails!); + checkUnnamed12(o.taskExecutionDetails!); unittest.expect( o.taskName!, unittest.equals('foo'), ); + unittest.expect( + o.workflowName!, + unittest.equals('foo'), + ); } buildCounterEnterpriseCrmEventbusProtoEventExecutionSnapshot--; } -core.List buildUnnamed12() => [ +core.List buildUnnamed13() => [ 'foo', 'foo', ]; -void checkUnnamed12(core.List o) { +void checkUnnamed13(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -873,12 +917,12 @@ void checkUnnamed12(core.List o) { ); } -core.List buildUnnamed13() => [ +core.List buildUnnamed14() => [ 'foo', 'foo', ]; -void checkUnnamed13(core.List o) { +void checkUnnamed14(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -900,8 +944,8 @@ api.EnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetada buildCounterEnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata++; if (buildCounterEnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata < 3) { - o.ancestorIterationNumbers = buildUnnamed12(); - o.ancestorTaskNumbers = buildUnnamed13(); + o.ancestorIterationNumbers = buildUnnamed13(); + o.ancestorTaskNumbers = buildUnnamed14(); o.eventAttemptNum = 42; o.integrationName = 'foo'; o.taskAttemptNum = 42; @@ -919,8 +963,8 @@ void checkEnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshot buildCounterEnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata++; if (buildCounterEnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata < 3) { - checkUnnamed12(o.ancestorIterationNumbers!); - checkUnnamed13(o.ancestorTaskNumbers!); + checkUnnamed13(o.ancestorIterationNumbers!); + checkUnnamed14(o.ancestorTaskNumbers!); unittest.expect( o.eventAttemptNum!, unittest.equals(42), @@ -949,12 +993,12 @@ void checkEnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshot buildCounterEnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata--; } -core.List buildUnnamed14() => [ +core.List buildUnnamed15() => [ buildEnterpriseCrmEventbusProtoParameterEntry(), buildEnterpriseCrmEventbusProtoParameterEntry(), ]; -void checkUnnamed14(core.List o) { +void checkUnnamed15(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoParameterEntry(o[0]); checkEnterpriseCrmEventbusProtoParameterEntry(o[1]); @@ -966,7 +1010,7 @@ api.EnterpriseCrmEventbusProtoEventParameters final o = api.EnterpriseCrmEventbusProtoEventParameters(); buildCounterEnterpriseCrmEventbusProtoEventParameters++; if (buildCounterEnterpriseCrmEventbusProtoEventParameters < 3) { - o.parameters = buildUnnamed14(); + o.parameters = buildUnnamed15(); } buildCounterEnterpriseCrmEventbusProtoEventParameters--; return o; @@ -976,7 +1020,7 @@ void checkEnterpriseCrmEventbusProtoEventParameters( api.EnterpriseCrmEventbusProtoEventParameters o) { buildCounterEnterpriseCrmEventbusProtoEventParameters++; if (buildCounterEnterpriseCrmEventbusProtoEventParameters < 3) { - checkUnnamed14(o.parameters!); + checkUnnamed15(o.parameters!); } buildCounterEnterpriseCrmEventbusProtoEventParameters--; } @@ -1049,12 +1093,12 @@ void checkEnterpriseCrmEventbusProtoFailurePolicy( buildCounterEnterpriseCrmEventbusProtoFailurePolicy--; } -core.List buildUnnamed15() => [ +core.List buildUnnamed16() => [ 'foo', 'foo', ]; -void checkUnnamed15(core.List o) { +void checkUnnamed16(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1072,7 +1116,7 @@ api.EnterpriseCrmEventbusProtoIntArray final o = api.EnterpriseCrmEventbusProtoIntArray(); buildCounterEnterpriseCrmEventbusProtoIntArray++; if (buildCounterEnterpriseCrmEventbusProtoIntArray < 3) { - o.values = buildUnnamed15(); + o.values = buildUnnamed16(); } buildCounterEnterpriseCrmEventbusProtoIntArray--; return o; @@ -1082,17 +1126,17 @@ void checkEnterpriseCrmEventbusProtoIntArray( api.EnterpriseCrmEventbusProtoIntArray o) { buildCounterEnterpriseCrmEventbusProtoIntArray++; if (buildCounterEnterpriseCrmEventbusProtoIntArray < 3) { - checkUnnamed15(o.values!); + checkUnnamed16(o.values!); } buildCounterEnterpriseCrmEventbusProtoIntArray--; } -core.List buildUnnamed16() => [ +core.List buildUnnamed17() => [ 'foo', 'foo', ]; -void checkUnnamed16(core.List o) { +void checkUnnamed17(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1110,7 +1154,7 @@ api.EnterpriseCrmEventbusProtoIntParameterArray final o = api.EnterpriseCrmEventbusProtoIntParameterArray(); buildCounterEnterpriseCrmEventbusProtoIntParameterArray++; if (buildCounterEnterpriseCrmEventbusProtoIntParameterArray < 3) { - o.intValues = buildUnnamed16(); + o.intValues = buildUnnamed17(); } buildCounterEnterpriseCrmEventbusProtoIntParameterArray--; return o; @@ -1120,7 +1164,7 @@ void checkEnterpriseCrmEventbusProtoIntParameterArray( api.EnterpriseCrmEventbusProtoIntParameterArray o) { buildCounterEnterpriseCrmEventbusProtoIntParameterArray++; if (buildCounterEnterpriseCrmEventbusProtoIntParameterArray < 3) { - checkUnnamed16(o.intValues!); + checkUnnamed17(o.intValues!); } buildCounterEnterpriseCrmEventbusProtoIntParameterArray--; } @@ -1163,12 +1207,12 @@ void checkEnterpriseCrmEventbusProtoLogSettings( buildCounterEnterpriseCrmEventbusProtoLogSettings--; } -core.List buildUnnamed17() => [ +core.List buildUnnamed18() => [ buildEnterpriseCrmEventbusProtoCombinedCondition(), buildEnterpriseCrmEventbusProtoCombinedCondition(), ]; -void checkUnnamed17( +void checkUnnamed18( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoCombinedCondition(o[0]); @@ -1181,7 +1225,7 @@ api.EnterpriseCrmEventbusProtoNextTask final o = api.EnterpriseCrmEventbusProtoNextTask(); buildCounterEnterpriseCrmEventbusProtoNextTask++; if (buildCounterEnterpriseCrmEventbusProtoNextTask < 3) { - o.combinedConditions = buildUnnamed17(); + o.combinedConditions = buildUnnamed18(); o.condition = 'foo'; o.description = 'foo'; o.label = 'foo'; @@ -1196,7 +1240,7 @@ void checkEnterpriseCrmEventbusProtoNextTask( api.EnterpriseCrmEventbusProtoNextTask o) { buildCounterEnterpriseCrmEventbusProtoNextTask++; if (buildCounterEnterpriseCrmEventbusProtoNextTask < 3) { - checkUnnamed17(o.combinedConditions!); + checkUnnamed18(o.combinedConditions!); unittest.expect( o.condition!, unittest.equals('foo'), @@ -1557,7 +1601,7 @@ void checkEnterpriseCrmEventbusProtoParameterEntry( buildCounterEnterpriseCrmEventbusProtoParameterEntry--; } -core.Map buildUnnamed18() => { +core.Map buildUnnamed19() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1570,7 +1614,7 @@ core.Map buildUnnamed18() => { }, }; -void checkUnnamed18(core.Map o) { +void checkUnnamed19(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1615,7 +1659,7 @@ api.EnterpriseCrmEventbusProtoParameterValueType o.intArray = buildEnterpriseCrmEventbusProtoIntParameterArray(); o.intValue = 'foo'; o.protoArray = buildEnterpriseCrmEventbusProtoProtoParameterArray(); - o.protoValue = buildUnnamed18(); + o.protoValue = buildUnnamed19(); o.serializedObjectValue = buildEnterpriseCrmEventbusProtoSerializedObjectParameter(); o.stringArray = buildEnterpriseCrmEventbusProtoStringParameterArray(); @@ -1642,7 +1686,7 @@ void checkEnterpriseCrmEventbusProtoParameterValueType( unittest.equals('foo'), ); checkEnterpriseCrmEventbusProtoProtoParameterArray(o.protoArray!); - checkUnnamed18(o.protoValue!); + checkUnnamed19(o.protoValue!); checkEnterpriseCrmEventbusProtoSerializedObjectParameter( o.serializedObjectValue!); checkEnterpriseCrmEventbusProtoStringParameterArray(o.stringArray!); @@ -1680,7 +1724,7 @@ void checkEnterpriseCrmEventbusProtoPropertyEntry( buildCounterEnterpriseCrmEventbusProtoPropertyEntry--; } -core.Map buildUnnamed19() => { +core.Map buildUnnamed20() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1693,7 +1737,7 @@ core.Map buildUnnamed19() => { }, }; -void checkUnnamed19(core.Map o) { +void checkUnnamed20(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1725,15 +1769,15 @@ void checkUnnamed19(core.Map o) { ); } -core.List> buildUnnamed20() => [ - buildUnnamed19(), - buildUnnamed19(), +core.List> buildUnnamed21() => [ + buildUnnamed20(), + buildUnnamed20(), ]; -void checkUnnamed20(core.List> o) { +void checkUnnamed21(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed19(o[0]); - checkUnnamed19(o[1]); + checkUnnamed20(o[0]); + checkUnnamed20(o[1]); } core.int buildCounterEnterpriseCrmEventbusProtoProtoParameterArray = 0; @@ -1742,7 +1786,7 @@ api.EnterpriseCrmEventbusProtoProtoParameterArray final o = api.EnterpriseCrmEventbusProtoProtoParameterArray(); buildCounterEnterpriseCrmEventbusProtoProtoParameterArray++; if (buildCounterEnterpriseCrmEventbusProtoProtoParameterArray < 3) { - o.protoValues = buildUnnamed20(); + o.protoValues = buildUnnamed21(); } buildCounterEnterpriseCrmEventbusProtoProtoParameterArray--; return o; @@ -1752,7 +1796,7 @@ void checkEnterpriseCrmEventbusProtoProtoParameterArray( api.EnterpriseCrmEventbusProtoProtoParameterArray o) { buildCounterEnterpriseCrmEventbusProtoProtoParameterArray++; if (buildCounterEnterpriseCrmEventbusProtoProtoParameterArray < 3) { - checkUnnamed20(o.protoValues!); + checkUnnamed21(o.protoValues!); } buildCounterEnterpriseCrmEventbusProtoProtoParameterArray--; } @@ -1781,12 +1825,12 @@ void checkEnterpriseCrmEventbusProtoSerializedObjectParameter( buildCounterEnterpriseCrmEventbusProtoSerializedObjectParameter--; } -core.List buildUnnamed21() => [ +core.List buildUnnamed22() => [ 'foo', 'foo', ]; -void checkUnnamed21(core.List o) { +void checkUnnamed22(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1804,7 +1848,7 @@ api.EnterpriseCrmEventbusProtoStringArray final o = api.EnterpriseCrmEventbusProtoStringArray(); buildCounterEnterpriseCrmEventbusProtoStringArray++; if (buildCounterEnterpriseCrmEventbusProtoStringArray < 3) { - o.values = buildUnnamed21(); + o.values = buildUnnamed22(); } buildCounterEnterpriseCrmEventbusProtoStringArray--; return o; @@ -1814,17 +1858,17 @@ void checkEnterpriseCrmEventbusProtoStringArray( api.EnterpriseCrmEventbusProtoStringArray o) { buildCounterEnterpriseCrmEventbusProtoStringArray++; if (buildCounterEnterpriseCrmEventbusProtoStringArray < 3) { - checkUnnamed21(o.values!); + checkUnnamed22(o.values!); } buildCounterEnterpriseCrmEventbusProtoStringArray--; } -core.List buildUnnamed22() => [ +core.List buildUnnamed23() => [ 'foo', 'foo', ]; -void checkUnnamed22(core.List o) { +void checkUnnamed23(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1842,7 +1886,7 @@ api.EnterpriseCrmEventbusProtoStringParameterArray final o = api.EnterpriseCrmEventbusProtoStringParameterArray(); buildCounterEnterpriseCrmEventbusProtoStringParameterArray++; if (buildCounterEnterpriseCrmEventbusProtoStringParameterArray < 3) { - o.stringValues = buildUnnamed22(); + o.stringValues = buildUnnamed23(); } buildCounterEnterpriseCrmEventbusProtoStringParameterArray--; return o; @@ -1852,7 +1896,7 @@ void checkEnterpriseCrmEventbusProtoStringParameterArray( api.EnterpriseCrmEventbusProtoStringParameterArray o) { buildCounterEnterpriseCrmEventbusProtoStringParameterArray++; if (buildCounterEnterpriseCrmEventbusProtoStringParameterArray < 3) { - checkUnnamed22(o.stringValues!); + checkUnnamed23(o.stringValues!); } buildCounterEnterpriseCrmEventbusProtoStringParameterArray--; } @@ -1952,24 +1996,24 @@ void checkEnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity( buildCounterEnterpriseCrmEventbusProtoSuspensionAuthPermissionsGaiaIdentity--; } -core.List buildUnnamed23() => [ +core.List buildUnnamed24() => [ buildEnterpriseCrmEventbusProtoNotification(), buildEnterpriseCrmEventbusProtoNotification(), ]; -void checkUnnamed23(core.List o) { +void checkUnnamed24(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoNotification(o[0]); checkEnterpriseCrmEventbusProtoNotification(o[1]); } core.List - buildUnnamed24() => [ + buildUnnamed25() => [ buildEnterpriseCrmEventbusProtoSuspensionAuthPermissions(), buildEnterpriseCrmEventbusProtoSuspensionAuthPermissions(), ]; -void checkUnnamed24( +void checkUnnamed25( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoSuspensionAuthPermissions(o[0]); @@ -1983,10 +2027,10 @@ api.EnterpriseCrmEventbusProtoSuspensionConfig buildCounterEnterpriseCrmEventbusProtoSuspensionConfig++; if (buildCounterEnterpriseCrmEventbusProtoSuspensionConfig < 3) { o.customMessage = 'foo'; - o.notifications = buildUnnamed23(); + o.notifications = buildUnnamed24(); o.suspensionExpiration = buildEnterpriseCrmEventbusProtoSuspensionExpiration(); - o.whoMayResolve = buildUnnamed24(); + o.whoMayResolve = buildUnnamed25(); } buildCounterEnterpriseCrmEventbusProtoSuspensionConfig--; return o; @@ -2000,10 +2044,10 @@ void checkEnterpriseCrmEventbusProtoSuspensionConfig( o.customMessage!, unittest.equals('foo'), ); - checkUnnamed23(o.notifications!); + checkUnnamed24(o.notifications!); checkEnterpriseCrmEventbusProtoSuspensionExpiration( o.suspensionExpiration!); - checkUnnamed24(o.whoMayResolve!); + checkUnnamed25(o.whoMayResolve!); } buildCounterEnterpriseCrmEventbusProtoSuspensionConfig--; } @@ -2115,12 +2159,12 @@ void checkEnterpriseCrmEventbusProtoTaskAlertConfig( } core.List - buildUnnamed25() => [ + buildUnnamed26() => [ buildEnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats(), buildEnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats(), ]; -void checkUnnamed25( +void checkUnnamed26( core.List< api.EnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats> o) { @@ -2135,7 +2179,7 @@ api.EnterpriseCrmEventbusProtoTaskExecutionDetails final o = api.EnterpriseCrmEventbusProtoTaskExecutionDetails(); buildCounterEnterpriseCrmEventbusProtoTaskExecutionDetails++; if (buildCounterEnterpriseCrmEventbusProtoTaskExecutionDetails < 3) { - o.taskAttemptStats = buildUnnamed25(); + o.taskAttemptStats = buildUnnamed26(); o.taskExecutionState = 'foo'; o.taskNumber = 'foo'; } @@ -2147,7 +2191,7 @@ void checkEnterpriseCrmEventbusProtoTaskExecutionDetails( api.EnterpriseCrmEventbusProtoTaskExecutionDetails o) { buildCounterEnterpriseCrmEventbusProtoTaskExecutionDetails++; if (buildCounterEnterpriseCrmEventbusProtoTaskExecutionDetails < 3) { - checkUnnamed25(o.taskAttemptStats!); + checkUnnamed26(o.taskAttemptStats!); unittest.expect( o.taskExecutionState!, unittest.equals('foo'), @@ -2194,24 +2238,24 @@ void checkEnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats( buildCounterEnterpriseCrmEventbusProtoTaskExecutionDetailsTaskAttemptStats--; } -core.List buildUnnamed26() => [ +core.List buildUnnamed27() => [ buildEnterpriseCrmEventbusProtoTaskMetadataAdmin(), buildEnterpriseCrmEventbusProtoTaskMetadataAdmin(), ]; -void checkUnnamed26( +void checkUnnamed27( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoTaskMetadataAdmin(o[0]); checkEnterpriseCrmEventbusProtoTaskMetadataAdmin(o[1]); } -core.List buildUnnamed27() => [ +core.List buildUnnamed28() => [ 'foo', 'foo', ]; -void checkUnnamed27(core.List o) { +void checkUnnamed28(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2230,7 +2274,7 @@ api.EnterpriseCrmEventbusProtoTaskMetadata buildCounterEnterpriseCrmEventbusProtoTaskMetadata++; if (buildCounterEnterpriseCrmEventbusProtoTaskMetadata < 3) { o.activeTaskName = 'foo'; - o.admins = buildUnnamed26(); + o.admins = buildUnnamed27(); o.category = 'foo'; o.codeSearchLink = 'foo'; o.defaultJsonValidationOption = 'foo'; @@ -2250,7 +2294,7 @@ api.EnterpriseCrmEventbusProtoTaskMetadata o.standaloneExternalDocHtml = 'foo'; o.status = 'foo'; o.system = 'foo'; - o.tags = buildUnnamed27(); + o.tags = buildUnnamed28(); } buildCounterEnterpriseCrmEventbusProtoTaskMetadata--; return o; @@ -2264,7 +2308,7 @@ void checkEnterpriseCrmEventbusProtoTaskMetadata( o.activeTaskName!, unittest.equals('foo'), ); - checkUnnamed26(o.admins!); + checkUnnamed27(o.admins!); unittest.expect( o.category!, unittest.equals('foo'), @@ -2338,7 +2382,7 @@ void checkEnterpriseCrmEventbusProtoTaskMetadata( o.system!, unittest.equals('foo'), ); - checkUnnamed27(o.tags!); + checkUnnamed28(o.tags!); } buildCounterEnterpriseCrmEventbusProtoTaskMetadata--; } @@ -2372,13 +2416,13 @@ void checkEnterpriseCrmEventbusProtoTaskMetadataAdmin( buildCounterEnterpriseCrmEventbusProtoTaskMetadataAdmin--; } -core.List buildUnnamed28() => +core.List buildUnnamed29() => [ buildEnterpriseCrmEventbusProtoTaskUiModuleConfig(), buildEnterpriseCrmEventbusProtoTaskUiModuleConfig(), ]; -void checkUnnamed28( +void checkUnnamed29( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoTaskUiModuleConfig(o[0]); @@ -2391,7 +2435,7 @@ api.EnterpriseCrmEventbusProtoTaskUiConfig final o = api.EnterpriseCrmEventbusProtoTaskUiConfig(); buildCounterEnterpriseCrmEventbusProtoTaskUiConfig++; if (buildCounterEnterpriseCrmEventbusProtoTaskUiConfig < 3) { - o.taskUiModuleConfigs = buildUnnamed28(); + o.taskUiModuleConfigs = buildUnnamed29(); } buildCounterEnterpriseCrmEventbusProtoTaskUiConfig--; return o; @@ -2401,7 +2445,7 @@ void checkEnterpriseCrmEventbusProtoTaskUiConfig( api.EnterpriseCrmEventbusProtoTaskUiConfig o) { buildCounterEnterpriseCrmEventbusProtoTaskUiConfig++; if (buildCounterEnterpriseCrmEventbusProtoTaskUiConfig < 3) { - checkUnnamed28(o.taskUiModuleConfigs!); + checkUnnamed29(o.taskUiModuleConfigs!); } buildCounterEnterpriseCrmEventbusProtoTaskUiConfig--; } @@ -2430,13 +2474,13 @@ void checkEnterpriseCrmEventbusProtoTaskUiModuleConfig( buildCounterEnterpriseCrmEventbusProtoTaskUiModuleConfig--; } -core.List buildUnnamed29() => +core.List buildUnnamed30() => [ buildEnterpriseCrmEventbusProtoTeardownTaskConfig(), buildEnterpriseCrmEventbusProtoTeardownTaskConfig(), ]; -void checkUnnamed29( +void checkUnnamed30( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoTeardownTaskConfig(o[0]); @@ -2449,7 +2493,7 @@ api.EnterpriseCrmEventbusProtoTeardown final o = api.EnterpriseCrmEventbusProtoTeardown(); buildCounterEnterpriseCrmEventbusProtoTeardown++; if (buildCounterEnterpriseCrmEventbusProtoTeardown < 3) { - o.teardownTaskConfigs = buildUnnamed29(); + o.teardownTaskConfigs = buildUnnamed30(); } buildCounterEnterpriseCrmEventbusProtoTeardown--; return o; @@ -2459,7 +2503,7 @@ void checkEnterpriseCrmEventbusProtoTeardown( api.EnterpriseCrmEventbusProtoTeardown o) { buildCounterEnterpriseCrmEventbusProtoTeardown++; if (buildCounterEnterpriseCrmEventbusProtoTeardown < 3) { - checkUnnamed29(o.teardownTaskConfigs!); + checkUnnamed30(o.teardownTaskConfigs!); } buildCounterEnterpriseCrmEventbusProtoTeardown--; } @@ -2563,7 +2607,7 @@ void checkEnterpriseCrmEventbusProtoTriggerCriteria( buildCounterEnterpriseCrmEventbusProtoTriggerCriteria--; } -core.Map buildUnnamed30() => { +core.Map buildUnnamed31() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2576,7 +2620,7 @@ core.Map buildUnnamed30() => { }, }; -void checkUnnamed30(core.Map o) { +void checkUnnamed31(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -2619,7 +2663,7 @@ api.EnterpriseCrmEventbusProtoValueType o.doubleValue = 42.0; o.intArray = buildEnterpriseCrmEventbusProtoIntArray(); o.intValue = 'foo'; - o.protoValue = buildUnnamed30(); + o.protoValue = buildUnnamed31(); o.stringArray = buildEnterpriseCrmEventbusProtoStringArray(); o.stringValue = 'foo'; } @@ -2642,7 +2686,7 @@ void checkEnterpriseCrmEventbusProtoValueType( o.intValue!, unittest.equals('foo'), ); - checkUnnamed30(o.protoValue!); + checkUnnamed31(o.protoValue!); checkEnterpriseCrmEventbusProtoStringArray(o.stringArray!); unittest.expect( o.stringValue!, @@ -2835,12 +2879,12 @@ void checkEnterpriseCrmEventbusStatsDimensions( buildCounterEnterpriseCrmEventbusStatsDimensions--; } -core.List buildUnnamed31() => [ +core.List buildUnnamed32() => [ true, true, ]; -void checkUnnamed31(core.List o) { +void checkUnnamed32(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.isTrue); unittest.expect(o[1], unittest.isTrue); @@ -2854,7 +2898,7 @@ api.EnterpriseCrmFrontendsEventbusProtoBooleanParameterArray buildCounterEnterpriseCrmFrontendsEventbusProtoBooleanParameterArray++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoBooleanParameterArray < 3) { - o.booleanValues = buildUnnamed31(); + o.booleanValues = buildUnnamed32(); } buildCounterEnterpriseCrmFrontendsEventbusProtoBooleanParameterArray--; return o; @@ -2865,17 +2909,17 @@ void checkEnterpriseCrmFrontendsEventbusProtoBooleanParameterArray( buildCounterEnterpriseCrmFrontendsEventbusProtoBooleanParameterArray++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoBooleanParameterArray < 3) { - checkUnnamed31(o.booleanValues!); + checkUnnamed32(o.booleanValues!); } buildCounterEnterpriseCrmFrontendsEventbusProtoBooleanParameterArray--; } -core.List buildUnnamed32() => [ +core.List buildUnnamed33() => [ 42.0, 42.0, ]; -void checkUnnamed32(core.List o) { +void checkUnnamed33(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2894,7 +2938,7 @@ api.EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray final o = api.EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray(); buildCounterEnterpriseCrmFrontendsEventbusProtoDoubleParameterArray++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoDoubleParameterArray < 3) { - o.doubleValues = buildUnnamed32(); + o.doubleValues = buildUnnamed33(); } buildCounterEnterpriseCrmFrontendsEventbusProtoDoubleParameterArray--; return o; @@ -2904,18 +2948,18 @@ void checkEnterpriseCrmFrontendsEventbusProtoDoubleParameterArray( api.EnterpriseCrmFrontendsEventbusProtoDoubleParameterArray o) { buildCounterEnterpriseCrmFrontendsEventbusProtoDoubleParameterArray++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoDoubleParameterArray < 3) { - checkUnnamed32(o.doubleValues!); + checkUnnamed33(o.doubleValues!); } buildCounterEnterpriseCrmFrontendsEventbusProtoDoubleParameterArray--; } core.List - buildUnnamed33() => [ + buildUnnamed34() => [ buildEnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats(), buildEnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats(), ]; -void checkUnnamed33( +void checkUnnamed34( core.List< api .EnterpriseCrmEventbusProtoEventExecutionDetailsEventAttemptStats> @@ -2926,12 +2970,12 @@ void checkUnnamed33( } core.List - buildUnnamed34() => [ + buildUnnamed35() => [ buildEnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot(), buildEnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot(), ]; -void checkUnnamed34( +void checkUnnamed35( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -2947,8 +2991,8 @@ api.EnterpriseCrmFrontendsEventbusProtoEventExecutionDetails buildCounterEnterpriseCrmFrontendsEventbusProtoEventExecutionDetails++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoEventExecutionDetails < 3) { - o.eventAttemptStats = buildUnnamed33(); - o.eventExecutionSnapshot = buildUnnamed34(); + o.eventAttemptStats = buildUnnamed34(); + o.eventExecutionSnapshot = buildUnnamed35(); o.eventExecutionSnapshotsSize = 'foo'; o.eventExecutionState = 'foo'; o.eventRetriesFromBeginningCount = 42; @@ -2966,8 +3010,8 @@ void checkEnterpriseCrmFrontendsEventbusProtoEventExecutionDetails( buildCounterEnterpriseCrmFrontendsEventbusProtoEventExecutionDetails++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoEventExecutionDetails < 3) { - checkUnnamed33(o.eventAttemptStats!); - checkUnnamed34(o.eventExecutionSnapshot!); + checkUnnamed34(o.eventAttemptStats!); + checkUnnamed35(o.eventExecutionSnapshot!); unittest.expect( o.eventExecutionSnapshotsSize!, unittest.equals('foo'), @@ -3000,12 +3044,12 @@ void checkEnterpriseCrmFrontendsEventbusProtoEventExecutionDetails( buildCounterEnterpriseCrmFrontendsEventbusProtoEventExecutionDetails--; } -core.List buildUnnamed35() => [ +core.List buildUnnamed36() => [ buildEnterpriseCrmEventbusProtoErrorDetail(), buildEnterpriseCrmEventbusProtoErrorDetail(), ]; -void checkUnnamed35(core.List o) { +void checkUnnamed36(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoErrorDetail(o[0]); checkEnterpriseCrmEventbusProtoErrorDetail(o[1]); @@ -3022,7 +3066,7 @@ api.EnterpriseCrmFrontendsEventbusProtoEventExecutionInfo buildEnterpriseCrmEventbusProtoCloudLoggingDetails(); o.createTime = 'foo'; o.errorCode = buildCrmlogErrorCode(); - o.errors = buildUnnamed35(); + o.errors = buildUnnamed36(); o.eventExecutionDetails = buildEnterpriseCrmFrontendsEventbusProtoEventExecutionDetails(); o.eventExecutionInfoId = 'foo'; @@ -3061,7 +3105,7 @@ void checkEnterpriseCrmFrontendsEventbusProtoEventExecutionInfo( unittest.equals('foo'), ); checkCrmlogErrorCode(o.errorCode!); - checkUnnamed35(o.errors!); + checkUnnamed36(o.errors!); checkEnterpriseCrmFrontendsEventbusProtoEventExecutionDetails( o.eventExecutionDetails!); unittest.expect( @@ -3117,12 +3161,12 @@ void checkEnterpriseCrmFrontendsEventbusProtoEventExecutionInfo( buildCounterEnterpriseCrmFrontendsEventbusProtoEventExecutionInfo--; } -core.List buildUnnamed36() => [ +core.List buildUnnamed37() => [ 'foo', 'foo', ]; -void checkUnnamed36(core.List o) { +void checkUnnamed37(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3146,7 +3190,7 @@ api.EnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo 3) { o.originalExecutionInfoId = 'foo'; o.replayReason = 'foo'; - o.replayedExecutionInfoIds = buildUnnamed36(); + o.replayedExecutionInfoIds = buildUnnamed37(); } buildCounterEnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo--; return o; @@ -3165,17 +3209,17 @@ void checkEnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo( o.replayReason!, unittest.equals('foo'), ); - checkUnnamed36(o.replayedExecutionInfoIds!); + checkUnnamed37(o.replayedExecutionInfoIds!); } buildCounterEnterpriseCrmFrontendsEventbusProtoEventExecutionInfoReplayInfo--; } -core.List buildUnnamed37() => [ +core.List buildUnnamed38() => [ buildEnterpriseCrmEventbusProtoConditionResult(), buildEnterpriseCrmEventbusProtoConditionResult(), ]; -void checkUnnamed37( +void checkUnnamed38( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoConditionResult(o[0]); @@ -3183,12 +3227,12 @@ void checkUnnamed37( } core.List - buildUnnamed38() => [ + buildUnnamed39() => [ buildEnterpriseCrmEventbusProtoTaskExecutionDetails(), buildEnterpriseCrmEventbusProtoTaskExecutionDetails(), ]; -void checkUnnamed38( +void checkUnnamed39( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoTaskExecutionDetails(o[0]); @@ -3204,7 +3248,7 @@ api.EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot if (buildCounterEnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot < 3) { o.checkpointTaskNumber = 'foo'; - o.conditionResults = buildUnnamed37(); + o.conditionResults = buildUnnamed38(); o.diffParams = buildEnterpriseCrmFrontendsEventbusProtoEventParameters(); o.eventExecutionInfoId = 'foo'; o.eventExecutionSnapshotId = 'foo'; @@ -3212,7 +3256,7 @@ api.EnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot buildEnterpriseCrmEventbusProtoEventExecutionSnapshotEventExecutionSnapshotMetadata(); o.eventParams = buildEnterpriseCrmFrontendsEventbusProtoEventParameters(); o.snapshotTime = 'foo'; - o.taskExecutionDetails = buildUnnamed38(); + o.taskExecutionDetails = buildUnnamed39(); o.taskName = 'foo'; } buildCounterEnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot--; @@ -3228,7 +3272,7 @@ void checkEnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot( o.checkpointTaskNumber!, unittest.equals('foo'), ); - checkUnnamed37(o.conditionResults!); + checkUnnamed38(o.conditionResults!); checkEnterpriseCrmFrontendsEventbusProtoEventParameters(o.diffParams!); unittest.expect( o.eventExecutionInfoId!, @@ -3245,7 +3289,7 @@ void checkEnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot( o.snapshotTime!, unittest.equals('foo'), ); - checkUnnamed38(o.taskExecutionDetails!); + checkUnnamed39(o.taskExecutionDetails!); unittest.expect( o.taskName!, unittest.equals('foo'), @@ -3255,12 +3299,12 @@ void checkEnterpriseCrmFrontendsEventbusProtoEventExecutionSnapshot( } core.List - buildUnnamed39() => [ + buildUnnamed40() => [ buildEnterpriseCrmFrontendsEventbusProtoParameterEntry(), buildEnterpriseCrmFrontendsEventbusProtoParameterEntry(), ]; -void checkUnnamed39( +void checkUnnamed40( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmFrontendsEventbusProtoParameterEntry(o[0]); @@ -3273,7 +3317,7 @@ api.EnterpriseCrmFrontendsEventbusProtoEventParameters final o = api.EnterpriseCrmFrontendsEventbusProtoEventParameters(); buildCounterEnterpriseCrmFrontendsEventbusProtoEventParameters++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoEventParameters < 3) { - o.parameters = buildUnnamed39(); + o.parameters = buildUnnamed40(); } buildCounterEnterpriseCrmFrontendsEventbusProtoEventParameters--; return o; @@ -3283,17 +3327,17 @@ void checkEnterpriseCrmFrontendsEventbusProtoEventParameters( api.EnterpriseCrmFrontendsEventbusProtoEventParameters o) { buildCounterEnterpriseCrmFrontendsEventbusProtoEventParameters++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoEventParameters < 3) { - checkUnnamed39(o.parameters!); + checkUnnamed40(o.parameters!); } buildCounterEnterpriseCrmFrontendsEventbusProtoEventParameters--; } -core.List buildUnnamed40() => [ +core.List buildUnnamed41() => [ 'foo', 'foo', ]; -void checkUnnamed40(core.List o) { +void checkUnnamed41(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3311,7 +3355,7 @@ api.EnterpriseCrmFrontendsEventbusProtoIntParameterArray final o = api.EnterpriseCrmFrontendsEventbusProtoIntParameterArray(); buildCounterEnterpriseCrmFrontendsEventbusProtoIntParameterArray++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoIntParameterArray < 3) { - o.intValues = buildUnnamed40(); + o.intValues = buildUnnamed41(); } buildCounterEnterpriseCrmFrontendsEventbusProtoIntParameterArray--; return o; @@ -3321,7 +3365,7 @@ void checkEnterpriseCrmFrontendsEventbusProtoIntParameterArray( api.EnterpriseCrmFrontendsEventbusProtoIntParameterArray o) { buildCounterEnterpriseCrmFrontendsEventbusProtoIntParameterArray++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoIntParameterArray < 3) { - checkUnnamed40(o.intValues!); + checkUnnamed41(o.intValues!); } buildCounterEnterpriseCrmFrontendsEventbusProtoIntParameterArray--; } @@ -3388,12 +3432,12 @@ void checkEnterpriseCrmFrontendsEventbusProtoParamSpecEntry( } core.List - buildUnnamed41() => [ + buildUnnamed42() => [ buildEnterpriseCrmFrontendsEventbusProtoParamSpecEntry(), buildEnterpriseCrmFrontendsEventbusProtoParamSpecEntry(), ]; -void checkUnnamed41( +void checkUnnamed42( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmFrontendsEventbusProtoParamSpecEntry(o[0]); @@ -3406,7 +3450,7 @@ api.EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage final o = api.EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage(); buildCounterEnterpriseCrmFrontendsEventbusProtoParamSpecsMessage++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoParamSpecsMessage < 3) { - o.parameters = buildUnnamed41(); + o.parameters = buildUnnamed42(); } buildCounterEnterpriseCrmFrontendsEventbusProtoParamSpecsMessage--; return o; @@ -3416,7 +3460,7 @@ void checkEnterpriseCrmFrontendsEventbusProtoParamSpecsMessage( api.EnterpriseCrmFrontendsEventbusProtoParamSpecsMessage o) { buildCounterEnterpriseCrmFrontendsEventbusProtoParamSpecsMessage++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoParamSpecsMessage < 3) { - checkUnnamed41(o.parameters!); + checkUnnamed42(o.parameters!); } buildCounterEnterpriseCrmFrontendsEventbusProtoParamSpecsMessage--; } @@ -3454,7 +3498,7 @@ void checkEnterpriseCrmFrontendsEventbusProtoParameterEntry( buildCounterEnterpriseCrmFrontendsEventbusProtoParameterEntry--; } -core.Map buildUnnamed42() => { +core.Map buildUnnamed43() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3467,7 +3511,7 @@ core.Map buildUnnamed42() => { }, }; -void checkUnnamed42(core.Map o) { +void checkUnnamed43(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -3516,7 +3560,7 @@ api.EnterpriseCrmFrontendsEventbusProtoParameterValueType o.jsonValue = 'foo'; o.protoArray = buildEnterpriseCrmFrontendsEventbusProtoProtoParameterArray(); - o.protoValue = buildUnnamed42(); + o.protoValue = buildUnnamed43(); o.serializedObjectValue = buildEnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter(); o.stringArray = @@ -3550,7 +3594,7 @@ void checkEnterpriseCrmFrontendsEventbusProtoParameterValueType( unittest.equals('foo'), ); checkEnterpriseCrmFrontendsEventbusProtoProtoParameterArray(o.protoArray!); - checkUnnamed42(o.protoValue!); + checkUnnamed43(o.protoValue!); checkEnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter( o.serializedObjectValue!); checkEnterpriseCrmFrontendsEventbusProtoStringParameterArray( @@ -3563,7 +3607,7 @@ void checkEnterpriseCrmFrontendsEventbusProtoParameterValueType( buildCounterEnterpriseCrmFrontendsEventbusProtoParameterValueType--; } -core.Map buildUnnamed43() => { +core.Map buildUnnamed44() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3576,7 +3620,7 @@ core.Map buildUnnamed43() => { }, }; -void checkUnnamed43(core.Map o) { +void checkUnnamed44(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted9 = (o['x']!) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); @@ -3608,15 +3652,15 @@ void checkUnnamed43(core.Map o) { ); } -core.List> buildUnnamed44() => [ - buildUnnamed43(), - buildUnnamed43(), +core.List> buildUnnamed45() => [ + buildUnnamed44(), + buildUnnamed44(), ]; -void checkUnnamed44(core.List> o) { +void checkUnnamed45(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed43(o[0]); - checkUnnamed43(o[1]); + checkUnnamed44(o[0]); + checkUnnamed44(o[1]); } core.int buildCounterEnterpriseCrmFrontendsEventbusProtoProtoParameterArray = 0; @@ -3625,7 +3669,7 @@ api.EnterpriseCrmFrontendsEventbusProtoProtoParameterArray final o = api.EnterpriseCrmFrontendsEventbusProtoProtoParameterArray(); buildCounterEnterpriseCrmFrontendsEventbusProtoProtoParameterArray++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoProtoParameterArray < 3) { - o.protoValues = buildUnnamed44(); + o.protoValues = buildUnnamed45(); } buildCounterEnterpriseCrmFrontendsEventbusProtoProtoParameterArray--; return o; @@ -3635,17 +3679,17 @@ void checkEnterpriseCrmFrontendsEventbusProtoProtoParameterArray( api.EnterpriseCrmFrontendsEventbusProtoProtoParameterArray o) { buildCounterEnterpriseCrmFrontendsEventbusProtoProtoParameterArray++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoProtoParameterArray < 3) { - checkUnnamed44(o.protoValues!); + checkUnnamed45(o.protoValues!); } buildCounterEnterpriseCrmFrontendsEventbusProtoProtoParameterArray--; } -core.List buildUnnamed45() => [ +core.List buildUnnamed46() => [ 'foo', 'foo', ]; -void checkUnnamed45(core.List o) { +void checkUnnamed46(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3665,7 +3709,7 @@ api.EnterpriseCrmFrontendsEventbusProtoRollbackStrategy if (buildCounterEnterpriseCrmFrontendsEventbusProtoRollbackStrategy < 3) { o.parameters = buildEnterpriseCrmFrontendsEventbusProtoEventParameters(); o.rollbackTaskImplementationClassName = 'foo'; - o.taskNumbersToRollback = buildUnnamed45(); + o.taskNumbersToRollback = buildUnnamed46(); } buildCounterEnterpriseCrmFrontendsEventbusProtoRollbackStrategy--; return o; @@ -3680,7 +3724,7 @@ void checkEnterpriseCrmFrontendsEventbusProtoRollbackStrategy( o.rollbackTaskImplementationClassName!, unittest.equals('foo'), ); - checkUnnamed45(o.taskNumbersToRollback!); + checkUnnamed46(o.taskNumbersToRollback!); } buildCounterEnterpriseCrmFrontendsEventbusProtoRollbackStrategy--; } @@ -3713,12 +3757,12 @@ void checkEnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter( buildCounterEnterpriseCrmFrontendsEventbusProtoSerializedObjectParameter--; } -core.List buildUnnamed46() => [ +core.List buildUnnamed47() => [ 'foo', 'foo', ]; -void checkUnnamed46(core.List o) { +void checkUnnamed47(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3737,7 +3781,7 @@ api.EnterpriseCrmFrontendsEventbusProtoStringParameterArray final o = api.EnterpriseCrmFrontendsEventbusProtoStringParameterArray(); buildCounterEnterpriseCrmFrontendsEventbusProtoStringParameterArray++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoStringParameterArray < 3) { - o.stringValues = buildUnnamed46(); + o.stringValues = buildUnnamed47(); } buildCounterEnterpriseCrmFrontendsEventbusProtoStringParameterArray--; return o; @@ -3747,41 +3791,41 @@ void checkEnterpriseCrmFrontendsEventbusProtoStringParameterArray( api.EnterpriseCrmFrontendsEventbusProtoStringParameterArray o) { buildCounterEnterpriseCrmFrontendsEventbusProtoStringParameterArray++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoStringParameterArray < 3) { - checkUnnamed46(o.stringValues!); + checkUnnamed47(o.stringValues!); } buildCounterEnterpriseCrmFrontendsEventbusProtoStringParameterArray--; } -core.List buildUnnamed47() => [ +core.List buildUnnamed48() => [ buildEnterpriseCrmEventbusProtoTaskAlertConfig(), buildEnterpriseCrmEventbusProtoTaskAlertConfig(), ]; -void checkUnnamed47( +void checkUnnamed48( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoTaskAlertConfig(o[0]); checkEnterpriseCrmEventbusProtoTaskAlertConfig(o[1]); } -core.List buildUnnamed48() => [ +core.List buildUnnamed49() => [ buildEnterpriseCrmEventbusProtoNextTask(), buildEnterpriseCrmEventbusProtoNextTask(), ]; -void checkUnnamed48(core.List o) { +void checkUnnamed49(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoNextTask(o[0]); checkEnterpriseCrmEventbusProtoNextTask(o[1]); } core.Map - buildUnnamed49() => { + buildUnnamed50() => { 'x': buildEnterpriseCrmFrontendsEventbusProtoParameterEntry(), 'y': buildEnterpriseCrmFrontendsEventbusProtoParameterEntry(), }; -void checkUnnamed49( +void checkUnnamed50( core.Map o) { unittest.expect(o, unittest.hasLength(2)); @@ -3795,7 +3839,9 @@ api.EnterpriseCrmFrontendsEventbusProtoTaskConfig final o = api.EnterpriseCrmFrontendsEventbusProtoTaskConfig(); buildCounterEnterpriseCrmFrontendsEventbusProtoTaskConfig++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoTaskConfig < 3) { - o.alertConfigs = buildUnnamed47(); + o.alertConfigs = buildUnnamed48(); + o.conditionalFailurePolicies = + buildEnterpriseCrmEventbusProtoConditionalFailurePolicies(); o.createTime = 'foo'; o.creatorEmail = 'foo'; o.description = 'foo'; @@ -3807,9 +3853,9 @@ api.EnterpriseCrmFrontendsEventbusProtoTaskConfig o.jsonValidationOption = 'foo'; o.label = 'foo'; o.lastModifiedTime = 'foo'; - o.nextTasks = buildUnnamed48(); + o.nextTasks = buildUnnamed49(); o.nextTasksExecutionPolicy = 'foo'; - o.parameters = buildUnnamed49(); + o.parameters = buildUnnamed50(); o.position = buildEnterpriseCrmEventbusProtoCoordinate(); o.precondition = 'foo'; o.preconditionLabel = 'foo'; @@ -3834,7 +3880,9 @@ void checkEnterpriseCrmFrontendsEventbusProtoTaskConfig( api.EnterpriseCrmFrontendsEventbusProtoTaskConfig o) { buildCounterEnterpriseCrmFrontendsEventbusProtoTaskConfig++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoTaskConfig < 3) { - checkUnnamed47(o.alertConfigs!); + checkUnnamed48(o.alertConfigs!); + checkEnterpriseCrmEventbusProtoConditionalFailurePolicies( + o.conditionalFailurePolicies!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -3873,12 +3921,12 @@ void checkEnterpriseCrmFrontendsEventbusProtoTaskConfig( o.lastModifiedTime!, unittest.equals('foo'), ); - checkUnnamed48(o.nextTasks!); + checkUnnamed49(o.nextTasks!); unittest.expect( o.nextTasksExecutionPolicy!, unittest.equals('foo'), ); - checkUnnamed49(o.parameters!); + checkUnnamed50(o.parameters!); checkEnterpriseCrmEventbusProtoCoordinate(o.position!); unittest.expect( o.precondition!, @@ -3956,25 +4004,25 @@ void checkEnterpriseCrmFrontendsEventbusProtoTaskEntity( buildCounterEnterpriseCrmFrontendsEventbusProtoTaskEntity--; } -core.List buildUnnamed50() => +core.List buildUnnamed51() => [ buildEnterpriseCrmEventbusProtoWorkflowAlertConfig(), buildEnterpriseCrmEventbusProtoWorkflowAlertConfig(), ]; -void checkUnnamed50( +void checkUnnamed51( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoWorkflowAlertConfig(o[0]); checkEnterpriseCrmEventbusProtoWorkflowAlertConfig(o[1]); } -core.List buildUnnamed51() => [ +core.List buildUnnamed52() => [ 'foo', 'foo', ]; -void checkUnnamed51(core.List o) { +void checkUnnamed52(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3986,12 +4034,12 @@ void checkUnnamed51(core.List o) { ); } -core.Map buildUnnamed52() => { +core.Map buildUnnamed53() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed52(core.Map o) { +void checkUnnamed53(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4003,12 +4051,12 @@ void checkUnnamed52(core.Map o) { ); } -core.List buildUnnamed53() => [ +core.List buildUnnamed54() => [ buildEnterpriseCrmEventbusProtoNextTask(), buildEnterpriseCrmEventbusProtoNextTask(), ]; -void checkUnnamed53(core.List o) { +void checkUnnamed54(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmEventbusProtoNextTask(o[0]); checkEnterpriseCrmEventbusProtoNextTask(o[1]); @@ -4020,18 +4068,18 @@ api.EnterpriseCrmFrontendsEventbusProtoTriggerConfig final o = api.EnterpriseCrmFrontendsEventbusProtoTriggerConfig(); buildCounterEnterpriseCrmFrontendsEventbusProtoTriggerConfig++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoTriggerConfig < 3) { - o.alertConfig = buildUnnamed50(); + o.alertConfig = buildUnnamed51(); o.cloudSchedulerConfig = buildEnterpriseCrmEventbusProtoCloudSchedulerConfig(); o.description = 'foo'; - o.enabledClients = buildUnnamed51(); + o.enabledClients = buildUnnamed52(); o.errorCatcherId = 'foo'; o.label = 'foo'; o.nextTasksExecutionPolicy = 'foo'; o.pauseWorkflowExecutions = true; o.position = buildEnterpriseCrmEventbusProtoCoordinate(); - o.properties = buildUnnamed52(); - o.startTasks = buildUnnamed53(); + o.properties = buildUnnamed53(); + o.startTasks = buildUnnamed54(); o.triggerCriteria = buildEnterpriseCrmEventbusProtoTriggerCriteria(); o.triggerId = 'foo'; o.triggerName = 'foo'; @@ -4046,14 +4094,14 @@ void checkEnterpriseCrmFrontendsEventbusProtoTriggerConfig( api.EnterpriseCrmFrontendsEventbusProtoTriggerConfig o) { buildCounterEnterpriseCrmFrontendsEventbusProtoTriggerConfig++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoTriggerConfig < 3) { - checkUnnamed50(o.alertConfig!); + checkUnnamed51(o.alertConfig!); checkEnterpriseCrmEventbusProtoCloudSchedulerConfig( o.cloudSchedulerConfig!); unittest.expect( o.description!, unittest.equals('foo'), ); - checkUnnamed51(o.enabledClients!); + checkUnnamed52(o.enabledClients!); unittest.expect( o.errorCatcherId!, unittest.equals('foo'), @@ -4068,8 +4116,8 @@ void checkEnterpriseCrmFrontendsEventbusProtoTriggerConfig( ); unittest.expect(o.pauseWorkflowExecutions!, unittest.isTrue); checkEnterpriseCrmEventbusProtoCoordinate(o.position!); - checkUnnamed52(o.properties!); - checkUnnamed53(o.startTasks!); + checkUnnamed53(o.properties!); + checkUnnamed54(o.startTasks!); checkEnterpriseCrmEventbusProtoTriggerCriteria(o.triggerCriteria!); unittest.expect( o.triggerId!, @@ -4092,12 +4140,12 @@ void checkEnterpriseCrmFrontendsEventbusProtoTriggerConfig( } core.List - buildUnnamed54() => [ + buildUnnamed55() => [ buildEnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry(), buildEnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry(), ]; -void checkUnnamed54( +void checkUnnamed55( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -4114,7 +4162,7 @@ api.EnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry if (buildCounterEnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry < 3) { o.attributes = buildEnterpriseCrmEventbusProtoAttributes(); - o.children = buildUnnamed54(); + o.children = buildUnnamed55(); o.containsLargeData = true; o.dataType = 'foo'; o.defaultValue = @@ -4141,7 +4189,7 @@ void checkEnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry( if (buildCounterEnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry < 3) { checkEnterpriseCrmEventbusProtoAttributes(o.attributes!); - checkUnnamed54(o.children!); + checkUnnamed55(o.children!); unittest.expect(o.containsLargeData!, unittest.isTrue); unittest.expect( o.dataType!, @@ -4188,12 +4236,12 @@ void checkEnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry( } core.List - buildUnnamed55() => [ + buildUnnamed56() => [ buildEnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry(), buildEnterpriseCrmFrontendsEventbusProtoWorkflowParameterEntry(), ]; -void checkUnnamed55( +void checkUnnamed56( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -4207,7 +4255,7 @@ api.EnterpriseCrmFrontendsEventbusProtoWorkflowParameters final o = api.EnterpriseCrmFrontendsEventbusProtoWorkflowParameters(); buildCounterEnterpriseCrmFrontendsEventbusProtoWorkflowParameters++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoWorkflowParameters < 3) { - o.parameters = buildUnnamed55(); + o.parameters = buildUnnamed56(); } buildCounterEnterpriseCrmFrontendsEventbusProtoWorkflowParameters--; return o; @@ -4217,17 +4265,17 @@ void checkEnterpriseCrmFrontendsEventbusProtoWorkflowParameters( api.EnterpriseCrmFrontendsEventbusProtoWorkflowParameters o) { buildCounterEnterpriseCrmFrontendsEventbusProtoWorkflowParameters++; if (buildCounterEnterpriseCrmFrontendsEventbusProtoWorkflowParameters < 3) { - checkUnnamed55(o.parameters!); + checkUnnamed56(o.parameters!); } buildCounterEnterpriseCrmFrontendsEventbusProtoWorkflowParameters--; } -core.List buildUnnamed56() => [ +core.List buildUnnamed57() => [ 'foo', 'foo', ]; -void checkUnnamed56(core.List o) { +void checkUnnamed57(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4246,7 +4294,7 @@ api.EnterpriseCrmLoggingGwsFieldLimits buildCounterEnterpriseCrmLoggingGwsFieldLimits++; if (buildCounterEnterpriseCrmLoggingGwsFieldLimits < 3) { o.logAction = 'foo'; - o.logType = buildUnnamed56(); + o.logType = buildUnnamed57(); o.maxArraySize = 42; o.maxStringLength = 42; o.shortenerType = 'foo'; @@ -4263,7 +4311,7 @@ void checkEnterpriseCrmLoggingGwsFieldLimits( o.logAction!, unittest.equals('foo'), ); - checkUnnamed56(o.logType!); + checkUnnamed57(o.logType!); unittest.expect( o.maxArraySize!, unittest.equals(42), @@ -4280,12 +4328,12 @@ void checkEnterpriseCrmLoggingGwsFieldLimits( buildCounterEnterpriseCrmLoggingGwsFieldLimits--; } -core.List buildUnnamed57() => [ +core.List buildUnnamed58() => [ 'foo', 'foo', ]; -void checkUnnamed57(core.List o) { +void checkUnnamed58(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4304,7 +4352,7 @@ api.EnterpriseCrmLoggingGwsSanitizeOptions buildCounterEnterpriseCrmLoggingGwsSanitizeOptions++; if (buildCounterEnterpriseCrmLoggingGwsSanitizeOptions < 3) { o.isAlreadySanitized = true; - o.logType = buildUnnamed57(); + o.logType = buildUnnamed58(); o.privacy = 'foo'; o.sanitizeType = 'foo'; } @@ -4317,7 +4365,7 @@ void checkEnterpriseCrmLoggingGwsSanitizeOptions( buildCounterEnterpriseCrmLoggingGwsSanitizeOptions++; if (buildCounterEnterpriseCrmLoggingGwsSanitizeOptions < 3) { unittest.expect(o.isAlreadySanitized!, unittest.isTrue); - checkUnnamed57(o.logType!); + checkUnnamed58(o.logType!); unittest.expect( o.privacy!, unittest.equals('foo'), @@ -4330,12 +4378,12 @@ void checkEnterpriseCrmLoggingGwsSanitizeOptions( buildCounterEnterpriseCrmLoggingGwsSanitizeOptions--; } -core.List buildUnnamed58() => [ +core.List buildUnnamed59() => [ buildGoogleCloudConnectorsV1ConfigVariable(), buildGoogleCloudConnectorsV1ConfigVariable(), ]; -void checkUnnamed58(core.List o) { +void checkUnnamed59(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudConnectorsV1ConfigVariable(o[0]); checkGoogleCloudConnectorsV1ConfigVariable(o[1]); @@ -4346,7 +4394,7 @@ api.GoogleCloudConnectorsV1AuthConfig buildGoogleCloudConnectorsV1AuthConfig() { final o = api.GoogleCloudConnectorsV1AuthConfig(); buildCounterGoogleCloudConnectorsV1AuthConfig++; if (buildCounterGoogleCloudConnectorsV1AuthConfig < 3) { - o.additionalVariables = buildUnnamed58(); + o.additionalVariables = buildUnnamed59(); o.authKey = 'foo'; o.authType = 'foo'; o.oauth2AuthCodeFlow = @@ -4365,7 +4413,7 @@ void checkGoogleCloudConnectorsV1AuthConfig( api.GoogleCloudConnectorsV1AuthConfig o) { buildCounterGoogleCloudConnectorsV1AuthConfig++; if (buildCounterGoogleCloudConnectorsV1AuthConfig < 3) { - checkUnnamed58(o.additionalVariables!); + checkUnnamed59(o.additionalVariables!); unittest.expect( o.authKey!, unittest.equals('foo'), @@ -4385,12 +4433,12 @@ void checkGoogleCloudConnectorsV1AuthConfig( buildCounterGoogleCloudConnectorsV1AuthConfig--; } -core.List buildUnnamed59() => [ +core.List buildUnnamed60() => [ 'foo', 'foo', ]; -void checkUnnamed59(core.List o) { +void checkUnnamed60(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4415,7 +4463,7 @@ api.GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow o.enablePkce = true; o.pkceVerifier = 'foo'; o.redirectUri = 'foo'; - o.scopes = buildUnnamed59(); + o.scopes = buildUnnamed60(); } buildCounterGoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow--; return o; @@ -4447,7 +4495,7 @@ void checkGoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow( o.redirectUri!, unittest.equals('foo'), ); - checkUnnamed59(o.scopes!); + checkUnnamed60(o.scopes!); } buildCounterGoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow--; } @@ -4666,34 +4714,34 @@ void checkGoogleCloudConnectorsV1ConfigVariable( buildCounterGoogleCloudConnectorsV1ConfigVariable--; } -core.List buildUnnamed60() => [ +core.List buildUnnamed61() => [ buildGoogleCloudConnectorsV1ConfigVariable(), buildGoogleCloudConnectorsV1ConfigVariable(), ]; -void checkUnnamed60(core.List o) { +void checkUnnamed61(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudConnectorsV1ConfigVariable(o[0]); checkGoogleCloudConnectorsV1ConfigVariable(o[1]); } -core.List buildUnnamed61() => [ +core.List buildUnnamed62() => [ buildGoogleCloudConnectorsV1DestinationConfig(), buildGoogleCloudConnectorsV1DestinationConfig(), ]; -void checkUnnamed61(core.List o) { +void checkUnnamed62(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudConnectorsV1DestinationConfig(o[0]); checkGoogleCloudConnectorsV1DestinationConfig(o[1]); } -core.Map buildUnnamed62() => { +core.Map buildUnnamed63() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed62(core.Map o) { +void checkUnnamed63(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4712,7 +4760,7 @@ api.GoogleCloudConnectorsV1Connection buildGoogleCloudConnectorsV1Connection() { if (buildCounterGoogleCloudConnectorsV1Connection < 3) { o.authConfig = buildGoogleCloudConnectorsV1AuthConfig(); o.billingConfig = buildGoogleCloudConnectorsV1BillingConfig(); - o.configVariables = buildUnnamed60(); + o.configVariables = buildUnnamed61(); o.connectionRevision = 'foo'; o.connectorVersion = 'foo'; o.connectorVersionInfraConfig = @@ -4720,14 +4768,14 @@ api.GoogleCloudConnectorsV1Connection buildGoogleCloudConnectorsV1Connection() { o.connectorVersionLaunchStage = 'foo'; o.createTime = 'foo'; o.description = 'foo'; - o.destinationConfigs = buildUnnamed61(); + o.destinationConfigs = buildUnnamed62(); o.envoyImageLocation = 'foo'; o.eventingConfig = buildGoogleCloudConnectorsV1EventingConfig(); o.eventingEnablementType = 'foo'; o.eventingRuntimeData = buildGoogleCloudConnectorsV1EventingRuntimeData(); o.imageLocation = 'foo'; o.isTrustedTester = true; - o.labels = buildUnnamed62(); + o.labels = buildUnnamed63(); o.lockConfig = buildGoogleCloudConnectorsV1LockConfig(); o.logConfig = buildGoogleCloudConnectorsV1LogConfig(); o.name = 'foo'; @@ -4750,7 +4798,7 @@ void checkGoogleCloudConnectorsV1Connection( if (buildCounterGoogleCloudConnectorsV1Connection < 3) { checkGoogleCloudConnectorsV1AuthConfig(o.authConfig!); checkGoogleCloudConnectorsV1BillingConfig(o.billingConfig!); - checkUnnamed60(o.configVariables!); + checkUnnamed61(o.configVariables!); unittest.expect( o.connectionRevision!, unittest.equals('foo'), @@ -4773,7 +4821,7 @@ void checkGoogleCloudConnectorsV1Connection( o.description!, unittest.equals('foo'), ); - checkUnnamed61(o.destinationConfigs!); + checkUnnamed62(o.destinationConfigs!); unittest.expect( o.envoyImageLocation!, unittest.equals('foo'), @@ -4789,7 +4837,7 @@ void checkGoogleCloudConnectorsV1Connection( unittest.equals('foo'), ); unittest.expect(o.isTrustedTester!, unittest.isTrue); - checkUnnamed62(o.labels!); + checkUnnamed63(o.labels!); checkGoogleCloudConnectorsV1LockConfig(o.lockConfig!); checkGoogleCloudConnectorsV1LogConfig(o.logConfig!); unittest.expect( @@ -4938,12 +4986,12 @@ void checkGoogleCloudConnectorsV1Destination( buildCounterGoogleCloudConnectorsV1Destination--; } -core.List buildUnnamed63() => [ +core.List buildUnnamed64() => [ buildGoogleCloudConnectorsV1Destination(), buildGoogleCloudConnectorsV1Destination(), ]; -void checkUnnamed63(core.List o) { +void checkUnnamed64(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudConnectorsV1Destination(o[0]); checkGoogleCloudConnectorsV1Destination(o[1]); @@ -4955,7 +5003,7 @@ api.GoogleCloudConnectorsV1DestinationConfig final o = api.GoogleCloudConnectorsV1DestinationConfig(); buildCounterGoogleCloudConnectorsV1DestinationConfig++; if (buildCounterGoogleCloudConnectorsV1DestinationConfig < 3) { - o.destinations = buildUnnamed63(); + o.destinations = buildUnnamed64(); o.key = 'foo'; } buildCounterGoogleCloudConnectorsV1DestinationConfig--; @@ -4966,7 +5014,7 @@ void checkGoogleCloudConnectorsV1DestinationConfig( api.GoogleCloudConnectorsV1DestinationConfig o) { buildCounterGoogleCloudConnectorsV1DestinationConfig++; if (buildCounterGoogleCloudConnectorsV1DestinationConfig < 3) { - checkUnnamed63(o.destinations!); + checkUnnamed64(o.destinations!); unittest.expect( o.key!, unittest.equals('foo'), @@ -5004,12 +5052,12 @@ void checkGoogleCloudConnectorsV1EncryptionKey( buildCounterGoogleCloudConnectorsV1EncryptionKey--; } -core.List buildUnnamed64() => [ +core.List buildUnnamed65() => [ buildGoogleCloudConnectorsV1ConfigVariable(), buildGoogleCloudConnectorsV1ConfigVariable(), ]; -void checkUnnamed64(core.List o) { +void checkUnnamed65(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudConnectorsV1ConfigVariable(o[0]); checkGoogleCloudConnectorsV1ConfigVariable(o[1]); @@ -5021,7 +5069,7 @@ api.GoogleCloudConnectorsV1EventingConfig final o = api.GoogleCloudConnectorsV1EventingConfig(); buildCounterGoogleCloudConnectorsV1EventingConfig++; if (buildCounterGoogleCloudConnectorsV1EventingConfig < 3) { - o.additionalVariables = buildUnnamed64(); + o.additionalVariables = buildUnnamed65(); o.authConfig = buildGoogleCloudConnectorsV1AuthConfig(); o.deadLetterConfig = buildGoogleCloudConnectorsV1EventingConfigDeadLetterConfig(); @@ -5041,7 +5089,7 @@ void checkGoogleCloudConnectorsV1EventingConfig( api.GoogleCloudConnectorsV1EventingConfig o) { buildCounterGoogleCloudConnectorsV1EventingConfig++; if (buildCounterGoogleCloudConnectorsV1EventingConfig < 3) { - checkUnnamed64(o.additionalVariables!); + checkUnnamed65(o.additionalVariables!); checkGoogleCloudConnectorsV1AuthConfig(o.authConfig!); checkGoogleCloudConnectorsV1EventingConfigDeadLetterConfig( o.deadLetterConfig!); @@ -5122,12 +5170,12 @@ void checkGoogleCloudConnectorsV1EventingRuntimeData( buildCounterGoogleCloudConnectorsV1EventingRuntimeData--; } -core.List buildUnnamed65() => [ +core.List buildUnnamed66() => [ buildGoogleCloudConnectorsV1ConfigVariable(), buildGoogleCloudConnectorsV1ConfigVariable(), ]; -void checkUnnamed65(core.List o) { +void checkUnnamed66(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudConnectorsV1ConfigVariable(o[0]); checkGoogleCloudConnectorsV1ConfigVariable(o[1]); @@ -5139,7 +5187,7 @@ api.GoogleCloudConnectorsV1EventingRuntimeDataWebhookData final o = api.GoogleCloudConnectorsV1EventingRuntimeDataWebhookData(); buildCounterGoogleCloudConnectorsV1EventingRuntimeDataWebhookData++; if (buildCounterGoogleCloudConnectorsV1EventingRuntimeDataWebhookData < 3) { - o.additionalVariables = buildUnnamed65(); + o.additionalVariables = buildUnnamed66(); o.createTime = 'foo'; o.id = 'foo'; o.name = 'foo'; @@ -5154,7 +5202,7 @@ void checkGoogleCloudConnectorsV1EventingRuntimeDataWebhookData( api.GoogleCloudConnectorsV1EventingRuntimeDataWebhookData o) { buildCounterGoogleCloudConnectorsV1EventingRuntimeDataWebhookData++; if (buildCounterGoogleCloudConnectorsV1EventingRuntimeDataWebhookData < 3) { - checkUnnamed65(o.additionalVariables!); + checkUnnamed66(o.additionalVariables!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -5394,12 +5442,12 @@ void checkGoogleCloudConnectorsV1Secret(api.GoogleCloudConnectorsV1Secret o) { buildCounterGoogleCloudConnectorsV1Secret--; } -core.List buildUnnamed66() => [ +core.List buildUnnamed67() => [ buildGoogleCloudConnectorsV1ConfigVariable(), buildGoogleCloudConnectorsV1ConfigVariable(), ]; -void checkUnnamed66(core.List o) { +void checkUnnamed67(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudConnectorsV1ConfigVariable(o[0]); checkGoogleCloudConnectorsV1ConfigVariable(o[1]); @@ -5410,7 +5458,7 @@ api.GoogleCloudConnectorsV1SslConfig buildGoogleCloudConnectorsV1SslConfig() { final o = api.GoogleCloudConnectorsV1SslConfig(); buildCounterGoogleCloudConnectorsV1SslConfig++; if (buildCounterGoogleCloudConnectorsV1SslConfig < 3) { - o.additionalVariables = buildUnnamed66(); + o.additionalVariables = buildUnnamed67(); o.clientCertType = 'foo'; o.clientCertificate = buildGoogleCloudConnectorsV1Secret(); o.clientPrivateKey = buildGoogleCloudConnectorsV1Secret(); @@ -5429,7 +5477,7 @@ void checkGoogleCloudConnectorsV1SslConfig( api.GoogleCloudConnectorsV1SslConfig o) { buildCounterGoogleCloudConnectorsV1SslConfig++; if (buildCounterGoogleCloudConnectorsV1SslConfig < 3) { - checkUnnamed66(o.additionalVariables!); + checkUnnamed67(o.additionalVariables!); unittest.expect( o.clientCertType!, unittest.equals('foo'), @@ -5528,12 +5576,12 @@ void checkGoogleCloudIntegrationsV1alphaAttemptStats( buildCounterGoogleCloudIntegrationsV1alphaAttemptStats--; } -core.List buildUnnamed67() => [ +core.List buildUnnamed68() => [ 'foo', 'foo', ]; -void checkUnnamed67(core.List o) { +void checkUnnamed68(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5559,7 +5607,7 @@ api.GoogleCloudIntegrationsV1alphaAuthConfig o.description = 'foo'; o.displayName = 'foo'; o.encryptedCredential = 'foo'; - o.expiryNotificationDuration = buildUnnamed67(); + o.expiryNotificationDuration = buildUnnamed68(); o.lastModifierEmail = 'foo'; o.name = 'foo'; o.overrideValidTime = 'foo'; @@ -5606,7 +5654,7 @@ void checkGoogleCloudIntegrationsV1alphaAuthConfig( o.encryptedCredential!, unittest.equals('foo'), ); - checkUnnamed67(o.expiryNotificationDuration!); + checkUnnamed68(o.expiryNotificationDuration!); unittest.expect( o.lastModifierEmail!, unittest.equals('foo'), @@ -5672,12 +5720,12 @@ void checkGoogleCloudIntegrationsV1alphaAuthToken( buildCounterGoogleCloudIntegrationsV1alphaAuthToken--; } -core.List buildUnnamed68() => [ +core.List buildUnnamed69() => [ true, true, ]; -void checkUnnamed68(core.List o) { +void checkUnnamed69(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.isTrue); unittest.expect(o[1], unittest.isTrue); @@ -5689,7 +5737,7 @@ api.GoogleCloudIntegrationsV1alphaBooleanParameterArray final o = api.GoogleCloudIntegrationsV1alphaBooleanParameterArray(); buildCounterGoogleCloudIntegrationsV1alphaBooleanParameterArray++; if (buildCounterGoogleCloudIntegrationsV1alphaBooleanParameterArray < 3) { - o.booleanValues = buildUnnamed68(); + o.booleanValues = buildUnnamed69(); } buildCounterGoogleCloudIntegrationsV1alphaBooleanParameterArray--; return o; @@ -5699,7 +5747,7 @@ void checkGoogleCloudIntegrationsV1alphaBooleanParameterArray( api.GoogleCloudIntegrationsV1alphaBooleanParameterArray o) { buildCounterGoogleCloudIntegrationsV1alphaBooleanParameterArray++; if (buildCounterGoogleCloudIntegrationsV1alphaBooleanParameterArray < 3) { - checkUnnamed68(o.booleanValues!); + checkUnnamed69(o.booleanValues!); } buildCounterGoogleCloudIntegrationsV1alphaBooleanParameterArray--; } @@ -6016,12 +6064,50 @@ void checkGoogleCloudIntegrationsV1alphaCloudSchedulerConfig( buildCounterGoogleCloudIntegrationsV1alphaCloudSchedulerConfig--; } -core.List buildUnnamed69() => [ +core.List buildUnnamed70() => [ + buildGoogleCloudIntegrationsV1alphaFailurePolicy(), + buildGoogleCloudIntegrationsV1alphaFailurePolicy(), + ]; + +void checkUnnamed70( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudIntegrationsV1alphaFailurePolicy(o[0]); + checkGoogleCloudIntegrationsV1alphaFailurePolicy(o[1]); +} + +core.int buildCounterGoogleCloudIntegrationsV1alphaConditionalFailurePolicies = + 0; +api.GoogleCloudIntegrationsV1alphaConditionalFailurePolicies + buildGoogleCloudIntegrationsV1alphaConditionalFailurePolicies() { + final o = api.GoogleCloudIntegrationsV1alphaConditionalFailurePolicies(); + buildCounterGoogleCloudIntegrationsV1alphaConditionalFailurePolicies++; + if (buildCounterGoogleCloudIntegrationsV1alphaConditionalFailurePolicies < + 3) { + o.defaultFailurePolicy = buildGoogleCloudIntegrationsV1alphaFailurePolicy(); + o.failurePolicies = buildUnnamed70(); + } + buildCounterGoogleCloudIntegrationsV1alphaConditionalFailurePolicies--; + return o; +} + +void checkGoogleCloudIntegrationsV1alphaConditionalFailurePolicies( + api.GoogleCloudIntegrationsV1alphaConditionalFailurePolicies o) { + buildCounterGoogleCloudIntegrationsV1alphaConditionalFailurePolicies++; + if (buildCounterGoogleCloudIntegrationsV1alphaConditionalFailurePolicies < + 3) { + checkGoogleCloudIntegrationsV1alphaFailurePolicy(o.defaultFailurePolicy!); + checkUnnamed70(o.failurePolicies!); + } + buildCounterGoogleCloudIntegrationsV1alphaConditionalFailurePolicies--; +} + +core.List buildUnnamed71() => [ 'foo', 'foo', ]; -void checkUnnamed69(core.List o) { +void checkUnnamed71(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6033,12 +6119,12 @@ void checkUnnamed69(core.List o) { ); } -core.List buildUnnamed70() => [ +core.List buildUnnamed72() => [ 'foo', 'foo', ]; -void checkUnnamed70(core.List o) { +void checkUnnamed72(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6056,8 +6142,8 @@ api.GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata final o = api.GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata(); buildCounterGoogleCloudIntegrationsV1alphaConnectionSchemaMetadata++; if (buildCounterGoogleCloudIntegrationsV1alphaConnectionSchemaMetadata < 3) { - o.actions = buildUnnamed69(); - o.entities = buildUnnamed70(); + o.actions = buildUnnamed71(); + o.entities = buildUnnamed72(); } buildCounterGoogleCloudIntegrationsV1alphaConnectionSchemaMetadata--; return o; @@ -6067,8 +6153,8 @@ void checkGoogleCloudIntegrationsV1alphaConnectionSchemaMetadata( api.GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata o) { buildCounterGoogleCloudIntegrationsV1alphaConnectionSchemaMetadata++; if (buildCounterGoogleCloudIntegrationsV1alphaConnectionSchemaMetadata < 3) { - checkUnnamed69(o.actions!); - checkUnnamed70(o.entities!); + checkUnnamed71(o.actions!); + checkUnnamed72(o.entities!); } buildCounterGoogleCloudIntegrationsV1alphaConnectionSchemaMetadata--; } @@ -6294,12 +6380,12 @@ void checkGoogleCloudIntegrationsV1alphaDeprovisionClientRequest( buildCounterGoogleCloudIntegrationsV1alphaDeprovisionClientRequest--; } -core.List buildUnnamed71() => [ +core.List buildUnnamed73() => [ 42.0, 42.0, ]; -void checkUnnamed71(core.List o) { +void checkUnnamed73(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6317,7 +6403,7 @@ api.GoogleCloudIntegrationsV1alphaDoubleParameterArray final o = api.GoogleCloudIntegrationsV1alphaDoubleParameterArray(); buildCounterGoogleCloudIntegrationsV1alphaDoubleParameterArray++; if (buildCounterGoogleCloudIntegrationsV1alphaDoubleParameterArray < 3) { - o.doubleValues = buildUnnamed71(); + o.doubleValues = buildUnnamed73(); } buildCounterGoogleCloudIntegrationsV1alphaDoubleParameterArray--; return o; @@ -6327,7 +6413,7 @@ void checkGoogleCloudIntegrationsV1alphaDoubleParameterArray( api.GoogleCloudIntegrationsV1alphaDoubleParameterArray o) { buildCounterGoogleCloudIntegrationsV1alphaDoubleParameterArray++; if (buildCounterGoogleCloudIntegrationsV1alphaDoubleParameterArray < 3) { - checkUnnamed71(o.doubleValues!); + checkUnnamed73(o.doubleValues!); } buildCounterGoogleCloudIntegrationsV1alphaDoubleParameterArray--; } @@ -6357,13 +6443,13 @@ void checkGoogleCloudIntegrationsV1alphaDownloadExecutionResponse( buildCounterGoogleCloudIntegrationsV1alphaDownloadExecutionResponse--; } -core.List buildUnnamed72() => +core.List buildUnnamed74() => [ buildGoogleCloudIntegrationsV1alphaSerializedFile(), buildGoogleCloudIntegrationsV1alphaSerializedFile(), ]; -void checkUnnamed72( +void checkUnnamed74( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaSerializedFile(o[0]); @@ -6381,7 +6467,7 @@ api.GoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse if (buildCounterGoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse < 3) { o.content = 'foo'; - o.files = buildUnnamed72(); + o.files = buildUnnamed74(); } buildCounterGoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse--; return o; @@ -6396,17 +6482,17 @@ void checkGoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse( o.content!, unittest.equals('foo'), ); - checkUnnamed72(o.files!); + checkUnnamed74(o.files!); } buildCounterGoogleCloudIntegrationsV1alphaDownloadIntegrationVersionResponse--; } -core.List buildUnnamed73() => [ +core.List buildUnnamed75() => [ buildGoogleCloudIntegrationsV1alphaFile(), buildGoogleCloudIntegrationsV1alphaFile(), ]; -void checkUnnamed73(core.List o) { +void checkUnnamed75(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaFile(o[0]); checkGoogleCloudIntegrationsV1alphaFile(o[1]); @@ -6420,7 +6506,7 @@ api.GoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse buildCounterGoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse < 3) { - o.files = buildUnnamed73(); + o.files = buildUnnamed75(); } buildCounterGoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse--; return o; @@ -6431,17 +6517,17 @@ void checkGoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse( buildCounterGoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse < 3) { - checkUnnamed73(o.files!); + checkUnnamed75(o.files!); } buildCounterGoogleCloudIntegrationsV1alphaDownloadJsonPackageResponse--; } -core.List buildUnnamed74() => [ +core.List buildUnnamed76() => [ 'foo', 'foo', ]; -void checkUnnamed74(core.List o) { +void checkUnnamed76(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6463,7 +6549,7 @@ api.GoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse buildCounterGoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse < 3) { - o.regions = buildUnnamed74(); + o.regions = buildUnnamed76(); } buildCounterGoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse--; return o; @@ -6475,17 +6561,17 @@ void checkGoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsRespons buildCounterGoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse < 3) { - checkUnnamed74(o.regions!); + checkUnnamed76(o.regions!); } buildCounterGoogleCloudIntegrationsV1alphaEnumerateConnectorPlatformRegionsResponse--; } -core.List buildUnnamed75() => [ +core.List buildUnnamed77() => [ buildGoogleCloudIntegrationsV1alphaNextTask(), buildGoogleCloudIntegrationsV1alphaNextTask(), ]; -void checkUnnamed75(core.List o) { +void checkUnnamed77(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaNextTask(o[0]); checkGoogleCloudIntegrationsV1alphaNextTask(o[1]); @@ -6502,7 +6588,7 @@ api.GoogleCloudIntegrationsV1alphaErrorCatcherConfig o.errorCatcherNumber = 'foo'; o.label = 'foo'; o.position = buildGoogleCloudIntegrationsV1alphaCoordinate(); - o.startErrorTasks = buildUnnamed75(); + o.startErrorTasks = buildUnnamed77(); } buildCounterGoogleCloudIntegrationsV1alphaErrorCatcherConfig--; return o; @@ -6529,7 +6615,7 @@ void checkGoogleCloudIntegrationsV1alphaErrorCatcherConfig( unittest.equals('foo'), ); checkGoogleCloudIntegrationsV1alphaCoordinate(o.position!); - checkUnnamed75(o.startErrorTasks!); + checkUnnamed77(o.startErrorTasks!); } buildCounterGoogleCloudIntegrationsV1alphaErrorCatcherConfig--; } @@ -6587,12 +6673,12 @@ void checkGoogleCloudIntegrationsV1alphaExecuteEventResponse( } core.Map - buildUnnamed76() => { + buildUnnamed78() => { 'x': buildGoogleCloudIntegrationsV1alphaValueType(), 'y': buildGoogleCloudIntegrationsV1alphaValueType(), }; -void checkUnnamed76( +void checkUnnamed78( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaValueType(o['x']!); @@ -6600,12 +6686,12 @@ void checkUnnamed76( } core.List - buildUnnamed77() => [ + buildUnnamed79() => [ buildEnterpriseCrmFrontendsEventbusProtoParameterEntry(), buildEnterpriseCrmFrontendsEventbusProtoParameterEntry(), ]; -void checkUnnamed77( +void checkUnnamed79( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmFrontendsEventbusProtoParameterEntry(o[0]); @@ -6622,8 +6708,8 @@ api.GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest 3) { o.doNotPropagateError = true; o.executionId = 'foo'; - o.inputParameters = buildUnnamed76(); - o.parameterEntries = buildUnnamed77(); + o.inputParameters = buildUnnamed78(); + o.parameterEntries = buildUnnamed79(); o.parameters = buildEnterpriseCrmFrontendsEventbusProtoEventParameters(); o.requestId = 'foo'; o.triggerId = 'foo'; @@ -6642,8 +6728,8 @@ void checkGoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest( o.executionId!, unittest.equals('foo'), ); - checkUnnamed76(o.inputParameters!); - checkUnnamed77(o.parameterEntries!); + checkUnnamed78(o.inputParameters!); + checkUnnamed79(o.parameterEntries!); checkEnterpriseCrmFrontendsEventbusProtoEventParameters(o.parameters!); unittest.expect( o.requestId!, @@ -6657,7 +6743,7 @@ void checkGoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest( buildCounterGoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest--; } -core.Map buildUnnamed78() => { +core.Map buildUnnamed80() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -6670,7 +6756,7 @@ core.Map buildUnnamed78() => { }, }; -void checkUnnamed78(core.Map o) { +void checkUnnamed80(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted11 = (o['x']!) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); @@ -6703,12 +6789,12 @@ void checkUnnamed78(core.Map o) { } core.List - buildUnnamed79() => [ + buildUnnamed81() => [ buildEnterpriseCrmFrontendsEventbusProtoParameterEntry(), buildEnterpriseCrmFrontendsEventbusProtoParameterEntry(), ]; -void checkUnnamed79( +void checkUnnamed81( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmFrontendsEventbusProtoParameterEntry(o[0]); @@ -6727,8 +6813,8 @@ api.GoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse buildEnterpriseCrmFrontendsEventbusProtoEventParameters(); o.executionFailed = true; o.executionId = 'foo'; - o.outputParameters = buildUnnamed78(); - o.parameterEntries = buildUnnamed79(); + o.outputParameters = buildUnnamed80(); + o.parameterEntries = buildUnnamed81(); } buildCounterGoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse--; return o; @@ -6745,30 +6831,30 @@ void checkGoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse( o.executionId!, unittest.equals('foo'), ); - checkUnnamed78(o.outputParameters!); - checkUnnamed79(o.parameterEntries!); + checkUnnamed80(o.outputParameters!); + checkUnnamed81(o.parameterEntries!); } buildCounterGoogleCloudIntegrationsV1alphaExecuteIntegrationsResponse--; } -core.List buildUnnamed80() => [ +core.List buildUnnamed82() => [ buildGoogleCloudIntegrationsV1alphaExecution(), buildGoogleCloudIntegrationsV1alphaExecution(), ]; -void checkUnnamed80(core.List o) { +void checkUnnamed82(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaExecution(o[0]); checkGoogleCloudIntegrationsV1alphaExecution(o[1]); } core.Map - buildUnnamed81() => { + buildUnnamed83() => { 'x': buildGoogleCloudIntegrationsV1alphaValueType(), 'y': buildGoogleCloudIntegrationsV1alphaValueType(), }; -void checkUnnamed81( +void checkUnnamed83( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaValueType(o['x']!); @@ -6776,12 +6862,12 @@ void checkUnnamed81( } core.List - buildUnnamed82() => [ + buildUnnamed84() => [ buildEnterpriseCrmFrontendsEventbusProtoParameterEntry(), buildEnterpriseCrmFrontendsEventbusProtoParameterEntry(), ]; -void checkUnnamed82( +void checkUnnamed84( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmFrontendsEventbusProtoParameterEntry(o[0]); @@ -6789,12 +6875,12 @@ void checkUnnamed82( } core.Map - buildUnnamed83() => { + buildUnnamed85() => { 'x': buildGoogleCloudIntegrationsV1alphaValueType(), 'y': buildGoogleCloudIntegrationsV1alphaValueType(), }; -void checkUnnamed83( +void checkUnnamed85( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaValueType(o['x']!); @@ -6802,12 +6888,12 @@ void checkUnnamed83( } core.List - buildUnnamed84() => [ + buildUnnamed86() => [ buildEnterpriseCrmFrontendsEventbusProtoParameterEntry(), buildEnterpriseCrmFrontendsEventbusProtoParameterEntry(), ]; -void checkUnnamed84( +void checkUnnamed86( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmFrontendsEventbusProtoParameterEntry(o[0]); @@ -6823,7 +6909,7 @@ api.GoogleCloudIntegrationsV1alphaExecution o.cloudLoggingDetails = buildGoogleCloudIntegrationsV1alphaCloudLoggingDetails(); o.createTime = 'foo'; - o.directSubExecutions = buildUnnamed80(); + o.directSubExecutions = buildUnnamed82(); o.eventExecutionDetails = buildEnterpriseCrmEventbusProtoEventExecutionDetails(); o.executionDetails = buildGoogleCloudIntegrationsV1alphaExecutionDetails(); @@ -6831,10 +6917,10 @@ api.GoogleCloudIntegrationsV1alphaExecution o.integrationVersionState = 'foo'; o.name = 'foo'; o.replayInfo = buildGoogleCloudIntegrationsV1alphaExecutionReplayInfo(); - o.requestParameters = buildUnnamed81(); - o.requestParams = buildUnnamed82(); - o.responseParameters = buildUnnamed83(); - o.responseParams = buildUnnamed84(); + o.requestParameters = buildUnnamed83(); + o.requestParams = buildUnnamed84(); + o.responseParameters = buildUnnamed85(); + o.responseParams = buildUnnamed86(); o.snapshotNumber = 'foo'; o.triggerId = 'foo'; o.updateTime = 'foo'; @@ -6853,7 +6939,7 @@ void checkGoogleCloudIntegrationsV1alphaExecution( o.createTime!, unittest.equals('foo'), ); - checkUnnamed80(o.directSubExecutions!); + checkUnnamed82(o.directSubExecutions!); checkEnterpriseCrmEventbusProtoEventExecutionDetails( o.eventExecutionDetails!); checkGoogleCloudIntegrationsV1alphaExecutionDetails(o.executionDetails!); @@ -6870,10 +6956,10 @@ void checkGoogleCloudIntegrationsV1alphaExecution( unittest.equals('foo'), ); checkGoogleCloudIntegrationsV1alphaExecutionReplayInfo(o.replayInfo!); - checkUnnamed81(o.requestParameters!); - checkUnnamed82(o.requestParams!); - checkUnnamed83(o.responseParameters!); - checkUnnamed84(o.responseParams!); + checkUnnamed83(o.requestParameters!); + checkUnnamed84(o.requestParams!); + checkUnnamed85(o.responseParameters!); + checkUnnamed86(o.responseParams!); unittest.expect( o.snapshotNumber!, unittest.equals('foo'), @@ -6890,12 +6976,12 @@ void checkGoogleCloudIntegrationsV1alphaExecution( buildCounterGoogleCloudIntegrationsV1alphaExecution--; } -core.List buildUnnamed85() => [ +core.List buildUnnamed87() => [ buildGoogleCloudIntegrationsV1alphaAttemptStats(), buildGoogleCloudIntegrationsV1alphaAttemptStats(), ]; -void checkUnnamed85( +void checkUnnamed87( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaAttemptStats(o[0]); @@ -6903,12 +6989,12 @@ void checkUnnamed85( } core.List - buildUnnamed86() => [ + buildUnnamed88() => [ buildGoogleCloudIntegrationsV1alphaExecutionSnapshot(), buildGoogleCloudIntegrationsV1alphaExecutionSnapshot(), ]; -void checkUnnamed86( +void checkUnnamed88( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaExecutionSnapshot(o[0]); @@ -6921,9 +7007,9 @@ api.GoogleCloudIntegrationsV1alphaExecutionDetails final o = api.GoogleCloudIntegrationsV1alphaExecutionDetails(); buildCounterGoogleCloudIntegrationsV1alphaExecutionDetails++; if (buildCounterGoogleCloudIntegrationsV1alphaExecutionDetails < 3) { - o.attemptStats = buildUnnamed85(); + o.attemptStats = buildUnnamed87(); o.eventExecutionSnapshotsSize = 'foo'; - o.executionSnapshots = buildUnnamed86(); + o.executionSnapshots = buildUnnamed88(); o.state = 'foo'; } buildCounterGoogleCloudIntegrationsV1alphaExecutionDetails--; @@ -6934,12 +7020,12 @@ void checkGoogleCloudIntegrationsV1alphaExecutionDetails( api.GoogleCloudIntegrationsV1alphaExecutionDetails o) { buildCounterGoogleCloudIntegrationsV1alphaExecutionDetails++; if (buildCounterGoogleCloudIntegrationsV1alphaExecutionDetails < 3) { - checkUnnamed85(o.attemptStats!); + checkUnnamed87(o.attemptStats!); unittest.expect( o.eventExecutionSnapshotsSize!, unittest.equals('foo'), ); - checkUnnamed86(o.executionSnapshots!); + checkUnnamed88(o.executionSnapshots!); unittest.expect( o.state!, unittest.equals('foo'), @@ -6948,12 +7034,12 @@ void checkGoogleCloudIntegrationsV1alphaExecutionDetails( buildCounterGoogleCloudIntegrationsV1alphaExecutionDetails--; } -core.List buildUnnamed87() => [ +core.List buildUnnamed89() => [ 'foo', 'foo', ]; -void checkUnnamed87(core.List o) { +void checkUnnamed89(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6973,7 +7059,7 @@ api.GoogleCloudIntegrationsV1alphaExecutionReplayInfo if (buildCounterGoogleCloudIntegrationsV1alphaExecutionReplayInfo < 3) { o.originalExecutionInfoId = 'foo'; o.replayReason = 'foo'; - o.replayedExecutionInfoIds = buildUnnamed87(); + o.replayedExecutionInfoIds = buildUnnamed89(); } buildCounterGoogleCloudIntegrationsV1alphaExecutionReplayInfo--; return o; @@ -6991,18 +7077,18 @@ void checkGoogleCloudIntegrationsV1alphaExecutionReplayInfo( o.replayReason!, unittest.equals('foo'), ); - checkUnnamed87(o.replayedExecutionInfoIds!); + checkUnnamed89(o.replayedExecutionInfoIds!); } buildCounterGoogleCloudIntegrationsV1alphaExecutionReplayInfo--; } core.Map - buildUnnamed88() => { + buildUnnamed90() => { 'x': buildGoogleCloudIntegrationsV1alphaValueType(), 'y': buildGoogleCloudIntegrationsV1alphaValueType(), }; -void checkUnnamed88( +void checkUnnamed90( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaValueType(o['x']!); @@ -7010,12 +7096,12 @@ void checkUnnamed88( } core.List - buildUnnamed89() => [ + buildUnnamed91() => [ buildGoogleCloudIntegrationsV1alphaTaskExecutionDetails(), buildGoogleCloudIntegrationsV1alphaTaskExecutionDetails(), ]; -void checkUnnamed89( +void checkUnnamed91( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaTaskExecutionDetails(o[0]); @@ -7031,8 +7117,8 @@ api.GoogleCloudIntegrationsV1alphaExecutionSnapshot o.checkpointTaskNumber = 'foo'; o.executionSnapshotMetadata = buildGoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata(); - o.params = buildUnnamed88(); - o.taskExecutionDetails = buildUnnamed89(); + o.params = buildUnnamed90(); + o.taskExecutionDetails = buildUnnamed91(); } buildCounterGoogleCloudIntegrationsV1alphaExecutionSnapshot--; return o; @@ -7048,18 +7134,18 @@ void checkGoogleCloudIntegrationsV1alphaExecutionSnapshot( ); checkGoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata( o.executionSnapshotMetadata!); - checkUnnamed88(o.params!); - checkUnnamed89(o.taskExecutionDetails!); + checkUnnamed90(o.params!); + checkUnnamed91(o.taskExecutionDetails!); } buildCounterGoogleCloudIntegrationsV1alphaExecutionSnapshot--; } -core.List buildUnnamed90() => [ +core.List buildUnnamed92() => [ 'foo', 'foo', ]; -void checkUnnamed90(core.List o) { +void checkUnnamed92(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7071,12 +7157,12 @@ void checkUnnamed90(core.List o) { ); } -core.List buildUnnamed91() => [ +core.List buildUnnamed93() => [ 'foo', 'foo', ]; -void checkUnnamed91(core.List o) { +void checkUnnamed93(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7098,8 +7184,8 @@ api.GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata buildCounterGoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata++; if (buildCounterGoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata < 3) { - o.ancestorIterationNumbers = buildUnnamed90(); - o.ancestorTaskNumbers = buildUnnamed91(); + o.ancestorIterationNumbers = buildUnnamed92(); + o.ancestorTaskNumbers = buildUnnamed93(); o.executionAttempt = 42; o.integrationName = 'foo'; o.task = 'foo'; @@ -7117,8 +7203,8 @@ void checkGoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetada buildCounterGoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata++; if (buildCounterGoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata < 3) { - checkUnnamed90(o.ancestorIterationNumbers!); - checkUnnamed91(o.ancestorTaskNumbers!); + checkUnnamed92(o.ancestorIterationNumbers!); + checkUnnamed93(o.ancestorTaskNumbers!); unittest.expect( o.executionAttempt!, unittest.equals(42), @@ -7186,7 +7272,7 @@ void checkGoogleCloudIntegrationsV1alphaFailurePolicy( buildCounterGoogleCloudIntegrationsV1alphaFailurePolicy--; } -core.Map buildUnnamed92() => { +core.Map buildUnnamed94() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -7199,7 +7285,7 @@ core.Map buildUnnamed92() => { }, }; -void checkUnnamed92(core.Map o) { +void checkUnnamed94(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted13 = (o['x']!) as core.Map; unittest.expect(casted13, unittest.hasLength(3)); @@ -7237,7 +7323,7 @@ api.GoogleCloudIntegrationsV1alphaFile final o = api.GoogleCloudIntegrationsV1alphaFile(); buildCounterGoogleCloudIntegrationsV1alphaFile++; if (buildCounterGoogleCloudIntegrationsV1alphaFile < 3) { - o.integrationConfig = buildUnnamed92(); + o.integrationConfig = buildUnnamed94(); o.integrationVersion = buildGoogleCloudIntegrationsV1alphaIntegrationVersion(); o.type = 'foo'; @@ -7250,7 +7336,7 @@ void checkGoogleCloudIntegrationsV1alphaFile( api.GoogleCloudIntegrationsV1alphaFile o) { buildCounterGoogleCloudIntegrationsV1alphaFile++; if (buildCounterGoogleCloudIntegrationsV1alphaFile < 3) { - checkUnnamed92(o.integrationConfig!); + checkUnnamed94(o.integrationConfig!); checkGoogleCloudIntegrationsV1alphaIntegrationVersion( o.integrationVersion!); unittest.expect( @@ -7328,12 +7414,12 @@ void checkGoogleCloudIntegrationsV1alphaGetClientResponse( buildCounterGoogleCloudIntegrationsV1alphaGetClientResponse--; } -core.List buildUnnamed93() => [ +core.List buildUnnamed95() => [ 'foo', 'foo', ]; -void checkUnnamed93(core.List o) { +void checkUnnamed95(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7351,7 +7437,7 @@ api.GoogleCloudIntegrationsV1alphaIntParameterArray final o = api.GoogleCloudIntegrationsV1alphaIntParameterArray(); buildCounterGoogleCloudIntegrationsV1alphaIntParameterArray++; if (buildCounterGoogleCloudIntegrationsV1alphaIntParameterArray < 3) { - o.intValues = buildUnnamed93(); + o.intValues = buildUnnamed95(); } buildCounterGoogleCloudIntegrationsV1alphaIntParameterArray--; return o; @@ -7361,7 +7447,7 @@ void checkGoogleCloudIntegrationsV1alphaIntParameterArray( api.GoogleCloudIntegrationsV1alphaIntParameterArray o) { buildCounterGoogleCloudIntegrationsV1alphaIntParameterArray++; if (buildCounterGoogleCloudIntegrationsV1alphaIntParameterArray < 3) { - checkUnnamed93(o.intValues!); + checkUnnamed95(o.intValues!); } buildCounterGoogleCloudIntegrationsV1alphaIntParameterArray--; } @@ -7594,12 +7680,12 @@ void checkGoogleCloudIntegrationsV1alphaIntegrationParameter( } core.List - buildUnnamed94() => [ + buildUnnamed96() => [ buildGoogleCloudIntegrationsV1alphaErrorCatcherConfig(), buildGoogleCloudIntegrationsV1alphaErrorCatcherConfig(), ]; -void checkUnnamed94( +void checkUnnamed96( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaErrorCatcherConfig(o[0]); @@ -7607,12 +7693,12 @@ void checkUnnamed94( } core.List - buildUnnamed95() => [ + buildUnnamed97() => [ buildGoogleCloudIntegrationsV1alphaIntegrationConfigParameter(), buildGoogleCloudIntegrationsV1alphaIntegrationConfigParameter(), ]; -void checkUnnamed95( +void checkUnnamed97( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaIntegrationConfigParameter(o[0]); @@ -7620,48 +7706,49 @@ void checkUnnamed95( } core.List - buildUnnamed96() => [ + buildUnnamed98() => [ buildGoogleCloudIntegrationsV1alphaIntegrationParameter(), buildGoogleCloudIntegrationsV1alphaIntegrationParameter(), ]; -void checkUnnamed96( +void checkUnnamed98( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaIntegrationParameter(o[0]); checkGoogleCloudIntegrationsV1alphaIntegrationParameter(o[1]); } -core.List buildUnnamed97() => [ +core.List buildUnnamed99() => [ buildGoogleCloudIntegrationsV1alphaTaskConfig(), buildGoogleCloudIntegrationsV1alphaTaskConfig(), ]; -void checkUnnamed97(core.List o) { +void checkUnnamed99(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaTaskConfig(o[0]); checkGoogleCloudIntegrationsV1alphaTaskConfig(o[1]); } -core.List buildUnnamed98() => - [ - buildEnterpriseCrmFrontendsEventbusProtoTaskConfig(), - buildEnterpriseCrmFrontendsEventbusProtoTaskConfig(), - ]; +core.List + buildUnnamed100() => [ + buildEnterpriseCrmFrontendsEventbusProtoTaskConfig(), + buildEnterpriseCrmFrontendsEventbusProtoTaskConfig(), + ]; -void checkUnnamed98( +void checkUnnamed100( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmFrontendsEventbusProtoTaskConfig(o[0]); checkEnterpriseCrmFrontendsEventbusProtoTaskConfig(o[1]); } -core.List buildUnnamed99() => [ +core.List buildUnnamed101() => + [ buildGoogleCloudIntegrationsV1alphaTriggerConfig(), buildGoogleCloudIntegrationsV1alphaTriggerConfig(), ]; -void checkUnnamed99( +void checkUnnamed101( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaTriggerConfig(o[0]); @@ -7669,12 +7756,12 @@ void checkUnnamed99( } core.List - buildUnnamed100() => [ + buildUnnamed102() => [ buildEnterpriseCrmFrontendsEventbusProtoTriggerConfig(), buildEnterpriseCrmFrontendsEventbusProtoTriggerConfig(), ]; -void checkUnnamed100( +void checkUnnamed102( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmFrontendsEventbusProtoTriggerConfig(o[0]); @@ -7694,9 +7781,9 @@ api.GoogleCloudIntegrationsV1alphaIntegrationVersion o.databasePersistencePolicy = 'foo'; o.description = 'foo'; o.enableVariableMasking = true; - o.errorCatcherConfigs = buildUnnamed94(); - o.integrationConfigParameters = buildUnnamed95(); - o.integrationParameters = buildUnnamed96(); + o.errorCatcherConfigs = buildUnnamed96(); + o.integrationConfigParameters = buildUnnamed97(); + o.integrationParameters = buildUnnamed98(); o.integrationParametersInternal = buildEnterpriseCrmFrontendsEventbusProtoWorkflowParameters(); o.lastModifierEmail = 'foo'; @@ -7708,11 +7795,11 @@ api.GoogleCloudIntegrationsV1alphaIntegrationVersion o.snapshotNumber = 'foo'; o.state = 'foo'; o.status = 'foo'; - o.taskConfigs = buildUnnamed97(); - o.taskConfigsInternal = buildUnnamed98(); + o.taskConfigs = buildUnnamed99(); + o.taskConfigsInternal = buildUnnamed100(); o.teardown = buildEnterpriseCrmEventbusProtoTeardown(); - o.triggerConfigs = buildUnnamed99(); - o.triggerConfigsInternal = buildUnnamed100(); + o.triggerConfigs = buildUnnamed101(); + o.triggerConfigsInternal = buildUnnamed102(); o.updateTime = 'foo'; o.userLabel = 'foo'; } @@ -7743,9 +7830,9 @@ void checkGoogleCloudIntegrationsV1alphaIntegrationVersion( unittest.equals('foo'), ); unittest.expect(o.enableVariableMasking!, unittest.isTrue); - checkUnnamed94(o.errorCatcherConfigs!); - checkUnnamed95(o.integrationConfigParameters!); - checkUnnamed96(o.integrationParameters!); + checkUnnamed96(o.errorCatcherConfigs!); + checkUnnamed97(o.integrationConfigParameters!); + checkUnnamed98(o.integrationParameters!); checkEnterpriseCrmFrontendsEventbusProtoWorkflowParameters( o.integrationParametersInternal!); unittest.expect( @@ -7784,11 +7871,11 @@ void checkGoogleCloudIntegrationsV1alphaIntegrationVersion( o.status!, unittest.equals('foo'), ); - checkUnnamed97(o.taskConfigs!); - checkUnnamed98(o.taskConfigsInternal!); + checkUnnamed99(o.taskConfigs!); + checkUnnamed100(o.taskConfigsInternal!); checkEnterpriseCrmEventbusProtoTeardown(o.teardown!); - checkUnnamed99(o.triggerConfigs!); - checkUnnamed100(o.triggerConfigsInternal!); + checkUnnamed101(o.triggerConfigs!); + checkUnnamed102(o.triggerConfigsInternal!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -7941,12 +8028,12 @@ void checkGoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse( buildCounterGoogleCloudIntegrationsV1alphaLinkAppsScriptProjectResponse--; } -core.List buildUnnamed101() => [ +core.List buildUnnamed103() => [ buildGoogleCloudIntegrationsV1alphaAuthConfig(), buildGoogleCloudIntegrationsV1alphaAuthConfig(), ]; -void checkUnnamed101( +void checkUnnamed103( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaAuthConfig(o[0]); @@ -7959,7 +8046,7 @@ api.GoogleCloudIntegrationsV1alphaListAuthConfigsResponse final o = api.GoogleCloudIntegrationsV1alphaListAuthConfigsResponse(); buildCounterGoogleCloudIntegrationsV1alphaListAuthConfigsResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaListAuthConfigsResponse < 3) { - o.authConfigs = buildUnnamed101(); + o.authConfigs = buildUnnamed103(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudIntegrationsV1alphaListAuthConfigsResponse--; @@ -7970,7 +8057,7 @@ void checkGoogleCloudIntegrationsV1alphaListAuthConfigsResponse( api.GoogleCloudIntegrationsV1alphaListAuthConfigsResponse o) { buildCounterGoogleCloudIntegrationsV1alphaListAuthConfigsResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaListAuthConfigsResponse < 3) { - checkUnnamed101(o.authConfigs!); + checkUnnamed103(o.authConfigs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -7979,12 +8066,12 @@ void checkGoogleCloudIntegrationsV1alphaListAuthConfigsResponse( buildCounterGoogleCloudIntegrationsV1alphaListAuthConfigsResponse--; } -core.List buildUnnamed102() => [ +core.List buildUnnamed104() => [ buildGoogleCloudIntegrationsV1alphaCertificate(), buildGoogleCloudIntegrationsV1alphaCertificate(), ]; -void checkUnnamed102( +void checkUnnamed104( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaCertificate(o[0]); @@ -7997,7 +8084,7 @@ api.GoogleCloudIntegrationsV1alphaListCertificatesResponse final o = api.GoogleCloudIntegrationsV1alphaListCertificatesResponse(); buildCounterGoogleCloudIntegrationsV1alphaListCertificatesResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaListCertificatesResponse < 3) { - o.certificates = buildUnnamed102(); + o.certificates = buildUnnamed104(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudIntegrationsV1alphaListCertificatesResponse--; @@ -8008,7 +8095,7 @@ void checkGoogleCloudIntegrationsV1alphaListCertificatesResponse( api.GoogleCloudIntegrationsV1alphaListCertificatesResponse o) { buildCounterGoogleCloudIntegrationsV1alphaListCertificatesResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaListCertificatesResponse < 3) { - checkUnnamed102(o.certificates!); + checkUnnamed104(o.certificates!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -8017,12 +8104,12 @@ void checkGoogleCloudIntegrationsV1alphaListCertificatesResponse( buildCounterGoogleCloudIntegrationsV1alphaListCertificatesResponse--; } -core.List buildUnnamed103() => [ +core.List buildUnnamed105() => [ buildGoogleCloudConnectorsV1Connection(), buildGoogleCloudConnectorsV1Connection(), ]; -void checkUnnamed103(core.List o) { +void checkUnnamed105(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudConnectorsV1Connection(o[0]); checkGoogleCloudConnectorsV1Connection(o[1]); @@ -8034,7 +8121,7 @@ api.GoogleCloudIntegrationsV1alphaListConnectionsResponse final o = api.GoogleCloudIntegrationsV1alphaListConnectionsResponse(); buildCounterGoogleCloudIntegrationsV1alphaListConnectionsResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaListConnectionsResponse < 3) { - o.connections = buildUnnamed103(); + o.connections = buildUnnamed105(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudIntegrationsV1alphaListConnectionsResponse--; @@ -8045,7 +8132,7 @@ void checkGoogleCloudIntegrationsV1alphaListConnectionsResponse( api.GoogleCloudIntegrationsV1alphaListConnectionsResponse o) { buildCounterGoogleCloudIntegrationsV1alphaListConnectionsResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaListConnectionsResponse < 3) { - checkUnnamed103(o.connections!); + checkUnnamed105(o.connections!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -8055,24 +8142,24 @@ void checkGoogleCloudIntegrationsV1alphaListConnectionsResponse( } core.List - buildUnnamed104() => [ + buildUnnamed106() => [ buildEnterpriseCrmFrontendsEventbusProtoEventExecutionInfo(), buildEnterpriseCrmFrontendsEventbusProtoEventExecutionInfo(), ]; -void checkUnnamed104( +void checkUnnamed106( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmFrontendsEventbusProtoEventExecutionInfo(o[0]); checkEnterpriseCrmFrontendsEventbusProtoEventExecutionInfo(o[1]); } -core.List buildUnnamed105() => [ +core.List buildUnnamed107() => [ buildGoogleCloudIntegrationsV1alphaExecution(), buildGoogleCloudIntegrationsV1alphaExecution(), ]; -void checkUnnamed105(core.List o) { +void checkUnnamed107(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaExecution(o[0]); checkGoogleCloudIntegrationsV1alphaExecution(o[1]); @@ -8084,8 +8171,8 @@ api.GoogleCloudIntegrationsV1alphaListExecutionsResponse final o = api.GoogleCloudIntegrationsV1alphaListExecutionsResponse(); buildCounterGoogleCloudIntegrationsV1alphaListExecutionsResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaListExecutionsResponse < 3) { - o.executionInfos = buildUnnamed104(); - o.executions = buildUnnamed105(); + o.executionInfos = buildUnnamed106(); + o.executions = buildUnnamed107(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudIntegrationsV1alphaListExecutionsResponse--; @@ -8096,8 +8183,8 @@ void checkGoogleCloudIntegrationsV1alphaListExecutionsResponse( api.GoogleCloudIntegrationsV1alphaListExecutionsResponse o) { buildCounterGoogleCloudIntegrationsV1alphaListExecutionsResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaListExecutionsResponse < 3) { - checkUnnamed104(o.executionInfos!); - checkUnnamed105(o.executions!); + checkUnnamed106(o.executionInfos!); + checkUnnamed107(o.executions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -8107,12 +8194,12 @@ void checkGoogleCloudIntegrationsV1alphaListExecutionsResponse( } core.List - buildUnnamed106() => [ + buildUnnamed108() => [ buildGoogleCloudIntegrationsV1alphaIntegrationVersion(), buildGoogleCloudIntegrationsV1alphaIntegrationVersion(), ]; -void checkUnnamed106( +void checkUnnamed108( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaIntegrationVersion(o[0]); @@ -8128,7 +8215,7 @@ api.GoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse buildCounterGoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse < 3) { - o.integrationVersions = buildUnnamed106(); + o.integrationVersions = buildUnnamed108(); o.nextPageToken = 'foo'; o.noPermission = true; } @@ -8141,7 +8228,7 @@ void checkGoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse( buildCounterGoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse < 3) { - checkUnnamed106(o.integrationVersions!); + checkUnnamed108(o.integrationVersions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -8151,12 +8238,12 @@ void checkGoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse( buildCounterGoogleCloudIntegrationsV1alphaListIntegrationVersionsResponse--; } -core.List buildUnnamed107() => [ +core.List buildUnnamed109() => [ buildGoogleCloudIntegrationsV1alphaIntegration(), buildGoogleCloudIntegrationsV1alphaIntegration(), ]; -void checkUnnamed107( +void checkUnnamed109( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaIntegration(o[0]); @@ -8169,7 +8256,7 @@ api.GoogleCloudIntegrationsV1alphaListIntegrationsResponse final o = api.GoogleCloudIntegrationsV1alphaListIntegrationsResponse(); buildCounterGoogleCloudIntegrationsV1alphaListIntegrationsResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaListIntegrationsResponse < 3) { - o.integrations = buildUnnamed107(); + o.integrations = buildUnnamed109(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudIntegrationsV1alphaListIntegrationsResponse--; @@ -8180,7 +8267,7 @@ void checkGoogleCloudIntegrationsV1alphaListIntegrationsResponse( api.GoogleCloudIntegrationsV1alphaListIntegrationsResponse o) { buildCounterGoogleCloudIntegrationsV1alphaListIntegrationsResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaListIntegrationsResponse < 3) { - checkUnnamed107(o.integrations!); + checkUnnamed109(o.integrations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -8190,12 +8277,12 @@ void checkGoogleCloudIntegrationsV1alphaListIntegrationsResponse( } core.List - buildUnnamed108() => [ + buildUnnamed110() => [ buildGoogleCloudIntegrationsV1alphaRuntimeActionSchema(), buildGoogleCloudIntegrationsV1alphaRuntimeActionSchema(), ]; -void checkUnnamed108( +void checkUnnamed110( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaRuntimeActionSchema(o[0]); @@ -8213,7 +8300,7 @@ api.GoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse if (buildCounterGoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse < 3) { o.nextPageToken = 'foo'; - o.runtimeActionSchemas = buildUnnamed108(); + o.runtimeActionSchemas = buildUnnamed110(); } buildCounterGoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse--; return o; @@ -8228,18 +8315,18 @@ void checkGoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed108(o.runtimeActionSchemas!); + checkUnnamed110(o.runtimeActionSchemas!); } buildCounterGoogleCloudIntegrationsV1alphaListRuntimeActionSchemasResponse--; } core.List - buildUnnamed109() => [ + buildUnnamed111() => [ buildGoogleCloudIntegrationsV1alphaRuntimeEntitySchema(), buildGoogleCloudIntegrationsV1alphaRuntimeEntitySchema(), ]; -void checkUnnamed109( +void checkUnnamed111( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaRuntimeEntitySchema(o[0]); @@ -8257,7 +8344,7 @@ api.GoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse if (buildCounterGoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse < 3) { o.nextPageToken = 'foo'; - o.runtimeEntitySchemas = buildUnnamed109(); + o.runtimeEntitySchemas = buildUnnamed111(); } buildCounterGoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse--; return o; @@ -8272,17 +8359,17 @@ void checkGoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed109(o.runtimeEntitySchemas!); + checkUnnamed111(o.runtimeEntitySchemas!); } buildCounterGoogleCloudIntegrationsV1alphaListRuntimeEntitySchemasResponse--; } -core.List buildUnnamed110() => [ +core.List buildUnnamed112() => [ buildGoogleCloudIntegrationsV1alphaSfdcChannel(), buildGoogleCloudIntegrationsV1alphaSfdcChannel(), ]; -void checkUnnamed110( +void checkUnnamed112( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaSfdcChannel(o[0]); @@ -8296,7 +8383,7 @@ api.GoogleCloudIntegrationsV1alphaListSfdcChannelsResponse buildCounterGoogleCloudIntegrationsV1alphaListSfdcChannelsResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaListSfdcChannelsResponse < 3) { o.nextPageToken = 'foo'; - o.sfdcChannels = buildUnnamed110(); + o.sfdcChannels = buildUnnamed112(); } buildCounterGoogleCloudIntegrationsV1alphaListSfdcChannelsResponse--; return o; @@ -8310,17 +8397,17 @@ void checkGoogleCloudIntegrationsV1alphaListSfdcChannelsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed110(o.sfdcChannels!); + checkUnnamed112(o.sfdcChannels!); } buildCounterGoogleCloudIntegrationsV1alphaListSfdcChannelsResponse--; } -core.List buildUnnamed111() => [ +core.List buildUnnamed113() => [ buildGoogleCloudIntegrationsV1alphaSfdcInstance(), buildGoogleCloudIntegrationsV1alphaSfdcInstance(), ]; -void checkUnnamed111( +void checkUnnamed113( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaSfdcInstance(o[0]); @@ -8335,7 +8422,7 @@ api.GoogleCloudIntegrationsV1alphaListSfdcInstancesResponse buildCounterGoogleCloudIntegrationsV1alphaListSfdcInstancesResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaListSfdcInstancesResponse < 3) { o.nextPageToken = 'foo'; - o.sfdcInstances = buildUnnamed111(); + o.sfdcInstances = buildUnnamed113(); } buildCounterGoogleCloudIntegrationsV1alphaListSfdcInstancesResponse--; return o; @@ -8349,17 +8436,17 @@ void checkGoogleCloudIntegrationsV1alphaListSfdcInstancesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed111(o.sfdcInstances!); + checkUnnamed113(o.sfdcInstances!); } buildCounterGoogleCloudIntegrationsV1alphaListSfdcInstancesResponse--; } -core.List buildUnnamed112() => [ +core.List buildUnnamed114() => [ buildGoogleCloudIntegrationsV1alphaSuspension(), buildGoogleCloudIntegrationsV1alphaSuspension(), ]; -void checkUnnamed112( +void checkUnnamed114( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaSuspension(o[0]); @@ -8373,7 +8460,7 @@ api.GoogleCloudIntegrationsV1alphaListSuspensionsResponse buildCounterGoogleCloudIntegrationsV1alphaListSuspensionsResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaListSuspensionsResponse < 3) { o.nextPageToken = 'foo'; - o.suspensions = buildUnnamed112(); + o.suspensions = buildUnnamed114(); } buildCounterGoogleCloudIntegrationsV1alphaListSuspensionsResponse--; return o; @@ -8387,7 +8474,7 @@ void checkGoogleCloudIntegrationsV1alphaListSuspensionsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed112(o.suspensions!); + checkUnnamed114(o.suspensions!); } buildCounterGoogleCloudIntegrationsV1alphaListSuspensionsResponse--; } @@ -8648,12 +8735,12 @@ void checkGoogleCloudIntegrationsV1alphaOidcToken( } core.List - buildUnnamed113() => [ + buildUnnamed115() => [ buildGoogleCloudIntegrationsV1alphaParameterMapEntry(), buildGoogleCloudIntegrationsV1alphaParameterMapEntry(), ]; -void checkUnnamed113( +void checkUnnamed115( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaParameterMapEntry(o[0]); @@ -8666,7 +8753,7 @@ api.GoogleCloudIntegrationsV1alphaParameterMap final o = api.GoogleCloudIntegrationsV1alphaParameterMap(); buildCounterGoogleCloudIntegrationsV1alphaParameterMap++; if (buildCounterGoogleCloudIntegrationsV1alphaParameterMap < 3) { - o.entries = buildUnnamed113(); + o.entries = buildUnnamed115(); o.keyType = 'foo'; o.valueType = 'foo'; } @@ -8678,7 +8765,7 @@ void checkGoogleCloudIntegrationsV1alphaParameterMap( api.GoogleCloudIntegrationsV1alphaParameterMap o) { buildCounterGoogleCloudIntegrationsV1alphaParameterMap++; if (buildCounterGoogleCloudIntegrationsV1alphaParameterMap < 3) { - checkUnnamed113(o.entries!); + checkUnnamed115(o.entries!); unittest.expect( o.keyType!, unittest.equals('foo'), @@ -8740,12 +8827,12 @@ void checkGoogleCloudIntegrationsV1alphaParameterMapField( buildCounterGoogleCloudIntegrationsV1alphaParameterMapField--; } -core.List buildUnnamed114() => [ +core.List buildUnnamed116() => [ 'foo', 'foo', ]; -void checkUnnamed114(core.List o) { +void checkUnnamed116(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -8765,7 +8852,7 @@ api.GoogleCloudIntegrationsV1alphaProjectProperties if (buildCounterGoogleCloudIntegrationsV1alphaProjectProperties < 3) { o.billingType = 'foo'; o.ipEnablementState = 'foo'; - o.provisionedRegions = buildUnnamed114(); + o.provisionedRegions = buildUnnamed116(); } buildCounterGoogleCloudIntegrationsV1alphaProjectProperties--; return o; @@ -8783,7 +8870,7 @@ void checkGoogleCloudIntegrationsV1alphaProjectProperties( o.ipEnablementState!, unittest.equals('foo'), ); - checkUnnamed114(o.provisionedRegions!); + checkUnnamed116(o.provisionedRegions!); } buildCounterGoogleCloudIntegrationsV1alphaProjectProperties--; } @@ -8820,7 +8907,7 @@ void checkGoogleCloudIntegrationsV1alphaProvisionClientRequest( buildCounterGoogleCloudIntegrationsV1alphaProvisionClientRequest--; } -core.Map buildUnnamed115() => { +core.Map buildUnnamed117() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -8833,7 +8920,7 @@ core.Map buildUnnamed115() => { }, }; -void checkUnnamed115(core.Map o) { +void checkUnnamed117(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted15 = (o['x']!) as core.Map; unittest.expect(casted15, unittest.hasLength(3)); @@ -8875,7 +8962,7 @@ api.GoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest buildCounterGoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest++; if (buildCounterGoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest < 3) { - o.configParameters = buildUnnamed115(); + o.configParameters = buildUnnamed117(); } buildCounterGoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest--; return o; @@ -8886,7 +8973,7 @@ void checkGoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest( buildCounterGoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest++; if (buildCounterGoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest < 3) { - checkUnnamed115(o.configParameters!); + checkUnnamed117(o.configParameters!); } buildCounterGoogleCloudIntegrationsV1alphaPublishIntegrationVersionRequest--; } @@ -8940,6 +9027,106 @@ void checkGoogleCloudIntegrationsV1alphaReplaceServiceAccountRequest( buildCounterGoogleCloudIntegrationsV1alphaReplaceServiceAccountRequest--; } +core.int buildCounterGoogleCloudIntegrationsV1alphaReplayExecutionRequest = 0; +api.GoogleCloudIntegrationsV1alphaReplayExecutionRequest + buildGoogleCloudIntegrationsV1alphaReplayExecutionRequest() { + final o = api.GoogleCloudIntegrationsV1alphaReplayExecutionRequest(); + buildCounterGoogleCloudIntegrationsV1alphaReplayExecutionRequest++; + if (buildCounterGoogleCloudIntegrationsV1alphaReplayExecutionRequest < 3) { + o.replayReason = 'foo'; + } + buildCounterGoogleCloudIntegrationsV1alphaReplayExecutionRequest--; + return o; +} + +void checkGoogleCloudIntegrationsV1alphaReplayExecutionRequest( + api.GoogleCloudIntegrationsV1alphaReplayExecutionRequest o) { + buildCounterGoogleCloudIntegrationsV1alphaReplayExecutionRequest++; + if (buildCounterGoogleCloudIntegrationsV1alphaReplayExecutionRequest < 3) { + unittest.expect( + o.replayReason!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudIntegrationsV1alphaReplayExecutionRequest--; +} + +core.Map buildUnnamed118() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed118(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted17 = (o['x']!) as core.Map; + unittest.expect(casted17, unittest.hasLength(3)); + unittest.expect( + casted17['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted17['bool'], + unittest.equals(true), + ); + unittest.expect( + casted17['string'], + unittest.equals('foo'), + ); + var casted18 = (o['y']!) as core.Map; + unittest.expect(casted18, unittest.hasLength(3)); + unittest.expect( + casted18['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted18['bool'], + unittest.equals(true), + ); + unittest.expect( + casted18['string'], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleCloudIntegrationsV1alphaReplayExecutionResponse = 0; +api.GoogleCloudIntegrationsV1alphaReplayExecutionResponse + buildGoogleCloudIntegrationsV1alphaReplayExecutionResponse() { + final o = api.GoogleCloudIntegrationsV1alphaReplayExecutionResponse(); + buildCounterGoogleCloudIntegrationsV1alphaReplayExecutionResponse++; + if (buildCounterGoogleCloudIntegrationsV1alphaReplayExecutionResponse < 3) { + o.executionId = 'foo'; + o.outputParameters = buildUnnamed118(); + o.replayedExecutionId = 'foo'; + } + buildCounterGoogleCloudIntegrationsV1alphaReplayExecutionResponse--; + return o; +} + +void checkGoogleCloudIntegrationsV1alphaReplayExecutionResponse( + api.GoogleCloudIntegrationsV1alphaReplayExecutionResponse o) { + buildCounterGoogleCloudIntegrationsV1alphaReplayExecutionResponse++; + if (buildCounterGoogleCloudIntegrationsV1alphaReplayExecutionResponse < 3) { + unittest.expect( + o.executionId!, + unittest.equals('foo'), + ); + checkUnnamed118(o.outputParameters!); + unittest.expect( + o.replayedExecutionId!, + unittest.equals('foo'), + ); + } + buildCounterGoogleCloudIntegrationsV1alphaReplayExecutionResponse--; +} + core.int buildCounterGoogleCloudIntegrationsV1alphaResolveSuspensionRequest = 0; api.GoogleCloudIntegrationsV1alphaResolveSuspensionRequest buildGoogleCloudIntegrationsV1alphaResolveSuspensionRequest() { @@ -9050,12 +9237,12 @@ void checkGoogleCloudIntegrationsV1alphaRuntimeEntitySchema( } core.Map - buildUnnamed116() => { + buildUnnamed119() => { 'x': buildGoogleCloudIntegrationsV1alphaValueType(), 'y': buildGoogleCloudIntegrationsV1alphaValueType(), }; -void checkUnnamed116( +void checkUnnamed119( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaValueType(o['x']!); @@ -9063,12 +9250,12 @@ void checkUnnamed116( } core.List - buildUnnamed117() => [ + buildUnnamed120() => [ buildEnterpriseCrmFrontendsEventbusProtoParameterEntry(), buildEnterpriseCrmFrontendsEventbusProtoParameterEntry(), ]; -void checkUnnamed117( +void checkUnnamed120( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmFrontendsEventbusProtoParameterEntry(o[0]); @@ -9083,8 +9270,8 @@ api.GoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest buildCounterGoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest++; if (buildCounterGoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest < 3) { - o.inputParameters = buildUnnamed116(); - o.parameterEntries = buildUnnamed117(); + o.inputParameters = buildUnnamed119(); + o.parameterEntries = buildUnnamed120(); o.parameters = buildEnterpriseCrmEventbusProtoEventParameters(); o.requestId = 'foo'; o.scheduleTime = 'foo'; @@ -9100,8 +9287,8 @@ void checkGoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest( buildCounterGoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest++; if (buildCounterGoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest < 3) { - checkUnnamed116(o.inputParameters!); - checkUnnamed117(o.parameterEntries!); + checkUnnamed119(o.inputParameters!); + checkUnnamed120(o.parameterEntries!); checkEnterpriseCrmEventbusProtoEventParameters(o.parameters!); unittest.expect( o.requestId!, @@ -9123,12 +9310,12 @@ void checkGoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest( buildCounterGoogleCloudIntegrationsV1alphaScheduleIntegrationsRequest--; } -core.List buildUnnamed118() => [ +core.List buildUnnamed121() => [ 'foo', 'foo', ]; -void checkUnnamed118(core.List o) { +void checkUnnamed121(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9148,7 +9335,7 @@ api.GoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse buildCounterGoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse < 3) { - o.executionInfoIds = buildUnnamed118(); + o.executionInfoIds = buildUnnamed121(); } buildCounterGoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse--; return o; @@ -9159,7 +9346,7 @@ void checkGoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse( buildCounterGoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse++; if (buildCounterGoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse < 3) { - checkUnnamed118(o.executionInfoIds!); + checkUnnamed121(o.executionInfoIds!); } buildCounterGoogleCloudIntegrationsV1alphaScheduleIntegrationsResponse--; } @@ -9284,12 +9471,12 @@ void checkGoogleCloudIntegrationsV1alphaSfdcChannel( buildCounterGoogleCloudIntegrationsV1alphaSfdcChannel--; } -core.List buildUnnamed119() => [ +core.List buildUnnamed122() => [ 'foo', 'foo', ]; -void checkUnnamed119(core.List o) { +void checkUnnamed122(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9307,7 +9494,7 @@ api.GoogleCloudIntegrationsV1alphaSfdcInstance final o = api.GoogleCloudIntegrationsV1alphaSfdcInstance(); buildCounterGoogleCloudIntegrationsV1alphaSfdcInstance++; if (buildCounterGoogleCloudIntegrationsV1alphaSfdcInstance < 3) { - o.authConfigId = buildUnnamed119(); + o.authConfigId = buildUnnamed122(); o.createTime = 'foo'; o.deleteTime = 'foo'; o.description = 'foo'; @@ -9325,7 +9512,7 @@ void checkGoogleCloudIntegrationsV1alphaSfdcInstance( api.GoogleCloudIntegrationsV1alphaSfdcInstance o) { buildCounterGoogleCloudIntegrationsV1alphaSfdcInstance++; if (buildCounterGoogleCloudIntegrationsV1alphaSfdcInstance < 3) { - checkUnnamed119(o.authConfigId!); + checkUnnamed122(o.authConfigId!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -9362,12 +9549,12 @@ void checkGoogleCloudIntegrationsV1alphaSfdcInstance( buildCounterGoogleCloudIntegrationsV1alphaSfdcInstance--; } -core.List buildUnnamed120() => [ +core.List buildUnnamed123() => [ 'foo', 'foo', ]; -void checkUnnamed120(core.List o) { +void checkUnnamed123(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9385,7 +9572,7 @@ api.GoogleCloudIntegrationsV1alphaStringParameterArray final o = api.GoogleCloudIntegrationsV1alphaStringParameterArray(); buildCounterGoogleCloudIntegrationsV1alphaStringParameterArray++; if (buildCounterGoogleCloudIntegrationsV1alphaStringParameterArray < 3) { - o.stringValues = buildUnnamed120(); + o.stringValues = buildUnnamed123(); } buildCounterGoogleCloudIntegrationsV1alphaStringParameterArray--; return o; @@ -9395,7 +9582,7 @@ void checkGoogleCloudIntegrationsV1alphaStringParameterArray( api.GoogleCloudIntegrationsV1alphaStringParameterArray o) { buildCounterGoogleCloudIntegrationsV1alphaStringParameterArray++; if (buildCounterGoogleCloudIntegrationsV1alphaStringParameterArray < 3) { - checkUnnamed120(o.stringValues!); + checkUnnamed123(o.stringValues!); } buildCounterGoogleCloudIntegrationsV1alphaStringParameterArray--; } @@ -9486,12 +9673,12 @@ void checkGoogleCloudIntegrationsV1alphaSuspension( buildCounterGoogleCloudIntegrationsV1alphaSuspension--; } -core.List buildUnnamed121() => [ +core.List buildUnnamed124() => [ 'foo', 'foo', ]; -void checkUnnamed121(core.List o) { +void checkUnnamed124(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -9510,7 +9697,7 @@ api.GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig buildCounterGoogleCloudIntegrationsV1alphaSuspensionApprovalConfig++; if (buildCounterGoogleCloudIntegrationsV1alphaSuspensionApprovalConfig < 3) { o.customMessage = 'foo'; - o.emailAddresses = buildUnnamed121(); + o.emailAddresses = buildUnnamed124(); o.expiration = buildGoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration(); } @@ -9526,7 +9713,7 @@ void checkGoogleCloudIntegrationsV1alphaSuspensionApprovalConfig( o.customMessage!, unittest.equals('foo'), ); - checkUnnamed121(o.emailAddresses!); + checkUnnamed124(o.emailAddresses!); checkGoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration( o.expiration!); } @@ -9681,24 +9868,24 @@ void checkGoogleCloudIntegrationsV1alphaTakeoverEditLockResponse( buildCounterGoogleCloudIntegrationsV1alphaTakeoverEditLockResponse--; } -core.List buildUnnamed122() => [ +core.List buildUnnamed125() => [ buildGoogleCloudIntegrationsV1alphaNextTask(), buildGoogleCloudIntegrationsV1alphaNextTask(), ]; -void checkUnnamed122(core.List o) { +void checkUnnamed125(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaNextTask(o[0]); checkGoogleCloudIntegrationsV1alphaNextTask(o[1]); } core.Map - buildUnnamed123() => { + buildUnnamed126() => { 'x': buildGoogleCloudIntegrationsV1alphaEventParameter(), 'y': buildGoogleCloudIntegrationsV1alphaEventParameter(), }; -void checkUnnamed123( +void checkUnnamed126( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaEventParameter(o['x']!); @@ -9711,15 +9898,17 @@ api.GoogleCloudIntegrationsV1alphaTaskConfig final o = api.GoogleCloudIntegrationsV1alphaTaskConfig(); buildCounterGoogleCloudIntegrationsV1alphaTaskConfig++; if (buildCounterGoogleCloudIntegrationsV1alphaTaskConfig < 3) { + o.conditionalFailurePolicies = + buildGoogleCloudIntegrationsV1alphaConditionalFailurePolicies(); o.description = 'foo'; o.displayName = 'foo'; o.errorCatcherId = 'foo'; o.externalTaskType = 'foo'; o.failurePolicy = buildGoogleCloudIntegrationsV1alphaFailurePolicy(); o.jsonValidationOption = 'foo'; - o.nextTasks = buildUnnamed122(); + o.nextTasks = buildUnnamed125(); o.nextTasksExecutionPolicy = 'foo'; - o.parameters = buildUnnamed123(); + o.parameters = buildUnnamed126(); o.position = buildGoogleCloudIntegrationsV1alphaCoordinate(); o.successPolicy = buildGoogleCloudIntegrationsV1alphaSuccessPolicy(); o.synchronousCallFailurePolicy = @@ -9737,6 +9926,8 @@ void checkGoogleCloudIntegrationsV1alphaTaskConfig( api.GoogleCloudIntegrationsV1alphaTaskConfig o) { buildCounterGoogleCloudIntegrationsV1alphaTaskConfig++; if (buildCounterGoogleCloudIntegrationsV1alphaTaskConfig < 3) { + checkGoogleCloudIntegrationsV1alphaConditionalFailurePolicies( + o.conditionalFailurePolicies!); unittest.expect( o.description!, unittest.equals('foo'), @@ -9758,12 +9949,12 @@ void checkGoogleCloudIntegrationsV1alphaTaskConfig( o.jsonValidationOption!, unittest.equals('foo'), ); - checkUnnamed122(o.nextTasks!); + checkUnnamed125(o.nextTasks!); unittest.expect( o.nextTasksExecutionPolicy!, unittest.equals('foo'), ); - checkUnnamed123(o.parameters!); + checkUnnamed126(o.parameters!); checkGoogleCloudIntegrationsV1alphaCoordinate(o.position!); checkGoogleCloudIntegrationsV1alphaSuccessPolicy(o.successPolicy!); checkGoogleCloudIntegrationsV1alphaFailurePolicy( @@ -9788,12 +9979,12 @@ void checkGoogleCloudIntegrationsV1alphaTaskConfig( buildCounterGoogleCloudIntegrationsV1alphaTaskConfig--; } -core.List buildUnnamed124() => [ +core.List buildUnnamed127() => [ buildGoogleCloudIntegrationsV1alphaAttemptStats(), buildGoogleCloudIntegrationsV1alphaAttemptStats(), ]; -void checkUnnamed124( +void checkUnnamed127( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaAttemptStats(o[0]); @@ -9806,7 +9997,7 @@ api.GoogleCloudIntegrationsV1alphaTaskExecutionDetails final o = api.GoogleCloudIntegrationsV1alphaTaskExecutionDetails(); buildCounterGoogleCloudIntegrationsV1alphaTaskExecutionDetails++; if (buildCounterGoogleCloudIntegrationsV1alphaTaskExecutionDetails < 3) { - o.taskAttemptStats = buildUnnamed124(); + o.taskAttemptStats = buildUnnamed127(); o.taskExecutionState = 'foo'; o.taskNumber = 'foo'; } @@ -9818,7 +10009,7 @@ void checkGoogleCloudIntegrationsV1alphaTaskExecutionDetails( api.GoogleCloudIntegrationsV1alphaTaskExecutionDetails o) { buildCounterGoogleCloudIntegrationsV1alphaTaskExecutionDetails++; if (buildCounterGoogleCloudIntegrationsV1alphaTaskExecutionDetails < 3) { - checkUnnamed124(o.taskAttemptStats!); + checkUnnamed127(o.taskAttemptStats!); unittest.expect( o.taskExecutionState!, unittest.equals('foo'), @@ -9831,7 +10022,7 @@ void checkGoogleCloudIntegrationsV1alphaTaskExecutionDetails( buildCounterGoogleCloudIntegrationsV1alphaTaskExecutionDetails--; } -core.Map buildUnnamed125() => { +core.Map buildUnnamed128() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -9844,45 +10035,45 @@ core.Map buildUnnamed125() => { }, }; -void checkUnnamed125(core.Map o) { +void checkUnnamed128(core.Map o) { unittest.expect(o, unittest.hasLength(2)); - var casted17 = (o['x']!) as core.Map; - unittest.expect(casted17, unittest.hasLength(3)); + var casted19 = (o['x']!) as core.Map; + unittest.expect(casted19, unittest.hasLength(3)); unittest.expect( - casted17['list'], + casted19['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted17['bool'], + casted19['bool'], unittest.equals(true), ); unittest.expect( - casted17['string'], + casted19['string'], unittest.equals('foo'), ); - var casted18 = (o['y']!) as core.Map; - unittest.expect(casted18, unittest.hasLength(3)); + var casted20 = (o['y']!) as core.Map; + unittest.expect(casted20, unittest.hasLength(3)); unittest.expect( - casted18['list'], + casted20['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted18['bool'], + casted20['bool'], unittest.equals(true), ); unittest.expect( - casted18['string'], + casted20['string'], unittest.equals('foo'), ); } core.Map - buildUnnamed126() => { + buildUnnamed129() => { 'x': buildGoogleCloudIntegrationsV1alphaValueType(), 'y': buildGoogleCloudIntegrationsV1alphaValueType(), }; -void checkUnnamed126( +void checkUnnamed129( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaValueType(o['x']!); @@ -9896,9 +10087,9 @@ api.GoogleCloudIntegrationsV1alphaTestIntegrationsRequest buildCounterGoogleCloudIntegrationsV1alphaTestIntegrationsRequest++; if (buildCounterGoogleCloudIntegrationsV1alphaTestIntegrationsRequest < 3) { o.clientId = 'foo'; - o.configParameters = buildUnnamed125(); + o.configParameters = buildUnnamed128(); o.deadlineSecondsTime = 'foo'; - o.inputParameters = buildUnnamed126(); + o.inputParameters = buildUnnamed129(); o.integrationVersion = buildGoogleCloudIntegrationsV1alphaIntegrationVersion(); o.parameters = buildEnterpriseCrmFrontendsEventbusProtoEventParameters(); @@ -9917,12 +10108,12 @@ void checkGoogleCloudIntegrationsV1alphaTestIntegrationsRequest( o.clientId!, unittest.equals('foo'), ); - checkUnnamed125(o.configParameters!); + checkUnnamed128(o.configParameters!); unittest.expect( o.deadlineSecondsTime!, unittest.equals('foo'), ); - checkUnnamed126(o.inputParameters!); + checkUnnamed129(o.inputParameters!); checkGoogleCloudIntegrationsV1alphaIntegrationVersion( o.integrationVersion!); checkEnterpriseCrmFrontendsEventbusProtoEventParameters(o.parameters!); @@ -9936,12 +10127,12 @@ void checkGoogleCloudIntegrationsV1alphaTestIntegrationsRequest( } core.List - buildUnnamed127() => [ + buildUnnamed130() => [ buildEnterpriseCrmFrontendsEventbusProtoParameterEntry(), buildEnterpriseCrmFrontendsEventbusProtoParameterEntry(), ]; -void checkUnnamed127( +void checkUnnamed130( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEnterpriseCrmFrontendsEventbusProtoParameterEntry(o[0]); @@ -9949,12 +10140,12 @@ void checkUnnamed127( } core.Map - buildUnnamed128() => { + buildUnnamed131() => { 'x': buildGoogleCloudIntegrationsV1alphaValueType(), 'y': buildGoogleCloudIntegrationsV1alphaValueType(), }; -void checkUnnamed128( +void checkUnnamed131( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaValueType(o['x']!); @@ -9971,8 +10162,8 @@ api.GoogleCloudIntegrationsV1alphaTestIntegrationsResponse buildEnterpriseCrmFrontendsEventbusProtoEventParameters(); o.executionFailed = true; o.executionId = 'foo'; - o.parameterEntries = buildUnnamed127(); - o.parameters = buildUnnamed128(); + o.parameterEntries = buildUnnamed130(); + o.parameters = buildUnnamed131(); } buildCounterGoogleCloudIntegrationsV1alphaTestIntegrationsResponse--; return o; @@ -9988,31 +10179,31 @@ void checkGoogleCloudIntegrationsV1alphaTestIntegrationsResponse( o.executionId!, unittest.equals('foo'), ); - checkUnnamed127(o.parameterEntries!); - checkUnnamed128(o.parameters!); + checkUnnamed130(o.parameterEntries!); + checkUnnamed131(o.parameters!); } buildCounterGoogleCloudIntegrationsV1alphaTestIntegrationsResponse--; } core.List - buildUnnamed129() => [ + buildUnnamed132() => [ buildGoogleCloudIntegrationsV1alphaIntegrationAlertConfig(), buildGoogleCloudIntegrationsV1alphaIntegrationAlertConfig(), ]; -void checkUnnamed129( +void checkUnnamed132( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaIntegrationAlertConfig(o[0]); checkGoogleCloudIntegrationsV1alphaIntegrationAlertConfig(o[1]); } -core.Map buildUnnamed130() => { +core.Map buildUnnamed133() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed130(core.Map o) { +void checkUnnamed133(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -10024,12 +10215,12 @@ void checkUnnamed130(core.Map o) { ); } -core.List buildUnnamed131() => [ +core.List buildUnnamed134() => [ buildGoogleCloudIntegrationsV1alphaNextTask(), buildGoogleCloudIntegrationsV1alphaNextTask(), ]; -void checkUnnamed131(core.List o) { +void checkUnnamed134(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudIntegrationsV1alphaNextTask(o[0]); checkGoogleCloudIntegrationsV1alphaNextTask(o[1]); @@ -10041,7 +10232,7 @@ api.GoogleCloudIntegrationsV1alphaTriggerConfig final o = api.GoogleCloudIntegrationsV1alphaTriggerConfig(); buildCounterGoogleCloudIntegrationsV1alphaTriggerConfig++; if (buildCounterGoogleCloudIntegrationsV1alphaTriggerConfig < 3) { - o.alertConfig = buildUnnamed129(); + o.alertConfig = buildUnnamed132(); o.cloudSchedulerConfig = buildGoogleCloudIntegrationsV1alphaCloudSchedulerConfig(); o.description = 'foo'; @@ -10049,8 +10240,8 @@ api.GoogleCloudIntegrationsV1alphaTriggerConfig o.label = 'foo'; o.nextTasksExecutionPolicy = 'foo'; o.position = buildGoogleCloudIntegrationsV1alphaCoordinate(); - o.properties = buildUnnamed130(); - o.startTasks = buildUnnamed131(); + o.properties = buildUnnamed133(); + o.startTasks = buildUnnamed134(); o.trigger = 'foo'; o.triggerId = 'foo'; o.triggerNumber = 'foo'; @@ -10064,7 +10255,7 @@ void checkGoogleCloudIntegrationsV1alphaTriggerConfig( api.GoogleCloudIntegrationsV1alphaTriggerConfig o) { buildCounterGoogleCloudIntegrationsV1alphaTriggerConfig++; if (buildCounterGoogleCloudIntegrationsV1alphaTriggerConfig < 3) { - checkUnnamed129(o.alertConfig!); + checkUnnamed132(o.alertConfig!); checkGoogleCloudIntegrationsV1alphaCloudSchedulerConfig( o.cloudSchedulerConfig!); unittest.expect( @@ -10084,8 +10275,8 @@ void checkGoogleCloudIntegrationsV1alphaTriggerConfig( unittest.equals('foo'), ); checkGoogleCloudIntegrationsV1alphaCoordinate(o.position!); - checkUnnamed130(o.properties!); - checkUnnamed131(o.startTasks!); + checkUnnamed133(o.properties!); + checkUnnamed134(o.startTasks!); unittest.expect( o.trigger!, unittest.equals('foo'), @@ -10357,12 +10548,12 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.List buildUnnamed132() => [ +core.List buildUnnamed135() => [ 'foo', 'foo', ]; -void checkUnnamed132(core.List o) { +void checkUnnamed135(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10374,12 +10565,12 @@ void checkUnnamed132(core.List o) { ); } -core.List buildUnnamed133() => [ +core.List buildUnnamed136() => [ 'foo', 'foo', ]; -void checkUnnamed133(core.List o) { +void checkUnnamed136(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10391,12 +10582,12 @@ void checkUnnamed133(core.List o) { ); } -core.List buildUnnamed134() => [ +core.List buildUnnamed137() => [ 'foo', 'foo', ]; -void checkUnnamed134(core.List o) { +void checkUnnamed137(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10408,12 +10599,12 @@ void checkUnnamed134(core.List o) { ); } -core.List buildUnnamed135() => [ +core.List buildUnnamed138() => [ 'foo', 'foo', ]; -void checkUnnamed135(core.List o) { +void checkUnnamed138(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10425,12 +10616,12 @@ void checkUnnamed135(core.List o) { ); } -core.List buildUnnamed136() => [ +core.List buildUnnamed139() => [ 'foo', 'foo', ]; -void checkUnnamed136(core.List o) { +void checkUnnamed139(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10442,12 +10633,12 @@ void checkUnnamed136(core.List o) { ); } -core.List buildUnnamed137() => [ +core.List buildUnnamed140() => [ 'foo', 'foo', ]; -void checkUnnamed137(core.List o) { +void checkUnnamed140(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10459,12 +10650,12 @@ void checkUnnamed137(core.List o) { ); } -core.List buildUnnamed138() => [ +core.List buildUnnamed141() => [ 'foo', 'foo', ]; -void checkUnnamed138(core.List o) { +void checkUnnamed141(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -10605,6 +10796,18 @@ void main() { }); }); + unittest.group( + 'obj-schema-EnterpriseCrmEventbusProtoConditionalFailurePolicies', () { + unittest.test('to-json--from-json', () async { + final o = buildEnterpriseCrmEventbusProtoConditionalFailurePolicies(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.EnterpriseCrmEventbusProtoConditionalFailurePolicies.fromJson( + oJson as core.Map); + checkEnterpriseCrmEventbusProtoConditionalFailurePolicies(od); + }); + }); + unittest.group('obj-schema-EnterpriseCrmEventbusProtoCoordinate', () { unittest.test('to-json--from-json', () async { final o = buildEnterpriseCrmEventbusProtoCoordinate(); @@ -11896,6 +12099,19 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleCloudIntegrationsV1alphaConditionalFailurePolicies', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudIntegrationsV1alphaConditionalFailurePolicies(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudIntegrationsV1alphaConditionalFailurePolicies.fromJson( + oJson as core.Map); + checkGoogleCloudIntegrationsV1alphaConditionalFailurePolicies(od); + }); + }); + unittest.group( 'obj-schema-GoogleCloudIntegrationsV1alphaConnectionSchemaMetadata', () { unittest.test('to-json--from-json', () async { @@ -12668,6 +12884,30 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleCloudIntegrationsV1alphaReplayExecutionRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudIntegrationsV1alphaReplayExecutionRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudIntegrationsV1alphaReplayExecutionRequest.fromJson( + oJson as core.Map); + checkGoogleCloudIntegrationsV1alphaReplayExecutionRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleCloudIntegrationsV1alphaReplayExecutionResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudIntegrationsV1alphaReplayExecutionResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudIntegrationsV1alphaReplayExecutionResponse.fromJson( + oJson as core.Map); + checkGoogleCloudIntegrationsV1alphaReplayExecutionResponse(od); + }); + }); + unittest.group( 'obj-schema-GoogleCloudIntegrationsV1alphaResolveSuspensionRequest', () { unittest.test('to-json--from-json', () async { @@ -15250,7 +15490,7 @@ void main() { final arg_filter = 'foo'; final arg_filterParams_customFilter = 'foo'; final arg_filterParams_endTime = 'foo'; - final arg_filterParams_eventStatuses = buildUnnamed132(); + final arg_filterParams_eventStatuses = buildUnnamed135(); final arg_filterParams_executionId = 'foo'; final arg_filterParams_parameterKey = 'foo'; final arg_filterParams_parameterPairKey = 'foo'; @@ -15258,7 +15498,7 @@ void main() { final arg_filterParams_parameterType = 'foo'; final arg_filterParams_parameterValue = 'foo'; final arg_filterParams_startTime = 'foo'; - final arg_filterParams_taskStatuses = buildUnnamed133(); + final arg_filterParams_taskStatuses = buildUnnamed136(); final arg_filterParams_workflowName = 'foo'; final arg_orderBy = 'foo'; final arg_pageSize = 42; @@ -15417,6 +15657,69 @@ void main() { checkGoogleCloudIntegrationsV1alphaListExecutionsResponse( response as api.GoogleCloudIntegrationsV1alphaListExecutionsResponse); }); + + unittest.test('method--replay', () async { + final mock = HttpServerMock(); + final res = + api.IntegrationsApi(mock).projects.locations.integrations.executions; + final arg_request = + buildGoogleCloudIntegrationsV1alphaReplayExecutionRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleCloudIntegrationsV1alphaReplayExecutionRequest.fromJson( + json as core.Map); + checkGoogleCloudIntegrationsV1alphaReplayExecutionRequest(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( + buildGoogleCloudIntegrationsV1alphaReplayExecutionResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.replay(arg_request, arg_name, $fields: arg_$fields); + checkGoogleCloudIntegrationsV1alphaReplayExecutionResponse(response + as api.GoogleCloudIntegrationsV1alphaReplayExecutionResponse); + }); }); unittest.group( @@ -15776,7 +16079,7 @@ void main() { api.IntegrationsApi(mock).projects.locations.integrations.versions; final arg_name = 'foo'; final arg_fileFormat = 'foo'; - final arg_files = buildUnnamed134(); + final arg_files = buildUnnamed137(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -15842,7 +16145,7 @@ void main() { final res = api.IntegrationsApi(mock).projects.locations.integrations.versions; final arg_name = 'foo'; - final arg_files = buildUnnamed135(); + final arg_files = buildUnnamed138(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -17509,7 +17812,7 @@ void main() { final arg_filter = 'foo'; final arg_filterParams_customFilter = 'foo'; final arg_filterParams_endTime = 'foo'; - final arg_filterParams_eventStatuses = buildUnnamed136(); + final arg_filterParams_eventStatuses = buildUnnamed139(); final arg_filterParams_executionId = 'foo'; final arg_filterParams_parameterKey = 'foo'; final arg_filterParams_parameterPairKey = 'foo'; @@ -17517,7 +17820,7 @@ void main() { final arg_filterParams_parameterType = 'foo'; final arg_filterParams_parameterValue = 'foo'; final arg_filterParams_startTime = 'foo'; - final arg_filterParams_taskStatuses = buildUnnamed137(); + final arg_filterParams_taskStatuses = buildUnnamed140(); final arg_filterParams_workflowName = 'foo'; final arg_orderBy = 'foo'; final arg_pageSize = 42; @@ -18051,7 +18354,7 @@ void main() { .versions; final arg_name = 'foo'; final arg_fileFormat = 'foo'; - final arg_files = buildUnnamed138(); + final arg_files = buildUnnamed141(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; diff --git a/generated/googleapis/test/memcache/v1_test.dart b/generated/googleapis/test/memcache/v1_test.dart index 2ae4d2bb8..c2a3f4f49 100644 --- a/generated/googleapis/test/memcache/v1_test.dart +++ b/generated/googleapis/test/memcache/v1_test.dart @@ -258,6 +258,8 @@ api.Instance buildInstance() { o.nodeCount = 42; o.parameters = buildMemcacheParameters(); o.reservedIpRangeId = buildUnnamed5(); + o.satisfiesPzi = true; + o.satisfiesPzs = true; o.state = 'foo'; o.updateTime = 'foo'; o.zones = buildUnnamed6(); @@ -309,6 +311,8 @@ void checkInstance(api.Instance o) { ); checkMemcacheParameters(o.parameters!); checkUnnamed5(o.reservedIpRangeId!); + unittest.expect(o.satisfiesPzi!, unittest.isTrue); + unittest.expect(o.satisfiesPzs!, unittest.isTrue); unittest.expect( o.state!, unittest.equals('foo'), diff --git a/generated/googleapis/test/networkconnectivity/v1_test.dart b/generated/googleapis/test/networkconnectivity/v1_test.dart index 4fa3d33a0..1b4949942 100644 --- a/generated/googleapis/test/networkconnectivity/v1_test.dart +++ b/generated/googleapis/test/networkconnectivity/v1_test.dart @@ -207,6 +207,23 @@ void checkBinding(api.Binding o) { buildCounterBinding--; } +core.Map buildUnnamed4() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed4(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + core.int buildCounterConsumerPscConfig = 0; api.ConsumerPscConfig buildConsumerPscConfig() { final o = api.ConsumerPscConfig(); @@ -216,6 +233,7 @@ api.ConsumerPscConfig buildConsumerPscConfig() { o.network = 'foo'; o.producerInstanceId = 'foo'; o.project = 'foo'; + o.serviceAttachmentIpAddressMap = buildUnnamed4(); o.state = 'foo'; } buildCounterConsumerPscConfig--; @@ -238,6 +256,7 @@ void checkConsumerPscConfig(api.ConsumerPscConfig o) { o.project!, unittest.equals('foo'), ); + checkUnnamed4(o.serviceAttachmentIpAddressMap!); unittest.expect( o.state!, unittest.equals('foo'), @@ -428,12 +447,12 @@ void checkGoogleLongrunningCancelOperationRequest( buildCounterGoogleLongrunningCancelOperationRequest--; } -core.List buildUnnamed4() => [ +core.List buildUnnamed5() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed4(core.List o) { +void checkUnnamed5(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -446,7 +465,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed4(); + o.operations = buildUnnamed5(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -460,12 +479,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed4(o.operations!); + checkUnnamed5(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed5() => { +core.Map buildUnnamed6() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -478,7 +497,7 @@ core.Map buildUnnamed5() => { }, }; -void checkUnnamed5(core.Map o) { +void checkUnnamed6(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -510,7 +529,7 @@ void checkUnnamed5(core.Map o) { ); } -core.Map buildUnnamed6() => { +core.Map buildUnnamed7() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -523,7 +542,7 @@ core.Map buildUnnamed6() => { }, }; -void checkUnnamed6(core.Map o) { +void checkUnnamed7(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -562,9 +581,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed5(); + o.metadata = buildUnnamed6(); o.name = 'foo'; - o.response = buildUnnamed6(); + o.response = buildUnnamed7(); } buildCounterGoogleLongrunningOperation--; return o; @@ -575,22 +594,22 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed5(o.metadata!); + checkUnnamed6(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed6(o.response!); + checkUnnamed7(o.response!); } buildCounterGoogleLongrunningOperation--; } -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']!, @@ -608,7 +627,7 @@ api.GoogleRpcErrorInfo buildGoogleRpcErrorInfo() { buildCounterGoogleRpcErrorInfo++; if (buildCounterGoogleRpcErrorInfo < 3) { o.domain = 'foo'; - o.metadata = buildUnnamed7(); + o.metadata = buildUnnamed8(); o.reason = 'foo'; } buildCounterGoogleRpcErrorInfo--; @@ -622,7 +641,7 @@ void checkGoogleRpcErrorInfo(api.GoogleRpcErrorInfo o) { o.domain!, unittest.equals('foo'), ); - checkUnnamed7(o.metadata!); + checkUnnamed8(o.metadata!); unittest.expect( o.reason!, unittest.equals('foo'), @@ -631,7 +650,7 @@ void checkGoogleRpcErrorInfo(api.GoogleRpcErrorInfo o) { buildCounterGoogleRpcErrorInfo--; } -core.Map buildUnnamed8() => { +core.Map buildUnnamed9() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -644,7 +663,7 @@ core.Map buildUnnamed8() => { }, }; -void checkUnnamed8(core.Map o) { +void checkUnnamed9(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -676,15 +695,15 @@ void checkUnnamed8(core.Map o) { ); } -core.List> buildUnnamed9() => [ - buildUnnamed8(), - buildUnnamed8(), +core.List> buildUnnamed10() => [ + buildUnnamed9(), + buildUnnamed9(), ]; -void checkUnnamed9(core.List> o) { +void checkUnnamed10(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed8(o[0]); - checkUnnamed8(o[1]); + checkUnnamed9(o[0]); + checkUnnamed9(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -693,7 +712,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed9(); + o.details = buildUnnamed10(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -707,7 +726,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed9(o.details!); + checkUnnamed10(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -716,12 +735,12 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { buildCounterGoogleRpcStatus--; } -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']!, @@ -741,7 +760,7 @@ api.Group buildGroup() { o.autoAccept = buildAutoAccept(); o.createTime = 'foo'; o.description = 'foo'; - o.labels = buildUnnamed10(); + o.labels = buildUnnamed11(); o.name = 'foo'; o.routeTable = 'foo'; o.state = 'foo'; @@ -764,7 +783,7 @@ void checkGroup(api.Group o) { o.description!, unittest.equals('foo'), ); - checkUnnamed10(o.labels!); + checkUnnamed11(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -789,12 +808,12 @@ void checkGroup(api.Group o) { buildCounterGroup--; } -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']!, @@ -806,12 +825,12 @@ void checkUnnamed11(core.Map o) { ); } -core.List buildUnnamed12() => [ +core.List buildUnnamed13() => [ 'foo', 'foo', ]; -void checkUnnamed12(core.List o) { +void checkUnnamed13(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -823,12 +842,12 @@ void checkUnnamed12(core.List o) { ); } -core.List buildUnnamed13() => [ +core.List buildUnnamed14() => [ buildRoutingVPC(), buildRoutingVPC(), ]; -void checkUnnamed13(core.List o) { +void checkUnnamed14(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoutingVPC(o[0]); checkRoutingVPC(o[1]); @@ -842,12 +861,12 @@ api.Hub buildHub() { o.createTime = 'foo'; o.description = 'foo'; o.exportPsc = true; - o.labels = buildUnnamed11(); + o.labels = buildUnnamed12(); o.name = 'foo'; o.policyMode = 'foo'; o.presetTopology = 'foo'; - o.routeTables = buildUnnamed12(); - o.routingVpcs = buildUnnamed13(); + o.routeTables = buildUnnamed13(); + o.routingVpcs = buildUnnamed14(); o.spokeSummary = buildSpokeSummary(); o.state = 'foo'; o.uniqueId = 'foo'; @@ -869,7 +888,7 @@ void checkHub(api.Hub o) { unittest.equals('foo'), ); unittest.expect(o.exportPsc!, unittest.isTrue); - checkUnnamed11(o.labels!); + checkUnnamed12(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -882,8 +901,8 @@ void checkHub(api.Hub o) { o.presetTopology!, unittest.equals('foo'), ); - checkUnnamed12(o.routeTables!); - checkUnnamed13(o.routingVpcs!); + checkUnnamed13(o.routeTables!); + checkUnnamed14(o.routingVpcs!); checkSpokeSummary(o.spokeSummary!); unittest.expect( o.state!, @@ -923,12 +942,12 @@ void checkInterconnectAttachment(api.InterconnectAttachment o) { buildCounterInterconnectAttachment--; } -core.Map buildUnnamed14() => { +core.Map buildUnnamed15() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed14(core.Map o) { +void checkUnnamed15(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -940,12 +959,12 @@ void checkUnnamed14(core.Map o) { ); } -core.List buildUnnamed15() => [ +core.List buildUnnamed16() => [ 'foo', 'foo', ]; -void checkUnnamed15(core.List o) { +void checkUnnamed16(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -957,12 +976,12 @@ void checkUnnamed15(core.List o) { ); } -core.List buildUnnamed16() => [ +core.List buildUnnamed17() => [ 'foo', 'foo', ]; -void checkUnnamed16(core.List o) { +void checkUnnamed17(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -974,12 +993,12 @@ void checkUnnamed16(core.List o) { ); } -core.List buildUnnamed17() => [ +core.List buildUnnamed18() => [ 'foo', 'foo', ]; -void checkUnnamed17(core.List o) { +void checkUnnamed18(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -999,16 +1018,16 @@ api.InternalRange buildInternalRange() { o.createTime = 'foo'; o.description = 'foo'; o.ipCidrRange = 'foo'; - o.labels = buildUnnamed14(); + o.labels = buildUnnamed15(); o.name = 'foo'; o.network = 'foo'; - o.overlaps = buildUnnamed15(); + o.overlaps = buildUnnamed16(); o.peering = 'foo'; o.prefixLength = 42; - o.targetCidrRange = buildUnnamed16(); + o.targetCidrRange = buildUnnamed17(); o.updateTime = 'foo'; o.usage = 'foo'; - o.users = buildUnnamed17(); + o.users = buildUnnamed18(); } buildCounterInternalRange--; return o; @@ -1029,7 +1048,7 @@ void checkInternalRange(api.InternalRange o) { o.ipCidrRange!, unittest.equals('foo'), ); - checkUnnamed14(o.labels!); + checkUnnamed15(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1038,7 +1057,7 @@ void checkInternalRange(api.InternalRange o) { o.network!, unittest.equals('foo'), ); - checkUnnamed15(o.overlaps!); + checkUnnamed16(o.overlaps!); unittest.expect( o.peering!, unittest.equals('foo'), @@ -1047,7 +1066,7 @@ void checkInternalRange(api.InternalRange o) { o.prefixLength!, unittest.equals(42), ); - checkUnnamed16(o.targetCidrRange!); + checkUnnamed17(o.targetCidrRange!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -1056,17 +1075,17 @@ void checkInternalRange(api.InternalRange o) { o.usage!, unittest.equals('foo'), ); - checkUnnamed17(o.users!); + checkUnnamed18(o.users!); } buildCounterInternalRange--; } -core.List buildUnnamed18() => [ +core.List buildUnnamed19() => [ 'foo', 'foo', ]; -void checkUnnamed18(core.List o) { +void checkUnnamed19(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1084,7 +1103,7 @@ api.LinkedInterconnectAttachments buildLinkedInterconnectAttachments() { buildCounterLinkedInterconnectAttachments++; if (buildCounterLinkedInterconnectAttachments < 3) { o.siteToSiteDataTransfer = true; - o.uris = buildUnnamed18(); + o.uris = buildUnnamed19(); o.vpcNetwork = 'foo'; } buildCounterLinkedInterconnectAttachments--; @@ -1095,7 +1114,7 @@ void checkLinkedInterconnectAttachments(api.LinkedInterconnectAttachments o) { buildCounterLinkedInterconnectAttachments++; if (buildCounterLinkedInterconnectAttachments < 3) { unittest.expect(o.siteToSiteDataTransfer!, unittest.isTrue); - checkUnnamed18(o.uris!); + checkUnnamed19(o.uris!); unittest.expect( o.vpcNetwork!, unittest.equals('foo'), @@ -1104,12 +1123,12 @@ void checkLinkedInterconnectAttachments(api.LinkedInterconnectAttachments o) { buildCounterLinkedInterconnectAttachments--; } -core.List buildUnnamed19() => [ +core.List buildUnnamed20() => [ buildRouterApplianceInstance(), buildRouterApplianceInstance(), ]; -void checkUnnamed19(core.List o) { +void checkUnnamed20(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouterApplianceInstance(o[0]); checkRouterApplianceInstance(o[1]); @@ -1120,7 +1139,7 @@ api.LinkedRouterApplianceInstances buildLinkedRouterApplianceInstances() { final o = api.LinkedRouterApplianceInstances(); buildCounterLinkedRouterApplianceInstances++; if (buildCounterLinkedRouterApplianceInstances < 3) { - o.instances = buildUnnamed19(); + o.instances = buildUnnamed20(); o.siteToSiteDataTransfer = true; o.vpcNetwork = 'foo'; } @@ -1131,7 +1150,7 @@ api.LinkedRouterApplianceInstances buildLinkedRouterApplianceInstances() { void checkLinkedRouterApplianceInstances(api.LinkedRouterApplianceInstances o) { buildCounterLinkedRouterApplianceInstances++; if (buildCounterLinkedRouterApplianceInstances < 3) { - checkUnnamed19(o.instances!); + checkUnnamed20(o.instances!); unittest.expect(o.siteToSiteDataTransfer!, unittest.isTrue); unittest.expect( o.vpcNetwork!, @@ -1141,12 +1160,29 @@ void checkLinkedRouterApplianceInstances(api.LinkedRouterApplianceInstances o) { buildCounterLinkedRouterApplianceInstances--; } -core.List buildUnnamed20() => [ +core.List buildUnnamed21() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed21(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.List buildUnnamed22() => [ 'foo', 'foo', ]; -void checkUnnamed20(core.List o) { +void checkUnnamed22(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1163,7 +1199,8 @@ api.LinkedVpcNetwork buildLinkedVpcNetwork() { final o = api.LinkedVpcNetwork(); buildCounterLinkedVpcNetwork++; if (buildCounterLinkedVpcNetwork < 3) { - o.excludeExportRanges = buildUnnamed20(); + o.excludeExportRanges = buildUnnamed21(); + o.includeExportRanges = buildUnnamed22(); o.uri = 'foo'; } buildCounterLinkedVpcNetwork--; @@ -1173,7 +1210,8 @@ api.LinkedVpcNetwork buildLinkedVpcNetwork() { void checkLinkedVpcNetwork(api.LinkedVpcNetwork o) { buildCounterLinkedVpcNetwork++; if (buildCounterLinkedVpcNetwork < 3) { - checkUnnamed20(o.excludeExportRanges!); + checkUnnamed21(o.excludeExportRanges!); + checkUnnamed22(o.includeExportRanges!); unittest.expect( o.uri!, unittest.equals('foo'), @@ -1182,12 +1220,12 @@ void checkLinkedVpcNetwork(api.LinkedVpcNetwork o) { buildCounterLinkedVpcNetwork--; } -core.List buildUnnamed21() => [ +core.List buildUnnamed23() => [ 'foo', 'foo', ]; -void checkUnnamed21(core.List o) { +void checkUnnamed23(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1205,7 +1243,7 @@ api.LinkedVpnTunnels buildLinkedVpnTunnels() { buildCounterLinkedVpnTunnels++; if (buildCounterLinkedVpnTunnels < 3) { o.siteToSiteDataTransfer = true; - o.uris = buildUnnamed21(); + o.uris = buildUnnamed23(); o.vpcNetwork = 'foo'; } buildCounterLinkedVpnTunnels--; @@ -1216,7 +1254,7 @@ void checkLinkedVpnTunnels(api.LinkedVpnTunnels o) { buildCounterLinkedVpnTunnels++; if (buildCounterLinkedVpnTunnels < 3) { unittest.expect(o.siteToSiteDataTransfer!, unittest.isTrue); - checkUnnamed21(o.uris!); + checkUnnamed23(o.uris!); unittest.expect( o.vpcNetwork!, unittest.equals('foo'), @@ -1225,23 +1263,23 @@ void checkLinkedVpnTunnels(api.LinkedVpnTunnels o) { buildCounterLinkedVpnTunnels--; } -core.List buildUnnamed22() => [ +core.List buildUnnamed24() => [ buildGroup(), buildGroup(), ]; -void checkUnnamed22(core.List o) { +void checkUnnamed24(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroup(o[0]); checkGroup(o[1]); } -core.List buildUnnamed23() => [ +core.List buildUnnamed25() => [ 'foo', 'foo', ]; -void checkUnnamed23(core.List o) { +void checkUnnamed25(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1258,9 +1296,9 @@ api.ListGroupsResponse buildListGroupsResponse() { final o = api.ListGroupsResponse(); buildCounterListGroupsResponse++; if (buildCounterListGroupsResponse < 3) { - o.groups = buildUnnamed22(); + o.groups = buildUnnamed24(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed23(); + o.unreachable = buildUnnamed25(); } buildCounterListGroupsResponse--; return o; @@ -1269,33 +1307,33 @@ api.ListGroupsResponse buildListGroupsResponse() { void checkListGroupsResponse(api.ListGroupsResponse o) { buildCounterListGroupsResponse++; if (buildCounterListGroupsResponse < 3) { - checkUnnamed22(o.groups!); + checkUnnamed24(o.groups!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed23(o.unreachable!); + checkUnnamed25(o.unreachable!); } buildCounterListGroupsResponse--; } -core.List buildUnnamed24() => [ +core.List buildUnnamed26() => [ buildSpoke(), buildSpoke(), ]; -void checkUnnamed24(core.List o) { +void checkUnnamed26(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpoke(o[0]); checkSpoke(o[1]); } -core.List buildUnnamed25() => [ +core.List buildUnnamed27() => [ 'foo', 'foo', ]; -void checkUnnamed25(core.List o) { +void checkUnnamed27(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1313,8 +1351,8 @@ api.ListHubSpokesResponse buildListHubSpokesResponse() { buildCounterListHubSpokesResponse++; if (buildCounterListHubSpokesResponse < 3) { o.nextPageToken = 'foo'; - o.spokes = buildUnnamed24(); - o.unreachable = buildUnnamed25(); + o.spokes = buildUnnamed26(); + o.unreachable = buildUnnamed27(); } buildCounterListHubSpokesResponse--; return o; @@ -1327,29 +1365,29 @@ void checkListHubSpokesResponse(api.ListHubSpokesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed24(o.spokes!); - checkUnnamed25(o.unreachable!); + checkUnnamed26(o.spokes!); + checkUnnamed27(o.unreachable!); } buildCounterListHubSpokesResponse--; } -core.List buildUnnamed26() => [ +core.List buildUnnamed28() => [ buildHub(), buildHub(), ]; -void checkUnnamed26(core.List o) { +void checkUnnamed28(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHub(o[0]); checkHub(o[1]); } -core.List buildUnnamed27() => [ +core.List buildUnnamed29() => [ 'foo', 'foo', ]; -void checkUnnamed27(core.List o) { +void checkUnnamed29(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1366,9 +1404,9 @@ api.ListHubsResponse buildListHubsResponse() { final o = api.ListHubsResponse(); buildCounterListHubsResponse++; if (buildCounterListHubsResponse < 3) { - o.hubs = buildUnnamed26(); + o.hubs = buildUnnamed28(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed27(); + o.unreachable = buildUnnamed29(); } buildCounterListHubsResponse--; return o; @@ -1377,33 +1415,33 @@ api.ListHubsResponse buildListHubsResponse() { void checkListHubsResponse(api.ListHubsResponse o) { buildCounterListHubsResponse++; if (buildCounterListHubsResponse < 3) { - checkUnnamed26(o.hubs!); + checkUnnamed28(o.hubs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed27(o.unreachable!); + checkUnnamed29(o.unreachable!); } buildCounterListHubsResponse--; } -core.List buildUnnamed28() => [ +core.List buildUnnamed30() => [ buildInternalRange(), buildInternalRange(), ]; -void checkUnnamed28(core.List o) { +void checkUnnamed30(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInternalRange(o[0]); checkInternalRange(o[1]); } -core.List buildUnnamed29() => [ +core.List buildUnnamed31() => [ 'foo', 'foo', ]; -void checkUnnamed29(core.List o) { +void checkUnnamed31(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1420,9 +1458,9 @@ api.ListInternalRangesResponse buildListInternalRangesResponse() { final o = api.ListInternalRangesResponse(); buildCounterListInternalRangesResponse++; if (buildCounterListInternalRangesResponse < 3) { - o.internalRanges = buildUnnamed28(); + o.internalRanges = buildUnnamed30(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed29(); + o.unreachable = buildUnnamed31(); } buildCounterListInternalRangesResponse--; return o; @@ -1431,22 +1469,22 @@ api.ListInternalRangesResponse buildListInternalRangesResponse() { void checkListInternalRangesResponse(api.ListInternalRangesResponse o) { buildCounterListInternalRangesResponse++; if (buildCounterListInternalRangesResponse < 3) { - checkUnnamed28(o.internalRanges!); + checkUnnamed30(o.internalRanges!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed29(o.unreachable!); + checkUnnamed31(o.unreachable!); } buildCounterListInternalRangesResponse--; } -core.List buildUnnamed30() => [ +core.List buildUnnamed32() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed30(core.List o) { +void checkUnnamed32(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1457,7 +1495,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed30(); + o.locations = buildUnnamed32(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -1467,7 +1505,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed30(o.locations!); + checkUnnamed32(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1476,23 +1514,23 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed31() => [ +core.List buildUnnamed33() => [ buildPolicyBasedRoute(), buildPolicyBasedRoute(), ]; -void checkUnnamed31(core.List o) { +void checkUnnamed33(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPolicyBasedRoute(o[0]); checkPolicyBasedRoute(o[1]); } -core.List buildUnnamed32() => [ +core.List buildUnnamed34() => [ 'foo', 'foo', ]; -void checkUnnamed32(core.List o) { +void checkUnnamed34(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1510,8 +1548,8 @@ api.ListPolicyBasedRoutesResponse buildListPolicyBasedRoutesResponse() { buildCounterListPolicyBasedRoutesResponse++; if (buildCounterListPolicyBasedRoutesResponse < 3) { o.nextPageToken = 'foo'; - o.policyBasedRoutes = buildUnnamed31(); - o.unreachable = buildUnnamed32(); + o.policyBasedRoutes = buildUnnamed33(); + o.unreachable = buildUnnamed34(); } buildCounterListPolicyBasedRoutesResponse--; return o; @@ -1524,29 +1562,29 @@ void checkListPolicyBasedRoutesResponse(api.ListPolicyBasedRoutesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed31(o.policyBasedRoutes!); - checkUnnamed32(o.unreachable!); + checkUnnamed33(o.policyBasedRoutes!); + checkUnnamed34(o.unreachable!); } buildCounterListPolicyBasedRoutesResponse--; } -core.List buildUnnamed33() => [ +core.List buildUnnamed35() => [ buildRegionalEndpoint(), buildRegionalEndpoint(), ]; -void checkUnnamed33(core.List o) { +void checkUnnamed35(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegionalEndpoint(o[0]); checkRegionalEndpoint(o[1]); } -core.List buildUnnamed34() => [ +core.List buildUnnamed36() => [ 'foo', 'foo', ]; -void checkUnnamed34(core.List o) { +void checkUnnamed36(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1564,8 +1602,8 @@ api.ListRegionalEndpointsResponse buildListRegionalEndpointsResponse() { buildCounterListRegionalEndpointsResponse++; if (buildCounterListRegionalEndpointsResponse < 3) { o.nextPageToken = 'foo'; - o.regionalEndpoints = buildUnnamed33(); - o.unreachable = buildUnnamed34(); + o.regionalEndpoints = buildUnnamed35(); + o.unreachable = buildUnnamed36(); } buildCounterListRegionalEndpointsResponse--; return o; @@ -1578,29 +1616,29 @@ void checkListRegionalEndpointsResponse(api.ListRegionalEndpointsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed33(o.regionalEndpoints!); - checkUnnamed34(o.unreachable!); + checkUnnamed35(o.regionalEndpoints!); + checkUnnamed36(o.unreachable!); } buildCounterListRegionalEndpointsResponse--; } -core.List buildUnnamed35() => [ +core.List buildUnnamed37() => [ buildRouteTable(), buildRouteTable(), ]; -void checkUnnamed35(core.List o) { +void checkUnnamed37(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouteTable(o[0]); checkRouteTable(o[1]); } -core.List buildUnnamed36() => [ +core.List buildUnnamed38() => [ 'foo', 'foo', ]; -void checkUnnamed36(core.List o) { +void checkUnnamed38(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1618,8 +1656,8 @@ api.ListRouteTablesResponse buildListRouteTablesResponse() { buildCounterListRouteTablesResponse++; if (buildCounterListRouteTablesResponse < 3) { o.nextPageToken = 'foo'; - o.routeTables = buildUnnamed35(); - o.unreachable = buildUnnamed36(); + o.routeTables = buildUnnamed37(); + o.unreachable = buildUnnamed38(); } buildCounterListRouteTablesResponse--; return o; @@ -1632,29 +1670,29 @@ void checkListRouteTablesResponse(api.ListRouteTablesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed35(o.routeTables!); - checkUnnamed36(o.unreachable!); + checkUnnamed37(o.routeTables!); + checkUnnamed38(o.unreachable!); } buildCounterListRouteTablesResponse--; } -core.List buildUnnamed37() => [ +core.List buildUnnamed39() => [ buildRoute(), buildRoute(), ]; -void checkUnnamed37(core.List o) { +void checkUnnamed39(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoute(o[0]); checkRoute(o[1]); } -core.List buildUnnamed38() => [ +core.List buildUnnamed40() => [ 'foo', 'foo', ]; -void checkUnnamed38(core.List o) { +void checkUnnamed40(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1672,8 +1710,8 @@ api.ListRoutesResponse buildListRoutesResponse() { buildCounterListRoutesResponse++; if (buildCounterListRoutesResponse < 3) { o.nextPageToken = 'foo'; - o.routes = buildUnnamed37(); - o.unreachable = buildUnnamed38(); + o.routes = buildUnnamed39(); + o.unreachable = buildUnnamed40(); } buildCounterListRoutesResponse--; return o; @@ -1686,29 +1724,29 @@ void checkListRoutesResponse(api.ListRoutesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed37(o.routes!); - checkUnnamed38(o.unreachable!); + checkUnnamed39(o.routes!); + checkUnnamed40(o.unreachable!); } buildCounterListRoutesResponse--; } -core.List buildUnnamed39() => [ +core.List buildUnnamed41() => [ buildServiceClass(), buildServiceClass(), ]; -void checkUnnamed39(core.List o) { +void checkUnnamed41(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceClass(o[0]); checkServiceClass(o[1]); } -core.List buildUnnamed40() => [ +core.List buildUnnamed42() => [ 'foo', 'foo', ]; -void checkUnnamed40(core.List o) { +void checkUnnamed42(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1726,8 +1764,8 @@ api.ListServiceClassesResponse buildListServiceClassesResponse() { buildCounterListServiceClassesResponse++; if (buildCounterListServiceClassesResponse < 3) { o.nextPageToken = 'foo'; - o.serviceClasses = buildUnnamed39(); - o.unreachable = buildUnnamed40(); + o.serviceClasses = buildUnnamed41(); + o.unreachable = buildUnnamed42(); } buildCounterListServiceClassesResponse--; return o; @@ -1740,29 +1778,29 @@ void checkListServiceClassesResponse(api.ListServiceClassesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed39(o.serviceClasses!); - checkUnnamed40(o.unreachable!); + checkUnnamed41(o.serviceClasses!); + checkUnnamed42(o.unreachable!); } buildCounterListServiceClassesResponse--; } -core.List buildUnnamed41() => [ +core.List buildUnnamed43() => [ buildServiceConnectionMap(), buildServiceConnectionMap(), ]; -void checkUnnamed41(core.List o) { +void checkUnnamed43(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceConnectionMap(o[0]); checkServiceConnectionMap(o[1]); } -core.List buildUnnamed42() => [ +core.List buildUnnamed44() => [ 'foo', 'foo', ]; -void checkUnnamed42(core.List o) { +void checkUnnamed44(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1780,8 +1818,8 @@ api.ListServiceConnectionMapsResponse buildListServiceConnectionMapsResponse() { buildCounterListServiceConnectionMapsResponse++; if (buildCounterListServiceConnectionMapsResponse < 3) { o.nextPageToken = 'foo'; - o.serviceConnectionMaps = buildUnnamed41(); - o.unreachable = buildUnnamed42(); + o.serviceConnectionMaps = buildUnnamed43(); + o.unreachable = buildUnnamed44(); } buildCounterListServiceConnectionMapsResponse--; return o; @@ -1795,29 +1833,29 @@ void checkListServiceConnectionMapsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed41(o.serviceConnectionMaps!); - checkUnnamed42(o.unreachable!); + checkUnnamed43(o.serviceConnectionMaps!); + checkUnnamed44(o.unreachable!); } buildCounterListServiceConnectionMapsResponse--; } -core.List buildUnnamed43() => [ +core.List buildUnnamed45() => [ buildServiceConnectionPolicy(), buildServiceConnectionPolicy(), ]; -void checkUnnamed43(core.List o) { +void checkUnnamed45(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceConnectionPolicy(o[0]); checkServiceConnectionPolicy(o[1]); } -core.List buildUnnamed44() => [ +core.List buildUnnamed46() => [ 'foo', 'foo', ]; -void checkUnnamed44(core.List o) { +void checkUnnamed46(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1836,8 +1874,8 @@ api.ListServiceConnectionPoliciesResponse buildCounterListServiceConnectionPoliciesResponse++; if (buildCounterListServiceConnectionPoliciesResponse < 3) { o.nextPageToken = 'foo'; - o.serviceConnectionPolicies = buildUnnamed43(); - o.unreachable = buildUnnamed44(); + o.serviceConnectionPolicies = buildUnnamed45(); + o.unreachable = buildUnnamed46(); } buildCounterListServiceConnectionPoliciesResponse--; return o; @@ -1851,29 +1889,29 @@ void checkListServiceConnectionPoliciesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed43(o.serviceConnectionPolicies!); - checkUnnamed44(o.unreachable!); + checkUnnamed45(o.serviceConnectionPolicies!); + checkUnnamed46(o.unreachable!); } buildCounterListServiceConnectionPoliciesResponse--; } -core.List buildUnnamed45() => [ +core.List buildUnnamed47() => [ buildServiceConnectionToken(), buildServiceConnectionToken(), ]; -void checkUnnamed45(core.List o) { +void checkUnnamed47(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceConnectionToken(o[0]); checkServiceConnectionToken(o[1]); } -core.List buildUnnamed46() => [ +core.List buildUnnamed48() => [ 'foo', 'foo', ]; -void checkUnnamed46(core.List o) { +void checkUnnamed48(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1892,8 +1930,8 @@ api.ListServiceConnectionTokensResponse buildCounterListServiceConnectionTokensResponse++; if (buildCounterListServiceConnectionTokensResponse < 3) { o.nextPageToken = 'foo'; - o.serviceConnectionTokens = buildUnnamed45(); - o.unreachable = buildUnnamed46(); + o.serviceConnectionTokens = buildUnnamed47(); + o.unreachable = buildUnnamed48(); } buildCounterListServiceConnectionTokensResponse--; return o; @@ -1907,29 +1945,29 @@ void checkListServiceConnectionTokensResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed45(o.serviceConnectionTokens!); - checkUnnamed46(o.unreachable!); + checkUnnamed47(o.serviceConnectionTokens!); + checkUnnamed48(o.unreachable!); } buildCounterListServiceConnectionTokensResponse--; } -core.List buildUnnamed47() => [ +core.List buildUnnamed49() => [ buildSpoke(), buildSpoke(), ]; -void checkUnnamed47(core.List o) { +void checkUnnamed49(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpoke(o[0]); checkSpoke(o[1]); } -core.List buildUnnamed48() => [ +core.List buildUnnamed50() => [ 'foo', 'foo', ]; -void checkUnnamed48(core.List o) { +void checkUnnamed50(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1947,8 +1985,8 @@ api.ListSpokesResponse buildListSpokesResponse() { buildCounterListSpokesResponse++; if (buildCounterListSpokesResponse < 3) { o.nextPageToken = 'foo'; - o.spokes = buildUnnamed47(); - o.unreachable = buildUnnamed48(); + o.spokes = buildUnnamed49(); + o.unreachable = buildUnnamed50(); } buildCounterListSpokesResponse--; return o; @@ -1961,18 +1999,18 @@ void checkListSpokesResponse(api.ListSpokesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed47(o.spokes!); - checkUnnamed48(o.unreachable!); + checkUnnamed49(o.spokes!); + checkUnnamed50(o.unreachable!); } buildCounterListSpokesResponse--; } -core.Map buildUnnamed49() => { +core.Map buildUnnamed51() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed49(core.Map o) { +void checkUnnamed51(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1984,7 +2022,7 @@ void checkUnnamed49(core.Map o) { ); } -core.Map buildUnnamed50() => { +core.Map buildUnnamed52() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1997,7 +2035,7 @@ core.Map buildUnnamed50() => { }, }; -void checkUnnamed50(core.Map o) { +void checkUnnamed52(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -2035,9 +2073,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed49(); + o.labels = buildUnnamed51(); o.locationId = 'foo'; - o.metadata = buildUnnamed50(); + o.metadata = buildUnnamed52(); o.name = 'foo'; } buildCounterLocation--; @@ -2051,12 +2089,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed49(o.labels!); + checkUnnamed51(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed50(o.metadata!); + checkUnnamed52(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2065,6 +2103,93 @@ void checkLocation(api.Location o) { buildCounterLocation--; } +core.int buildCounterNextHopInterconnectAttachment = 0; +api.NextHopInterconnectAttachment buildNextHopInterconnectAttachment() { + final o = api.NextHopInterconnectAttachment(); + buildCounterNextHopInterconnectAttachment++; + if (buildCounterNextHopInterconnectAttachment < 3) { + o.siteToSiteDataTransfer = true; + o.uri = 'foo'; + o.vpcNetwork = 'foo'; + } + buildCounterNextHopInterconnectAttachment--; + return o; +} + +void checkNextHopInterconnectAttachment(api.NextHopInterconnectAttachment o) { + buildCounterNextHopInterconnectAttachment++; + if (buildCounterNextHopInterconnectAttachment < 3) { + unittest.expect(o.siteToSiteDataTransfer!, unittest.isTrue); + unittest.expect( + o.uri!, + unittest.equals('foo'), + ); + unittest.expect( + o.vpcNetwork!, + unittest.equals('foo'), + ); + } + buildCounterNextHopInterconnectAttachment--; +} + +core.int buildCounterNextHopRouterApplianceInstance = 0; +api.NextHopRouterApplianceInstance buildNextHopRouterApplianceInstance() { + final o = api.NextHopRouterApplianceInstance(); + buildCounterNextHopRouterApplianceInstance++; + if (buildCounterNextHopRouterApplianceInstance < 3) { + o.siteToSiteDataTransfer = true; + o.uri = 'foo'; + o.vpcNetwork = 'foo'; + } + buildCounterNextHopRouterApplianceInstance--; + return o; +} + +void checkNextHopRouterApplianceInstance(api.NextHopRouterApplianceInstance o) { + buildCounterNextHopRouterApplianceInstance++; + if (buildCounterNextHopRouterApplianceInstance < 3) { + unittest.expect(o.siteToSiteDataTransfer!, unittest.isTrue); + unittest.expect( + o.uri!, + unittest.equals('foo'), + ); + unittest.expect( + o.vpcNetwork!, + unittest.equals('foo'), + ); + } + buildCounterNextHopRouterApplianceInstance--; +} + +core.int buildCounterNextHopVPNTunnel = 0; +api.NextHopVPNTunnel buildNextHopVPNTunnel() { + final o = api.NextHopVPNTunnel(); + buildCounterNextHopVPNTunnel++; + if (buildCounterNextHopVPNTunnel < 3) { + o.siteToSiteDataTransfer = true; + o.uri = 'foo'; + o.vpcNetwork = 'foo'; + } + buildCounterNextHopVPNTunnel--; + return o; +} + +void checkNextHopVPNTunnel(api.NextHopVPNTunnel o) { + buildCounterNextHopVPNTunnel++; + if (buildCounterNextHopVPNTunnel < 3) { + unittest.expect(o.siteToSiteDataTransfer!, unittest.isTrue); + unittest.expect( + o.uri!, + unittest.equals('foo'), + ); + unittest.expect( + o.vpcNetwork!, + unittest.equals('foo'), + ); + } + buildCounterNextHopVPNTunnel--; +} + core.int buildCounterNextHopVpcNetwork = 0; api.NextHopVpcNetwork buildNextHopVpcNetwork() { final o = api.NextHopVpcNetwork(); @@ -2087,23 +2212,23 @@ void checkNextHopVpcNetwork(api.NextHopVpcNetwork o) { buildCounterNextHopVpcNetwork--; } -core.List buildUnnamed51() => [ +core.List buildUnnamed53() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed51(core.List o) { +void checkUnnamed53(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed52() => [ +core.List buildUnnamed54() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed52(core.List o) { +void checkUnnamed54(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -2114,8 +2239,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed51(); - o.bindings = buildUnnamed52(); + o.auditConfigs = buildUnnamed53(); + o.bindings = buildUnnamed54(); o.etag = 'foo'; o.version = 42; } @@ -2126,8 +2251,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed51(o.auditConfigs!); - checkUnnamed52(o.bindings!); + checkUnnamed53(o.auditConfigs!); + checkUnnamed54(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -2140,12 +2265,12 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.Map buildUnnamed53() => { +core.Map buildUnnamed55() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed53(core.Map o) { +void checkUnnamed55(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2157,12 +2282,12 @@ void checkUnnamed53(core.Map o) { ); } -core.List buildUnnamed54() => [ +core.List buildUnnamed56() => [ buildWarnings(), buildWarnings(), ]; -void checkUnnamed54(core.List o) { +void checkUnnamed56(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWarnings(o[0]); checkWarnings(o[1]); @@ -2178,7 +2303,7 @@ api.PolicyBasedRoute buildPolicyBasedRoute() { o.filter = buildFilter(); o.interconnectAttachment = buildInterconnectAttachment(); o.kind = 'foo'; - o.labels = buildUnnamed53(); + o.labels = buildUnnamed55(); o.name = 'foo'; o.network = 'foo'; o.nextHopIlbIp = 'foo'; @@ -2187,7 +2312,7 @@ api.PolicyBasedRoute buildPolicyBasedRoute() { o.selfLink = 'foo'; o.updateTime = 'foo'; o.virtualMachine = buildVirtualMachine(); - o.warnings = buildUnnamed54(); + o.warnings = buildUnnamed56(); } buildCounterPolicyBasedRoute--; return o; @@ -2210,7 +2335,7 @@ void checkPolicyBasedRoute(api.PolicyBasedRoute o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed53(o.labels!); + checkUnnamed55(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2240,7 +2365,7 @@ void checkPolicyBasedRoute(api.PolicyBasedRoute o) { unittest.equals('foo'), ); checkVirtualMachine(o.virtualMachine!); - checkUnnamed54(o.warnings!); + checkUnnamed56(o.warnings!); } buildCounterPolicyBasedRoute--; } @@ -2267,12 +2392,12 @@ void checkProducerPscConfig(api.ProducerPscConfig o) { buildCounterProducerPscConfig--; } -core.List buildUnnamed55() => [ +core.List buildUnnamed57() => [ 'foo', 'foo', ]; -void checkUnnamed55(core.List o) { +void checkUnnamed57(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2290,7 +2415,7 @@ api.PscConfig buildPscConfig() { buildCounterPscConfig++; if (buildCounterPscConfig < 3) { o.limit = 'foo'; - o.subnetworks = buildUnnamed55(); + o.subnetworks = buildUnnamed57(); } buildCounterPscConfig--; return o; @@ -2303,7 +2428,7 @@ void checkPscConfig(api.PscConfig o) { o.limit!, unittest.equals('foo'), ); - checkUnnamed55(o.subnetworks!); + checkUnnamed57(o.subnetworks!); } buildCounterPscConfig--; } @@ -2374,12 +2499,12 @@ void checkPscConnection(api.PscConnection o) { buildCounterPscConnection--; } -core.Map buildUnnamed56() => { +core.Map buildUnnamed58() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed56(core.Map o) { +void checkUnnamed58(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2401,7 +2526,7 @@ api.RegionalEndpoint buildRegionalEndpoint() { o.createTime = 'foo'; o.description = 'foo'; o.ipAddress = 'foo'; - o.labels = buildUnnamed56(); + o.labels = buildUnnamed58(); o.name = 'foo'; o.network = 'foo'; o.pscForwardingRule = 'foo'; @@ -2436,7 +2561,7 @@ void checkRegionalEndpoint(api.RegionalEndpoint o) { o.ipAddress!, unittest.equals('foo'), ); - checkUnnamed56(o.labels!); + checkUnnamed58(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2497,12 +2622,12 @@ void checkRejectHubSpokeRequest(api.RejectHubSpokeRequest o) { buildCounterRejectHubSpokeRequest--; } -core.Map buildUnnamed57() => { +core.Map buildUnnamed59() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed57(core.Map o) { +void checkUnnamed59(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2522,10 +2647,14 @@ api.Route buildRoute() { o.createTime = 'foo'; o.description = 'foo'; o.ipCidrRange = 'foo'; - o.labels = buildUnnamed57(); + o.labels = buildUnnamed59(); o.location = 'foo'; o.name = 'foo'; + o.nextHopInterconnectAttachment = buildNextHopInterconnectAttachment(); + o.nextHopRouterApplianceInstance = buildNextHopRouterApplianceInstance(); o.nextHopVpcNetwork = buildNextHopVpcNetwork(); + o.nextHopVpnTunnel = buildNextHopVPNTunnel(); + o.priority = 'foo'; o.spoke = 'foo'; o.state = 'foo'; o.type = 'foo'; @@ -2551,7 +2680,7 @@ void checkRoute(api.Route o) { o.ipCidrRange!, unittest.equals('foo'), ); - checkUnnamed57(o.labels!); + checkUnnamed59(o.labels!); unittest.expect( o.location!, unittest.equals('foo'), @@ -2560,7 +2689,14 @@ void checkRoute(api.Route o) { o.name!, unittest.equals('foo'), ); + checkNextHopInterconnectAttachment(o.nextHopInterconnectAttachment!); + checkNextHopRouterApplianceInstance(o.nextHopRouterApplianceInstance!); checkNextHopVpcNetwork(o.nextHopVpcNetwork!); + checkNextHopVPNTunnel(o.nextHopVpnTunnel!); + unittest.expect( + o.priority!, + unittest.equals('foo'), + ); unittest.expect( o.spoke!, unittest.equals('foo'), @@ -2585,12 +2721,12 @@ void checkRoute(api.Route o) { buildCounterRoute--; } -core.Map buildUnnamed58() => { +core.Map buildUnnamed60() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed58(core.Map o) { +void checkUnnamed60(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2609,7 +2745,7 @@ api.RouteTable buildRouteTable() { if (buildCounterRouteTable < 3) { o.createTime = 'foo'; o.description = 'foo'; - o.labels = buildUnnamed58(); + o.labels = buildUnnamed60(); o.name = 'foo'; o.state = 'foo'; o.uid = 'foo'; @@ -2630,7 +2766,7 @@ void checkRouteTable(api.RouteTable o) { o.description!, unittest.equals('foo'), ); - checkUnnamed58(o.labels!); + checkUnnamed60(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2703,12 +2839,12 @@ void checkRoutingVPC(api.RoutingVPC o) { buildCounterRoutingVPC--; } -core.Map buildUnnamed59() => { +core.Map buildUnnamed61() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed59(core.Map o) { +void checkUnnamed61(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2728,7 +2864,7 @@ api.ServiceClass buildServiceClass() { o.createTime = 'foo'; o.description = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed59(); + o.labels = buildUnnamed61(); o.name = 'foo'; o.serviceClass = 'foo'; o.updateTime = 'foo'; @@ -2752,7 +2888,7 @@ void checkServiceClass(api.ServiceClass o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed59(o.labels!); + checkUnnamed61(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2769,34 +2905,34 @@ void checkServiceClass(api.ServiceClass o) { buildCounterServiceClass--; } -core.List buildUnnamed60() => [ +core.List buildUnnamed62() => [ buildConsumerPscConfig(), buildConsumerPscConfig(), ]; -void checkUnnamed60(core.List o) { +void checkUnnamed62(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConsumerPscConfig(o[0]); checkConsumerPscConfig(o[1]); } -core.List buildUnnamed61() => [ +core.List buildUnnamed63() => [ buildConsumerPscConnection(), buildConsumerPscConnection(), ]; -void checkUnnamed61(core.List o) { +void checkUnnamed63(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConsumerPscConnection(o[0]); checkConsumerPscConnection(o[1]); } -core.Map buildUnnamed62() => { +core.Map buildUnnamed64() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed62(core.Map o) { +void checkUnnamed64(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2808,12 +2944,12 @@ void checkUnnamed62(core.Map o) { ); } -core.List buildUnnamed63() => [ +core.List buildUnnamed65() => [ buildProducerPscConfig(), buildProducerPscConfig(), ]; -void checkUnnamed63(core.List o) { +void checkUnnamed65(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProducerPscConfig(o[0]); checkProducerPscConfig(o[1]); @@ -2824,15 +2960,15 @@ api.ServiceConnectionMap buildServiceConnectionMap() { final o = api.ServiceConnectionMap(); buildCounterServiceConnectionMap++; if (buildCounterServiceConnectionMap < 3) { - o.consumerPscConfigs = buildUnnamed60(); - o.consumerPscConnections = buildUnnamed61(); + o.consumerPscConfigs = buildUnnamed62(); + o.consumerPscConnections = buildUnnamed63(); o.createTime = 'foo'; o.description = 'foo'; o.etag = 'foo'; o.infrastructure = 'foo'; - o.labels = buildUnnamed62(); + o.labels = buildUnnamed64(); o.name = 'foo'; - o.producerPscConfigs = buildUnnamed63(); + o.producerPscConfigs = buildUnnamed65(); o.serviceClass = 'foo'; o.serviceClassUri = 'foo'; o.token = 'foo'; @@ -2845,8 +2981,8 @@ api.ServiceConnectionMap buildServiceConnectionMap() { void checkServiceConnectionMap(api.ServiceConnectionMap o) { buildCounterServiceConnectionMap++; if (buildCounterServiceConnectionMap < 3) { - checkUnnamed60(o.consumerPscConfigs!); - checkUnnamed61(o.consumerPscConnections!); + checkUnnamed62(o.consumerPscConfigs!); + checkUnnamed63(o.consumerPscConnections!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -2863,12 +2999,12 @@ void checkServiceConnectionMap(api.ServiceConnectionMap o) { o.infrastructure!, unittest.equals('foo'), ); - checkUnnamed62(o.labels!); + checkUnnamed64(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed63(o.producerPscConfigs!); + checkUnnamed65(o.producerPscConfigs!); unittest.expect( o.serviceClass!, unittest.equals('foo'), @@ -2889,12 +3025,12 @@ void checkServiceConnectionMap(api.ServiceConnectionMap o) { buildCounterServiceConnectionMap--; } -core.Map buildUnnamed64() => { +core.Map buildUnnamed66() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed64(core.Map o) { +void checkUnnamed66(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2906,12 +3042,12 @@ void checkUnnamed64(core.Map o) { ); } -core.List buildUnnamed65() => [ +core.List buildUnnamed67() => [ buildPscConnection(), buildPscConnection(), ]; -void checkUnnamed65(core.List o) { +void checkUnnamed67(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPscConnection(o[0]); checkPscConnection(o[1]); @@ -2926,11 +3062,11 @@ api.ServiceConnectionPolicy buildServiceConnectionPolicy() { o.description = 'foo'; o.etag = 'foo'; o.infrastructure = 'foo'; - o.labels = buildUnnamed64(); + o.labels = buildUnnamed66(); o.name = 'foo'; o.network = 'foo'; o.pscConfig = buildPscConfig(); - o.pscConnections = buildUnnamed65(); + o.pscConnections = buildUnnamed67(); o.serviceClass = 'foo'; o.updateTime = 'foo'; } @@ -2957,7 +3093,7 @@ void checkServiceConnectionPolicy(api.ServiceConnectionPolicy o) { o.infrastructure!, unittest.equals('foo'), ); - checkUnnamed64(o.labels!); + checkUnnamed66(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2967,7 +3103,7 @@ void checkServiceConnectionPolicy(api.ServiceConnectionPolicy o) { unittest.equals('foo'), ); checkPscConfig(o.pscConfig!); - checkUnnamed65(o.pscConnections!); + checkUnnamed67(o.pscConnections!); unittest.expect( o.serviceClass!, unittest.equals('foo'), @@ -2980,12 +3116,12 @@ void checkServiceConnectionPolicy(api.ServiceConnectionPolicy o) { buildCounterServiceConnectionPolicy--; } -core.Map buildUnnamed66() => { +core.Map buildUnnamed68() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed66(core.Map o) { +void checkUnnamed68(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3006,7 +3142,7 @@ api.ServiceConnectionToken buildServiceConnectionToken() { o.description = 'foo'; o.etag = 'foo'; o.expireTime = 'foo'; - o.labels = buildUnnamed66(); + o.labels = buildUnnamed68(); o.name = 'foo'; o.network = 'foo'; o.token = 'foo'; @@ -3035,7 +3171,7 @@ void checkServiceConnectionToken(api.ServiceConnectionToken o) { o.expireTime!, unittest.equals('foo'), ); - checkUnnamed66(o.labels!); + checkUnnamed68(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -3080,12 +3216,12 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.Map buildUnnamed67() => { +core.Map buildUnnamed69() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed67(core.Map o) { +void checkUnnamed69(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3097,12 +3233,12 @@ void checkUnnamed67(core.Map o) { ); } -core.List buildUnnamed68() => [ +core.List buildUnnamed70() => [ buildStateReason(), buildStateReason(), ]; -void checkUnnamed68(core.List o) { +void checkUnnamed70(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStateReason(o[0]); checkStateReason(o[1]); @@ -3117,13 +3253,13 @@ api.Spoke buildSpoke() { o.description = 'foo'; o.group = 'foo'; o.hub = 'foo'; - o.labels = buildUnnamed67(); + o.labels = buildUnnamed69(); o.linkedInterconnectAttachments = buildLinkedInterconnectAttachments(); o.linkedRouterApplianceInstances = buildLinkedRouterApplianceInstances(); o.linkedVpcNetwork = buildLinkedVpcNetwork(); o.linkedVpnTunnels = buildLinkedVpnTunnels(); o.name = 'foo'; - o.reasons = buildUnnamed68(); + o.reasons = buildUnnamed70(); o.spokeType = 'foo'; o.state = 'foo'; o.uniqueId = 'foo'; @@ -3152,7 +3288,7 @@ void checkSpoke(api.Spoke o) { o.hub!, unittest.equals('foo'), ); - checkUnnamed67(o.labels!); + checkUnnamed69(o.labels!); checkLinkedInterconnectAttachments(o.linkedInterconnectAttachments!); checkLinkedRouterApplianceInstances(o.linkedRouterApplianceInstances!); checkLinkedVpcNetwork(o.linkedVpcNetwork!); @@ -3161,7 +3297,7 @@ void checkSpoke(api.Spoke o) { o.name!, unittest.equals('foo'), ); - checkUnnamed68(o.reasons!); + checkUnnamed70(o.reasons!); unittest.expect( o.spokeType!, unittest.equals('foo'), @@ -3236,34 +3372,34 @@ void checkSpokeStateReasonCount(api.SpokeStateReasonCount o) { buildCounterSpokeStateReasonCount--; } -core.List buildUnnamed69() => [ +core.List buildUnnamed71() => [ buildSpokeStateCount(), buildSpokeStateCount(), ]; -void checkUnnamed69(core.List o) { +void checkUnnamed71(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpokeStateCount(o[0]); checkSpokeStateCount(o[1]); } -core.List buildUnnamed70() => [ +core.List buildUnnamed72() => [ buildSpokeStateReasonCount(), buildSpokeStateReasonCount(), ]; -void checkUnnamed70(core.List o) { +void checkUnnamed72(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpokeStateReasonCount(o[0]); checkSpokeStateReasonCount(o[1]); } -core.List buildUnnamed71() => [ +core.List buildUnnamed73() => [ buildSpokeTypeCount(), buildSpokeTypeCount(), ]; -void checkUnnamed71(core.List o) { +void checkUnnamed73(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpokeTypeCount(o[0]); checkSpokeTypeCount(o[1]); @@ -3274,9 +3410,9 @@ api.SpokeSummary buildSpokeSummary() { final o = api.SpokeSummary(); buildCounterSpokeSummary++; if (buildCounterSpokeSummary < 3) { - o.spokeStateCounts = buildUnnamed69(); - o.spokeStateReasonCounts = buildUnnamed70(); - o.spokeTypeCounts = buildUnnamed71(); + o.spokeStateCounts = buildUnnamed71(); + o.spokeStateReasonCounts = buildUnnamed72(); + o.spokeTypeCounts = buildUnnamed73(); } buildCounterSpokeSummary--; return o; @@ -3285,9 +3421,9 @@ api.SpokeSummary buildSpokeSummary() { void checkSpokeSummary(api.SpokeSummary o) { buildCounterSpokeSummary++; if (buildCounterSpokeSummary < 3) { - checkUnnamed69(o.spokeStateCounts!); - checkUnnamed70(o.spokeStateReasonCounts!); - checkUnnamed71(o.spokeTypeCounts!); + checkUnnamed71(o.spokeStateCounts!); + checkUnnamed72(o.spokeStateReasonCounts!); + checkUnnamed73(o.spokeTypeCounts!); } buildCounterSpokeSummary--; } @@ -3351,12 +3487,12 @@ void checkStateReason(api.StateReason o) { buildCounterStateReason--; } -core.List buildUnnamed72() => [ +core.List buildUnnamed74() => [ 'foo', 'foo', ]; -void checkUnnamed72(core.List o) { +void checkUnnamed74(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3373,7 +3509,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed72(); + o.permissions = buildUnnamed74(); } buildCounterTestIamPermissionsRequest--; return o; @@ -3382,17 +3518,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed72(o.permissions!); + checkUnnamed74(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed73() => [ +core.List buildUnnamed75() => [ 'foo', 'foo', ]; -void checkUnnamed73(core.List o) { +void checkUnnamed75(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3409,7 +3545,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed73(); + o.permissions = buildUnnamed75(); } buildCounterTestIamPermissionsResponse--; return o; @@ -3418,17 +3554,17 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed73(o.permissions!); + checkUnnamed75(o.permissions!); } buildCounterTestIamPermissionsResponse--; } -core.List buildUnnamed74() => [ +core.List buildUnnamed76() => [ 'foo', 'foo', ]; -void checkUnnamed74(core.List o) { +void checkUnnamed76(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3445,7 +3581,7 @@ api.VirtualMachine buildVirtualMachine() { final o = api.VirtualMachine(); buildCounterVirtualMachine++; if (buildCounterVirtualMachine < 3) { - o.tags = buildUnnamed74(); + o.tags = buildUnnamed76(); } buildCounterVirtualMachine--; return o; @@ -3454,17 +3590,17 @@ api.VirtualMachine buildVirtualMachine() { void checkVirtualMachine(api.VirtualMachine o) { buildCounterVirtualMachine++; if (buildCounterVirtualMachine < 3) { - checkUnnamed74(o.tags!); + checkUnnamed76(o.tags!); } buildCounterVirtualMachine--; } -core.Map buildUnnamed75() => { +core.Map buildUnnamed77() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed75(core.Map o) { +void checkUnnamed77(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3482,7 +3618,7 @@ api.Warnings buildWarnings() { buildCounterWarnings++; if (buildCounterWarnings < 3) { o.code = 'foo'; - o.data = buildUnnamed75(); + o.data = buildUnnamed77(); o.warningMessage = 'foo'; } buildCounterWarnings--; @@ -3496,7 +3632,7 @@ void checkWarnings(api.Warnings o) { o.code!, unittest.equals('foo'), ); - checkUnnamed75(o.data!); + checkUnnamed77(o.data!); unittest.expect( o.warningMessage!, unittest.equals('foo'), @@ -3505,12 +3641,12 @@ void checkWarnings(api.Warnings o) { buildCounterWarnings--; } -core.List buildUnnamed76() => [ +core.List buildUnnamed78() => [ 'foo', 'foo', ]; -void checkUnnamed76(core.List o) { +void checkUnnamed78(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3902,6 +4038,36 @@ void main() { }); }); + unittest.group('obj-schema-NextHopInterconnectAttachment', () { + unittest.test('to-json--from-json', () async { + final o = buildNextHopInterconnectAttachment(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.NextHopInterconnectAttachment.fromJson( + oJson as core.Map); + checkNextHopInterconnectAttachment(od); + }); + }); + + unittest.group('obj-schema-NextHopRouterApplianceInstance', () { + unittest.test('to-json--from-json', () async { + final o = buildNextHopRouterApplianceInstance(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.NextHopRouterApplianceInstance.fromJson( + oJson as core.Map); + checkNextHopRouterApplianceInstance(od); + }); + }); + + unittest.group('obj-schema-NextHopVPNTunnel', () { + unittest.test('to-json--from-json', () async { + final o = buildNextHopVPNTunnel(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.NextHopVPNTunnel.fromJson( + oJson as core.Map); + checkNextHopVPNTunnel(od); + }); + }); + unittest.group('obj-schema-NextHopVpcNetwork', () { unittest.test('to-json--from-json', () async { final o = buildNextHopVpcNetwork(); @@ -4688,7 +4854,7 @@ void main() { final arg_orderBy = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; - final arg_spokeLocations = buildUnnamed76(); + final arg_spokeLocations = buildUnnamed78(); final arg_view = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { diff --git a/generated/googleapis/test/notebooks/v2_test.dart b/generated/googleapis/test/notebooks/v2_test.dart index 3f1730dd4..d06600ec6 100644 --- a/generated/googleapis/test/notebooks/v2_test.dart +++ b/generated/googleapis/test/notebooks/v2_test.dart @@ -52,6 +52,28 @@ void checkAcceleratorConfig(api.AcceleratorConfig o) { buildCounterAcceleratorConfig--; } +core.int buildCounterAccessConfig = 0; +api.AccessConfig buildAccessConfig() { + final o = api.AccessConfig(); + buildCounterAccessConfig++; + if (buildCounterAccessConfig < 3) { + o.externalIp = 'foo'; + } + buildCounterAccessConfig--; + return o; +} + +void checkAccessConfig(api.AccessConfig o) { + buildCounterAccessConfig++; + if (buildCounterAccessConfig < 3) { + unittest.expect( + o.externalIp!, + unittest.equals('foo'), + ); + } + buildCounterAccessConfig--; +} + core.List buildUnnamed0() => [ 'foo', 'foo', @@ -713,6 +735,8 @@ api.Instance buildInstance() { o.labels = buildUnnamed11(); o.name = 'foo'; o.proxyUri = 'foo'; + o.satisfiesPzi = true; + o.satisfiesPzs = true; o.state = 'foo'; o.thirdPartyProxyUrl = 'foo'; o.updateTime = 'foo'; @@ -754,6 +778,8 @@ void checkInstance(api.Instance o) { o.proxyUri!, unittest.equals('foo'), ); + unittest.expect(o.satisfiesPzi!, unittest.isTrue); + unittest.expect(o.satisfiesPzs!, unittest.isTrue); unittest.expect( o.state!, unittest.equals('foo'), @@ -993,11 +1019,23 @@ void checkLocation(api.Location o) { buildCounterLocation--; } +core.List buildUnnamed19() => [ + buildAccessConfig(), + buildAccessConfig(), + ]; + +void checkUnnamed19(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkAccessConfig(o[0]); + checkAccessConfig(o[1]); +} + core.int buildCounterNetworkInterface = 0; api.NetworkInterface buildNetworkInterface() { final o = api.NetworkInterface(); buildCounterNetworkInterface++; if (buildCounterNetworkInterface < 3) { + o.accessConfigs = buildUnnamed19(); o.network = 'foo'; o.nicType = 'foo'; o.subnet = 'foo'; @@ -1009,6 +1047,7 @@ api.NetworkInterface buildNetworkInterface() { void checkNetworkInterface(api.NetworkInterface o) { buildCounterNetworkInterface++; if (buildCounterNetworkInterface < 3) { + checkUnnamed19(o.accessConfigs!); unittest.expect( o.network!, unittest.equals('foo'), @@ -1025,7 +1064,7 @@ void checkNetworkInterface(api.NetworkInterface o) { buildCounterNetworkInterface--; } -core.Map buildUnnamed19() => { +core.Map buildUnnamed20() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1038,7 +1077,7 @@ core.Map buildUnnamed19() => { }, }; -void checkUnnamed19(core.Map o) { +void checkUnnamed20(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1070,7 +1109,7 @@ void checkUnnamed19(core.Map o) { ); } -core.Map buildUnnamed20() => { +core.Map buildUnnamed21() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1083,7 +1122,7 @@ core.Map buildUnnamed20() => { }, }; -void checkUnnamed20(core.Map o) { +void checkUnnamed21(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1122,9 +1161,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed19(); + o.metadata = buildUnnamed20(); o.name = 'foo'; - o.response = buildUnnamed20(); + o.response = buildUnnamed21(); } buildCounterOperation--; return o; @@ -1135,22 +1174,22 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed19(o.metadata!); + checkUnnamed20(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed20(o.response!); + checkUnnamed21(o.response!); } buildCounterOperation--; } -core.List buildUnnamed21() => [ +core.List buildUnnamed22() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed21(core.List o) { +void checkUnnamed22(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1161,7 +1200,7 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.bindings = buildUnnamed21(); + o.bindings = buildUnnamed22(); o.etag = 'foo'; o.version = 42; } @@ -1172,7 +1211,7 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed21(o.bindings!); + checkUnnamed22(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1273,12 +1312,12 @@ void checkRollbackInstanceRequest(api.RollbackInstanceRequest o) { buildCounterRollbackInstanceRequest--; } -core.List buildUnnamed22() => [ +core.List buildUnnamed23() => [ 'foo', 'foo', ]; -void checkUnnamed22(core.List o) { +void checkUnnamed23(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1296,7 +1335,7 @@ api.ServiceAccount buildServiceAccount() { buildCounterServiceAccount++; if (buildCounterServiceAccount < 3) { o.email = 'foo'; - o.scopes = buildUnnamed22(); + o.scopes = buildUnnamed23(); } buildCounterServiceAccount--; return o; @@ -1309,7 +1348,7 @@ void checkServiceAccount(api.ServiceAccount o) { o.email!, unittest.equals('foo'), ); - checkUnnamed22(o.scopes!); + checkUnnamed23(o.scopes!); } buildCounterServiceAccount--; } @@ -1371,7 +1410,7 @@ void checkStartInstanceRequest(api.StartInstanceRequest o) { buildCounterStartInstanceRequest--; } -core.Map buildUnnamed23() => { +core.Map buildUnnamed24() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1384,7 +1423,7 @@ core.Map buildUnnamed23() => { }, }; -void checkUnnamed23(core.Map o) { +void checkUnnamed24(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1416,15 +1455,15 @@ void checkUnnamed23(core.Map o) { ); } -core.List> buildUnnamed24() => [ - buildUnnamed23(), - buildUnnamed23(), +core.List> buildUnnamed25() => [ + buildUnnamed24(), + buildUnnamed24(), ]; -void checkUnnamed24(core.List> o) { +void checkUnnamed25(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed23(o[0]); - checkUnnamed23(o[1]); + checkUnnamed24(o[0]); + checkUnnamed24(o[1]); } core.int buildCounterStatus = 0; @@ -1433,7 +1472,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed24(); + o.details = buildUnnamed25(); o.message = 'foo'; } buildCounterStatus--; @@ -1447,7 +1486,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed24(o.details!); + checkUnnamed25(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1471,12 +1510,12 @@ void checkStopInstanceRequest(api.StopInstanceRequest o) { buildCounterStopInstanceRequest--; } -core.List buildUnnamed25() => [ +core.List buildUnnamed26() => [ 'foo', 'foo', ]; -void checkUnnamed25(core.List o) { +void checkUnnamed26(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1488,12 +1527,12 @@ void checkUnnamed25(core.List o) { ); } -core.List buildUnnamed26() => [ +core.List buildUnnamed27() => [ 'foo', 'foo', ]; -void checkUnnamed26(core.List o) { +void checkUnnamed27(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1510,8 +1549,8 @@ api.SupportedValues buildSupportedValues() { final o = api.SupportedValues(); buildCounterSupportedValues++; if (buildCounterSupportedValues < 3) { - o.acceleratorTypes = buildUnnamed25(); - o.machineTypes = buildUnnamed26(); + o.acceleratorTypes = buildUnnamed26(); + o.machineTypes = buildUnnamed27(); } buildCounterSupportedValues--; return o; @@ -1520,18 +1559,18 @@ api.SupportedValues buildSupportedValues() { void checkSupportedValues(api.SupportedValues o) { buildCounterSupportedValues++; if (buildCounterSupportedValues < 3) { - checkUnnamed25(o.acceleratorTypes!); - checkUnnamed26(o.machineTypes!); + checkUnnamed26(o.acceleratorTypes!); + checkUnnamed27(o.machineTypes!); } buildCounterSupportedValues--; } -core.List buildUnnamed27() => [ +core.List buildUnnamed28() => [ 'foo', 'foo', ]; -void checkUnnamed27(core.List o) { +void checkUnnamed28(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1548,7 +1587,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed27(); + o.permissions = buildUnnamed28(); } buildCounterTestIamPermissionsRequest--; return o; @@ -1557,17 +1596,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed27(o.permissions!); + checkUnnamed28(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed28() => [ +core.List buildUnnamed29() => [ 'foo', 'foo', ]; -void checkUnnamed28(core.List o) { +void checkUnnamed29(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1584,7 +1623,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed28(); + o.permissions = buildUnnamed29(); } buildCounterTestIamPermissionsResponse--; return o; @@ -1593,7 +1632,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed28(o.permissions!); + checkUnnamed29(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -1740,6 +1779,16 @@ void main() { }); }); + unittest.group('obj-schema-AccessConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildAccessConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AccessConfig.fromJson( + oJson as core.Map); + checkAccessConfig(od); + }); + }); + unittest.group('obj-schema-Binding', () { unittest.test('to-json--from-json', () async { final o = buildBinding(); diff --git a/generated/googleapis/test/policyanalyzer/v1_test.dart b/generated/googleapis/test/policyanalyzer/v1_test.dart index 9effbe02f..3c5a17ed6 100644 --- a/generated/googleapis/test/policyanalyzer/v1_test.dart +++ b/generated/googleapis/test/policyanalyzer/v1_test.dart @@ -201,6 +201,166 @@ void main() { }); }); + unittest.group('resource-FoldersLocationsActivityTypesActivitiesResource', + () { + unittest.test('method--query', () async { + final mock = HttpServerMock(); + final res = api.PolicyAnalyzerApi(mock) + .folders + .locations + .activityTypes + .activities; + final arg_parent = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + 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['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudPolicyanalyzerV1QueryActivityResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.query(arg_parent, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkGoogleCloudPolicyanalyzerV1QueryActivityResponse( + response as api.GoogleCloudPolicyanalyzerV1QueryActivityResponse); + }); + }); + + unittest.group( + 'resource-OrganizationsLocationsActivityTypesActivitiesResource', () { + unittest.test('method--query', () async { + final mock = HttpServerMock(); + final res = api.PolicyAnalyzerApi(mock) + .organizations + .locations + .activityTypes + .activities; + final arg_parent = 'foo'; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + 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['filter']!.first, + unittest.equals(arg_filter), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleCloudPolicyanalyzerV1QueryActivityResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.query(arg_parent, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkGoogleCloudPolicyanalyzerV1QueryActivityResponse( + response as api.GoogleCloudPolicyanalyzerV1QueryActivityResponse); + }); + }); + unittest.group('resource-ProjectsLocationsActivityTypesActivitiesResource', () { unittest.test('method--query', () async { diff --git a/generated/googleapis/test/pollen/v1_test.dart b/generated/googleapis/test/pollen/v1_test.dart new file mode 100644 index 000000000..a15efdc77 --- /dev/null +++ b/generated/googleapis/test/pollen/v1_test.dart @@ -0,0 +1,742 @@ +// ignore_for_file: camel_case_types +// ignore_for_file: comment_references +// ignore_for_file: deprecated_member_use_from_same_package +// ignore_for_file: doc_directive_unknown +// ignore_for_file: lines_longer_than_80_chars +// ignore_for_file: non_constant_identifier_names +// ignore_for_file: prefer_const_declarations +// ignore_for_file: prefer_expression_function_bodies +// ignore_for_file: prefer_final_locals +// ignore_for_file: prefer_interpolation_to_compose_strings +// ignore_for_file: unnecessary_brace_in_string_interps +// ignore_for_file: unnecessary_cast +// ignore_for_file: unnecessary_lambdas +// ignore_for_file: unnecessary_string_interpolations +// ignore_for_file: unreachable_from_main +// ignore_for_file: unused_local_variable + +import 'dart:async' as async; +import 'dart:convert' as convert; +import 'dart:core' as core; + +import 'package:googleapis/pollen/v1.dart' as api; +import 'package:http/http.dart' as http; +import 'package:test/test.dart' as unittest; + +import '../test_shared.dart'; + +core.int buildCounterColor = 0; +api.Color buildColor() { + final o = api.Color(); + buildCounterColor++; + if (buildCounterColor < 3) { + o.alpha = 42.0; + o.blue = 42.0; + o.green = 42.0; + o.red = 42.0; + } + buildCounterColor--; + return o; +} + +void checkColor(api.Color o) { + buildCounterColor++; + if (buildCounterColor < 3) { + unittest.expect( + o.alpha!, + unittest.equals(42.0), + ); + unittest.expect( + o.blue!, + unittest.equals(42.0), + ); + unittest.expect( + o.green!, + unittest.equals(42.0), + ); + unittest.expect( + o.red!, + unittest.equals(42.0), + ); + } + buildCounterColor--; +} + +core.int buildCounterDate = 0; +api.Date buildDate() { + final o = api.Date(); + buildCounterDate++; + if (buildCounterDate < 3) { + o.day = 42; + o.month = 42; + o.year = 42; + } + buildCounterDate--; + return o; +} + +void checkDate(api.Date o) { + buildCounterDate++; + if (buildCounterDate < 3) { + unittest.expect( + o.day!, + unittest.equals(42), + ); + unittest.expect( + o.month!, + unittest.equals(42), + ); + unittest.expect( + o.year!, + unittest.equals(42), + ); + } + buildCounterDate--; +} + +core.List buildUnnamed0() => [ + buildPlantInfo(), + buildPlantInfo(), + ]; + +void checkUnnamed0(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkPlantInfo(o[0]); + checkPlantInfo(o[1]); +} + +core.List buildUnnamed1() => [ + buildPollenTypeInfo(), + buildPollenTypeInfo(), + ]; + +void checkUnnamed1(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkPollenTypeInfo(o[0]); + checkPollenTypeInfo(o[1]); +} + +core.int buildCounterDayInfo = 0; +api.DayInfo buildDayInfo() { + final o = api.DayInfo(); + buildCounterDayInfo++; + if (buildCounterDayInfo < 3) { + o.date = buildDate(); + o.plantInfo = buildUnnamed0(); + o.pollenTypeInfo = buildUnnamed1(); + } + buildCounterDayInfo--; + return o; +} + +void checkDayInfo(api.DayInfo o) { + buildCounterDayInfo++; + if (buildCounterDayInfo < 3) { + checkDate(o.date!); + checkUnnamed0(o.plantInfo!); + checkUnnamed1(o.pollenTypeInfo!); + } + buildCounterDayInfo--; +} + +core.Map buildUnnamed2() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed2(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted1 = (o['x']!) as core.Map; + unittest.expect(casted1, unittest.hasLength(3)); + unittest.expect( + casted1['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted1['bool'], + unittest.equals(true), + ); + unittest.expect( + casted1['string'], + unittest.equals('foo'), + ); + var casted2 = (o['y']!) as core.Map; + unittest.expect(casted2, unittest.hasLength(3)); + unittest.expect( + casted2['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted2['bool'], + unittest.equals(true), + ); + unittest.expect( + casted2['string'], + unittest.equals('foo'), + ); +} + +core.List> buildUnnamed3() => [ + buildUnnamed2(), + buildUnnamed2(), + ]; + +void checkUnnamed3(core.List> o) { + unittest.expect(o, unittest.hasLength(2)); + checkUnnamed2(o[0]); + checkUnnamed2(o[1]); +} + +core.int buildCounterHttpBody = 0; +api.HttpBody buildHttpBody() { + final o = api.HttpBody(); + buildCounterHttpBody++; + if (buildCounterHttpBody < 3) { + o.contentType = 'foo'; + o.data = 'foo'; + o.extensions = buildUnnamed3(); + } + buildCounterHttpBody--; + return o; +} + +void checkHttpBody(api.HttpBody o) { + buildCounterHttpBody++; + if (buildCounterHttpBody < 3) { + unittest.expect( + o.contentType!, + unittest.equals('foo'), + ); + unittest.expect( + o.data!, + unittest.equals('foo'), + ); + checkUnnamed3(o.extensions!); + } + buildCounterHttpBody--; +} + +core.int buildCounterIndexInfo = 0; +api.IndexInfo buildIndexInfo() { + final o = api.IndexInfo(); + buildCounterIndexInfo++; + if (buildCounterIndexInfo < 3) { + o.category = 'foo'; + o.code = 'foo'; + o.color = buildColor(); + o.displayName = 'foo'; + o.indexDescription = 'foo'; + o.value = 42; + } + buildCounterIndexInfo--; + return o; +} + +void checkIndexInfo(api.IndexInfo o) { + buildCounterIndexInfo++; + if (buildCounterIndexInfo < 3) { + unittest.expect( + o.category!, + unittest.equals('foo'), + ); + unittest.expect( + o.code!, + unittest.equals('foo'), + ); + checkColor(o.color!); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.indexDescription!, + unittest.equals('foo'), + ); + unittest.expect( + o.value!, + unittest.equals(42), + ); + } + buildCounterIndexInfo--; +} + +core.List buildUnnamed4() => [ + buildDayInfo(), + buildDayInfo(), + ]; + +void checkUnnamed4(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkDayInfo(o[0]); + checkDayInfo(o[1]); +} + +core.int buildCounterLookupForecastResponse = 0; +api.LookupForecastResponse buildLookupForecastResponse() { + final o = api.LookupForecastResponse(); + buildCounterLookupForecastResponse++; + if (buildCounterLookupForecastResponse < 3) { + o.dailyInfo = buildUnnamed4(); + o.nextPageToken = 'foo'; + o.regionCode = 'foo'; + } + buildCounterLookupForecastResponse--; + return o; +} + +void checkLookupForecastResponse(api.LookupForecastResponse o) { + buildCounterLookupForecastResponse++; + if (buildCounterLookupForecastResponse < 3) { + checkUnnamed4(o.dailyInfo!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + unittest.expect( + o.regionCode!, + unittest.equals('foo'), + ); + } + buildCounterLookupForecastResponse--; +} + +core.int buildCounterPlantDescription = 0; +api.PlantDescription buildPlantDescription() { + final o = api.PlantDescription(); + buildCounterPlantDescription++; + if (buildCounterPlantDescription < 3) { + o.crossReaction = 'foo'; + o.family = 'foo'; + o.picture = 'foo'; + o.pictureCloseup = 'foo'; + o.season = 'foo'; + o.specialColors = 'foo'; + o.specialShapes = 'foo'; + o.type = 'foo'; + } + buildCounterPlantDescription--; + return o; +} + +void checkPlantDescription(api.PlantDescription o) { + buildCounterPlantDescription++; + if (buildCounterPlantDescription < 3) { + unittest.expect( + o.crossReaction!, + unittest.equals('foo'), + ); + unittest.expect( + o.family!, + unittest.equals('foo'), + ); + unittest.expect( + o.picture!, + unittest.equals('foo'), + ); + unittest.expect( + o.pictureCloseup!, + unittest.equals('foo'), + ); + unittest.expect( + o.season!, + unittest.equals('foo'), + ); + unittest.expect( + o.specialColors!, + unittest.equals('foo'), + ); + unittest.expect( + o.specialShapes!, + unittest.equals('foo'), + ); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterPlantDescription--; +} + +core.int buildCounterPlantInfo = 0; +api.PlantInfo buildPlantInfo() { + final o = api.PlantInfo(); + buildCounterPlantInfo++; + if (buildCounterPlantInfo < 3) { + o.code = 'foo'; + o.displayName = 'foo'; + o.inSeason = true; + o.indexInfo = buildIndexInfo(); + o.plantDescription = buildPlantDescription(); + } + buildCounterPlantInfo--; + return o; +} + +void checkPlantInfo(api.PlantInfo o) { + buildCounterPlantInfo++; + if (buildCounterPlantInfo < 3) { + unittest.expect( + o.code!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect(o.inSeason!, unittest.isTrue); + checkIndexInfo(o.indexInfo!); + checkPlantDescription(o.plantDescription!); + } + buildCounterPlantInfo--; +} + +core.List buildUnnamed5() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed5(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterPollenTypeInfo = 0; +api.PollenTypeInfo buildPollenTypeInfo() { + final o = api.PollenTypeInfo(); + buildCounterPollenTypeInfo++; + if (buildCounterPollenTypeInfo < 3) { + o.code = 'foo'; + o.displayName = 'foo'; + o.healthRecommendations = buildUnnamed5(); + o.inSeason = true; + o.indexInfo = buildIndexInfo(); + } + buildCounterPollenTypeInfo--; + return o; +} + +void checkPollenTypeInfo(api.PollenTypeInfo o) { + buildCounterPollenTypeInfo++; + if (buildCounterPollenTypeInfo < 3) { + unittest.expect( + o.code!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + checkUnnamed5(o.healthRecommendations!); + unittest.expect(o.inSeason!, unittest.isTrue); + checkIndexInfo(o.indexInfo!); + } + buildCounterPollenTypeInfo--; +} + +void main() { + unittest.group('obj-schema-Color', () { + unittest.test('to-json--from-json', () async { + final o = buildColor(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Color.fromJson(oJson as core.Map); + checkColor(od); + }); + }); + + unittest.group('obj-schema-Date', () { + unittest.test('to-json--from-json', () async { + final o = buildDate(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Date.fromJson(oJson as core.Map); + checkDate(od); + }); + }); + + unittest.group('obj-schema-DayInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildDayInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.DayInfo.fromJson(oJson as core.Map); + checkDayInfo(od); + }); + }); + + unittest.group('obj-schema-HttpBody', () { + unittest.test('to-json--from-json', () async { + final o = buildHttpBody(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.HttpBody.fromJson(oJson as core.Map); + checkHttpBody(od); + }); + }); + + unittest.group('obj-schema-IndexInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildIndexInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.IndexInfo.fromJson(oJson as core.Map); + checkIndexInfo(od); + }); + }); + + unittest.group('obj-schema-LookupForecastResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildLookupForecastResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.LookupForecastResponse.fromJson( + oJson as core.Map); + checkLookupForecastResponse(od); + }); + }); + + unittest.group('obj-schema-PlantDescription', () { + unittest.test('to-json--from-json', () async { + final o = buildPlantDescription(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.PlantDescription.fromJson( + oJson as core.Map); + checkPlantDescription(od); + }); + }); + + unittest.group('obj-schema-PlantInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildPlantInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.PlantInfo.fromJson(oJson as core.Map); + checkPlantInfo(od); + }); + }); + + unittest.group('obj-schema-PollenTypeInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildPollenTypeInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.PollenTypeInfo.fromJson( + oJson as core.Map); + checkPollenTypeInfo(od); + }); + }); + + unittest.group('resource-ForecastResource', () { + unittest.test('method--lookup', () async { + final mock = HttpServerMock(); + final res = api.PollenApi(mock).forecast; + final arg_days = 42; + final arg_languageCode = 'foo'; + final arg_location_latitude = 42.0; + final arg_location_longitude = 42.0; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_plantsDescription = true; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + 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 + 18), + unittest.equals('v1/forecast:lookup'), + ); + pathOffset += 18; + + 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( + core.int.parse(queryMap['days']!.first), + unittest.equals(arg_days), + ); + unittest.expect( + queryMap['languageCode']!.first, + unittest.equals(arg_languageCode), + ); + unittest.expect( + core.num.parse(queryMap['location.latitude']!.first), + unittest.equals(arg_location_latitude), + ); + unittest.expect( + core.num.parse(queryMap['location.longitude']!.first), + unittest.equals(arg_location_longitude), + ); + unittest.expect( + core.int.parse(queryMap['pageSize']!.first), + unittest.equals(arg_pageSize), + ); + unittest.expect( + queryMap['pageToken']!.first, + unittest.equals(arg_pageToken), + ); + unittest.expect( + queryMap['plantsDescription']!.first, + unittest.equals('$arg_plantsDescription'), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildLookupForecastResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.lookup( + days: arg_days, + languageCode: arg_languageCode, + location_latitude: arg_location_latitude, + location_longitude: arg_location_longitude, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + plantsDescription: arg_plantsDescription, + $fields: arg_$fields); + checkLookupForecastResponse(response as api.LookupForecastResponse); + }); + }); + + unittest.group('resource-MapTypesHeatmapTilesResource', () { + unittest.test('method--lookupHeatmapTile', () async { + final mock = HttpServerMock(); + final res = api.PollenApi(mock).mapTypes.heatmapTiles; + final arg_mapType = 'foo'; + final arg_zoom = 42; + final arg_x = 42; + final arg_y = 42; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + 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 + 12), + unittest.equals('v1/mapTypes/'), + ); + pathOffset += 12; + index = path.indexOf('/heatmapTiles/', pathOffset); + unittest.expect(index >= 0, unittest.isTrue); + subPart = + core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); + pathOffset = index; + unittest.expect( + subPart, + unittest.equals('$arg_mapType'), + ); + unittest.expect( + path.substring(pathOffset, pathOffset + 14), + unittest.equals('/heatmapTiles/'), + ); + pathOffset += 14; + index = path.indexOf('/', pathOffset); + unittest.expect(index >= 0, unittest.isTrue); + subPart = + core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); + pathOffset = index; + unittest.expect( + subPart, + unittest.equals('$arg_zoom'), + ); + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + index = path.indexOf('/', pathOffset); + unittest.expect(index >= 0, unittest.isTrue); + subPart = + core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); + pathOffset = index; + unittest.expect( + subPart, + unittest.equals('$arg_x'), + ); + unittest.expect( + path.substring(pathOffset, pathOffset + 1), + unittest.equals('/'), + ); + pathOffset += 1; + subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset)); + pathOffset = path.length; + unittest.expect( + subPart, + unittest.equals('$arg_y'), + ); + + 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(buildHttpBody()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.lookupHeatmapTile( + arg_mapType, arg_zoom, arg_x, arg_y, + $fields: arg_$fields); + checkHttpBody(response as api.HttpBody); + }); + }); +} diff --git a/generated/googleapis/test/pubsub/v1_test.dart b/generated/googleapis/test/pubsub/v1_test.dart index 274dc1089..7d3aa79bb 100644 --- a/generated/googleapis/test/pubsub/v1_test.dart +++ b/generated/googleapis/test/pubsub/v1_test.dart @@ -66,6 +66,7 @@ api.AvroConfig buildAvroConfig() { final o = api.AvroConfig(); buildCounterAvroConfig++; if (buildCounterAvroConfig < 3) { + o.useTopicSchema = true; o.writeMetadata = true; } buildCounterAvroConfig--; @@ -75,6 +76,7 @@ api.AvroConfig buildAvroConfig() { void checkAvroConfig(api.AvroConfig o) { buildCounterAvroConfig++; if (buildCounterAvroConfig < 3) { + unittest.expect(o.useTopicSchema!, unittest.isTrue); unittest.expect(o.writeMetadata!, unittest.isTrue); } buildCounterAvroConfig--; diff --git a/generated/googleapis/test/redis/v1_test.dart b/generated/googleapis/test/redis/v1_test.dart index 99e492f0e..edeaa67c6 100644 --- a/generated/googleapis/test/redis/v1_test.dart +++ b/generated/googleapis/test/redis/v1_test.dart @@ -180,6 +180,7 @@ api.Cluster buildCluster() { o.stateInfo = buildStateInfo(); o.transitEncryptionMode = 'foo'; o.uid = 'foo'; + o.zoneDistributionConfig = buildZoneDistributionConfig(); } buildCounterCluster--; return o; @@ -239,6 +240,7 @@ void checkCluster(api.Cluster o) { o.uid!, unittest.equals('foo'), ); + checkZoneDistributionConfig(o.zoneDistributionConfig!); } buildCounterCluster--; } @@ -1681,6 +1683,33 @@ void checkWeeklyMaintenanceWindow(api.WeeklyMaintenanceWindow o) { buildCounterWeeklyMaintenanceWindow--; } +core.int buildCounterZoneDistributionConfig = 0; +api.ZoneDistributionConfig buildZoneDistributionConfig() { + final o = api.ZoneDistributionConfig(); + buildCounterZoneDistributionConfig++; + if (buildCounterZoneDistributionConfig < 3) { + o.mode = 'foo'; + o.zone = 'foo'; + } + buildCounterZoneDistributionConfig--; + return o; +} + +void checkZoneDistributionConfig(api.ZoneDistributionConfig o) { + buildCounterZoneDistributionConfig++; + if (buildCounterZoneDistributionConfig < 3) { + unittest.expect( + o.mode!, + unittest.equals('foo'), + ); + unittest.expect( + o.zone!, + unittest.equals('foo'), + ); + } + buildCounterZoneDistributionConfig--; +} + void main() { unittest.group('obj-schema-AOFConfig', () { unittest.test('to-json--from-json', () async { @@ -2062,6 +2091,16 @@ void main() { }); }); + unittest.group('obj-schema-ZoneDistributionConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildZoneDistributionConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ZoneDistributionConfig.fromJson( + oJson as core.Map); + checkZoneDistributionConfig(od); + }); + }); + unittest.group('resource-ProjectsLocationsResource', () { unittest.test('method--get', () async { final mock = HttpServerMock(); diff --git a/generated/googleapis/test/workflowexecutions/v1_test.dart b/generated/googleapis/test/workflowexecutions/v1_test.dart index 6cc13faad..be4ed491d 100644 --- a/generated/googleapis/test/workflowexecutions/v1_test.dart +++ b/generated/googleapis/test/workflowexecutions/v1_test.dart @@ -719,6 +719,7 @@ api.StepEntryMetadata buildStepEntryMetadata() { final o = api.StepEntryMetadata(); buildCounterStepEntryMetadata++; if (buildCounterStepEntryMetadata < 3) { + o.expectedIteration = 'foo'; o.progressNumber = 'foo'; o.progressType = 'foo'; o.threadId = 'foo'; @@ -730,6 +731,10 @@ api.StepEntryMetadata buildStepEntryMetadata() { void checkStepEntryMetadata(api.StepEntryMetadata o) { buildCounterStepEntryMetadata++; if (buildCounterStepEntryMetadata < 3) { + unittest.expect( + o.expectedIteration!, + unittest.equals('foo'), + ); unittest.expect( o.progressNumber!, unittest.equals('foo'), diff --git a/generated/googleapis_beta/lib/analyticsadmin/v1alpha.dart b/generated/googleapis_beta/lib/analyticsadmin/v1alpha.dart index d44e194b7..8ac688f5e 100644 --- a/generated/googleapis_beta/lib/analyticsadmin/v1alpha.dart +++ b/generated/googleapis_beta/lib/analyticsadmin/v1alpha.dart @@ -41,6 +41,7 @@ /// - [PropertiesCustomMetricsResource] /// - [PropertiesDataStreamsResource] /// - [PropertiesDataStreamsEventCreateRulesResource] +/// - [PropertiesDataStreamsEventEditRulesResource] /// - [PropertiesDataStreamsMeasurementProtocolSecretsResource] /// - [PropertiesDataStreamsSKAdNetworkConversionValueSchemaResource] /// - [PropertiesDisplayVideo360AdvertiserLinkProposalsResource] @@ -4033,6 +4034,8 @@ class PropertiesDataStreamsResource { PropertiesDataStreamsEventCreateRulesResource get eventCreateRules => PropertiesDataStreamsEventCreateRulesResource(_requester); + PropertiesDataStreamsEventEditRulesResource get eventEditRules => + PropertiesDataStreamsEventEditRulesResource(_requester); PropertiesDataStreamsMeasurementProtocolSecretsResource get measurementProtocolSecrets => PropertiesDataStreamsMeasurementProtocolSecretsResource(_requester); @@ -4719,6 +4722,55 @@ class PropertiesDataStreamsEventCreateRulesResource { } } +class PropertiesDataStreamsEventEditRulesResource { + final commons.ApiRequester _requester; + + PropertiesDataStreamsEventEditRulesResource(commons.ApiRequester client) + : _requester = client; + + /// Changes the processing order of event edit rules on the specified stream. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/123/dataStreams/456 + /// Value must have pattern `^properties/\[^/\]+/dataStreams/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleProtobufEmpty]. + /// + /// 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 reorder( + GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest request, + core.String parent, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1alpha/' + core.Uri.encodeFull('$parent') + '/eventEditRules:reorder'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } +} + class PropertiesDataStreamsMeasurementProtocolSecretsResource { final commons.ApiRequester _requester; @@ -13018,6 +13070,10 @@ class GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest { typedef GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse = $ProvisionAccountTicketResponse; +/// Request message for ReorderEventEditRules RPC. +typedef GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest + = $ReorderEventEditRulesRequest; + /// A link that references a source property under the parent rollup property. class GoogleAnalyticsAdminV1alphaRollupPropertySourceLink { /// Resource name of this RollupPropertySourceLink. diff --git a/generated/googleapis_beta/lib/analyticsadmin/v1beta.dart b/generated/googleapis_beta/lib/analyticsadmin/v1beta.dart index 10e6a45b9..9c6f98fc0 100644 --- a/generated/googleapis_beta/lib/analyticsadmin/v1beta.dart +++ b/generated/googleapis_beta/lib/analyticsadmin/v1beta.dart @@ -33,6 +33,7 @@ /// - [PropertiesCustomDimensionsResource] /// - [PropertiesCustomMetricsResource] /// - [PropertiesDataStreamsResource] +/// - [PropertiesDataStreamsEventEditRulesResource] /// - [PropertiesDataStreamsMeasurementProtocolSecretsResource] /// - [PropertiesFirebaseLinksResource] /// - [PropertiesGoogleAdsLinksResource] @@ -1675,6 +1676,8 @@ class PropertiesCustomMetricsResource { class PropertiesDataStreamsResource { final commons.ApiRequester _requester; + PropertiesDataStreamsEventEditRulesResource get eventEditRules => + PropertiesDataStreamsEventEditRulesResource(_requester); PropertiesDataStreamsMeasurementProtocolSecretsResource get measurementProtocolSecrets => PropertiesDataStreamsMeasurementProtocolSecretsResource(_requester); @@ -1896,6 +1899,55 @@ class PropertiesDataStreamsResource { } } +class PropertiesDataStreamsEventEditRulesResource { + final commons.ApiRequester _requester; + + PropertiesDataStreamsEventEditRulesResource(commons.ApiRequester client) + : _requester = client; + + /// Changes the processing order of event edit rules on the specified stream. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/123/dataStreams/456 + /// Value must have pattern `^properties/\[^/\]+/dataStreams/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleProtobufEmpty]. + /// + /// 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 reorder( + GoogleAnalyticsAdminV1betaReorderEventEditRulesRequest request, + core.String parent, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1beta/' + core.Uri.encodeFull('$parent') + '/eventEditRules:reorder'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } +} + class PropertiesDataStreamsMeasurementProtocolSecretsResource { final commons.ApiRequester _requester; @@ -4200,6 +4252,10 @@ class GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest { typedef GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse = $ProvisionAccountTicketResponse; +/// Request message for ReorderEventEditRules RPC. +typedef GoogleAnalyticsAdminV1betaReorderEventEditRulesRequest + = $ReorderEventEditRulesRequest; + /// The request for a Data Access Record Report. class GoogleAnalyticsAdminV1betaRunAccessReportRequest { /// Date ranges of access records to read. diff --git a/generated/googleapis_beta/lib/dataflow/v1b3.dart b/generated/googleapis_beta/lib/dataflow/v1b3.dart index d74cfc993..079d7a40d 100644 --- a/generated/googleapis_beta/lib/dataflow/v1b3.dart +++ b/generated/googleapis_beta/lib/dataflow/v1b3.dart @@ -8143,8 +8143,13 @@ class ParameterMetadata { /// - "BOOLEAN" : The parameter specifies a boolean input. /// - "ENUM" : The parameter specifies an enum input. /// - "NUMBER" : The parameter specifies a number input. - /// - "KAFKA_TOPIC" : The parameter specifies the fully-qualified name of an - /// Apache Kafka topic. This can be either a Google Managed Kafka topic or a + /// - "KAFKA_TOPIC" : Deprecated. Please use KAFKA_READ_TOPIC instead. + /// - "KAFKA_READ_TOPIC" : The parameter specifies the fully-qualified name of + /// an Apache Kafka topic. This can be either a Google Managed Kafka topic or + /// a non-managed Kafka topic. + /// - "KAFKA_WRITE_TOPIC" : The parameter specifies the fully-qualified name + /// of an Apache Kafka topic. This can be an existing Google Managed Kafka + /// topic, the name for a new Google Managed Kafka topic, or an existing /// non-managed Kafka topic. core.String? paramType; diff --git a/generated/googleapis_beta/lib/fcmdata/v1beta1.dart b/generated/googleapis_beta/lib/fcmdata/v1beta1.dart index 9155be434..88b95330b 100644 --- a/generated/googleapis_beta/lib/fcmdata/v1beta1.dart +++ b/generated/googleapis_beta/lib/fcmdata/v1beta1.dart @@ -428,6 +428,11 @@ class GoogleFirebaseFcmDataV1beta1MessageInsightPercents { /// countMessagesAccepted as the denominator. These categories may not account /// for all message outcomes. class GoogleFirebaseFcmDataV1beta1MessageOutcomePercents { + /// The percentage of accepted messages that were + /// [collapsed](https://firebase.google.com/docs/cloud-messaging/concept-options#collapsible_and_non-collapsible_messages) + /// by another message. + core.double? collapsed; + /// The percentage of all accepted messages that were successfully delivered /// to the device. core.double? delivered; @@ -458,6 +463,11 @@ class GoogleFirebaseFcmDataV1beta1MessageOutcomePercents { /// in our SDK instead of delivering the messages. core.double? droppedTooManyPendingMessages; + /// The percentage of accepted messages that expired because \[Time To Live + /// (TTL)\](https://firebase.google.com/docs/cloud-messaging/concept-options#ttl) + /// elapsed before the target device reconnected. + core.double? droppedTtlExpired; + /// The percentage of messages accepted on this day that were not dropped and /// not delivered, due to the device being disconnected (as of the end of the /// America/Los_Angeles day when the message was sent to FCM). @@ -468,15 +478,20 @@ class GoogleFirebaseFcmDataV1beta1MessageOutcomePercents { core.double? pending; GoogleFirebaseFcmDataV1beta1MessageOutcomePercents({ + this.collapsed, this.delivered, this.droppedAppForceStopped, this.droppedDeviceInactive, this.droppedTooManyPendingMessages, + this.droppedTtlExpired, this.pending, }); GoogleFirebaseFcmDataV1beta1MessageOutcomePercents.fromJson(core.Map json_) : this( + collapsed: json_.containsKey('collapsed') + ? (json_['collapsed'] as core.num).toDouble() + : null, delivered: json_.containsKey('delivered') ? (json_['delivered'] as core.num).toDouble() : null, @@ -490,12 +505,16 @@ class GoogleFirebaseFcmDataV1beta1MessageOutcomePercents { .containsKey('droppedTooManyPendingMessages') ? (json_['droppedTooManyPendingMessages'] as core.num).toDouble() : null, + droppedTtlExpired: json_.containsKey('droppedTtlExpired') + ? (json_['droppedTtlExpired'] as core.num).toDouble() + : null, pending: json_.containsKey('pending') ? (json_['pending'] as core.num).toDouble() : null, ); core.Map toJson() => { + if (collapsed != null) 'collapsed': collapsed!, if (delivered != null) 'delivered': delivered!, if (droppedAppForceStopped != null) 'droppedAppForceStopped': droppedAppForceStopped!, @@ -503,11 +522,14 @@ class GoogleFirebaseFcmDataV1beta1MessageOutcomePercents { 'droppedDeviceInactive': droppedDeviceInactive!, if (droppedTooManyPendingMessages != null) 'droppedTooManyPendingMessages': droppedTooManyPendingMessages!, + if (droppedTtlExpired != null) 'droppedTtlExpired': droppedTtlExpired!, if (pending != null) 'pending': pending!, }; } -/// Additional information about proxy notification delivery. +/// Additional information about +/// [proxy notification](https://firebase.google.com/docs/cloud-messaging/android/message-priority#proxy) +/// delivery. /// /// All percentages are calculated with countNotificationsAccepted as the /// denominator. diff --git a/generated/googleapis_beta/lib/shared.dart b/generated/googleapis_beta/lib/shared.dart index 36e9ea744..b4b65252a 100644 --- a/generated/googleapis_beta/lib/shared.dart +++ b/generated/googleapis_beta/lib/shared.dart @@ -1835,6 +1835,37 @@ class $QuotaStatus { }; } +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaReorderEventEditRulesRequest +class $ReorderEventEditRulesRequest { + /// EventEditRule resource names for the specified data stream, in the needed + /// processing order. + /// + /// All EventEditRules for the stream must be present in the list. + /// + /// Required. + core.List? eventEditRules; + + $ReorderEventEditRulesRequest({ + this.eventEditRules, + }); + + $ReorderEventEditRulesRequest.fromJson(core.Map json_) + : this( + eventEditRules: json_.containsKey('eventEditRules') + ? (json_['eventEditRules'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (eventEditRules != null) 'eventEditRules': eventEditRules!, + }; +} + /// Used by: /// /// - prod_tt_sasportal:v1alpha1 : SasPortalAssignment diff --git a/generated/googleapis_beta/lib/sqladmin/v1beta4.dart b/generated/googleapis_beta/lib/sqladmin/v1beta4.dart index 1598d6499..9f99a88b0 100644 --- a/generated/googleapis_beta/lib/sqladmin/v1beta4.dart +++ b/generated/googleapis_beta/lib/sqladmin/v1beta4.dart @@ -8344,6 +8344,13 @@ class SqlExternalSyncSettingError { /// - "INSUFFICIENT_MACHINE_TIER" : The data size of the source instance is /// greater than 1 TB, the number of cores of the replica instance is less /// than 8, and the memory of the replica is less than 32 GB. + /// - "UNSUPPORTED_EXTENSIONS_NOT_MIGRATED" : The warning message indicates + /// the unsupported extensions will not be migrated to the destination. + /// - "EXTENSIONS_NOT_MIGRATED" : The warning message indicates the pg_cron + /// extension and settings will not be migrated to the destination. + /// - "PG_CRON_FLAG_ENABLED_IN_REPLICA" : The error message indicates that + /// pg_cron flags are enabled on the destination which is not supported during + /// the migration. core.String? type; SqlExternalSyncSettingError({ diff --git a/generated/googleapis_beta/test/analyticsadmin/v1alpha_test.dart b/generated/googleapis_beta/test/analyticsadmin/v1alpha_test.dart index e6760fefd..4876b2542 100644 --- a/generated/googleapis_beta/test/analyticsadmin/v1alpha_test.dart +++ b/generated/googleapis_beta/test/analyticsadmin/v1alpha_test.dart @@ -5425,6 +5425,45 @@ void checkGoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse( buildCounterGoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse--; } +core.List buildUnnamed61() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed61(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest = + 0; +api.GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest + buildGoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest() { + final o = api.GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest(); + buildCounterGoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest < 3) { + o.eventEditRules = buildUnnamed61(); + } + buildCounterGoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest( + api.GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest < 3) { + checkUnnamed61(o.eventEditRules!); + } + buildCounterGoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest--; +} + core.int buildCounterGoogleAnalyticsAdminV1alphaRollupPropertySourceLink = 0; api.GoogleAnalyticsAdminV1alphaRollupPropertySourceLink buildGoogleAnalyticsAdminV1alphaRollupPropertySourceLink() { @@ -5454,47 +5493,47 @@ void checkGoogleAnalyticsAdminV1alphaRollupPropertySourceLink( buildCounterGoogleAnalyticsAdminV1alphaRollupPropertySourceLink--; } -core.List buildUnnamed61() => [ +core.List buildUnnamed62() => [ buildGoogleAnalyticsAdminV1alphaAccessDateRange(), buildGoogleAnalyticsAdminV1alphaAccessDateRange(), ]; -void checkUnnamed61( +void checkUnnamed62( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaAccessDateRange(o[0]); checkGoogleAnalyticsAdminV1alphaAccessDateRange(o[1]); } -core.List buildUnnamed62() => [ +core.List buildUnnamed63() => [ buildGoogleAnalyticsAdminV1alphaAccessDimension(), buildGoogleAnalyticsAdminV1alphaAccessDimension(), ]; -void checkUnnamed62( +void checkUnnamed63( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaAccessDimension(o[0]); checkGoogleAnalyticsAdminV1alphaAccessDimension(o[1]); } -core.List buildUnnamed63() => [ +core.List buildUnnamed64() => [ buildGoogleAnalyticsAdminV1alphaAccessMetric(), buildGoogleAnalyticsAdminV1alphaAccessMetric(), ]; -void checkUnnamed63(core.List o) { +void checkUnnamed64(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaAccessMetric(o[0]); checkGoogleAnalyticsAdminV1alphaAccessMetric(o[1]); } -core.List buildUnnamed64() => [ +core.List buildUnnamed65() => [ buildGoogleAnalyticsAdminV1alphaAccessOrderBy(), buildGoogleAnalyticsAdminV1alphaAccessOrderBy(), ]; -void checkUnnamed64(core.List o) { +void checkUnnamed65(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaAccessOrderBy(o[0]); checkGoogleAnalyticsAdminV1alphaAccessOrderBy(o[1]); @@ -5506,17 +5545,17 @@ api.GoogleAnalyticsAdminV1alphaRunAccessReportRequest final o = api.GoogleAnalyticsAdminV1alphaRunAccessReportRequest(); buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportRequest++; if (buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportRequest < 3) { - o.dateRanges = buildUnnamed61(); + o.dateRanges = buildUnnamed62(); o.dimensionFilter = buildGoogleAnalyticsAdminV1alphaAccessFilterExpression(); - o.dimensions = buildUnnamed62(); + o.dimensions = buildUnnamed63(); o.expandGroups = true; o.includeAllUsers = true; o.limit = 'foo'; o.metricFilter = buildGoogleAnalyticsAdminV1alphaAccessFilterExpression(); - o.metrics = buildUnnamed63(); + o.metrics = buildUnnamed64(); o.offset = 'foo'; - o.orderBys = buildUnnamed64(); + o.orderBys = buildUnnamed65(); o.returnEntityQuota = true; o.timeZone = 'foo'; } @@ -5528,9 +5567,9 @@ void checkGoogleAnalyticsAdminV1alphaRunAccessReportRequest( api.GoogleAnalyticsAdminV1alphaRunAccessReportRequest o) { buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportRequest++; if (buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportRequest < 3) { - checkUnnamed61(o.dateRanges!); + checkUnnamed62(o.dateRanges!); checkGoogleAnalyticsAdminV1alphaAccessFilterExpression(o.dimensionFilter!); - checkUnnamed62(o.dimensions!); + checkUnnamed63(o.dimensions!); unittest.expect(o.expandGroups!, unittest.isTrue); unittest.expect(o.includeAllUsers!, unittest.isTrue); unittest.expect( @@ -5538,12 +5577,12 @@ void checkGoogleAnalyticsAdminV1alphaRunAccessReportRequest( unittest.equals('foo'), ); checkGoogleAnalyticsAdminV1alphaAccessFilterExpression(o.metricFilter!); - checkUnnamed63(o.metrics!); + checkUnnamed64(o.metrics!); unittest.expect( o.offset!, unittest.equals('foo'), ); - checkUnnamed64(o.orderBys!); + checkUnnamed65(o.orderBys!); unittest.expect(o.returnEntityQuota!, unittest.isTrue); unittest.expect( o.timeZone!, @@ -5554,37 +5593,37 @@ void checkGoogleAnalyticsAdminV1alphaRunAccessReportRequest( } core.List - buildUnnamed65() => [ + buildUnnamed66() => [ buildGoogleAnalyticsAdminV1alphaAccessDimensionHeader(), buildGoogleAnalyticsAdminV1alphaAccessDimensionHeader(), ]; -void checkUnnamed65( +void checkUnnamed66( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaAccessDimensionHeader(o[0]); checkGoogleAnalyticsAdminV1alphaAccessDimensionHeader(o[1]); } -core.List buildUnnamed66() => +core.List buildUnnamed67() => [ buildGoogleAnalyticsAdminV1alphaAccessMetricHeader(), buildGoogleAnalyticsAdminV1alphaAccessMetricHeader(), ]; -void checkUnnamed66( +void checkUnnamed67( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaAccessMetricHeader(o[0]); checkGoogleAnalyticsAdminV1alphaAccessMetricHeader(o[1]); } -core.List buildUnnamed67() => [ +core.List buildUnnamed68() => [ buildGoogleAnalyticsAdminV1alphaAccessRow(), buildGoogleAnalyticsAdminV1alphaAccessRow(), ]; -void checkUnnamed67(core.List o) { +void checkUnnamed68(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaAccessRow(o[0]); checkGoogleAnalyticsAdminV1alphaAccessRow(o[1]); @@ -5596,11 +5635,11 @@ api.GoogleAnalyticsAdminV1alphaRunAccessReportResponse final o = api.GoogleAnalyticsAdminV1alphaRunAccessReportResponse(); buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportResponse < 3) { - o.dimensionHeaders = buildUnnamed65(); - o.metricHeaders = buildUnnamed66(); + o.dimensionHeaders = buildUnnamed66(); + o.metricHeaders = buildUnnamed67(); o.quota = buildGoogleAnalyticsAdminV1alphaAccessQuota(); o.rowCount = 42; - o.rows = buildUnnamed67(); + o.rows = buildUnnamed68(); } buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportResponse--; return o; @@ -5610,14 +5649,14 @@ void checkGoogleAnalyticsAdminV1alphaRunAccessReportResponse( api.GoogleAnalyticsAdminV1alphaRunAccessReportResponse o) { buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportResponse < 3) { - checkUnnamed65(o.dimensionHeaders!); - checkUnnamed66(o.metricHeaders!); + checkUnnamed66(o.dimensionHeaders!); + checkUnnamed67(o.metricHeaders!); checkGoogleAnalyticsAdminV1alphaAccessQuota(o.quota!); unittest.expect( o.rowCount!, unittest.equals(42), ); - checkUnnamed67(o.rows!); + checkUnnamed68(o.rows!); } buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportResponse--; } @@ -5699,12 +5738,12 @@ void checkGoogleAnalyticsAdminV1alphaSearchAds360Link( buildCounterGoogleAnalyticsAdminV1alphaSearchAds360Link--; } -core.List buildUnnamed68() => [ +core.List buildUnnamed69() => [ 'foo', 'foo', ]; -void checkUnnamed68(core.List o) { +void checkUnnamed69(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5716,12 +5755,12 @@ void checkUnnamed68(core.List o) { ); } -core.List buildUnnamed69() => [ +core.List buildUnnamed70() => [ 'foo', 'foo', ]; -void checkUnnamed69(core.List o) { +void checkUnnamed70(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5733,12 +5772,12 @@ void checkUnnamed69(core.List o) { ); } -core.List buildUnnamed70() => [ +core.List buildUnnamed71() => [ 'foo', 'foo', ]; -void checkUnnamed70(core.List o) { +void checkUnnamed71(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5758,14 +5797,14 @@ api.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest++; if (buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest < 3) { - o.action = buildUnnamed68(); - o.actorEmail = buildUnnamed69(); + o.action = buildUnnamed69(); + o.actorEmail = buildUnnamed70(); o.earliestChangeTime = 'foo'; o.latestChangeTime = 'foo'; o.pageSize = 42; o.pageToken = 'foo'; o.property = 'foo'; - o.resourceType = buildUnnamed70(); + o.resourceType = buildUnnamed71(); } buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest--; return o; @@ -5776,8 +5815,8 @@ void checkGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest( buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest++; if (buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest < 3) { - checkUnnamed68(o.action!); - checkUnnamed69(o.actorEmail!); + checkUnnamed69(o.action!); + checkUnnamed70(o.actorEmail!); unittest.expect( o.earliestChangeTime!, unittest.equals('foo'), @@ -5798,18 +5837,18 @@ void checkGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest( o.property!, unittest.equals('foo'), ); - checkUnnamed70(o.resourceType!); + checkUnnamed71(o.resourceType!); } buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest--; } -core.List buildUnnamed71() => +core.List buildUnnamed72() => [ buildGoogleAnalyticsAdminV1alphaChangeHistoryEvent(), buildGoogleAnalyticsAdminV1alphaChangeHistoryEvent(), ]; -void checkUnnamed71( +void checkUnnamed72( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaChangeHistoryEvent(o[0]); @@ -5825,7 +5864,7 @@ api.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse < 3) { - o.changeHistoryEvents = buildUnnamed71(); + o.changeHistoryEvents = buildUnnamed72(); o.nextPageToken = 'foo'; } buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse--; @@ -5837,7 +5876,7 @@ void checkGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse( buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse++; if (buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse < 3) { - checkUnnamed71(o.changeHistoryEvents!); + checkUnnamed72(o.changeHistoryEvents!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -5902,12 +5941,12 @@ void checkGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse( } core.List - buildUnnamed72() => [ + buildUnnamed73() => [ buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause(), buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause(), ]; -void checkUnnamed72( +void checkUnnamed73( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause(o[0]); @@ -5921,7 +5960,7 @@ api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilter buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilter++; if (buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilter < 3) { o.applyToProperty = 'foo'; - o.filterClauses = buildUnnamed72(); + o.filterClauses = buildUnnamed73(); o.name = 'foo'; } buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilter--; @@ -5936,7 +5975,7 @@ void checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilter( o.applyToProperty!, unittest.equals('foo'), ); - checkUnnamed72(o.filterClauses!); + checkUnnamed73(o.filterClauses!); unittest.expect( o.name!, unittest.equals('foo'), @@ -6079,12 +6118,12 @@ void checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression( } core.List - buildUnnamed73() => [ + buildUnnamed74() => [ buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression(), buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression(), ]; -void checkUnnamed73( +void checkUnnamed74( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -6102,7 +6141,7 @@ api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList++; if (buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList < 3) { - o.filterExpressions = buildUnnamed73(); + o.filterExpressions = buildUnnamed74(); } buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList--; return o; @@ -6113,7 +6152,7 @@ void checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList( buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList++; if (buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList < 3) { - checkUnnamed73(o.filterExpressions!); + checkUnnamed74(o.filterExpressions!); } buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList--; } @@ -6154,12 +6193,12 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.List buildUnnamed74() => [ +core.List buildUnnamed75() => [ 'foo', 'foo', ]; -void checkUnnamed74(core.List o) { +void checkUnnamed75(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6171,12 +6210,12 @@ void checkUnnamed74(core.List o) { ); } -core.List buildUnnamed75() => [ +core.List buildUnnamed76() => [ 'foo', 'foo', ]; -void checkUnnamed75(core.List o) { +void checkUnnamed76(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -7920,6 +7959,18 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest(od); + }); + }); + unittest.group( 'obj-schema-GoogleAnalyticsAdminV1alphaRollupPropertySourceLink', () { unittest.test('to-json--from-json', () async { @@ -8812,7 +8863,7 @@ void main() { final mock = HttpServerMock(); final res = api.GoogleAnalyticsAdminApi(mock).accounts.accessBindings; final arg_parent = 'foo'; - final arg_names = buildUnnamed74(); + final arg_names = buildUnnamed75(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -10634,7 +10685,7 @@ void main() { final mock = HttpServerMock(); final res = api.GoogleAnalyticsAdminApi(mock).properties.accessBindings; final arg_parent = 'foo'; - final arg_names = buildUnnamed75(); + final arg_names = buildUnnamed76(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -14153,6 +14204,70 @@ void main() { }); }); + unittest.group('resource-PropertiesDataStreamsEventEditRulesResource', () { + unittest.test('method--reorder', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .dataStreams + .eventEditRules; + final arg_request = + buildGoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaReorderEventEditRulesRequest(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 + 8), + unittest.equals('v1alpha/'), + ); + pathOffset += 8; + // 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(buildGoogleProtobufEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.reorder(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + }); + unittest.group( 'resource-PropertiesDataStreamsMeasurementProtocolSecretsResource', () { unittest.test('method--create', () async { diff --git a/generated/googleapis_beta/test/analyticsadmin/v1beta_test.dart b/generated/googleapis_beta/test/analyticsadmin/v1beta_test.dart index 6bc272cb5..cadcdc2fb 100644 --- a/generated/googleapis_beta/test/analyticsadmin/v1beta_test.dart +++ b/generated/googleapis_beta/test/analyticsadmin/v1beta_test.dart @@ -2143,47 +2143,85 @@ void checkGoogleAnalyticsAdminV1betaProvisionAccountTicketResponse( buildCounterGoogleAnalyticsAdminV1betaProvisionAccountTicketResponse--; } -core.List buildUnnamed18() => [ +core.List buildUnnamed18() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed18(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleAnalyticsAdminV1betaReorderEventEditRulesRequest = 0; +api.GoogleAnalyticsAdminV1betaReorderEventEditRulesRequest + buildGoogleAnalyticsAdminV1betaReorderEventEditRulesRequest() { + final o = api.GoogleAnalyticsAdminV1betaReorderEventEditRulesRequest(); + buildCounterGoogleAnalyticsAdminV1betaReorderEventEditRulesRequest++; + if (buildCounterGoogleAnalyticsAdminV1betaReorderEventEditRulesRequest < 3) { + o.eventEditRules = buildUnnamed18(); + } + buildCounterGoogleAnalyticsAdminV1betaReorderEventEditRulesRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1betaReorderEventEditRulesRequest( + api.GoogleAnalyticsAdminV1betaReorderEventEditRulesRequest o) { + buildCounterGoogleAnalyticsAdminV1betaReorderEventEditRulesRequest++; + if (buildCounterGoogleAnalyticsAdminV1betaReorderEventEditRulesRequest < 3) { + checkUnnamed18(o.eventEditRules!); + } + buildCounterGoogleAnalyticsAdminV1betaReorderEventEditRulesRequest--; +} + +core.List buildUnnamed19() => [ buildGoogleAnalyticsAdminV1betaAccessDateRange(), buildGoogleAnalyticsAdminV1betaAccessDateRange(), ]; -void checkUnnamed18( +void checkUnnamed19( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1betaAccessDateRange(o[0]); checkGoogleAnalyticsAdminV1betaAccessDateRange(o[1]); } -core.List buildUnnamed19() => [ +core.List buildUnnamed20() => [ buildGoogleAnalyticsAdminV1betaAccessDimension(), buildGoogleAnalyticsAdminV1betaAccessDimension(), ]; -void checkUnnamed19( +void checkUnnamed20( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1betaAccessDimension(o[0]); checkGoogleAnalyticsAdminV1betaAccessDimension(o[1]); } -core.List buildUnnamed20() => [ +core.List buildUnnamed21() => [ buildGoogleAnalyticsAdminV1betaAccessMetric(), buildGoogleAnalyticsAdminV1betaAccessMetric(), ]; -void checkUnnamed20(core.List o) { +void checkUnnamed21(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1betaAccessMetric(o[0]); checkGoogleAnalyticsAdminV1betaAccessMetric(o[1]); } -core.List buildUnnamed21() => [ +core.List buildUnnamed22() => [ buildGoogleAnalyticsAdminV1betaAccessOrderBy(), buildGoogleAnalyticsAdminV1betaAccessOrderBy(), ]; -void checkUnnamed21(core.List o) { +void checkUnnamed22(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1betaAccessOrderBy(o[0]); checkGoogleAnalyticsAdminV1betaAccessOrderBy(o[1]); @@ -2195,16 +2233,16 @@ api.GoogleAnalyticsAdminV1betaRunAccessReportRequest final o = api.GoogleAnalyticsAdminV1betaRunAccessReportRequest(); buildCounterGoogleAnalyticsAdminV1betaRunAccessReportRequest++; if (buildCounterGoogleAnalyticsAdminV1betaRunAccessReportRequest < 3) { - o.dateRanges = buildUnnamed18(); + o.dateRanges = buildUnnamed19(); o.dimensionFilter = buildGoogleAnalyticsAdminV1betaAccessFilterExpression(); - o.dimensions = buildUnnamed19(); + o.dimensions = buildUnnamed20(); o.expandGroups = true; o.includeAllUsers = true; o.limit = 'foo'; o.metricFilter = buildGoogleAnalyticsAdminV1betaAccessFilterExpression(); - o.metrics = buildUnnamed20(); + o.metrics = buildUnnamed21(); o.offset = 'foo'; - o.orderBys = buildUnnamed21(); + o.orderBys = buildUnnamed22(); o.returnEntityQuota = true; o.timeZone = 'foo'; } @@ -2216,9 +2254,9 @@ void checkGoogleAnalyticsAdminV1betaRunAccessReportRequest( api.GoogleAnalyticsAdminV1betaRunAccessReportRequest o) { buildCounterGoogleAnalyticsAdminV1betaRunAccessReportRequest++; if (buildCounterGoogleAnalyticsAdminV1betaRunAccessReportRequest < 3) { - checkUnnamed18(o.dateRanges!); + checkUnnamed19(o.dateRanges!); checkGoogleAnalyticsAdminV1betaAccessFilterExpression(o.dimensionFilter!); - checkUnnamed19(o.dimensions!); + checkUnnamed20(o.dimensions!); unittest.expect(o.expandGroups!, unittest.isTrue); unittest.expect(o.includeAllUsers!, unittest.isTrue); unittest.expect( @@ -2226,12 +2264,12 @@ void checkGoogleAnalyticsAdminV1betaRunAccessReportRequest( unittest.equals('foo'), ); checkGoogleAnalyticsAdminV1betaAccessFilterExpression(o.metricFilter!); - checkUnnamed20(o.metrics!); + checkUnnamed21(o.metrics!); unittest.expect( o.offset!, unittest.equals('foo'), ); - checkUnnamed21(o.orderBys!); + checkUnnamed22(o.orderBys!); unittest.expect(o.returnEntityQuota!, unittest.isTrue); unittest.expect( o.timeZone!, @@ -2242,37 +2280,37 @@ void checkGoogleAnalyticsAdminV1betaRunAccessReportRequest( } core.List - buildUnnamed22() => [ + buildUnnamed23() => [ buildGoogleAnalyticsAdminV1betaAccessDimensionHeader(), buildGoogleAnalyticsAdminV1betaAccessDimensionHeader(), ]; -void checkUnnamed22( +void checkUnnamed23( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1betaAccessDimensionHeader(o[0]); checkGoogleAnalyticsAdminV1betaAccessDimensionHeader(o[1]); } -core.List buildUnnamed23() => +core.List buildUnnamed24() => [ buildGoogleAnalyticsAdminV1betaAccessMetricHeader(), buildGoogleAnalyticsAdminV1betaAccessMetricHeader(), ]; -void checkUnnamed23( +void checkUnnamed24( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1betaAccessMetricHeader(o[0]); checkGoogleAnalyticsAdminV1betaAccessMetricHeader(o[1]); } -core.List buildUnnamed24() => [ +core.List buildUnnamed25() => [ buildGoogleAnalyticsAdminV1betaAccessRow(), buildGoogleAnalyticsAdminV1betaAccessRow(), ]; -void checkUnnamed24(core.List o) { +void checkUnnamed25(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1betaAccessRow(o[0]); checkGoogleAnalyticsAdminV1betaAccessRow(o[1]); @@ -2284,11 +2322,11 @@ api.GoogleAnalyticsAdminV1betaRunAccessReportResponse final o = api.GoogleAnalyticsAdminV1betaRunAccessReportResponse(); buildCounterGoogleAnalyticsAdminV1betaRunAccessReportResponse++; if (buildCounterGoogleAnalyticsAdminV1betaRunAccessReportResponse < 3) { - o.dimensionHeaders = buildUnnamed22(); - o.metricHeaders = buildUnnamed23(); + o.dimensionHeaders = buildUnnamed23(); + o.metricHeaders = buildUnnamed24(); o.quota = buildGoogleAnalyticsAdminV1betaAccessQuota(); o.rowCount = 42; - o.rows = buildUnnamed24(); + o.rows = buildUnnamed25(); } buildCounterGoogleAnalyticsAdminV1betaRunAccessReportResponse--; return o; @@ -2298,24 +2336,24 @@ void checkGoogleAnalyticsAdminV1betaRunAccessReportResponse( api.GoogleAnalyticsAdminV1betaRunAccessReportResponse o) { buildCounterGoogleAnalyticsAdminV1betaRunAccessReportResponse++; if (buildCounterGoogleAnalyticsAdminV1betaRunAccessReportResponse < 3) { - checkUnnamed22(o.dimensionHeaders!); - checkUnnamed23(o.metricHeaders!); + checkUnnamed23(o.dimensionHeaders!); + checkUnnamed24(o.metricHeaders!); checkGoogleAnalyticsAdminV1betaAccessQuota(o.quota!); unittest.expect( o.rowCount!, unittest.equals(42), ); - checkUnnamed24(o.rows!); + checkUnnamed25(o.rows!); } buildCounterGoogleAnalyticsAdminV1betaRunAccessReportResponse--; } -core.List buildUnnamed25() => [ +core.List buildUnnamed26() => [ 'foo', 'foo', ]; -void checkUnnamed25(core.List o) { +void checkUnnamed26(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2327,12 +2365,12 @@ void checkUnnamed25(core.List o) { ); } -core.List buildUnnamed26() => [ +core.List buildUnnamed27() => [ 'foo', 'foo', ]; -void checkUnnamed26(core.List o) { +void checkUnnamed27(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2344,12 +2382,12 @@ void checkUnnamed26(core.List o) { ); } -core.List buildUnnamed27() => [ +core.List buildUnnamed28() => [ 'foo', 'foo', ]; -void checkUnnamed27(core.List o) { +void checkUnnamed28(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2369,14 +2407,14 @@ api.GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest buildCounterGoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest++; if (buildCounterGoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest < 3) { - o.action = buildUnnamed25(); - o.actorEmail = buildUnnamed26(); + o.action = buildUnnamed26(); + o.actorEmail = buildUnnamed27(); o.earliestChangeTime = 'foo'; o.latestChangeTime = 'foo'; o.pageSize = 42; o.pageToken = 'foo'; o.property = 'foo'; - o.resourceType = buildUnnamed27(); + o.resourceType = buildUnnamed28(); } buildCounterGoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest--; return o; @@ -2387,8 +2425,8 @@ void checkGoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest( buildCounterGoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest++; if (buildCounterGoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest < 3) { - checkUnnamed25(o.action!); - checkUnnamed26(o.actorEmail!); + checkUnnamed26(o.action!); + checkUnnamed27(o.actorEmail!); unittest.expect( o.earliestChangeTime!, unittest.equals('foo'), @@ -2409,18 +2447,18 @@ void checkGoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest( o.property!, unittest.equals('foo'), ); - checkUnnamed27(o.resourceType!); + checkUnnamed28(o.resourceType!); } buildCounterGoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest--; } -core.List buildUnnamed28() => +core.List buildUnnamed29() => [ buildGoogleAnalyticsAdminV1betaChangeHistoryEvent(), buildGoogleAnalyticsAdminV1betaChangeHistoryEvent(), ]; -void checkUnnamed28( +void checkUnnamed29( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleAnalyticsAdminV1betaChangeHistoryEvent(o[0]); @@ -2435,7 +2473,7 @@ api.GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse buildCounterGoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse++; if (buildCounterGoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse < 3) { - o.changeHistoryEvents = buildUnnamed28(); + o.changeHistoryEvents = buildUnnamed29(); o.nextPageToken = 'foo'; } buildCounterGoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse--; @@ -2447,7 +2485,7 @@ void checkGoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse( buildCounterGoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse++; if (buildCounterGoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse < 3) { - checkUnnamed28(o.changeHistoryEvents!); + checkUnnamed29(o.changeHistoryEvents!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -3141,6 +3179,18 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1betaReorderEventEditRulesRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1betaReorderEventEditRulesRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1betaReorderEventEditRulesRequest.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1betaReorderEventEditRulesRequest(od); + }); + }); + unittest.group('obj-schema-GoogleAnalyticsAdminV1betaRunAccessReportRequest', () { unittest.test('to-json--from-json', () async { @@ -5523,6 +5573,71 @@ void main() { }); }); + unittest.group('resource-PropertiesDataStreamsEventEditRulesResource', () { + unittest.test('method--reorder', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .dataStreams + .eventEditRules; + final arg_request = + buildGoogleAnalyticsAdminV1betaReorderEventEditRulesRequest(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1betaReorderEventEditRulesRequest.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1betaReorderEventEditRulesRequest(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 + 7), + unittest.equals('v1beta/'), + ); + pathOffset += 7; + // 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(buildGoogleProtobufEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.reorder(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + }); + unittest.group( 'resource-PropertiesDataStreamsMeasurementProtocolSecretsResource', () { unittest.test('method--create', () async { diff --git a/generated/googleapis_beta/test/fcmdata/v1beta1_test.dart b/generated/googleapis_beta/test/fcmdata/v1beta1_test.dart index e850c2354..6d779fe18 100644 --- a/generated/googleapis_beta/test/fcmdata/v1beta1_test.dart +++ b/generated/googleapis_beta/test/fcmdata/v1beta1_test.dart @@ -219,10 +219,12 @@ api.GoogleFirebaseFcmDataV1beta1MessageOutcomePercents final o = api.GoogleFirebaseFcmDataV1beta1MessageOutcomePercents(); buildCounterGoogleFirebaseFcmDataV1beta1MessageOutcomePercents++; if (buildCounterGoogleFirebaseFcmDataV1beta1MessageOutcomePercents < 3) { + o.collapsed = 42.0; o.delivered = 42.0; o.droppedAppForceStopped = 42.0; o.droppedDeviceInactive = 42.0; o.droppedTooManyPendingMessages = 42.0; + o.droppedTtlExpired = 42.0; o.pending = 42.0; } buildCounterGoogleFirebaseFcmDataV1beta1MessageOutcomePercents--; @@ -233,6 +235,10 @@ void checkGoogleFirebaseFcmDataV1beta1MessageOutcomePercents( api.GoogleFirebaseFcmDataV1beta1MessageOutcomePercents o) { buildCounterGoogleFirebaseFcmDataV1beta1MessageOutcomePercents++; if (buildCounterGoogleFirebaseFcmDataV1beta1MessageOutcomePercents < 3) { + unittest.expect( + o.collapsed!, + unittest.equals(42.0), + ); unittest.expect( o.delivered!, unittest.equals(42.0), @@ -249,6 +255,10 @@ void checkGoogleFirebaseFcmDataV1beta1MessageOutcomePercents( o.droppedTooManyPendingMessages!, unittest.equals(42.0), ); + unittest.expect( + o.droppedTtlExpired!, + unittest.equals(42.0), + ); unittest.expect( o.pending!, unittest.equals(42.0), diff --git a/resources/googleapis/CHANGELOG.md b/resources/googleapis/CHANGELOG.md index 57bb557c5..5320b03f3 100644 --- a/resources/googleapis/CHANGELOG.md +++ b/resources/googleapis/CHANGELOG.md @@ -1,4 +1,4 @@ -## 13.2.0-wip +## 13.2.0 - Require Dart 3.4 or later. - Require `package:http` `1.0.0`. @@ -6,8 +6,13 @@ ### APIs - `addressvalidation` - new! +- `airquality` - new! +- `cloudcommerceprocurement` - new! - `cloudcontrolspartner` - new! +- `config` - new! - `developerconnect` - new! +- `integrations` - new! +- `pollen` - new! - `solar` - new! ## 13.1.0