diff --git a/_test/expected_identical.dart b/_test/expected_identical.dart index 15413666d..5c02754fe 100644 --- a/_test/expected_identical.dart +++ b/_test/expected_identical.dart @@ -4,6 +4,7 @@ // 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 diff --git a/_test/expected_nonidentical.dart b/_test/expected_nonidentical.dart index f9adfd49e..76b7ce2ac 100644 --- a/_test/expected_nonidentical.dart +++ b/_test/expected_nonidentical.dart @@ -3,6 +3,7 @@ // 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 diff --git a/_test/wrapapi.dart b/_test/wrapapi.dart index c58b6f60d..a7c77222b 100644 --- a/_test/wrapapi.dart +++ b/_test/wrapapi.dart @@ -3,6 +3,7 @@ // 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 diff --git a/_test_package/lib/shared.dart b/_test_package/lib/shared.dart index d85e7d098..7a1e92bb1 100644 --- a/_test_package/lib/shared.dart +++ b/_test_package/lib/shared.dart @@ -8,6 +8,7 @@ library; // 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 diff --git a/_test_package/lib/toyapi/0_1.dart b/_test_package/lib/toyapi/0_1.dart index 86ffa0b78..050e8230b 100644 --- a/_test_package/lib/toyapi/0_1.dart +++ b/_test_package/lib/toyapi/0_1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/_test_package/test/toyapi/0_1_test.dart b/_test_package/test/toyapi/0_1_test.dart index a4bda0384..cb4cd0712 100644 --- a/_test_package/test/toyapi/0_1_test.dart +++ b/_test_package/test/toyapi/0_1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/config.yaml b/config.yaml index 33f8ff02f..73cc4be77 100644 --- a/config.yaml +++ b/config.yaml @@ -113,6 +113,7 @@ packages: - datastore:v1 # https://developers.google.com/datastore/ - datastream:v1 - deploymentmanager:v2 # https://cloud.google.com/deployment-manager/ + - developerconnect:v1 - dfareporting:v3.5 - dfareporting:v4 - dialogflow:v2 # https://cloud.google.com/dialogflow-enterprise/ @@ -304,6 +305,7 @@ packages: apis: - adexchangebuyer2:v2beta1 # https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/ - alertcenter:v1beta1 # https://developers.google.com/admin-sdk/alertcenter/ + - analyticsadmin:v1alpha - analyticsadmin:v1beta - analyticsdata:v1beta - area120tables:v1alpha1 diff --git a/discovery/googleapis/abusiveexperiencereport__v1.json b/discovery/googleapis/abusiveexperiencereport__v1.json index 854e2c395..f55f3d201 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": "20240506", + "revision": "20240520", "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 d43ed4f39..848a870e6 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": "20240508", + "revision": "20240528", "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 4e512f02c..2fb7b164f 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": "20240503", + "revision": "20240524", "rootUrl": "https://accessapproval.googleapis.com/", "servicePath": "", "title": "Access Approval API", diff --git a/discovery/googleapis/accesscontextmanager__v1.json b/discovery/googleapis/accesscontextmanager__v1.json index 1041c1948..6590b773e 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": "20240506", + "revision": "20240527", "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 10fd7dfc6..698fba2de 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": "20240508", + "revision": "20240528", "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 d68e6f81f..8c0d74245 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": "20240508", + "revision": "20240528", "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 e64dac8f9..f7454ce21 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": "20240506", + "revision": "20240520", "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 8561c008e..657bdd78e 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": "20240507", + "revision": "20240528", "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 4cf4c0989..256d023ec 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": "20240507", + "revision": "20240528", "rootUrl": "https://admin.googleapis.com/", "servicePath": "", "title": "Admin SDK API", @@ -406,7 +406,7 @@ }, "maxResults": { "default": "100", - "description": "Maximum number of results to return.", + "description": "Maximum number of results to return, value should not exceed 300.", "format": "int32", "location": "query", "minimum": "1", @@ -444,7 +444,7 @@ "type": "string" }, "projection": { - "description": "Restrict information returned to a set of selected fields.", + "description": "Determines whether the response contains the full list of properties or only a subset.", "enum": [ "BASIC", "FULL" @@ -538,7 +538,7 @@ "type": "string" }, "projection": { - "description": "Restrict information returned to a set of selected fields.", + "description": "Determines whether the response contains the full list of properties or only a subset.", "enum": [ "BASIC", "FULL" @@ -585,7 +585,7 @@ "type": "string" }, "projection": { - "description": "Restrict information returned to a set of selected fields.", + "description": "Determines whether the response contains the full list of properties or only a subset.", "enum": [ "BASIC", "FULL" @@ -5426,6 +5426,21 @@ "description": "The boot mode for the device. The possible values are: * `Verified`: The device is running a valid version of the Chrome OS. * `Dev`: The devices's developer hardware switch is enabled. When booted, the device has a command line shell. For an example of a developer switch, see the [Chromebook developer information](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch).", "type": "string" }, + "chromeOsType": { + "description": "Output only. Chrome OS type of the device.", + "enum": [ + "chromeOsTypeUnspecified", + "chromeOsFlex", + "chromeOs" + ], + "enumDescriptions": [ + "Chrome OS Type unspecified.", + "Chrome OS Type Chrome OS Flex.", + "Chrome OS Type Chrome OS." + ], + "readOnly": true, + "type": "string" + }, "cpuInfo": { "description": "Information regarding CPU specs in the device.", "items": { diff --git a/discovery/googleapis/admin__reports_v1.json b/discovery/googleapis/admin__reports_v1.json index f4fdf9e28..7396719ba 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": "20240507", + "revision": "20240528", "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 40bf2a6de..ec432fb28 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": "20240509", + "revision": "20240530", "rootUrl": "https://admob.googleapis.com/", "servicePath": "", "title": "AdMob API", @@ -253,7 +253,7 @@ "mediationReport": { "methods": { "generate": { - "description": "Generates an AdMob mediation report based on the provided report specification. Returns result of a server-side streaming RPC. The result is returned in a sequence of responses.", + "description": "Generates an AdMob Mediation report based on the provided report specification. Returns result of a server-side streaming RPC. The result is returned in a sequence of responses.", "flatPath": "v1/accounts/{accountsId}/mediationReport:generate", "httpMethod": "POST", "id": "admob.accounts.mediationReport.generate", @@ -463,7 +463,7 @@ "type": "object" }, "GenerateMediationReportRequest": { - "description": "Request to generate an AdMob mediation report.", + "description": "Request to generate an AdMob Mediation report.", "id": "GenerateMediationReportRequest", "properties": { "reportSpec": { @@ -474,7 +474,7 @@ "type": "object" }, "GenerateMediationReportResponse": { - "description": "The streaming response for the AdMob mediation report where the first response contains the report header, then a stream of row responses, and finally a footer as the last response message. For example: [{ \"header\": { \"date_range\": { \"start_date\": {\"year\": 2018, \"month\": 9, \"day\": 1}, \"end_date\": {\"year\": 2018, \"month\": 9, \"day\": 1} }, \"localization_settings\": { \"currency_code\": \"USD\", \"language_code\": \"en-US\" } } }, { \"row\": { \"dimension_values\": { \"DATE\": {\"value\": \"20180918\"}, \"APP\": { \"value\": \"ca-app-pub-8123415297019784~1001342552\", \"display_label\": \"My app name!\" } }, \"metric_values\": { \"ESTIMATED_EARNINGS\": {\"decimal_value\": \"1324746\"} } } }, { \"footer\": {\"matching_row_count\": 1} }]", + "description": "The streaming response for the AdMob Mediation report where the first response contains the report header, then a stream of row responses, and finally a footer as the last response message. For example: [{ \"header\": { \"date_range\": { \"start_date\": {\"year\": 2018, \"month\": 9, \"day\": 1}, \"end_date\": {\"year\": 2018, \"month\": 9, \"day\": 1} }, \"localization_settings\": { \"currency_code\": \"USD\", \"language_code\": \"en-US\" } } }, { \"row\": { \"dimension_values\": { \"DATE\": {\"value\": \"20180918\"}, \"APP\": { \"value\": \"ca-app-pub-8123415297019784~1001342552\", \"display_label\": \"My app name!\" } }, \"metric_values\": { \"ESTIMATED_EARNINGS\": {\"decimal_value\": \"1324746\"} } } }, { \"footer\": {\"matching_row_count\": 1} }]", "id": "GenerateMediationReportResponse", "items": { "properties": { diff --git a/discovery/googleapis/adsense__v2.json b/discovery/googleapis/adsense__v2.json index c13e240fc..ee4ddf722 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": "20240509", + "revision": "20240530", "rootUrl": "https://adsense.googleapis.com/", "servicePath": "", "title": "AdSense Management API", @@ -871,7 +871,7 @@ ] }, "list": { - "description": "Lists all the policy issues for the specified account.", + "description": "Lists all the policy issues where the specified account is involved, both directly and through any AFP child accounts.", "flatPath": "v2/accounts/{accountsId}/policyIssues", "httpMethod": "GET", "id": "adsense.accounts.policyIssues.list", diff --git a/discovery/googleapis/advisorynotifications__v1.json b/discovery/googleapis/advisorynotifications__v1.json index 38c3f583a..a8ef45e36 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": "20240505", + "revision": "20240526", "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 9350a01a6..c5425bea3 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": "20240510", + "revision": "20240520", "rootUrl": "https://aiplatform.googleapis.com/", "servicePath": "", "title": "Vertex AI API", @@ -16248,7 +16248,7 @@ "id": "CloudAiLargeModelsVisionFilteredText", "properties": { "category": { - "description": "Confidence level", + "description": "Filtered category", "enum": [ "RAI_CATEGORY_UNSPECIFIED", "OBSCENE", @@ -16269,6 +16269,7 @@ "SENSITIVE_WORD", "PERSON_IMG", "ICA_IMG", + "AGILE_ICA_IMG", "SEXUAL_IMG", "IU_IMG", "RACY_IMG", @@ -16285,7 +16286,8 @@ "DANGEROUS_CONTENT", "RECITATION_TEXT", "CELEBRITY_IMG", - "WATERMARK_IMG_REMOVAL" + "WATERMARK_IMG_REMOVAL", + "RAID_IMG" ], "enumDescriptions": [ "", @@ -16307,6 +16309,7 @@ "", "", "", + "Agile ICA label currently for evaluation only.", "", "", "", @@ -16323,12 +16326,13 @@ "Text category from SafetyCat v3", "", "", - "Error message when user attempts to remove watermark from editing image" + "Error message when user attempts to remove watermark from editing image", + "" ], "type": "string" }, "confidence": { - "description": "Filtered category", + "description": "Confidence score", "enum": [ "CONFIDENCE_UNSPECIFIED", "CONFIDENCE_LOW", @@ -16496,6 +16500,12 @@ "CloudAiLargeModelsVisionRaiInfo": { "id": "CloudAiLargeModelsVisionRaiInfo", "properties": { + "detectedLabels": { + "items": { + "$ref": "CloudAiLargeModelsVisionRaiInfoDetectedLabels" + }, + "type": "array" + }, "raiCategories": { "description": "List of rai categories' information to return", "items": { @@ -16514,6 +16524,32 @@ }, "type": "object" }, + "CloudAiLargeModelsVisionRaiInfoDetectedLabels": { + "description": "Filters which return labels with confidence scores.", + "id": "CloudAiLargeModelsVisionRaiInfoDetectedLabels", + "properties": { + "descriptions": { + "description": "Descriptions of the detected labels.", + "items": { + "type": "string" + }, + "type": "array" + }, + "raiCategory": { + "description": "The RAI category for the deteceted labels.", + "type": "string" + }, + "scores": { + "description": "Confidence scores mapping to the labels.", + "items": { + "format": "float", + "type": "number" + }, + "type": "array" + } + }, + "type": "object" + }, "CloudAiLargeModelsVisionSemanticFilterResponse": { "id": "CloudAiLargeModelsVisionSemanticFilterResponse", "properties": { @@ -19409,9 +19445,21 @@ "$ref": "GoogleCloudAiplatformV1DedicatedResources", "description": "Required. The underlying DedicatedResources that the DeploymentResourcePool uses." }, + "disableContainerLogging": { + "description": "If the DeploymentResourcePool is deployed with custom-trained Models or AutoML Tabular Models, the container(s) of the DeploymentResourcePool will send `stderr` and `stdout` streams to Cloud Logging by default. Please note that the logs incur cost, which are subject to [Cloud Logging pricing](https://cloud.google.com/logging/pricing). User can disable container logging by setting this flag to true.", + "type": "boolean" + }, + "encryptionSpec": { + "$ref": "GoogleCloudAiplatformV1EncryptionSpec", + "description": "Customer-managed encryption key spec for a DeploymentResourcePool. If set, this DeploymentResourcePool will be secured by this key. Endpoints and the DeploymentResourcePool they deploy in need to have the same EncryptionSpec." + }, "name": { "description": "Immutable. The resource name of the DeploymentResourcePool. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`", "type": "string" + }, + "serviceAccount": { + "description": "The service account that the DeploymentResourcePool's container(s) run as. Specify the email address of the service account. If this service account is not specified, the container(s) run as a service account that doesn't have access to the resource project. Users deploying the Models to this DeploymentResourcePool must have the `iam.serviceAccounts.actAs` permission on this service account.", + "type": "string" } }, "type": "object" @@ -20869,7 +20917,8 @@ "INT64_ARRAY", "STRING", "STRING_ARRAY", - "BYTES" + "BYTES", + "STRUCT" ], "enumDescriptions": [ "The value type is unspecified.", @@ -20881,7 +20930,8 @@ "Used for Feature that is a list of INT64.", "Used for Feature that is string.", "Used for Feature that is a list of String.", - "Used for Feature that is bytes." + "Used for Feature that is bytes.", + "Used for Feature that is struct." ], "type": "string" }, @@ -21216,6 +21266,10 @@ "stringValue": { "description": "String feature value.", "type": "string" + }, + "structValue": { + "$ref": "GoogleCloudAiplatformV1StructValue", + "description": "A struct type feature value." } }, "type": "object" @@ -22210,22 +22264,6 @@ "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" }, - "responseStyle": { - "description": "Optional. Control Three levels of creativity in the model output. Default: RESPONSE_STYLE_BALANCED", - "enum": [ - "RESPONSE_STYLE_UNSPECIFIED", - "RESPONSE_STYLE_PRECISE", - "RESPONSE_STYLE_BALANCED", - "RESPONSE_STYLE_CREATIVE" - ], - "enumDescriptions": [ - "response style unspecified.", - "Precise response.", - "Default response style.", - "Creative response style." - ], - "type": "string" - }, "stopSequences": { "description": "Optional. Stop sequences.", "items": { @@ -22289,6 +22327,12 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1GoogleSearchRetrieval": { + "description": "Tool to retrieve public web data for grounding, powered by Google.", + "id": "GoogleCloudAiplatformV1GoogleSearchRetrieval", + "properties": {}, + "type": "object" + }, "GoogleCloudAiplatformV1GroundingMetadata": { "description": "Metadata returned to client when grounding is enabled.", "id": "GoogleCloudAiplatformV1GroundingMetadata", @@ -24176,6 +24220,10 @@ "readOnly": true, "type": "string" }, + "dataplexConfig": { + "$ref": "GoogleCloudAiplatformV1MetadataStoreDataplexConfig", + "description": "Optional. Dataplex integration settings." + }, "description": { "description": "Description of the MetadataStore.", "type": "string" @@ -24203,6 +24251,17 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1MetadataStoreDataplexConfig": { + "description": "Represents Dataplex integration settings.", + "id": "GoogleCloudAiplatformV1MetadataStoreDataplexConfig", + "properties": { + "enabledPipelinesLineage": { + "description": "Optional. Whether or not Data Lineage synchronization is enabled for Vertex Pipelines.", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1MetadataStoreMetadataStoreState": { "description": "Represents state information for a MetadataStore.", "id": "GoogleCloudAiplatformV1MetadataStoreMetadataStoreState", @@ -26308,40 +26367,6 @@ }, "type": "object" }, - "GoogleCloudAiplatformV1NotebookReservationAffinity": { - "description": "Notebook Reservation Affinity for consuming Zonal reservation.", - "id": "GoogleCloudAiplatformV1NotebookReservationAffinity", - "properties": { - "consumeReservationType": { - "description": "Required. Specifies the type of reservation from which this instance can consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or RESERVATION_NONE. See Consuming reserved instances for examples.", - "enum": [ - "RESERVATION_AFFINITY_TYPE_UNSPECIFIED", - "RESERVATION_NONE", - "RESERVATION_ANY", - "RESERVATION_SPECIFIC" - ], - "enumDescriptions": [ - "Default type.", - "Do not consume from any allocated capacity.", - "Consume any reservation available.", - "Must consume from a specific reservation. Must specify key value fields for specifying the reservations." - ], - "type": "string" - }, - "key": { - "description": "Optional. Corresponds to the label key of a reservation resource. To target a RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as the key and specify the name of your reservation as its value.", - "type": "string" - }, - "values": { - "description": "Optional. Corresponds to the label values of a reservation resource. This must be the full path name of Reservation.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "GoogleCloudAiplatformV1NotebookRuntime": { "description": "A runtime is a virtual machine allocated to a particular user for a particular Notebook file on temporary basis with lifetime limited to 24 hours.", "id": "GoogleCloudAiplatformV1NotebookRuntime", @@ -26381,6 +26406,11 @@ "readOnly": true, "type": "string" }, + "idleShutdownConfig": { + "$ref": "GoogleCloudAiplatformV1NotebookIdleShutdownConfig", + "description": "Output only. The idle shutdown configuration of the notebook runtime.", + "readOnly": true + }, "isUpgradable": { "description": "Output only. Whether NotebookRuntime is upgradable.", "readOnly": true, @@ -26430,11 +26460,6 @@ "readOnly": true, "type": "string" }, - "reservationAffinity": { - "$ref": "GoogleCloudAiplatformV1NotebookReservationAffinity", - "description": "Output only. Reservation Affinity of the notebook runtime.", - "readOnly": true - }, "runtimeState": { "description": "Output only. The runtime (instance) state of the NotebookRuntime.", "enum": [ @@ -26515,6 +26540,10 @@ "description": "Required. The display name of the NotebookRuntimeTemplate. The name can be up to 128 characters long and can consist of any UTF-8 characters.", "type": "string" }, + "encryptionSpec": { + "$ref": "GoogleCloudAiplatformV1EncryptionSpec", + "description": "Customer-managed encryption key spec for the notebook runtime." + }, "etag": { "description": "Used to perform consistent read-modify-write updates. If not set, a blind \"overwrite\" update happens.", "type": "string" @@ -26572,10 +26601,6 @@ ], "type": "string" }, - "reservationAffinity": { - "$ref": "GoogleCloudAiplatformV1NotebookReservationAffinity", - "description": "Optional. Reservation Affinity of the notebook runtime template." - }, "serviceAccount": { "description": "The service account that the runtime workload runs as. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used.", "type": "string" @@ -27431,7 +27456,7 @@ "properties": { "exec": { "$ref": "GoogleCloudAiplatformV1ProbeExecAction", - "description": "Exec specifies the action to take." + "description": "ExecAction probes the health of a container by executing a command." }, "periodSeconds": { "description": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe argument 'periodSeconds'.", @@ -28026,10 +28051,41 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1RayMetricSpec": { + "description": "Configuration for the Ray metrics.", + "id": "GoogleCloudAiplatformV1RayMetricSpec", + "properties": { + "disabled": { + "description": "Optional. Flag to disable the Ray metrics collection.", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1RaySpec": { "description": "Configuration information for the Ray cluster. For experimental launch, Ray cluster creation and Persistent cluster creation are 1:1 mapping: We will provision all the nodes within the Persistent cluster as Ray nodes.", "id": "GoogleCloudAiplatformV1RaySpec", - "properties": {}, + "properties": { + "headNodeResourcePoolId": { + "description": "Optional. This will be used to indicate which resource pool will serve as the Ray head node(the first node within that pool). Will use the machine from the first workerpool as the head node by default if this field isn't set.", + "type": "string" + }, + "imageUri": { + "description": "Optional. Default image for user to choose a preferred ML framework (for example, TensorFlow or Pytorch) by choosing from [Vertex prebuilt images](https://cloud.google.com/vertex-ai/docs/training/pre-built-containers). Either this or the resource_pool_images is required. Use this field if you need all the resource pools to have the same Ray image. Otherwise, use the {@code resource_pool_images} field.", + "type": "string" + }, + "rayMetricSpec": { + "$ref": "GoogleCloudAiplatformV1RayMetricSpec", + "description": "Optional. Ray metrics configurations." + }, + "resourcePoolImages": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Required if image_uri isn't set. A map of resource_pool_id to prebuild Ray image if user need to use different images for different head/worker pools. This map needs to cover all the resource pool ids. Example: { \"ray_head_node_pool\": \"head image\" \"ray_worker_node_pool1\": \"worker image\" \"ray_worker_node_pool2\": \"another worker image\" }", + "type": "object" + } + }, "type": "object" }, "GoogleCloudAiplatformV1ReadFeatureValuesRequest": { @@ -28352,7 +28408,16 @@ "GoogleCloudAiplatformV1ResourceRuntime": { "description": "Persistent Cluster runtime information as output", "id": "GoogleCloudAiplatformV1ResourceRuntime", - "properties": {}, + "properties": { + "accessUris": { + "additionalProperties": { + "type": "string" + }, + "description": "Output only. URIs for user to connect to the Cluster. Example: { \"RAY_HEAD_NODE_INTERNAL_IP\": \"head-node-IP:10001\" \"RAY_DASHBOARD_URI\": \"ray-dashboard-address:8888\" }", + "readOnly": true, + "type": "object" + } + }, "type": "object" }, "GoogleCloudAiplatformV1ResourceRuntimeSpec": { @@ -30881,6 +30946,10 @@ "$ref": "GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig", "description": "Grounding checking configuration." }, + "hasPromptVariable": { + "description": "Whether the prompt dataset has prompt variable.", + "type": "boolean" + }, "maxOutputTokens": { "description": "Value of the maximum number of tokens generated set when the dataset was saved.", "format": "int64", @@ -33157,6 +33226,35 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1StructFieldValue": { + "description": "One field of a Struct (or object) type feature value.", + "id": "GoogleCloudAiplatformV1StructFieldValue", + "properties": { + "name": { + "description": "Name of the field in the struct feature.", + "type": "string" + }, + "value": { + "$ref": "GoogleCloudAiplatformV1FeatureValue", + "description": "The value for this field." + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1StructValue": { + "description": "Struct (or object) type feature value.", + "id": "GoogleCloudAiplatformV1StructValue", + "properties": { + "values": { + "description": "A list of field values.", + "items": { + "$ref": "GoogleCloudAiplatformV1StructFieldValue" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1Study": { "description": "A message representing a Study.", "id": "GoogleCloudAiplatformV1Study", @@ -34501,6 +34599,10 @@ }, "type": "array" }, + "googleSearchRetrieval": { + "$ref": "GoogleCloudAiplatformV1GoogleSearchRetrieval", + "description": "Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search." + }, "retrieval": { "$ref": "GoogleCloudAiplatformV1Retrieval", "description": "Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation." diff --git a/discovery/googleapis/alloydb__v1.json b/discovery/googleapis/alloydb__v1.json index 3d5086b4b..498f4a77f 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": "20240424", + "revision": "20240517", "rootUrl": "https://alloydb.googleapis.com/", "servicePath": "", "title": "AlloyDB API", @@ -3248,10 +3248,13 @@ ], "type": "string" }, - "recommendationSignalData": { - "$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData", + "observabilityMetricData": { + "$ref": "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData", "description": "More feed data would be added in subsequent CLs" }, + "recommendationSignalData": { + "$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData" + }, "resourceHealthSignalData": { "$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData" }, @@ -3425,7 +3428,11 @@ "SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT", "SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT", "SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT", - "SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES" + "SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES", + "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", + "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", + "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", + "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" ], "enumDeprecated": [ false, @@ -3494,6 +3501,10 @@ false, false, false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -3563,7 +3574,11 @@ "Performance impact of connections settings", "Performance impact of temporary tables settings", "Performance impact of transaction logs settings", - "Performance impact of high joins without indexes" + "Performance impact of high joins without indexes", + "Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", + "Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", + "Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", + "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible." ], "type": "string" }, @@ -3746,6 +3761,10 @@ "description": "The resource location. REQUIRED", "type": "string" }, + "machineConfiguration": { + "$ref": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration", + "description": "Machine configuration for this resource." + }, "primaryResourceId": { "$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId", "description": "Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional." @@ -3904,7 +3923,11 @@ "SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT", "SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT", "SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT", - "SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES" + "SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES", + "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", + "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", + "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", + "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" ], "enumDeprecated": [ false, @@ -3973,6 +3996,10 @@ false, false, false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -4042,7 +4069,11 @@ "Performance impact of connections settings", "Performance impact of temporary tables settings", "Performance impact of transaction logs settings", - "Performance impact of high joins without indexes" + "Performance impact of high joins without indexes", + "Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", + "Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", + "Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", + "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible." ], "type": "string" } @@ -4082,6 +4113,55 @@ }, "type": "object" }, + "StorageDatabasecenterPartnerapiV1mainMachineConfiguration": { + "description": "MachineConfiguration describes the configuration of a machine specific to Database Resource.", + "id": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration", + "properties": { + "cpuCount": { + "description": "The number of CPUs.", + "format": "int32", + "type": "integer" + }, + "memorySizeInBytes": { + "description": "Memory size in bytes.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData": { + "id": "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData", + "properties": { + "metricTimestamp": { + "description": "Required. The timestamp of the metric value.", + "format": "google-datetime", + "type": "string" + }, + "metricType": { + "description": "Required. Type of metric like CPU, Memory, etc.", + "enum": [ + "METRIC_TYPE_UNSPECIFIED", + "INSTANCE_PEAK_CPU_UTILISATION" + ], + "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." + ], + "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" + } + }, + "type": "object" + }, "StorageDatabasecenterPartnerapiV1mainOperationError": { "description": "An error that occurred during a backup creation operation.", "id": "StorageDatabasecenterPartnerapiV1mainOperationError", diff --git a/discovery/googleapis/analyticshub__v1.json b/discovery/googleapis/analyticshub__v1.json index 6ad3e9d37..b57b07571 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": "20240506", + "revision": "20240520", "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 6cb7876e7..7e7c9645c 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": "20240508", + "revision": "20240529", "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 1009b3d5b..639590583 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": "20240508", + "revision": "20240529", "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 c578f228b..8894dcdf0 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": "20240501", + "revision": "20240516", "rootUrl": "https://androidmanagement.googleapis.com/", "servicePath": "", "title": "Android Management API", @@ -1145,6 +1145,11 @@ "id": "androidmanagement.signupUrls.create", "parameterOrder": [], "parameters": { + "adminEmail": { + "description": "Optional. Email address used to prefill the admin field of the enterprise signup form. This value is a hint only and can be altered by the user.", + "location": "query", + "type": "string" + }, "callbackUrl": { "description": "The callback URL that the admin will be redirected to after successfully creating an enterprise. Before redirecting there the system will add a query parameter to this URL named enterpriseToken which will contain an opaque token to be used for the create enterprise request. The URL will be parsed then reformatted in order to add the enterpriseToken parameter, so there may be some minor formatting changes.", "location": "query", @@ -1938,7 +1943,7 @@ "id": "BatchUsageLogEvents", "properties": { "device": { - "description": "The name of the device in the form ‘enterprises/{enterpriseId}/devices/{deviceId}’", + "description": "If present, the name of the device in the form ‘enterprises/{enterpriseId}/devices/{deviceId}’", "type": "string" }, "retrievalTime": { @@ -1954,7 +1959,7 @@ "type": "array" }, "user": { - "description": "The resource name of the user that owns this device in the form ‘enterprises/{enterpriseId}/users/{userId}’.", + "description": "If present, the resource name of the user that owns this device in the form ‘enterprises/{enterpriseId}/users/{userId}’.", "type": "string" } }, @@ -2472,7 +2477,8 @@ "DELETED", "PROVISIONING", "LOST", - "PREPARING_FOR_MIGRATION" + "PREPARING_FOR_MIGRATION", + "DEACTIVATED_BY_DEVICE_FINANCE" ], "enumDescriptions": [ "This value is disallowed.", @@ -2481,7 +2487,8 @@ "The device was deleted. This state is never returned by an API call, but is used in the final status report when the device acknowledges the deletion. If the device is deleted via the API call, this state is published to Pub/Sub. If the user deletes the work profile or resets the device, the device state will remain unknown to the server.", "The device is being provisioned. Newly enrolled devices are in this state until they have a policy applied.", "The device is lost. This state is only possible on organization-owned devices.", - "The device is preparing for migrating to Android Management API. No further action is needed for the migration to continue." + "The device is preparing for migrating to Android Management API. No further action is needed for the migration to continue.", + "This is a financed device that has been \"locked\" by the financing agent. This means certain policy settings have been applied which limit device functionality until the device has been \"unlocked\" by the financing agent. The device will continue to apply policy settings excluding those overridden by the financing agent. When the device is \"locked\", the state is reported in appliedState as DEACTIVATED_BY_DEVICE_FINANCE." ], "type": "string" }, @@ -2642,7 +2649,8 @@ "DELETED", "PROVISIONING", "LOST", - "PREPARING_FOR_MIGRATION" + "PREPARING_FOR_MIGRATION", + "DEACTIVATED_BY_DEVICE_FINANCE" ], "enumDescriptions": [ "This value is disallowed.", @@ -2651,7 +2659,8 @@ "The device was deleted. This state is never returned by an API call, but is used in the final status report when the device acknowledges the deletion. If the device is deleted via the API call, this state is published to Pub/Sub. If the user deletes the work profile or resets the device, the device state will remain unknown to the server.", "The device is being provisioned. Newly enrolled devices are in this state until they have a policy applied.", "The device is lost. This state is only possible on organization-owned devices.", - "The device is preparing for migrating to Android Management API. No further action is needed for the migration to continue." + "The device is preparing for migrating to Android Management API. No further action is needed for the migration to continue.", + "This is a financed device that has been \"locked\" by the financing agent. This means certain policy settings have been applied which limit device functionality until the device has been \"unlocked\" by the financing agent. The device will continue to apply policy settings excluding those overridden by the financing agent. When the device is \"locked\", the state is reported in appliedState as DEACTIVATED_BY_DEVICE_FINANCE." ], "type": "string" }, @@ -5458,7 +5467,7 @@ "type": "string" }, "imei": { - "description": "IMEI number of the GSM device. For example, A1000031212.", + "description": "For corporate-owned devices, IMEI number of the GSM device. For example, A1000031212.", "type": "string" }, "managementMode": { @@ -5476,7 +5485,7 @@ "type": "string" }, "meid": { - "description": "MEID number of the CDMA device. For example, A00000292788E1.", + "description": "For corporate-owned devices, MEID number of the CDMA device. For example, A00000292788E1.", "type": "string" }, "model": { @@ -5502,7 +5511,7 @@ "type": "string" }, "serialNumber": { - "description": "The device serial number.", + "description": "For corporate-owned devices, The device serial number.", "type": "string" } }, diff --git a/discovery/googleapis/androidpublisher__v3.json b/discovery/googleapis/androidpublisher__v3.json index b9e9f79be..b8557acc4 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": "20240509", + "revision": "20240530", "rootUrl": "https://androidpublisher.googleapis.com/", "servicePath": "", "title": "Google Play Android Developer API", @@ -5308,6 +5308,10 @@ "description": "If the subscription is currently set to auto-renew, e.g. the user has not canceled the subscription", "type": "boolean" }, + "installmentDetails": { + "$ref": "InstallmentPlan", + "description": "The installment plan commitment and state related info for the auto renewing plan." + }, "priceChangeDetails": { "$ref": "SubscriptionItemPriceChangeDetails", "description": "The information of the last price change for the item since subscription signup." @@ -5327,6 +5331,10 @@ "description": "Required. Immutable. The unique identifier of this base plan. Must be unique within the subscription, and conform with RFC-1034. That is, this ID can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-), and be at most 63 characters.", "type": "string" }, + "installmentsBasePlanType": { + "$ref": "InstallmentsBasePlanType", + "description": "Set for installments base plans where a user is committed to a specified number of payments." + }, "offerTags": { "description": "List of up to 20 custom tags specified for this base plan, and returned to the app through the billing library. Subscription offers for this base plan will also receive these offer tags in the billing library.", "items": { @@ -7023,6 +7031,98 @@ }, "type": "object" }, + "InstallmentPlan": { + "description": "Information to a installment plan.", + "id": "InstallmentPlan", + "properties": { + "initialCommittedPaymentsCount": { + "description": "Total number of payments the user is initially committed for.", + "format": "int32", + "type": "integer" + }, + "pendingCancellation": { + "$ref": "PendingCancellation", + "description": "If present, this installment plan is pending to be canceled. The cancellation will happen only after the user finished all committed payments." + }, + "remainingCommittedPaymentsCount": { + "description": "Total number of committed payments remaining to be paid for in this renewal cycle.", + "format": "int32", + "type": "integer" + }, + "subsequentCommittedPaymentsCount": { + "description": "Total number of payments the user will be committed for after each commitment period. Empty means the installment plan will fall back to a normal auto-renew subscription after initial commitment.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "InstallmentsBasePlanType": { + "description": "Represents an installments base plan where a user commits to a specified number of payments.", + "id": "InstallmentsBasePlanType", + "properties": { + "accountHoldDuration": { + "description": "Optional. Account hold period of the subscription, specified exclusively in days and in ISO 8601 format. Acceptable values are P0D (zero days) to P30D (30days). If not specified, the default value is P30D (30 days).", + "type": "string" + }, + "billingPeriodDuration": { + "description": "Required. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center.", + "type": "string" + }, + "committedPaymentsCount": { + "description": "Required. The number of payments the user is committed to.", + "format": "int32", + "type": "integer" + }, + "gracePeriodDuration": { + "description": "Grace period of the subscription, specified in ISO 8601 format. Acceptable values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and P30D (30 days). If not specified, a default value will be used based on the recurring period duration.", + "type": "string" + }, + "prorationMode": { + "description": "The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE.", + "enum": [ + "SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED", + "SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE", + "SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY" + ], + "enumDescriptions": [ + "Unspecified mode.", + "Users will be charged for their new base plan at the end of their current billing period.", + "Users will be charged for their new base plan immediately and in full. Any remaining period of their existing subscription will be used to extend the duration of the new billing plan." + ], + "type": "string" + }, + "renewalType": { + "description": "Required. Installments base plan renewal type. Determines the behavior at the end of the initial commitment.", + "enum": [ + "RENEWAL_TYPE_UNSPECIFIED", + "RENEWAL_TYPE_RENEWS_WITHOUT_COMMITMENT", + "RENEWAL_TYPE_RENEWS_WITH_COMMITMENT" + ], + "enumDescriptions": [ + "Unspecified state.", + "Renews periodically for the billing period duration without commitment.", + "Renews with the commitment of the same duration as the initial one." + ], + "type": "string" + }, + "resubscribeState": { + "description": "Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.", + "enum": [ + "RESUBSCRIBE_STATE_UNSPECIFIED", + "RESUBSCRIBE_STATE_ACTIVE", + "RESUBSCRIBE_STATE_INACTIVE" + ], + "enumDescriptions": [ + "Unspecified state.", + "Resubscribe is active.", + "Resubscribe is inactive." + ], + "type": "string" + } + }, + "type": "object" + }, "InternalAppSharingArtifact": { "description": "An artifact resource which gets created when uploading an APK or Android App Bundle through internal app sharing.", "id": "InternalAppSharingArtifact", @@ -7618,6 +7718,12 @@ }, "type": "object" }, + "PendingCancellation": { + "description": "This is an indicator of whether there is a pending cancellation on the virtual installment plan. The cancellation will happen only after the user finished all committed payments.", + "id": "PendingCancellation", + "properties": {}, + "type": "object" + }, "PrepaidBasePlanType": { "description": "Represents a base plan that does not automatically renew at the end of the base plan, and must be manually renewed by the user.", "id": "PrepaidBasePlanType", @@ -8041,6 +8147,20 @@ "properties": {}, "type": "object" }, + "RestrictedPaymentCountries": { + "description": "Countries where the purchase of this product is restricted to payment methods registered in the same country. If empty, no payment location restrictions are imposed.", + "id": "RestrictedPaymentCountries", + "properties": { + "regionCodes": { + "description": "Required. Region codes to impose payment restrictions on, as defined by ISO 3166-2, e.g. \"US\".", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Review": { "description": "An Android app review.", "id": "Review", @@ -8376,6 +8496,10 @@ "description": "Immutable. Unique product ID of the product. Unique within the parent app. Product IDs must be composed of lower-case letters (a-z), numbers (0-9), underscores (_) and dots (.). It must start with a lower-case letter or number, and be between 1 and 40 (inclusive) characters in length.", "type": "string" }, + "restrictedPaymentCountries": { + "$ref": "RestrictedPaymentCountries", + "description": "Optional. Countries where the purchase of this subscription is restricted to payment methods registered in the same country. If empty, no payment location restrictions are imposed." + }, "taxAndComplianceSettings": { "$ref": "SubscriptionTaxAndComplianceSettings", "description": "Details about taxes and legal compliance." @@ -8854,7 +8978,8 @@ "SUBSCRIPTION_STATE_IN_GRACE_PERIOD", "SUBSCRIPTION_STATE_ON_HOLD", "SUBSCRIPTION_STATE_CANCELED", - "SUBSCRIPTION_STATE_EXPIRED" + "SUBSCRIPTION_STATE_EXPIRED", + "SUBSCRIPTION_STATE_PENDING_PURCHASE_CANCELED" ], "enumDescriptions": [ "Unspecified subscription state.", @@ -8864,7 +8989,8 @@ "Subscription is in grace period. The state is only available when the subscription is an auto renewing plan. In this state, all items are in grace period.", "Subscription is on hold (suspended). The state is only available when the subscription is an auto renewing plan. In this state, all items are on hold.", "Subscription is canceled but not expired yet. The state is only available when the subscription is an auto renewing plan. All items have auto_renew_enabled set to false.", - "Subscription is expired. All items have expiry_time in the past." + "Subscription is expired. All items have expiry_time in the past.", + "Pending transaction for subscription is canceled. If this pending purchase was for an existing subscription, use linked_purchase_token to get the current state of that subscription." ], "type": "string" }, diff --git a/discovery/googleapis/apigateway__v1.json b/discovery/googleapis/apigateway__v1.json index 1a57f8a6c..492b47c80 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": "20240424", + "revision": "20240515", "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 18de25240..ac474a208 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": "20240507", + "revision": "20240517", "rootUrl": "https://apigee.googleapis.com/", "servicePath": "", "title": "Apigee API", diff --git a/discovery/googleapis/apikeys__v2.json b/discovery/googleapis/apikeys__v2.json index bc5d552fc..0992c62ca 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": "20240429", + "revision": "20240520", "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 706fad6d9..9f76b2dc1 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": "20240506", + "revision": "20240513", "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 b2d07c413..2c14c5e12 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": "20240501", + "revision": "20240515", "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 e4fe9025b..1ee57743a 100644 --- a/discovery/googleapis/artifactregistry__v1.json +++ b/discovery/googleapis/artifactregistry__v1.json @@ -19,6 +19,216 @@ "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/artifacts/docs/", "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.africa-south1.rep.googleapis.com/", + "location": "africa-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-south1.rep.googleapis.com/", + "location": "asia-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-south2.rep.googleapis.com/", + "location": "asia-south2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.asia-southeast2.rep.googleapis.com/", + "location": "asia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.australia-southeast1.rep.googleapis.com/", + "location": "australia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.australia-southeast2.rep.googleapis.com/", + "location": "australia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-central2.rep.googleapis.com/", + "location": "europe-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-north1.rep.googleapis.com/", + "location": "europe-north1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west1.rep.googleapis.com/", + "location": "europe-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west12.rep.googleapis.com/", + "location": "europe-west12" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west2.rep.googleapis.com/", + "location": "europe-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west3.rep.googleapis.com/", + "location": "europe-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west4.rep.googleapis.com/", + "location": "europe-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west6.rep.googleapis.com/", + "location": "europe-west6" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west8.rep.googleapis.com/", + "location": "europe-west8" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.europe-west9.rep.googleapis.com/", + "location": "europe-west9" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.me-central1.rep.googleapis.com/", + "location": "me-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.southamerica-west1.rep.googleapis.com/", + "location": "southamerica-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-central1.rep.googleapis.com/", + "location": "us-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-central2.rep.googleapis.com/", + "location": "us-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-east1.rep.googleapis.com/", + "location": "us-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-east5.rep.googleapis.com/", + "location": "us-east5" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-east7.rep.googleapis.com/", + "location": "us-east7" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://artifactregistry.us-west8.rep.googleapis.com/", + "location": "us-west8" + }, { "description": "Regional Endpoint", "endpointUrl": "https://artifactregistry.me-central2.rep.googleapis.com/", @@ -35,7 +245,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240501", + "revision": "20240520", "rootUrl": "https://artifactregistry.googleapis.com/", "servicePath": "", "title": "Artifact Registry API", @@ -708,7 +918,7 @@ "type": "string" }, "pageSize": { - "description": "The maximum number of artifacts to return.", + "description": "The maximum number of artifacts to return. Maximum page size is 1,000.", "format": "int32", "location": "query", "type": "integer" @@ -739,6 +949,31 @@ }, "files": { "methods": { + "delete": { + "description": "Deletes a file and all of its content. It is only allowed on generic repositories. The returned operation will complete once the file has been deleted.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files/{filesId}", + "httpMethod": "DELETE", + "id": "artifactregistry.projects.locations.repositories.files.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the file to delete.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/repositories/[^/]+/files/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "download": { "description": "Download a file.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/files/{filesId}:download", @@ -813,7 +1048,7 @@ "type": "string" }, "pageSize": { - "description": "The maximum number of files to return.", + "description": "The maximum number of files to return. Maximum page size is 1,000.", "format": "int32", "location": "query", "type": "integer" @@ -845,7 +1080,7 @@ "genericArtifacts": { "methods": { "upload": { - "description": "Directly uploads a Generic artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based on the uploaded artifact. Uploaded artifacts that conflict with existing resources will raise an ALREADY_EXISTS error.", + "description": "Directly uploads a Generic artifact. The returned operation will complete once the resources are uploaded. Package, version, and file resources are created based on the uploaded artifact. Uploaded artifacts that conflict with existing resources will raise an `ALREADY_EXISTS` error.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}/genericArtifacts:create", "httpMethod": "POST", "id": "artifactregistry.projects.locations.repositories.genericArtifacts.upload", @@ -1088,7 +1323,7 @@ ], "parameters": { "pageSize": { - "description": "The maximum number of artifacts to return.", + "description": "The maximum number of artifacts to return. Maximum page size is 1,000.", "format": "int32", "location": "query", "type": "integer" @@ -1155,7 +1390,7 @@ ], "parameters": { "pageSize": { - "description": "The maximum number of artifacts to return.", + "description": "The maximum number of artifacts to return. Maximum page size is 1,000.", "format": "int32", "location": "query", "type": "integer" @@ -1411,7 +1646,7 @@ "type": "string" }, "pageSize": { - "description": "The maximum number of tags to return. Maximum page size is 10,000.", + "description": "The maximum number of tags to return. Maximum page size is 1,000.", "format": "int32", "location": "query", "type": "integer" @@ -1674,7 +1909,7 @@ ], "parameters": { "pageSize": { - "description": "The maximum number of artifacts to return.", + "description": "The maximum number of artifacts to return. Maximum page size is 1,000.", "format": "int32", "location": "query", "type": "integer" @@ -3246,7 +3481,7 @@ "type": "string" }, "disallowUnspecifiedMode": { - "description": "Optional. If this is true, aunspecified repo type will be treated as error. Is used for new repo types that don't have any specific fields. Right now is used by AOSS team when creating repos for customers.", + "description": "Optional. If this is true, an unspecified repo type will be treated as error rather than defaulting to standard.", "type": "boolean" }, "dockerConfig": { @@ -3305,14 +3540,16 @@ "STANDARD_REPOSITORY", "VIRTUAL_REPOSITORY", "REMOTE_REPOSITORY", - "AOSS_REPOSITORY" + "AOSS_REPOSITORY", + "ASSURED_OSS_REPOSITORY" ], "enumDescriptions": [ "Unspecified mode.", "A standard repository storing artifacts.", "A virtual repository to serve artifacts from one or more sources.", "A remote repository to serve artifacts from a remote source.", - "An AOSS repository provides artifacts from AOSS upstreams." + "An AOSS repository provides artifacts from AOSS upstreams.", + "Replacement of AOSS_REPOSITORY." ], "type": "string" }, @@ -3493,20 +3730,15 @@ "id": "UploadGenericArtifactRequest", "properties": { "filename": { - "description": "The name of the file of the generic artifact to be uploaded. E.g. \"example-file.zip\" The filename should only include letters, numbers, and url safe characters, i.e. [a-zA-Z0-9-_.~@].", - "type": "string" - }, - "name": { - "deprecated": true, - "description": "Deprecated. Use package_id, version_id and filename instead. The resource name of the generic artifact. E.g. \"projects/math/locations/us/repositories/operations/genericArtifacts/addition/1.0.0/add.py\"", + "description": "The name of the file of the generic artifact to be uploaded. E.g. `example-file.zip` The filename is limited to letters, numbers, and url safe characters, i.e. [a-zA-Z0-9-_.~@].", "type": "string" }, "packageId": { - "description": "The ID of the package of the generic artifact. If the package does not exist, a new package will be created. E.g. \"pkg-1\" The package_id must start with a letter, end with a letter or number, only contain letters, numbers, hyphens and periods i.e. [a-z0-9-.], and cannot exceed 256 characters.", + "description": "The ID of the package of the generic artifact. If the package does not exist, a new package will be created. The `package_id` must start with a letter, end with a letter or number, only contain letters, numbers, hyphens and periods i.e. [a-z0-9-.], and cannot exceed 256 characters.", "type": "string" }, "versionId": { - "description": "The ID of the version of the generic artifact. If the version does not exist, a new version will be created. E.g.\"1.0.0\" The version_id must start and end with a letter or number, can only contain lowercase letters, numbers, hyphens and periods, i.e. [a-z0-9-.] and cannot exceed a total of 128 characters. While \"latest\" is a well-known name for the latest version of a package, it is not yet supported and is reserved for future use. Creating a version called \"latest\" is not allowed.", + "description": "The ID of the version of the generic artifact. If the version does not exist, a new version will be created. The version_id must start and end with a letter or number, can only contain lowercase letters, numbers, hyphens and periods, i.e. [a-z0-9-.] and cannot exceed a total of 128 characters. Creating a version called `latest` is not allowed.", "type": "string" } }, @@ -3757,7 +3989,7 @@ "type": "object" }, "VirtualRepositoryConfig": { - "description": "LINT.IfChange Virtual repository configuration.", + "description": "Virtual repository configuration.", "id": "VirtualRepositoryConfig", "properties": { "upstreamPolicies": { diff --git a/discovery/googleapis/assuredworkloads__v1.json b/discovery/googleapis/assuredworkloads__v1.json index 1b743439d..9c01f7f6d 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": "20240502", + "revision": "20240523", "rootUrl": "https://assuredworkloads.googleapis.com/", "servicePath": "", "title": "Assured Workloads API", @@ -685,19 +685,25 @@ "FEDRAMP_HIGH", "FEDRAMP_MODERATE", "US_REGIONAL_ACCESS", + "REGIONAL_CONTROLS_PREMIUM_US", "HIPAA", "HITRUST", "EU_REGIONS_AND_SUPPORT", + "REGIONAL_CONTROLS_PREMIUM_EU", "CA_REGIONS_AND_SUPPORT", + "REGIONAL_CONTROLS_PREMIUM_CA", "ITAR", "AU_REGIONS_AND_US_SUPPORT", + "REGIONAL_CONTROLS_PREMIUM_AU", "ASSURED_WORKLOADS_FOR_PARTNERS", "ISR_REGIONS", + "REGIONAL_CONTROLS_PREMIUM_ISR", "ISR_REGIONS_AND_SUPPORT", "CA_PROTECTED_B", "IL5", "IL2", "JP_REGIONS_AND_SUPPORT", + "REGIONAL_CONTROLS_PREMIUM_JP", "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", "REGIONAL_CONTROLS", "FREE_REGIONS" @@ -709,19 +715,25 @@ "FedRAMP High data protection controls", "FedRAMP Moderate data protection controls", "Assured Workloads For US Regions data protection controls", + "Assured Workloads For US Regions data protection controls", "Health Insurance Portability and Accountability Act controls", "Health Information Trust Alliance controls", "Assured Workloads For EU Regions and Support controls", + "Assured Workloads For EU Regions and Support controls", + "Assured Workloads For Canada Regions and Support controls", "Assured Workloads For Canada Regions and Support controls", "International Traffic in Arms Regulations", "Assured Workloads for Australia Regions and Support controls", + "Assured Workloads for Australia Regions and Support controls", "Assured Workloads for Partners;", + "Assured Workloads for Israel Regions", "Assured Workloads for Israel", "Assured Workloads for Israel Regions", "Assured Workloads for Canada Protected B regime", "Information protection as per DoD IL5 requirements.", "Information protection as per DoD IL2 requirements.", "Assured Workloads for Japan Regions", + "Assured Workloads for Japan Regions", "KSA R5 Controls.", "Assured Workloads for Regional Controls/Free Regions", "Assured Workloads for Regional Controls/Free Regions" @@ -1168,19 +1180,25 @@ "FEDRAMP_HIGH", "FEDRAMP_MODERATE", "US_REGIONAL_ACCESS", + "REGIONAL_CONTROLS_PREMIUM_US", "HIPAA", "HITRUST", "EU_REGIONS_AND_SUPPORT", + "REGIONAL_CONTROLS_PREMIUM_EU", "CA_REGIONS_AND_SUPPORT", + "REGIONAL_CONTROLS_PREMIUM_CA", "ITAR", "AU_REGIONS_AND_US_SUPPORT", + "REGIONAL_CONTROLS_PREMIUM_AU", "ASSURED_WORKLOADS_FOR_PARTNERS", "ISR_REGIONS", + "REGIONAL_CONTROLS_PREMIUM_ISR", "ISR_REGIONS_AND_SUPPORT", "CA_PROTECTED_B", "IL5", "IL2", "JP_REGIONS_AND_SUPPORT", + "REGIONAL_CONTROLS_PREMIUM_JP", "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS", "REGIONAL_CONTROLS", "FREE_REGIONS" @@ -1192,19 +1210,25 @@ "FedRAMP High data protection controls", "FedRAMP Moderate data protection controls", "Assured Workloads For US Regions data protection controls", + "Assured Workloads For US Regions data protection controls", "Health Insurance Portability and Accountability Act controls", "Health Information Trust Alliance controls", "Assured Workloads For EU Regions and Support controls", + "Assured Workloads For EU Regions and Support controls", + "Assured Workloads For Canada Regions and Support controls", "Assured Workloads For Canada Regions and Support controls", "International Traffic in Arms Regulations", "Assured Workloads for Australia Regions and Support controls", + "Assured Workloads for Australia Regions and Support controls", "Assured Workloads for Partners;", + "Assured Workloads for Israel Regions", "Assured Workloads for Israel", "Assured Workloads for Israel Regions", "Assured Workloads for Canada Protected B regime", "Information protection as per DoD IL5 requirements.", "Information protection as per DoD IL2 requirements.", "Assured Workloads for Japan Regions", + "Assured Workloads for Japan Regions", "KSA R5 Controls.", "Assured Workloads for Regional Controls/Free Regions", "Assured Workloads for Regional Controls/Free Regions" diff --git a/discovery/googleapis/authorizedbuyersmarketplace__v1.json b/discovery/googleapis/authorizedbuyersmarketplace__v1.json index 19d901602..3a41bce49 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": "20240509", + "revision": "20240529", "rootUrl": "https://authorizedbuyersmarketplace.googleapis.com/", "servicePath": "", "title": "Authorized Buyers Marketplace API", diff --git a/discovery/googleapis/backupdr__v1.json b/discovery/googleapis/backupdr__v1.json index 908d5cb0a..fe1b8f110 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": "20240417", + "revision": "20240515", "rootUrl": "https://backupdr.googleapis.com/", "servicePath": "", "title": "Backup and DR Service API", @@ -181,38 +181,6 @@ } }, "resources": { - "backupVaults": { - "methods": { - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may \"fail open\" without warning.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupVaults/{backupVaultsId}:testIamPermissions", - "httpMethod": "POST", - "id": "backupdr.projects.locations.backupVaults.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "parameters": { - "resource": { - "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/backupVaults/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+resource}:testIamPermissions", - "request": { - "$ref": "TestIamPermissionsRequest" - }, - "response": { - "$ref": "TestIamPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, "managementServers": { "methods": { "create": { diff --git a/discovery/googleapis/baremetalsolution__v2.json b/discovery/googleapis/baremetalsolution__v2.json index 1d83c138a..a018b1d80 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": "20240422", + "revision": "20240513", "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 f7fec7e55..a542f987b 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": "20240425", + "revision": "20240517", "rootUrl": "https://batch.googleapis.com/", "servicePath": "", "title": "Batch API", @@ -753,6 +753,10 @@ "description": "If the GCP instance has received preemption notice.", "type": "boolean" }, + "machineType": { + "description": "Optional. machine type of the VM", + "type": "string" + }, "osRelease": { "additionalProperties": { "type": "string" @@ -909,7 +913,7 @@ "description": "Environment variables to set before running the Task." }, "maxRunDuration": { - "description": "Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit. The valid value range for max_run_duration in seconds is [0, 315576000000.999999999],", + "description": "Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration.", "format": "google-duration", "type": "string" }, @@ -1255,7 +1259,7 @@ "id": "InstancePolicyOrTemplate", "properties": { "installGpuDrivers": { - "description": "Set this field true if users want Batch to help fetch drivers from a third party location and install them for GPUs specified in policy.accelerators or instance_template on their behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.", + "description": "Set this field true if you want Batch to help fetch drivers from a third party location and install them for GPUs specified in `policy.accelerators` or `instance_template` on your behalf. Default is false. For Container-Optimized Image cases, Batch will install the accelerator driver following milestones of https://cloud.google.com/container-optimized-os/docs/release-notes. For non Container-Optimized Image cases, following https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.", "type": "boolean" }, "instanceTemplate": { @@ -2069,7 +2073,7 @@ "id": "TaskExecution", "properties": { "exitCode": { - "description": "The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: - Batch known failures as https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. - Batch runnable execution failures: You can rely on Batch logs for further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error caught for now.", + "description": "The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be from different sources: * Batch known failures: https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. * Batch runnable execution failures; you can rely on Batch logs to further diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables failures, Batch only exposes the first error.", "format": "int32", "type": "integer" } @@ -2195,7 +2199,7 @@ "type": "integer" }, "maxRunDuration": { - "description": "Maximum duration the task should run. The task will be killed and marked as FAILED if over this limit. The valid value range for max_run_duration in seconds is [0, 315576000000.999999999],", + "description": "Maximum duration the task should run before being automatically retried (if enabled) or automatically failed. Format the value of this field as a time limit in seconds followed by `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 and the maximum listed for the `Duration` field type at https://protobuf.dev/reference/protobuf/google.protobuf/#duration; however, the actual maximum run time for a job will be limited to the maximum run time for a job listed at https://cloud.google.com/batch/quotas#max-job-duration.", "format": "google-duration", "type": "string" }, diff --git a/discovery/googleapis/beyondcorp__v1.json b/discovery/googleapis/beyondcorp__v1.json index 05e9c271b..7027b5ba3 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": "20240424", + "revision": "20240508", "rootUrl": "https://beyondcorp.googleapis.com/", "servicePath": "", "title": "BeyondCorp API", diff --git a/discovery/googleapis/biglake__v1.json b/discovery/googleapis/biglake__v1.json index d6a3ff82c..6cebc3dbc 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": "20240506", + "revision": "20240522", "rootUrl": "https://biglake.googleapis.com/", "servicePath": "", "title": "BigLake API", diff --git a/discovery/googleapis/bigquery__v2.json b/discovery/googleapis/bigquery__v2.json index 1b460be06..1d034bc05 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": "20240423", + "revision": "20240418", "rootUrl": "https://bigquery.googleapis.com/", "servicePath": "bigquery/v2/", "title": "BigQuery API", @@ -9007,7 +9007,7 @@ "readOnly": true }, "replicationIntervalMs": { - "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.", + "description": "Required. Specifies the interval at which the source table is polled for updates.", "format": "int64", "type": "string" }, diff --git a/discovery/googleapis/bigqueryconnection__v1.json b/discovery/googleapis/bigqueryconnection__v1.json index 07ef36967..add2616e4 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": "20240423", + "revision": "20240418", "rootUrl": "https://bigqueryconnection.googleapis.com/", "servicePath": "", "title": "BigQuery Connection API", diff --git a/discovery/googleapis/bigquerydatapolicy__v1.json b/discovery/googleapis/bigquerydatapolicy__v1.json index 892d8fb25..1bceaa823 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": "20240429", + "revision": "20240513", "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 9963e6dfe..103003c65 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": "20240427", + "revision": "20240519", "rootUrl": "https://bigquerydatatransfer.googleapis.com/", "servicePath": "", "title": "BigQuery Data Transfer API", @@ -517,7 +517,7 @@ ], "parameters": { "authorizationCode": { - "description": "Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", + "description": "Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", "location": "query", "type": "string" }, @@ -534,7 +534,7 @@ "type": "string" }, "versionInfo": { - "description": "Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", + "description": "Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", "location": "query", "type": "string" } @@ -657,7 +657,7 @@ ], "parameters": { "authorizationCode": { - "description": "Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", + "description": "Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", "location": "query", "type": "string" }, @@ -680,7 +680,7 @@ "type": "string" }, "versionInfo": { - "description": "Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", + "description": "Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", "location": "query", "type": "string" } @@ -965,7 +965,7 @@ ], "parameters": { "authorizationCode": { - "description": "Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", + "description": "Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", "location": "query", "type": "string" }, @@ -982,7 +982,7 @@ "type": "string" }, "versionInfo": { - "description": "Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", + "description": "Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to create the transfer config.", "location": "query", "type": "string" } @@ -1105,7 +1105,7 @@ ], "parameters": { "authorizationCode": { - "description": "Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", + "description": "Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", "location": "query", "type": "string" }, @@ -1128,7 +1128,7 @@ "type": "string" }, "versionInfo": { - "description": "Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", + "description": "Optional version info. This is required only if `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes * The client_id is the OAuth client_id of the a data source as returned by ListDataSources method. * data_source_scopes are the scopes returned by ListDataSources method. Note that this should not be set when `service_account_name` is used to update the transfer config.", "location": "query", "type": "string" } diff --git a/discovery/googleapis/bigqueryreservation__v1.json b/discovery/googleapis/bigqueryreservation__v1.json index e38f77bb9..db4578ffb 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": "20240430", + "revision": "20240518", "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 681d115f2..1fd9bdca8 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": "20240430", + "revision": "20240520", "rootUrl": "https://bigtableadmin.googleapis.com/", "servicePath": "", "title": "Cloud Bigtable Admin API", diff --git a/discovery/googleapis/billingbudgets__v1.json b/discovery/googleapis/billingbudgets__v1.json index 566fccd0d..216404277 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": "20240504", + "revision": "20240526", "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 8d664b8e1..9ab4c0a40 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": "20240503", + "revision": "20240524", "rootUrl": "https://binaryauthorization.googleapis.com/", "servicePath": "", "title": "Binary Authorization API", @@ -1669,7 +1669,7 @@ "type": "array" }, "containerAnalysisAttestationProjects": { - "description": "Optional. The projects where attestations are stored as Container Analysis Occurrences, in the format `projects/[PROJECT_ID]`. Only one attestation needs to successfully verify an image for this check to pass, so a single verified attestation found in any of `container_analysis_attestation_projects` is sufficient for the check to pass. When fetching Occurrences from Container Analysis, only `AttestationOccurrence` kinds are considered. In the future, additional Occurrence kinds may be added to the query. Maximum number of `container_analysis_attestation_projects` allowed in each `SimpleSigningAttestationCheck` is 10.", + "description": "Optional. The projects where attestations are stored as Container Analysis Occurrences, in the format `projects/[PROJECT_ID]`. Only one attestation needs to successfully verify an image for this check to pass, so a single verified attestation found in any of `container_analysis_attestation_projects` is sufficient for the check to pass. A project ID must be used, not a project number. When fetching Occurrences from Container Analysis, only `AttestationOccurrence` kinds are considered. In the future, additional Occurrence kinds may be added to the query. Maximum number of `container_analysis_attestation_projects` allowed in each `SimpleSigningAttestationCheck` is 10.", "items": { "type": "string" }, @@ -1744,7 +1744,7 @@ "type": "string" }, "noteReference": { - "description": "Required. The Grafeas resource name of a Attestation.Authority Note, created by the user, in the format: `projects/*/notes/*`. This field may not be updated. An attestation by this attestor is stored as a Grafeas Attestation.Authority Occurrence that names a container image and that links to this Note. Grafeas is an external dependency.", + "description": "Required. The Grafeas resource name of a Attestation.Authority Note, created by the user, in the format: `projects/[PROJECT_ID]/notes/*`. This field may not be updated. A project ID must be used, not a project number. An attestation by this attestor is stored as a Grafeas Attestation.Authority Occurrence that names a container image and that links to this Note. Grafeas is an external dependency.", "type": "string" }, "publicKeys": { diff --git a/discovery/googleapis/blockchainnodeengine__v1.json b/discovery/googleapis/blockchainnodeengine__v1.json index 900a52afc..6461cecf0 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": "20240504", + "revision": "20240529", "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 7bf5e92da..435bb80a7 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": "20240509", + "revision": "20240529", "rootUrl": "https://blogger.googleapis.com/", "servicePath": "", "title": "Blogger API", diff --git a/discovery/googleapis/books__v1.json b/discovery/googleapis/books__v1.json index 1f71bc925..51f69272b 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": "20240507", + "revision": "20240521", "rootUrl": "https://books.googleapis.com/", "servicePath": "", "title": "Books API", diff --git a/discovery/googleapis/businessprofileperformance__v1.json b/discovery/googleapis/businessprofileperformance__v1.json index af2304d7c..c13ff3af9 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": "20240508", + "revision": "20240529", "rootUrl": "https://businessprofileperformance.googleapis.com/", "servicePath": "", "title": "Business Profile Performance API", diff --git a/discovery/googleapis/calendar__v3.json b/discovery/googleapis/calendar__v3.json index 051a02656..d04bd9530 100644 --- a/discovery/googleapis/calendar__v3.json +++ b/discovery/googleapis/calendar__v3.json @@ -36,7 +36,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240425", + "revision": "20240523", "rootUrl": "https://www.googleapis.com/", "servicePath": "calendar/v3/", "title": "Calendar API", @@ -1097,12 +1097,14 @@ "enum": [ "default", "focusTime", + "fromGmail", "outOfOffice", "workingLocation" ], "enumDescriptions": [ "Regular events.", "Focus time events.", + "Events from Gmail.", "Out of office events.", "Working location events." ], @@ -1222,7 +1224,7 @@ "supportsSubscription": true }, "move": { - "description": "Moves an event to another calendar, i.e. changes an event's organizer. Note that only default events can be moved; outOfOffice, focusTime and workingLocation events cannot be moved.", + "description": "Moves an event to another calendar, i.e. changes an event's organizer. Note that only default events can be moved; outOfOffice, focusTime, workingLocation and fromGmail events cannot be moved.", "httpMethod": "POST", "id": "calendar.events.move", "parameterOrder": [ @@ -1512,12 +1514,14 @@ "enum": [ "default", "focusTime", + "fromGmail", "outOfOffice", "workingLocation" ], "enumDescriptions": [ "Regular events.", "Focus time events.", + "Events from Gmail.", "Out of office events.", "Working location events." ], @@ -2419,7 +2423,7 @@ }, "eventType": { "default": "default", - "description": "Specific type of the event. This cannot be modified after the event is created. Possible values are: \n- \"default\" - A regular event or not further specified. \n- \"outOfOffice\" - An out-of-office event. \n- \"focusTime\" - A focus-time event. \n- \"workingLocation\" - A working location event.", + "description": "Specific type of the event. This cannot be modified after the event is created. Possible values are: \n- \"default\" - A regular event or not further specified. \n- \"outOfOffice\" - An out-of-office event. \n- \"focusTime\" - A focus-time event. \n- \"workingLocation\" - A working location event. \n- \"fromGmail\" - An event from Gmail. This type of event cannot be created.", "type": "string" }, "extendedProperties": { diff --git a/discovery/googleapis/certificatemanager__v1.json b/discovery/googleapis/certificatemanager__v1.json index 9b70db524..9593bcc15 100644 --- a/discovery/googleapis/certificatemanager__v1.json +++ b/discovery/googleapis/certificatemanager__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240417", + "revision": "20240508", "rootUrl": "https://certificatemanager.googleapis.com/", "servicePath": "", "title": "Certificate Manager API", diff --git a/discovery/googleapis/chat__v1.json b/discovery/googleapis/chat__v1.json index 8fa1a0011..ab523414c 100644 --- a/discovery/googleapis/chat__v1.json +++ b/discovery/googleapis/chat__v1.json @@ -73,7 +73,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240507", + "revision": "20240521", "rootUrl": "https://chat.googleapis.com/", "servicePath": "", "title": "Google Chat API", @@ -351,7 +351,7 @@ ], "parameters": { "name": { - "description": "Required. Resource name of the space, in the form \"spaces/*\". Format: `spaces/{space}`", + "description": "Required. Resource name of the space, in the form `spaces/{space}`. Format: `spaces/{space}`", "location": "path", "pattern": "^spaces/[^/]+$", "required": true, @@ -369,7 +369,7 @@ ] }, "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. ", + "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.", "flatPath": "v1/spaces", "httpMethod": "GET", "id": "chat.spaces.list", @@ -438,7 +438,7 @@ ] }, "setup": { - "description": "Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see [Set up a space with initial members](https://developers.google.com/workspace/chat/set-up-spaces). To specify the human members to add, add memberships with the appropriate `member.name` in the `SetUpSpaceRequest`. To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user@example.com` or `users/123456789`. For a space or group chat, if the caller blocks or is blocked by some members, then those members aren't added to the created space. To create a direct message (DM) between the calling user and another human user, specify exactly one membership to represent the human user. If one user blocks the other, the request fails and the DM isn't created. To create a DM between the calling user and the calling app, set `Space.singleUserBotDm` to `true` and don't specify any memberships. You can only use this method to set up a DM with the calling app. To add the calling app as a member of a space or an existing DM between two human users, see [Invite or add a user or app to a space](https://developers.google.com/workspace/chat/create-members). If a DM already exists between two users, even when one user blocks the other at the time a request is made, then the existing DM is returned. Spaces with threaded replies aren't supported. If you receive the error message `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", + "description": "Creates a space and adds specified users to it. The calling user is automatically added to the space, and shouldn't be specified as a membership in the request. For an example, see [Set up a space with initial members](https://developers.google.com/workspace/chat/set-up-spaces). To specify the human members to add, add memberships with the appropriate `membership.member.name`. To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user@example.com` or `users/123456789`. For a named space or group chat, if the caller blocks, or is blocked by some members, or doesn't have permission to add some members, then those members aren't added to the created space. To create a direct message (DM) between the calling user and another human user, specify exactly one membership to represent the human user. If one user blocks the other, the request fails and the DM isn't created. To create a DM between the calling user and the calling app, set `Space.singleUserBotDm` to `true` and don't specify any memberships. You can only use this method to set up a DM with the calling app. To add the calling app as a member of a space or an existing DM between two human users, see [Invite or add a user or app to a space](https://developers.google.com/workspace/chat/create-members). If a DM already exists between two users, even when one user blocks the other at the time a request is made, then the existing DM is returned. Spaces with threaded replies aren't supported. If you receive the error message `ALREADY_EXISTS` when setting up a space, try a different `displayName`. An existing space within the Google Workspace organization might already use this display name. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).", "flatPath": "v1/spaces:setup", "httpMethod": "POST", "id": "chat.spaces.setup", @@ -461,7 +461,7 @@ "members": { "methods": { "create": { - "description": "Creates a human membership or app membership for the calling app. Creating memberships for other apps isn't supported. For an example, see [Invite or add a user or a Google Chat app to a space](https://developers.google.com/workspace/chat/create-members). When creating a membership, if the specified member has their auto-accept policy turned off, then they're invited, and must accept the space invitation before joining. Otherwise, creating a membership adds the member directly to the specified space. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). To specify the member to add, set the `membership.member.name` in the `CreateMembershipRequest`: - To add the calling app to a space or a direct message between two human users, use `users/app`. Unable to add other apps to the space. - To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user@example.com` or `users/123456789`.", + "description": "Creates a human membership or app membership for the calling app. Creating memberships for other apps isn't supported. For an example, see [Invite or add a user or a Google Chat app to a space](https://developers.google.com/workspace/chat/create-members). When creating a membership, if the specified member has their auto-accept policy turned off, then they're invited, and must accept the space invitation before joining. Otherwise, creating a membership adds the member directly to the specified space. Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). To specify the member to add, set the `membership.member.name` for the human or app member. - To add the calling app to a space or a direct message between two human users, use `users/app`. Unable to add other apps to the space. - To add a human user, use `users/{user}`, where `{user}` can be the email address for the user. For users in the same Workspace organization `{user}` can also be the `id` for the person from the People API, or the `id` for the user in the Directory API. For example, if the People API Person profile ID for `user@example.com` is `123456789`, you can add the user to the space by setting the `membership.member.name` to `users/user@example.com` or `users/123456789`.", "flatPath": "v1/spaces/{spacesId}/members", "httpMethod": "POST", "id": "chat.spaces.members.create", @@ -554,7 +554,7 @@ ], "parameters": { "filter": { - "description": "Optional. A query filter. You can filter memberships by a member's role ([`role`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members#membershiprole)) and type ([`member.type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/User#type)). To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`. To filter by type, set `member.type` to `HUMAN` or `BOT`. To filter by both role and type, use the `AND` operator. To filter by either role or type, use the `OR` operator. For example, the following queries are valid: ``` role = \"ROLE_MANAGER\" OR role = \"ROLE_MEMBER\" member.type = \"HUMAN\" AND role = \"ROLE_MANAGER\" ``` The following queries are invalid: ``` member.type = \"HUMAN\" AND member.type = \"BOT\" role = \"ROLE_MANAGER\" AND role = \"ROLE_MEMBER\" ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.", + "description": "Optional. A query filter. You can filter memberships by a member's role ([`role`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members#membershiprole)) and type ([`member.type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/User#type)). To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`. To filter by type, set `member.type` to `HUMAN` or `BOT`. Developer Preview: You can also filter for `member.type` using the `!=` operator. To filter by both role and type, use the `AND` operator. To filter by either role or type, use the `OR` operator. Either `member.type = \"HUMAN\"` or `member.type != \"BOT\"` is required when `use_admin_access` is set to true. Other member type filters will be rejected. For example, the following queries are valid: ``` role = \"ROLE_MANAGER\" OR role = \"ROLE_MEMBER\" member.type = \"HUMAN\" AND role = \"ROLE_MANAGER\" member.type != \"BOT\" ``` The following queries are invalid: ``` member.type = \"HUMAN\" AND member.type = \"BOT\" role = \"ROLE_MANAGER\" AND role = \"ROLE_MEMBER\" ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.", "location": "query", "type": "string" }, @@ -907,7 +907,7 @@ ], "parameters": { "name": { - "description": "Required. Resource name of the attachment, in the form `spaces/*/messages/*/attachments/*`.", + "description": "Required. Resource name of the attachment, in the form `spaces/{space}/messages/{message}/attachments/{attachment}`.", "location": "path", "pattern": "^spaces/[^/]+/messages/[^/]+/attachments/[^/]+$", "required": true, @@ -1426,7 +1426,7 @@ "readOnly": true }, "name": { - "description": "Resource name of the attachment, in the form `spaces/*/messages/*/attachments/*`.", + "description": "Resource name of the attachment, in the form `spaces/{space}/messages/{message}/attachments/{attachment}`.", "type": "string" }, "source": { @@ -3956,7 +3956,7 @@ "id": "SetUpSpaceRequest", "properties": { "memberships": { - "description": "Optional. The Google Chat users to invite to join the space. Omit the calling user, as they are added automatically. The set currently allows up to 20 memberships (in addition to the caller). The `Membership.member` field must contain a `user` with `name` populated (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You can only add human users when setting up a space (adding Chat apps is only supported for direct message setup with the calling app). You can also add members using the user's email as an alias for {user}. For example, the `user.name` can be `users/example@gmail.com`.\" To invite Gmail users or users from external Google Workspace domains, user's email must be used for `{user}`. Optional when setting `Space.spaceType` to `SPACE`. Required when setting `Space.spaceType` to `GROUP_CHAT`, along with at least two memberships. Required when setting `Space.spaceType` to `DIRECT_MESSAGE` with a human user, along with exactly one membership. Must be empty when creating a 1:1 conversation between a human and the calling Chat app (when setting `Space.spaceType` to `DIRECT_MESSAGE` and `Space.singleUserBotDm` to `true`).", + "description": "Optional. The Google Chat users to invite to join the space. Omit the calling user, as they are added automatically. The set currently allows up to 20 memberships (in addition to the caller). For human membership, the `Membership.member` field must contain a `user` with `name` populated (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You can only add human users when setting up a space (adding Chat apps is only supported for direct message setup with the calling app). You can also add members using the user's email as an alias for {user}. For example, the `user.name` can be `users/example@gmail.com`. To invite Gmail users or users from external Google Workspace domains, user's email must be used for `{user}`. Optional when setting `Space.spaceType` to `SPACE`. Required when setting `Space.spaceType` to `GROUP_CHAT`, along with at least two memberships. Required when setting `Space.spaceType` to `DIRECT_MESSAGE` with a human user, along with exactly one membership. Must be empty when creating a 1:1 conversation between a human and the calling Chat app (when setting `Space.spaceType` to `DIRECT_MESSAGE` and `Space.singleUserBotDm` to `true`).", "items": { "$ref": "Membership" }, @@ -4028,7 +4028,7 @@ "id": "Space", "properties": { "adminInstalled": { - "description": "Output only. Whether the Chat app was installed by a Google Workspace administrator. Administrators can install a Chat app for their domain, organizational unit, or a group of users. Administrators can only install Chat apps for direct messaging between users and the app. To support admin install, your app must feature direct messaging.", + "description": "Output only. For direct message (DM) spaces with a Chat app, whether the space was created by a Google Workspace administrator. Administrators can install and set up a direct message with a Chat app on behalf of users in their organization. To support admin install, your Chat app must feature direct messaging.", "readOnly": true, "type": "boolean" }, diff --git a/discovery/googleapis/chromemanagement__v1.json b/discovery/googleapis/chromemanagement__v1.json index e0a0f0911..a024aa88d 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": "20240508", + "revision": "20240529", "rootUrl": "https://chromemanagement.googleapis.com/", "servicePath": "", "title": "Chrome Management API", @@ -3440,6 +3440,329 @@ }, "type": "object" }, + "GoogleChromeManagementV1TelemetryAppInstallEvent": { + "description": "App installation data.", + "id": "GoogleChromeManagementV1TelemetryAppInstallEvent", + "properties": { + "appId": { + "description": "App id. For PWAs this is the start URL, and for extensions this is the extension id.", + "type": "string" + }, + "appInstallReason": { + "description": "App installation reason.", + "enum": [ + "APPLICATION_INSTALL_REASON_UNSPECIFIED", + "APPLICATION_INSTALL_REASON_SYSTEM", + "APPLICATION_INSTALL_REASON_POLICY", + "APPLICATION_INSTALL_REASON_OEM", + "APPLICATION_INSTALL_REASON_DEFAULT", + "APPLICATION_INSTALL_REASON_SYNC", + "APPLICATION_INSTALL_REASON_USER", + "APPLICATION_INSTALL_REASON_SUB_APP", + "APPLICATION_INSTALL_REASON_KIOSK", + "APPLICATION_INSTALL_REASON_COMMAND_LINE" + ], + "enumDescriptions": [ + "Application install reason is unknown.", + "Application installed with the system and is considered part of the OS.", + "Application installed by policy.", + "Application installed by an original equipment manufacturer (OEM).", + "Application installed by default, but is not considered a system app.", + "Application installed by sync.", + "Application installed by user action.", + "Application installed bt SubApp API call.", + "Application installed by Kiosk on Chrome OS.", + "Application installed by command line argument." + ], + "type": "string" + }, + "appInstallSource": { + "description": "App installation source.", + "enum": [ + "APPLICATION_INSTALL_SOURCE_UNSPECIFIED", + "APPLICATION_INSTALL_SOURCE_SYSTEM", + "APPLICATION_INSTALL_SOURCE_SYNC", + "APPLICATION_INSTALL_SOURCE_PLAY_STORE", + "APPLICATION_INSTALL_SOURCE_CHROME_WEB_STORE", + "APPLICATION_INSTALL_SOURCE_BROWSER" + ], + "enumDescriptions": [ + "Application install source is unknown.", + "Application installed as part of Chrome OS.", + "Application install source is a sync.", + "Application install source is the Play store.", + "Application install source is the Chrome web store.", + "Application install source is a browser." + ], + "type": "string" + }, + "appInstallTime": { + "description": "App installation time depending on the app lifecycle.", + "enum": [ + "APPLICATION_INSTALL_TIME_UNSPECIFIED", + "APPLICATION_INSTALL_TIME_INIT", + "APPLICATION_INSTALL_TIME_RUNNING" + ], + "enumDescriptions": [ + "Application install time unknown.", + "Application install is initialized.", + "Application install is currently running." + ], + "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" + } + }, + "type": "object" + }, + "GoogleChromeManagementV1TelemetryAppLaunchEvent": { + "description": "App launch data.", + "id": "GoogleChromeManagementV1TelemetryAppLaunchEvent", + "properties": { + "appId": { + "description": "App id. For PWAs this is the start URL, and for extensions this is the extension id.", + "type": "string" + }, + "appLaunchSource": { + "description": "App launch source.", + "enum": [ + "APPLICATION_LAUNCH_SOURCE_UNSPECIFIED", + "APPLICATION_LAUNCH_SOURCE_APP_LIST_GRID", + "APPLICATION_LAUNCH_SOURCE_APP_LIST_GRID_CONTEXT_MENU", + "APPLICATION_LAUNCH_SOURCE_APP_LIST_QUERY", + "APPLICATION_LAUNCH_SOURCE_APP_LIST_QUERY_CONTEXT_MENU", + "APPLICATION_LAUNCH_SOURCE_APP_LIST_RECOMMENDATION", + "APPLICATION_LAUNCH_SOURCE_PARENTAL_CONTROLS", + "APPLICATION_LAUNCH_SOURCE_SHELF", + "APPLICATION_LAUNCH_SOURCE_FILE_MANAGER", + "APPLICATION_LAUNCH_SOURCE_LINK", + "APPLICATION_LAUNCH_SOURCE_OMNIBOX", + "APPLICATION_LAUNCH_SOURCE_CHROME_INTERNAL", + "APPLICATION_LAUNCH_SOURCE_KEYBOARD", + "APPLICATION_LAUNCH_SOURCE_OTHER_APP", + "APPLICATION_LAUNCH_SOURCE_MENU", + "APPLICATION_LAUNCH_SOURCE_INSTALLED_NOTIFICATION", + "APPLICATION_LAUNCH_SOURCE_TEST", + "APPLICATION_LAUNCH_SOURCE_ARC", + "APPLICATION_LAUNCH_SOURCE_SHARESHEET", + "APPLICATION_LAUNCH_SOURCE_RELEASE_NOTES_NOTIFICATION", + "APPLICATION_LAUNCH_SOURCE_FULL_RESTORE", + "APPLICATION_LAUNCH_SOURCE_SMART_TEXT_CONTEXT_MENU", + "APPLICATION_LAUNCH_SOURCE_DISCOVER_TAB_NOTIFICATION", + "APPLICATION_LAUNCH_SOURCE_MANAGEMENT_API", + "APPLICATION_LAUNCH_SOURCE_KIOSK", + "APPLICATION_LAUNCH_SOURCE_COMMAND_LINE", + "APPLICATION_LAUNCH_SOURCE_BACKGROUND_MODE", + "APPLICATION_LAUNCH_SOURCE_NEW_TAB_PAGE", + "APPLICATION_LAUNCH_SOURCE_INTENT_URL", + "APPLICATION_LAUNCH_SOURCE_OS_LOGIN", + "APPLICATION_LAUNCH_SOURCE_PROTOCOL_HANDLER", + "APPLICATION_LAUNCH_SOURCE_URL_HANDLER", + "APPLICATION_LAUNCH_SOURCE_LOCK_SCREEN", + "APPLICATION_LAUNCH_SOURCE_APP_HOME_PAGE", + "APPLICATION_LAUNCH_SOURCE_REPARENTING", + "APPLICATION_LAUNCH_SOURCE_PROFILE_MENU", + "APPLICATION_LAUNCH_SOURCE_SYSTEM_TRAY_CALENDAR", + "APPLICATION_LAUNCH_SOURCE_INSTALLER", + "APPLICATION_LAUNCH_SOURCE_FIRST_RUN", + "APPLICATION_LAUNCH_SOURCE_WELCOME_TOUR", + "APPLICATION_LAUNCH_SOURCE_FOCUS_MODE" + ], + "enumDescriptions": [ + "Application launch source unknown.", + "Application launched from the grid of apps, not the search box.", + "Application launched from the grid of apps, off of the context menu.", + "Application launched from query-dependent results (larger icons).", + "Application launched from query-dependent results, off of the context menu.", + "Application launched from query-less recommendations (smaller icons).", + "Application launched from the Parental Controls Settings section and Per App time notification.", + "Application launched from shelf.", + "Application launched from the file manager", + "Application launched from left click on a link in the browser.", + "Application launched from entering a URL in the Omnibox on the browser.", + "Application launched from a Chrome internal call.", + "Application launched from keyboard shortcut for opening app.", + "Application launched from clicking a link in another app or WebUI.", + "Application launched from menu.", + "Application launched from the installed notification.", + "Application launched from a test.", + "Application launched from Arc.", + "Application launched from Sharesheet.", + "Application launched from the release notes notification.", + "Application launched from a full restore.", + "Application launched from a smart text selection context menu.", + "Application launched from a discover tab notification.", + "Application launched from the Management API.", + "Application launched from kiosk.", + "Application launched from the command line.", + "Application launched from background mode.", + "Application launched from the new tab page.", + "Application launched from an intent URL.", + "Application launched from OS login.", + "Application launched from protocol handler.", + "Application launched from URL handler.", + "Application launched from lock screen app launcher.", + "Application launched from app home (chrome://apps) page.", + "Application launched from moving content into an app.", + "Application launched from profile menu of installable chrome://password-manager WebUI.", + "Application launched from system tray calendar.", + "Application launched from source installer.", + "Count first-run Help app launches separately so that we can understand the number of user-triggered launches.", + "Application launched from welcome tour.", + "Applicationed launched from focus panel." + ], + "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" + } + }, + "type": "object" + }, + "GoogleChromeManagementV1TelemetryAppUninstallEvent": { + "description": "App uninstall data.", + "id": "GoogleChromeManagementV1TelemetryAppUninstallEvent", + "properties": { + "appId": { + "description": "App id. For PWAs this is the start URL, and for extensions this is the extension id.", + "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" + }, + "appUninstallSource": { + "description": "App uninstall source.", + "enum": [ + "APPLICATION_UNINSTALL_SOURCE_UNSPECIFIED", + "APPLICATION_UNINSTALL_SOURCE_APP_LIST", + "APPLICATION_UNINSTALL_SOURCE_APP_MANAGEMENT", + "APPLICATION_UNINSTALL_SOURCE_SHELF", + "APPLICATION_UNINSTALL_SOURCE_MIGRATION" + ], + "enumDescriptions": [ + "Application uninstall source unknown.", + "Application uninstalled from the App List (Launcher).", + "Application uninstalled from the App Managedment page.", + "Application uninstalled from the Shelf.", + "Application uninstalled by app migration." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent": { "description": "`TelemetryAudioSevereUnderrunEvent` is triggered when a audio devices run out of buffer data for more than 5 seconds. * Granular permission needed: TELEMETRY_API_AUDIO_REPORT", "id": "GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent", @@ -3663,6 +3986,21 @@ "description": "Telemetry data reported by a managed device.", "id": "GoogleChromeManagementV1TelemetryEvent", "properties": { + "appInstallEvent": { + "$ref": "GoogleChromeManagementV1TelemetryAppInstallEvent", + "description": "Output only. Payload for app install event. Present only when `event_type` is `APP_INSTALLED`.", + "readOnly": true + }, + "appLaunchEvent": { + "$ref": "GoogleChromeManagementV1TelemetryAppLaunchEvent", + "description": "Output only. Payload for app launch event.Present only when `event_type` is `APP_LAUNCHED`.", + "readOnly": true + }, + "appUninstallEvent": { + "$ref": "GoogleChromeManagementV1TelemetryAppUninstallEvent", + "description": "Output only. Payload for app uninstall event. Present only when `event_type` is `APP_UNINSTALLED`.", + "readOnly": true + }, "audioSevereUnderrunEvent": { "$ref": "GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent", "description": "Output only. Payload for audio severe underrun event. Present only when the `event_type` field is `AUDIO_SEVERE_UNDERRUN`.", @@ -3684,7 +4022,10 @@ "NETWORK_HTTPS_LATENCY_CHANGE", "WIFI_SIGNAL_STRENGTH_LOW", "WIFI_SIGNAL_STRENGTH_RECOVERED", - "VPN_CONNECTION_STATE_CHANGE" + "VPN_CONNECTION_STATE_CHANGE", + "APP_INSTALLED", + "APP_UNINSTALLED", + "APP_LAUNCHED" ], "enumDescriptions": [ "Event type unknown.", @@ -3695,7 +4036,10 @@ "Triggered when a new HTTPS latency problem was detected or the device has recovered form an existing HTTPS latency problem.", "Triggered when connected WiFi network signal strength drops below -70dBm.", "Triggered when connected WiFi network signal strength is recovered from a signal drop.", - "Triggered on changes to VPN connections." + "Triggered on changes to VPN connections.", + "Triggered when an app is installed.", + "Triggered when an app is uninstalled.", + "Triggered when an app is launched." ], "type": "string" }, @@ -3758,7 +4102,10 @@ "NETWORK_HTTPS_LATENCY_CHANGE", "WIFI_SIGNAL_STRENGTH_LOW", "WIFI_SIGNAL_STRENGTH_RECOVERED", - "VPN_CONNECTION_STATE_CHANGE" + "VPN_CONNECTION_STATE_CHANGE", + "APP_INSTALLED", + "APP_UNINSTALLED", + "APP_LAUNCHED" ], "enumDescriptions": [ "Event type unknown.", @@ -3769,7 +4116,10 @@ "Triggered when a new HTTPS latency problem was detected or the device has recovered form an existing HTTPS latency problem.", "Triggered when connected WiFi network signal strength drops below -70dBm.", "Triggered when connected WiFi network signal strength is recovered from a signal drop.", - "Triggered on changes to VPN connections." + "Triggered on changes to VPN connections.", + "Triggered when an app is installed.", + "Triggered when an app is uninstalled.", + "Triggered when an app is launched." ], "type": "string" }, diff --git a/discovery/googleapis/chromepolicy__v1.json b/discovery/googleapis/chromepolicy__v1.json index b924418de..ea58a5766 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": "20240508", + "revision": "20240528", "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 8a66f6d0d..9bd82fe3f 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": "20240508", + "revision": "20240528", "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 49f9cc2a7..f87bba51c 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": "20240507", + "revision": "20240528", "rootUrl": "https://civicinfo.googleapis.com/", "servicePath": "", "title": "Google Civic Information API", diff --git a/discovery/googleapis/classroom__v1.json b/discovery/googleapis/classroom__v1.json index a0ed84a13..0455fcbaa 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": "20240506", + "revision": "20240523", "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 56112dd11..68e5a1ab1 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": "20240427", + "revision": "20240525", "rootUrl": "https://cloudasset.googleapis.com/", "servicePath": "", "title": "Cloud Asset API", diff --git a/discovery/googleapis/cloudbilling__v1.json b/discovery/googleapis/cloudbilling__v1.json index 628c58208..0e8492eb9 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": "20240507", + "revision": "20240517", "rootUrl": "https://cloudbilling.googleapis.com/", "servicePath": "", "title": "Cloud Billing API", @@ -726,7 +726,7 @@ "type": "string" }, "parent": { - "description": "Required. The name of the service. Example: \"services/DA34-426B-A397\"", + "description": "Required. The name of the service. Example: \"services/6F81-5844-456A\"", "location": "path", "pattern": "^services/[^/]+$", "required": true, @@ -1212,11 +1212,11 @@ "type": "string" }, "name": { - "description": "The resource name for the service. Example: \"services/DA34-426B-A397\"", + "description": "The resource name for the service. Example: \"services/6F81-5844-456A\"", "type": "string" }, "serviceId": { - "description": "The identifier for the service. Example: \"DA34-426B-A397\"", + "description": "The identifier for the service. Example: \"6F81-5844-456A\"", "type": "string" } }, @@ -1239,7 +1239,7 @@ "type": "object" }, "Sku": { - "description": "Encapsulates a single SKU in Google Cloud Platform", + "description": "Encapsulates a single SKU in Google Cloud", "id": "Sku", "properties": { "category": { @@ -1255,7 +1255,7 @@ "description": "The geographic taxonomy for this sku." }, "name": { - "description": "The resource name for the SKU. Example: \"services/DA34-426B-A397/skus/AA95-CD31-42FE\"", + "description": "The resource name for the SKU. Example: \"services/6F81-5844-456A/skus/D041-B8A1-6E0B\"", "type": "string" }, "pricingInfo": { @@ -1277,7 +1277,7 @@ "type": "array" }, "skuId": { - "description": "The identifier for the SKU. Example: \"AA95-CD31-42FE\"", + "description": "The identifier for the SKU. Example: \"D041-B8A1-6E0B\"", "type": "string" } }, diff --git a/discovery/googleapis/cloudbuild__v1.json b/discovery/googleapis/cloudbuild__v1.json index b4469257e..149fe8ba3 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": "20240427", + "revision": "20240519", "rootUrl": "https://cloudbuild.googleapis.com/", "servicePath": "", "title": "Cloud Build API", @@ -2868,7 +2868,7 @@ }, "source": { "$ref": "Source", - "description": "The location of the source files to build." + "description": "Optional. The location of the source files to build." }, "sourceProvenance": { "$ref": "SourceProvenance", @@ -3028,7 +3028,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" }, @@ -3512,7 +3512,7 @@ "id": "ConnectedRepository", "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": { @@ -3520,7 +3520,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" } }, @@ -3812,6 +3812,26 @@ }, "type": "object" }, + "GCSLocation": { + "description": "Represents a storage location in Cloud Storage", + "id": "GCSLocation", + "properties": { + "bucket": { + "description": "Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements", + "type": "string" + }, + "generation": { + "description": "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. See https://cloud.google.com/storage/docs/naming#objectnames", + "type": "string" + } + }, + "type": "object" + }, "GitConfig": { "description": "GitConfig is a configuration for git operations.", "id": "GitConfig", @@ -4223,15 +4243,15 @@ "id": "GitSource", "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" } }, @@ -4299,6 +4319,10 @@ "proxySecretVersionName": { "description": "SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port].", "type": "string" + }, + "proxySslCaInfo": { + "$ref": "GCSLocation", + "description": "Optional. Cloud Storage object storing the certificate to use with the HTTP proxy." } }, "type": "object" @@ -4804,26 +4828,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": { @@ -4893,7 +4917,7 @@ "type": "array" }, "buildStepOutputs": { - "description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored.", + "description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. Note that the `$BUILDER_OUTPUT` variable is read-only and can't be substituted.", "items": { "format": "byte", "type": "string" @@ -5144,12 +5168,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": { @@ -5174,7 +5198,7 @@ "id": "StorageSourceManifest", "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": { @@ -5183,7 +5207,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/cloudbuild__v2.json b/discovery/googleapis/cloudbuild__v2.json index 25afa7f5b..89c482a8d 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": "20240427", + "revision": "20240519", "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": "Required. The URI of the Bitbucket Data Center instance or cluster this connection is for.", + "description": "Optional. The URI of the Bitbucket Data Center instance or cluster this connection is for.", "type": "string" }, "readAuthorizerCredential": { @@ -1076,7 +1076,7 @@ "additionalProperties": { "type": "string" }, - "description": "Allows clients to store small amounts of arbitrary data.", + "description": "Optional. Allows clients to store small amounts of arbitrary data.", "type": "object" }, "bitbucketCloudConfig": { @@ -1094,7 +1094,7 @@ "type": "string" }, "disabled": { - "description": "If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.", + "description": "Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.", "type": "boolean" }, "etag": { @@ -1322,13 +1322,13 @@ "id": "GitHubConfig", "properties": { "appInstallationId": { - "description": "GitHub App installation id.", + "description": "Optional. GitHub App installation id.", "format": "int64", "type": "string" }, "authorizerCredential": { "$ref": "OAuthCredential", - "description": "OAuth credential of the account that authorized the Cloud Build GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the Cloud Build GitHub App." + "description": "Optional. OAuth credential of the account that authorized the Cloud Build GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the Cloud Build GitHub App." } }, "type": "object" @@ -1394,17 +1394,17 @@ "type": "string" }, "appId": { - "description": "Id of the GitHub App created from the manifest.", + "description": "Optional. Id of the GitHub App created from the manifest.", "format": "int64", "type": "string" }, "appInstallationId": { - "description": "ID of the installation of the GitHub App.", + "description": "Optional. ID of the installation of the GitHub App.", "format": "int64", "type": "string" }, "appSlug": { - "description": "The URL-friendly name of the GitHub App.", + "description": "Optional. The URL-friendly name of the GitHub App.", "type": "string" }, "hostUri": { @@ -1412,7 +1412,7 @@ "type": "string" }, "privateKeySecretVersion": { - "description": "SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*`.", + "description": "Optional. SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*`.", "type": "string" }, "serverVersion": { @@ -1422,14 +1422,14 @@ }, "serviceDirectoryConfig": { "$ref": "GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig", - "description": "Configuration for using Service Directory to privately connect to a GitHub Enterprise server. This should only be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitHub Enterprise server will be made over the public internet." + "description": "Optional. Configuration for using Service Directory to privately connect to a GitHub Enterprise server. This should only be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitHub Enterprise server will be made over the public internet." }, "sslCa": { - "description": "SSL certificate to use for requests to GitHub Enterprise.", + "description": "Optional. SSL certificate to use for requests to GitHub Enterprise.", "type": "string" }, "webhookSecretSecretVersion": { - "description": "SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*`.", + "description": "Optional. SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*`.", "type": "string" } }, @@ -1444,7 +1444,7 @@ "description": "Required. A GitLab personal access token with the `api` scope access." }, "hostUri": { - "description": "The URI of the GitLab Enterprise host this connection is for. If not specified, the default value is https://gitlab.com.", + "description": "Optional. The URI of the GitLab Enterprise host this connection is for. If not specified, the default value is https://gitlab.com.", "type": "string" }, "readAuthorizerCredential": { @@ -1458,10 +1458,10 @@ }, "serviceDirectoryConfig": { "$ref": "GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig", - "description": "Configuration for using Service Directory to privately connect to a GitLab Enterprise server. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet." + "description": "Optional. Configuration for using Service Directory to privately connect to a GitLab Enterprise server. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet." }, "sslCa": { - "description": "SSL certificate to use for requests to GitLab Enterprise.", + "description": "Optional. SSL certificate to use for requests to GitLab Enterprise.", "type": "string" }, "webhookSecretSecretVersion": { @@ -1682,7 +1682,7 @@ "id": "OAuthCredential", "properties": { "oauthTokenSecretVersion": { - "description": "A SecretManager resource containing the OAuth token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.", + "description": "Optional. A SecretManager resource containing the OAuth token that authorizes the Cloud Build connection. Format: `projects/*/secrets/*/versions/*`.", "type": "string" }, "username": { @@ -2372,7 +2372,7 @@ "additionalProperties": { "type": "string" }, - "description": "Allows clients to store small amounts of arbitrary data.", + "description": "Optional. Allows clients to store small amounts of arbitrary data.", "type": "object" }, "createTime": { diff --git a/discovery/googleapis/cloudchannel__v1.json b/discovery/googleapis/cloudchannel__v1.json index 5c579e898..b48300365 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": "20240508", + "revision": "20240528", "rootUrl": "https://cloudchannel.googleapis.com/", "servicePath": "", "title": "Cloud Channel API", diff --git a/discovery/googleapis/cloudcontrolspartner__v1.json b/discovery/googleapis/cloudcontrolspartner__v1.json index 200c2eeb2..d531c3656 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": "20240501", + "revision": "20240515", "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 ef06b14bd..c6457697d 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": "20240428", + "revision": "20240515", "rootUrl": "https://clouddeploy.googleapis.com/", "servicePath": "", "title": "Cloud Deploy API", @@ -413,7 +413,7 @@ "type": "boolean" }, "name": { - "description": "Optional. Name of the `CustomTargetType`. Format is `projects/{project}/locations/{location}/customTargetTypes/a-z{0,62}`.", + "description": "Optional. Name of the `CustomTargetType`. Format is `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. The `customTargetType` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/customTargetTypes/[^/]+$", "required": true, @@ -689,7 +689,7 @@ "type": "boolean" }, "name": { - "description": "Optional. Name of the `DeliveryPipeline`. Format is `projects/{project}/locations/{location}/deliveryPipelines/a-z{0,62}`.", + "description": "Optional. Name of the `DeliveryPipeline`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`. The `deliveryPipeline` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/deliveryPipelines/[^/]+$", "required": true, @@ -1972,7 +1972,7 @@ "type": "boolean" }, "name": { - "description": "Optional. Name of the `Target`. Format is `projects/{project}/locations/{location}/targets/a-z{0,62}`.", + "description": "Optional. Name of the `Target`. Format is `projects/{project}/locations/{location}/targets/{target}`. The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/targets/[^/]+$", "required": true, @@ -2093,7 +2093,7 @@ "id": "AdvanceChildRolloutJobRun", "properties": { "rollout": { - "description": "Output only. Name of the `ChildRollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}`.", + "description": "Output only. Name of the `ChildRollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.", "readOnly": true, "type": "string" }, @@ -2160,7 +2160,7 @@ "readOnly": true }, "id": { - "description": "Required. ID of the rule. This id must be unique in the `Automation` resource to which this rule belongs. The format is `a-z{0,62}`.", + "description": "Required. ID of the rule. This id must be unique in the `Automation` resource to which this rule belongs. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.", "type": "string" }, "sourcePhases": { @@ -2399,7 +2399,7 @@ "id": "AutomationRolloutMetadata", "properties": { "advanceAutomationRuns": { - "description": "Output only. The IDs of the AutomationRuns initiated by an advance rollout rule.", + "description": "Output only. The names of the AutomationRuns initiated by an advance rollout rule.", "items": { "type": "string" }, @@ -2412,12 +2412,12 @@ "type": "string" }, "promoteAutomationRun": { - "description": "Output only. The ID of the AutomationRun initiated by a promote release rule.", + "description": "Output only. The name of the AutomationRun initiated by a promote release rule.", "readOnly": true, "type": "string" }, "repairAutomationRuns": { - "description": "Output only. The IDs of the AutomationRuns initiated by a repair rollout rule.", + "description": "Output only. The names of the AutomationRuns initiated by a repair rollout rule.", "items": { "type": "string" }, @@ -2888,7 +2888,7 @@ "id": "CreateChildRolloutJobRun", "properties": { "rollout": { - "description": "Output only. Name of the `ChildRollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}`.", + "description": "Output only. Name of the `ChildRollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.", "readOnly": true, "type": "string" }, @@ -3016,7 +3016,7 @@ "type": "object" }, "name": { - "description": "Optional. Name of the `CustomTargetType`. Format is `projects/{project}/locations/{location}/customTargetTypes/a-z{0,62}`.", + "description": "Optional. Name of the `CustomTargetType`. Format is `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. The `customTargetType` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", "type": "string" }, "uid": { @@ -3108,7 +3108,7 @@ "type": "object" }, "name": { - "description": "Optional. Name of the `DeliveryPipeline`. Format is `projects/{project}/locations/{location}/deliveryPipelines/a-z{0,62}`.", + "description": "Optional. Name of the `DeliveryPipeline`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`. The `deliveryPipeline` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", "type": "string" }, "serialPipeline": { @@ -3389,6 +3389,10 @@ }, "type": "array" }, + "verbose": { + "description": "Optional. If true, additional logging will be enabled when running builds in this execution environment.", + "type": "boolean" + }, "workerPool": { "description": "Optional. The resource name of the `WorkerPool`, with the format `projects/{project}/locations/{location}/workerPools/{worker_pool}`. If this optional field is unspecified, the default Cloud Build pool will be used.", "type": "string" @@ -4507,7 +4511,7 @@ "type": "string" }, "id": { - "description": "Required. ID of the rule. This id must be unique in the `Automation` resource to which this rule belongs. The format is `a-z{0,62}`.", + "description": "Required. ID of the rule. This id must be unique in the `Automation` resource to which this rule belongs. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.", "type": "string" }, "wait": { @@ -4588,7 +4592,7 @@ "type": "object" }, "name": { - "description": "Optional. Name of the `Release`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/a-z{0,62}`.", + "description": "Optional. Name of the `Release`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`. The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", "type": "string" }, "renderEndTime": { @@ -4917,7 +4921,7 @@ "readOnly": true }, "id": { - "description": "Required. ID of the rule. This id must be unique in the `Automation` resource to which this rule belongs. The format is `a-z{0,62}`.", + "description": "Required. ID of the rule. This id must be unique in the `Automation` resource to which this rule belongs. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.", "type": "string" }, "jobs": { @@ -5245,7 +5249,7 @@ "type": "string" }, "controllerRollout": { - "description": "Output only. Name of the `ControllerRollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}`.", + "description": "Output only. Name of the `ControllerRollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.", "readOnly": true, "type": "string" }, @@ -5331,7 +5335,7 @@ "readOnly": true }, "name": { - "description": "Optional. Name of the `Rollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}`.", + "description": "Optional. Name of the `Rollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", "type": "string" }, "phases": { @@ -5932,7 +5936,7 @@ "description": "Optional. Information specifying a multiTarget." }, "name": { - "description": "Optional. Name of the `Target`. Format is `projects/{project}/locations/{location}/targets/a-z{0,62}`.", + "description": "Optional. Name of the `Target`. Format is `projects/{project}/locations/{location}/targets/{target}`. The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`", "type": "string" }, "requireApproval": { diff --git a/discovery/googleapis/cloudfunctions__v1.json b/discovery/googleapis/cloudfunctions__v1.json index d7ec2d663..3db53acf9 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": "20240502", + "revision": "20240523", "rootUrl": "https://cloudfunctions.googleapis.com/", "servicePath": "", "title": "Cloud Functions API", @@ -1718,7 +1718,7 @@ "id": "OnDeployUpdatePolicy", "properties": { "runtimeVersion": { - "description": "Output only. contains the runtime version which was used during latest function deployment.", + "description": "Output only. Contains the runtime version which was used during latest function deployment.", "readOnly": true, "type": "string" } diff --git a/discovery/googleapis/cloudfunctions__v2.json b/discovery/googleapis/cloudfunctions__v2.json index 0e646be59..1561c60e6 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": "20240502", + "revision": "20240523", "rootUrl": "https://cloudfunctions.googleapis.com/", "servicePath": "", "title": "Cloud Functions API", @@ -2203,6 +2203,10 @@ "description": "The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.", "type": "string" }, + "binaryAuthorizationPolicy": { + "description": "Optional. The binary authorization policy to be checked when deploying the Cloud Run service.", + "type": "string" + }, "environmentVariables": { "additionalProperties": { "type": "string" @@ -2417,6 +2421,10 @@ "object": { "description": "Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.", "type": "string" + }, + "sourceUploadUrl": { + "description": "When the specified storage bucket is a 1st gen function uploard url bucket, this field should be set as the generated upload url for 1st gen deployment.", + "type": "string" } }, "type": "object" diff --git a/discovery/googleapis/cloudidentity__v1.json b/discovery/googleapis/cloudidentity__v1.json index d8605c59b..7343ffed6 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": "20240507", + "revision": "20240527", "rootUrl": "https://cloudidentity.googleapis.com/", "servicePath": "", "title": "Cloud Identity API", diff --git a/discovery/googleapis/cloudkms__v1.json b/discovery/googleapis/cloudkms__v1.json index 2d160b140..9416dd554 100644 --- a/discovery/googleapis/cloudkms__v1.json +++ b/discovery/googleapis/cloudkms__v1.json @@ -45,7 +45,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240502", + "revision": "20240523", "rootUrl": "https://cloudkms.googleapis.com/", "servicePath": "", "title": "Cloud Key Management Service (KMS) API", @@ -3282,8 +3282,7 @@ "type": "string" }, "name": { - "description": "Output only. Identifier. Name of the KeyHandle resource, e.g. `projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}`.", - "readOnly": true, + "description": "Identifier. Name of the KeyHandle resource, e.g. `projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}`.", "type": "string" }, "resourceTypeSelector": { diff --git a/discovery/googleapis/cloudprofiler__v2.json b/discovery/googleapis/cloudprofiler__v2.json index 9198a3f06..f00285da5 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": "20240506", + "revision": "20240520", "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 cfb117a86..7b5b95ef8 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": "20240502", + "revision": "20240526", "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 b3b62e82d..3aec86718 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": "20240502", + "revision": "20240526", "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 0e0018ca4..bd35e7911 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": "20240502", + "revision": "20240526", "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 60d3c9f94..d3ff85998 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": "20240412", + "revision": "20240419", "rootUrl": "https://cloudscheduler.googleapis.com/", "servicePath": "", "title": "Cloud Scheduler API", diff --git a/discovery/googleapis/cloudshell__v1.json b/discovery/googleapis/cloudshell__v1.json index c4d9965d3..005cdbc92 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": "20240506", + "revision": "20240528", "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 02c974e1e..961e51687 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": "20240508", + "revision": "20240529", "rootUrl": "https://cloudsupport.googleapis.com/", "servicePath": "", "title": "Google Cloud Support API", diff --git a/discovery/googleapis/composer__v1.json b/discovery/googleapis/composer__v1.json index 0373e1294..aa128bb22 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": "20240426", + "revision": "20240520", "rootUrl": "https://composer.googleapis.com/", "servicePath": "", "title": "Cloud Composer API", @@ -115,6 +115,34 @@ "resources": { "environments": { "methods": { + "checkUpgrade": { + "description": "Check if an upgrade operation on the environment will succeed. In case of problems detailed info can be found in the returned Operation.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:checkUpgrade", + "httpMethod": "POST", + "id": "composer.projects.locations.environments.checkUpgrade", + "parameterOrder": [ + "environment" + ], + "parameters": { + "environment": { + "description": "Required. The resource name of the environment to check upgrade for, in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+environment}:checkUpgrade", + "request": { + "$ref": "CheckUpgradeRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "create": { "description": "Create a new environment.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/environments", @@ -984,6 +1012,17 @@ }, "type": "object" }, + "CheckUpgradeRequest": { + "description": "Request to check whether image upgrade will succeed.", + "id": "CheckUpgradeRequest", + "properties": { + "imageVersion": { + "description": "Optional. The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview).", + "type": "string" + } + }, + "type": "object" + }, "CheckUpgradeResponse": { "description": "Message containing information about the result of an upgrade check operation.", "id": "CheckUpgradeResponse", diff --git a/discovery/googleapis/compute__v1.json b/discovery/googleapis/compute__v1.json index 24c01db93..6fd08934f 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": "20240430", + "revision": "20240526", "rootUrl": "https://compute.googleapis.com/", "servicePath": "compute/v1/", "title": "Compute Engine API", @@ -16609,7 +16609,7 @@ ] }, "patch": { - "description": "Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode.", + "description": "Patches the specified network with the data included in the request. Only routingConfig can be modified.", "flatPath": "projects/{project}/global/networks/{network}", "httpMethod": "PATCH", "id": "compute.networks.patch", @@ -28019,7 +28019,7 @@ ] }, "list": { - "description": "Retrieves the list of region resources available to the specified project. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `items.quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request.", + "description": "Retrieves the list of region resources available to the specified project. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `items.quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. This method fails if the quota information is unavailable for the region and if the organization policy constraint compute.requireBasicQuotaInResponse is enforced. This constraint, when enforced, disables the fail-open behaviour when quota information (the `items.quotas` field) is unavailable for the region. It is recommended to use the default setting for the constraint unless your application requires the fail-closed behaviour for this method.", "flatPath": "projects/{project}/regions", "httpMethod": "GET", "id": "compute.regions.list", @@ -38898,7 +38898,7 @@ }, "diskEncryptionKey": { "$ref": "CustomerEncryptionKey", - "description": "Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group." + "description": "Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Note: Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group. You cannot create VMs that have disks with customer-supplied keys using the bulk insert method." }, "diskSizeGb": { "description": "The size of the disk in GB.", @@ -38978,7 +38978,7 @@ "description": "[Output Only] shielded vm initial state stored on disk" }, "source": { - "description": "Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk.", + "description": "Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance boot disk, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk.", "type": "string" }, "type": { @@ -39095,7 +39095,7 @@ "type": "array" }, "sourceImage": { - "description": "The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set.", + "description": "The source image to create this disk. When creating a new instance boot disk, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set.", "type": "string" }, "sourceImageEncryptionKey": { @@ -39103,7 +39103,7 @@ "description": "The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. InstanceTemplate and InstancePropertiesPatch do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys." }, "sourceSnapshot": { - "description": "The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set.", + "description": "The source snapshot to create this disk. When creating a new instance boot disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set.", "type": "string" }, "sourceSnapshotEncryptionKey": { @@ -39176,31 +39176,6 @@ }, "type": "object" }, - "AuthorizationLoggingOptions": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "AuthorizationLoggingOptions", - "properties": { - "permissionType": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "ADMIN_READ", - "ADMIN_WRITE", - "DATA_READ", - "DATA_WRITE", - "PERMISSION_TYPE_UNSPECIFIED" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "type": "string" - } - }, - "type": "object" - }, "Autoscaler": { "description": "Represents an Autoscaler resource. Google Compute Engine has two Autoscaler resources: * [Zonal](/compute/docs/reference/rest/v1/autoscalers) * [Regional](/compute/docs/reference/rest/v1/regionAutoscalers) Use autoscalers to automatically add or delete instances from a managed instance group according to your defined autoscaling policy. For more information, read Autoscaling Groups of Instances. For zonal managed instance groups resource, use the autoscaler resource. For regional managed instance groups, use the regionAutoscalers resource.", "id": "Autoscaler", @@ -43015,6 +42990,20 @@ "description": "Represents a Persistent Disk resource. Google Compute Engine has two Disk resources: * [Zonal](/compute/docs/reference/rest/v1/disks) * [Regional](/compute/docs/reference/rest/v1/regionDisks) Persistent disks are required for running your VM instances. Create both boot and non-boot (data) persistent disks. For more information, read Persistent Disks. For more storage options, read Storage options. The disks resource represents a zonal persistent disk. For more information, read Zonal persistent disks. The regionDisks resource represents a regional persistent disk. For more information, read Regional resources.", "id": "Disk", "properties": { + "accessMode": { + "description": "The access mode of the disk. - READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode. - READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode. - READ_ONLY_MANY: The AccessMode means the disk can be attached to multiple instances in RO mode. The AccessMode is only valid for Hyperdisk disk types.", + "enum": [ + "READ_ONLY_MANY", + "READ_WRITE_MANY", + "READ_WRITE_SINGLE" + ], + "enumDescriptions": [ + "The AccessMode means the disk can be attached to multiple instances in RO mode.", + "The AccessMode means the disk can be attached to multiple instances in RW mode.", + "The default AccessMode, means the disk can be attached to single instance in RW mode." + ], + "type": "string" + }, "architecture": { "description": "The architecture of the disk. Valid values are ARM64 or X86_64.", "enum": [ @@ -50058,6 +50047,14 @@ "description": "[Output Only] The URL of the region where the managed instance group resides (for regional resources).", "type": "string" }, + "satisfiesPzi": { + "description": "[Output Only] Reserved for future use.", + "type": "boolean" + }, + "satisfiesPzs": { + "description": "[Output Only] Reserved for future use.", + "type": "boolean" + }, "selfLink": { "description": "[Output Only] The URL for this managed instance group. The server defines this URL.", "type": "string" @@ -52363,7 +52360,7 @@ "compute.instanceTemplates.insert" ] }, - "description": "The machine type to use for instances that are created from these properties.", + "description": "The machine type to use for instances that are created from these properties. This field only accept machine types name. e.g. n2-standard-4 and does not accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4 will throw INTERNAL_ERROR.", "type": "string" }, "metadata": { @@ -56605,10 +56602,6 @@ "description": "This is deprecated and has no effect. Do not use.", "id": "LogConfigCloudAuditOptions", "properties": { - "authorizationLoggingOptions": { - "$ref": "AuthorizationLoggingOptions", - "description": "This is deprecated and has no effect. Do not use." - }, "logName": { "description": "This is deprecated and has no effect. Do not use.", "enum": [ @@ -59862,11 +59855,13 @@ "description": "The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.", "enum": [ "GVNIC", + "IDPF", "UNSPECIFIED_NIC_TYPE", "VIRTIO_NET" ], "enumDescriptions": [ "GVNIC", + "IDPF", "No type specified.", "VIRTIO" ], @@ -78337,6 +78332,20 @@ "description": "URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured.", "type": "string" }, + "tlsEarlyData": { + "description": " Specifies whether TLS 1.3 0-RTT Data (\"Early Data\") should be accepted for this service. Early Data allows a TLS resumption handshake to include the initial application payload (a HTTP request) alongside the handshake, reducing the effective round trips to \"zero\". This applies to TLS 1.3 connections over TCP (HTTP/2) as well as over UDP (QUIC/h3). This can improve application performance, especially on networks where interruptions may be common, such as on mobile. Requests with Early Data will have the \"Early-Data\" HTTP header set on the request, with a value of \"1\", to allow the backend to determine whether Early Data was included. Note: TLS Early Data may allow requests to be replayed, as the data is sent to the backend before the handshake has fully completed. Applications that allow idempotent HTTP methods to make non-idempotent changes, such as a GET request updating a database, should not accept Early Data on those requests, and reject requests with the \"Early-Data: 1\" HTTP header by returning a HTTP 425 (Too Early) status code, in order to remain RFC compliant. The default value is DISABLED.", + "enum": [ + "DISABLED", + "PERMISSIVE", + "STRICT" + ], + "enumDescriptions": [ + "TLS 1.3 Early Data is not advertised, and any (invalid) attempts to send Early Data will be rejected by closing the connection.", + "This enables TLS 1.3 0-RTT, and only allows Early Data to be included on requests with safe HTTP methods (GET, HEAD, OPTIONS, TRACE). This mode does not enforce any other limitations for requests with Early Data. The application owner should validate that Early Data is acceptable for a given request path.", + "This enables TLS 1.3 0-RTT, and only allows Early Data to be included on requests with safe HTTP methods (GET, HEAD, OPTIONS, TRACE) without query parameters. Requests that send Early Data with non-idempotent HTTP methods or with query parameters will be rejected with a HTTP 425." + ], + "type": "string" + }, "urlMap": { "description": "A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from URL to the BackendService. For example, the following are all valid URLs for specifying a URL map: - https://www.googleapis.compute/v1/projects/project/global/urlMaps/ url-map - projects/project/global/urlMaps/url-map - global/urlMaps/url-map ", "type": "string" @@ -82518,11 +82527,13 @@ "description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.", "enum": [ "IPV4_IPV6", - "IPV4_ONLY" + "IPV4_ONLY", + "IPV6_ONLY" ], "enumDescriptions": [ "Enable VPN gateway with both IPv4 and IPv6 protocols.", - "Enable VPN gateway with only IPv4 protocol." + "Enable VPN gateway with only IPv4 protocol.", + "Enable VPN gateway with only IPv6 protocol." ], "type": "string" }, @@ -83936,7 +83947,7 @@ "type": "object" }, "Zone": { - "description": "Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-a is located in the us-east1 region. For more information, read Regions and Zones.", + "description": "Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-b is located in the us-east1 region. For more information, read Regions and Zones.", "id": "Zone", "properties": { "availableCpuPlatforms": { diff --git a/discovery/googleapis/config__v1.json b/discovery/googleapis/config__v1.json index b76746809..8eb53667f 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": "20240424", + "revision": "20240515", "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 f770b8423..41ee78b68 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": "20240415", + "revision": "20240515", "rootUrl": "https://connectors.googleapis.com/", "servicePath": "", "title": "Connectors API", @@ -1216,6 +1216,34 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "deprecate": { + "description": "Deprecates a single CustomConnectorVersion.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/customConnectors/{customConnectorsId}/customConnectorVersions/{customConnectorVersionsId}:deprecate", + "httpMethod": "POST", + "id": "connectors.projects.locations.customConnectors.customConnectorVersions.deprecate", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the form: `projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/customConnectors/[^/]+/customConnectorVersions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:deprecate", + "request": { + "$ref": "DeprecateCustomConnectorVersionRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } } @@ -3424,6 +3452,22 @@ "enabled": { "description": "Enabled represents whether logging is enabled or not for a connection.", "type": "boolean" + }, + "level": { + "description": "Optional. Log configuration level.", + "enum": [ + "LOG_LEVEL_UNSPECIFIED", + "ERROR", + "INFO", + "DEBUG" + ], + "enumDescriptions": [ + "Log level unspecified.", + "Only error logs are enabled.", + "Info and error logs are enabled.", + "Debug and high verbosity logs are enabled." + ], + "type": "string" } }, "type": "object" @@ -3656,6 +3700,12 @@ }, "type": "object" }, + "DeprecateCustomConnectorVersionRequest": { + "description": "Request message for ConnectorsService.DeprecateCustomConnectorVersion", + "id": "DeprecateCustomConnectorVersionRequest", + "properties": {}, + "type": "object" + }, "Destination": { "id": "Destination", "properties": { @@ -3862,6 +3912,10 @@ "description": "Optional. Description of the resource.", "type": "string" }, + "endpointGlobalAccess": { + "description": "Optional. The Private Service Connect Connection Endpoint Global Access. https://cloud.google.com/vpc/docs/about-accessing-vpc-hosted-services-endpoints#global-access", + "type": "boolean" + }, "endpointIp": { "description": "Output only. The Private Service Connect connection endpoint ip", "readOnly": true, diff --git a/discovery/googleapis/connectors__v2.json b/discovery/googleapis/connectors__v2.json index 64d016cfa..015e96727 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": "20240415", + "revision": "20240515", "rootUrl": "https://connectors.googleapis.com/", "servicePath": "", "title": "Connectors API", diff --git a/discovery/googleapis/contactcenterinsights__v1.json b/discovery/googleapis/contactcenterinsights__v1.json index 74461706e..00ed60e49 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": "20240506", + "revision": "20240527", "rootUrl": "https://contactcenterinsights.googleapis.com/", "servicePath": "", "title": "Contact Center AI Insights API", @@ -472,7 +472,7 @@ "type": "string" }, "updateMask": { - "description": "The list of fields to be updated.", + "description": "The list of fields to be updated. All possible fields can be updated by passing `*`, or a subset of the following updateable fields can be provided: * `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri`", "format": "google-fieldmask", "location": "query", "type": "string" diff --git a/discovery/googleapis/container__v1.json b/discovery/googleapis/container__v1.json index c8b2d671e..be2f2d049 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": "20240422", + "revision": "20240514", "rootUrl": "https://container.googleapis.com/", "servicePath": "", "title": "Kubernetes Engine API", @@ -5039,7 +5039,9 @@ "POD", "DAEMONSET", "DEPLOYMENT", - "STATEFULSET" + "STATEFULSET", + "CADVISOR", + "KUBELET" ], "enumDescriptions": [ "Default value. This shouldn't be used.", @@ -5052,7 +5054,9 @@ "Pod", "DaemonSet", "Deployment", - "Statefulset" + "Statefulset", + "CADVISOR", + "KUBELET" ], "type": "string" }, diff --git a/discovery/googleapis/containeranalysis__v1.json b/discovery/googleapis/containeranalysis__v1.json index 7536fa298..5b6646cfc 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": "20240322", + "revision": "20240514", "rootUrl": "https://containeranalysis.googleapis.com/", "servicePath": "", "title": "Container Analysis API", @@ -2088,6 +2088,10 @@ "$ref": "NonCompliantFile" }, "type": "array" + }, + "version": { + "$ref": "ComplianceVersion", + "description": "The OS and config version the benchmark was run on." } }, "type": "object" @@ -2323,6 +2327,10 @@ "readOnly": true, "type": "string" }, + "gitConfig": { + "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig", + "description": "Optional. Configuration for git operations." + }, "id": { "description": "Output only. Unique identifier of the build.", "readOnly": true, @@ -2922,6 +2930,25 @@ }, "type": "object" }, + "ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig": { + "description": "This config defines the location of a source through Developer Connect.", + "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig", + "properties": { + "dir": { + "description": "Required. Directory, relative to the source root, in which to run the build.", + "type": "string" + }, + "gitRepositoryLink": { + "description": "Required. The Developer Connect Git repository link, formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*`.", + "type": "string" + }, + "revision": { + "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" + } + }, + "type": "object" + }, "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes": { "description": "Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.", "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes", @@ -2936,6 +2963,52 @@ }, "type": "object" }, + "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation": { + "description": "Represents a storage location in Cloud Storage", + "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation", + "properties": { + "bucket": { + "description": "Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements", + "type": "string" + }, + "generation": { + "description": "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. See https://cloud.google.com/storage/docs/naming#objectnames", + "type": "string" + } + }, + "type": "object" + }, + "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig": { + "description": "GitConfig is a configuration for git operations.", + "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfig", + "properties": { + "http": { + "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig", + "description": "Configuration for HTTP related git operations." + } + }, + "type": "object" + }, + "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig": { + "description": "HttpConfig is a configuration for HTTP related git operations.", + "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitConfigHttpConfig", + "properties": { + "proxySecretVersionName": { + "description": "SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port].", + "type": "string" + }, + "proxySslCaInfo": { + "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GCSLocation", + "description": "Optional. Cloud Storage object storing the certificate to use with the HTTP proxy." + } + }, + "type": "object" + }, "ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource": { "description": "Location of the source in any accessible Git repository.", "id": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource", @@ -3064,7 +3137,7 @@ "type": "array" }, "buildStepOutputs": { - "description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored.", + "description": "List of build step outputs, produced by builder images, in the order corresponding to build step indices. [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the first 50KB of data is stored. Note that the `$BUILDER_OUTPUT` variable is read-only and can't be substituted.", "items": { "format": "byte", "type": "string" @@ -3170,6 +3243,10 @@ "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ConnectedRepository", "description": "Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource." }, + "developerConnectConfig": { + "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1DeveloperConnectConfig", + "description": "If provided, get the source from this Developer Connect config." + }, "gitSource": { "$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource", "description": "If provided, get the source from this Git repository." diff --git a/discovery/googleapis/content__v2.1.json b/discovery/googleapis/content__v2.1.json index 6402d54c1..ff4bd4b2b 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": "20240508", + "revision": "20240529", "rootUrl": "https://shoppingcontent.googleapis.com/", "servicePath": "content/v2.1/", "title": "Content API for Shopping", @@ -10989,12 +10989,12 @@ "id": "Metrics", "properties": { "aos": { - "description": "Average order size - the average number of items in an order. **This metric cannot be segmented by product dimensions and customer_country_code.**", + "description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Average order size - the average number of items in an order. **This metric cannot be segmented by product dimensions and customer_country_code.**", "format": "double", "type": "number" }, "aovMicros": { - "description": "Average order value in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) - the average value (total price of items) of all placed orders. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by product dimensions and customer_country_code.**", + "description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Average order value in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) - the average value (total price of items) of all placed orders. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by product dimensions and customer_country_code.**", "format": "double", "type": "number" }, @@ -11004,17 +11004,17 @@ "type": "string" }, "conversionRate": { - "description": "Number of conversions divided by the number of clicks, reported on the impression date. The metric is currently available only for the FREE_PRODUCT_LISTING program.", + "description": "Number of conversions divided by the number of clicks, reported on the impression date. The metric is currently available only for the `FREE_PRODUCT_LISTING` program.", "format": "double", "type": "number" }, "conversionValueMicros": { - "description": "Value of conversions in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) attributed to the product, reported on the conversion date. The metric is currently available only for the FREE_PRODUCT_LISTING program. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response.", + "description": "Value of conversions in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) attributed to the product, reported on the conversion date. The metric is currently available only for the `FREE_PRODUCT_LISTING` program. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response.", "format": "int64", "type": "string" }, "conversions": { - "description": "Number of conversions attributed to the product, reported on the conversion date. Depending on the attribution model, a conversion might be distributed across multiple clicks, where each click gets its own credit assigned. This metric is a sum of all such credits. The metric is currently available only for the FREE_PRODUCT_LISTING program.", + "description": "Number of conversions attributed to the product, reported on the conversion date. Depending on the attribution model, a conversion might be distributed across multiple clicks, where each click gets its own credit assigned. This metric is a sum of all such credits. The metric is currently available only for the `FREE_PRODUCT_LISTING` program.", "format": "double", "type": "number" }, @@ -11024,7 +11024,7 @@ "type": "number" }, "daysToShip": { - "description": "Average number of days between an order being placed and the order being fully shipped, reported on the last shipment date. **This metric cannot be segmented by product dimensions and customer_country_code.**", + "description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Average number of days between an order being placed and the order being fully shipped, reported on the last shipment date. **This metric cannot be segmented by product dimensions and customer_country_code.**", "format": "double", "type": "number" }, @@ -11034,72 +11034,72 @@ "type": "string" }, "itemDaysToShip": { - "description": "Average number of days between an item being ordered and the item being **This metric cannot be segmented by customer_country_code.**", + "description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Average number of days between an item being ordered and the item being **This metric cannot be segmented by customer_country_code.**", "format": "double", "type": "number" }, "itemFillRate": { - "description": "Percentage of shipped items in relation to all finalized items (shipped or rejected by the merchant; unshipped items are not taken into account), reported on the order date. Item fill rate is lowered by merchant rejections. **This metric cannot be segmented by customer_country_code.**", + "description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Percentage of shipped items in relation to all finalized items (shipped or rejected by the merchant; unshipped items are not taken into account), reported on the order date. Item fill rate is lowered by merchant rejections. **This metric cannot be segmented by customer_country_code.**", "format": "double", "type": "number" }, "orderedItemSalesMicros": { - "description": "Total price of ordered items in micros (1 millionth of a standard unit, 1 USD = 1000000 micros). Excludes shipping, taxes (US only), and customer cancellations that happened within 30 minutes of placing the order. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by customer_country_code.**", + "description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Total price of ordered items in micros (1 millionth of a standard unit, 1 USD = 1000000 micros). Excludes shipping, taxes (US only), and customer cancellations that happened within 30 minutes of placing the order. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by customer_country_code.**", "format": "int64", "type": "string" }, "orderedItems": { - "description": "Number of ordered items. Excludes customer cancellations that happened within 30 minutes of placing the order. **This metric cannot be segmented by customer_country_code.**", + "description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of ordered items. Excludes customer cancellations that happened within 30 minutes of placing the order. **This metric cannot be segmented by customer_country_code.**", "format": "int64", "type": "string" }, "orders": { - "description": "Number of placed orders. Excludes customer cancellations that happened within 30 minutes of placing the order. **This metric cannot be segmented by product dimensions and customer_country_code.**", + "description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of placed orders. Excludes customer cancellations that happened within 30 minutes of placing the order. **This metric cannot be segmented by product dimensions and customer_country_code.**", "format": "int64", "type": "string" }, "rejectedItems": { - "description": "Number of ordered items canceled by the merchant, reported on the order date. **This metric cannot be segmented by customer_country_code.**", + "description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of ordered items canceled by the merchant, reported on the order date. **This metric cannot be segmented by customer_country_code.**", "format": "int64", "type": "string" }, "returnRate": { - "description": "Total price of returned items divided by the total price of shipped items, reported on the order date. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by customer_country_code.**", + "description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Total price of returned items divided by the total price of shipped items, reported on the order date. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by customer_country_code.**", "format": "double", "type": "number" }, "returnedItems": { - "description": "Number of ordered items sent back for return, reported on the date when the merchant accepted the return. **This metric cannot be segmented by customer_country_code.**", + "description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of ordered items sent back for return, reported on the date when the merchant accepted the return. **This metric cannot be segmented by customer_country_code.**", "format": "int64", "type": "string" }, "returnsMicros": { - "description": "Total price of ordered items sent back for return in micros (1 millionth of a standard unit, 1 USD = 1000000 micros), reported on the date when the merchant accepted the return. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by customer_country_code.**", + "description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Total price of ordered items sent back for return in micros (1 millionth of a standard unit, 1 USD = 1000000 micros), reported on the date when the merchant accepted the return. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by customer_country_code.**", "format": "int64", "type": "string" }, "shippedItemSalesMicros": { - "description": "Total price of shipped items in micros (1 millionth of a standard unit, 1 USD = 1000000 micros), reported on the order date. Excludes shipping and taxes (US only). The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by customer_country_code.**", + "description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Total price of shipped items in micros (1 millionth of a standard unit, 1 USD = 1000000 micros), reported on the order date. Excludes shipping and taxes (US only). The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. **This metric cannot be segmented by customer_country_code.**", "format": "int64", "type": "string" }, "shippedItems": { - "description": "Number of shipped items, reported on the shipment date. **This metric cannot be segmented by customer_country_code.**", + "description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of shipped items, reported on the shipment date. **This metric cannot be segmented by customer_country_code.**", "format": "int64", "type": "string" }, "shippedOrders": { - "description": "Number of fully shipped orders, reported on the last shipment date. **This metric cannot be segmented by product dimensions and customer_country_code.**", + "description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of fully shipped orders, reported on the last shipment date. **This metric cannot be segmented by product dimensions and customer_country_code.**", "format": "int64", "type": "string" }, "unshippedItems": { - "description": "Number of ordered items not shipped up until the end of the queried day. If a multi-day period is specified in the search query, the returned value is the average number of unshipped items over the days in the queried period. **This metric cannot be segmented by customer_country_code.**", + "description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of ordered items not shipped up until the end of the queried day. If a multi-day period is specified in the search query, the returned value is the average number of unshipped items over the days in the queried period. **This metric cannot be segmented by customer_country_code.**", "format": "double", "type": "number" }, "unshippedOrders": { - "description": "Number of orders not shipped or partially shipped up until the end of the queried day. If a multi-day period is specified in the search query, the returned value is the average number of unshipped orders over the days in the queried period. **This metric cannot be segmented by product dimensions and customer_country_code.**", + "description": "*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May 2024. Number of orders not shipped or partially shipped up until the end of the queried day. If a multi-day period is specified in the search query, the returned value is the average number of unshipped orders over the days in the queried period. **This metric cannot be segmented by product dimensions and customer_country_code.**", "format": "double", "type": "number" } @@ -14318,7 +14318,14 @@ }, "loyaltyProgram": { "$ref": "LoyaltyProgram", - "description": "Loyalty program information that is used to surface loyalty benefits ( for example pricing, points, etc) to the user for this item." + "description": "Loyalty program information that is used to surface loyalty benefits ( for example, better pricing, points, etc) to the user of this item. This signular field points to the latest uploaded loyalty program info. This field will be deprecated in the coming weeks and should not be used in favor of the plural 'LoyaltyProgram' field below." + }, + "loyaltyPrograms": { + "description": "Optional. A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.", + "items": { + "$ref": "LoyaltyProgram" + }, + "type": "array" }, "material": { "description": "The material of which the item is made.", @@ -14576,6 +14583,10 @@ "certificationName": { "description": "The name of the certification, for example \"EPREL\". Maximum length is 2000 characters.", "type": "string" + }, + "certificationValue": { + "description": "The certification value (also known as class, level or grade), for example \"A+\", \"C\", \"gold\". Maximum length is 2000 characters.", + "type": "string" } }, "type": "object" @@ -17467,7 +17478,7 @@ "Shopping Ads.", "Free Product Listing.", "Free Local Product Listing.", - "Buy on Google Listing." + "*Deprecated*: This value is no longer supported. Retrieving all metrics for the `BUY_ON_GOOGLE_LISTING` program returns 0 starting from May 2024. Buy on Google Listing." ], "type": "string" }, diff --git a/discovery/googleapis/customsearch__v1.json b/discovery/googleapis/customsearch__v1.json index 0bcbfd691..0ebc1a585 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": "20240508", + "revision": "20240529", "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 f136ca90e..99487b265 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": "20240430", + "revision": "20240520", "rootUrl": "https://datacatalog.googleapis.com/", "servicePath": "", "title": "Google Cloud Data Catalog API", @@ -4505,14 +4505,20 @@ "AUTOML", "CUSTOM", "BQML", - "MODEL_GARDEN" + "MODEL_GARDEN", + "GENIE", + "CUSTOM_TEXT_EMBEDDING", + "MARKETPLACE" ], "enumDescriptions": [ "Should not be used.", "The Model is uploaded by automl training pipeline.", "The Model is uploaded by user or custom training pipeline.", "The Model is registered and sync'ed from BigQuery ML.", - "The Model is saved or tuned from Model Garden." + "The Model is saved or tuned from Model Garden.", + "The Model is saved or tuned from Genie.", + "The Model is uploaded by text embedding finetuning pipeline.", + "The Model is saved or tuned from Marketplace." ], "type": "string" } diff --git a/discovery/googleapis/datalineage__v1.json b/discovery/googleapis/datalineage__v1.json index 1057c5e73..b6774f05b 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": "20240506", + "revision": "20240517", "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 82ab03ffc..22e22c1ea 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": "20240430", + "revision": "20240515", "rootUrl": "https://datamigration.googleapis.com/", "servicePath": "", "title": "Database Migration API", diff --git a/discovery/googleapis/datapipelines__v1.json b/discovery/googleapis/datapipelines__v1.json index b2e607df6..c16160f09 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": "20240421", + "revision": "20240512", "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 27b774845..5fd26de8d 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": "20240425", + "revision": "20240513", "rootUrl": "https://dataplex.googleapis.com/", "servicePath": "", "title": "Cloud Dataplex API", diff --git a/discovery/googleapis/dataportability__v1.json b/discovery/googleapis/dataportability__v1.json index 0c830c36b..5789dd455 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": "20240508", + "revision": "20240528", "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 1ad67cbda..aea10dd8b 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": "20240505", + "revision": "20240525", "rootUrl": "https://dataproc.googleapis.com/", "servicePath": "", "title": "Cloud Dataproc API", diff --git a/discovery/googleapis/datastore__v1.json b/discovery/googleapis/datastore__v1.json index 75d9f4071..dfdb40f2c 100644 --- a/discovery/googleapis/datastore__v1.json +++ b/discovery/googleapis/datastore__v1.json @@ -27,7 +27,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240430", + "revision": "20240521", "rootUrl": "https://datastore.googleapis.com/", "servicePath": "", "title": "Cloud Datastore API", diff --git a/discovery/googleapis/datastream__v1.json b/discovery/googleapis/datastream__v1.json index aa89a9e6a..06a0d0ba0 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": "20240410", + "revision": "20240501", "rootUrl": "https://datastream.googleapis.com/", "servicePath": "", "title": "Datastream API", diff --git a/discovery/googleapis/developerconnect__v1.json b/discovery/googleapis/developerconnect__v1.json new file mode 100644 index 000000000..157db8d50 --- /dev/null +++ b/discovery/googleapis/developerconnect__v1.json @@ -0,0 +1,1438 @@ +{ + "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://developerconnect.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Developer Connect", + "description": "Connect third-party source code management to Google", + "discoveryVersion": "v1", + "documentationLink": "http://cloud.google.com/developer-connect/docs/overview", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "developerconnect:v1", + "kind": "discovery#restDescription", + "name": "developerconnect", + "ownerDomain": "google.com", + "ownerName": "Google", + "protocol": "rest", + "revision": "20240527", + "rootUrl": "https://developerconnect.googleapis.com/", + "servicePath": "", + "title": "Developer Connect 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": { + "projects": { + "resources": { + "locations": { + "methods": { + "get": { + "description": "Gets information about a location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}", + "httpMethod": "GET", + "id": "developerconnect.projects.locations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Resource name for the location.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Location" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists information about the supported locations for this service.", + "flatPath": "v1/projects/{projectsId}/locations", + "httpMethod": "GET", + "id": "developerconnect.projects.locations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).", + "location": "query", + "type": "string" + }, + "name": { + "description": "The resource that owns the locations collection, if applicable.", + "location": "path", + "pattern": "^projects/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The maximum number of results to return. If not set, the service selects a default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/locations", + "response": { + "$ref": "ListLocationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "connections": { + "methods": { + "create": { + "description": "Creates a new Connection in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections", + "httpMethod": "POST", + "id": "developerconnect.projects.locations.connections.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "connectionId": { + "description": "Required. Id of the requesting object If auto-generating Id server-side, remove this field and connection_id from the method_signature of Create RPC", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Value for parent.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. If set, validate the request, but do not actually post it.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/connections", + "request": { + "$ref": "Connection" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single Connection.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}", + "httpMethod": "DELETE", + "id": "developerconnect.projects.locations.connections.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "etag": { + "description": "Optional. The current etag of the Connection. If an etag is provided and does not match the current etag of the Connection, deletion will be blocked and an ABORTED error will be returned.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. If set, validate the request, but do not actually post it.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "fetchGitHubInstallations": { + "description": "FetchGitHubInstallations returns the list of GitHub Installations that are available to be added to a Connection. For github.com, only installations accessible to the authorizer token are returned. For GitHub Enterprise, all installations are returned.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:fetchGitHubInstallations", + "httpMethod": "GET", + "id": "developerconnect.projects.locations.connections.fetchGitHubInstallations", + "parameterOrder": [ + "connection" + ], + "parameters": { + "connection": { + "description": "Required. The resource name of the connection in the format `projects/*/locations/*/connections/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+connection}:fetchGitHubInstallations", + "response": { + "$ref": "FetchGitHubInstallationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "fetchLinkableGitRepositories": { + "description": "FetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:fetchLinkableGitRepositories", + "httpMethod": "GET", + "id": "developerconnect.projects.locations.connections.fetchLinkableGitRepositories", + "parameterOrder": [ + "connection" + ], + "parameters": { + "connection": { + "description": "Required. The name of the Connection. Format: `projects/*/locations/*/connections/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "Optional. Number of results to return in the list. Defaults to 20.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Page start.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+connection}:fetchLinkableGitRepositories", + "response": { + "$ref": "FetchLinkableGitRepositoriesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single Connection.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}", + "httpMethod": "GET", + "id": "developerconnect.projects.locations.connections.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Connection" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists Connections in a given project and location.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections", + "httpMethod": "GET", + "id": "developerconnect.projects.locations.connections.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filtering results", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent value for ListConnectionsRequest", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/connections", + "response": { + "$ref": "ListConnectionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the parameters of a single Connection.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}", + "httpMethod": "PATCH", + "id": "developerconnect.projects.locations.connections.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "allowMissing": { + "description": "Optional. If set to true, and the connection is not found a new connection will be created. In this situation `update_mask` is ignored. The creation will succeed only if the input connection has all the necessary information (e.g a github_config with both user_oauth_token and installation_id properties).", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Identifier. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Required. Field mask is used to specify the fields to be overwritten in the Connection resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. If set, validate the request, but do not actually post it.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Connection" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "gitRepositoryLinks": { + "methods": { + "create": { + "description": "Creates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect will configure the Git Repository to send webhook events to Developer Connect. Connections that use Firebase GitHub Application will have events forwarded to the Firebase service. All other Connections will have events forwarded to Cloud Build.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks", + "httpMethod": "POST", + "id": "developerconnect.projects.locations.connections.gitRepositoryLinks.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "gitRepositoryLinkId": { + "description": "Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Value for parent.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. If set, validate the request, but do not actually post it.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+parent}/gitRepositoryLinks", + "request": { + "$ref": "GitRepositoryLink" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a single GitRepositoryLink.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}", + "httpMethod": "DELETE", + "id": "developerconnect.projects.locations.connections.gitRepositoryLinks.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "etag": { + "description": "Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/gitRepositoryLinks/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "Optional. If set, validate the request, but do not actually post it.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "fetchGitRefs": { + "description": "Fetch the list of branches or tags for a given repository.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}:fetchGitRefs", + "httpMethod": "GET", + "id": "developerconnect.projects.locations.connections.gitRepositoryLinks.fetchGitRefs", + "parameterOrder": [ + "gitRepositoryLink" + ], + "parameters": { + "gitRepositoryLink": { + "description": "Required. The resource name of GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/gitRepositoryLinks/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "Optional. Number of results to return in the list. Default to 20.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. Page start.", + "location": "query", + "type": "string" + }, + "refType": { + "description": "Required. Type of refs to fetch.", + "enum": [ + "REF_TYPE_UNSPECIFIED", + "TAG", + "BRANCH" + ], + "enumDescriptions": [ + "No type specified.", + "To fetch tags.", + "To fetch branches." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1/{+gitRepositoryLink}:fetchGitRefs", + "response": { + "$ref": "FetchGitRefsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "fetchReadToken": { + "description": "Fetches read token of a given gitRepositoryLink.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}:fetchReadToken", + "httpMethod": "POST", + "id": "developerconnect.projects.locations.connections.gitRepositoryLinks.fetchReadToken", + "parameterOrder": [ + "gitRepositoryLink" + ], + "parameters": { + "gitRepositoryLink": { + "description": "Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/gitRepositoryLinks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+gitRepositoryLink}:fetchReadToken", + "request": { + "$ref": "FetchReadTokenRequest" + }, + "response": { + "$ref": "FetchReadTokenResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "fetchReadWriteToken": { + "description": "Fetches read/write token of a given gitRepositoryLink.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}:fetchReadWriteToken", + "httpMethod": "POST", + "id": "developerconnect.projects.locations.connections.gitRepositoryLinks.fetchReadWriteToken", + "parameterOrder": [ + "gitRepositoryLink" + ], + "parameters": { + "gitRepositoryLink": { + "description": "Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/gitRepositoryLinks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+gitRepositoryLink}:fetchReadWriteToken", + "request": { + "$ref": "FetchReadWriteTokenRequest" + }, + "response": { + "$ref": "FetchReadWriteTokenResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets details of a single GitRepositoryLink.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks/{gitRepositoryLinksId}", + "httpMethod": "GET", + "id": "developerconnect.projects.locations.connections.gitRepositoryLinks.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the resource", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/gitRepositoryLinks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GitRepositoryLink" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists GitRepositoryLinks in a given project, location, and connection.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/gitRepositoryLinks", + "httpMethod": "GET", + "id": "developerconnect.projects.locations.connections.gitRepositoryLinks.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filtering results", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Optional. Hint for how to order the results", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A token identifying a page of results the server should return.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Parent value for ListGitRepositoryLinksRequest", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/gitRepositoryLinks", + "response": { + "$ref": "ListGitRepositoryLinksResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, + "operations": { + "methods": { + "cancel": { + "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel", + "httpMethod": "POST", + "id": "developerconnect.projects.locations.operations.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be cancelled.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:cancel", + "request": { + "$ref": "CancelOperationRequest" + }, + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "DELETE", + "id": "developerconnect.projects.locations.operations.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource to be deleted.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "developerconnect.projects.locations.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations", + "httpMethod": "GET", + "id": "developerconnect.projects.locations.operations.list", + "parameterOrder": [ + "name" + ], + "parameters": { + "filter": { + "description": "The standard list filter.", + "location": "query", + "type": "string" + }, + "name": { + "description": "The name of the operation's parent resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + }, + "pageSize": { + "description": "The standard list page size.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "The standard list page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}/operations", + "response": { + "$ref": "ListOperationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + }, + "schemas": { + "CancelOperationRequest": { + "description": "The request message for Operations.CancelOperation.", + "id": "CancelOperationRequest", + "properties": {}, + "type": "object" + }, + "Connection": { + "description": "Message describing Connection object", + "id": "Connection", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Allows clients to store small amounts of arbitrary data.", + "type": "object" + }, + "createTime": { + "description": "Output only. [Output only] Create timestamp", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "deleteTime": { + "description": "Output only. [Output only] Delete timestamp", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "disabled": { + "description": "Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.", + "type": "boolean" + }, + "etag": { + "description": "Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", + "type": "string" + }, + "githubConfig": { + "$ref": "GitHubConfig", + "description": "Configuration for connections to github.com." + }, + "installationState": { + "$ref": "InstallationState", + "description": "Output only. Installation state of the Connection.", + "readOnly": true + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels as key value pairs", + "type": "object" + }, + "name": { + "description": "Identifier. The resource name of the connection, in the format `projects/{project}/locations/{location}/connections/{connection_id}`.", + "type": "string" + }, + "reconciling": { + "description": "Output only. Set to true when the connection is being set up or updated in the background.", + "readOnly": true, + "type": "boolean" + }, + "uid": { + "description": "Output only. A system-assigned unique identifier for a the GitRepositoryLink.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. [Output only] Update timestamp", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "FetchGitHubInstallationsResponse": { + "description": "Response of fetching github installations.", + "id": "FetchGitHubInstallationsResponse", + "properties": { + "installations": { + "description": "List of installations available to the OAuth user (for github.com) or all the installations (for GitHub enterprise).", + "items": { + "$ref": "Installation" + }, + "type": "array" + } + }, + "type": "object" + }, + "FetchGitRefsResponse": { + "description": "Response for fetching git refs.", + "id": "FetchGitRefsResponse", + "properties": { + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + }, + "refNames": { + "description": "Name of the refs fetched.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "FetchLinkableGitRepositoriesResponse": { + "description": "Response message for FetchLinkableGitRepositories.", + "id": "FetchLinkableGitRepositoriesResponse", + "properties": { + "linkableGitRepositories": { + "description": "The git repositories that can be linked to the connection.", + "items": { + "$ref": "LinkableGitRepository" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + } + }, + "type": "object" + }, + "FetchReadTokenRequest": { + "description": "Message for fetching SCM read token.", + "id": "FetchReadTokenRequest", + "properties": {}, + "type": "object" + }, + "FetchReadTokenResponse": { + "description": "Message for responding to get read token.", + "id": "FetchReadTokenResponse", + "properties": { + "expirationTime": { + "description": "Expiration timestamp. Can be empty if unknown or non-expiring.", + "format": "google-datetime", + "type": "string" + }, + "gitUsername": { + "description": "The git_username to specify when making a git clone with the token. For example, for GitHub GitRepositoryLinks, this would be \"x-access-token\"", + "type": "string" + }, + "token": { + "description": "The token content.", + "type": "string" + } + }, + "type": "object" + }, + "FetchReadWriteTokenRequest": { + "description": "Message for fetching SCM read/write token.", + "id": "FetchReadWriteTokenRequest", + "properties": {}, + "type": "object" + }, + "FetchReadWriteTokenResponse": { + "description": "Message for responding to get read/write token.", + "id": "FetchReadWriteTokenResponse", + "properties": { + "expirationTime": { + "description": "Expiration timestamp. Can be empty if unknown or non-expiring.", + "format": "google-datetime", + "type": "string" + }, + "gitUsername": { + "description": "The git_username to specify when making a git clone with the token. For example, for GitHub GitRepositoryLinks, this would be \"x-access-token\"", + "type": "string" + }, + "token": { + "description": "The token content.", + "type": "string" + } + }, + "type": "object" + }, + "GitHubConfig": { + "description": "Configuration for connections to github.com.", + "id": "GitHubConfig", + "properties": { + "appInstallationId": { + "description": "Optional. GitHub App installation id.", + "format": "int64", + "type": "string" + }, + "authorizerCredential": { + "$ref": "OAuthCredential", + "description": "Optional. OAuth credential of the account that authorized the GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the GitHub App of this config." + }, + "githubApp": { + "description": "Required. Immutable. The GitHub Application that was installed to the GitHub user or organization.", + "enum": [ + "GIT_HUB_APP_UNSPECIFIED", + "DEVELOPER_CONNECT", + "FIREBASE" + ], + "enumDescriptions": [ + "GitHub App not specified.", + "The Developer Connect GitHub Application.", + "The Firebase GitHub Application." + ], + "type": "string" + }, + "installationUri": { + "description": "Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GitRepositoryLink": { + "description": "Message describing the GitRepositoryLink object", + "id": "GitRepositoryLink", + "properties": { + "annotations": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Allows clients to store small amounts of arbitrary data.", + "type": "object" + }, + "cloneUri": { + "description": "Required. Git Clone URI.", + "type": "string" + }, + "createTime": { + "description": "Output only. [Output only] Create timestamp", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "deleteTime": { + "description": "Output only. [Output only] Delete timestamp", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "etag": { + "description": "Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels as key value pairs", + "type": "object" + }, + "name": { + "description": "Identifier. Resource name of the repository, in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.", + "type": "string" + }, + "reconciling": { + "description": "Output only. Set to true when the connection is being set up or updated in the background.", + "readOnly": true, + "type": "boolean" + }, + "uid": { + "description": "Output only. A system-assigned unique identifier for a the GitRepositoryLink.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. [Output only] Update timestamp", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Installation": { + "description": "Represents an installation of the GitHub App.", + "id": "Installation", + "properties": { + "id": { + "description": "ID of the installation in GitHub.", + "format": "int64", + "type": "string" + }, + "name": { + "description": "Name of the GitHub user or organization that owns this installation.", + "type": "string" + }, + "type": { + "description": "Either \"user\" or \"organization\".", + "type": "string" + } + }, + "type": "object" + }, + "InstallationState": { + "description": "Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections.", + "id": "InstallationState", + "properties": { + "actionUri": { + "description": "Output only. Link to follow for next action. Empty string if the installation is already complete.", + "readOnly": true, + "type": "string" + }, + "message": { + "description": "Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.", + "readOnly": true, + "type": "string" + }, + "stage": { + "description": "Output only. Current step of the installation process.", + "enum": [ + "STAGE_UNSPECIFIED", + "PENDING_CREATE_APP", + "PENDING_USER_OAUTH", + "PENDING_INSTALL_APP", + "COMPLETE" + ], + "enumDescriptions": [ + "No stage specified.", + "Only for GitHub Enterprise. An App creation has been requested. The user needs to confirm the creation in their GitHub enterprise host.", + "User needs to authorize the GitHub (or Enterprise) App via OAuth.", + "User needs to follow the link to install the GitHub (or Enterprise) App.", + "Installation process has been completed." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "LinkableGitRepository": { + "description": "LinkableGitRepository represents a git repository that can be linked to a connection.", + "id": "LinkableGitRepository", + "properties": { + "cloneUri": { + "description": "The clone uri of the repository.", + "type": "string" + } + }, + "type": "object" + }, + "ListConnectionsResponse": { + "description": "Message for response to listing Connections", + "id": "ListConnectionsResponse", + "properties": { + "connections": { + "description": "The list of Connection", + "items": { + "$ref": "Connection" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListGitRepositoryLinksResponse": { + "description": "Message for response to listing GitRepositoryLinks", + "id": "ListGitRepositoryLinksResponse", + "properties": { + "gitRepositoryLinks": { + "description": "The list of GitRepositoryLinks", + "items": { + "$ref": "GitRepositoryLink" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token identifying a page of results the server should return.", + "type": "string" + }, + "unreachable": { + "description": "Locations that could not be reached.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "ListLocationsResponse": { + "description": "The response message for Locations.ListLocations.", + "id": "ListLocationsResponse", + "properties": { + "locations": { + "description": "A list of locations that matches the specified filter in the request.", + "items": { + "$ref": "Location" + }, + "type": "array" + }, + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + } + }, + "type": "object" + }, + "ListOperationsResponse": { + "description": "The response message for Operations.ListOperations.", + "id": "ListOperationsResponse", + "properties": { + "nextPageToken": { + "description": "The standard List next-page token.", + "type": "string" + }, + "operations": { + "description": "A list of operations that matches the specified filter in the request.", + "items": { + "$ref": "Operation" + }, + "type": "array" + } + }, + "type": "object" + }, + "Location": { + "description": "A resource that represents a Google Cloud location.", + "id": "Location", + "properties": { + "displayName": { + "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", + "type": "string" + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", + "type": "object" + }, + "locationId": { + "description": "The canonical id for this location. For example: `\"us-east1\"`.", + "type": "string" + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata. For example the available capacity at the given location.", + "type": "object" + }, + "name": { + "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", + "type": "string" + } + }, + "type": "object" + }, + "OAuthCredential": { + "description": "Represents an OAuth token of the account that authorized the Connection, and associated metadata.", + "id": "OAuthCredential", + "properties": { + "oauthTokenSecretVersion": { + "description": "Required. A SecretManager resource containing the OAuth token that authorizes the connection. Format: `projects/*/secrets/*/versions/*`.", + "type": "string" + }, + "username": { + "description": "Output only. The username associated with this token.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Operation": { + "description": "This resource represents a long-running operation that is the result of a network API call.", + "id": "Operation", + "properties": { + "done": { + "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.", + "type": "boolean" + }, + "error": { + "$ref": "Status", + "description": "The error result of the operation in case of failure or cancellation." + }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", + "type": "object" + }, + "name": { + "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.", + "type": "string" + }, + "response": { + "additionalProperties": { + "description": "Properties of the object. Contains field @type with type URL.", + "type": "any" + }, + "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.", + "type": "object" + } + }, + "type": "object" + }, + "OperationMetadata": { + "description": "Represents the metadata of the long-running operation.", + "id": "OperationMetadata", + "properties": { + "apiVersion": { + "description": "Output only. API version used to start the operation.", + "readOnly": true, + "type": "string" + }, + "createTime": { + "description": "Output only. The time the operation was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "endTime": { + "description": "Output only. The time the operation finished running.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "requestedCancellation": { + "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", + "readOnly": true, + "type": "boolean" + }, + "statusMessage": { + "description": "Output only. Human-readable status of the operation, if any.", + "readOnly": true, + "type": "string" + }, + "target": { + "description": "Output only. Server-defined resource path for the target of the operation.", + "readOnly": true, + "type": "string" + }, + "verb": { + "description": "Output only. Name of the verb executed by the operation.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "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" + } + } +} diff --git a/discovery/googleapis/dialogflow__v2.json b/discovery/googleapis/dialogflow__v2.json index ad88265c5..11fb9c1cf 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": "20240507", + "revision": "20240520", "rootUrl": "https://dialogflow.googleapis.com/", "servicePath": "", "title": "Dialogflow API", diff --git a/discovery/googleapis/dialogflow__v3.json b/discovery/googleapis/dialogflow__v3.json index 24de4cfe3..4a3fecaaa 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": "20240430", + "revision": "20240520", "rootUrl": "https://dialogflow.googleapis.com/", "servicePath": "", "title": "Dialogflow API", @@ -4489,10 +4489,20 @@ "description": "If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a \"3\" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).", "type": "boolean" }, + "endpointingTimeoutDuration": { + "description": "Endpoint timeout setting for matching dtmf input to regex.", + "format": "google-duration", + "type": "string" + }, "finishDigit": { "description": "The digit that terminates a DTMF digit sequence.", "type": "string" }, + "interdigitTimeoutDuration": { + "description": "Interdigit timeout setting for matching dtmf input to regex.", + "format": "google-duration", + "type": "string" + }, "maxDigits": { "description": "Max length of DTMF digits.", "format": "int32", @@ -7856,7 +7866,7 @@ "NO_MATCH", "NO_INPUT", "EVENT", - "LLM" + "PLAYBOOK" ], "enumDescriptions": [ "Not specified. Should never be used.", @@ -7866,7 +7876,7 @@ "No match was found for the query.", "Indicates an empty query.", "The query directly triggered an event.", - "The query was handled by an LLM." + "The query was handled by a `Playbook`." ], "type": "string" }, @@ -8958,6 +8968,10 @@ "gcsBucket": { "description": "Cloud Storage bucket to export audio record to. Setting this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.", "type": "string" + }, + "storeTtsAudio": { + "description": "Whether to store TTS audio. By default, TTS audio from the virtual agent is not exported.", + "type": "boolean" } }, "type": "object" @@ -10222,10 +10236,20 @@ "description": "If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a \"3\" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).", "type": "boolean" }, + "endpointingTimeoutDuration": { + "description": "Endpoint timeout setting for matching dtmf input to regex.", + "format": "google-duration", + "type": "string" + }, "finishDigit": { "description": "The digit that terminates a DTMF digit sequence.", "type": "string" }, + "interdigitTimeoutDuration": { + "description": "Interdigit timeout setting for matching dtmf input to regex.", + "format": "google-duration", + "type": "string" + }, "maxDigits": { "description": "Max length of DTMF digits.", "format": "int32", diff --git a/discovery/googleapis/digitalassetlinks__v1.json b/discovery/googleapis/digitalassetlinks__v1.json index 03c5a0672..d0e36523c 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": "20240430", + "revision": "20240525", "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 1253c1c4e..2b303d5ef 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": "20240509", + "revision": "20240529", "rootUrl": "https://displayvideo.googleapis.com/", "servicePath": "", "title": "Display & Video 360 API", @@ -12333,7 +12333,8 @@ "SDF_VERSION_5_4", "SDF_VERSION_5_5", "SDF_VERSION_6", - "SDF_VERSION_7" + "SDF_VERSION_7", + "SDF_VERSION_7_1" ], "enumDeprecated": [ false, @@ -12348,6 +12349,7 @@ true, false, false, + false, false ], "enumDescriptions": [ @@ -12363,7 +12365,8 @@ "SDF version 5.4", "SDF version 5.5", "SDF version 6", - "SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version." + "SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", + "SDF version 7.1. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version." ], "type": "string" } @@ -19828,7 +19831,8 @@ "SDF_VERSION_5_4", "SDF_VERSION_5_5", "SDF_VERSION_6", - "SDF_VERSION_7" + "SDF_VERSION_7", + "SDF_VERSION_7_1" ], "enumDeprecated": [ false, @@ -19843,6 +19847,7 @@ true, false, false, + false, false ], "enumDescriptions": [ @@ -19858,7 +19863,8 @@ "SDF version 5.4", "SDF version 5.5", "SDF version 6", - "SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version." + "SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", + "SDF version 7.1. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version." ], "type": "string" } @@ -19905,7 +19911,8 @@ "SDF_VERSION_5_4", "SDF_VERSION_5_5", "SDF_VERSION_6", - "SDF_VERSION_7" + "SDF_VERSION_7", + "SDF_VERSION_7_1" ], "enumDeprecated": [ false, @@ -19920,6 +19927,7 @@ true, false, false, + false, false ], "enumDescriptions": [ @@ -19935,7 +19943,8 @@ "SDF version 5.4", "SDF version 5.5", "SDF version 6", - "SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version." + "SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", + "SDF version 7.1. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version." ], "type": "string" } diff --git a/discovery/googleapis/displayvideo__v3.json b/discovery/googleapis/displayvideo__v3.json index a8a96cbb4..af533c4fe 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": "20240509", + "revision": "20240529", "rootUrl": "https://displayvideo.googleapis.com/", "servicePath": "", "title": "Display & Video 360 API", @@ -12906,7 +12906,8 @@ "SDF_VERSION_5_4", "SDF_VERSION_5_5", "SDF_VERSION_6", - "SDF_VERSION_7" + "SDF_VERSION_7", + "SDF_VERSION_7_1" ], "enumDeprecated": [ false, @@ -12921,6 +12922,7 @@ true, false, false, + false, false ], "enumDescriptions": [ @@ -12936,7 +12938,8 @@ "SDF version 5.4", "SDF version 5.5", "SDF version 6", - "SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version." + "SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", + "SDF version 7.1. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version." ], "type": "string" } @@ -20557,7 +20560,8 @@ "SDF_VERSION_5_4", "SDF_VERSION_5_5", "SDF_VERSION_6", - "SDF_VERSION_7" + "SDF_VERSION_7", + "SDF_VERSION_7_1" ], "enumDeprecated": [ false, @@ -20572,6 +20576,7 @@ true, false, false, + false, false ], "enumDescriptions": [ @@ -20587,7 +20592,8 @@ "SDF version 5.4", "SDF version 5.5", "SDF version 6", - "SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version." + "SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", + "SDF version 7.1. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version." ], "type": "string" } @@ -20634,7 +20640,8 @@ "SDF_VERSION_5_4", "SDF_VERSION_5_5", "SDF_VERSION_6", - "SDF_VERSION_7" + "SDF_VERSION_7", + "SDF_VERSION_7_1" ], "enumDeprecated": [ false, @@ -20649,6 +20656,7 @@ true, false, false, + false, false ], "enumDescriptions": [ @@ -20664,7 +20672,8 @@ "SDF version 5.4", "SDF version 5.5", "SDF version 6", - "SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version." + "SDF version 7. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version.", + "SDF version 7.1. Read the [v7 migration guide](/display-video/api/structured-data-file/v7-migration-guide) before migrating to this version." ], "type": "string" } diff --git a/discovery/googleapis/dlp__v2.json b/discovery/googleapis/dlp__v2.json index ff0277aef..17fbc1e2b 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": "20240428", + "revision": "20240526", "rootUrl": "https://dlp.googleapis.com/", "servicePath": "", "title": "Sensitive Data Protection (DLP)", @@ -600,7 +600,7 @@ ], "parameters": { "filter": { - "description": "Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR", + "description": "Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR", "location": "query", "type": "string" }, @@ -616,7 +616,7 @@ "type": "string" }, "parent": { - "description": "Required. Parent name, typically an organization, without location. For example: \"organizations/12345678\".", + "description": "Required. Parent name, typically an organization, without location. For example: `organizations/12345678`.", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+$", "required": true, @@ -2736,7 +2736,7 @@ ], "parameters": { "parent": { - "description": "Required. Parent resource name in the format: \"projects/{project}/locations/{location}\".", + "description": "Required. Parent resource name in the format: `projects/{project}/locations/{location}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -2764,7 +2764,7 @@ ], "parameters": { "name": { - "description": "Required. Resource name of the Connection to be deleted, in the format: \"projects/{project}/locations/{location}/connections/{connection}\".", + "description": "Required. Resource name of the Connection to be deleted, in the format: `projects/{project}/locations/{location}/connections/{connection}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", "required": true, @@ -2789,7 +2789,7 @@ ], "parameters": { "name": { - "description": "Required. Resource name in the format: \"projects/{project}/locations/{location}/connections/{connection}\".", + "description": "Required. Resource name in the format: `projects/{project}/locations/{location}/connections/{connection}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", "required": true, @@ -2814,7 +2814,7 @@ ], "parameters": { "filter": { - "description": "Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR", + "description": "Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR", "location": "query", "type": "string" }, @@ -2830,7 +2830,7 @@ "type": "string" }, "parent": { - "description": "Required. Parent name, for example: \"projects/project-id/locations/global\".", + "description": "Required. Parent name, for example: `projects/project-id/locations/global`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -2855,7 +2855,7 @@ ], "parameters": { "name": { - "description": "Required. Resource name in the format: \"projects/{project}/locations/{location}/connections/{connection}\".", + "description": "Required. Resource name in the format: `projects/{project}/locations/{location}/connections/{connection}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", "required": true, @@ -2883,7 +2883,7 @@ ], "parameters": { "filter": { - "description": "Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR", + "description": "Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR", "location": "query", "type": "string" }, @@ -2899,7 +2899,7 @@ "type": "string" }, "parent": { - "description": "Required. Parent name, typically an organization, without location. For example: \"organizations/12345678\".", + "description": "Required. Parent name, typically an organization, without location. For example: `organizations/12345678`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -5049,7 +5049,7 @@ "type": "object" }, "GooglePrivacyDlpV2CloudSqlIamCredential": { - "description": "Use IAM auth to connect. This requires the Cloud SQL IAM feature to be enabled on the instance, which is not the default for Cloud SQL. See https://cloud.google.com/sql/docs/postgres/authentication and https://cloud.google.com/sql/docs/mysql/authentication.", + "description": "Use IAM authentication to connect. This requires the Cloud SQL IAM feature to be enabled on the instance, which is not the default for Cloud SQL. See https://cloud.google.com/sql/docs/postgres/authentication and https://cloud.google.com/sql/docs/mysql/authentication.", "id": "GooglePrivacyDlpV2CloudSqlIamCredential", "properties": {}, "type": "object" @@ -5063,7 +5063,7 @@ "description": "Built-in IAM authentication (must be configured in Cloud SQL)." }, "connectionName": { - "description": "Optional. Immutable. The Cloud SQL instance for which the connection is defined. Only one connection per instance is allowed. This can only be set at creation time, and cannot be updated. It is an error to use a connection_name from different project or region than the one that holds the connection. For example, a Connection resource for Cloud SQL connection_name \"project-id:us-central1:sql-instance\" must be created under the parent \"projects/project-id/locations/us-central1\"", + "description": "Optional. Immutable. The Cloud SQL instance for which the connection is defined. Only one connection per instance is allowed. This can only be set at creation time, and cannot be updated. It is an error to use a connection_name from different project or region than the one that holds the connection. For example, a Connection resource for Cloud SQL connection_name `project-id:us-central1:sql-instance` must be created under the parent `projects/project-id/locations/us-central1`", "type": "string" }, "databaseEngine": { @@ -5074,9 +5074,9 @@ "DATABASE_ENGINE_POSTGRES" ], "enumDescriptions": [ - "An engine that is not currently supported by SDP.", + "An engine that is not currently supported by Sensitive Data Protection.", "Cloud SQL for MySQL instance.", - "Cloud SQL for Postgres instance." + "Cloud SQL for PostgreSQL instance." ], "type": "string" }, @@ -5286,9 +5286,9 @@ "Decimal type.", "Json type.", "Interval type.", - "Range type.", - "Range type.", - "Range type." + "`Range` type.", + "`Range` type.", + "`Range` type." ], "type": "string" }, @@ -5482,7 +5482,7 @@ "type": "array" }, "name": { - "description": "Output only. Name of the connection: projects/{project}/locations/{location}/connections/{name}.", + "description": "Output only. Name of the connection: `projects/{project}/locations/{location}/connections/{name}`.", "readOnly": true, "type": "string" }, @@ -5498,7 +5498,7 @@ "Unused", "DLP automatically created this connection during an initial scan, and it is awaiting full configuration by a user.", "A configured connection that has not encountered any errors.", - "A configured connection that encountered errors during its last use. It will not be used again until it is set to AVAILABLE. If the resolution requires external action, then a request to set the status to AVAILABLE will mark this connection for use. Otherwise, any changes to the connection properties will automatically mark it as AVAILABLE." + "A configured connection that encountered errors during its last use. It will not be used again until it is set to AVAILABLE. If the resolution requires external action, then the client must send a request to set the status to AVAILABLE when the connection is ready for use. If the resolution doesn't require external action, then any changes to the connection properties will automatically mark it as AVAILABLE." ], "type": "string" } @@ -6018,7 +6018,7 @@ "enumDescriptions": [ "Unused.", "New profile (not a re-profile).", - "Changed one of the following profile metrics: * Table data risk score * Table sensitivity score * Table resource visibility * Table encryption type * Table predicted infoTypes * Table other infoTypes", + "One of the following profile metrics changed: Data risk score, Sensitivity score, Resource visibility, Encryption type, Predicted infoTypes, Other infoTypes", "Table data risk score or sensitivity score increased.", "A user (non-internal) error occurred." ], @@ -6081,12 +6081,20 @@ "description": "Identifies a single database resource, like a table within a database.", "id": "GooglePrivacyDlpV2DatabaseResourceReference", "properties": { + "database": { + "description": "Required. Name of a database within the instance.", + "type": "string" + }, + "databaseResource": { + "description": "Required. Name of a database resource, for example, a table within the database.", + "type": "string" + }, "instance": { - "description": "Required. The instance where this resource is located. For example: Cloud SQL's instance id.", + "description": "Required. The instance where this resource is located. For example: Cloud SQL instance ID.", "type": "string" }, "projectId": { - "description": "Required. If within a project-level config, then this must match the config's project id.", + "description": "Required. If within a project-level config, then this must match the config's project ID.", "type": "string" } }, @@ -6109,7 +6117,7 @@ "type": "string" }, "projectIdRegex": { - "description": "For organizations, if unset, will match all projects. Has no effect for Data Profile configurations created within a project.", + "description": "For organizations, if unset, will match all projects. Has no effect for configurations created within a project.", "type": "string" } }, @@ -6583,6 +6591,10 @@ "$ref": "GooglePrivacyDlpV2AllOtherBigQueryTables", "description": "Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically." }, + "tableReference": { + "$ref": "GooglePrivacyDlpV2TableReference", + "description": "The table to scan. Discovery configurations including this can only include one DiscoveryTarget (the DiscoveryTarget with this TableReference)." + }, "tables": { "$ref": "GooglePrivacyDlpV2BigQueryTableCollection", "description": "A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID." @@ -6606,8 +6618,8 @@ "enumDescriptions": [ "Unused.", "Include all supported database engines.", - "MySql database.", - "PostGres database." + "MySQL database.", + "PostgreSQL database." ], "type": "string" }, @@ -6657,7 +6669,7 @@ "id": "GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence", "properties": { "refreshFrequency": { - "description": "Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changes. Defaults to never.", + "description": "Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changed. Defaults to never.", "enum": [ "UPDATE_FREQUENCY_UNSPECIFIED", "UPDATE_FREQUENCY_NEVER", @@ -6880,6 +6892,10 @@ "cloudSqlTarget": { "$ref": "GooglePrivacyDlpV2CloudSqlDiscoveryTarget", "description": "Cloud SQL target for Discovery. The first target to match a table will be the one applied." + }, + "secretsTarget": { + "$ref": "GooglePrivacyDlpV2SecretsDiscoveryTarget", + "description": "Discovery target that looks for credentials and secrets stored in cloud resource metadata and reports them as vulnerabilities to Security Command Center. Only one target of this type is allowed." } }, "type": "object" @@ -7538,7 +7554,7 @@ "type": "object" }, "GooglePrivacyDlpV2InfoTypeCategory": { - "description": "Classification of infoTypes to organize them according to geographic location, industry, and data type. NEXT_ID: 48", + "description": "Classification of infoTypes to organize them according to geographic location, industry, and data type.", "id": "GooglePrivacyDlpV2InfoTypeCategory", "properties": { "industryCategory": { @@ -7564,6 +7580,7 @@ "GLOBAL", "ARGENTINA", "AUSTRALIA", + "AZERBAIJAN", "BELGIUM", "BRAZIL", "CANADA", @@ -7614,6 +7631,7 @@ "The infoType is not issued by or tied to a specific region, but is used almost everywhere.", "The infoType is typically used in Argentina.", "The infoType is typically used in Australia.", + "The infoType is typically used in Azerbaijan.", "The infoType is typically used in Belgium.", "The infoType is typically used in Brazil.", "The infoType is typically used in Canada.", @@ -8110,7 +8128,7 @@ "type": "object" }, "GooglePrivacyDlpV2JobTrigger": { - "description": "Contains a configuration to make api calls on a repeating basis. See https://cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers to learn more.", + "description": "Contains a configuration to make API calls on a repeating basis. See https://cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers to learn more.", "id": "GooglePrivacyDlpV2JobTrigger", "properties": { "createTime": { @@ -9197,7 +9215,7 @@ "enumDescriptions": [ "Unused.", "The full table data profile.", - "The resource name of the table." + "The name of the profiled resource." ], "type": "string" }, @@ -9213,7 +9231,7 @@ "enumDescriptions": [ "Unused.", "New profile (not a re-profile).", - "Changed one of the following profile metrics: * Table data risk score * Table sensitivity score * Table resource visibility * Table encryption type * Table predicted infoTypes * Table other infoTypes", + "One of the following profile metrics changed: Data risk score, Sensitivity score, Resource visibility, Encryption type, Predicted infoTypes, Other infoTypes", "Table data risk score or sensitivity score increased.", "A user (non-internal) error occurred." ], @@ -9654,7 +9672,7 @@ "type": "array" }, "numRowsProcessed": { - "description": "Number of rows scanned post sampling and time filtering (Applicable for row based stores such as BigQuery).", + "description": "Number of rows scanned after sampling and time filtering (applicable for row based stores such as BigQuery).", "format": "int64", "type": "string" }, @@ -9731,7 +9749,7 @@ "type": "object" }, "GooglePrivacyDlpV2SchemaModifiedCadence": { - "description": "How frequency to modify the profile when the table's schema is modified.", + "description": "How frequently to modify the profile when the table's schema is modified.", "id": "GooglePrivacyDlpV2SchemaModifiedCadence", "properties": { "frequency": { @@ -9760,7 +9778,7 @@ ], "enumDescriptions": [ "Unused.", - "New columns has appeared.", + "New columns have appeared.", "Columns have been removed from the table." ], "type": "string" @@ -9793,7 +9811,7 @@ "id": "GooglePrivacyDlpV2SecretManagerCredential", "properties": { "passwordSecretVersionName": { - "description": "Required. The name of the Secret Manager resource that stores the password, in the form \"projects/project-id/secrets/secret-name/versions/version\".", + "description": "Required. The name of the Secret Manager resource that stores the password, in the form `projects/project-id/secrets/secret-name/versions/version`.", "type": "string" }, "username": { @@ -9803,6 +9821,12 @@ }, "type": "object" }, + "GooglePrivacyDlpV2SecretsDiscoveryTarget": { + "description": "Discovery target for credentials and secrets in cloud resource metadata. This target does not include any filtering or frequency controls. Cloud DLP will scan cloud resource metadata for secrets daily. No inspect template should be included in the discovery config for a security benchmarks scan. Instead, the built-in list of secrets and credentials infoTypes will be used (see https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#credentials_and_secrets). Credentials and secrets discovered will be reported as vulnerabilities to Security Command Center.", + "id": "GooglePrivacyDlpV2SecretsDiscoveryTarget", + "properties": {}, + "type": "object" + }, "GooglePrivacyDlpV2SelectedInfoTypes": { "description": "Apply transformation to the selected info_types.", "id": "GooglePrivacyDlpV2SelectedInfoTypes", @@ -10187,11 +10211,13 @@ "enum": [ "RESOURCE_VISIBILITY_UNSPECIFIED", "RESOURCE_VISIBILITY_PUBLIC", + "RESOURCE_VISIBILITY_INCONCLUSIVE", "RESOURCE_VISIBILITY_RESTRICTED" ], "enumDescriptions": [ "Unused.", "Visible to any user.", + "May contain public items. For example, if a Cloud Storage bucket has uniform bucket level access disabled, some objects inside it may be public.", "Visible only to specific users." ], "type": "string" @@ -10262,6 +10288,21 @@ }, "type": "object" }, + "GooglePrivacyDlpV2TableReference": { + "description": "Message defining the location of a BigQuery table with the projectId inferred from the parent project.", + "id": "GooglePrivacyDlpV2TableReference", + "properties": { + "datasetId": { + "description": "Dataset ID of the table.", + "type": "string" + }, + "tableId": { + "description": "Name of the table.", + "type": "string" + } + }, + "type": "object" + }, "GooglePrivacyDlpV2TaggedField": { "description": "A column with a semantic tag attached.", "id": "GooglePrivacyDlpV2TaggedField", @@ -10337,7 +10378,7 @@ "id": "GooglePrivacyDlpV2TimespanConfig", "properties": { "enableAutoPopulationOfTimespanConfig": { - "description": "When the job is started by a JobTrigger we will automatically figure out a valid start_time to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan end_time used in the last run of the JobTrigger. *For BigQuery* Inspect jobs triggered by automatic population will scan data that is at least three hours old when the job starts. This is because streaming buffer rows are not read during inspection and reading up to the current timestamp will result in skipped rows. See the [known issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#recently-streamed-data) related to this operation.", + "description": "When the job is started by a JobTrigger we will automatically figure out a valid start_time to avoid scanning files that have not been modified since the last time the JobTrigger executed. This will be based on the time of the execution of the last run of the JobTrigger or the timespan end_time used in the last run of the JobTrigger. **For BigQuery** Inspect jobs triggered by automatic population will scan data that is at least three hours old when the job starts. This is because streaming buffer rows are not read during inspection and reading up to the current timestamp will result in skipped rows. See the [known issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#recently-streamed-data) related to this operation.", "type": "boolean" }, "endTime": { diff --git a/discovery/googleapis/dns__v1.json b/discovery/googleapis/dns__v1.json index 534eb623e..b858a04f8 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": "20240501", + "revision": "20240524", "rootUrl": "https://dns.googleapis.com/", "servicePath": "", "title": "Cloud DNS API", diff --git a/discovery/googleapis/docs__v1.json b/discovery/googleapis/docs__v1.json index b993cc826..3bb00cae6 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": "20240430", + "revision": "20240521", "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 a34fc4640..62091f81c 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": "20240502", + "revision": "20240523", "rootUrl": "https://documentai.googleapis.com/", "servicePath": "", "title": "Cloud Document AI API", diff --git a/discovery/googleapis/domains__v1.json b/discovery/googleapis/domains__v1.json index 1bb2faeb2..2060f55ad 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": "20240327", + "revision": "20240520", "rootUrl": "https://domains.googleapis.com/", "servicePath": "", "title": "Cloud Domains API", @@ -1476,7 +1476,7 @@ "type": "string" }, "transferLockState": { - "description": "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.", "enum": [ "TRANSFER_LOCK_STATE_UNSPECIFIED", "UNLOCKED", diff --git a/discovery/googleapis/domainsrdap__v1.json b/discovery/googleapis/domainsrdap__v1.json index 9a2d7d39d..8414b6163 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": "20240508", + "revision": "20240529", "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 01d0146ba..53f051aa7 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": "20240430", + "revision": "20240522", "rootUrl": "https://doubleclickbidmanager.googleapis.com/", "servicePath": "v2/", "title": "DoubleClick Bid Manager API", diff --git a/discovery/googleapis/drive__v2.json b/discovery/googleapis/drive__v2.json index 2e91c6c83..0f7cc1496 100644 --- a/discovery/googleapis/drive__v2.json +++ b/discovery/googleapis/drive__v2.json @@ -14,6 +14,9 @@ "https://www.googleapis.com/auth/drive.file": { "description": "See, edit, create, and delete only the specific Google Drive files you use with this app" }, + "https://www.googleapis.com/auth/drive.meet.readonly": { + "description": "See and download your Google Drive files that were created or edited by Google Meet." + }, "https://www.googleapis.com/auth/drive.metadata": { "description": "View and manage metadata of files in your Google Drive" }, @@ -48,7 +51,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240429", + "revision": "20240521", "rootUrl": "https://www.googleapis.com/", "servicePath": "drive/v2/", "title": "Google Drive API", @@ -294,6 +297,7 @@ "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.apps.readonly", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -341,6 +345,7 @@ "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.apps.readonly", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -454,6 +459,7 @@ "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.apps.readonly", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -572,6 +578,7 @@ "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.apps.readonly", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -600,6 +607,7 @@ "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.apps.readonly", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -677,6 +685,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -779,6 +788,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -854,6 +864,7 @@ "scopes": [ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.readonly" ] }, @@ -933,6 +944,7 @@ "scopes": [ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.readonly" ] }, @@ -1431,6 +1443,7 @@ "scopes": [ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.readonly" ], "supportsMediaDownload": true, @@ -1554,6 +1567,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -1810,6 +1824,7 @@ "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.apps.readonly", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -1853,6 +1868,7 @@ "scopes": [ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly" @@ -2440,6 +2456,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -2518,6 +2535,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -2597,6 +2615,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -2704,6 +2723,7 @@ "scopes": [ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -2872,6 +2892,7 @@ "scopes": [ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -3088,6 +3109,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -3148,6 +3170,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -3323,6 +3346,7 @@ "scopes": [ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.readonly" ] }, @@ -3411,6 +3435,7 @@ "scopes": [ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.readonly" ] }, @@ -3563,6 +3588,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -3607,6 +3633,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", diff --git a/discovery/googleapis/drive__v3.json b/discovery/googleapis/drive__v3.json index 8ef4022b8..739d9efc8 100644 --- a/discovery/googleapis/drive__v3.json +++ b/discovery/googleapis/drive__v3.json @@ -14,6 +14,9 @@ "https://www.googleapis.com/auth/drive.file": { "description": "See, edit, create, and delete only the specific Google Drive files you use with this app" }, + "https://www.googleapis.com/auth/drive.meet.readonly": { + "description": "See and download your Google Drive files that were created or edited by Google Meet." + }, "https://www.googleapis.com/auth/drive.metadata": { "description": "View and manage metadata of files in your Google Drive" }, @@ -48,7 +51,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240429", + "revision": "20240521", "rootUrl": "https://www.googleapis.com/", "servicePath": "drive/v3/", "title": "Google Drive API", @@ -265,6 +268,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -375,6 +379,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -490,6 +495,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -517,6 +523,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -620,6 +627,7 @@ "scopes": [ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.readonly" ] }, @@ -671,6 +679,7 @@ "scopes": [ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.readonly" ] }, @@ -1192,6 +1201,7 @@ "scopes": [ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.readonly" ], "supportsMediaDownload": true, @@ -1289,6 +1299,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -1410,6 +1421,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -1453,6 +1465,7 @@ "scopes": [ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly" @@ -1649,6 +1662,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -1833,6 +1847,7 @@ "scopes": [ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -1899,6 +1914,7 @@ "scopes": [ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -2089,6 +2105,7 @@ "scopes": [ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.readonly" ] }, @@ -2142,6 +2159,7 @@ "scopes": [ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.readonly" ] }, @@ -2258,6 +2276,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -2304,6 +2323,7 @@ "https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.appdata", "https://www.googleapis.com/auth/drive.file", + "https://www.googleapis.com/auth/drive.meet.readonly", "https://www.googleapis.com/auth/drive.metadata", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.photos.readonly", @@ -2592,15 +2612,15 @@ "type": "string" }, "storageQuota": { - "description": "The user's storage quota limits and usage. All fields are measured in bytes.", + "description": "The user's storage quota limits and usage. For users that are part of an organization with pooled storage, information about the limit and usage across all services is for the organization, rather than the individual user. All fields are measured in bytes.", "properties": { "limit": { - "description": "The usage limit, if applicable. This will not be present if the user has unlimited storage.", + "description": "The usage limit, if applicable. This will not be present if the user has unlimited storage. For users that are part of an organization with pooled storage, this is the limit for the organization, rather than the individual user.", "format": "int64", "type": "string" }, "usage": { - "description": "The total usage across all services.", + "description": "The total usage across all services. For users that are part of an organization with pooled storage, this is the usage across all services for the organization, rather than the individual user.", "format": "int64", "type": "string" }, diff --git a/discovery/googleapis/driveactivity__v2.json b/discovery/googleapis/driveactivity__v2.json index 2da0f84f3..6327d5351 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": "20240507", + "revision": "20240528", "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 274f01416..9f3c94964 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": "20240501", + "revision": "20240527", "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 2228f81ab..6dbcc5568 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": "20240505", + "revision": "20240526", "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 ac3fa5dfb..710f1fa01 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": "20240426", + "revision": "20240510", "rootUrl": "https://eventarc.googleapis.com/", "servicePath": "", "title": "Eventarc API", @@ -1829,11 +1829,11 @@ "type": "object" }, "NetworkConfig": { - "description": "Represents a network config to be used for destination resolution and connectivity.", + "description": "Network Configuration that can be inherited by other protos.", "id": "NetworkConfig", "properties": { "networkAttachment": { - "description": "Required. Name of the NetworkAttachment that allows access to the destination VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`", + "description": "Required. Name of the NetworkAttachment that allows access to the customer's VPC. Format: `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`", "type": "string" } }, diff --git a/discovery/googleapis/fcm__v1.json b/discovery/googleapis/fcm__v1.json index 15d5cdbc1..ad5fc941e 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": "20240507", + "revision": "20240524", "rootUrl": "https://fcm.googleapis.com/", "servicePath": "", "title": "Firebase Cloud Messaging API", @@ -501,7 +501,7 @@ "additionalProperties": { "type": "string" }, - "description": "Input only. Arbitrary key/value payload, which must be UTF-8 encoded. The key should not be a reserved word (\"from\", \"message_type\", or any word starting with \"google\" or \"gcm\"). When sending payloads containing only data fields to iOS devices, only normal priority (`\"apns-priority\": \"5\"`) is allowed in [`ApnsConfig`](/docs/reference/fcm/rest/v1/projects.messages#apnsconfig).", + "description": "Input only. Arbitrary key/value payload, which must be UTF-8 encoded. The key should not be a reserved word (\"from\", \"message_type\", or any word starting with \"google.\" or \"gcm.notification.\"). When sending payloads containing only data fields to iOS devices, only normal priority (`\"apns-priority\": \"5\"`) is allowed in [`ApnsConfig`](/docs/reference/fcm/rest/v1/projects.messages#apnsconfig).", "type": "object" }, "fcmOptions": { diff --git a/discovery/googleapis/file__v1.json b/discovery/googleapis/file__v1.json index 7af84a021..ffaf0bc42 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": "20240307", + "revision": "20240511", "rootUrl": "https://file.googleapis.com/", "servicePath": "", "title": "Cloud Filestore API", @@ -1415,6 +1415,10 @@ }, "type": "array" }, + "replication": { + "$ref": "Replication", + "description": "Optional. Replicaition configuration." + }, "satisfiesPzi": { "description": "Output only. Reserved for future use.", "readOnly": true, @@ -1892,6 +1896,86 @@ }, "type": "object" }, + "ReplicaConfig": { + "description": "Replica configuration for the instance.", + "id": "ReplicaConfig", + "properties": { + "lastActiveSyncTime": { + "description": "Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "peerInstance": { + "description": "Optional. The peer instance.", + "type": "string" + }, + "state": { + "description": "Output only. The replica state.", + "enum": [ + "STATE_UNSPECIFIED", + "CREATING", + "READY", + "REMOVING", + "FAILED" + ], + "enumDescriptions": [ + "State not set.", + "The replica is being created.", + "The replica is ready.", + "The replica is being removed.", + "The replica is experiencing an issue and might be unusable. You can get further details from the `stateReasons` field of the `ReplicaConfig` object." + ], + "readOnly": true, + "type": "string" + }, + "stateReasons": { + "description": "Output only. Additional information about the replication state, if available.", + "items": { + "enum": [ + "STATE_REASON_UNSPECIFIED", + "PEER_INSTANCE_UNREACHABLE" + ], + "enumDescriptions": [ + "Reason not specified.", + "The peer instance is unreachable." + ], + "type": "string" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "Replication": { + "description": "Replication specifications.", + "id": "Replication", + "properties": { + "replicas": { + "description": "Optional. Replicas configuration on the instance. For now, only a single replica config is supported.", + "items": { + "$ref": "ReplicaConfig" + }, + "type": "array" + }, + "role": { + "description": "Optional. The replication role.", + "enum": [ + "ROLE_UNSPECIFIED", + "ACTIVE", + "STANDBY" + ], + "enumDescriptions": [ + "Role not set.", + "The instance is a Active replication member, functions as the replication source instance.", + "The instance is a Standby replication member, functions as the replication destination instance." + ], + "type": "string" + } + }, + "type": "object" + }, "RestoreInstanceRequest": { "description": "RestoreInstanceRequest restores an existing instance's file share from a backup.", "id": "RestoreInstanceRequest", diff --git a/discovery/googleapis/firebaseappcheck__v1.json b/discovery/googleapis/firebaseappcheck__v1.json index 028d3de21..fe852cc93 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": "20240506", + "revision": "20240528", "rootUrl": "https://firebaseappcheck.googleapis.com/", "servicePath": "", "title": "Firebase App Check API", @@ -142,6 +142,126 @@ } } }, + "oauthClients": { + "methods": { + "exchangeAppAttestAssertion": { + "description": "Accepts an App Attest assertion and an artifact previously obtained from ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns an AppCheckToken.", + "flatPath": "v1/oauthClients/{oauthClientsId}:exchangeAppAttestAssertion", + "httpMethod": "POST", + "id": "firebaseappcheck.oauthClients.exchangeAppAttestAssertion", + "parameterOrder": [ + "app" + ], + "parameters": { + "app": { + "description": "Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.", + "location": "path", + "pattern": "^oauthClients/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+app}:exchangeAppAttestAssertion", + "request": { + "$ref": "GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest" + }, + "response": { + "$ref": "GoogleFirebaseAppcheckV1AppCheckToken" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase" + ] + }, + "exchangeAppAttestAttestation": { + "description": "Accepts an App Attest CBOR attestation and verifies it with Apple using your preconfigured team and bundle IDs. If valid, returns an attestation artifact that can later be exchanged for an AppCheckToken using ExchangeAppAttestAssertion. For convenience and performance, this method's response object will also contain an AppCheckToken (if the verification is successful).", + "flatPath": "v1/oauthClients/{oauthClientsId}:exchangeAppAttestAttestation", + "httpMethod": "POST", + "id": "firebaseappcheck.oauthClients.exchangeAppAttestAttestation", + "parameterOrder": [ + "app" + ], + "parameters": { + "app": { + "description": "Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.", + "location": "path", + "pattern": "^oauthClients/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+app}:exchangeAppAttestAttestation", + "request": { + "$ref": "GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest" + }, + "response": { + "$ref": "GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase" + ] + }, + "exchangeDebugToken": { + "description": "Validates a debug token secret that you have previously created using CreateDebugToken. If valid, returns an AppCheckToken. Note that a restrictive quota is enforced on this method to prevent accidental exposure of the app to abuse.", + "flatPath": "v1/oauthClients/{oauthClientsId}:exchangeDebugToken", + "httpMethod": "POST", + "id": "firebaseappcheck.oauthClients.exchangeDebugToken", + "parameterOrder": [ + "app" + ], + "parameters": { + "app": { + "description": "Required. The relative resource name of the app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.", + "location": "path", + "pattern": "^oauthClients/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+app}:exchangeDebugToken", + "request": { + "$ref": "GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest" + }, + "response": { + "$ref": "GoogleFirebaseAppcheckV1AppCheckToken" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase" + ] + }, + "generateAppAttestChallenge": { + "description": "Generates a challenge that protects the integrity of an immediately following call to ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A challenge should not be reused for multiple calls.", + "flatPath": "v1/oauthClients/{oauthClientsId}:generateAppAttestChallenge", + "httpMethod": "POST", + "id": "firebaseappcheck.oauthClients.generateAppAttestChallenge", + "parameterOrder": [ + "app" + ], + "parameters": { + "app": { + "description": "Required. The relative resource name of the iOS app, in the format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the `project_number` element can be replaced with the project ID of the Firebase project. Learn more about using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/2510) standard.", + "location": "path", + "pattern": "^oauthClients/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+app}:generateAppAttestChallenge", + "request": { + "$ref": "GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest" + }, + "response": { + "$ref": "GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/firebase" + ] + } + } + }, "projects": { "resources": { "apps": { @@ -1074,7 +1194,7 @@ ] }, "patch": { - "description": "Updates the RecaptchaV3Config for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange reCAPTCHA tokens for App Check tokens. For security reasons, the `site_secret` field is never populated in the response.", + "description": "Updates the RecaptchaV3Config for the specified app. While this configuration is incomplete or invalid, the app will be unable to exchange reCAPTCHA V3 tokens for App Check tokens. For security reasons, the `site_secret` field is never populated in the response.", "flatPath": "v1/projects/{projectsId}/apps/{appsId}/recaptchaV3Config", "httpMethod": "PATCH", "id": "firebaseappcheck.projects.apps.recaptchaV3Config.patch", @@ -1940,7 +2060,7 @@ "enumDescriptions": [ "Firebase App Check is not enforced for the service, nor are App Check metrics collected. Though the service is not protected by App Check in this mode, other applicable protections, such as user authorization, are still enforced. An unconfigured service is in this mode by default.", "Firebase App Check is not enforced for the service. App Check metrics are collected to help you decide when to turn on enforcement for the service. Though the service is not protected by App Check in this mode, other applicable protections, such as user authorization, are still enforced. Some services require certain conditions to be met before they will work with App Check, such as requiring you to upgrade to a specific service tier. Until those requirements are met for a service, this `UNENFORCED` setting will have no effect and App Check will not work with that service.", - "Firebase App Check is enforced for the service. The service will reject any request that attempts to access your project's resources if it does not have valid App Check token attached, with some exceptions depending on the service; for example, some services will still allow requests bearing the developer's privileged service account credentials without an App Check token. App Check metrics continue to be collected to help you detect issues with your App Check integration and monitor the composition of your callers. While the service is protected by App Check, other applicable protections, such as user authorization, continue to be enforced at the same time. Use caution when choosing to enforce App Check on a Firebase service. If your users have not updated to an App Check capable version of your app, their apps will no longer be able to use your Firebase services that are enforcing App Check. App Check metrics can help you decide whether to enforce App Check on your Firebase services. If your app has not launched yet, you should enable enforcement immediately, since there are no outdated clients in use. Some services require certain conditions to be met before they will work with App Check, such as requiring you to upgrade to a specific service tier or requiring you to enable the service first. Until those requirements are met for a service, this `ENFORCED` setting will have no effect and App Check will not work with that service." + "Firebase App Check is enforced for the service. The service will reject any request that attempts to access your project's resources if it does not have valid App Check token attached, with some exceptions depending on the service; for example, some services will still allow requests bearing the developer's privileged service account credentials without an App Check token. App Check metrics continue to be collected to help you detect issues with your App Check integration and monitor the composition of your callers. While the service is protected by App Check, other applicable protections, such as user authorization, continue to be enforced at the same time. Use caution when choosing to enforce App Check on a Firebase service. If your users have not updated to an App Check capable version of your app, their apps will no longer be able to use your Firebase services that are enforcing App Check. App Check metrics can help you decide whether to enforce App Check on your Firebase services. If your app has not launched yet, you should enable enforcement immediately, since there are no outdated clients in use. Some services require certain conditions to be met before they will work with App Check, such as requiring you to upgrade to a specific service tier. Until those requirements are met for a service, this `ENFORCED` setting will have no effect and App Check will not work with that service." ], "type": "string" }, diff --git a/discovery/googleapis/firebaseappdistribution__v1.json b/discovery/googleapis/firebaseappdistribution__v1.json index 055879702..0d029e40e 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": "20240509", + "revision": "20240529", "rootUrl": "https://firebaseappdistribution.googleapis.com/", "servicePath": "", "title": "Firebase App Distribution API", diff --git a/discovery/googleapis/firebasedynamiclinks__v1.json b/discovery/googleapis/firebasedynamiclinks__v1.json index 566df51f2..a51c8c8aa 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": "20240502", + "revision": "20240527", "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 47563c10e..d8e2b7d81 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": "20240508", + "revision": "20240528", "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 32efaf730..4b4615bbb 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": "20240508", + "revision": "20240528", "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 fc9d0d1eb..9dbeb13b5 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": "20240508", + "revision": "20240528", "rootUrl": "https://firebaseremoteconfig.googleapis.com/", "servicePath": "", "title": "Firebase Remote Config API", diff --git a/discovery/googleapis/firebaserules__v1.json b/discovery/googleapis/firebaserules__v1.json index 3d8ad36eb..2563e3fb2 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": "20240429", + "revision": "20240513", "rootUrl": "https://firebaserules.googleapis.com/", "servicePath": "", "title": "Firebase Rules API", diff --git a/discovery/googleapis/firestore__v1.json b/discovery/googleapis/firestore__v1.json index 3b0513a98..31504a838 100644 --- a/discovery/googleapis/firestore__v1.json +++ b/discovery/googleapis/firestore__v1.json @@ -28,7 +28,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240430", + "revision": "20240521", "rootUrl": "https://firestore.googleapis.com/", "servicePath": "", "title": "Cloud Firestore API", @@ -2491,7 +2491,12 @@ "GoogleFirestoreAdminV1DailyRecurrence": { "description": "Represents a recurring schedule that runs every day. The time zone is UTC.", "id": "GoogleFirestoreAdminV1DailyRecurrence", - "properties": {}, + "properties": { + "time": { + "$ref": "TimeOfDay", + "description": "Time of the day. The first run scheduled will be either on the same day if schedule creation time precedes time_of_day or the next day otherwise." + } + }, "type": "object" }, "GoogleFirestoreAdminV1Database": { @@ -2553,7 +2558,7 @@ "type": "string" }, "deleteTime": { - "description": "Output only. The timestamp at which this database was soft deleted. Only set if the database has been soft deleted.", + "description": "Output only. The timestamp at which this database was deleted. Only set if the database has been deleted.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -2595,6 +2600,11 @@ ], "type": "string" }, + "previousId": { + "description": "Output only. The database resource's prior database ID. This field is only populated for deleted databases.", + "readOnly": true, + "type": "string" + }, "type": { "description": "The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.", "enum": [ @@ -2728,7 +2738,7 @@ "id": "GoogleFirestoreAdminV1ExportDocumentsRequest", "properties": { "collectionIds": { - "description": "Which collection ids to export. Unspecified means all collections.", + "description": "Which collection ids to export. Unspecified means all collections. Each collection id in this list must be unique.", "items": { "type": "string" }, @@ -2925,7 +2935,7 @@ "id": "GoogleFirestoreAdminV1ImportDocumentsRequest", "properties": { "collectionIds": { - "description": "Which collection ids to import. Unspecified means all collections included in the import.", + "description": "Which collection ids to import. Unspecified means all collections included in the import. Each collection id in this list must be unique.", "items": { "type": "string" }, @@ -3458,6 +3468,10 @@ "Sunday" ], "type": "string" + }, + "time": { + "$ref": "TimeOfDay", + "description": "Time of the day. If day is today, the first run will happen today if schedule creation time precedes time_of_day, and the next week otherwise." } }, "type": "object" @@ -4199,6 +4213,33 @@ }, "type": "object" }, + "TimeOfDay": { + "description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.", + "id": "TimeOfDay", + "properties": { + "hours": { + "description": "Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value \"24:00:00\" for scenarios like business closing time.", + "format": "int32", + "type": "integer" + }, + "minutes": { + "description": "Minutes of hour of day. Must be from 0 to 59.", + "format": "int32", + "type": "integer" + }, + "nanos": { + "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.", + "format": "int32", + "type": "integer" + }, + "seconds": { + "description": "Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "TransactionOptions": { "description": "Options for creating a new transaction.", "id": "TransactionOptions", diff --git a/discovery/googleapis/fitness__v1.json b/discovery/googleapis/fitness__v1.json index 4e774cbee..bc3a97e0b 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": "20240509", + "revision": "20240528", "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 12ab1a239..79abe07d9 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": "20240430", + "revision": "20240521", "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 5de0103bf..395c54f22 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": "20240508", + "revision": "20240515", "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 0ba5ab4ad..593af8f44 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": "20240508", + "revision": "20240515", "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 444675408..cac2a3636 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": "20240508", + "revision": "20240515", "rootUrl": "https://games.googleapis.com/", "servicePath": "", "title": "Google Play Game Services", diff --git a/discovery/googleapis/gkebackup__v1.json b/discovery/googleapis/gkebackup__v1.json index 10acb421f..e9ec3d070 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": "20240424", + "revision": "20240518", "rootUrl": "https://gkebackup.googleapis.com/", "servicePath": "", "title": "Backup for GKE API", @@ -1850,6 +1850,11 @@ "readOnly": true, "type": "string" }, + "permissiveMode": { + "description": "Output only. If false, Backup will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore. Inherited from the parent BackupPlan's permissive_mode value.", + "readOnly": true, + "type": "boolean" + }, "podCount": { "description": "Output only. The total number of Kubernetes Pods contained in the Backup.", "format": "int32", @@ -1955,6 +1960,10 @@ "description": "Optional. This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False", "type": "boolean" }, + "permissiveMode": { + "description": "Optional. If false, Backups will fail when Backup for GKE detects Kubernetes configuration that is non-standard or requires additional setup to restore. Default: False", + "type": "boolean" + }, "selectedApplications": { "$ref": "NamespacedNames", "description": "If set, include just the resources referenced by the listed ProtectedApplications." @@ -2286,6 +2295,27 @@ }, "type": "object" }, + "Filter": { + "description": "Defines the filter for `Restore`. This filter can be used to further refine the resource selection of the `Restore` beyond the coarse-grained scope defined in the `RestorePlan`. `exclusion_filters` take precedence over `inclusion_filters`. If a resource matches both `inclusion_filters` and `exclusion_filters`, it will not be restored.", + "id": "Filter", + "properties": { + "exclusionFilters": { + "description": "Optional. Excludes resources from restoration. If specified, a resource will not be restored if it matches any `ResourceSelector` of the `exclusion_filters`.", + "items": { + "$ref": "ResourceSelector" + }, + "type": "array" + }, + "inclusionFilters": { + "description": "Optional. Selects resources for restoration. If specified, only resources which match `inclusion_filters` will be selected for restoration. A resource will be selected if it matches any `ResourceSelector` of the `inclusion_filters`.", + "items": { + "$ref": "ResourceSelector" + }, + "type": "array" + } + }, + "type": "object" + }, "GetBackupIndexDownloadUrlResponse": { "description": "Response message for GetBackupIndexDownloadUrl.", "id": "GetBackupIndexDownloadUrlResponse", @@ -2397,6 +2427,21 @@ }, "type": "object" }, + "GroupKindDependency": { + "description": "Defines a dependency between two group kinds.", + "id": "GroupKindDependency", + "properties": { + "requiring": { + "$ref": "GroupKind", + "description": "Required. The requiring group kind requires that the other group kind be restored first." + }, + "satisfying": { + "$ref": "GroupKind", + "description": "Required. The satisfying group kind must be restored first in order to satisfy the dependency." + } + }, + "type": "object" + }, "ListBackupPlansResponse": { "description": "Response message for ListBackupPlans.", "id": "ListBackupPlansResponse", @@ -2721,6 +2766,32 @@ }, "type": "object" }, + "ResourceSelector": { + "description": "Defines a selector to identify a single or a group of resources. Conditions in the selector are optional, but at least one field should be set to a non-empty value. If a condition is not specified, no restrictions will be applied on that dimension. If more than one condition is specified, a resource will be selected if and only if all conditions are met.", + "id": "ResourceSelector", + "properties": { + "groupKind": { + "$ref": "GroupKind", + "description": "Optional. Selects resources using their Kubernetes GroupKinds. If specified, only resources of provided GroupKind will be selected." + }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Selects resources using Kubernetes [labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/). If specified, a resource will be selected if and only if the resource has all of the provided labels and all the label values match.", + "type": "object" + }, + "name": { + "description": "Optional. Selects resources using their resource names. If specified, only resources with the provided name will be selected.", + "type": "string" + }, + "namespace": { + "description": "Optional. Selects resources using their namespaces. This only applies to namespace scoped resources and cannot be used for selecting cluster scoped resources. If specified, only resources in the provided namespace will be selected. If not specified, the filter will apply to both cluster scoped and namespace scoped resources (e.g. name or label). The [Namespace](https://pkg.go.dev/k8s.io/api/core/v1#Namespace) resource itself will be restored if and only if any resources within the namespace are restored.", + "type": "string" + } + }, + "type": "object" + }, "Restore": { "description": "Represents both a request to Restore some portion of a Backup into a target GKE cluster and a record of the restore operation itself.", "id": "Restore", @@ -2755,6 +2826,10 @@ "readOnly": true, "type": "string" }, + "filter": { + "$ref": "Filter", + "description": "Optional. Immutable. Filters resources for `Restore`. If not specified, the scope of the restore will remain the same as defined in the `RestorePlan`. If this is specified, and no resources are matched by the `inclusion_filters` or everyting is excluded by the `exclusion_filters`, nothing will be restored. This filter can only be specified if the value of namespaced_resource_restore_mode is set to `MERGE_SKIP_ON_CONFLICT`, `MERGE_REPLACE_VOLUME_ON_CONFLICT` or `MERGE_REPLACE_ON_CONFLICT`." + }, "labels": { "additionalProperties": { "type": "string" @@ -2827,6 +2902,13 @@ "readOnly": true, "type": "string" }, + "volumeDataRestorePolicyOverrides": { + "description": "Optional. Immutable. Overrides the volume data restore policies selected in the Restore Config for override-scoped resources.", + "items": { + "$ref": "VolumeDataRestorePolicyOverride" + }, + "type": "array" + }, "volumesRestoredCount": { "description": "Output only. Number of volumes restored during the restore execution.", "format": "int32", @@ -2871,12 +2953,18 @@ "enum": [ "NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED", "DELETE_AND_RESTORE", - "FAIL_ON_CONFLICT" + "FAIL_ON_CONFLICT", + "MERGE_SKIP_ON_CONFLICT", + "MERGE_REPLACE_VOLUME_ON_CONFLICT", + "MERGE_REPLACE_ON_CONFLICT" ], "enumDescriptions": [ "Unspecified (invalid).", "When conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered, this will first trigger a delete of the conflicting resource AND ALL OF ITS REFERENCED RESOURCES (e.g., all resources in the Namespace or all resources referenced by the ProtectedApplication) before restoring the resources from the Backup. This mode should only be used when you are intending to revert some portion of a cluster to an earlier state.", - "If conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered at the beginning of a restore process, the Restore will fail. If a conflict occurs during the restore process itself (e.g., because an out of band process creates conflicting resources), a conflict will be reported." + "If conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered at the beginning of a restore process, the Restore will fail. If a conflict occurs during the restore process itself (e.g., because an out of band process creates conflicting resources), a conflict will be reported.", + "This mode merges the backup and the target cluster and skips the conflicting resources. If a single resource to restore exists in the cluster before restoration, the resource will be skipped, otherwise it will be restored.", + "This mode merges the backup and the target cluster and skips the conflicting resources except volume data. If a PVC to restore already exists, this mode will restore/reconnect the volume without overwriting the PVC. It is similar to MERGE_SKIP_ON_CONFLICT except that it will apply the volume data policy for the conflicting PVCs: - RESTORE_VOLUME_DATA_FROM_BACKUP: restore data only and respect the reclaim policy of the original PV; - REUSE_VOLUME_HANDLE_FROM_BACKUP: reconnect and respect the reclaim policy of the original PV; - NO_VOLUME_DATA_RESTORATION: new provision and respect the reclaim policy of the original PV. Note that this mode could cause data loss as the original PV can be retained or deleted depending on its reclaim policy.", + "This mode merges the backup and the target cluster and replaces the conflicting resources with the ones in the backup. If a single resource to restore exists in the cluster before restoration, the resource will be replaced with the one from the backup. To replace an existing resource, the first attempt is to update the resource to match the one from the backup; if the update fails, the second attempt is to delete the resource and restore it from the backup. Note that this mode could cause data loss as it replaces the existing resources in the target cluster, and the original PV can be retained or deleted depending on its reclaim policy." ], "type": "string" }, @@ -2884,6 +2972,10 @@ "description": "Do not restore any namespaced resources if set to \"True\". Specifying this field to \"False\" is not allowed.", "type": "boolean" }, + "restoreOrder": { + "$ref": "RestoreOrder", + "description": "Optional. RestoreOrder contains custom ordering to use on a Restore." + }, "selectedApplications": { "$ref": "NamespacedNames", "description": "A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored." @@ -2921,6 +3013,27 @@ "For each PVC to be restored, create PVC without any particular action to restore data. In this case, the normal Kubernetes provisioning logic would kick in, and this would likely result in either dynamically provisioning blank PVs or binding to statically provisioned PVs." ], "type": "string" + }, + "volumeDataRestorePolicyBindings": { + "description": "Optional. A table that binds volumes by their scope to a restore policy. Bindings must have a unique scope. Any volumes not scoped in the bindings are subject to the policy defined in volume_data_restore_policy.", + "items": { + "$ref": "VolumeDataRestorePolicyBinding" + }, + "type": "array" + } + }, + "type": "object" + }, + "RestoreOrder": { + "description": "Allows customers to specify dependencies between resources that Backup for GKE can use to compute a resasonable restore order.", + "id": "RestoreOrder", + "properties": { + "groupKindDependencies": { + "description": "Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order.", + "items": { + "$ref": "GroupKindDependency" + }, + "type": "array" } }, "type": "object" @@ -3341,6 +3454,68 @@ }, "type": "object" }, + "VolumeDataRestorePolicyBinding": { + "description": "Binds resources in the scope to the given VolumeDataRestorePolicy.", + "id": "VolumeDataRestorePolicyBinding", + "properties": { + "policy": { + "description": "Required. The VolumeDataRestorePolicy to apply when restoring volumes in scope.", + "enum": [ + "VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED", + "RESTORE_VOLUME_DATA_FROM_BACKUP", + "REUSE_VOLUME_HANDLE_FROM_BACKUP", + "NO_VOLUME_DATA_RESTORATION" + ], + "enumDescriptions": [ + "Unspecified (illegal).", + "For each PVC to be restored, create a new underlying volume and PV from the corresponding VolumeBackup contained within the Backup.", + "For each PVC to be restored, attempt to reuse the original PV contained in the Backup (with its original underlying volume). This option is likely only usable when restoring a workload to its original cluster.", + "For each PVC to be restored, create PVC without any particular action to restore data. In this case, the normal Kubernetes provisioning logic would kick in, and this would likely result in either dynamically provisioning blank PVs or binding to statically provisioned PVs." + ], + "type": "string" + }, + "volumeType": { + "description": "The volume type, as determined by the PVC's bound PV, to apply the policy to.", + "enum": [ + "VOLUME_TYPE_UNSPECIFIED", + "GCE_PERSISTENT_DISK" + ], + "enumDescriptions": [ + "Default", + "Compute Engine Persistent Disk volume" + ], + "type": "string" + } + }, + "type": "object" + }, + "VolumeDataRestorePolicyOverride": { + "description": "Defines an override to apply a VolumeDataRestorePolicy for scoped resources.", + "id": "VolumeDataRestorePolicyOverride", + "properties": { + "policy": { + "description": "Required. The VolumeDataRestorePolicy to apply when restoring volumes in scope.", + "enum": [ + "VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED", + "RESTORE_VOLUME_DATA_FROM_BACKUP", + "REUSE_VOLUME_HANDLE_FROM_BACKUP", + "NO_VOLUME_DATA_RESTORATION" + ], + "enumDescriptions": [ + "Unspecified (illegal).", + "For each PVC to be restored, create a new underlying volume and PV from the corresponding VolumeBackup contained within the Backup.", + "For each PVC to be restored, attempt to reuse the original PV contained in the Backup (with its original underlying volume). This option is likely only usable when restoring a workload to its original cluster.", + "For each PVC to be restored, create PVC without any particular action to restore data. In this case, the normal Kubernetes provisioning logic would kick in, and this would likely result in either dynamically provisioning blank PVs or binding to statically provisioned PVs." + ], + "type": "string" + }, + "selectedPvcs": { + "$ref": "NamespacedNames", + "description": "A list of PVCs to apply the policy override to." + } + }, + "type": "object" + }, "VolumeRestore": { "description": "Represents the operation of restoring a volume from a VolumeBackup.", "id": "VolumeRestore", diff --git a/discovery/googleapis/gkehub__v1.json b/discovery/googleapis/gkehub__v1.json index 7832e17ce..2e8c7792a 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": "20240428", + "revision": "20240519", "rootUrl": "https://gkehub.googleapis.com/", "servicePath": "", "title": "GKE Hub API", @@ -4327,6 +4327,13 @@ "nextPageToken": { "description": "A token to request the next page of resources from the `ListMembershipBindings` method. The value of an empty string means that there are no more resources to return.", "type": "string" + }, + "unreachable": { + "description": "List of locations that could not be reached while fetching this list.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -5700,12 +5707,14 @@ "enum": [ "MODE_UNSPECIFIED", "DISABLED", - "BASIC" + "BASIC", + "ENTERPRISE" ], "enumDescriptions": [ "Default value not specified.", "Disables Security Posture features on the cluster.", - "Applies Security Posture features on the cluster." + "Applies Security Posture features on the cluster.", + "Applies the Security Posture off cluster Enterprise level features." ], "type": "string" }, diff --git a/discovery/googleapis/gmail__v1.json b/discovery/googleapis/gmail__v1.json index da831f6b6..47789b458 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": "20240429", + "revision": "20240527", "rootUrl": "https://gmail.googleapis.com/", "servicePath": "", "title": "Gmail API", @@ -158,11 +158,6 @@ "userId" ], "parameters": { - "temporaryEeccBypass": { - "default": "false", - "location": "query", - "type": "boolean" - }, "userId": { "default": "me", "description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", @@ -931,11 +926,6 @@ "repeated": true, "type": "string" }, - "temporaryEeccBypass": { - "default": "false", - "location": "query", - "type": "boolean" - }, "userId": { "default": "me", "description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", @@ -1142,11 +1132,6 @@ "location": "query", "type": "string" }, - "temporaryEeccBypass": { - "default": "false", - "location": "query", - "type": "boolean" - }, "userId": { "default": "me", "description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", @@ -1344,11 +1329,6 @@ "required": true, "type": "string" }, - "temporaryEeccBypass": { - "default": "false", - "location": "query", - "type": "boolean" - }, "userId": { "default": "me", "description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", @@ -2915,11 +2895,6 @@ "repeated": true, "type": "string" }, - "temporaryEeccBypass": { - "default": "false", - "location": "query", - "type": "boolean" - }, "userId": { "default": "me", "description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", @@ -2980,11 +2955,6 @@ "location": "query", "type": "string" }, - "temporaryEeccBypass": { - "default": "false", - "location": "query", - "type": "boolean" - }, "userId": { "default": "me", "description": "The user's email address. The special value `me` can be used to indicate the authenticated user.", diff --git a/discovery/googleapis/gmailpostmastertools__v1.json b/discovery/googleapis/gmailpostmastertools__v1.json index 8dce7b16b..b9974d556 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": "20240508", + "revision": "20240528", "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 3d18dc153..2c6ecf664 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": "20240506", + "revision": "20240520", "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 425a59b22..d441d8bd5 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": "20240429", + "revision": "20240521", "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 f90c35e4c..8e793b943 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": "20240503", + "revision": "20240523", "rootUrl": "https://homegraph.googleapis.com/", "servicePath": "", "title": "HomeGraph API", diff --git a/discovery/googleapis/iam__v1.json b/discovery/googleapis/iam__v1.json index 3f649f6cd..25f2333d4 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": "20240502", + "revision": "20240523", "rootUrl": "https://iam.googleapis.com/", "servicePath": "", "title": "Identity and Access Management (IAM) API", @@ -973,7 +973,7 @@ ], "parameters": { "parent": { - "description": "The `parent` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`projects.roles.create()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/create): `projects/{PROJECT_ID}`. This method creates project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [`organizations.roles.create()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/create): `organizations/{ORGANIZATION_ID}`. This method creates organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", + "description": "The `parent` parameter's value depends on the target resource for the request, namely [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [projects.roles.create](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/create): `projects/{PROJECT_ID}`. This method creates project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [organizations.roles.create](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/create): `organizations/{ORGANIZATION_ID}`. This method creates organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -1007,7 +1007,7 @@ "type": "string" }, "name": { - "description": "The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.delete()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/delete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.delete()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/delete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", + "description": "The `name` parameter's value depends on the target resource for the request, namely [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [projects.roles.delete](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/delete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [organizations.roles.delete](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/delete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", "location": "path", "pattern": "^organizations/[^/]+/roles/[^/]+$", "required": true, @@ -1032,7 +1032,7 @@ ], "parameters": { "name": { - "description": "The `name` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/roles/get): `roles/{ROLE_NAME}`. This method returns results from all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` * [`projects.roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/get): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/get): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", + "description": "The `name` parameter's value depends on the target resource for the request, namely [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/roles/get): `roles/{ROLE_NAME}`. This method returns results from all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` * [projects.roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/get): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [organizations.roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/get): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", "location": "path", "pattern": "^organizations/[^/]+/roles/[^/]+$", "required": true, @@ -1068,7 +1068,7 @@ "type": "string" }, "parent": { - "description": "The `parent` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/roles/list): An empty string. This method doesn't require a resource; it simply returns all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles` * [`projects.roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/list): `projects/{PROJECT_ID}`. This method lists all project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [`organizations.roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/list): `organizations/{ORGANIZATION_ID}`. This method lists all organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", + "description": "The `parent` parameter's value depends on the target resource for the request, namely [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/roles/list): An empty string. This method doesn't require a resource; it simply returns all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles` * [projects.roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/list): `projects/{PROJECT_ID}`. This method lists all project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [organizations.roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/list): `organizations/{ORGANIZATION_ID}`. This method lists all organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", "location": "path", "pattern": "^organizations/[^/]+$", "required": true, @@ -1111,7 +1111,7 @@ ], "parameters": { "name": { - "description": "The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.patch()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/patch): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.patch()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/patch): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", + "description": "The `name` parameter's value depends on the target resource for the request, namely [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [projects.roles.patch](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/patch): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [organizations.roles.patch](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/patch): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", "location": "path", "pattern": "^organizations/[^/]+/roles/[^/]+$", "required": true, @@ -1145,7 +1145,7 @@ ], "parameters": { "name": { - "description": "The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.undelete()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/undelete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.undelete()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/undelete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", + "description": "The `name` parameter's value depends on the target resource for the request, namely [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [projects.roles.undelete](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/undelete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [organizations.roles.undelete](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/undelete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", "location": "path", "pattern": "^organizations/[^/]+/roles/[^/]+$", "required": true, @@ -1196,7 +1196,7 @@ "oauthClients": { "methods": { "create": { - "description": "Creates a new OauthClient. You cannot reuse the name of a deleted oauth client until 30 days after deletion.", + "description": "Creates a new OauthClient. You cannot reuse the name of a deleted OauthClient until 30 days after deletion.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/oauthClients", "httpMethod": "POST", "id": "iam.projects.locations.oauthClients.create", @@ -1205,12 +1205,12 @@ ], "parameters": { "oauthClientId": { - "description": "Required. The ID to use for the oauth client, which becomes the final component of the resource name. This value should be a string of 6 to 63 lowercase letters, digits, or hyphens. It must start with a letter, and cannot have a trailing hyphen. The prefix `gcp-` is reserved for use by Google, and may not be specified.", + "description": "Required. The ID to use for the OauthClient, which becomes the final component of the resource name. This value should be a string of 6 to 63 lowercase letters, digits, or hyphens. It must start with a letter, and cannot have a trailing hyphen. The prefix `gcp-` is reserved for use by Google, and may not be specified.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The parent resource to create the oauth client in. The only supported location is `global`.", + "description": "Required. The parent resource to create the OauthClient in. The only supported location is `global`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -1229,7 +1229,7 @@ ] }, "delete": { - "description": "Deletes a OauthClient. You cannot use a deleted oauth client. However, deletion does not revoke access tokens that have already been issued; they continue to grant access. Deletion does revoke refresh tokens that have already been issued; They cannot be used to renew an access token. If the oauth client is undeleted, and the refresh tokens are not expired, they are valid for token exchange again. You can undelete an oauth client for 30 days. After 30 days, deletion is permanent. You cannot update deleted oauth clients. However, you can view and list them.", + "description": "Deletes an OauthClient. You cannot use a deleted OauthClient. However, deletion does not revoke access tokens that have already been issued. They continue to grant access. Deletion does revoke refresh tokens that have already been issued. They cannot be used to renew an access token. If the OauthClient is undeleted, and the refresh tokens are not expired, they are valid for token exchange again. You can undelete an OauthClient for 30 days. After 30 days, deletion is permanent. You cannot update deleted OauthClients. However, you can view and list them.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/oauthClients/{oauthClientsId}", "httpMethod": "DELETE", "id": "iam.projects.locations.oauthClients.delete", @@ -1238,7 +1238,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the oauth client to delete. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}`.", + "description": "Required. The name of the OauthClient to delete. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/oauthClients/[^/]+$", "required": true, @@ -1263,7 +1263,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the oauth client to retrieve. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}`.", + "description": "Required. The name of the OauthClient to retrieve. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/oauthClients/[^/]+$", "required": true, @@ -1279,7 +1279,7 @@ ] }, "list": { - "description": "Lists all non-deleted OauthClientss in a project. If `show_deleted` is set to `true`, then deleted oauth clients are also listed.", + "description": "Lists all non-deleted OauthClients in a project. If `show_deleted` is set to `true`, then deleted OauthClients are also listed.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/oauthClients", "httpMethod": "GET", "id": "iam.projects.locations.oauthClients.list", @@ -1288,7 +1288,7 @@ ], "parameters": { "pageSize": { - "description": "Optional. The maximum number of oauth clients to return. If unspecified, at most 50 oauth clients will be returned. The maximum value is 100; values above 100 are truncated to 100.", + "description": "Optional. The maximum number of OauthClients to return. If unspecified, at most 50 OauthClients will be returned. The maximum value is 100; values above 100 are truncated to 100.", "format": "int32", "location": "query", "type": "integer" @@ -1299,14 +1299,14 @@ "type": "string" }, "parent": { - "description": "Required. The parent to list oauth clients for.", + "description": "Required. The parent to list OauthClients for.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" }, "showDeleted": { - "description": "Optional. Whether to return soft-deleted oauth clients.", + "description": "Optional. Whether to return soft-deleted OauthClients.", "location": "query", "type": "boolean" } @@ -1329,7 +1329,7 @@ ], "parameters": { "name": { - "description": "Immutable. The resource name of the oauth client. Format:`projects/{project}/locations/{location}/oauthClients/{oauth_client}`.", + "description": "Immutable. The resource name of the OauthClient. Format:`projects/{project}/locations/{location}/oauthClients/{oauth_client}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/oauthClients/[^/]+$", "required": true, @@ -1354,7 +1354,7 @@ ] }, "undelete": { - "description": "Undeletes a OauthClient, as long as it was deleted fewer than 30 days ago.", + "description": "Undeletes an OauthClient, as long as it was deleted fewer than 30 days ago.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/oauthClients/{oauthClientsId}:undelete", "httpMethod": "POST", "id": "iam.projects.locations.oauthClients.undelete", @@ -1363,7 +1363,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the oauth client to undelete. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}`.", + "description": "Required. The name of the OauthClient to undelete. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/oauthClients/[^/]+$", "required": true, @@ -1395,12 +1395,12 @@ ], "parameters": { "oauthClientCredentialId": { - "description": "Required. The ID to use for the oauth client credential, which becomes the final component of the resource name. This value should be 4-32 characters, and may contain the characters [a-z0-9-]. The prefix `gcp-` is reserved for use by Google, and may not be specified.", + "description": "Required. The ID to use for the OauthClientCredential, which becomes the final component of the resource name. This value should be 4-32 characters, and may contain the characters [a-z0-9-]. The prefix `gcp-` is reserved for use by Google, and may not be specified.", "location": "query", "type": "string" }, "parent": { - "description": "Required. The parent resource to create the oauth client Credential in.", + "description": "Required. The parent resource to create the OauthClientCredential in.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/oauthClients/[^/]+$", "required": true, @@ -1419,7 +1419,7 @@ ] }, "delete": { - "description": "Deletes a OauthClientCredential. Before deleting an oauth client credential, it should first be disabled.", + "description": "Deletes an OauthClientCredential. Before deleting an OauthClientCredential, it should first be disabled.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/oauthClients/{oauthClientsId}/credentials/{credentialsId}", "httpMethod": "DELETE", "id": "iam.projects.locations.oauthClients.credentials.delete", @@ -1428,7 +1428,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the oauth client credential to delete. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}`.", + "description": "Required. The name of the OauthClientCredential to delete. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/oauthClients/[^/]+/credentials/[^/]+$", "required": true, @@ -1453,7 +1453,7 @@ ], "parameters": { "name": { - "description": "Required. The name of the oauth client credential to retrieve. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}`.", + "description": "Required. The name of the OauthClientCredential to retrieve. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}`.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/oauthClients/[^/]+/credentials/[^/]+$", "required": true, @@ -1469,7 +1469,7 @@ ] }, "list": { - "description": "Lists all OauthClientCredentialss in a OauthClient.", + "description": "Lists all OauthClientCredentials in an OauthClient.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/oauthClients/{oauthClientsId}/credentials", "httpMethod": "GET", "id": "iam.projects.locations.oauthClients.credentials.list", @@ -1478,7 +1478,7 @@ ], "parameters": { "parent": { - "description": "Required. The parent to list oauth client credentials for.", + "description": "Required. The parent to list OauthClientCredentials for.", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/oauthClients/[^/]+$", "required": true, @@ -1503,7 +1503,7 @@ ], "parameters": { "name": { - "description": "Immutable. The resource name of the oauth client credential. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}`", + "description": "Immutable. The resource name of the OauthClientCredential. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/oauthClients/[^/]+/credentials/[^/]+$", "required": true, @@ -2273,7 +2273,7 @@ ], "parameters": { "parent": { - "description": "The `parent` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`projects.roles.create()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/create): `projects/{PROJECT_ID}`. This method creates project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [`organizations.roles.create()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/create): `organizations/{ORGANIZATION_ID}`. This method creates organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", + "description": "The `parent` parameter's value depends on the target resource for the request, namely [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [projects.roles.create](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/create): `projects/{PROJECT_ID}`. This method creates project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [organizations.roles.create](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/create): `organizations/{ORGANIZATION_ID}`. This method creates organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -2307,7 +2307,7 @@ "type": "string" }, "name": { - "description": "The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.delete()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/delete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.delete()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/delete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", + "description": "The `name` parameter's value depends on the target resource for the request, namely [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [projects.roles.delete](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/delete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [organizations.roles.delete](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/delete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", "location": "path", "pattern": "^projects/[^/]+/roles/[^/]+$", "required": true, @@ -2332,7 +2332,7 @@ ], "parameters": { "name": { - "description": "The `name` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/roles/get): `roles/{ROLE_NAME}`. This method returns results from all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` * [`projects.roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/get): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/get): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", + "description": "The `name` parameter's value depends on the target resource for the request, namely [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/roles/get): `roles/{ROLE_NAME}`. This method returns results from all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` * [projects.roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/get): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [organizations.roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/get): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", "location": "path", "pattern": "^projects/[^/]+/roles/[^/]+$", "required": true, @@ -2368,7 +2368,7 @@ "type": "string" }, "parent": { - "description": "The `parent` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/roles/list): An empty string. This method doesn't require a resource; it simply returns all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles` * [`projects.roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/list): `projects/{PROJECT_ID}`. This method lists all project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [`organizations.roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/list): `organizations/{ORGANIZATION_ID}`. This method lists all organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", + "description": "The `parent` parameter's value depends on the target resource for the request, namely [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/roles/list): An empty string. This method doesn't require a resource; it simply returns all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles` * [projects.roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/list): `projects/{PROJECT_ID}`. This method lists all project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [organizations.roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/list): `organizations/{ORGANIZATION_ID}`. This method lists all organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", "location": "path", "pattern": "^projects/[^/]+$", "required": true, @@ -2411,7 +2411,7 @@ ], "parameters": { "name": { - "description": "The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.patch()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/patch): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.patch()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/patch): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", + "description": "The `name` parameter's value depends on the target resource for the request, namely [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [projects.roles.patch](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/patch): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [organizations.roles.patch](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/patch): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", "location": "path", "pattern": "^projects/[^/]+/roles/[^/]+$", "required": true, @@ -2445,7 +2445,7 @@ ], "parameters": { "name": { - "description": "The `name` parameter's value depends on the target resource for the request, namely [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`projects.roles.undelete()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/undelete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.undelete()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/undelete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", + "description": "The `name` parameter's value depends on the target resource for the request, namely [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [projects.roles.undelete](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/undelete): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [organizations.roles.undelete](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/undelete): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", "location": "path", "pattern": "^projects/[^/]+/roles/[^/]+$", "required": true, @@ -2602,7 +2602,7 @@ ] }, "getIamPolicy": { - "description": "Gets the IAM policy that is attached to a ServiceAccount. This IAM policy specifies which principals have access to the service account. This method does not tell you whether the service account has been granted any roles on other resources. To check whether a service account has role grants on a resource, use the `getIamPolicy` method for that resource. For example, to view the role grants for a project, call the Resource Manager API's [`projects.getIamPolicy`](https://cloud.google.com/resource-manager/reference/rest/v1/projects/getIamPolicy) method.", + "description": "Gets the IAM policy that is attached to a ServiceAccount. This IAM policy specifies which principals have access to the service account. This method does not tell you whether the service account has been granted any roles on other resources. To check whether a service account has role grants on a resource, use the `getIamPolicy` method for that resource. For example, to view the role grants for a project, call the Resource Manager API's [projects.getIamPolicy](https://cloud.google.com/resource-manager/reference/rest/v1/projects/getIamPolicy) method.", "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}:getIamPolicy", "httpMethod": "POST", "id": "iam.projects.serviceAccounts.getIamPolicy", @@ -2726,7 +2726,7 @@ }, "signBlob": { "deprecated": true, - "description": "**Note:** This method is deprecated. Use the [`signBlob`](https://cloud.google.com/iam/help/rest-credentials/v1/projects.serviceAccounts/signBlob) method in the IAM Service Account Credentials API instead. If you currently use this method, see the [migration guide](https://cloud.google.com/iam/help/credentials/migrate-api) for instructions. Signs a blob using the system-managed private key for a ServiceAccount.", + "description": "**Note:** This method is deprecated. Use the [signBlob](https://cloud.google.com/iam/help/rest-credentials/v1/projects.serviceAccounts/signBlob) method in the IAM Service Account Credentials API instead. If you currently use this method, see the [migration guide](https://cloud.google.com/iam/help/credentials/migrate-api) for instructions. Signs a blob using the system-managed private key for a ServiceAccount.", "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}:signBlob", "httpMethod": "POST", "id": "iam.projects.serviceAccounts.signBlob", @@ -2755,7 +2755,7 @@ }, "signJwt": { "deprecated": true, - "description": "**Note:** This method is deprecated. Use the [`signJwt`](https://cloud.google.com/iam/help/rest-credentials/v1/projects.serviceAccounts/signJwt) method in the IAM Service Account Credentials API instead. If you currently use this method, see the [migration guide](https://cloud.google.com/iam/help/credentials/migrate-api) for instructions. Signs a JSON Web Token (JWT) using the system-managed private key for a ServiceAccount.", + "description": "**Note:** This method is deprecated. Use the [signJwt](https://cloud.google.com/iam/help/rest-credentials/v1/projects.serviceAccounts/signJwt) method in the IAM Service Account Credentials API instead. If you currently use this method, see the [migration guide](https://cloud.google.com/iam/help/credentials/migrate-api) for instructions. Signs a JSON Web Token (JWT) using the system-managed private key for a ServiceAccount.", "flatPath": "v1/projects/{projectsId}/serviceAccounts/{serviceAccountsId}:signJwt", "httpMethod": "POST", "id": "iam.projects.serviceAccounts.signJwt", @@ -3134,7 +3134,7 @@ ], "parameters": { "name": { - "description": "The `name` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [`roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/roles/get): `roles/{ROLE_NAME}`. This method returns results from all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` * [`projects.roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/get): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [`organizations.roles.get()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/get): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", + "description": "The `name` parameter's value depends on the target resource for the request, namely [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `name` value format is described below: * [roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/roles/get): `roles/{ROLE_NAME}`. This method returns results from all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` * [projects.roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/get): `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the project level. Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` * [organizations.roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/get): `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) that have been created at the organization level. Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", "location": "path", "pattern": "^roles/[^/]+$", "required": true, @@ -3168,7 +3168,7 @@ "type": "string" }, "parent": { - "description": "The `parent` parameter's value depends on the target resource for the request, namely [`roles`](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [`projects`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [`organizations`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [`roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/roles/list): An empty string. This method doesn't require a resource; it simply returns all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles` * [`projects.roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/list): `projects/{PROJECT_ID}`. This method lists all project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [`organizations.roles.list()`](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/list): `organizations/{ORGANIZATION_ID}`. This method lists all organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", + "description": "The `parent` parameter's value depends on the target resource for the request, namely [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), or [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). Each resource type's `parent` value format is described below: * [roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/roles/list): An empty string. This method doesn't require a resource; it simply returns all [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) in IAM. Example request URL: `https://iam.googleapis.com/v1/roles` * [projects.roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/list): `projects/{PROJECT_ID}`. This method lists all project-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * [organizations.roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/list): `organizations/{ORGANIZATION_ID}`. This method lists all organization-level [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). Example request URL: `https://iam.googleapis.com/v1/organizations/{ORGANIZATION_ID}/roles` Note: Wildcard (*) values are invalid; you must specify a complete project ID or organization ID.", "location": "query", "type": "string" }, @@ -3869,7 +3869,7 @@ "id": "ListOauthClientCredentialsResponse", "properties": { "oauthClientCredentials": { - "description": "A list of oauth client credentials.", + "description": "A list of OauthClientCredentials.", "items": { "$ref": "OauthClientCredential" }, @@ -3887,7 +3887,7 @@ "type": "string" }, "oauthClients": { - "description": "A list of oauth clients.", + "description": "A list of OauthClients.", "items": { "$ref": "OauthClient" }, @@ -4055,11 +4055,11 @@ "type": "object" }, "OauthClient": { - "description": "Represents an oauth client. Used to access Google Cloud resources on behave of a user by using OAuth2 Protocol to obtain an access token from Google Cloud Platform.", + "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.", "id": "OauthClient", "properties": { "allowedGrantTypes": { - "description": "Required. The list of OAuth grant type is allowed for the oauth client.", + "description": "Required. The list of OAuth grant types is allowed for the OauthClient.", "items": { "enum": [ "GRANT_TYPE_UNSPECIFIED", @@ -4067,9 +4067,9 @@ "REFRESH_TOKEN_GRANT" ], "enumDescriptions": [ - "should not be used", - "authorization code grant", - "refresh token grant" + "Should not be used.", + "Authorization code grant.", + "Refresh token grant." ], "type": "string" }, @@ -4083,55 +4083,55 @@ "type": "array" }, "allowedScopes": { - "description": "Required. The list of scopes that the oauth client 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. * `openid`: Associate you with your personal info on Google Cloud. * `email`: See your Google Cloud Account email address.", "items": { "type": "string" }, "type": "array" }, "clientId": { - "description": "Output only. The system-generated oauth client id.", + "description": "Output only. The system-generated OauthClient id.", "readOnly": true, "type": "string" }, "clientType": { - "description": "Immutable. The type of oauth client. either public or private.", + "description": "Immutable. The type of OauthClient. Either public or private. For private clients, the client secret can be managed using the dedicated OauthClientCredential resource.", "enum": [ "CLIENT_TYPE_UNSPECIFIED", "PUBLIC_CLIENT", "CONFIDENTIAL_CLIENT" ], "enumDescriptions": [ - "should not be used", - "public client has no secret", - "private client" + "Should not be used.", + "Public client has no secret.", + "Private client." ], "type": "string" }, "description": { - "description": "Optional. A user-specified description of the oauth client. Cannot exceed 256 characters.", + "description": "Optional. A user-specified description of the OauthClient. Cannot exceed 256 characters.", "type": "string" }, "disabled": { - "description": "Optional. Whether the oauth client is disabled. You cannot use a disabled oauth client for login.", + "description": "Optional. Whether the OauthClient is disabled. You cannot use a disabled OAuth client.", "type": "boolean" }, "displayName": { - "description": "Optional. A user-specified display name of the oauth client. Cannot exceed 32 characters.", + "description": "Optional. A user-specified display name of the OauthClient. Cannot exceed 32 characters.", "type": "string" }, "expireTime": { - "description": "Output only. Time after which the oauth client will be permanently purged and cannot be recovered.", + "description": "Output only. Time after which the OauthClient will be permanently purged and cannot be recovered.", "format": "google-datetime", "readOnly": true, "type": "string" }, "name": { - "description": "Immutable. The resource name of the oauth client. Format:`projects/{project}/locations/{location}/oauthClients/{oauth_client}`.", + "description": "Immutable. The resource name of the OauthClient. Format:`projects/{project}/locations/{location}/oauthClients/{oauth_client}`.", "type": "string" }, "state": { - "description": "Output only. The state of the oauth client.", + "description": "Output only. The state of the OauthClient.", "enum": [ "STATE_UNSPECIFIED", "ACTIVE", @@ -4139,8 +4139,8 @@ ], "enumDescriptions": [ "Default value. This value is unused.", - "The oauth client is active.", - "The oauth client is soft-deleted. Soft-deleted oauth client is permanently deleted after approximately 30 days unless restored via UndeleteOauthClient." + "The OauthClient is active.", + "The OauthClient is soft-deleted. Soft-deleted OauthClient is permanently deleted after approximately 30 days unless restored via `UndeleteOauthClient`." ], "readOnly": true, "type": "string" @@ -4149,24 +4149,24 @@ "type": "object" }, "OauthClientCredential": { - "description": "Represents an oauth client credential. Used to authenticate an oauth client while accessing Google Cloud resources on behalf of a user by using OAuth2 Protocol.", + "description": "Represents an OauthClientCredential. Used to authenticate an OauthClient while accessing Google Cloud resources on behalf of a user by using OAuth 2.0 Protocol.", "id": "OauthClientCredential", "properties": { "clientSecret": { - "description": "Output only. The system-generated oauth client secret.", + "description": "Output only. The system-generated OAuth client secret. The client secret must be stored securely. If the client secret is leaked, you must delete and re-create the client credential. To learn more, see [OAuth client and credential security risks and mitigations](https://cloud.google.com/iam/docs/workforce-oauth-app#security)", "readOnly": true, "type": "string" }, "disabled": { - "description": "Optional. Whether the oauth client credential is disabled. You cannot use a disabled oauth client credential for OAuth.", + "description": "Optional. Whether the OauthClientCredential is disabled. You cannot use a disabled OauthClientCredential.", "type": "boolean" }, "displayName": { - "description": "Optional. A user-specified display name of the oauth client credential Cannot exceed 32 characters.", + "description": "Optional. A user-specified display name of the OauthClientCredential. Cannot exceed 32 characters.", "type": "string" }, "name": { - "description": "Immutable. The resource name of the oauth client credential. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}`", + "description": "Immutable. The resource name of the OauthClientCredential. Format: `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}`", "type": "string" } }, diff --git a/discovery/googleapis/iam__v2.json b/discovery/googleapis/iam__v2.json index 8b0980a23..e09d9e18c 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": "20240502", + "revision": "20240523", "rootUrl": "https://iam.googleapis.com/", "servicePath": "", "title": "Identity and Access Management (IAM) API", diff --git a/discovery/googleapis/iamcredentials__v1.json b/discovery/googleapis/iamcredentials__v1.json index a1b306736..8fc5b8044 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": "20240430", + "revision": "20240515", "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 e48c433be..6a85106ac 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": "20240506", + "revision": "20240527", "rootUrl": "https://iap.googleapis.com/", "servicePath": "", "title": "Cloud Identity-Aware Proxy API", @@ -476,7 +476,7 @@ ], "parameters": { "name": { - "description": "Required. Immutable. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-).", + "description": "Identifier. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-).", "location": "path", "pattern": "^projects/[^/]+/iap_tunnel/locations/[^/]+/destGroups/[^/]+$", "required": true, @@ -712,15 +712,15 @@ "properties": { "allowedDomainsSettings": { "$ref": "AllowedDomainsSettings", - "description": "Settings to configure and enable allowed domains." + "description": "Optional. Settings to configure and enable allowed domains." }, "corsSettings": { "$ref": "CorsSettings", - "description": "Configuration to allow cross-origin requests via IAP." + "description": "Optional. Configuration to allow cross-origin requests via IAP." }, "gcipSettings": { "$ref": "GcipSettings", - "description": "GCIP claims and endpoint configurations for 3p identity providers." + "description": "Optional. GCIP claims and endpoint configurations for 3p identity providers." }, "identitySources": { "description": "Optional. Identity sources that IAP can use to authenticate the end user. Only one identity source can be configured.", @@ -739,15 +739,15 @@ }, "oauthSettings": { "$ref": "OAuthSettings", - "description": "Settings to configure IAP's OAuth behavior." + "description": "Optional. Settings to configure IAP's OAuth behavior." }, "policyDelegationSettings": { "$ref": "PolicyDelegationSettings", - "description": "Settings to configure Policy delegation for apps hosted in tenant projects. INTERNAL_ONLY." + "description": "Optional. Settings to configure Policy delegation for apps hosted in tenant projects. INTERNAL_ONLY." }, "reauthSettings": { "$ref": "ReauthSettings", - "description": "Settings to configure reauthentication policies in IAP." + "description": "Optional. Settings to configure reauthentication policies in IAP." }, "workforceIdentitySettings": { "$ref": "WorkforceIdentitySettings", @@ -761,14 +761,14 @@ "id": "AllowedDomainsSettings", "properties": { "domains": { - "description": "List of trusted domains.", + "description": "Optional. List of trusted domains.", "items": { "type": "string" }, "type": "array" }, "enable": { - "description": "Configuration for customers to opt in for the feature.", + "description": "Optional. Configuration for customers to opt in for the feature.", "type": "boolean" } }, @@ -780,11 +780,11 @@ "properties": { "accessDeniedPageSettings": { "$ref": "AccessDeniedPageSettings", - "description": "Customization for Access Denied page." + "description": "Optional. Customization for Access Denied page." }, "attributePropagationSettings": { "$ref": "AttributePropagationSettings", - "description": "Settings to configure attribute propagation." + "description": "Optional. Settings to configure attribute propagation." }, "cookieDomain": { "description": "The Domain value to set for cookies generated by IAP. This value is not validated by the API, but will be ignored at runtime if invalid.", @@ -792,7 +792,7 @@ }, "csmSettings": { "$ref": "CsmSettings", - "description": "Settings to configure IAP's behavior for a service mesh." + "description": "Optional. Settings to configure IAP's behavior for a service mesh." } }, "type": "object" @@ -802,15 +802,15 @@ "id": "AttributePropagationSettings", "properties": { "enable": { - "description": "Whether the provided attribute propagation settings should be evaluated on user requests. If set to true, attributes returned from the expression will be propagated in the set output credentials.", + "description": "Optional. Whether the provided attribute propagation settings should be evaluated on user requests. If set to true, attributes returned from the expression will be propagated in the set output credentials.", "type": "boolean" }, "expression": { - "description": "Raw string CEL expression. Must return a list of attributes. A maximum of 45 attributes can be selected. Expressions can select different attribute types from `attributes`: `attributes.saml_attributes`, `attributes.iap_attributes`. The following functions are supported: - filter `.filter(, )`: Returns a subset of `` where `` is true for every item. - in ` in `: Returns true if `` contains ``. - selectByName `.selectByName()`: Returns the attribute in `` with the given `` name, otherwise returns empty. - emitAs `.emitAs()`: Sets the `` name field to the given `` for propagation in selected output credentials. - strict `.strict()`: Ignores the `x-goog-iap-attr-` prefix for the provided `` when propagating with the `HEADER` output credential, such as request headers. - append `.append()` OR `.append()`: Appends the provided `` or `` to the end of ``. Example expression: `attributes.saml_attributes.filter(x, x.name in ['test']).append(attributes.iap_attributes.selectByName('exact').emitAs('custom').strict())`", + "description": "Optional. Raw string CEL expression. Must return a list of attributes. A maximum of 45 attributes can be selected. Expressions can select different attribute types from `attributes`: `attributes.saml_attributes`, `attributes.iap_attributes`. The following functions are supported: - filter `.filter(, )`: Returns a subset of `` where `` is true for every item. - in ` in `: Returns true if `` contains ``. - selectByName `.selectByName()`: Returns the attribute in `` with the given `` name, otherwise returns empty. - emitAs `.emitAs()`: Sets the `` name field to the given `` for propagation in selected output credentials. - strict `.strict()`: Ignores the `x-goog-iap-attr-` prefix for the provided `` when propagating with the `HEADER` output credential, such as request headers. - append `.append()` OR `.append()`: Appends the provided `` or `` to the end of ``. Example expression: `attributes.saml_attributes.filter(x, x.name in ['test']).append(attributes.iap_attributes.selectByName('exact').emitAs('custom').strict())`", "type": "string" }, "outputCredentials": { - "description": "Which output credentials attributes selected by the CEL expression should be propagated in. All attributes will be fully duplicated in each selected output credential.", + "description": "Optional. Which output credentials attributes selected by the CEL expression should be propagated in. All attributes will be fully duplicated in each selected output credential.", "items": { "enum": [ "OUTPUT_CREDENTIALS_UNSPECIFIED", @@ -938,7 +938,7 @@ "type": "string" }, "tenantIds": { - "description": "GCIP tenant ids that are linked to the IAP resource. tenant_ids could be a string beginning with a number character to indicate authenticating with GCIP tenant flow, or in the format of _ to indicate authenticating with GCIP agent flow. If agent flow is used, tenant_ids should only contain one single element, while for tenant flow, tenant_ids can contain multiple elements.", + "description": "Optional. GCIP tenant ids that are linked to the IAP resource. tenant_ids could be a string beginning with a number character to indicate authenticating with GCIP tenant flow, or in the format of _ to indicate authenticating with GCIP agent flow. If agent flow is used, tenant_ids should only contain one single element, while for tenant flow, tenant_ids can contain multiple elements.", "items": { "type": "string" }, @@ -976,11 +976,11 @@ "properties": { "accessSettings": { "$ref": "AccessSettings", - "description": "Top level wrapper for all access related setting in IAP" + "description": "Optional. Top level wrapper for all access related setting in IAP" }, "applicationSettings": { "$ref": "ApplicationSettings", - "description": "Top level wrapper for all application related settings in IAP" + "description": "Optional. Top level wrapper for all application related settings in IAP" }, "name": { "description": "Required. The resource name of the IAP protected resource.", @@ -1089,7 +1089,7 @@ "type": "string" }, "programmaticClients": { - "description": "List of client ids allowed to use IAP programmatically.", + "description": "Optional. List of client ids allowed to use IAP programmatically.", "items": { "type": "string" }, @@ -1158,7 +1158,7 @@ "type": "string" }, "type": { - "description": "Resource type. Types are defined in IAM's .service files. Valid values for type might be 'gce', 'gcs', 'project', 'account' etc.", + "description": "Resource type. Types are defined in IAM's .service files. Valid values for type might be 'storage_buckets', 'compute_instances', 'resourcemanager_customers', 'billing_accounts', etc.", "type": "string" } }, @@ -1169,7 +1169,7 @@ "id": "ReauthSettings", "properties": { "maxAge": { - "description": "Reauth session lifetime, how long before a user has to reauthenticate again.", + "description": "Optional. Reauth session lifetime, how long before a user has to reauthenticate again.", "format": "google-duration", "type": "string" }, @@ -1199,7 +1199,7 @@ "type": "string" }, "policyType": { - "description": "How IAP determines the effective policy in cases of hierarchical policies. Policies are merged from higher in the hierarchy to lower in the hierarchy.", + "description": "Optional. How IAP determines the effective policy in cases of hierarchical policies. Policies are merged from higher in the hierarchy to lower in the hierarchy.", "enum": [ "POLICY_TYPE_UNSPECIFIED", "MINIMUM", @@ -1298,28 +1298,28 @@ "id": "TunnelDestGroup", "properties": { "cidrs": { - "description": "Unordered list. List of CIDRs that this group applies to.", + "description": "Optional. Unordered list. List of CIDRs that this group applies to.", "items": { "type": "string" }, "type": "array" }, "fqdns": { - "description": "Unordered list. List of FQDNs that this group applies to.", + "description": "Optional. Unordered list. List of FQDNs that this group applies to.", "items": { "type": "string" }, "type": "array" }, "name": { - "description": "Required. Immutable. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-).", + "description": "Identifier. Identifier for the TunnelDestGroup. Must be unique within the project and contain only lower case letters (a-z) and dashes (-).", "type": "string" } }, "type": "object" }, "ValidateIapAttributeExpressionResponse": { - "description": "API requires a return message, but currently all response strings will fit in the status and public message. In the future, this response can hold AST validation info.", + "description": "IAP Expression Linter endpoint returns empty response body.", "id": "ValidateIapAttributeExpressionResponse", "properties": {}, "type": "object" diff --git a/discovery/googleapis/identitytoolkit__v1.json b/discovery/googleapis/identitytoolkit__v1.json index 65087642a..c52eed868 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": "20240501", + "revision": "20240520", "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 871f9d803..5894d2e85 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": "20240501", + "revision": "20240520", "rootUrl": "https://identitytoolkit.googleapis.com/", "servicePath": "", "title": "Identity Toolkit API", diff --git a/discovery/googleapis/ids__v1.json b/discovery/googleapis/ids__v1.json index 8e86e2679..2fd0633d6 100644 --- a/discovery/googleapis/ids__v1.json +++ b/discovery/googleapis/ids__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20231203", + "revision": "20240514", "rootUrl": "https://ids.googleapis.com/", "servicePath": "", "title": "Cloud IDS API", @@ -636,14 +636,14 @@ "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." }, "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding.", + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", "items": { "type": "string" }, "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" } }, @@ -701,6 +701,16 @@ "description": "Required. The fully qualified URL of the network to which the IDS Endpoint is attached.", "type": "string" }, + "satisfiesPzi": { + "description": "Output only. [Output Only] Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Output only. [Output Only] Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, "severity": { "description": "Required. Lowest threat severity that this endpoint will alert on.", "enum": [ diff --git a/discovery/googleapis/indexing__v3.json b/discovery/googleapis/indexing__v3.json index 9f2ab0318..258ec6c29 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": "20240423", + "revision": "20240521", "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 34bf1fe05..fc70bd141 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": "20240505", + "revision": "20240519", "rootUrl": "https://integrations.googleapis.com/", "servicePath": "", "title": "Application Integration API", @@ -4935,6 +4935,10 @@ "format": "int32", "type": "integer" }, + "retryCondition": { + "description": "Optional. The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.", + "type": "string" + }, "retryStrategy": { "description": "Defines what happens to the task upon failure.", "enum": [ @@ -10141,7 +10145,6 @@ "type": "boolean" }, "executionId": { - "deprecated": true, "description": "Optional. The id of the ON_HOLD execution to be resumed.", "type": "string" }, @@ -10488,6 +10491,10 @@ "description": "Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a `retry_strategy` of NONE will be applied).", "id": "GoogleCloudIntegrationsV1alphaFailurePolicy", "properties": { + "condition": { + "description": "Optional. The string condition that will be evaluated to determine if the task should be retried with this failure policy.", + "type": "string" + }, "intervalTime": { "description": "Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. Defines the initial interval in seconds for backoff.", "format": "google-datetime", diff --git a/discovery/googleapis/keep__v1.json b/discovery/googleapis/keep__v1.json index fe448fd0f..366c08d4d 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": "20240430", + "revision": "20240521", "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 c767ae339..1351aaf20 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": "20240505", + "revision": "20240526", "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 a070267b1..5efdf5940 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": "20240505", + "revision": "20240526", "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 4063169e2..fb27c9b2d 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": "20240505", + "revision": "20240526", "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 9b61eb059..021c041ed 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": "20240505", + "revision": "20240526", "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 af0a287dd..ce40db427 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": "20240508", + "revision": "20240528", "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 1188571fd..9429faf9f 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": "20240504", + "revision": "20240524", "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 59fa4dca8..e4f837150 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": "20240508", + "revision": "20240528", "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 82b4c1960..8e4968ef4 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": "20240426", + "revision": "20240503", "rootUrl": "https://logging.googleapis.com/", "servicePath": "", "title": "Cloud Logging API", @@ -9557,6 +9557,11 @@ "description": "Required. The client-assigned metric identifier. Examples: \"error_count\", \"nginx/requests\".Metric identifiers are limited to 100 characters and can include only the following characters: A-Z, a-z, 0-9, and the special characters _-.,+!*',()%/. The forward-slash character (/) denotes a hierarchy of name pieces, and it cannot be the first character of the name.This field is the [METRIC_ID] part of a metric resource name in the format \"projects/PROJECT_ID/metrics/METRIC_ID\". Example: If the resource name of a metric is \"projects/my-project/metrics/nginx%2Frequests\", this field's value is \"nginx/requests\".", "type": "string" }, + "resourceName": { + "description": "Output only. The resource name of the metric: \"projects/[PROJECT_ID]/metrics/[METRIC_ID]\" ", + "readOnly": true, + "type": "string" + }, "updateTime": { "description": "Output only. The last update timestamp of the metric.This field may not be present for older metrics.", "format": "google-datetime", diff --git a/discovery/googleapis/looker__v1.json b/discovery/googleapis/looker__v1.json index 3c80600ee..c6924f3bf 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": "20240425", + "revision": "20240516", "rootUrl": "https://looker.googleapis.com/", "servicePath": "", "title": "Looker (Google Cloud core) API", diff --git a/discovery/googleapis/manufacturers__v1.json b/discovery/googleapis/manufacturers__v1.json index 06d04281f..b8d2be16b 100644 --- a/discovery/googleapis/manufacturers__v1.json +++ b/discovery/googleapis/manufacturers__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240416", + "revision": "20240524", "rootUrl": "https://manufacturers.googleapis.com/", "servicePath": "", "title": "Manufacturer Center API", diff --git a/discovery/googleapis/memcache__v1.json b/discovery/googleapis/memcache__v1.json index 9d0be7b58..8bfe98cbd 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": "20240418", + "revision": "20240502", "rootUrl": "https://memcache.googleapis.com/", "servicePath": "", "title": "Cloud Memorystore for Memcached API", diff --git a/discovery/googleapis/metastore__v1.json b/discovery/googleapis/metastore__v1.json index 8e1c34b6c..364136cdc 100644 --- a/discovery/googleapis/metastore__v1.json +++ b/discovery/googleapis/metastore__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240426", + "revision": "20240516", "rootUrl": "https://metastore.googleapis.com/", "servicePath": "", "title": "Dataproc Metastore API", @@ -1212,6 +1212,134 @@ } } }, + "databases": { + "methods": { + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/databases/{databasesId}:getIamPolicy", + "httpMethod": "GET", + "id": "metastore.projects.locations.services.databases.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/databases/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "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}/services/{servicesId}/databases/{databasesId}:setIamPolicy", + "httpMethod": "POST", + "id": "metastore.projects.locations.services.databases.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/databases/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "tables": { + "methods": { + "getIamPolicy": { + "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/databases/{databasesId}/tables/{tablesId}:getIamPolicy", + "httpMethod": "GET", + "id": "metastore.projects.locations.services.databases.tables.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "options.requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy.Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected.Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset.The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1.To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/databases/[^/]+/tables/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:getIamPolicy", + "response": { + "$ref": "Policy" + }, + "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}/services/{servicesId}/databases/{databasesId}/tables/{tablesId}:setIamPolicy", + "httpMethod": "POST", + "id": "metastore.projects.locations.services.databases.tables.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/services/[^/]+/databases/[^/]+/tables/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, "metadataImports": { "methods": { "create": { @@ -1622,6 +1750,31 @@ }, "type": "object" }, + "CustomRegionMetadata": { + "description": "Metadata about a custom region. This is only populated if the region is a custom region. For single/multi regions, it will be empty.", + "id": "CustomRegionMetadata", + "properties": { + "optionalReadOnlyRegions": { + "description": "The read-only regions for this custom region.", + "items": { + "type": "string" + }, + "type": "array" + }, + "requiredReadWriteRegions": { + "description": "The read-write regions for this custom region.", + "items": { + "type": "string" + }, + "type": "array" + }, + "witnessRegion": { + "description": "The Spanner witness region for this custom region.", + "type": "string" + } + }, + "type": "object" + }, "DataCatalogConfig": { "description": "Specifies how metastore metadata should be integrated with the Data Catalog service.", "id": "DataCatalogConfig", @@ -2128,6 +2281,13 @@ "description": "Metadata about the service in a location.", "id": "LocationMetadata", "properties": { + "customRegionMetadata": { + "description": "Possible configurations supported if the current region is a custom region.", + "items": { + "$ref": "CustomRegionMetadata" + }, + "type": "array" + }, "multiRegionMetadata": { "$ref": "MultiRegionMetadata", "description": "The multi-region metadata if the current region is a multi-region." @@ -2352,7 +2512,7 @@ "type": "object" }, "MultiRegionMetadata": { - "description": "The metadata for the multi-region that includes the constituent regions. The metadata is only populated if the region is multi-region. For single region, it will be empty.", + "description": "The metadata for the multi-region that includes the constituent regions. The metadata is only populated if the region is multi-region. For single region or custom dual region, it will be empty.", "id": "MultiRegionMetadata", "properties": { "constituentRegions": { @@ -2717,6 +2877,10 @@ ], "type": "string" }, + "deletionProtection": { + "description": "Optional. Indicates if the dataproc metastore should be protected against accidental deletions.", + "type": "boolean" + }, "encryptionConfig": { "$ref": "EncryptionConfig", "description": "Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated." diff --git a/discovery/googleapis/migrationcenter__v1.json b/discovery/googleapis/migrationcenter__v1.json index 78cb2c4f6..1ede4bcf2 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": "20240502", + "revision": "20240516", "rootUrl": "https://migrationcenter.googleapis.com/", "servicePath": "", "title": "Migration Center API", @@ -2668,7 +2668,7 @@ "id": "AssetPerformanceData", "properties": { "dailyResourceUsageAggregations": { - "description": "Daily resource usage aggregations. Contains all of the data available for an asset, up to the last 40 days. Aggregations are sorted from oldest to most recent.", + "description": "Daily resource usage aggregations. Contains all of the data available for an asset, up to the last 420 days. Aggregations are sorted from oldest to most recent.", "items": { "$ref": "DailyResourceUsageAggregation" }, diff --git a/discovery/googleapis/monitoring__v3.json b/discovery/googleapis/monitoring__v3.json index 338dc5972..8fefdad96 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": "20240505", + "revision": "20240513", "rootUrl": "https://monitoring.googleapis.com/", "servicePath": "", "title": "Cloud Monitoring API", diff --git a/discovery/googleapis/mybusinessaccountmanagement__v1.json b/discovery/googleapis/mybusinessaccountmanagement__v1.json index 6bace8fde..e96c8bd67 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": "20240508", + "revision": "20240529", "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 ed0a2681a..a75ea97f8 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": "20240508", + "revision": "20240529", "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 e2c95c213..16e963ba3 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": "20240508", + "revision": "20240529", "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 d68eeed6d..aa8ecbafe 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": "20240508", + "revision": "20240529", "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 e38170776..fe00b8f84 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": "20240508", + "revision": "20240529", "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 7a7279b51..73a5a294c 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": "20240508", + "revision": "20240529", "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 27b43ffc1..f8da25668 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": "20240508", + "revision": "20240529", "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 5bfe988d3..f9d368fcf 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": "20240424", + "revision": "20240508", "rootUrl": "https://networkconnectivity.googleapis.com/", "servicePath": "", "title": "Network Connectivity API", @@ -679,6 +679,45 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "patch": { + "description": "Updates the parameters of a Network Connectivity Center group.", + "flatPath": "v1/projects/{projectsId}/locations/global/hubs/{hubsId}/groups/{groupsId}", + "httpMethod": "PATCH", + "id": "networkconnectivity.projects.locations.global.hubs.groups.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Immutable. The name of the group. Group names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/global/hubs/[^/]+/groups/[^/]+$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. A 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 a request doesn't result in creation of duplicate commitments for at least 60 minutes. 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 to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Optional. In the case of an update to an existing group, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Group" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "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/global/hubs/{hubsId}/groups/{groupsId}:setIamPolicy", @@ -2852,6 +2891,20 @@ }, "type": "object" }, + "AutoAccept": { + "description": "The auto-accept setting for a group controls whether proposed spokes are automatically attached to the hub. If auto-accept is enabled, the spoke immediately is attached to the hub and becomes part of the group. In this case, the new spoke is in the ACTIVE state. If auto-accept is disabled, the spoke goes to the INACTIVE state, and it must be reviewed and accepted by a hub administrator.", + "id": "AutoAccept", + "properties": { + "autoAcceptProjects": { + "description": "A list of project ids or project numbers for which you want to enable auto-accept. The auto-accept setting is applied to spokes being created or updated in these projects.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "Binding": { "description": "Associates `members`, or principals, with a `role`.", "id": "Binding", @@ -3174,6 +3227,10 @@ "description": "A group represents a subset of spokes attached to a hub.", "id": "Group", "properties": { + "autoAccept": { + "$ref": "AutoAccept", + "description": "Optional. The auto-accept setting for this group." + }, "createTime": { "description": "Output only. The time the group was created.", "format": "google-datetime", @@ -3195,6 +3252,11 @@ "description": "Immutable. The name of the group. Group names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}`", "type": "string" }, + "routeTable": { + "description": "Output only. The name of the route table that corresponds to this group. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}`", + "readOnly": true, + "type": "string" + }, "state": { "description": "Output only. The current lifecycle state of this group.", "enum": [ @@ -3250,6 +3312,10 @@ "description": "An optional description of the hub.", "type": "string" }, + "exportPsc": { + "description": "Optional. Whether Private Service Connect transitivity is enabled for the hub. If true, Private Service Connect endpoints in VPC spokes attached to the hub are made accessible to other VPC spokes attached to the hub. The default value is false.", + "type": "boolean" + }, "labels": { "additionalProperties": { "type": "string" @@ -3261,6 +3327,32 @@ "description": "Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`", "type": "string" }, + "policyMode": { + "description": "Optional. The policy mode of this hub. This field can be either PRESET or CUSTOM. If unspecified, the policy_mode defaults to PRESET.", + "enum": [ + "POLICY_MODE_UNSPECIFIED", + "PRESET" + ], + "enumDescriptions": [ + "Policy mode is unspecified. It defaults to PRESET with preset_topology = MESH.", + "Hub uses one of the preset topologies." + ], + "type": "string" + }, + "presetTopology": { + "description": "Optional. The topology implemented in this hub. Currently, this field is only used when policy_mode = PRESET. The available preset topologies are MESH and STAR. If preset_topology is unspecified and policy_mode = PRESET, the preset_topology defaults to MESH. When policy_mode = CUSTOM, the preset_topology is set to PRESET_TOPOLOGY_UNSPECIFIED.", + "enum": [ + "PRESET_TOPOLOGY_UNSPECIFIED", + "MESH", + "STAR" + ], + "enumDescriptions": [ + "Preset topology is unspecified. When policy_mode = PRESET, it defaults to MESH.", + "Mesh topology is implemented. Group `default` is automatically created. All spokes in the hub are added to group `default`.", + "Star topology is implemented. Two groups, `center` and `edge`, are automatically created along with hub creation. Spokes have to join one of the groups during creation." + ], + "type": "string" + }, "routeTables": { "description": "Output only. The route tables that belong to this hub. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}` This field is read-only. Network Connectivity Center automatically populates it based on the route tables nested under the hub.", "items": { diff --git a/discovery/googleapis/networkmanagement__v1.json b/discovery/googleapis/networkmanagement__v1.json index 31909ea8a..319b2a51f 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": "20240424", + "revision": "20240515", "rootUrl": "https://networkmanagement.googleapis.com/", "servicePath": "", "title": "Network Management API", @@ -1017,10 +1017,18 @@ "description": "IP address of the target (if applicable).", "type": "string" }, + "pscGoogleApiTarget": { + "description": "PSC Google API target the packet is delivered to (if applicable).", + "type": "string" + }, "resourceUri": { "description": "URI of the resource that the packet is delivered to.", "type": "string" }, + "storageBucket": { + "description": "Name of the Cloud Storage Bucket the packet is delivered to (if applicable).", + "type": "string" + }, "target": { "description": "Target type where the packet is delivered to.", "enum": [ @@ -1038,7 +1046,8 @@ "PRIVATE_NETWORK", "CLOUD_FUNCTION", "APP_ENGINE_VERSION", - "CLOUD_RUN_REVISION" + "CLOUD_RUN_REVISION", + "GOOGLE_MANAGED_SERVICE" ], "enumDescriptions": [ "Target not specified.", @@ -1048,14 +1057,15 @@ "Target is a Google Kubernetes Engine cluster master.", "Target is a Cloud SQL instance.", "Target is a published service that uses [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).", - "Target is all Google APIs that use [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).", + "Target is Google APIs that use [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).", "Target is a VPC-SC that uses [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis).", "Target is a serverless network endpoint group.", "Target is a Cloud Storage bucket.", "Target is a private network. Used only for return traces.", "Target is a Cloud Function. Used only for return traces.", "Target is a App Engine service version. Used only for return traces.", - "Target is a Cloud Run revision. Used only for return traces." + "Target is a Cloud Run revision. Used only for return traces.", + "Target is a Google-managed service. Used only for return traces." ], "type": "string" } @@ -1130,7 +1140,8 @@ "DROPPED_INSIDE_PSC_SERVICE_PRODUCER", "LOAD_BALANCER_HAS_NO_PROXY_SUBNET", "CLOUD_NAT_NO_ADDRESSES", - "ROUTING_LOOP" + "ROUTING_LOOP", + "DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE" ], "enumDescriptions": [ "Cause is unspecified.", @@ -1194,7 +1205,8 @@ "Packet was dropped inside Private Service Connect service producer.", "Packet sent to a load balancer, which requires a proxy-only subnet and the subnet is not found.", "Packet sent to Cloud Nat without active NAT IPs.", - "Packet is stuck in a routing loop." + "Packet is stuck in a routing loop.", + "Packet is dropped due to an unspecified reason inside a Google-managed service. Used only for return traces." ], "type": "string" }, @@ -1555,19 +1567,35 @@ "id": "ForwardingRuleInfo", "properties": { "displayName": { - "description": "Name of a Compute Engine forwarding rule.", + "description": "Name of the forwarding rule.", + "type": "string" + }, + "loadBalancerName": { + "description": "Name of the load balancer the forwarding rule belongs to. Empty for forwarding rules not related to load balancers (like PSC forwarding rules).", "type": "string" }, "matchedPortRange": { - "description": "Port range defined in the forwarding rule that matches the test.", + "description": "Port range defined in the forwarding rule that matches the packet.", "type": "string" }, "matchedProtocol": { - "description": "Protocol defined in the forwarding rule that matches the test.", + "description": "Protocol defined in the forwarding rule that matches the packet.", "type": "string" }, "networkUri": { - "description": "Network URI. Only valid for Internal Load Balancer.", + "description": "Network URI.", + "type": "string" + }, + "pscGoogleApiTarget": { + "description": "PSC Google API target this forwarding rule targets (if applicable).", + "type": "string" + }, + "pscServiceAttachmentUri": { + "description": "URI of the PSC service attachment this forwarding rule targets (if applicable).", + "type": "string" + }, + "region": { + "description": "Region of the forwarding rule. Set only for regional forwarding rules.", "type": "string" }, "target": { @@ -1575,7 +1603,7 @@ "type": "string" }, "uri": { - "description": "URI of a Compute Engine forwarding rule.", + "description": "URI of the forwarding rule.", "type": "string" }, "vip": { @@ -2489,6 +2517,17 @@ }, "type": "object" }, + "ServerlessNegInfo": { + "description": "For display only. Metadata associated with the serverless network endpoint group backend.", + "id": "ServerlessNegInfo", + "properties": { + "negUri": { + "description": "URI of the serverless network endpoint group.", + "type": "string" + } + }, + "type": "object" + }, "SetIamPolicyRequest": { "description": "Request message for `SetIamPolicy` method.", "id": "SetIamPolicyRequest", @@ -2629,6 +2668,10 @@ "$ref": "RouteInfo", "description": "Display information of a Compute Engine route." }, + "serverlessNeg": { + "$ref": "ServerlessNegInfo", + "description": "Display information of a Serverless network endpoint group backend. Used only for return traces." + }, "state": { "description": "Each step is in one of the pre-defined states.", "enum": [ @@ -2644,6 +2687,7 @@ "START_FROM_CLOUD_RUN_REVISION", "START_FROM_STORAGE_BUCKET", "START_FROM_PSC_PUBLISHED_SERVICE", + "START_FROM_SERVERLESS_NEG", "APPLY_INGRESS_FIREWALL_RULE", "APPLY_EGRESS_FIREWALL_RULE", "APPLY_ROUTE", @@ -2684,6 +2728,7 @@ false, false, false, + false, true, true, false, @@ -2710,6 +2755,7 @@ "Initial state: packet originating from a Cloud Run revision. A CloudRunRevisionInfo is populated with starting revision information.", "Initial state: packet originating from a Storage Bucket. Used only for return traces. The storage_bucket information is populated.", "Initial state: packet originating from a published service that uses Private Service Connect. Used only for return traces.", + "Initial state: packet originating from a serverless network endpoint group backend. Used only for return traces. The serverless_neg information is populated.", "Config checking state: verify ingress firewall rule.", "Config checking state: verify egress firewall rule.", "Config checking state: verify route.", diff --git a/discovery/googleapis/networksecurity__v1.json b/discovery/googleapis/networksecurity__v1.json index 7284136cb..c032f3605 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": "20240320", + "revision": "20240510", "rootUrl": "https://networksecurity.googleapis.com/", "servicePath": "", "title": "Network Security API", @@ -4410,7 +4410,7 @@ "type": "object" }, "SecurityProfile": { - "description": "SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 9", + "description": "SecurityProfile is a resource that defines the behavior for one of many ProfileTypes. Next ID: 10", "id": "SecurityProfile", "properties": { "createTime": { @@ -4465,7 +4465,7 @@ "type": "object" }, "SecurityProfileGroup": { - "description": "SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 8", + "description": "SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes. Next ID: 9", "id": "SecurityProfileGroup", "properties": { "createTime": { diff --git a/discovery/googleapis/networkservices__v1.json b/discovery/googleapis/networkservices__v1.json index 95b42c111..7a6478d28 100644 --- a/discovery/googleapis/networkservices__v1.json +++ b/discovery/googleapis/networkservices__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240415", + "revision": "20240515", "rootUrl": "https://networkservices.googleapis.com/", "servicePath": "", "title": "Network Services API", @@ -3038,7 +3038,7 @@ "type": "string" }, "supportedEvents": { - "description": "Optional. A set of events during request or response processing for which this extension is called. This field is required for the `LbTrafficExtension` resource. It's not relevant for the `LbRouteExtension` resource.", + "description": "Optional. A set of events during request or response processing for which this extension is called. This field is required for the `LbTrafficExtension` resource. It must not be set for the `LbRouteExtension` resource.", "items": { "enum": [ "EVENT_TYPE_UNSPECIFIED", @@ -3082,7 +3082,7 @@ "type": "object" }, "Gateway": { - "description": "Gateway represents the configuration for a proxy, typically a load balancer. It captures the ip:port over which the services are exposed by the proxy, along with any policy configurations. Routes have reference to to Gateways to dictate how requests should be routed by this Gateway. Next id: 32", + "description": "Gateway represents the configuration for a proxy, typically a load balancer. It captures the ip:port over which the services are exposed by the proxy, along with any policy configurations. Routes have reference to to Gateways to dictate how requests should be routed by this Gateway. Next id: 33", "id": "Gateway", "properties": { "addresses": { @@ -4110,6 +4110,14 @@ ], "type": "string" }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. The metadata provided here will be included as part of the `metadata_context` (of type `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The metadata will be available under the namespace `com.google.lb_route_extension.`. The following variables are supported in the metadata Struct: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name.", + "type": "object" + }, "name": { "description": "Required. Identifier. Name of the `LbRouteExtension` resource in the following format: `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}`.", "type": "string" @@ -4172,6 +4180,14 @@ ], "type": "string" }, + "metadata": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. The metadata provided here will be included in the `ProcessingRequest.metadata_context.filter_metadata` map field. The metadata will be available under the key `com.google.lb_traffic_extension.`. The following variables are supported in the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified resource name.", + "type": "object" + }, "name": { "description": "Required. Identifier. Name of the `LbTrafficExtension` resource in the following format: `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}`.", "type": "string" diff --git a/discovery/googleapis/ondemandscanning__v1.json b/discovery/googleapis/ondemandscanning__v1.json index ca7e3b606..1cf847c84 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": "20240506", + "revision": "20240527", "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 2449a9640..726d838f5 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": "20240429", + "revision": "20240524", "rootUrl": "https://orgpolicy.googleapis.com/", "servicePath": "", "title": "Organization Policy API", @@ -980,10 +980,6 @@ "description": "The human readable name. Mutable.", "type": "string" }, - "googleManagedConstraint": { - "$ref": "GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint", - "description": "Defines this constraint as being a GoogleManagedConstraint." - }, "listConstraint": { "$ref": "GoogleCloudOrgpolicyV2ConstraintListConstraint", "description": "Defines this constraint as being a ListConstraint." @@ -1005,57 +1001,6 @@ "properties": {}, "type": "object" }, - "GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint": { - "description": "A Google managed constraint. This represents a subset of fields missing from Constraint proto that are required to describe CustomConstraint", - "id": "GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint", - "properties": { - "actionType": { - "description": "Allow or deny type.", - "enum": [ - "ACTION_TYPE_UNSPECIFIED", - "ALLOW", - "DENY" - ], - "enumDescriptions": [ - "Unspecified. Results in an error.", - "Allowed action type.", - "Deny action type." - ], - "type": "string" - }, - "condition": { - "description": "Org policy condition/expression. For example: `resource.instanceName.matches(\"[production|test]_.*_(\\d)+\")` or, `resource.management.auto_upgrade == true` The max length of the condition is 1000 characters.", - "type": "string" - }, - "methodTypes": { - "description": "All the operations being applied for this constraint.", - "items": { - "enum": [ - "METHOD_TYPE_UNSPECIFIED", - "CREATE", - "UPDATE", - "DELETE" - ], - "enumDescriptions": [ - "Unspecified. Results in an error.", - "Constraint applied when creating the resource.", - "Constraint applied when updating the resource.", - "Constraint applied when deleting the resource. Not supported yet." - ], - "type": "string" - }, - "type": "array" - }, - "resourceTypes": { - "description": "The resource instance type on which this policy applies. Format will be of the form : `/` Example: * `compute.googleapis.com/Instance`.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "GoogleCloudOrgpolicyV2ConstraintListConstraint": { "description": "A constraint that allows or disallows a list of string values, which are configured by an Organization Policy administrator with a policy.", "id": "GoogleCloudOrgpolicyV2ConstraintListConstraint", @@ -1109,14 +1054,16 @@ "CREATE", "UPDATE", "DELETE", - "REMOVE_GRANT" + "REMOVE_GRANT", + "GOVERN_TAGS" ], "enumDescriptions": [ "Unspecified. Results in an error.", "Constraint applied when creating the resource.", "Constraint applied when updating the resource.", "Constraint applied when deleting the resource. Not supported yet.", - "Constraint applied when removing an IAM grant." + "Constraint applied when removing an IAM grant.", + "Constraint applied when enforcing forced tagging." ], "type": "string" }, diff --git a/discovery/googleapis/osconfig__v1.json b/discovery/googleapis/osconfig__v1.json index 847d1c59f..6337582f1 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": "20240505", + "revision": "20240526", "rootUrl": "https://osconfig.googleapis.com/", "servicePath": "", "title": "OS Config API", @@ -446,6 +446,11 @@ "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" + }, + "requestId": { + "description": "Optional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a `request_id` is provided.", + "location": "query", + "type": "string" } }, "path": "v1/{+parent}/osPolicyAssignments", @@ -474,6 +479,11 @@ "pattern": "^projects/[^/]+/locations/[^/]+/osPolicyAssignments/[^/]+$", "required": true, "type": "string" + }, + "requestId": { + "description": "Optional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a `request_id` is provided.", + "location": "query", + "type": "string" } }, "path": "v1/{+name}", @@ -590,6 +600,11 @@ "name" ], "parameters": { + "allowMissing": { + "description": "Optional. If set to true, and the OS policy assignment is not found, a new OS policy assignment will be created. In this situation, `update_mask` is ignored.", + "location": "query", + "type": "boolean" + }, "name": { "description": "Resource name. Format: `projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}` This field is ignored when you create an OS policy assignment.", "location": "path", @@ -597,6 +612,11 @@ "required": true, "type": "string" }, + "requestId": { + "description": "Optional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a `request_id` is provided.", + "location": "query", + "type": "string" + }, "updateMask": { "description": "Optional. Field mask that controls which fields of the assignment should be updated.", "format": "google-fieldmask", diff --git a/discovery/googleapis/oslogin__v1.json b/discovery/googleapis/oslogin__v1.json index c389a063d..61be08afb 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": "20240504", + "revision": "20240519", "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 67f68299f..3cc64f63b 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": "20240507", + "revision": "20240528", "rootUrl": "https://pagespeedonline.googleapis.com/", "servicePath": "", "title": "PageSpeed Insights API", @@ -135,12 +135,20 @@ "PWA", "SEO" ], + "enumDeprecated": [ + false, + false, + false, + false, + true, + false + ], "enumDescriptions": [ "Default UNDEFINED category.", "Accessibility (a11y), category pertaining to a website's capacity to be accessible to all users.", "Best Practices, category pertaining to a website's conformance to web best practice.", "Performance, category pertaining to a website's performance.", - "Progressive Web App (PWA), category pertaining to a website's ability to be run as a PWA.", + "Progressive Web App (PWA), category pertaining to a website's ability to be run as a PWA. This is deprecated in Lighthouse's 12.0 release.", "Search Engine Optimization (SEO), category pertaining to a website's ability to be indexed by search engines." ], "location": "query", @@ -269,7 +277,8 @@ }, "pwa": { "$ref": "LighthouseCategoryV5", - "description": "The Progressive-Web-App (PWA) category, containing all pwa related audits." + "deprecated": true, + "description": "The Progressive-Web-App (PWA) category, containing all pwa related audits. This is deprecated in Lighthouse's 12.0 release." }, "seo": { "$ref": "LighthouseCategoryV5", diff --git a/discovery/googleapis/paymentsresellersubscription__v1.json b/discovery/googleapis/paymentsresellersubscription__v1.json index 51010d652..5949ecdce 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": "20240508", + "revision": "20240528", "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 08f00e740..42e5d1b34 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": "20240505", + "revision": "20240528", "rootUrl": "https://people.googleapis.com/", "servicePath": "", "title": "People API", diff --git a/discovery/googleapis/photoslibrary__v1.json b/discovery/googleapis/photoslibrary__v1.json index 88c2c2176..8bc148bbc 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": "20240509", + "revision": "20240529", "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 fa5d5de77..2865aea10 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": "20240508", + "revision": "20240528", "rootUrl": "https://places.googleapis.com/", "servicePath": "", "title": "Places API (New)", @@ -324,7 +324,7 @@ "type": "boolean" }, "includedPrimaryTypes": { - "description": "Optional. Included primary Place type (for example, \"restaurant\" or \"gas_station\") from https://developers.google.com/maps/documentation/places/web-service/place-types. A Place is only returned if its primary type is included in this list. Up to 5 values can be specified. If no types are specified, all Place types are returned.", + "description": "Optional. Included primary Place type (for example, \"restaurant\" or \"gas_station\") in Place Types (https://developers.google.com/maps/documentation/places/web-service/place-types), or only `(regions)`, or only `(cities)`. A Place is only returned if its primary type is included in this list. Up to 5 values can be specified. If no types are specified, all Place types are returned.", "items": { "type": "string" }, @@ -548,6 +548,133 @@ }, "type": "object" }, + "GoogleMapsPlacesV1ContentBlock": { + "description": "A block of content that can be served individually.", + "id": "GoogleMapsPlacesV1ContentBlock", + "properties": { + "content": { + "$ref": "GoogleTypeLocalizedText", + "description": "Content related to the topic." + }, + "references": { + "$ref": "GoogleMapsPlacesV1References", + "description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. References that are related to this block of content." + }, + "topic": { + "description": "The topic of the content, for example \"overview\" or \"restaurant\".", + "type": "string" + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1ContextualContent": { + "description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. Content that is contextual to the place query.", + "id": "GoogleMapsPlacesV1ContextualContent", + "properties": { + "justifications": { + "description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. Justifications for the place.", + "items": { + "$ref": "GoogleMapsPlacesV1ContextualContentJustification" + }, + "type": "array" + }, + "photos": { + "description": "Information (including references) about photos of this place, contexual to the place query.", + "items": { + "$ref": "GoogleMapsPlacesV1Photo" + }, + "type": "array" + }, + "reviews": { + "description": "List of reviews about this place, contexual to the place query.", + "items": { + "$ref": "GoogleMapsPlacesV1Review" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1ContextualContentJustification": { + "description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. Justifications for the place. Justifications answers the question of why a place could interest an end user.", + "id": "GoogleMapsPlacesV1ContextualContentJustification", + "properties": { + "businessAvailabilityAttributesJustification": { + "$ref": "GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification", + "description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details." + }, + "reviewJustification": { + "$ref": "GoogleMapsPlacesV1ContextualContentJustificationReviewJustification", + "description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details." + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification": { + "description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. BusinessAvailabilityAttributes justifications. This shows some attributes a business has that could interest an end user.", + "id": "GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification", + "properties": { + "delivery": { + "description": "If a place provides delivery.", + "type": "boolean" + }, + "dineIn": { + "description": "If a place provides dine-in.", + "type": "boolean" + }, + "takeout": { + "description": "If a place provides takeout.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1ContextualContentJustificationReviewJustification": { + "description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. User review justifications. This highlights a section of the user review that would interest an end user. For instance, if the search query is \"firewood pizza\", the review justification highlights the text relevant to the search query.", + "id": "GoogleMapsPlacesV1ContextualContentJustificationReviewJustification", + "properties": { + "highlightedText": { + "$ref": "GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText" + }, + "review": { + "$ref": "GoogleMapsPlacesV1Review", + "description": "The review that the highlighted text is generated from." + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText": { + "description": "The text highlighted by the justification. This is a subset of the review itself. The exact word to highlight is marked by the HighlightedTextRange. There could be several words in the text being highlighted.", + "id": "GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText", + "properties": { + "highlightedTextRanges": { + "description": "The list of the ranges of the highlighted text.", + "items": { + "$ref": "GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange" + }, + "type": "array" + }, + "text": { + "type": "string" + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange": { + "description": "The range of highlighted text.", + "id": "GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange", + "properties": { + "endIndex": { + "format": "int32", + "type": "integer" + }, + "startIndex": { + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleMapsPlacesV1EVChargeOptions": { "description": "Information about the EV Charge Station hosted in Place. Terminology follows https://afdc.energy.gov/fuels/electricity_infrastructure.html One port could charge one car at a time. One port has one or more connectors. One station has one or more ports.", "id": "GoogleMapsPlacesV1EVChargeOptions", @@ -769,6 +896,10 @@ "description": "Place allows dogs.", "type": "boolean" }, + "areaSummary": { + "$ref": "GoogleMapsPlacesV1PlaceAreaSummary", + "description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. AI-generated summary of the area that the place is in." + }, "attributions": { "description": "A set of data provider that must be shown with this result.", "items": { @@ -835,6 +966,10 @@ "$ref": "GoogleMapsPlacesV1FuelOptions", "description": "The most recent information about fuel options in a gas station. This information is updated regularly." }, + "generativeSummary": { + "$ref": "GoogleMapsPlacesV1PlaceGenerativeSummary", + "description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. AI-generated summary of the place." + }, "goodForChildren": { "description": "Place is good for children.", "type": "boolean" @@ -1101,6 +1236,20 @@ }, "type": "object" }, + "GoogleMapsPlacesV1PlaceAreaSummary": { + "description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. AI-generated summary of the area that the place is in.", + "id": "GoogleMapsPlacesV1PlaceAreaSummary", + "properties": { + "contentBlocks": { + "description": "Content blocks that compose the area summary. Each block has a separate topic about the area.", + "items": { + "$ref": "GoogleMapsPlacesV1ContentBlock" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleMapsPlacesV1PlaceAttribution": { "description": "Information about data providers of this place.", "id": "GoogleMapsPlacesV1PlaceAttribution", @@ -1116,6 +1265,25 @@ }, "type": "object" }, + "GoogleMapsPlacesV1PlaceGenerativeSummary": { + "description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. AI-generated summary of the place.", + "id": "GoogleMapsPlacesV1PlaceGenerativeSummary", + "properties": { + "description": { + "$ref": "GoogleTypeLocalizedText", + "description": "The detailed description of the place." + }, + "overview": { + "$ref": "GoogleTypeLocalizedText", + "description": "The overview of the place." + }, + "references": { + "$ref": "GoogleMapsPlacesV1References", + "description": "References that are used to generate the summary description." + } + }, + "type": "object" + }, "GoogleMapsPlacesV1PlaceOpeningHours": { "description": "Information about business hour of the place.", "id": "GoogleMapsPlacesV1PlaceOpeningHours", @@ -1328,6 +1496,27 @@ }, "type": "object" }, + "GoogleMapsPlacesV1References": { + "description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. Reference that the generative content is related to.", + "id": "GoogleMapsPlacesV1References", + "properties": { + "places": { + "description": "The list of resource names of the referenced places. This name can be used in other APIs that accept Place resource names.", + "items": { + "type": "string" + }, + "type": "array" + }, + "reviews": { + "description": "Reviews that serve as references.", + "items": { + "$ref": "GoogleMapsPlacesV1Review" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleMapsPlacesV1Review": { "description": "Information about a review of a place.", "id": "GoogleMapsPlacesV1Review", @@ -1481,7 +1670,8 @@ "description": "The region to search. This location serves as a restriction which means results outside given location will not be returned. Cannot be set along with location_bias." }, "maxResultCount": { - "description": "Maximum number of results to return. It must be between 1 and 20, inclusively. The default is 20. If the number is unset, it falls back to the upper limit. If the number is set to negative or exceeds the upper limit, an INVALID_ARGUMENT error is returned.", + "deprecated": true, + "description": "Deprecated: Use `page_size` instead. The maximum number of results per page that can be returned. If the number of available results is larger than `max_result_count`, a `next_page_token` is returned which can be passed to `page_token` to get the next page of results in subsequent requests. If 0 or no value is provided, a default of 20 is used. The maximum value is 20; values above 20 will be coerced to 20. Negative values will return an INVALID_ARGUMENT error. If both `max_result_count` and `page_size` are specified, `max_result_count` will be ignored.", "format": "int32", "type": "integer" }, @@ -1494,6 +1684,15 @@ "description": "Used to restrict the search to places that are currently open. The default is false.", "type": "boolean" }, + "pageSize": { + "description": "Optional. The maximum number of results per page that can be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be passed to `page_token` to get the next page of results in subsequent requests. If 0 or no value is provided, a default of 20 is used. The maximum value is 20; values above 20 will be set to 20. Negative values will return an INVALID_ARGUMENT error. If both `max_result_count` and `page_size` are specified, `max_result_count` will be ignored.", + "format": "int32", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous TextSearch call. Provide this to retrieve the subsequent page. When paginating, all parameters other than `page_token`, `page_size`, and `max_result_count` provided to TextSearch must match the initial call that provided the page token. Otherwise an INVALID_ARGUMENT error is returned.", + "type": "string" + }, "priceLevels": { "description": "Used to restrict the search to places that are marked as certain price levels. Users can choose any combinations of price levels. Default to select all price levels.", "items": { @@ -1619,6 +1818,17 @@ "description": "Response proto for SearchText. ", "id": "GoogleMapsPlacesV1SearchTextResponse", "properties": { + "contextualContents": { + "description": "Experimental: See https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more details. A list of contextual contents where each entry associates to the corresponding place in the same index in the places field. The contents that are relevant to the `text_query` in the request are preferred. If the contextual content is not available for one of the places, it will return non-contextual content. It will be empty only when the content is unavailable for this place. This list should have as many entries as the list of places if requested.", + "items": { + "$ref": "GoogleMapsPlacesV1ContextualContent" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.", + "type": "string" + }, "places": { "description": "A list of places that meet the user's text search criteria.", "items": { diff --git a/discovery/googleapis/playcustomapp__v1.json b/discovery/googleapis/playcustomapp__v1.json index 9c6decc83..a92c88378 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": "20240509", + "revision": "20240529", "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 0a671d2b8..b7a9d7ef1 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": "20240509", + "revision": "20240529", "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 413e901c5..367d06f3f 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": "20240505", + "revision": "20240526", "rootUrl": "https://policyanalyzer.googleapis.com/", "servicePath": "", "title": "Policy Analyzer API", diff --git a/discovery/googleapis/policysimulator__v1.json b/discovery/googleapis/policysimulator__v1.json index 6de61a47b..fbc3d70af 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": "20240505", + "revision": "20240526", "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 e0ded78dc..aef6774d7 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": "20240428", + "revision": "20240526", "rootUrl": "https://policytroubleshooter.googleapis.com/", "servicePath": "", "title": "Policy Troubleshooter API", diff --git a/discovery/googleapis/privateca__v1.json b/discovery/googleapis/privateca__v1.json index 90239dda0..9dfcfcc90 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": "20240424", + "revision": "20240515", "rootUrl": "https://privateca.googleapis.com/", "servicePath": "", "title": "Certificate Authority API", diff --git a/discovery/googleapis/publicca__v1.json b/discovery/googleapis/publicca__v1.json index cb06242e3..461c8f674 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": "20240506", + "revision": "20240527", "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 78746801b..f91226e0e 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": "20240430", + "revision": "20240514", "rootUrl": "https://pubsub.googleapis.com/", "servicePath": "", "title": "Cloud Pub/Sub API", diff --git a/discovery/googleapis/pubsublite__v1.json b/discovery/googleapis/pubsublite__v1.json index 61a213118..20c14bdd4 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": "20240426", + "revision": "20240510", "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 e3e90e06e..abc76aedd 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": "20240427", + "revision": "20240510", "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 48bc4aff3..416b62822 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": "20240507", + "revision": "20240528", "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 43846c3d4..af1c2ffca 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": "20240509", + "revision": "20240529", "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 aebc33782..6e3e50462 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": "20240505", + "revision": "20240526", "rootUrl": "https://recaptchaenterprise.googleapis.com/", "servicePath": "", "title": "reCAPTCHA Enterprise API", @@ -950,6 +950,11 @@ "readOnly": true, "type": "string" }, + "phoneFraudAssessment": { + "$ref": "GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment", + "description": "Output only. Assessment returned when a site key, a token, and a phone number as `user_id` are provided. Account defender and SMS toll fraud protection need to be enabled.", + "readOnly": true + }, "privatePasswordLeakVerification": { "$ref": "GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification", "description": "Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials." @@ -1544,6 +1549,18 @@ }, "type": "object" }, + "GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment": { + "description": "Assessment for Phone Fraud", + "id": "GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment", + "properties": { + "smsTollFraudVerdict": { + "$ref": "GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict", + "description": "Output only. Assessment of this phone event for risk of SMS toll fraud.", + "readOnly": true + } + }, + "type": "object" + }, "GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification": { "description": "Private password leak verification info.", "id": "GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification", @@ -1765,6 +1782,35 @@ }, "type": "object" }, + "GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict": { + "description": "Information about SMS toll fraud.", + "id": "GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict", + "properties": { + "reasons": { + "description": "Output only. Reasons contributing to the SMS toll fraud verdict.", + "items": { + "enum": [ + "SMS_TOLL_FRAUD_REASON_UNSPECIFIED", + "INVALID_PHONE_NUMBER" + ], + "enumDescriptions": [ + "Default unspecified reason", + "The provided phone number was invalid" + ], + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "risk": { + "description": "Output only. Probability of an SMS event being fraudulent. Values are from 0.0 (lowest) to 1.0 (highest).", + "format": "float", + "readOnly": true, + "type": "number" + } + }, + "type": "object" + }, "GoogleCloudRecaptchaenterpriseV1TestingOptions": { "description": "Options for user acceptance testing.", "id": "GoogleCloudRecaptchaenterpriseV1TestingOptions", diff --git a/discovery/googleapis/recommender__v1.json b/discovery/googleapis/recommender__v1.json index 978f08676..5f320e5fd 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": "20240505", + "revision": "20240519", "rootUrl": "https://recommender.googleapis.com/", "servicePath": "", "title": "Recommender API", diff --git a/discovery/googleapis/redis__v1.json b/discovery/googleapis/redis__v1.json index d62fca9db..7047d47cc 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": "20240425", + "revision": "20240524", "rootUrl": "https://redis.googleapis.com/", "servicePath": "", "title": "Google Cloud Memorystore for Redis API", @@ -1228,10 +1228,13 @@ ], "type": "string" }, - "recommendationSignalData": { - "$ref": "DatabaseResourceRecommendationSignalData", + "observabilityMetricData": { + "$ref": "ObservabilityMetricData", "description": "More feed data would be added in subsequent CLs" }, + "recommendationSignalData": { + "$ref": "DatabaseResourceRecommendationSignalData" + }, "resourceHealthSignalData": { "$ref": "DatabaseResourceHealthSignalData" }, @@ -1354,9 +1357,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", @@ -1405,7 +1416,11 @@ "SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT", "SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT", "SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT", - "SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES" + "SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES", + "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", + "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", + "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", + "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" ], "enumDeprecated": [ false, @@ -1474,6 +1489,18 @@ false, false, false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -1492,9 +1519,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).", @@ -1543,7 +1578,11 @@ "Performance impact of connections settings", "Performance impact of temporary tables settings", "Performance impact of transaction logs settings", - "Performance impact of high joins without indexes" + "Performance impact of high joins without indexes", + "Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", + "Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", + "Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", + "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible." ], "type": "string" }, @@ -1726,6 +1765,10 @@ "description": "The resource location. REQUIRED", "type": "string" }, + "machineConfiguration": { + "$ref": "MachineConfiguration", + "description": "Machine configuration for this resource." + }, "primaryResourceId": { "$ref": "DatabaseResourceId", "description": "Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional." @@ -1750,14 +1793,6 @@ "userLabelSet": { "$ref": "UserLabels", "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" @@ -1833,9 +1868,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", @@ -1884,7 +1927,11 @@ "SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT", "SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT", "SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT", - "SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES" + "SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES", + "SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES", + "SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS", + "SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET", + "SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET" ], "enumDeprecated": [ false, @@ -1953,6 +2000,18 @@ false, false, false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, false ], "enumDescriptions": [ @@ -1971,9 +2030,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).", @@ -2022,7 +2089,11 @@ "Performance impact of connections settings", "Performance impact of temporary tables settings", "Performance impact of transaction logs settings", - "Performance impact of high joins without indexes" + "Performance impact of high joins without indexes", + "Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.", + "Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.", + "Detects if database instance data exported to a Cloud Storage bucket outside of the organization.", + "Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible." ], "type": "string" } @@ -2618,6 +2689,23 @@ }, "type": "object" }, + "MachineConfiguration": { + "description": "MachineConfiguration describes the configuration of a machine specific to Database Resource.", + "id": "MachineConfiguration", + "properties": { + "cpuCount": { + "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. TODO(b/342344482, b/342346271) add proto validations again after bug fix.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "MaintenancePolicy": { "description": "Maintenance policy for an instance.", "id": "MaintenancePolicy", @@ -2708,6 +2796,53 @@ }, "type": "object" }, + "ObservabilityMetricData": { + "id": "ObservabilityMetricData", + "properties": { + "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", + "CPU_UTILIZATION", + "MEMORY_UTILIZATION", + "NETWORK_CONNECTIONS" + ], + "enumDescriptions": [ + "", + "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": { + "$ref": "TypedValue", + "description": "Required. Value of the metric type." + } + }, + "type": "object" + }, "Operation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "Operation", @@ -3246,6 +3381,27 @@ }, "type": "object" }, + "TypedValue": { + "description": "TypedValue represents the value of a metric type. It can either be a double, an int64, a string or a bool.", + "id": "TypedValue", + "properties": { + "boolValue": { + "type": "boolean" + }, + "doubleValue": { + "format": "double", + "type": "number" + }, + "int64Value": { + "format": "int64", + "type": "string" + }, + "stringValue": { + "type": "string" + } + }, + "type": "object" + }, "UpdateInfo": { "description": "Represents information about an updating cluster.", "id": "UpdateInfo", diff --git a/discovery/googleapis/reseller__v1.json b/discovery/googleapis/reseller__v1.json index 35285180f..21f18e33b 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": "20240507", + "revision": "20240528", "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 a102b7e2e..33f1c9d68 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": "20240508", + "revision": "20240528", "rootUrl": "https://resourcesettings.googleapis.com/", "servicePath": "", "title": "Resource Settings API", diff --git a/discovery/googleapis/retail__v2.json b/discovery/googleapis/retail__v2.json index 4bc2654d0..5d5af027d 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": "20240502", + "revision": "20240523", "rootUrl": "https://retail.googleapis.com/", "servicePath": "", "title": "Vertex AI Search for Retail API", @@ -5505,7 +5505,7 @@ "type": "string" }, "eventType": { - "description": "Required. User event type. Allowed values are: * `add-to-cart`: Products being added to cart. * `category-page-view`: Special pages such as sale or promotion pages viewed. * `detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage viewed. * `promotion-offered`: Promotion is offered to a user. * `promotion-not-offered`: Promotion is not offered to a user. * `purchase-complete`: User finishing a purchase. * `search`: Product search. * `shopping-cart-page-view`: User viewing a shopping cart.", + "description": "Required. User event type. Allowed values are: * `add-to-cart`: Products being added to cart. * `remove-from-cart`: Products being removed from cart. * `category-page-view`: Special pages such as sale or promotion pages viewed. * `detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage viewed. * `promotion-offered`: Promotion is offered to a user. * `promotion-not-offered`: Promotion is not offered to a user. * `purchase-complete`: User finishing a purchase. * `search`: Product search. * `shopping-cart-page-view`: User viewing a shopping cart.", "type": "string" }, "experimentIds": { diff --git a/discovery/googleapis/run__v1.json b/discovery/googleapis/run__v1.json index 8ecc53e94..3b9f8e76e 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": "20240503", + "revision": "20240510", "rootUrl": "https://run.googleapis.com/", "servicePath": "", "title": "Cloud Run Admin API", @@ -4174,6 +4174,26 @@ }, "type": "object" }, + "GoogleDevtoolsCloudbuildV1GCSLocation": { + "description": "Represents a storage location in Cloud Storage", + "id": "GoogleDevtoolsCloudbuildV1GCSLocation", + "properties": { + "bucket": { + "description": "Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements", + "type": "string" + }, + "generation": { + "description": "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. See https://cloud.google.com/storage/docs/naming#objectnames", + "type": "string" + } + }, + "type": "object" + }, "GoogleDevtoolsCloudbuildV1GitConfig": { "description": "GitConfig is a configuration for git operations.", "id": "GoogleDevtoolsCloudbuildV1GitConfig", @@ -4239,6 +4259,10 @@ "proxySecretVersionName": { "description": "SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port].", "type": "string" + }, + "proxySslCaInfo": { + "$ref": "GoogleDevtoolsCloudbuildV1GCSLocation", + "description": "Optional. Cloud Storage object storing the certificate to use with the HTTP proxy." } }, "type": "object" diff --git a/discovery/googleapis/run__v2.json b/discovery/googleapis/run__v2.json index 0c630f889..d837b3e24 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": "20240503", + "revision": "20240524", "rootUrl": "https://run.googleapis.com/", "servicePath": "", "title": "Cloud Run Admin API", @@ -527,7 +527,7 @@ ] }, "list": { - "description": "Lists Jobs.", + "description": "Lists Jobs. Results are sorted by creation time, descending.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/jobs", "httpMethod": "GET", "id": "run.projects.locations.jobs.list", @@ -815,7 +815,7 @@ ] }, "list": { - "description": "Lists Executions from a Job.", + "description": "Lists Executions from a Job. Results are sorted by creation time, descending.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}/executions", "httpMethod": "GET", "id": "run.projects.locations.jobs.executions.list", @@ -1186,7 +1186,7 @@ ] }, "list": { - "description": "Lists Services.", + "description": "Lists Services. Results are sorted by creation time, descending.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services", "httpMethod": "GET", "id": "run.projects.locations.services.list", @@ -1424,7 +1424,7 @@ ] }, "list": { - "description": "Lists Revisions from a given Service, or from a given location.", + "description": "Lists Revisions from a given Service, or from a given location. Results are sorted by creation time, descending.", "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/revisions", "httpMethod": "GET", "id": "run.projects.locations.services.revisions.list", @@ -2368,6 +2368,10 @@ "readOnly": true, "type": "boolean" }, + "runExecutionToken": { + "description": "A unique string used as a suffix for creating a new execution. The Job will become ready when the execution is successfully completed. The sum of job name and token length must be fewer than 63 characters.", + "type": "string" + }, "satisfiesPzs": { "description": "Output only. Reserved for future use.", "readOnly": true, @@ -3915,7 +3919,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", @@ -4075,7 +4079,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" }, @@ -4382,7 +4386,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": { @@ -4390,7 +4394,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" } }, @@ -4462,6 +4466,26 @@ }, "type": "object" }, + "GoogleDevtoolsCloudbuildV1GCSLocation": { + "description": "Represents a storage location in Cloud Storage", + "id": "GoogleDevtoolsCloudbuildV1GCSLocation", + "properties": { + "bucket": { + "description": "Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#requirements", + "type": "string" + }, + "generation": { + "description": "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. See https://cloud.google.com/storage/docs/naming#objectnames", + "type": "string" + } + }, + "type": "object" + }, "GoogleDevtoolsCloudbuildV1GitConfig": { "description": "GitConfig is a configuration for git operations.", "id": "GoogleDevtoolsCloudbuildV1GitConfig", @@ -4478,15 +4502,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" } }, @@ -4527,6 +4551,10 @@ "proxySecretVersionName": { "description": "SecretVersion resource of the HTTP proxy URL. The proxy URL should be in format protocol://@]proxyhost[:port].", "type": "string" + }, + "proxySslCaInfo": { + "$ref": "GoogleDevtoolsCloudbuildV1GCSLocation", + "description": "Optional. Cloud Storage object storing the certificate to use with the HTTP proxy." } }, "type": "object" @@ -4634,26 +4662,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": { @@ -4858,12 +4886,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": { @@ -4888,7 +4916,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": { @@ -4897,7 +4925,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/safebrowsing__v4.json b/discovery/googleapis/safebrowsing__v4.json index 634d26577..639f9c442 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": "20240505", + "revision": "20240519", "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 a338ff4e9..5c019467f 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": "20240505", + "revision": "20240519", "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 16413f913..73677676a 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": "20240429", + "revision": "20240528", "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 43af9262d..7a3ed7e62 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": "20240508", + "revision": "20240529", "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 ba69f8317..01b39c16e 100644 --- a/discovery/googleapis/secretmanager__v1.json +++ b/discovery/googleapis/secretmanager__v1.json @@ -30,6 +30,66 @@ "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.us-central1.rep.googleapis.com/", "location": "us-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.us-east1.rep.googleapis.com/", + "location": "us-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.us-central2.rep.googleapis.com/", + "location": "us-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.us-east5.rep.googleapis.com/", + "location": "us-east5" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.europe-west3.rep.googleapis.com/", + "location": "europe-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.europe-west8.rep.googleapis.com/", + "location": "europe-west8" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.europe-west9.rep.googleapis.com/", + "location": "europe-west9" } ], "icons": { @@ -42,7 +102,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240503", + "revision": "20240527", "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 5dc8da3b6..f0ce08bd9 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": "20240506", + "revision": "20240520", "rootUrl": "https://securitycenter.googleapis.com/", "servicePath": "", "title": "Security Command Center API", @@ -729,6 +729,39 @@ "resources": { "muteConfigs": { "methods": { + "create": { + "description": "Creates a mute config.", + "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/muteConfigs", + "httpMethod": "POST", + "id": "securitycenter.folders.locations.muteConfigs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "muteConfigId": { + "description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Resource name of the new mute configs's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "location": "path", + "pattern": "^folders/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/muteConfigs", + "request": { + "$ref": "GoogleCloudSecuritycenterV1MuteConfig" + }, + "response": { + "$ref": "GoogleCloudSecuritycenterV1MuteConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "delete": { "description": "Deletes an existing mute config.", "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", @@ -779,6 +812,42 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "list": { + "description": "Lists mute configs.", + "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/muteConfigs", + "httpMethod": "GET", + "id": "securitycenter.folders.locations.muteConfigs.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns the collection of mute configs. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", + "location": "path", + "pattern": "^folders/[^/]+/locations/[^/]+/muteConfigs$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}", + "response": { + "$ref": "ListMuteConfigsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "patch": { "description": "Updates a mute config.", "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", @@ -2436,6 +2505,39 @@ "resources": { "muteConfigs": { "methods": { + "create": { + "description": "Creates a mute config.", + "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs", + "httpMethod": "POST", + "id": "securitycenter.organizations.locations.muteConfigs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "muteConfigId": { + "description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Resource name of the new mute configs's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/muteConfigs", + "request": { + "$ref": "GoogleCloudSecuritycenterV1MuteConfig" + }, + "response": { + "$ref": "GoogleCloudSecuritycenterV1MuteConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "delete": { "description": "Deletes an existing mute config.", "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", @@ -2486,6 +2588,42 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "list": { + "description": "Lists mute configs.", + "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs", + "httpMethod": "GET", + "id": "securitycenter.organizations.locations.muteConfigs.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns the collection of mute configs. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/muteConfigs$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}", + "response": { + "$ref": "ListMuteConfigsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "patch": { "description": "Updates a mute config.", "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", @@ -3084,7 +3222,7 @@ ], "parameters": { "name": { - "description": "Name for the resource value config", + "description": "Name for the resource value configuration", "location": "path", "pattern": "^organizations/[^/]+/resourceValueConfigs/[^/]+$", "required": true, @@ -4826,6 +4964,39 @@ "resources": { "muteConfigs": { "methods": { + "create": { + "description": "Creates a mute config.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/muteConfigs", + "httpMethod": "POST", + "id": "securitycenter.projects.locations.muteConfigs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "muteConfigId": { + "description": "Required. Unique identifier provided by the client within the parent scope. It must consist of only lowercase letters, numbers, and hyphens, must start with a letter, must end with either a letter or a number, and must be 63 characters or less.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Resource name of the new mute configs's parent. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", or \"projects/[project_id]\".", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/muteConfigs", + "request": { + "$ref": "GoogleCloudSecuritycenterV1MuteConfig" + }, + "response": { + "$ref": "GoogleCloudSecuritycenterV1MuteConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "delete": { "description": "Deletes an existing mute config.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", @@ -4876,6 +5047,42 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "list": { + "description": "Lists mute configs.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/muteConfigs", + "httpMethod": "GET", + "id": "securitycenter.projects.locations.muteConfigs.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListMuteConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMuteConfigs` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns the collection of mute configs. Its format is \"organizations/[organization_id]\", \"folders/[folder_id]\", \"projects/[project_id]\".", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/muteConfigs$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}", + "response": { + "$ref": "ListMuteConfigsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "patch": { "description": "Updates a mute config.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", @@ -8071,7 +8278,7 @@ "type": "object" }, "GoogleCloudSecuritycenterV1ResourceValueConfig": { - "description": "A resource value config (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.", + "description": "A resource value configuration (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.", "id": "GoogleCloudSecuritycenterV1ResourceValueConfig", "properties": { "cloudProvider": { @@ -8091,28 +8298,28 @@ "type": "string" }, "createTime": { - "description": "Output only. Timestamp this resource value config was created.", + "description": "Output only. Timestamp this resource value configuration was created.", "format": "google-datetime", "readOnly": true, "type": "string" }, "description": { - "description": "Description of the resource value config.", + "description": "Description of the resource value configuration.", "type": "string" }, "name": { - "description": "Name for the resource value config", + "description": "Name for the resource value configuration", "type": "string" }, "resourceLabelsSelector": { "additionalProperties": { "type": "string" }, - "description": "List of resource labels to search for, evaluated with AND. E.g. \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" AND \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", + "description": "List of resource labels to search for, evaluated with AND. For example, \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" AND \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", "type": "object" }, "resourceType": { - "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with \"AND\" of other resources. E.g. \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", + "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with AND of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", "type": "string" }, "resourceValue": { @@ -8134,7 +8341,7 @@ "type": "string" }, "scope": { - "description": "Project or folder to scope this config to. For example, \"project/456\" would apply this config only to resources in \"project/456\" scope will be checked with \"AND\" of other resources.", + "description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope will be checked with AND of other resources.", "type": "string" }, "sensitiveDataProtectionMapping": { @@ -8142,14 +8349,14 @@ "description": "A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. \"bigquery.googleapis.com/Dataset\"." }, "tagValues": { - "description": "Required. Tag values combined with AND to check against. Values in the form \"tagValues/123\" E.g. [ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", + "description": "Required. Tag values combined with AND to check against. Values in the form \"tagValues/123\" Example: [ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", "items": { "type": "string" }, "type": "array" }, "updateTime": { - "description": "Output only. Timestamp this resource value config was last updated.", + "description": "Output only. Timestamp this resource value configuration was last updated.", "format": "google-datetime", "readOnly": true, "type": "string" @@ -10921,7 +11128,7 @@ "type": "object" }, "GoogleCloudSecuritycenterV2ResourceValueConfig": { - "description": "A resource value config (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.", + "description": "A resource value configuration (RVC) is a mapping configuration of user's resources to resource values. Used in Attack path simulations.", "id": "GoogleCloudSecuritycenterV2ResourceValueConfig", "properties": { "cloudProvider": { @@ -10941,28 +11148,28 @@ "type": "string" }, "createTime": { - "description": "Output only. Timestamp this resource value config was created.", + "description": "Output only. Timestamp this resource value configuration was created.", "format": "google-datetime", "readOnly": true, "type": "string" }, "description": { - "description": "Description of the resource value config.", + "description": "Description of the resource value configuration.", "type": "string" }, "name": { - "description": "Name for the resource value config", + "description": "Name for the resource value configuration", "type": "string" }, "resourceLabelsSelector": { "additionalProperties": { "type": "string" }, - "description": "List of resource labels to search for, evaluated with AND. E.g. \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" AND \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", + "description": "List of resource labels to search for, evaluated with AND. For example, \"resource_labels_selector\": {\"key\": \"value\", \"env\": \"prod\"} will match resources with labels \"key\": \"value\" AND \"env\": \"prod\" https://cloud.google.com/resource-manager/docs/creating-managing-labels", "type": "object" }, "resourceType": { - "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with \"AND\" of other resources. E.g. \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", + "description": "Apply resource_value only to resources that match resource_type. resource_type will be checked with AND of other resources. For example, \"storage.googleapis.com/Bucket\" with resource_value \"HIGH\" will apply \"HIGH\" value only to \"storage.googleapis.com/Bucket\" resources.", "type": "string" }, "resourceValue": { @@ -10984,7 +11191,7 @@ "type": "string" }, "scope": { - "description": "Project or folder to scope this config to. For example, \"project/456\" would apply this config only to resources in \"project/456\" scope will be checked with \"AND\" of other resources.", + "description": "Project or folder to scope this configuration to. For example, \"project/456\" would apply this configuration only to resources in \"project/456\" scope will be checked with AND of other resources.", "type": "string" }, "sensitiveDataProtectionMapping": { @@ -10992,14 +11199,14 @@ "description": "A mapping of the sensitivity on Sensitive Data Protection finding to resource values. This mapping can only be used in combination with a resource_type that is related to BigQuery, e.g. \"bigquery.googleapis.com/Dataset\"." }, "tagValues": { - "description": "Required. Tag values combined with AND to check against. Values in the form \"tagValues/123\" E.g. [ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", + "description": "Required. Tag values combined with AND to check against. Values in the form \"tagValues/123\" Example: [ \"tagValues/123\", \"tagValues/456\", \"tagValues/789\" ] https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing", "items": { "type": "string" }, "type": "array" }, "updateTime": { - "description": "Output only. Timestamp this resource value config was last updated.", + "description": "Output only. Timestamp this resource value configuration was last updated.", "format": "google-datetime", "readOnly": true, "type": "string" diff --git a/discovery/googleapis/serviceconsumermanagement__v1.json b/discovery/googleapis/serviceconsumermanagement__v1.json index 7d937bf1c..0c873edf7 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": "20240429", + "revision": "20240520", "rootUrl": "https://serviceconsumermanagement.googleapis.com/", "servicePath": "", "title": "Service Consumer Management API", diff --git a/discovery/googleapis/servicecontrol__v1.json b/discovery/googleapis/servicecontrol__v1.json index c091d4ba7..9bf51f279 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": "20240426", + "revision": "20240516", "rootUrl": "https://servicecontrol.googleapis.com/", "servicePath": "", "title": "Service Control API", diff --git a/discovery/googleapis/servicecontrol__v2.json b/discovery/googleapis/servicecontrol__v2.json index ba99568bc..214bb6173 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": "20240426", + "revision": "20240516", "rootUrl": "https://servicecontrol.googleapis.com/", "servicePath": "", "title": "Service Control API", diff --git a/discovery/googleapis/servicedirectory__v1.json b/discovery/googleapis/servicedirectory__v1.json index bb1dc11cc..a80832cdf 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": "20240503", + "revision": "20240516", "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 412827cda..8b5136afc 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": "20240503", + "revision": "20240517", "rootUrl": "https://servicemanagement.googleapis.com/", "servicePath": "", "title": "Service Management API", diff --git a/discovery/googleapis/servicenetworking__v1.json b/discovery/googleapis/servicenetworking__v1.json index 738043c8c..d2020bc9e 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": "20240507", + "revision": "20240528", "rootUrl": "https://servicenetworking.googleapis.com/", "servicePath": "", "title": "Service Networking API", @@ -3221,7 +3221,7 @@ "type": "string" }, "role": { - "description": "Required. Role to apply. Only allowlisted roles can be used at the specified granularity. The role must be one of the following: - 'roles/container.hostServiceAgentUser' applied on the shared VPC host project - 'roles/compute.securityAdmin' applied on the shared VPC host project - 'roles/compute.networkAdmin' applied on the shared VPC host project - 'roles/compute.xpnAdmin' applied on the shared VPC host project - 'roles/dns.admin' applied on the shared VPC host project", + "description": "Required. Role to apply. Only allowlisted roles can be used at the specified granularity. The role must be one of the following: - 'roles/container.hostServiceAgentUser' applied on the shared VPC host project - 'roles/compute.securityAdmin' applied on the shared VPC host project - 'roles/compute.networkAdmin' applied on the shared VPC host project - 'roles/compute.xpnAdmin' applied on the shared VPC host project - 'roles/dns.admin' applied on the shared VPC host project - 'roles/logging.admin' applied on the shared VPC host project", "type": "string" } }, diff --git a/discovery/googleapis/serviceusage__v1.json b/discovery/googleapis/serviceusage__v1.json index 6f03807f7..645affaf3 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": "20240429", + "revision": "20240520", "rootUrl": "https://serviceusage.googleapis.com/", "servicePath": "", "title": "Service Usage API", diff --git a/discovery/googleapis/sheets__v4.json b/discovery/googleapis/sheets__v4.json index 726ec357a..8c2cef14a 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": "20240507", + "revision": "20240521", "rootUrl": "https://sheets.googleapis.com/", "servicePath": "", "title": "Google Sheets API", @@ -5906,7 +5906,7 @@ "type": "object" }, "RefreshCancellationStatus": { - "description": "The status of a refresh cancellation. You can send cancel request to explicitly cancel one or multiple data source object refreshes.", + "description": "The status of a refresh cancellation. You can send a cancel request to explicitly cancel one or multiple data source object refreshes.", "id": "RefreshCancellationStatus", "properties": { "errorCode": { diff --git a/discovery/googleapis/slides__v1.json b/discovery/googleapis/slides__v1.json index bcbf9a953..26664b1b0 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": "20240430", + "revision": "20240521", "rootUrl": "https://slides.googleapis.com/", "servicePath": "", "title": "Google Slides API", diff --git a/discovery/googleapis/solar__v1.json b/discovery/googleapis/solar__v1.json index 87f5a5514..ed90510e7 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": "20240509", + "revision": "20240529", "rootUrl": "https://solar.googleapis.com/", "servicePath": "", "title": "Solar API", diff --git a/discovery/googleapis/sourcerepo__v1.json b/discovery/googleapis/sourcerepo__v1.json index cab8eb4cf..63dc59358 100644 --- a/discovery/googleapis/sourcerepo__v1.json +++ b/discovery/googleapis/sourcerepo__v1.json @@ -21,9 +21,9 @@ "baseUrl": "https://sourcerepo.googleapis.com/", "batchPath": "batch", "canonicalName": "Cloud Source Repositories", - "description": "Accesses source code repositories hosted by Google.", + "description": "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. ", "discoveryVersion": "v1", - "documentationLink": "https://cloud.google.com/source-repositories/docs/apis", + "documentationLink": "https://cloud.google.com/source-repositories/docs", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" @@ -34,7 +34,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240506", + "revision": "20240520", "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 0bba5e641..f03a9f471 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": "20240423", + "revision": "20240527", "rootUrl": "https://spanner.googleapis.com/", "servicePath": "", "title": "Cloud Spanner API", @@ -1400,6 +1400,35 @@ }, "databases": { "methods": { + "changequorum": { + "description": "ChangeQuorum is strictly restricted to databases that use dual region instance configurations. Initiates a background operation to change quorum a database from dual-region mode to single-region mode and vice versa. The returned long-running operation will have a name of the format `projects//instances//databases//operations/` and can be used to track execution of the ChangeQuorum. The metadata field type is ChangeQuorumMetadata. Authorization requires `spanner.databases.changequorum` permission on the resource database.", + "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}:changequorum", + "httpMethod": "POST", + "id": "spanner.projects.instances.databases.changequorum", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the database in which to apply the ChangeQuorum. Values are of the form `projects//instances//databases/`.", + "location": "path", + "pattern": "^projects/[^/]+/instances/[^/]+/databases/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:changequorum", + "request": { + "$ref": "ChangeQuorumRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/spanner.admin" + ] + }, "create": { "description": "Creates a new Cloud Spanner database and starts to prepare it for serving. The returned long-running operation will have a name of the format `/operations/` and can be used to track preparation of the database. The metadata field type is CreateDatabaseMetadata. The response field type is Database, if successful.", "flatPath": "v1/projects/{projectsId}/instances/{instancesId}/databases", @@ -2617,7 +2646,7 @@ "type": "string" }, "parent": { - "description": "Required. The instance whose instance partitions should be listed. Values are of the form `projects//instances/`.", + "description": "Required. The instance whose instance partitions should be listed. Values are of the form `projects//instances/`. Use `{instance} = '-'` to list instance partitions for all Instances in a project, e.g., `projects/myproject/instances/-`.", "location": "path", "pattern": "^projects/[^/]+/instances/[^/]+$", "required": true, @@ -3280,6 +3309,46 @@ }, "type": "object" }, + "ChangeQuorumMetadata": { + "description": "Metadata type for the long-running operation returned by ChangeQuorum.", + "id": "ChangeQuorumMetadata", + "properties": { + "endTime": { + "description": "If set, the time at which this operation failed or was completed successfully.", + "format": "google-datetime", + "type": "string" + }, + "request": { + "$ref": "ChangeQuorumRequest", + "description": "The request for ChangeQuorum." + }, + "startTime": { + "description": "Time the request was received.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "ChangeQuorumRequest": { + "description": "The request for ChangeQuorum.", + "id": "ChangeQuorumRequest", + "properties": { + "etag": { + "description": "Optional. The etag is the hash of the QuorumInfo. The ChangeQuorum operation will only be performed if the etag matches that of the QuorumInfo in the current database resource. Otherwise the API will return an `ABORTED` error. The etag is used for optimistic concurrency control as a way to help prevent simultaneous change quorum requests that could create a race condition.", + "type": "string" + }, + "name": { + "description": "Required. Name of the database in which to apply the ChangeQuorum. Values are of the form `projects//instances//databases/`.", + "type": "string" + }, + "quorumType": { + "$ref": "QuorumType", + "description": "Required. The type of this Quorum." + } + }, + "type": "object" + }, "ChildLink": { "description": "Metadata associated with a parent-child relationship appearing in a PlanNode.", "id": "ChildLink", @@ -3763,6 +3832,11 @@ "description": "Required. The name of the database. Values are of the form `projects//instances//databases/`, where `` is as specified in the `CREATE DATABASE` statement. This name can be passed to other API methods to identify the database.", "type": "string" }, + "quorumInfo": { + "$ref": "QuorumInfo", + "description": "Output only. Applicable only for databases that use dual region instance configurations. Contains information about the quorum.", + "readOnly": true + }, "reconciling": { "description": "Output only. If true, the database is being updated. If false, there are no ongoing update operations for the database.", "readOnly": true, @@ -3917,6 +3991,12 @@ }, "type": "object" }, + "DualRegionQuorum": { + "description": "Message type for a dual-region quorum. Currently this type has no options.", + "id": "DualRegionQuorum", + "properties": {}, + "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", @@ -4345,12 +4425,12 @@ "type": "string" }, "nodeCount": { - "description": "The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message. Users can set the node_count field to specify the target number of nodes allocated to the instance. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.", + "description": "The number of nodes allocated to this instance. At most one of either node_count or processing_units should be present in the message. Users can set the node_count field to specify the target number of nodes allocated to the instance. If autoscaling is enabled, node_count is treated as an OUTPUT_ONLY field and reflects the current number of nodes allocated to the instance. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.", "format": "int32", "type": "integer" }, "processingUnits": { - "description": "The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. Users can set the processing_units field to specify the target number of processing units allocated to the instance. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.", + "description": "The number of processing units allocated to this instance. At most one of processing_units or node_count should be present in the message. Users can set the processing_units field to specify the target number of processing units allocated to the instance. If autoscaling is enabled, processing_units is treated as an OUTPUT_ONLY field and reflects the current number of processing units allocated to the instance. This may be zero in API responses for instances that are not yet in state `READY`. See [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for more information about nodes and processing units.", "format": "int32", "type": "integer" }, @@ -4454,6 +4534,23 @@ "readOnly": true, "type": "array" }, + "quorumType": { + "description": "Output only. The `QuorumType` of the instance configuration.", + "enum": [ + "QUORUM_TYPE_UNSPECIFIED", + "REGION", + "DUAL_REGION", + "MULTI_REGION" + ], + "enumDescriptions": [ + "Not specified.", + "An instance configuration tagged with REGION quorum type forms a write quorum in a single region.", + "An instance configuration tagged with DUAL_REGION quorum type forms a write quorums with exactly two read-write regions in a multi-region configuration. This instance configurations requires reconfiguration in the event of regional failures.", + "An instance configuration tagged with MULTI_REGION quorum type forms a write quorums from replicas are spread across more than one region in a multi-region configuration." + ], + "readOnly": true, + "type": "string" + }, "reconciling": { "description": "Output only. If true, the instance config is being created or updated. If false, there are no ongoing operations for the instance config.", "readOnly": true, @@ -4888,7 +4985,7 @@ "type": "string" }, "unreachable": { - "description": "The list of unreachable instance partitions. It includes the names of instance partitions whose metadata could not be retrieved within instance_partition_deadline.", + "description": "The list of unreachable instances or instance partitions. It includes the names of instances or instance partitions whose metadata could not be retrieved within instance_partition_deadline.", "items": { "type": "string" }, @@ -5533,6 +5630,59 @@ }, "type": "object" }, + "QuorumInfo": { + "description": "Information about the dual region quorum.", + "id": "QuorumInfo", + "properties": { + "etag": { + "description": "Output only. The etag is used for optimistic concurrency control as a way to help prevent simultaneous ChangeQuorum requests that could create a race condition.", + "readOnly": true, + "type": "string" + }, + "initiator": { + "description": "Output only. Whether this ChangeQuorum is a Google or User initiated.", + "enum": [ + "INITIATOR_UNSPECIFIED", + "GOOGLE", + "USER" + ], + "enumDescriptions": [ + "Unspecified.", + "ChangeQuorum initiated by Google.", + "ChangeQuorum initiated by User." + ], + "readOnly": true, + "type": "string" + }, + "quorumType": { + "$ref": "QuorumType", + "description": "Output only. The type of this quorum. See QuorumType for more information about quorum type specifications.", + "readOnly": true + }, + "startTime": { + "description": "Output only. The timestamp when the request was triggered.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "QuorumType": { + "description": "Information about the database quorum type. this applies only for dual region instance configs.", + "id": "QuorumType", + "properties": { + "dualRegion": { + "$ref": "DualRegionQuorum", + "description": "Dual region quorum type." + }, + "singleRegion": { + "$ref": "SingleRegionQuorum", + "description": "Single region quorum type." + } + }, + "type": "object" + }, "ReadOnly": { "description": "Message type to initiate a read-only transaction.", "id": "ReadOnly", @@ -6057,6 +6207,17 @@ }, "type": "object" }, + "SingleRegionQuorum": { + "description": "Message type for a single-region quorum.", + "id": "SingleRegionQuorum", + "properties": { + "servingLocation": { + "description": "Required. The location of the serving region, e.g. \"us-central1\". The location must be one of the regions within the dual region instance configuration of your database. The list of valid locations is available via [GetInstanceConfig[InstanceAdmin.GetInstanceConfig] API. This should only be used if you plan to change quorum in single-region quorum type.", + "type": "string" + } + }, + "type": "object" + }, "Statement": { "description": "A single DML statement.", "id": "Statement", @@ -6170,7 +6331,7 @@ "type": "object" }, "TransactionOptions": { - "description": "Transactions: Each session can have at most one active transaction at a time (note that standalone reads and queries use a transaction internally and do count towards the one transaction limit). After the active transaction is completed, the session can immediately be re-used for the next transaction. It is not necessary to create a new session for each transaction. Transaction modes: Cloud Spanner supports three transaction modes: 1. Locking read-write. This type of transaction is the only way to write data into Cloud Spanner. These transactions rely on pessimistic locking and, if necessary, two-phase commit. Locking read-write transactions may abort, requiring the application to retry. 2. Snapshot read-only. Snapshot read-only transactions provide guaranteed consistency across several reads, but do not allow writes. Snapshot read-only transactions can be configured to read at timestamps in the past, or configured to perform a strong read (where Spanner will select a timestamp such that the read is guaranteed to see the effects of all transactions that have committed before the start of the read). Snapshot read-only transactions do not need to be committed. Queries on change streams must be performed with the snapshot read-only transaction mode, specifying a strong read. Please see TransactionOptions.ReadOnly.strong for more details. 3. Partitioned DML. This type of transaction is used to execute a single Partitioned DML statement. Partitioned DML partitions the key space and runs the DML statement over each partition in parallel using separate, internal transactions that commit independently. Partitioned DML transactions do not need to be committed. For transactions that only read, snapshot read-only transactions provide simpler semantics and are almost always faster. In particular, read-only transactions do not take locks, so they do not conflict with read-write transactions. As a consequence of not taking locks, they also do not abort, so retry loops are not needed. Transactions may only read-write data in a single database. They may, however, read-write data in different tables within that database. Locking read-write transactions: Locking transactions may be used to atomically read-modify-write data anywhere in a database. This type of transaction is externally consistent. Clients should attempt to minimize the amount of time a transaction is active. Faster transactions commit with higher probability and cause less contention. Cloud Spanner attempts to keep read locks active as long as the transaction continues to do reads, and the transaction has not been terminated by Commit or Rollback. Long periods of inactivity at the client may cause Cloud Spanner to release a transaction's locks and abort it. Conceptually, a read-write transaction consists of zero or more reads or SQL statements followed by Commit. At any time before Commit, the client can send a Rollback request to abort the transaction. Semantics: Cloud Spanner can commit the transaction if all read locks it acquired are still valid at commit time, and it is able to acquire write locks for all writes. Cloud Spanner can abort the transaction for any reason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees that the transaction has not modified any user data in Cloud Spanner. Unless the transaction commits, Cloud Spanner makes no guarantees about how long the transaction's locks were held for. It is an error to use Cloud Spanner locks for any sort of mutual exclusion other than between Cloud Spanner transactions themselves. Retrying aborted transactions: When a transaction aborts, the application can choose to retry the whole transaction again. To maximize the chances of successfully committing the retry, the client should execute the retry in the same session as the original attempt. The original session's lock priority increases with each consecutive abort, meaning that each attempt has a slightly better chance of success than the previous. Note that the lock priority is preserved per session (not per transaction). Lock priority is set by the first read or write in the first attempt of a read-write transaction. If the application starts a new session to retry the whole transaction, the transaction loses its original lock priority. Moreover, the lock priority is only preserved if the transaction fails with an `ABORTED` error. Under some circumstances (for example, many transactions attempting to modify the same row(s)), a transaction can abort many times in a short period before successfully committing. Thus, it is not a good idea to cap the number of retries a transaction can attempt; instead, it is better to limit the total amount of time spent retrying. Idle transactions: A transaction is considered idle if it has no outstanding reads or SQL queries and has not started a read or SQL query within the last 10 seconds. Idle transactions can be aborted by Cloud Spanner so that they don't hold on to locks indefinitely. If an idle transaction is aborted, the commit will fail with error `ABORTED`. If this behavior is undesirable, periodically executing a simple SQL query in the transaction (for example, `SELECT 1`) prevents the transaction from becoming idle. Snapshot read-only transactions: Snapshot read-only transactions provides a simpler method than locking read-write transactions for doing several consistent reads. However, this type of transaction does not support writes. Snapshot transactions do not take locks. Instead, they work by choosing a Cloud Spanner timestamp, then executing all reads at that timestamp. Since they do not acquire locks, they do not block concurrent read-write transactions. Unlike locking read-write transactions, snapshot read-only transactions never abort. They can fail if the chosen read timestamp is garbage collected; however, the default garbage collection policy is generous enough that most applications do not need to worry about this in practice. Snapshot read-only transactions do not need to call Commit or Rollback (and in fact are not permitted to do so). To execute a snapshot transaction, the client specifies a timestamp bound, which tells Cloud Spanner how to choose a read timestamp. The types of timestamp bound are: - Strong (the default). - Bounded staleness. - Exact staleness. If the Cloud Spanner database to be read is geographically distributed, stale read-only transactions can execute more quickly than strong or read-write transactions, because they are able to execute far from the leader replica. Each type of timestamp bound is discussed in detail below. Strong: Strong reads are guaranteed to see the effects of all transactions that have committed before the start of the read. Furthermore, all rows yielded by a single read are consistent with each other -- if any part of the read observes a transaction, all parts of the read see the transaction. Strong reads are not repeatable: two consecutive strong read-only transactions might return inconsistent results if there are concurrent writes. If consistency across reads is required, the reads should be executed within a transaction or at an exact read timestamp. Queries on change streams (see below for more details) must also specify the strong read timestamp bound. See TransactionOptions.ReadOnly.strong. Exact staleness: These timestamp bounds execute reads at a user-specified timestamp. Reads at a timestamp are guaranteed to see a consistent prefix of the global transaction history: they observe modifications done by all transactions with a commit timestamp less than or equal to the read timestamp, and observe none of the modifications done by transactions with a larger commit timestamp. They will block until all conflicting transactions that may be assigned commit timestamps <= the read timestamp have finished. The timestamp can either be expressed as an absolute Cloud Spanner commit timestamp or a staleness relative to the current time. These modes do not require a \"negotiation phase\" to pick a timestamp. As a result, they execute slightly faster than the equivalent boundedly stale concurrency modes. On the other hand, boundedly stale reads usually return fresher results. See TransactionOptions.ReadOnly.read_timestamp and TransactionOptions.ReadOnly.exact_staleness. Bounded staleness: Bounded staleness modes allow Cloud Spanner to pick the read timestamp, subject to a user-provided staleness bound. Cloud Spanner chooses the newest timestamp within the staleness bound that allows execution of the reads at the closest available replica without blocking. All rows yielded are consistent with each other -- if any part of the read observes a transaction, all parts of the read see the transaction. Boundedly stale reads are not repeatable: two stale reads, even if they use the same staleness bound, can execute at different timestamps and thus return inconsistent results. Boundedly stale reads execute in two phases: the first phase negotiates a timestamp among all replicas needed to serve the read. In the second phase, reads are executed at the negotiated timestamp. As a result of the two phase execution, bounded staleness reads are usually a little slower than comparable exact staleness reads. However, they are typically able to return fresher results, and are more likely to execute at the closest replica. Because the timestamp negotiation requires up-front knowledge of which rows will be read, it can only be used with single-use read-only transactions. See TransactionOptions.ReadOnly.max_staleness and TransactionOptions.ReadOnly.min_read_timestamp. Old read timestamps and garbage collection: Cloud Spanner continuously garbage collects deleted and overwritten data in the background to reclaim storage space. This process is known as \"version GC\". By default, version GC reclaims versions after they are one hour old. Because of this, Cloud Spanner cannot perform reads at read timestamps more than one hour in the past. This restriction also applies to in-progress reads and/or SQL queries whose timestamp become too old while executing. Reads and SQL queries with too-old read timestamps fail with the error `FAILED_PRECONDITION`. You can configure and extend the `VERSION_RETENTION_PERIOD` of a database up to a period as long as one week, which allows Cloud Spanner to perform reads up to one week in the past. Querying change Streams: A Change Stream is a schema object that can be configured to watch data changes on the entire database, a set of tables, or a set of columns in a database. When a change stream is created, Spanner automatically defines a corresponding SQL Table-Valued Function (TVF) that can be used to query the change records in the associated change stream using the ExecuteStreamingSql API. The name of the TVF for a change stream is generated from the name of the change stream: READ_. All queries on change stream TVFs must be executed using the ExecuteStreamingSql API with a single-use read-only transaction with a strong read-only timestamp_bound. The change stream TVF allows users to specify the start_timestamp and end_timestamp for the time range of interest. All change records within the retention period is accessible using the strong read-only timestamp_bound. All other TransactionOptions are invalid for change stream queries. In addition, if TransactionOptions.read_only.return_read_timestamp is set to true, a special value of 2^63 - 2 will be returned in the Transaction message that describes the transaction, instead of a valid read timestamp. This special value should be discarded and not used for any subsequent queries. Please see https://cloud.google.com/spanner/docs/change-streams for more details on how to query the change stream TVFs. Partitioned DML transactions: Partitioned DML transactions are used to execute DML statements with a different execution strategy that provides different, and often better, scalability properties for large, table-wide operations than DML in a ReadWrite transaction. Smaller scoped statements, such as an OLTP workload, should prefer using ReadWrite transactions. Partitioned DML partitions the keyspace and runs the DML statement on each partition in separate, internal transactions. These transactions commit automatically when complete, and run independently from one another. To reduce lock contention, this execution strategy only acquires read locks on rows that match the WHERE clause of the statement. Additionally, the smaller per-partition transactions hold locks for less time. That said, Partitioned DML is not a drop-in replacement for standard DML used in ReadWrite transactions. - The DML statement must be fully-partitionable. Specifically, the statement must be expressible as the union of many statements which each access only a single row of the table. - The statement is not applied atomically to all rows of the table. Rather, the statement is applied atomically to partitions of the table, in independent transactions. Secondary index rows are updated atomically with the base table rows. - Partitioned DML does not guarantee exactly-once execution semantics against a partition. The statement is applied at least once to each partition. It is strongly recommended that the DML statement should be idempotent to avoid unexpected results. For instance, it is potentially dangerous to run a statement such as `UPDATE table SET column = column + 1` as it could be run multiple times against some rows. - The partitions are committed automatically - there is no support for Commit or Rollback. If the call returns an error, or if the client issuing the ExecuteSql call dies, it is possible that some rows had the statement executed on them successfully. It is also possible that statement was never executed against other rows. - Partitioned DML transactions may only contain the execution of a single DML statement via ExecuteSql or ExecuteStreamingSql. - If any error is encountered during the execution of the partitioned DML operation (for instance, a UNIQUE INDEX violation, division by zero, or a value that cannot be stored due to schema constraints), then the operation is stopped at that point and an error is returned. It is possible that at this point, some partitions have been committed (or even committed multiple times), and other partitions have not been run at all. Given the above, Partitioned DML is good fit for large, database-wide, operations that are idempotent, such as deleting old rows from a very large table.", + "description": "Transactions: Each session can have at most one active transaction at a time (note that standalone reads and queries use a transaction internally and do count towards the one transaction limit). After the active transaction is completed, the session can immediately be re-used for the next transaction. It is not necessary to create a new session for each transaction. Transaction modes: Cloud Spanner supports three transaction modes: 1. Locking read-write. This type of transaction is the only way to write data into Cloud Spanner. These transactions rely on pessimistic locking and, if necessary, two-phase commit. Locking read-write transactions may abort, requiring the application to retry. 2. Snapshot read-only. Snapshot read-only transactions provide guaranteed consistency across several reads, but do not allow writes. Snapshot read-only transactions can be configured to read at timestamps in the past, or configured to perform a strong read (where Spanner will select a timestamp such that the read is guaranteed to see the effects of all transactions that have committed before the start of the read). Snapshot read-only transactions do not need to be committed. Queries on change streams must be performed with the snapshot read-only transaction mode, specifying a strong read. See TransactionOptions.ReadOnly.strong for more details. 3. Partitioned DML. This type of transaction is used to execute a single Partitioned DML statement. Partitioned DML partitions the key space and runs the DML statement over each partition in parallel using separate, internal transactions that commit independently. Partitioned DML transactions do not need to be committed. For transactions that only read, snapshot read-only transactions provide simpler semantics and are almost always faster. In particular, read-only transactions do not take locks, so they do not conflict with read-write transactions. As a consequence of not taking locks, they also do not abort, so retry loops are not needed. Transactions may only read-write data in a single database. They may, however, read-write data in different tables within that database. Locking read-write transactions: Locking transactions may be used to atomically read-modify-write data anywhere in a database. This type of transaction is externally consistent. Clients should attempt to minimize the amount of time a transaction is active. Faster transactions commit with higher probability and cause less contention. Cloud Spanner attempts to keep read locks active as long as the transaction continues to do reads, and the transaction has not been terminated by Commit or Rollback. Long periods of inactivity at the client may cause Cloud Spanner to release a transaction's locks and abort it. Conceptually, a read-write transaction consists of zero or more reads or SQL statements followed by Commit. At any time before Commit, the client can send a Rollback request to abort the transaction. Semantics: Cloud Spanner can commit the transaction if all read locks it acquired are still valid at commit time, and it is able to acquire write locks for all writes. Cloud Spanner can abort the transaction for any reason. If a commit attempt returns `ABORTED`, Cloud Spanner guarantees that the transaction has not modified any user data in Cloud Spanner. Unless the transaction commits, Cloud Spanner makes no guarantees about how long the transaction's locks were held for. It is an error to use Cloud Spanner locks for any sort of mutual exclusion other than between Cloud Spanner transactions themselves. Retrying aborted transactions: When a transaction aborts, the application can choose to retry the whole transaction again. To maximize the chances of successfully committing the retry, the client should execute the retry in the same session as the original attempt. The original session's lock priority increases with each consecutive abort, meaning that each attempt has a slightly better chance of success than the previous. Note that the lock priority is preserved per session (not per transaction). Lock priority is set by the first read or write in the first attempt of a read-write transaction. If the application starts a new session to retry the whole transaction, the transaction loses its original lock priority. Moreover, the lock priority is only preserved if the transaction fails with an `ABORTED` error. Under some circumstances (for example, many transactions attempting to modify the same row(s)), a transaction can abort many times in a short period before successfully committing. Thus, it is not a good idea to cap the number of retries a transaction can attempt; instead, it is better to limit the total amount of time spent retrying. Idle transactions: A transaction is considered idle if it has no outstanding reads or SQL queries and has not started a read or SQL query within the last 10 seconds. Idle transactions can be aborted by Cloud Spanner so that they don't hold on to locks indefinitely. If an idle transaction is aborted, the commit will fail with error `ABORTED`. If this behavior is undesirable, periodically executing a simple SQL query in the transaction (for example, `SELECT 1`) prevents the transaction from becoming idle. Snapshot read-only transactions: Snapshot read-only transactions provides a simpler method than locking read-write transactions for doing several consistent reads. However, this type of transaction does not support writes. Snapshot transactions do not take locks. Instead, they work by choosing a Cloud Spanner timestamp, then executing all reads at that timestamp. Since they do not acquire locks, they do not block concurrent read-write transactions. Unlike locking read-write transactions, snapshot read-only transactions never abort. They can fail if the chosen read timestamp is garbage collected; however, the default garbage collection policy is generous enough that most applications do not need to worry about this in practice. Snapshot read-only transactions do not need to call Commit or Rollback (and in fact are not permitted to do so). To execute a snapshot transaction, the client specifies a timestamp bound, which tells Cloud Spanner how to choose a read timestamp. The types of timestamp bound are: - Strong (the default). - Bounded staleness. - Exact staleness. If the Cloud Spanner database to be read is geographically distributed, stale read-only transactions can execute more quickly than strong or read-write transactions, because they are able to execute far from the leader replica. Each type of timestamp bound is discussed in detail below. Strong: Strong reads are guaranteed to see the effects of all transactions that have committed before the start of the read. Furthermore, all rows yielded by a single read are consistent with each other -- if any part of the read observes a transaction, all parts of the read see the transaction. Strong reads are not repeatable: two consecutive strong read-only transactions might return inconsistent results if there are concurrent writes. If consistency across reads is required, the reads should be executed within a transaction or at an exact read timestamp. Queries on change streams (see below for more details) must also specify the strong read timestamp bound. See TransactionOptions.ReadOnly.strong. Exact staleness: These timestamp bounds execute reads at a user-specified timestamp. Reads at a timestamp are guaranteed to see a consistent prefix of the global transaction history: they observe modifications done by all transactions with a commit timestamp less than or equal to the read timestamp, and observe none of the modifications done by transactions with a larger commit timestamp. They will block until all conflicting transactions that may be assigned commit timestamps <= the read timestamp have finished. The timestamp can either be expressed as an absolute Cloud Spanner commit timestamp or a staleness relative to the current time. These modes do not require a \"negotiation phase\" to pick a timestamp. As a result, they execute slightly faster than the equivalent boundedly stale concurrency modes. On the other hand, boundedly stale reads usually return fresher results. See TransactionOptions.ReadOnly.read_timestamp and TransactionOptions.ReadOnly.exact_staleness. Bounded staleness: Bounded staleness modes allow Cloud Spanner to pick the read timestamp, subject to a user-provided staleness bound. Cloud Spanner chooses the newest timestamp within the staleness bound that allows execution of the reads at the closest available replica without blocking. All rows yielded are consistent with each other -- if any part of the read observes a transaction, all parts of the read see the transaction. Boundedly stale reads are not repeatable: two stale reads, even if they use the same staleness bound, can execute at different timestamps and thus return inconsistent results. Boundedly stale reads execute in two phases: the first phase negotiates a timestamp among all replicas needed to serve the read. In the second phase, reads are executed at the negotiated timestamp. As a result of the two phase execution, bounded staleness reads are usually a little slower than comparable exact staleness reads. However, they are typically able to return fresher results, and are more likely to execute at the closest replica. Because the timestamp negotiation requires up-front knowledge of which rows will be read, it can only be used with single-use read-only transactions. See TransactionOptions.ReadOnly.max_staleness and TransactionOptions.ReadOnly.min_read_timestamp. Old read timestamps and garbage collection: Cloud Spanner continuously garbage collects deleted and overwritten data in the background to reclaim storage space. This process is known as \"version GC\". By default, version GC reclaims versions after they are one hour old. Because of this, Cloud Spanner cannot perform reads at read timestamps more than one hour in the past. This restriction also applies to in-progress reads and/or SQL queries whose timestamp become too old while executing. Reads and SQL queries with too-old read timestamps fail with the error `FAILED_PRECONDITION`. You can configure and extend the `VERSION_RETENTION_PERIOD` of a database up to a period as long as one week, which allows Cloud Spanner to perform reads up to one week in the past. Querying change Streams: A Change Stream is a schema object that can be configured to watch data changes on the entire database, a set of tables, or a set of columns in a database. When a change stream is created, Spanner automatically defines a corresponding SQL Table-Valued Function (TVF) that can be used to query the change records in the associated change stream using the ExecuteStreamingSql API. The name of the TVF for a change stream is generated from the name of the change stream: READ_. All queries on change stream TVFs must be executed using the ExecuteStreamingSql API with a single-use read-only transaction with a strong read-only timestamp_bound. The change stream TVF allows users to specify the start_timestamp and end_timestamp for the time range of interest. All change records within the retention period is accessible using the strong read-only timestamp_bound. All other TransactionOptions are invalid for change stream queries. In addition, if TransactionOptions.read_only.return_read_timestamp is set to true, a special value of 2^63 - 2 will be returned in the Transaction message that describes the transaction, instead of a valid read timestamp. This special value should be discarded and not used for any subsequent queries. Please see https://cloud.google.com/spanner/docs/change-streams for more details on how to query the change stream TVFs. Partitioned DML transactions: Partitioned DML transactions are used to execute DML statements with a different execution strategy that provides different, and often better, scalability properties for large, table-wide operations than DML in a ReadWrite transaction. Smaller scoped statements, such as an OLTP workload, should prefer using ReadWrite transactions. Partitioned DML partitions the keyspace and runs the DML statement on each partition in separate, internal transactions. These transactions commit automatically when complete, and run independently from one another. To reduce lock contention, this execution strategy only acquires read locks on rows that match the WHERE clause of the statement. Additionally, the smaller per-partition transactions hold locks for less time. That said, Partitioned DML is not a drop-in replacement for standard DML used in ReadWrite transactions. - The DML statement must be fully-partitionable. Specifically, the statement must be expressible as the union of many statements which each access only a single row of the table. - The statement is not applied atomically to all rows of the table. Rather, the statement is applied atomically to partitions of the table, in independent transactions. Secondary index rows are updated atomically with the base table rows. - Partitioned DML does not guarantee exactly-once execution semantics against a partition. The statement is applied at least once to each partition. It is strongly recommended that the DML statement should be idempotent to avoid unexpected results. For instance, it is potentially dangerous to run a statement such as `UPDATE table SET column = column + 1` as it could be run multiple times against some rows. - The partitions are committed automatically - there is no support for Commit or Rollback. If the call returns an error, or if the client issuing the ExecuteSql call dies, it is possible that some rows had the statement executed on them successfully. It is also possible that statement was never executed against other rows. - Partitioned DML transactions may only contain the execution of a single DML statement via ExecuteSql or ExecuteStreamingSql. - If any error is encountered during the execution of the partitioned DML operation (for instance, a UNIQUE INDEX violation, division by zero, or a value that cannot be stored due to schema constraints), then the operation is stopped at that point and an error is returned. It is possible that at this point, some partitions have been committed (or even committed multiple times), and other partitions have not been run at all. Given the above, Partitioned DML is good fit for large, database-wide, operations that are idempotent, such as deleting old rows from a very large table.", "id": "TransactionOptions", "properties": { "excludeTxnFromChangeStreams": { diff --git a/discovery/googleapis/speech__v1.json b/discovery/googleapis/speech__v1.json index 6316dcbae..6cc4a79e3 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": "20240502", + "revision": "20240523", "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 db8c10261..39768b517 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": "20240502", + "revision": "20240523", "rootUrl": "https://speech.googleapis.com/", "servicePath": "", "title": "Cloud Speech-to-Text API", diff --git a/discovery/googleapis/storage__v1.json b/discovery/googleapis/storage__v1.json index bd6655214..8378abfd7 100644 --- a/discovery/googleapis/storage__v1.json +++ b/discovery/googleapis/storage__v1.json @@ -33,7 +33,7 @@ "location": "me-central2" } ], - "etag": "\"3133313338323332313837383333353335353234\"", + "etag": "\"3132383134303835313436343635393933303731\"", "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": "20240504", + "revision": "20240524", "rootUrl": "https://storage.googleapis.com/", "servicePath": "storage/v1/", "title": "Cloud Storage JSON API", @@ -685,6 +685,38 @@ "https://www.googleapis.com/auth/devstorage.full_control" ] }, + "getStorageLayout": { + "description": "Returns the storage layout configuration for the specified bucket. Note that this operation requires storage.objects.list permission.", + "httpMethod": "GET", + "id": "storage.buckets.getStorageLayout", + "parameterOrder": [ + "bucket" + ], + "parameters": { + "bucket": { + "description": "Name of a bucket.", + "location": "path", + "required": true, + "type": "string" + }, + "prefix": { + "description": "An optional prefix used for permission check. It is useful when the caller only has storage.objects.list permission under a specific prefix.", + "location": "query", + "type": "string" + } + }, + "path": "b/{bucket}/storageLayout", + "response": { + "$ref": "BucketStorageLayout" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/cloud-platform.read-only", + "https://www.googleapis.com/auth/devstorage.full_control", + "https://www.googleapis.com/auth/devstorage.read_only", + "https://www.googleapis.com/auth/devstorage.read_write" + ] + }, "insert": { "description": "Creates a new bucket.", "httpMethod": "POST", @@ -4664,6 +4696,53 @@ }, "type": "object" }, + "BucketStorageLayout": { + "description": "The storage layout configuration of a bucket.", + "id": "BucketStorageLayout", + "properties": { + "bucket": { + "description": "The name of the bucket.", + "type": "string" + }, + "customPlacementConfig": { + "description": "The bucket's custom placement configuration for Custom Dual Regions.", + "properties": { + "dataLocations": { + "description": "The list of regional locations in which data is placed.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "hierarchicalNamespace": { + "description": "The bucket's hierarchical namespace configuration.", + "properties": { + "enabled": { + "description": "When set to true, hierarchical namespace is enabled for this bucket.", + "type": "boolean" + } + }, + "type": "object" + }, + "kind": { + "default": "storage#storageLayout", + "description": "The kind of item this is. For storage layout, this is always storage#storageLayout.", + "type": "string" + }, + "location": { + "description": "The location of the bucket.", + "type": "string" + }, + "locationType": { + "description": "The type of the bucket location.", + "type": "string" + } + }, + "type": "object" + }, "Buckets": { "description": "A list of buckets.", "id": "Buckets", diff --git a/discovery/googleapis/storagetransfer__v1.json b/discovery/googleapis/storagetransfer__v1.json index 757e98d01..3e4f43e9a 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": "20240507", + "revision": "20240518", "rootUrl": "https://storagetransfer.googleapis.com/", "servicePath": "", "title": "Storage Transfer API", @@ -1045,15 +1045,15 @@ "type": "object" }, "LoggingConfig": { - "description": "Specifies the logging behavior for transfer operations. For cloud-to-cloud transfers, logs are sent to Cloud Logging. See [Read transfer logs](https://cloud.google.com/storage-transfer/docs/read-transfer-logs) for details. For transfers to or from a POSIX file system, logs are stored in the Cloud Storage bucket that is the source or sink of the transfer. See [Managing Transfer for on-premises jobs] (https://cloud.google.com/storage-transfer/docs/managing-on-prem-jobs#viewing-logs) for details.", + "description": "Specifies the logging behavior for transfer operations. Logs can be sent to Cloud Logging for all transfer types. See [Read transfer logs](https://cloud.google.com/storage-transfer/docs/read-transfer-logs) for details.", "id": "LoggingConfig", "properties": { "enableOnpremGcsTransferLogs": { - "description": "For transfers with a PosixFilesystem source, this option enables the Cloud Storage transfer logs for this transfer.", + "description": "For PosixFilesystem transfers, enables [file system transfer logs](https://cloud.google.com/storage-transfer/docs/on-prem-transfer-log-format) instead of, or in addition to, Cloud Logging. This option ignores [LoggableAction] and [LoggableActionState]. If these are set, Cloud Logging will also be enabled for this transfer.", "type": "boolean" }, "logActionStates": { - "description": "States in which `log_actions` are logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.", + "description": "States in which `log_actions` are logged. If empty, no logs are generated.", "items": { "enum": [ "LOGGABLE_ACTION_STATE_UNSPECIFIED", @@ -1070,7 +1070,7 @@ "type": "array" }, "logActions": { - "description": "Specifies the actions to be logged. If empty, no logs are generated. Not supported for transfers with PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead.", + "description": "Specifies the actions to be logged. If empty, no logs are generated.", "items": { "enum": [ "LOGGABLE_ACTION_UNSPECIFIED", diff --git a/discovery/googleapis/streetviewpublish__v1.json b/discovery/googleapis/streetviewpublish__v1.json index fcc49138b..66d202c5e 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": "20240508", + "revision": "20240528", "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 6d0c5b24f..105b52853 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": "20240501", + "revision": "20240520", "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 be8c1c6af..26c338848 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": "20240508", + "revision": "20240522", "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 d71130ff2..6c3e466df 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": "20240508", + "revision": "20240522", "rootUrl": "https://tagmanager.googleapis.com/", "servicePath": "", "title": "Tag Manager API", diff --git a/discovery/googleapis/tasks__v1.json b/discovery/googleapis/tasks__v1.json index fd7b1548d..261973b7d 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": "20240507", + "revision": "20240528", "rootUrl": "https://tasks.googleapis.com/", "servicePath": "", "title": "Google Tasks API", @@ -598,11 +598,12 @@ "type": "string" }, "kind": { - "description": "Type of the resource. This is always \"tasks#task\".", + "description": "Output only. Type of the resource. This is always \"tasks#task\".", + "readOnly": true, "type": "string" }, "links": { - "description": "Collection of links. This collection is read-only.", + "description": "Output only. Collection of links. This collection is read-only.", "items": { "properties": { "description": { @@ -620,6 +621,7 @@ }, "type": "object" }, + "readOnly": true, "type": "array" }, "notes": { @@ -627,15 +629,18 @@ "type": "string" }, "parent": { - "description": "Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the \"move\" method to move the task under a different parent or to the top level.", + "description": "Output only. Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the \"move\" method to move the task under a different parent or to the top level.", + "readOnly": true, "type": "string" }, "position": { - "description": "String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the \"move\" method to move the task to another position.", + "description": "Output only. String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). Use the \"move\" method to move the task to another position.", + "readOnly": true, "type": "string" }, "selfLink": { - "description": "URL pointing to this task. Used to retrieve, update, or delete this task.", + "description": "Output only. URL pointing to this task. Used to retrieve, update, or delete this task.", + "readOnly": true, "type": "string" }, "status": { @@ -647,11 +652,13 @@ "type": "string" }, "updated": { - "description": "Last modification time of the task (as a RFC 3339 timestamp).", + "description": "Output only. Last modification time of the task (as a RFC 3339 timestamp).", + "readOnly": true, "type": "string" }, "webViewLink": { - "description": "An absolute link to the task in the Google Tasks Web UI. This field is read-only.", + "description": "Output only. An absolute link to the task in the Google Tasks Web UI.", + "readOnly": true, "type": "string" } }, @@ -669,11 +676,13 @@ "type": "string" }, "kind": { - "description": "Type of the resource. This is always \"tasks#taskList\".", + "description": "Output only. Type of the resource. This is always \"tasks#taskList\".", + "readOnly": true, "type": "string" }, "selfLink": { - "description": "URL pointing to this task list. Used to retrieve, update, or delete this task list.", + "description": "Output only. URL pointing to this task list. Used to retrieve, update, or delete this task list.", + "readOnly": true, "type": "string" }, "title": { @@ -681,7 +690,8 @@ "type": "string" }, "updated": { - "description": "Last modification time of the task list (as a RFC 3339 timestamp).", + "description": "Output only. Last modification time of the task list (as a RFC 3339 timestamp).", + "readOnly": true, "type": "string" } }, diff --git a/discovery/googleapis/testing__v1.json b/discovery/googleapis/testing__v1.json index 073e0f06d..b1c418f9d 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": "20240507", + "revision": "20240524", "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 61098bc4e..aead4baca 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": "20240502", + "revision": "20240525", "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 bae472b11..793af4e56 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": "20240425", + "revision": "20240519", "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 346abd901..c22727b91 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": "20240425", + "revision": "20240519", "rootUrl": "https://tpu.googleapis.com/", "servicePath": "", "title": "Cloud TPU API", diff --git a/discovery/googleapis/trafficdirector__v2.json b/discovery/googleapis/trafficdirector__v2.json index 17e53e89f..bdb16ca27 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": "20240504", + "revision": "20240513", "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 821ea27c0..35550adc1 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": "20240504", + "revision": "20240513", "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 9c96533fb..b54d1a783 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": "20240422", + "revision": "20240515", "rootUrl": "https://transcoder.googleapis.com/", "servicePath": "", "title": "Transcoder API", diff --git a/discovery/googleapis/travelimpactmodel__v1.json b/discovery/googleapis/travelimpactmodel__v1.json index 50f619883..41820e5fa 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": "20240509", + "revision": "20240529", "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 0cddff6c4..853d36c99 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": "20240501", + "revision": "20240510", "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 6199e97b7..9a3da3663 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": "20240430", + "revision": "20240514", "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 126385ea6..9bd0a1fb5 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": "20240430", + "revision": "20240514", "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 ff14e3fa6..809440078 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": "20240508", + "revision": "20240528", "rootUrl": "https://versionhistory.googleapis.com/", "servicePath": "", "title": "versionhistory.googleapis.com API", @@ -473,6 +473,10 @@ "description": "Release name. Format is \"{product}/platforms/{platform}/channels/{channel}/versions/{version}/releases/{release}\"", "type": "string" }, + "pinnable": { + "description": "Whether or not the release was available for version pinning.", + "type": "boolean" + }, "serving": { "$ref": "Interval", "description": "Timestamp interval of when the release was live. If end_time is unspecified, the release is currently live." diff --git a/discovery/googleapis/vision__v1.json b/discovery/googleapis/vision__v1.json index 316d351aa..8cdb741f1 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": "20240426", + "revision": "20240524", "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 167319820..90c2de7d2 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": "20240411", + "revision": "20240516", "rootUrl": "https://vmmigration.googleapis.com/", "servicePath": "", "title": "VM Migration API", diff --git a/discovery/googleapis/vpcaccess__v1.json b/discovery/googleapis/vpcaccess__v1.json index 5c1b869ad..964b734d5 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": "20240417", + "revision": "20240502", "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 7c896d59d..c9f2708bd 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": "20240509", + "revision": "20240530", "rootUrl": "https://walletobjects.googleapis.com/", "servicePath": "", "title": "Google Wallet API", @@ -2773,7 +2773,7 @@ "properties": { "androidAppLinkInfo": { "$ref": "AppLinkDataAppLinkInfo", - "description": "Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the android client." + "description": "Optional information about the partner app link." }, "iosAppLinkInfo": { "$ref": "AppLinkDataAppLinkInfo", @@ -2782,7 +2782,7 @@ }, "webAppLinkInfo": { "$ref": "AppLinkDataAppLinkInfo", - "description": "Optional information about the partner app link. If included, the app link link module will be rendered on the valuable details on the web client." + "description": "Optional information about the partner web link." } }, "type": "object" @@ -2792,19 +2792,22 @@ "properties": { "appLogoImage": { "$ref": "Image", - "description": "Optional image to be displayed in the App Link Module" + "deprecated": true, + "description": "Deprecated. Image isn't supported in the app link module." }, "appTarget": { "$ref": "AppLinkDataAppLinkInfoAppTarget", - "description": "Url to follow when opening the App Link Module on clients. It will be used by partners to open their webpage or deeplink into their app." + "description": "Target to follow when opening the app link on clients. It will be used by partners to open their app or webpage." }, "description": { "$ref": "LocalizedString", - "description": "String to be displayed in the description of the App Link Module Required" + "deprecated": true, + "description": "Deprecated. Description isn't supported in the app link module." }, "title": { "$ref": "LocalizedString", - "description": "String to be displayed in the title of the App Link Module Required" + "deprecated": true, + "description": "Deprecated. Title isn't supported in the app link module." } }, "type": "object" @@ -3734,6 +3737,10 @@ "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, + "appLinkData": { + "$ref": "AppLinkData", + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." + }, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." @@ -4139,7 +4146,7 @@ "properties": { "appLinkData": { "$ref": "AppLinkData", - "description": "Optional information about the partner app link." + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." }, "barcode": { "$ref": "Barcode", @@ -4529,6 +4536,10 @@ "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, + "appLinkData": { + "$ref": "AppLinkData", + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." + }, "boardingAndSeatingPolicy": { "$ref": "BoardingAndSeatingPolicy", "description": "Policies for boarding and seating. These will inform which labels will be shown to users." @@ -4879,7 +4890,7 @@ "properties": { "appLinkData": { "$ref": "AppLinkData", - "description": "Optional information about the partner app link." + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." }, "barcode": { "$ref": "Barcode", @@ -5090,6 +5101,10 @@ "description": "Generic Class", "id": "GenericClass", "properties": { + "appLinkData": { + "$ref": "AppLinkData", + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." + }, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." @@ -5226,7 +5241,7 @@ "properties": { "appLinkData": { "$ref": "AppLinkData", - "description": "Information about the partner app link. The maximum number of these fields displayed is 10." + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." }, "barcode": { "$ref": "Barcode", @@ -5429,6 +5444,10 @@ "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, + "appLinkData": { + "$ref": "AppLinkData", + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." + }, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." @@ -5695,7 +5714,7 @@ "properties": { "appLinkData": { "$ref": "AppLinkData", - "description": "Optional information about the partner app link." + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." }, "balance": { "$ref": "Money", @@ -6230,6 +6249,10 @@ "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, + "appLinkData": { + "$ref": "AppLinkData", + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." + }, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." @@ -6524,7 +6547,7 @@ }, "appLinkData": { "$ref": "AppLinkData", - "description": "Optional information about the partner app link." + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." }, "barcode": { "$ref": "Barcode", @@ -7025,21 +7048,24 @@ "TEXT", "text", "EXPIRATION_NOTIFICATION", - "expirationNotification" + "expirationNotification", + "TEXT_AND_NOTIFY" ], "enumDeprecated": [ false, false, true, false, - true + true, + false ], "enumDescriptions": [ "", "Renders the message as text on the card details screen. This is the default message type.", "Legacy alias for `TEXT`. Deprecated.", "Note: This enum is currently not supported.", - "Legacy alias for `EXPIRATION_NOTIFICATION`. Deprecated." + "Legacy alias for `EXPIRATION_NOTIFICATION`. Deprecated.", + "Renders the message as text on the card details screen and as an Android notification." ], "type": "string" } @@ -7139,6 +7165,10 @@ "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, + "appLinkData": { + "$ref": "AppLinkData", + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." + }, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." @@ -7454,7 +7484,7 @@ "properties": { "appLinkData": { "$ref": "AppLinkData", - "description": "Optional information about the partner app link." + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." }, "barcode": { "$ref": "Barcode", @@ -8412,6 +8442,10 @@ "description": "Deprecated. Use `multipleDevicesAndHoldersAllowedStatus` instead.", "type": "boolean" }, + "appLinkData": { + "$ref": "AppLinkData", + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding object that will be used instead." + }, "callbackOptions": { "$ref": "CallbackOptions", "description": "Callback options to be used to call the issuer back for every save/delete of an object for this class by the end-user. All objects of this class are eligible for the callback." @@ -8780,7 +8814,7 @@ }, "appLinkData": { "$ref": "AppLinkData", - "description": "Optional information about the partner app link." + "description": "Optional app or website link that will be displayed as a button on the front of the pass. If AppLinkData is provided for the corresponding class only object AppLinkData will be displayed." }, "barcode": { "$ref": "Barcode", diff --git a/discovery/googleapis/webfonts__v1.json b/discovery/googleapis/webfonts__v1.json index f0d824256..32b4416ad 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": "20240507", + "revision": "20240528", "rootUrl": "https://webfonts.googleapis.com/", "servicePath": "", "title": "Web Fonts Developer API", @@ -202,6 +202,13 @@ "description": "The category of the font.", "type": "string" }, + "colorCapabilities": { + "description": "The color format(s) available for this family.", + "items": { + "type": "string" + }, + "type": "array" + }, "family": { "description": "The name of the font.", "type": "string" diff --git a/discovery/googleapis/webrisk__v1.json b/discovery/googleapis/webrisk__v1.json index f92b7dd87..4d7b4ec14 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": "20240505", + "revision": "20240519", "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 79ae64390..16befc79a 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": "20240414", + "revision": "20240526", "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 782e524e7..d9b0c6cf7 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": "20240430", + "revision": "20240507", "rootUrl": "https://workflowexecutions.googleapis.com/", "servicePath": "", "title": "Workflow Executions API", diff --git a/discovery/googleapis/workflows__v1.json b/discovery/googleapis/workflows__v1.json index 31d6024d8..c7394039c 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": "20240424", + "revision": "20240508", "rootUrl": "https://workflows.googleapis.com/", "servicePath": "", "title": "Workflows API", @@ -727,6 +727,22 @@ "description": "Workflow program to be executed by Workflows.", "id": "Workflow", "properties": { + "allKmsKeys": { + "description": "Output only. A list of all KMS crypto keys used to encrypt or decrpt the data associated with the workflow.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, + "allKmsKeysVersions": { + "description": "Output only. A list of all KMS crypto keys versions used to encrypt or decrpt the data associated with the workflow.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "callLogLevel": { "description": "Optional. Describes the level of platform logging to apply to calls and call responses during executions of this workflow. If both the workflow and the execution specify a logging level, the execution level takes precedence.", "enum": [ @@ -753,6 +769,11 @@ "description": "Optional. The resource name of a KMS crypto key used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. If not provided, data associated with the workflow will not be CMEK-encrypted.", "type": "string" }, + "cryptoKeyVersion": { + "description": "Output only. The resource name of a KMS crypto key version used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}", + "readOnly": true, + "type": "string" + }, "description": { "description": "Description of the workflow provided by the user. Must be at most 1000 Unicode characters long. This is a workflow-wide field and is not tied to a specific revision.", "type": "string" diff --git a/discovery/googleapis/workloadmanager__v1.json b/discovery/googleapis/workloadmanager__v1.json index 3fd44d646..8cc416d92 100644 --- a/discovery/googleapis/workloadmanager__v1.json +++ b/discovery/googleapis/workloadmanager__v1.json @@ -25,7 +25,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240417", + "revision": "20240501", "rootUrl": "https://workloadmanager.googleapis.com/", "servicePath": "", "title": "Workload Manager API", @@ -777,6 +777,38 @@ } }, "schemas": { + "AssetLocation": { + "description": "Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf.", + "id": "AssetLocation", + "properties": { + "expected": { + "$ref": "IsolationExpectations", + "description": "Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation." + }, + "extraParameters": { + "description": "Defines extra parameters required for specific asset types.", + "items": { + "$ref": "ExtraParameter" + }, + "type": "array" + }, + "locationData": { + "description": "Contains all kinds of physical location definitions for this asset.", + "items": { + "$ref": "LocationData" + }, + "type": "array" + }, + "parentAsset": { + "description": "Defines parents assets if any in order to allow later generation of child_asset_location data via child assets.", + "items": { + "$ref": "CloudAsset" + }, + "type": "array" + } + }, + "type": "object" + }, "BigQueryDestination": { "description": "Message describing big query destination", "id": "BigQueryDestination", @@ -792,12 +824,61 @@ }, "type": "object" }, + "BlobstoreLocation": { + "description": "Policy ID that identified data placement in Blobstore as per go/blobstore-user-guide#data-metadata-placement-and-failure-domains", + "id": "BlobstoreLocation", + "properties": { + "policyId": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "CancelOperationRequest": { "description": "The request message for Operations.CancelOperation.", "id": "CancelOperationRequest", "properties": {}, "type": "object" }, + "CloudAsset": { + "id": "CloudAsset", + "properties": { + "assetName": { + "type": "string" + }, + "assetType": { + "type": "string" + } + }, + "type": "object" + }, + "CloudAssetComposition": { + "id": "CloudAssetComposition", + "properties": { + "childAsset": { + "items": { + "$ref": "CloudAsset" + }, + "type": "array" + } + }, + "type": "object" + }, + "DirectLocationAssignment": { + "id": "DirectLocationAssignment", + "properties": { + "location": { + "items": { + "$ref": "LocationAssignment" + }, + "type": "array" + } + }, + "type": "object" + }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "Empty", @@ -889,6 +970,13 @@ "readOnly": true, "type": "string" }, + "externalDataSources": { + "description": "Optional. External data sources", + "items": { + "$ref": "ExternalDataSources" + }, + "type": "array" + }, "inventoryTime": { "description": "Output only. [Output only] Inventory time stamp", "format": "google-datetime", @@ -977,6 +1065,44 @@ }, "type": "object" }, + "ExternalDataSources": { + "description": "Message for external data sources", + "id": "ExternalDataSources", + "properties": { + "name": { + "description": "Required. Name of external data source. The name will be used inside the rego/sql to refer the external data", + "type": "string" + }, + "type": { + "description": "Required. Type of external data source", + "enum": [ + "TYPE_UNSPECIFIED", + "BIG_QUERY_TABLE" + ], + "enumDescriptions": [ + "Unknown type", + "BigQuery table" + ], + "type": "string" + }, + "uri": { + "description": "Required. URI of external data source. example of bq table {project_ID}.{dataset_ID}.{table_ID}", + "type": "string" + } + }, + "type": "object" + }, + "ExtraParameter": { + "description": "Defines parameters that should only be used for specific asset types.", + "id": "ExtraParameter", + "properties": { + "regionalMigDistributionPolicy": { + "$ref": "RegionalMigDistributionPolicy", + "description": "Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances." + } + }, + "type": "object" + }, "GceInstanceFilter": { "description": "Message describing compute engine instance filter", "id": "GceInstanceFilter", @@ -1020,6 +1146,127 @@ }, "type": "object" }, + "IsolationExpectations": { + "id": "IsolationExpectations", + "properties": { + "ziOrgPolicy": { + "enum": [ + "ZI_UNSPECIFIED", + "ZI_UNKNOWN", + "ZI_NOT_REQUIRED", + "ZI_PREFERRED", + "ZI_REQUIRED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "", + "" + ], + "type": "string" + }, + "ziRegionPolicy": { + "enum": [ + "ZI_REGION_POLICY_UNSPECIFIED", + "ZI_REGION_POLICY_UNKNOWN", + "ZI_REGION_POLICY_NOT_SET", + "ZI_REGION_POLICY_FAIL_OPEN", + "ZI_REGION_POLICY_FAIL_CLOSED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "", + "" + ], + "type": "string" + }, + "ziRegionState": { + "enum": [ + "ZI_REGION_UNSPECIFIED", + "ZI_REGION_UNKNOWN", + "ZI_REGION_NOT_ENABLED", + "ZI_REGION_ENABLED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "" + ], + "type": "string" + }, + "zoneIsolation": { + "deprecated": true, + "description": "Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location.", + "enum": [ + "ZI_UNSPECIFIED", + "ZI_UNKNOWN", + "ZI_NOT_REQUIRED", + "ZI_PREFERRED", + "ZI_REQUIRED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "", + "" + ], + "type": "string" + }, + "zoneSeparation": { + "deprecated": true, + "description": "Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location.", + "enum": [ + "ZS_UNSPECIFIED", + "ZS_UNKNOWN", + "ZS_NOT_REQUIRED", + "ZS_REQUIRED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "" + ], + "type": "string" + }, + "zsOrgPolicy": { + "enum": [ + "ZS_UNSPECIFIED", + "ZS_UNKNOWN", + "ZS_NOT_REQUIRED", + "ZS_REQUIRED" + ], + "enumDescriptions": [ + "", + "To be used if tracking is not available", + "", + "" + ], + "type": "string" + }, + "zsRegionState": { + "enum": [ + "ZS_REGION_UNSPECIFIED", + "ZS_REGION_UNKNOWN", + "ZS_REGION_NOT_ENABLED", + "ZS_REGION_ENABLED" + ], + "enumDescriptions": [ + "", + "To be used if tracking of the asset ZS-bit is not available", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, "ListEvaluationsResponse": { "description": "Message for response to listing Evaluations", "id": "ListEvaluationsResponse", @@ -1194,6 +1441,61 @@ }, "type": "object" }, + "LocationAssignment": { + "id": "LocationAssignment", + "properties": { + "location": { + "type": "string" + }, + "locationType": { + "enum": [ + "UNSPECIFIED", + "CLUSTER", + "POP", + "CLOUD_ZONE", + "CLOUD_REGION", + "MULTI_REGION_GEO", + "MULTI_REGION_JURISDICTION", + "GLOBAL", + "OTHER" + ], + "enumDescriptions": [ + "", + "1-10: Physical failure domains.", + "", + "11-20: Logical failure domains.", + "", + "", + "", + "", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "LocationData": { + "id": "LocationData", + "properties": { + "blobstoreLocation": { + "$ref": "BlobstoreLocation" + }, + "childAssetLocation": { + "$ref": "CloudAssetComposition" + }, + "directLocation": { + "$ref": "DirectLocationAssignment" + }, + "gcpProjectProxy": { + "$ref": "TenantProjectProxy" + }, + "spannerLocation": { + "$ref": "SpannerLocation" + } + }, + "type": "object" + }, "Operation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "Operation", @@ -1273,6 +1575,25 @@ }, "type": "object" }, + "RegionalMigDistributionPolicy": { + "description": "To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances", + "id": "RegionalMigDistributionPolicy", + "properties": { + "targetShape": { + "description": "The shape in which the group converges around distribution of resources. Instance of proto2 enum", + "format": "int32", + "type": "integer" + }, + "zones": { + "description": "Cloud zones used by regional MIG to create instances.", + "items": { + "$ref": "ZoneConfiguration" + }, + "type": "array" + } + }, + "type": "object" + }, "Resource": { "description": "Message represent resource in execution result", "id": "Resource", @@ -1549,6 +1870,10 @@ "description": "Optional. Resource URI of the recognized ASCS host of the application.", "type": "string" }, + "ersInstanceNumber": { + "description": "Optional. Instance number of the ERS instance.", + "type": "string" + }, "kernelVersion": { "description": "Optional. Kernel version for Netweaver running in the system.", "type": "string" @@ -1705,6 +2030,13 @@ "description": "A set of properties only present for an instance type resource", "id": "SapDiscoveryResourceInstanceProperties", "properties": { + "appInstances": { + "description": "Optional. App server instances on the host", + "items": { + "$ref": "SapDiscoveryResourceInstancePropertiesAppInstance" + }, + "type": "array" + }, "clusterInstances": { "description": "Optional. A list of instance URIs that are part of a cluster with this one.", "items": { @@ -1717,6 +2049,24 @@ "format": "int64", "type": "string" }, + "instanceRole": { + "description": "Optional. Bitmask of instance role, a resource may have multiple roles at once.", + "enum": [ + "INSTANCE_ROLE_UNSPECIFIED", + "INSTANCE_ROLE_ASCS", + "INSTANCE_ROLE_ERS", + "INSTANCE_ROLE_APP_SERVER", + "INSTANCE_ROLE_DATABASE" + ], + "enumDescriptions": [ + "Unspecified instance role.", + "Application central services.", + "Enqueue replication server.", + "Application server.", + "Database node." + ], + "type": "string" + }, "virtualHostname": { "description": "Optional. A virtual hostname of the instance if it has one.", "type": "string" @@ -1724,6 +2074,21 @@ }, "type": "object" }, + "SapDiscoveryResourceInstancePropertiesAppInstance": { + "description": "Fields to describe an SAP application server instance.", + "id": "SapDiscoveryResourceInstancePropertiesAppInstance", + "properties": { + "name": { + "description": "Optional. Instance name of the SAP application instance.", + "type": "string" + }, + "number": { + "description": "Optional. Instance number of the SAP application instance.", + "type": "string" + } + }, + "type": "object" + }, "SapDiscoveryWorkloadProperties": { "description": "A set of properties describing an SAP workload.", "id": "SapDiscoveryWorkloadProperties", @@ -1862,6 +2227,18 @@ }, "type": "object" }, + "SpannerLocation": { + "id": "SpannerLocation", + "properties": { + "dbName": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "SqlserverValidation": { "description": "A presentation of SQLServer workload insight. The schema of SqlServer workloads validation related data.", "id": "SqlserverValidation", @@ -1977,6 +2354,18 @@ }, "type": "object" }, + "TenantProjectProxy": { + "id": "TenantProjectProxy", + "properties": { + "projectNumbers": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "ViolationDetails": { "description": "Message describing the violdation in execution result", "id": "ViolationDetails", @@ -2023,6 +2412,15 @@ "id": "WriteInsightResponse", "properties": {}, "type": "object" + }, + "ZoneConfiguration": { + "id": "ZoneConfiguration", + "properties": { + "zone": { + "type": "string" + } + }, + "type": "object" } } } diff --git a/discovery/googleapis/workspaceevents__v1.json b/discovery/googleapis/workspaceevents__v1.json index 361a9af87..4cb841c22 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": "20240507", + "revision": "20240526", "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 74546fb0b..592304088 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": "20240424", + "revision": "20240520", "rootUrl": "https://workstations.googleapis.com/", "servicePath": "", "title": "Cloud Workstations API", diff --git a/discovery/googleapis/youtubeAnalytics__v2.json b/discovery/googleapis/youtubeAnalytics__v2.json index e6fbeecac..5af4595f3 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": "20240505", + "revision": "20240529", "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 659286374..1a4d6627e 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": "20240507", + "revision": "20240528", "rootUrl": "https://youtube.googleapis.com/", "servicePath": "", "title": "YouTube Data API v3", @@ -1797,6 +1797,41 @@ "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly" ] + }, + "transition": { + "description": "Transition a durable chat event.", + "flatPath": "youtube/v3/liveChat/messages/transition", + "httpMethod": "POST", + "id": "youtube.liveChatMessages.transition", + "parameterOrder": [], + "parameters": { + "id": { + "description": "The ID that uniquely identify the chat message event to transition.", + "location": "query", + "type": "string" + }, + "status": { + "description": "The status to which the chat event is going to transition.", + "enum": [ + "statusUnspecified", + "closed" + ], + "enumDescriptions": [ + "Default unknown enum value.", + "The durable chat event is over." + ], + "location": "query", + "type": "string" + } + }, + "path": "youtube/v3/liveChat/messages/transition", + "response": { + "$ref": "LiveChatMessage" + }, + "scopes": [ + "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl" + ] } } }, @@ -4035,47 +4070,6 @@ "$ref": "CommentThread" } } - }, - "resources": { - "liveChat": { - "resources": { - "messages": { - "methods": { - "transition": { - "description": "Transition a durable chat event.", - "flatPath": "youtube/v3/liveChat/messages/transition", - "httpMethod": "POST", - "id": "youtube.youtube.v3.liveChat.messages.transition", - "parameterOrder": [], - "parameters": { - "id": { - "description": "The ID that uniquely identify the chat message event to transition.", - "location": "query", - "type": "string" - }, - "status": { - "description": "The status to which the chat event is going to transition.", - "enum": [ - "statusUnspecified", - "closed" - ], - "enumDescriptions": [ - "Default unknown enum value.", - "The durable chat event is over." - ], - "location": "query", - "type": "string" - } - }, - "path": "youtube/v3/liveChat/messages/transition", - "response": { - "$ref": "LiveChatMessage" - } - } - } - } - } - } } } } diff --git a/discovery/googleapis/youtubereporting__v1.json b/discovery/googleapis/youtubereporting__v1.json index 2836c8a58..cca402c1e 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": "20240505", + "revision": "20240529", "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 f278e3e32..853946a2f 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": "20240509", + "revision": "20240529", "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 dc924bd1a..98c08b49d 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": "20240506", + "revision": "20240527", "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 new file mode 100644 index 000000000..6f771e942 --- /dev/null +++ b/discovery/googleapis_beta/analyticsadmin__v1alpha.json @@ -0,0 +1,8709 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/analytics.edit": { + "description": "Edit Google Analytics management entities" + }, + "https://www.googleapis.com/auth/analytics.manage.users": { + "description": "Manage Google Analytics Account users by email address" + }, + "https://www.googleapis.com/auth/analytics.manage.users.readonly": { + "description": "View Google Analytics user permissions" + }, + "https://www.googleapis.com/auth/analytics.readonly": { + "description": "See and download your Google Analytics data" + } + } + } + }, + "basePath": "", + "baseUrl": "https://analyticsadmin.googleapis.com/", + "batchPath": "batch", + "canonicalName": "Google Analytics Admin", + "description": "Manage properties in Google Analytics. Warning: Creating multiple Customer Applications, Accounts, or Projects to simulate or act as a single Customer Application, Account, or Project (respectively) or to circumvent Service-specific usage limits or quotas is a direct violation of Google Cloud Platform Terms of Service as well as Google APIs Terms of Service. These actions can result in immediate termination of your GCP project(s) without any warning.", + "discoveryVersion": "v1", + "documentationLink": "http://code.google.com/apis/analytics/docs/mgmt/home.html", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "analyticsadmin:v1alpha", + "kind": "discovery#restDescription", + "name": "analyticsadmin", + "ownerDomain": "google.com", + "ownerName": "Google", + "protocol": "rest", + "revision": "20240528", + "rootUrl": "https://analyticsadmin.googleapis.com/", + "servicePath": "", + "title": "Google Analytics Admin API", + "version": "v1alpha", + "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": { + "accountSummaries": { + "methods": { + "list": { + "description": "Returns summaries of all accounts accessible by the caller.", + "flatPath": "v1alpha/accountSummaries", + "httpMethod": "GET", + "id": "analyticsadmin.accountSummaries.list", + "parameterOrder": [], + "parameters": { + "pageSize": { + "description": "The maximum number of AccountSummary resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListAccountSummaries` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountSummaries` must match the call that provided the page token.", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/accountSummaries", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListAccountSummariesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + } + } + }, + "accounts": { + "methods": { + "delete": { + "description": "Marks target Account as soft-deleted (ie: \"trashed\") and returns it. This API does not have a method to restore soft-deleted accounts. However, they can be restored using the Trash Can UI. If the accounts are not restored before the expiration time, the account and all child resources (eg: Properties, GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found.", + "flatPath": "v1alpha/accounts/{accountsId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.accounts.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Account to soft-delete. Format: accounts/{account} Example: \"accounts/100\"", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Lookup for a single Account.", + "flatPath": "v1alpha/accounts/{accountsId}", + "httpMethod": "GET", + "id": "analyticsadmin.accounts.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the account to lookup. Format: accounts/{account} Example: \"accounts/100\"", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaAccount" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "getDataSharingSettings": { + "description": "Get data sharing settings on an account. Data sharing settings are singletons.", + "flatPath": "v1alpha/accounts/{accountsId}/dataSharingSettings", + "httpMethod": "GET", + "id": "analyticsadmin.accounts.getDataSharingSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings Example: \"accounts/1000/dataSharingSettings\"", + "location": "path", + "pattern": "^accounts/[^/]+/dataSharingSettings$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaDataSharingSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Returns all accounts accessible by the caller. Note that these accounts might not currently have GA4 properties. Soft-deleted (ie: \"trashed\") accounts are excluded by default. Returns an empty list if no relevant accounts are found.", + "flatPath": "v1alpha/accounts", + "httpMethod": "GET", + "id": "analyticsadmin.accounts.list", + "parameterOrder": [], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListAccounts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccounts` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "showDeleted": { + "description": "Whether to include soft-deleted (ie: \"trashed\") Accounts in the results. Accounts can be inspected to determine whether they are deleted or not.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1alpha/accounts", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListAccountsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "description": "Updates an account.", + "flatPath": "v1alpha/accounts/{accountsId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.accounts.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of this account. Format: accounts/{account} Example: \"accounts/100\"", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Field names must be in snake case (for example, \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaAccount" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaAccount" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "provisionAccountTicket": { + "description": "Requests a ticket for creating an account.", + "flatPath": "v1alpha/accounts:provisionAccountTicket", + "httpMethod": "POST", + "id": "analyticsadmin.accounts.provisionAccountTicket", + "parameterOrder": [], + "parameters": {}, + "path": "v1alpha/accounts:provisionAccountTicket", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "runAccessReport": { + "description": "Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. These data access records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).", + "flatPath": "v1alpha/accounts/{accountsId}:runAccessReport", + "httpMethod": "POST", + "id": "analyticsadmin.accounts.runAccessReport", + "parameterOrder": [ + "entity" + ], + "parameters": { + "entity": { + "description": "The Data Access Report supports requesting at the property level or account level. If requested at the account level, Data Access Reports include all access for all properties under that account. To request at the property level, entity should be for example 'properties/123' if \"123\" is your GA4 property ID. To request at the account level, entity should be for example 'accounts/1234' if \"1234\" is your GA4 Account ID.", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+entity}:runAccessReport", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaRunAccessReportRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaRunAccessReportResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "searchChangeHistoryEvents": { + "description": "Searches through all changes to an account or its children given the specified set of filters.", + "flatPath": "v1alpha/accounts/{accountsId}:searchChangeHistoryEvents", + "httpMethod": "POST", + "id": "analyticsadmin.accounts.searchChangeHistoryEvents", + "parameterOrder": [ + "account" + ], + "parameters": { + "account": { + "description": "Required. The account resource for which to return change history resources. Format: accounts/{account} Example: \"accounts/100\"", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+account}:searchChangeHistoryEvents", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + }, + "resources": { + "accessBindings": { + "methods": { + "batchCreate": { + "description": "Creates information about multiple access bindings to an account or property. This method is transactional. If any AccessBinding cannot be created, none of the AccessBindings will be created.", + "flatPath": "v1alpha/accounts/{accountsId}/accessBindings:batchCreate", + "httpMethod": "POST", + "id": "analyticsadmin.accounts.accessBindings.batchCreate", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The account or property that owns the access bindings. The parent field in the CreateAccessBindingRequest messages must either be empty or match this field. Formats: - accounts/{account} - properties/{property}", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/accessBindings:batchCreate", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users" + ] + }, + "batchDelete": { + "description": "Deletes information about multiple users' links to an account or property.", + "flatPath": "v1alpha/accounts/{accountsId}/accessBindings:batchDelete", + "httpMethod": "POST", + "id": "analyticsadmin.accounts.accessBindings.batchDelete", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The account or property that owns the access bindings. The parent of all provided values for the 'names' field in DeleteAccessBindingRequest messages must match this field. Formats: - accounts/{account} - properties/{property}", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/accessBindings:batchDelete", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest" + }, + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users" + ] + }, + "batchGet": { + "description": "Gets information about multiple access bindings to an account or property.", + "flatPath": "v1alpha/accounts/{accountsId}/accessBindings:batchGet", + "httpMethod": "GET", + "id": "analyticsadmin.accounts.accessBindings.batchGet", + "parameterOrder": [ + "parent" + ], + "parameters": { + "names": { + "description": "Required. The names of the access bindings to retrieve. A maximum of 1000 access bindings can be retrieved in a batch. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding}", + "location": "query", + "repeated": true, + "type": "string" + }, + "parent": { + "description": "Required. The account or property that owns the access bindings. The parent of all provided values for the 'names' field must match this field. Formats: - accounts/{account} - properties/{property}", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/accessBindings:batchGet", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users", + "https://www.googleapis.com/auth/analytics.manage.users.readonly" + ] + }, + "batchUpdate": { + "description": "Updates information about multiple access bindings to an account or property.", + "flatPath": "v1alpha/accounts/{accountsId}/accessBindings:batchUpdate", + "httpMethod": "POST", + "id": "analyticsadmin.accounts.accessBindings.batchUpdate", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The account or property that owns the access bindings. The parent of all provided AccessBinding in UpdateAccessBindingRequest messages must match this field. Formats: - accounts/{account} - properties/{property}", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/accessBindings:batchUpdate", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users" + ] + }, + "create": { + "description": "Creates an access binding on an account or property.", + "flatPath": "v1alpha/accounts/{accountsId}/accessBindings", + "httpMethod": "POST", + "id": "analyticsadmin.accounts.accessBindings.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Formats: - accounts/{account} - properties/{property}", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/accessBindings", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessBinding" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessBinding" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users" + ] + }, + "delete": { + "description": "Deletes an access binding on an account or property.", + "flatPath": "v1alpha/accounts/{accountsId}/accessBindings/{accessBindingsId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.accounts.accessBindings.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding}", + "location": "path", + "pattern": "^accounts/[^/]+/accessBindings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users" + ] + }, + "get": { + "description": "Gets information about an access binding.", + "flatPath": "v1alpha/accounts/{accountsId}/accessBindings/{accessBindingsId}", + "httpMethod": "GET", + "id": "analyticsadmin.accounts.accessBindings.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the access binding to retrieve. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding}", + "location": "path", + "pattern": "^accounts/[^/]+/accessBindings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessBinding" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users", + "https://www.googleapis.com/auth/analytics.manage.users.readonly" + ] + }, + "list": { + "description": "Lists all access bindings on an account or property.", + "flatPath": "v1alpha/accounts/{accountsId}/accessBindings", + "httpMethod": "GET", + "id": "analyticsadmin.accounts.accessBindings.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of access bindings to return. The service may return fewer than this value. If unspecified, at most 200 access bindings will be returned. The maximum value is 500; values above 500 will be coerced to 500.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListAccessBindings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccessBindings` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Formats: - accounts/{account} - properties/{property}", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/accessBindings", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListAccessBindingsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users", + "https://www.googleapis.com/auth/analytics.manage.users.readonly" + ] + }, + "patch": { + "description": "Updates an access binding on an account or property.", + "flatPath": "v1alpha/accounts/{accountsId}/accessBindings/{accessBindingsId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.accounts.accessBindings.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of this binding. Format: accounts/{account}/accessBindings/{access_binding} or properties/{property}/accessBindings/{access_binding} Example: \"accounts/100/accessBindings/200\"", + "location": "path", + "pattern": "^accounts/[^/]+/accessBindings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessBinding" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessBinding" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users" + ] + } + } + } + } + }, + "properties": { + "methods": { + "acknowledgeUserDataCollection": { + "description": "Acknowledges the terms of user data collection for the specified property. This acknowledgement must be completed (either in the Google Analytics UI or through this API) before MeasurementProtocolSecret resources may be created.", + "flatPath": "v1alpha/properties/{propertiesId}:acknowledgeUserDataCollection", + "httpMethod": "POST", + "id": "analyticsadmin.properties.acknowledgeUserDataCollection", + "parameterOrder": [ + "property" + ], + "parameters": { + "property": { + "description": "Required. The property for which to acknowledge user data collection.", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+property}:acknowledgeUserDataCollection", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "create": { + "description": "Creates an \"GA4\" property with the specified location and attributes.", + "flatPath": "v1alpha/properties", + "httpMethod": "POST", + "id": "analyticsadmin.properties.create", + "parameterOrder": [], + "parameters": {}, + "path": "v1alpha/properties", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaProperty" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaProperty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "createConnectedSiteTag": { + "description": "Creates a connected site tag for a Universal Analytics property. You can create a maximum of 20 connected site tags per property. Note: This API cannot be used on GA4 properties.", + "flatPath": "v1alpha/properties:createConnectedSiteTag", + "httpMethod": "POST", + "id": "analyticsadmin.properties.createConnectedSiteTag", + "parameterOrder": [], + "parameters": {}, + "path": "v1alpha/properties:createConnectedSiteTag", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "createRollupProperty": { + "description": "Create a roll-up property and all roll-up property source links.", + "flatPath": "v1alpha/properties:createRollupProperty", + "httpMethod": "POST", + "id": "analyticsadmin.properties.createRollupProperty", + "parameterOrder": [], + "parameters": {}, + "path": "v1alpha/properties:createRollupProperty", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "createSubproperty": { + "description": "Create a subproperty and a subproperty event filter that applies to the created subproperty.", + "flatPath": "v1alpha/properties:createSubproperty", + "httpMethod": "POST", + "id": "analyticsadmin.properties.createSubproperty", + "parameterOrder": [], + "parameters": {}, + "path": "v1alpha/properties:createSubproperty", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Marks target Property as soft-deleted (ie: \"trashed\") and returns it. This API does not have a method to restore soft-deleted properties. However, they can be restored using the Trash Can UI. If the properties are not restored before the expiration time, the Property and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://support.google.com/analytics/answer/6154772 Returns an error if the target is not found, or is not a GA4 Property.", + "flatPath": "v1alpha/properties/{propertiesId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Property to soft-delete. Format: properties/{property_id} Example: \"properties/1000\"", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaProperty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "deleteConnectedSiteTag": { + "description": "Deletes a connected site tag for a Universal Analytics property. Note: this has no effect on GA4 properties.", + "flatPath": "v1alpha/properties:deleteConnectedSiteTag", + "httpMethod": "POST", + "id": "analyticsadmin.properties.deleteConnectedSiteTag", + "parameterOrder": [], + "parameters": {}, + "path": "v1alpha/properties:deleteConnectedSiteTag", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest" + }, + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "fetchAutomatedGa4ConfigurationOptOut": { + "description": "Fetches the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.", + "flatPath": "v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut", + "httpMethod": "POST", + "id": "analyticsadmin.properties.fetchAutomatedGa4ConfigurationOptOut", + "parameterOrder": [], + "parameters": {}, + "path": "v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "fetchConnectedGa4Property": { + "description": "Given a specified UA property, looks up the GA4 property connected to it. Note: this cannot be used with GA4 properties.", + "flatPath": "v1alpha/properties:fetchConnectedGa4Property", + "httpMethod": "GET", + "id": "analyticsadmin.properties.fetchConnectedGa4Property", + "parameterOrder": [], + "parameters": { + "property": { + "description": "Required. The UA property for which to look up the connected GA4 property. Note this request uses the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. Format: properties/{internal_web_property_id} Example: properties/1234", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/properties:fetchConnectedGa4Property", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "get": { + "description": "Lookup for a single \"GA4\" Property.", + "flatPath": "v1alpha/properties/{propertiesId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the property to lookup. Format: properties/{property_id} Example: \"properties/1000\"", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaProperty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "getAttributionSettings": { + "description": "Lookup for a AttributionSettings singleton.", + "flatPath": "v1alpha/properties/{propertiesId}/attributionSettings", + "httpMethod": "GET", + "id": "analyticsadmin.properties.getAttributionSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the attribution settings to retrieve. Format: properties/{property}/attributionSettings", + "location": "path", + "pattern": "^properties/[^/]+/attributionSettings$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaAttributionSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "getDataRetentionSettings": { + "description": "Returns the singleton data retention settings for this property.", + "flatPath": "v1alpha/properties/{propertiesId}/dataRetentionSettings", + "httpMethod": "GET", + "id": "analyticsadmin.properties.getDataRetentionSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the settings to lookup. Format: properties/{property}/dataRetentionSettings Example: \"properties/1000/dataRetentionSettings\"", + "location": "path", + "pattern": "^properties/[^/]+/dataRetentionSettings$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaDataRetentionSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "getGoogleSignalsSettings": { + "description": "Lookup for Google Signals settings for a property.", + "flatPath": "v1alpha/properties/{propertiesId}/googleSignalsSettings", + "httpMethod": "GET", + "id": "analyticsadmin.properties.getGoogleSignalsSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the google signals settings to retrieve. Format: properties/{property}/googleSignalsSettings", + "location": "path", + "pattern": "^properties/[^/]+/googleSignalsSettings$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaGoogleSignalsSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Returns child Properties under the specified parent Account. Only \"GA4\" properties will be returned. Properties will be excluded if the caller does not have access. Soft-deleted (ie: \"trashed\") properties are excluded by default. Returns an empty list if no relevant properties are found.", + "flatPath": "v1alpha/properties", + "httpMethod": "GET", + "id": "analyticsadmin.properties.list", + "parameterOrder": [], + "parameters": { + "filter": { + "description": "Required. An expression for filtering the results of the request. Fields eligible for filtering are: `parent:`(The resource name of the parent account/property) or `ancestor:`(The resource name of the parent account) or `firebase_project:`(The id or number of the linked firebase project). Some examples of filters: ``` | Filter | Description | |-----------------------------|-------------------------------------------| | parent:accounts/123 | The account with account id: 123. | | parent:properties/123 | The property with property id: 123. | | ancestor:accounts/123 | The account with account id: 123. | | firebase_project:project-id | The firebase project with id: project-id. | | firebase_project:123 | The firebase project with number: 123. | ```", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListProperties` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProperties` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "showDeleted": { + "description": "Whether to include soft-deleted (ie: \"trashed\") Properties in the results. Properties can be inspected to determine whether they are deleted or not.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1alpha/properties", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListPropertiesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "listConnectedSiteTags": { + "description": "Lists the connected site tags for a Universal Analytics property. A maximum of 20 connected site tags will be returned. Note: this has no effect on GA4 property.", + "flatPath": "v1alpha/properties:listConnectedSiteTags", + "httpMethod": "POST", + "id": "analyticsadmin.properties.listConnectedSiteTags", + "parameterOrder": [], + "parameters": {}, + "path": "v1alpha/properties:listConnectedSiteTags", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "description": "Updates a property.", + "flatPath": "v1alpha/properties/{propertiesId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of this property. Format: properties/{property_id} Example: \"properties/1000\"", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaProperty" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaProperty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "runAccessReport": { + "description": "Returns a customized report of data access records. The report provides records of each time a user reads Google Analytics reporting data. Access records are retained for up to 2 years. Data Access Reports can be requested for a property. Reports may be requested for any property, but dimensions that aren't related to quota can only be requested on Google Analytics 360 properties. This method is only available to Administrators. These data access records include GA4 UI Reporting, GA4 UI Explorations, GA4 Data API, and other products like Firebase & Admob that can retrieve data from Google Analytics through a linkage. These records don't include property configuration changes like adding a stream or changing a property's time zone. For configuration change history, see [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).", + "flatPath": "v1alpha/properties/{propertiesId}:runAccessReport", + "httpMethod": "POST", + "id": "analyticsadmin.properties.runAccessReport", + "parameterOrder": [ + "entity" + ], + "parameters": { + "entity": { + "description": "The Data Access Report supports requesting at the property level or account level. If requested at the account level, Data Access Reports include all access for all properties under that account. To request at the property level, entity should be for example 'properties/123' if \"123\" is your GA4 property ID. To request at the account level, entity should be for example 'accounts/1234' if \"1234\" is your GA4 Account ID.", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+entity}:runAccessReport", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaRunAccessReportRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaRunAccessReportResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "setAutomatedGa4ConfigurationOptOut": { + "description": "Sets the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.", + "flatPath": "v1alpha/properties:setAutomatedGa4ConfigurationOptOut", + "httpMethod": "POST", + "id": "analyticsadmin.properties.setAutomatedGa4ConfigurationOptOut", + "parameterOrder": [], + "parameters": {}, + "path": "v1alpha/properties:setAutomatedGa4ConfigurationOptOut", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "updateAttributionSettings": { + "description": "Updates attribution settings on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/attributionSettings", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.updateAttributionSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: \"properties/1000/attributionSettings\"", + "location": "path", + "pattern": "^properties/[^/]+/attributionSettings$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaAttributionSettings" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaAttributionSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "updateDataRetentionSettings": { + "description": "Updates the singleton data retention settings for this property.", + "flatPath": "v1alpha/properties/{propertiesId}/dataRetentionSettings", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.updateDataRetentionSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings", + "location": "path", + "pattern": "^properties/[^/]+/dataRetentionSettings$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaDataRetentionSettings" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaDataRetentionSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "updateGoogleSignalsSettings": { + "description": "Updates Google Signals settings for a property.", + "flatPath": "v1alpha/properties/{propertiesId}/googleSignalsSettings", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.updateGoogleSignalsSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of this setting. Format: properties/{property_id}/googleSignalsSettings Example: \"properties/1000/googleSignalsSettings\"", + "location": "path", + "pattern": "^properties/[^/]+/googleSignalsSettings$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaGoogleSignalsSettings" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaGoogleSignalsSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + }, + "resources": { + "accessBindings": { + "methods": { + "batchCreate": { + "description": "Creates information about multiple access bindings to an account or property. This method is transactional. If any AccessBinding cannot be created, none of the AccessBindings will be created.", + "flatPath": "v1alpha/properties/{propertiesId}/accessBindings:batchCreate", + "httpMethod": "POST", + "id": "analyticsadmin.properties.accessBindings.batchCreate", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The account or property that owns the access bindings. The parent field in the CreateAccessBindingRequest messages must either be empty or match this field. Formats: - accounts/{account} - properties/{property}", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/accessBindings:batchCreate", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users" + ] + }, + "batchDelete": { + "description": "Deletes information about multiple users' links to an account or property.", + "flatPath": "v1alpha/properties/{propertiesId}/accessBindings:batchDelete", + "httpMethod": "POST", + "id": "analyticsadmin.properties.accessBindings.batchDelete", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The account or property that owns the access bindings. The parent of all provided values for the 'names' field in DeleteAccessBindingRequest messages must match this field. Formats: - accounts/{account} - properties/{property}", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/accessBindings:batchDelete", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest" + }, + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users" + ] + }, + "batchGet": { + "description": "Gets information about multiple access bindings to an account or property.", + "flatPath": "v1alpha/properties/{propertiesId}/accessBindings:batchGet", + "httpMethod": "GET", + "id": "analyticsadmin.properties.accessBindings.batchGet", + "parameterOrder": [ + "parent" + ], + "parameters": { + "names": { + "description": "Required. The names of the access bindings to retrieve. A maximum of 1000 access bindings can be retrieved in a batch. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding}", + "location": "query", + "repeated": true, + "type": "string" + }, + "parent": { + "description": "Required. The account or property that owns the access bindings. The parent of all provided values for the 'names' field must match this field. Formats: - accounts/{account} - properties/{property}", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/accessBindings:batchGet", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users", + "https://www.googleapis.com/auth/analytics.manage.users.readonly" + ] + }, + "batchUpdate": { + "description": "Updates information about multiple access bindings to an account or property.", + "flatPath": "v1alpha/properties/{propertiesId}/accessBindings:batchUpdate", + "httpMethod": "POST", + "id": "analyticsadmin.properties.accessBindings.batchUpdate", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The account or property that owns the access bindings. The parent of all provided AccessBinding in UpdateAccessBindingRequest messages must match this field. Formats: - accounts/{account} - properties/{property}", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/accessBindings:batchUpdate", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users" + ] + }, + "create": { + "description": "Creates an access binding on an account or property.", + "flatPath": "v1alpha/properties/{propertiesId}/accessBindings", + "httpMethod": "POST", + "id": "analyticsadmin.properties.accessBindings.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Formats: - accounts/{account} - properties/{property}", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/accessBindings", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessBinding" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessBinding" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users" + ] + }, + "delete": { + "description": "Deletes an access binding on an account or property.", + "flatPath": "v1alpha/properties/{propertiesId}/accessBindings/{accessBindingsId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.accessBindings.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding}", + "location": "path", + "pattern": "^properties/[^/]+/accessBindings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users" + ] + }, + "get": { + "description": "Gets information about an access binding.", + "flatPath": "v1alpha/properties/{propertiesId}/accessBindings/{accessBindingsId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.accessBindings.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the access binding to retrieve. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding}", + "location": "path", + "pattern": "^properties/[^/]+/accessBindings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessBinding" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users", + "https://www.googleapis.com/auth/analytics.manage.users.readonly" + ] + }, + "list": { + "description": "Lists all access bindings on an account or property.", + "flatPath": "v1alpha/properties/{propertiesId}/accessBindings", + "httpMethod": "GET", + "id": "analyticsadmin.properties.accessBindings.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of access bindings to return. The service may return fewer than this value. If unspecified, at most 200 access bindings will be returned. The maximum value is 500; values above 500 will be coerced to 500.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListAccessBindings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccessBindings` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Formats: - accounts/{account} - properties/{property}", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/accessBindings", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListAccessBindingsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users", + "https://www.googleapis.com/auth/analytics.manage.users.readonly" + ] + }, + "patch": { + "description": "Updates an access binding on an account or property.", + "flatPath": "v1alpha/properties/{propertiesId}/accessBindings/{accessBindingsId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.accessBindings.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of this binding. Format: accounts/{account}/accessBindings/{access_binding} or properties/{property}/accessBindings/{access_binding} Example: \"accounts/100/accessBindings/200\"", + "location": "path", + "pattern": "^properties/[^/]+/accessBindings/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessBinding" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessBinding" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.manage.users" + ] + } + } + }, + "adSenseLinks": { + "methods": { + "create": { + "description": "Creates an AdSenseLink.", + "flatPath": "v1alpha/properties/{propertiesId}/adSenseLinks", + "httpMethod": "POST", + "id": "analyticsadmin.properties.adSenseLinks.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/adSenseLinks", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaAdSenseLink" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaAdSenseLink" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Deletes an AdSenseLink.", + "flatPath": "v1alpha/properties/{propertiesId}/adSenseLinks/{adSenseLinksId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.adSenseLinks.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678", + "location": "path", + "pattern": "^properties/[^/]+/adSenseLinks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Looks up a single AdSenseLink.", + "flatPath": "v1alpha/properties/{propertiesId}/adSenseLinks/{adSenseLinksId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.adSenseLinks.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Unique identifier for the AdSense Link requested. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678", + "location": "path", + "pattern": "^properties/[^/]+/adSenseLinks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaAdSenseLink" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Lists AdSenseLinks on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/adSenseLinks", + "httpMethod": "GET", + "id": "analyticsadmin.properties.adSenseLinks.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token received from a previous `ListAdSenseLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAdSenseLinks` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Resource name of the parent property. Format: properties/{propertyId} Example: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/adSenseLinks", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + } + } + }, + "audiences": { + "methods": { + "archive": { + "description": "Archives an Audience on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/audiences/{audiencesId}:archive", + "httpMethod": "POST", + "id": "analyticsadmin.properties.audiences.archive", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Example format: properties/1234/audiences/5678", + "location": "path", + "pattern": "^properties/[^/]+/audiences/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:archive", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaArchiveAudienceRequest" + }, + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "create": { + "description": "Creates an Audience.", + "flatPath": "v1alpha/properties/{propertiesId}/audiences", + "httpMethod": "POST", + "id": "analyticsadmin.properties.audiences.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/audiences", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaAudience" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaAudience" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Lookup for a single Audience. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.", + "flatPath": "v1alpha/properties/{propertiesId}/audiences/{audiencesId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.audiences.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the Audience to get. Example format: properties/1234/audiences/5678", + "location": "path", + "pattern": "^properties/[^/]+/audiences/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaAudience" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Lists Audiences on a property. Audiences created before 2020 may not be supported. Default audiences will not show filter definitions.", + "flatPath": "v1alpha/properties/{propertiesId}/audiences", + "httpMethod": "GET", + "id": "analyticsadmin.properties.audiences.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListAudiences` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAudiences` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/audiences", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListAudiencesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "description": "Updates an Audience on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/audiences/{audiencesId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.audiences.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. The resource name for this Audience resource. Format: properties/{propertyId}/audiences/{audienceId}", + "location": "path", + "pattern": "^properties/[^/]+/audiences/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaAudience" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaAudience" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + } + }, + "bigQueryLinks": { + "methods": { + "get": { + "description": "Lookup for a single BigQuery Link.", + "flatPath": "v1alpha/properties/{propertiesId}/bigQueryLinks/{bigQueryLinksId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.bigQueryLinks.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the BigQuery link to lookup. Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example: properties/123/bigQueryLinks/456", + "location": "path", + "pattern": "^properties/[^/]+/bigQueryLinks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaBigQueryLink" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Lists BigQuery Links on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/bigQueryLinks", + "httpMethod": "GET", + "id": "analyticsadmin.properties.bigQueryLinks.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListBigQueryLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBigQueryLinks` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The name of the property to list BigQuery links under. Format: properties/{property_id} Example: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/bigQueryLinks", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + } + } + }, + "calculatedMetrics": { + "methods": { + "create": { + "description": "Creates a CalculatedMetric.", + "flatPath": "v1alpha/properties/{propertiesId}/calculatedMetrics", + "httpMethod": "POST", + "id": "analyticsadmin.properties.calculatedMetrics.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "calculatedMetricId": { + "description": "Required. The ID to use for the calculated metric which will become the final component of the calculated metric's resource name. This value should be 1-80 characters and valid characters are /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique between all calculated metrics under a property. The calculated_metric_id is used when referencing this calculated metric from external APIs, for example, \"calcMetric:{calculated_metric_id}\".", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Format: properties/{property_id} Example: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/calculatedMetrics", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaCalculatedMetric" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaCalculatedMetric" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Deletes a CalculatedMetric on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/calculatedMetrics/{calculatedMetricsId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.calculatedMetrics.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the CalculatedMetric to delete. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01", + "location": "path", + "pattern": "^properties/[^/]+/calculatedMetrics/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Lookup for a single CalculatedMetric.", + "flatPath": "v1alpha/properties/{propertiesId}/calculatedMetrics/{calculatedMetricsId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.calculatedMetrics.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the CalculatedMetric to get. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01", + "location": "path", + "pattern": "^properties/[^/]+/calculatedMetrics/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaCalculatedMetric" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Lists CalculatedMetrics on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/calculatedMetrics", + "httpMethod": "GET", + "id": "analyticsadmin.properties.calculatedMetrics.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListCalculatedMetrics` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCalculatedMetrics` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/calculatedMetrics", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "description": "Updates a CalculatedMetric on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/calculatedMetrics/{calculatedMetricsId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.calculatedMetrics.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name for this CalculatedMetric. Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}'", + "location": "path", + "pattern": "^properties/[^/]+/calculatedMetrics/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaCalculatedMetric" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaCalculatedMetric" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + } + }, + "channelGroups": { + "methods": { + "create": { + "description": "Creates a ChannelGroup.", + "flatPath": "v1alpha/properties/{propertiesId}/channelGroups", + "httpMethod": "POST", + "id": "analyticsadmin.properties.channelGroups.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The property for which to create a ChannelGroup. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/channelGroups", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaChannelGroup" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaChannelGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Deletes a ChannelGroup on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/channelGroups/{channelGroupsId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.channelGroups.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The ChannelGroup to delete. Example format: properties/1234/channelGroups/5678", + "location": "path", + "pattern": "^properties/[^/]+/channelGroups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Lookup for a single ChannelGroup.", + "flatPath": "v1alpha/properties/{propertiesId}/channelGroups/{channelGroupsId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.channelGroups.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The ChannelGroup to get. Example format: properties/1234/channelGroups/5678", + "location": "path", + "pattern": "^properties/[^/]+/channelGroups/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaChannelGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Lists ChannelGroups on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/channelGroups", + "httpMethod": "GET", + "id": "analyticsadmin.properties.channelGroups.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListChannelGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListChannelGroups` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The property for which to list ChannelGroups. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/channelGroups", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListChannelGroupsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "description": "Updates a ChannelGroup.", + "flatPath": "v1alpha/properties/{propertiesId}/channelGroups/{channelGroupsId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.channelGroups.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. The resource name for this Channel Group resource. Format: properties/{property}/channelGroups/{channel_group}", + "location": "path", + "pattern": "^properties/[^/]+/channelGroups/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaChannelGroup" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaChannelGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + } + }, + "conversionEvents": { + "deprecated": true, + "methods": { + "create": { + "deprecated": true, + "description": "Creates a conversion event with the specified attributes.", + "flatPath": "v1alpha/properties/{propertiesId}/conversionEvents", + "httpMethod": "POST", + "id": "analyticsadmin.properties.conversionEvents.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The resource name of the parent property where this conversion event will be created. Format: properties/123", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/conversionEvents", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaConversionEvent" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaConversionEvent" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "deprecated": true, + "description": "Deletes a conversion event in a property.", + "flatPath": "v1alpha/properties/{propertiesId}/conversionEvents/{conversionEventsId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.conversionEvents.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the conversion event to delete. Format: properties/{property}/conversionEvents/{conversion_event} Example: \"properties/123/conversionEvents/456\"", + "location": "path", + "pattern": "^properties/[^/]+/conversionEvents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "deprecated": true, + "description": "Retrieve a single conversion event.", + "flatPath": "v1alpha/properties/{propertiesId}/conversionEvents/{conversionEventsId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.conversionEvents.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the conversion event to retrieve. Format: properties/{property}/conversionEvents/{conversion_event} Example: \"properties/123/conversionEvents/456\"", + "location": "path", + "pattern": "^properties/[^/]+/conversionEvents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaConversionEvent" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "deprecated": true, + "description": "Returns a list of conversion events in the specified parent property. Returns an empty list if no conversion events are found.", + "flatPath": "v1alpha/properties/{propertiesId}/conversionEvents", + "httpMethod": "GET", + "id": "analyticsadmin.properties.conversionEvents.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListConversionEvents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConversionEvents` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The resource name of the parent property. Example: 'properties/123'", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/conversionEvents", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListConversionEventsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "deprecated": true, + "description": "Updates a conversion event with the specified attributes.", + "flatPath": "v1alpha/properties/{propertiesId}/conversionEvents/{conversionEventsId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.conversionEvents.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event}", + "location": "path", + "pattern": "^properties/[^/]+/conversionEvents/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaConversionEvent" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaConversionEvent" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + } + }, + "customDimensions": { + "methods": { + "archive": { + "description": "Archives a CustomDimension on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/customDimensions/{customDimensionsId}:archive", + "httpMethod": "POST", + "id": "analyticsadmin.properties.customDimensions.archive", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the CustomDimension to archive. Example format: properties/1234/customDimensions/5678", + "location": "path", + "pattern": "^properties/[^/]+/customDimensions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:archive", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest" + }, + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "create": { + "description": "Creates a CustomDimension.", + "flatPath": "v1alpha/properties/{propertiesId}/customDimensions", + "httpMethod": "POST", + "id": "analyticsadmin.properties.customDimensions.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/customDimensions", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaCustomDimension" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaCustomDimension" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Lookup for a single CustomDimension.", + "flatPath": "v1alpha/properties/{propertiesId}/customDimensions/{customDimensionsId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.customDimensions.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the CustomDimension to get. Example format: properties/1234/customDimensions/5678", + "location": "path", + "pattern": "^properties/[^/]+/customDimensions/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaCustomDimension" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Lists CustomDimensions on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/customDimensions", + "httpMethod": "GET", + "id": "analyticsadmin.properties.customDimensions.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListCustomDimensions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCustomDimensions` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/customDimensions", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "description": "Updates a CustomDimension on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/customDimensions/{customDimensionsId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.customDimensions.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension}", + "location": "path", + "pattern": "^properties/[^/]+/customDimensions/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaCustomDimension" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaCustomDimension" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + } + }, + "customMetrics": { + "methods": { + "archive": { + "description": "Archives a CustomMetric on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/customMetrics/{customMetricsId}:archive", + "httpMethod": "POST", + "id": "analyticsadmin.properties.customMetrics.archive", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the CustomMetric to archive. Example format: properties/1234/customMetrics/5678", + "location": "path", + "pattern": "^properties/[^/]+/customMetrics/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:archive", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest" + }, + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "create": { + "description": "Creates a CustomMetric.", + "flatPath": "v1alpha/properties/{propertiesId}/customMetrics", + "httpMethod": "POST", + "id": "analyticsadmin.properties.customMetrics.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/customMetrics", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaCustomMetric" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaCustomMetric" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Lookup for a single CustomMetric.", + "flatPath": "v1alpha/properties/{propertiesId}/customMetrics/{customMetricsId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.customMetrics.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678", + "location": "path", + "pattern": "^properties/[^/]+/customMetrics/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaCustomMetric" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Lists CustomMetrics on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/customMetrics", + "httpMethod": "GET", + "id": "analyticsadmin.properties.customMetrics.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListCustomMetrics` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCustomMetrics` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/customMetrics", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListCustomMetricsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "description": "Updates a CustomMetric on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/customMetrics/{customMetricsId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.customMetrics.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric}", + "location": "path", + "pattern": "^properties/[^/]+/customMetrics/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaCustomMetric" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaCustomMetric" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + } + }, + "dataStreams": { + "methods": { + "create": { + "description": "Creates a DataStream.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams", + "httpMethod": "POST", + "id": "analyticsadmin.properties.dataStreams.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/dataStreams", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaDataStream" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaDataStream" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Deletes a DataStream on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.dataStreams.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the DataStream to delete. Example format: properties/1234/dataStreams/5678", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Lookup for a single DataStream.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.dataStreams.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaDataStream" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "getDataRedactionSettings": { + "description": "Lookup for a single DataRedactionSettings.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/dataRedactionSettings", + "httpMethod": "GET", + "id": "analyticsadmin.properties.dataStreams.getDataRedactionSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/dataRedactionSettings Example: \"properties/1000/dataStreams/2000/dataRedactionSettings\"", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+/dataRedactionSettings$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaDataRedactionSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "getEnhancedMeasurementSettings": { + "description": "Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/enhancedMeasurementSettings", + "httpMethod": "GET", + "id": "analyticsadmin.properties.dataStreams.getEnhancedMeasurementSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings Example: \"properties/1000/dataStreams/2000/enhancedMeasurementSettings\"", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+/enhancedMeasurementSettings$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "getGlobalSiteTag": { + "description": "Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/globalSiteTag", + "httpMethod": "GET", + "id": "analyticsadmin.properties.dataStreams.getGlobalSiteTag", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: \"properties/123/dataStreams/456/globalSiteTag\"", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+/globalSiteTag$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaGlobalSiteTag" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Lists DataStreams on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams", + "httpMethod": "GET", + "id": "analyticsadmin.properties.dataStreams.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListDataStreams` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDataStreams` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/dataStreams", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListDataStreamsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "description": "Updates a DataStream on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.dataStreams.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: \"properties/1000/dataStreams/2000\"", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaDataStream" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaDataStream" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "updateDataRedactionSettings": { + "description": "Updates a DataRedactionSettings on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/dataRedactionSettings", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.dataStreams.updateDataRedactionSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Name of this Data Redaction Settings resource. Format: properties/{property_id}/dataStreams/{data_stream}/dataRedactionSettings Example: \"properties/1000/dataStreams/2000/dataRedactionSettings\"", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+/dataRedactionSettings$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaDataRedactionSettings" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaDataRedactionSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "updateEnhancedMeasurementSettings": { + "description": "Updates the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/enhancedMeasurementSettings", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.dataStreams.updateEnhancedMeasurementSettings", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of the Enhanced Measurement Settings. Format: properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings Example: \"properties/1000/dataStreams/2000/enhancedMeasurementSettings\"", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+/enhancedMeasurementSettings$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + }, + "resources": { + "eventCreateRules": { + "methods": { + "create": { + "description": "Creates an EventCreateRule.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/eventCreateRules", + "httpMethod": "POST", + "id": "analyticsadmin.properties.dataStreams.eventCreateRules.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Example format: properties/123/dataStreams/456", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/eventCreateRules", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaEventCreateRule" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaEventCreateRule" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Deletes an EventCreateRule.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/eventCreateRules/{eventCreateRulesId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.dataStreams.eventCreateRules.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Example format: properties/123/dataStreams/456/eventCreateRules/789", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+/eventCreateRules/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Lookup for a single EventCreateRule.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/eventCreateRules/{eventCreateRulesId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.dataStreams.eventCreateRules.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the EventCreateRule to get. Example format: properties/123/dataStreams/456/eventCreateRules/789", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+/eventCreateRules/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaEventCreateRule" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Lists EventCreateRules on a web data stream.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/eventCreateRules", + "httpMethod": "GET", + "id": "analyticsadmin.properties.dataStreams.eventCreateRules.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListEventCreateRules` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEventCreateRules` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Example format: properties/123/dataStreams/456", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/eventCreateRules", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "description": "Updates an EventCreateRule.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/eventCreateRules/{eventCreateRulesId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.dataStreams.eventCreateRules.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name for this EventCreateRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule}", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+/eventCreateRules/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaEventCreateRule" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaEventCreateRule" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + } + }, + "measurementProtocolSecrets": { + "methods": { + "create": { + "description": "Creates a measurement protocol secret.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/measurementProtocolSecrets", + "httpMethod": "POST", + "id": "analyticsadmin.properties.dataStreams.measurementProtocolSecrets.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream}", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/measurementProtocolSecrets", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Deletes target MeasurementProtocolSecret.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/measurementProtocolSecrets/{measurementProtocolSecretsId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.dataStreams.measurementProtocolSecrets.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the MeasurementProtocolSecret to delete. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+/measurementProtocolSecrets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Lookup for a single \"GA4\" MeasurementProtocolSecret.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/measurementProtocolSecrets/{measurementProtocolSecretsId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.dataStreams.measurementProtocolSecrets.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the measurement protocol secret to lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+/measurementProtocolSecrets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Returns child MeasurementProtocolSecrets under the specified parent Property.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/measurementProtocolSecrets", + "httpMethod": "GET", + "id": "analyticsadmin.properties.dataStreams.measurementProtocolSecrets.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. If unspecified, at most 10 resources will be returned. The maximum value is 10. Higher values will be coerced to the maximum.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListMeasurementProtocolSecrets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMeasurementProtocolSecrets` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The resource name of the parent stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/measurementProtocolSecrets", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "description": "Updates a measurement protocol secret.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/measurementProtocolSecrets/{measurementProtocolSecretsId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.dataStreams.measurementProtocolSecrets.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+/measurementProtocolSecrets/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Omitted fields will not be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + } + }, + "sKAdNetworkConversionValueSchema": { + "methods": { + "create": { + "description": "Creates a SKAdNetworkConversionValueSchema.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/sKAdNetworkConversionValueSchema", + "httpMethod": "POST", + "id": "analyticsadmin.properties.dataStreams.sKAdNetworkConversionValueSchema.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource where this schema will be created. Format: properties/{property}/dataStreams/{dataStream}", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/sKAdNetworkConversionValueSchema", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Deletes target SKAdNetworkConversionValueSchema.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/sKAdNetworkConversionValueSchema/{sKAdNetworkConversionValueSchemaId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.dataStreams.sKAdNetworkConversionValueSchema.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the SKAdNetworkConversionValueSchema to delete. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+/sKAdNetworkConversionValueSchema/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Looks up a single SKAdNetworkConversionValueSchema.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/sKAdNetworkConversionValueSchema/{sKAdNetworkConversionValueSchemaId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.dataStreams.sKAdNetworkConversionValueSchema.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of SKAdNetwork conversion value schema to look up. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+/sKAdNetworkConversionValueSchema/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Lists SKAdNetworkConversionValueSchema on a stream. Properties can have at most one SKAdNetworkConversionValueSchema.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/sKAdNetworkConversionValueSchema", + "httpMethod": "GET", + "id": "analyticsadmin.properties.dataStreams.sKAdNetworkConversionValueSchema.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSKAdNetworkConversionValueSchema` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The DataStream resource to list schemas for. Format: properties/{property_id}/dataStreams/{dataStream} Example: properties/1234/dataStreams/5678", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/sKAdNetworkConversionValueSchema", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "description": "Updates a SKAdNetworkConversionValueSchema.", + "flatPath": "v1alpha/properties/{propertiesId}/dataStreams/{dataStreamsId}/sKAdNetworkConversionValueSchema/{sKAdNetworkConversionValueSchemaId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.dataStreams.sKAdNetworkConversionValueSchema.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema", + "location": "path", + "pattern": "^properties/[^/]+/dataStreams/[^/]+/sKAdNetworkConversionValueSchema/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Omitted fields will not be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + } + } + } + }, + "displayVideo360AdvertiserLinkProposals": { + "methods": { + "approve": { + "description": "Approves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created.", + "flatPath": "v1alpha/properties/{propertiesId}/displayVideo360AdvertiserLinkProposals/{displayVideo360AdvertiserLinkProposalsId}:approve", + "httpMethod": "POST", + "id": "analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.approve", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678", + "location": "path", + "pattern": "^properties/[^/]+/displayVideo360AdvertiserLinkProposals/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:approve", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "cancel": { + "description": "Cancels a DisplayVideo360AdvertiserLinkProposal. Cancelling can mean either: - Declining a proposal initiated from Display & Video 360 - Withdrawing a proposal initiated from Google Analytics After being cancelled, a proposal will eventually be deleted automatically.", + "flatPath": "v1alpha/properties/{propertiesId}/displayVideo360AdvertiserLinkProposals/{displayVideo360AdvertiserLinkProposalsId}:cancel", + "httpMethod": "POST", + "id": "analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.cancel", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678", + "location": "path", + "pattern": "^properties/[^/]+/displayVideo360AdvertiserLinkProposals/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}:cancel", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "create": { + "description": "Creates a DisplayVideo360AdvertiserLinkProposal.", + "flatPath": "v1alpha/properties/{propertiesId}/displayVideo360AdvertiserLinkProposals", + "httpMethod": "POST", + "id": "analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/displayVideo360AdvertiserLinkProposals", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Deletes a DisplayVideo360AdvertiserLinkProposal on a property. This can only be used on cancelled proposals.", + "flatPath": "v1alpha/properties/{propertiesId}/displayVideo360AdvertiserLinkProposals/{displayVideo360AdvertiserLinkProposalsId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678", + "location": "path", + "pattern": "^properties/[^/]+/displayVideo360AdvertiserLinkProposals/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Lookup for a single DisplayVideo360AdvertiserLinkProposal.", + "flatPath": "v1alpha/properties/{propertiesId}/displayVideo360AdvertiserLinkProposals/{displayVideo360AdvertiserLinkProposalsId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678", + "location": "path", + "pattern": "^properties/[^/]+/displayVideo360AdvertiserLinkProposals/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Lists DisplayVideo360AdvertiserLinkProposals on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/displayVideo360AdvertiserLinkProposals", + "httpMethod": "GET", + "id": "analyticsadmin.properties.displayVideo360AdvertiserLinkProposals.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDisplayVideo360AdvertiserLinkProposals` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/displayVideo360AdvertiserLinkProposals", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + } + } + }, + "displayVideo360AdvertiserLinks": { + "methods": { + "create": { + "description": "Creates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display & Video 360 advertiser. Users who do not have access to the Display & Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal.", + "flatPath": "v1alpha/properties/{propertiesId}/displayVideo360AdvertiserLinks", + "httpMethod": "POST", + "id": "analyticsadmin.properties.displayVideo360AdvertiserLinks.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/displayVideo360AdvertiserLinks", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Deletes a DisplayVideo360AdvertiserLink on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/displayVideo360AdvertiserLinks/{displayVideo360AdvertiserLinksId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.displayVideo360AdvertiserLinks.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the DisplayVideo360AdvertiserLink to delete. Example format: properties/1234/displayVideo360AdvertiserLinks/5678", + "location": "path", + "pattern": "^properties/[^/]+/displayVideo360AdvertiserLinks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Look up a single DisplayVideo360AdvertiserLink", + "flatPath": "v1alpha/properties/{propertiesId}/displayVideo360AdvertiserLinks/{displayVideo360AdvertiserLinksId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.displayVideo360AdvertiserLinks.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the DisplayVideo360AdvertiserLink to get. Example format: properties/1234/displayVideo360AdvertiserLink/5678", + "location": "path", + "pattern": "^properties/[^/]+/displayVideo360AdvertiserLinks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Lists all DisplayVideo360AdvertiserLinks on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/displayVideo360AdvertiserLinks", + "httpMethod": "GET", + "id": "analyticsadmin.properties.displayVideo360AdvertiserLinks.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListDisplayVideo360AdvertiserLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDisplayVideo360AdvertiserLinks` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/displayVideo360AdvertiserLinks", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "description": "Updates a DisplayVideo360AdvertiserLink on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/displayVideo360AdvertiserLinks/{displayVideo360AdvertiserLinksId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.displayVideo360AdvertiserLinks.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. The resource name for this DisplayVideo360AdvertiserLink resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} Note: linkId is not the Display & Video 360 Advertiser ID", + "location": "path", + "pattern": "^properties/[^/]+/displayVideo360AdvertiserLinks/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + } + }, + "expandedDataSets": { + "methods": { + "create": { + "description": "Creates a ExpandedDataSet.", + "flatPath": "v1alpha/properties/{propertiesId}/expandedDataSets", + "httpMethod": "POST", + "id": "analyticsadmin.properties.expandedDataSets.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/expandedDataSets", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaExpandedDataSet" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaExpandedDataSet" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Deletes a ExpandedDataSet on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/expandedDataSets/{expandedDataSetsId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.expandedDataSets.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Example format: properties/1234/expandedDataSets/5678", + "location": "path", + "pattern": "^properties/[^/]+/expandedDataSets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Lookup for a single ExpandedDataSet.", + "flatPath": "v1alpha/properties/{propertiesId}/expandedDataSets/{expandedDataSetsId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.expandedDataSets.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the ExpandedDataSet to get. Example format: properties/1234/expandedDataSets/5678", + "location": "path", + "pattern": "^properties/[^/]+/expandedDataSets/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaExpandedDataSet" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Lists ExpandedDataSets on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/expandedDataSets", + "httpMethod": "GET", + "id": "analyticsadmin.properties.expandedDataSets.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListExpandedDataSets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListExpandedDataSet` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/expandedDataSets", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "description": "Updates a ExpandedDataSet on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/expandedDataSets/{expandedDataSetsId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.expandedDataSets.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. The resource name for this ExpandedDataSet resource. Format: properties/{property_id}/expandedDataSets/{expanded_data_set}", + "location": "path", + "pattern": "^properties/[^/]+/expandedDataSets/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaExpandedDataSet" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaExpandedDataSet" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + } + }, + "firebaseLinks": { + "methods": { + "create": { + "description": "Creates a FirebaseLink. Properties can have at most one FirebaseLink.", + "flatPath": "v1alpha/properties/{propertiesId}/firebaseLinks", + "httpMethod": "POST", + "id": "analyticsadmin.properties.firebaseLinks.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Format: properties/{property_id} Example: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/firebaseLinks", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaFirebaseLink" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaFirebaseLink" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Deletes a FirebaseLink on a property", + "flatPath": "v1alpha/properties/{propertiesId}/firebaseLinks/{firebaseLinksId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.firebaseLinks.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} Example: properties/1234/firebaseLinks/5678", + "location": "path", + "pattern": "^properties/[^/]+/firebaseLinks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "list": { + "description": "Lists FirebaseLinks on a property. Properties can have at most one FirebaseLink.", + "flatPath": "v1alpha/properties/{propertiesId}/firebaseLinks", + "httpMethod": "GET", + "id": "analyticsadmin.properties.firebaseLinks.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListFirebaseLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFirebaseLinks` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Format: properties/{property_id} Example: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/firebaseLinks", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + } + } + }, + "googleAdsLinks": { + "methods": { + "create": { + "description": "Creates a GoogleAdsLink.", + "flatPath": "v1alpha/properties/{propertiesId}/googleAdsLinks", + "httpMethod": "POST", + "id": "analyticsadmin.properties.googleAdsLinks.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/googleAdsLinks", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaGoogleAdsLink" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaGoogleAdsLink" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Deletes a GoogleAdsLink on a property", + "flatPath": "v1alpha/properties/{propertiesId}/googleAdsLinks/{googleAdsLinksId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.googleAdsLinks.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Example format: properties/1234/googleAdsLinks/5678", + "location": "path", + "pattern": "^properties/[^/]+/googleAdsLinks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "list": { + "description": "Lists GoogleAdsLinks on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/googleAdsLinks", + "httpMethod": "GET", + "id": "analyticsadmin.properties.googleAdsLinks.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListGoogleAdsLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListGoogleAdsLinks` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/googleAdsLinks", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "description": "Updates a GoogleAdsLink on a property", + "flatPath": "v1alpha/properties/{propertiesId}/googleAdsLinks/{googleAdsLinksId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.googleAdsLinks.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID.", + "location": "path", + "pattern": "^properties/[^/]+/googleAdsLinks/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaGoogleAdsLink" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaGoogleAdsLink" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + } + }, + "keyEvents": { + "methods": { + "create": { + "description": "Creates a Key Event.", + "flatPath": "v1alpha/properties/{propertiesId}/keyEvents", + "httpMethod": "POST", + "id": "analyticsadmin.properties.keyEvents.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The resource name of the parent property where this Key Event will be created. Format: properties/123", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/keyEvents", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaKeyEvent" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaKeyEvent" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Deletes a Key Event.", + "flatPath": "v1alpha/properties/{propertiesId}/keyEvents/{keyEventsId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.keyEvents.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the Key Event to delete. Format: properties/{property}/keyEvents/{key_event} Example: \"properties/123/keyEvents/456\"", + "location": "path", + "pattern": "^properties/[^/]+/keyEvents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Retrieve a single Key Event.", + "flatPath": "v1alpha/properties/{propertiesId}/keyEvents/{keyEventsId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.keyEvents.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The resource name of the Key Event to retrieve. Format: properties/{property}/keyEvents/{key_event} Example: \"properties/123/keyEvents/456\"", + "location": "path", + "pattern": "^properties/[^/]+/keyEvents/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaKeyEvent" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Returns a list of Key Events in the specified parent property. Returns an empty list if no Key Events are found.", + "flatPath": "v1alpha/properties/{propertiesId}/keyEvents", + "httpMethod": "GET", + "id": "analyticsadmin.properties.keyEvents.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListKeyEvents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListKeyEvents` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The resource name of the parent property. Example: 'properties/123'", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/keyEvents", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListKeyEventsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "description": "Updates a Key Event.", + "flatPath": "v1alpha/properties/{propertiesId}/keyEvents/{keyEventsId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.keyEvents.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Resource name of this key event. Format: properties/{property}/keyEvents/{key_event}", + "location": "path", + "pattern": "^properties/[^/]+/keyEvents/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Field names must be in snake case (e.g., \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaKeyEvent" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaKeyEvent" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + } + }, + "rollupPropertySourceLinks": { + "methods": { + "create": { + "description": "Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.", + "flatPath": "v1alpha/properties/{propertiesId}/rollupPropertySourceLinks", + "httpMethod": "POST", + "id": "analyticsadmin.properties.rollupPropertySourceLinks.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Format: properties/{property_id} Example: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/rollupPropertySourceLinks", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaRollupPropertySourceLink" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaRollupPropertySourceLink" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Deletes a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.", + "flatPath": "v1alpha/properties/{propertiesId}/rollupPropertySourceLinks/{rollupPropertySourceLinksId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.rollupPropertySourceLinks.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/1234/rollupPropertySourceLinks/5678", + "location": "path", + "pattern": "^properties/[^/]+/rollupPropertySourceLinks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Lookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.", + "flatPath": "v1alpha/properties/{propertiesId}/rollupPropertySourceLinks/{rollupPropertySourceLinksId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.rollupPropertySourceLinks.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the roll-up property source link to lookup. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/123/rollupPropertySourceLinks/456", + "location": "path", + "pattern": "^properties/[^/]+/rollupPropertySourceLinks/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaRollupPropertySourceLink" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Lists roll-up property source Links on a property. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.", + "flatPath": "v1alpha/properties/{propertiesId}/rollupPropertySourceLinks", + "httpMethod": "GET", + "id": "analyticsadmin.properties.rollupPropertySourceLinks.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListRollupPropertySourceLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRollupPropertySourceLinks` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The name of the roll-up property to list roll-up property source links under. Format: properties/{property_id} Example: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/rollupPropertySourceLinks", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + } + } + }, + "searchAds360Links": { + "methods": { + "create": { + "description": "Creates a SearchAds360Link.", + "flatPath": "v1alpha/properties/{propertiesId}/searchAds360Links", + "httpMethod": "POST", + "id": "analyticsadmin.properties.searchAds360Links.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/searchAds360Links", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaSearchAds360Link" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaSearchAds360Link" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Deletes a SearchAds360Link on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/searchAds360Links/{searchAds360LinksId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.searchAds360Links.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the SearchAds360Link to delete. Example format: properties/1234/SearchAds360Links/5678", + "location": "path", + "pattern": "^properties/[^/]+/searchAds360Links/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Look up a single SearchAds360Link", + "flatPath": "v1alpha/properties/{propertiesId}/searchAds360Links/{searchAds360LinksId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.searchAds360Links.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the SearchAds360Link to get. Example format: properties/1234/SearchAds360Link/5678", + "location": "path", + "pattern": "^properties/[^/]+/searchAds360Links/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaSearchAds360Link" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "Lists all SearchAds360Links on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/searchAds360Links", + "httpMethod": "GET", + "id": "analyticsadmin.properties.searchAds360Links.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListSearchAds360Links` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSearchAds360Links` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Example format: properties/1234", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/searchAds360Links", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "description": "Updates a SearchAds360Link on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/searchAds360Links/{searchAds360LinksId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.searchAds360Links.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. The resource name for this SearchAds360Link resource. Format: properties/{propertyId}/searchAds360Links/{linkId} Note: linkId is not the Search Ads 360 advertiser ID", + "location": "path", + "pattern": "^properties/[^/]+/searchAds360Links/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaSearchAds360Link" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaSearchAds360Link" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + } + }, + "subpropertyEventFilters": { + "methods": { + "create": { + "description": "Creates a subproperty Event Filter.", + "flatPath": "v1alpha/properties/{propertiesId}/subpropertyEventFilters", + "httpMethod": "POST", + "id": "analyticsadmin.properties.subpropertyEventFilters.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The ordinary property for which to create a subproperty event filter. Format: properties/property_id Example: properties/123", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/subpropertyEventFilters", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilter" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilter" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "delete": { + "description": "Deletes a subproperty event filter.", + "flatPath": "v1alpha/properties/{propertiesId}/subpropertyEventFilters/{subpropertyEventFiltersId}", + "httpMethod": "DELETE", + "id": "analyticsadmin.properties.subpropertyEventFilters.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the subproperty event filter to delete. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456", + "location": "path", + "pattern": "^properties/[^/]+/subpropertyEventFilters/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + }, + "get": { + "description": "Lookup for a single subproperty Event Filter.", + "flatPath": "v1alpha/properties/{propertiesId}/subpropertyEventFilters/{subpropertyEventFiltersId}", + "httpMethod": "GET", + "id": "analyticsadmin.properties.subpropertyEventFilters.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the subproperty event filter to lookup. Format: properties/property_id/subpropertyEventFilters/subproperty_event_filter Example: properties/123/subpropertyEventFilters/456", + "location": "path", + "pattern": "^properties/[^/]+/subpropertyEventFilters/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilter" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "list": { + "description": "List all subproperty Event Filters on a property.", + "flatPath": "v1alpha/properties/{propertiesId}/subpropertyEventFilters", + "httpMethod": "GET", + "id": "analyticsadmin.properties.subpropertyEventFilters.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Optional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSubpropertyEventFilters` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Resource name of the ordinary property. Format: properties/property_id Example: properties/123", + "location": "path", + "pattern": "^properties/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/subpropertyEventFilters", + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit", + "https://www.googleapis.com/auth/analytics.readonly" + ] + }, + "patch": { + "description": "Updates a subproperty Event Filter.", + "flatPath": "v1alpha/properties/{propertiesId}/subpropertyEventFilters/{subpropertyEventFiltersId}", + "httpMethod": "PATCH", + "id": "analyticsadmin.properties.subpropertyEventFilters.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. Format: properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} Example: properties/1234/subpropertyEventFilters/5678", + "location": "path", + "pattern": "^properties/[^/]+/subpropertyEventFilters/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Required. The list of fields to update. Field names must be in snake case (for example, \"field_to_update\"). Omitted fields will not be updated. To replace the entire entity, use one path with the string \"*\" to match all fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilter" + }, + "response": { + "$ref": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilter" + }, + "scopes": [ + "https://www.googleapis.com/auth/analytics.edit" + ] + } + } + } + } + } + }, + "schemas": { + "GoogleAnalyticsAdminV1alphaAccessBetweenFilter": { + "description": "To express that the result needs to be between two numbers (inclusive).", + "id": "GoogleAnalyticsAdminV1alphaAccessBetweenFilter", + "properties": { + "fromValue": { + "$ref": "GoogleAnalyticsAdminV1alphaNumericValue", + "description": "Begins with this number." + }, + "toValue": { + "$ref": "GoogleAnalyticsAdminV1alphaNumericValue", + "description": "Ends with this number." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessBinding": { + "description": "A binding of a user to a set of roles.", + "id": "GoogleAnalyticsAdminV1alphaAccessBinding", + "properties": { + "name": { + "description": "Output only. Resource name of this binding. Format: accounts/{account}/accessBindings/{access_binding} or properties/{property}/accessBindings/{access_binding} Example: \"accounts/100/accessBindings/200\"", + "readOnly": true, + "type": "string" + }, + "roles": { + "description": "A list of roles for to grant to the parent resource. Valid values: predefinedRoles/viewer predefinedRoles/analyst predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data predefinedRoles/no-revenue-data For users, if an empty list of roles is set, this AccessBinding will be deleted.", + "items": { + "type": "string" + }, + "type": "array" + }, + "user": { + "description": "If set, the email address of the user to set roles for. Format: \"someuser@gmail.com\"", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessDateRange": { + "description": "A contiguous range of days: startDate, startDate + 1, ..., endDate.", + "id": "GoogleAnalyticsAdminV1alphaAccessDateRange", + "properties": { + "endDate": { + "description": "The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is also accepted, and in that case, the date is inferred based on the current time in the request's time zone.", + "type": "string" + }, + "startDate": { + "description": "The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also accepted, and in that case, the date is inferred based on the current time in the request's time zone.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessDimension": { + "description": "Dimensions are attributes of your data. For example, the dimension `userEmail` indicates the email of the user that accessed reporting data. Dimension values in report responses are strings.", + "id": "GoogleAnalyticsAdminV1alphaAccessDimension", + "properties": { + "dimensionName": { + "description": "The API name of the dimension. See [Data Access Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) for the list of dimensions supported in this API. Dimensions are referenced by name in `dimensionFilter` and `orderBys`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessDimensionHeader": { + "description": "Describes a dimension column in the report. Dimensions requested in a report produce column entries within rows and DimensionHeaders. However, dimensions used exclusively within filters or expressions do not produce columns in a report; correspondingly, those dimensions do not produce headers.", + "id": "GoogleAnalyticsAdminV1alphaAccessDimensionHeader", + "properties": { + "dimensionName": { + "description": "The dimension's name; for example 'userEmail'.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessDimensionValue": { + "description": "The value of a dimension.", + "id": "GoogleAnalyticsAdminV1alphaAccessDimensionValue", + "properties": { + "value": { + "description": "The dimension value. For example, this value may be 'France' for the 'country' dimension.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessFilter": { + "description": "An expression to filter dimension or metric values.", + "id": "GoogleAnalyticsAdminV1alphaAccessFilter", + "properties": { + "betweenFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessBetweenFilter", + "description": "A filter for two values." + }, + "fieldName": { + "description": "The dimension name or metric name.", + "type": "string" + }, + "inListFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessInListFilter", + "description": "A filter for in list values." + }, + "numericFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessNumericFilter", + "description": "A filter for numeric or date values." + }, + "stringFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessStringFilter", + "description": "Strings related filter." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessFilterExpression": { + "description": "Expresses dimension or metric filters. The fields in the same expression need to be either all dimensions or all metrics.", + "id": "GoogleAnalyticsAdminV1alphaAccessFilterExpression", + "properties": { + "accessFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessFilter", + "description": "A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics." + }, + "andGroup": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessFilterExpressionList", + "description": "Each of the FilterExpressions in the and_group has an AND relationship." + }, + "notExpression": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessFilterExpression", + "description": "The FilterExpression is NOT of not_expression." + }, + "orGroup": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessFilterExpressionList", + "description": "Each of the FilterExpressions in the or_group has an OR relationship." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessFilterExpressionList": { + "description": "A list of filter expressions.", + "id": "GoogleAnalyticsAdminV1alphaAccessFilterExpressionList", + "properties": { + "expressions": { + "description": "A list of filter expressions.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessFilterExpression" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessInListFilter": { + "description": "The result needs to be in a list of string values.", + "id": "GoogleAnalyticsAdminV1alphaAccessInListFilter", + "properties": { + "caseSensitive": { + "description": "If true, the string value is case sensitive.", + "type": "boolean" + }, + "values": { + "description": "The list of string values. Must be non-empty.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessMetric": { + "description": "The quantitative measurements of a report. For example, the metric `accessCount` is the total number of data access records.", + "id": "GoogleAnalyticsAdminV1alphaAccessMetric", + "properties": { + "metricName": { + "description": "The API name of the metric. See [Data Access Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) for the list of metrics supported in this API. Metrics are referenced by name in `metricFilter` & `orderBys`.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessMetricHeader": { + "description": "Describes a metric column in the report. Visible metrics requested in a report produce column entries within rows and MetricHeaders. However, metrics used exclusively within filters or expressions do not produce columns in a report; correspondingly, those metrics do not produce headers.", + "id": "GoogleAnalyticsAdminV1alphaAccessMetricHeader", + "properties": { + "metricName": { + "description": "The metric's name; for example 'accessCount'.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessMetricValue": { + "description": "The value of a metric.", + "id": "GoogleAnalyticsAdminV1alphaAccessMetricValue", + "properties": { + "value": { + "description": "The measurement value. For example, this value may be '13'.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessNumericFilter": { + "description": "Filters for numeric or date values.", + "id": "GoogleAnalyticsAdminV1alphaAccessNumericFilter", + "properties": { + "operation": { + "description": "The operation type for this filter.", + "enum": [ + "OPERATION_UNSPECIFIED", + "EQUAL", + "LESS_THAN", + "LESS_THAN_OR_EQUAL", + "GREATER_THAN", + "GREATER_THAN_OR_EQUAL" + ], + "enumDescriptions": [ + "Unspecified.", + "Equal", + "Less than", + "Less than or equal", + "Greater than", + "Greater than or equal" + ], + "type": "string" + }, + "value": { + "$ref": "GoogleAnalyticsAdminV1alphaNumericValue", + "description": "A numeric value or a date value." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessOrderBy": { + "description": "Order bys define how rows will be sorted in the response. For example, ordering rows by descending access count is one ordering, and ordering rows by the country string is a different ordering.", + "id": "GoogleAnalyticsAdminV1alphaAccessOrderBy", + "properties": { + "desc": { + "description": "If true, sorts by descending order. If false or unspecified, sorts in ascending order.", + "type": "boolean" + }, + "dimension": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy", + "description": "Sorts results by a dimension's values." + }, + "metric": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy", + "description": "Sorts results by a metric's values." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy": { + "description": "Sorts by dimension values.", + "id": "GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy", + "properties": { + "dimensionName": { + "description": "A dimension name in the request to order by.", + "type": "string" + }, + "orderType": { + "description": "Controls the rule for dimension value ordering.", + "enum": [ + "ORDER_TYPE_UNSPECIFIED", + "ALPHANUMERIC", + "CASE_INSENSITIVE_ALPHANUMERIC", + "NUMERIC" + ], + "enumDescriptions": [ + "Unspecified.", + "Alphanumeric sort by Unicode code point. For example, \"2\" < \"A\" < \"X\" < \"b\" < \"z\".", + "Case insensitive alphanumeric sort by lower case Unicode code point. For example, \"2\" < \"A\" < \"b\" < \"X\" < \"z\".", + "Dimension values are converted to numbers before sorting. For example in NUMERIC sort, \"25\" < \"100\", and in `ALPHANUMERIC` sort, \"100\" < \"25\". Non-numeric dimension values all have equal ordering value below all numeric values." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy": { + "description": "Sorts by metric values.", + "id": "GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy", + "properties": { + "metricName": { + "description": "A metric name in the request to order by.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessQuota": { + "description": "Current state of all quotas for this Analytics property. If any quota for a property is exhausted, all requests to that property will return Resource Exhausted errors.", + "id": "GoogleAnalyticsAdminV1alphaAccessQuota", + "properties": { + "concurrentRequests": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessQuotaStatus", + "description": "Properties can use up to 50 concurrent requests." + }, + "serverErrorsPerProjectPerHour": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessQuotaStatus", + "description": "Properties and cloud project pairs can have up to 50 server errors per hour." + }, + "tokensPerDay": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessQuotaStatus", + "description": "Properties can use 250,000 tokens per day. Most requests consume fewer than 10 tokens." + }, + "tokensPerHour": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessQuotaStatus", + "description": "Properties can use 50,000 tokens per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas." + }, + "tokensPerProjectPerHour": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessQuotaStatus", + "description": "Properties can use up to 25% of their tokens per project per hour. This amounts to Analytics 360 Properties can use 12,500 tokens per project per hour. An API request consumes a single number of tokens, and that number is deducted from all of the hourly, daily, and per project hourly quotas." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessQuotaStatus": { + "description": "Current state for a particular quota group.", + "id": "GoogleAnalyticsAdminV1alphaAccessQuotaStatus", + "properties": { + "consumed": { + "description": "Quota consumed by this request.", + "format": "int32", + "type": "integer" + }, + "remaining": { + "description": "Quota remaining after this request.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessRow": { + "description": "Access report data for each row.", + "id": "GoogleAnalyticsAdminV1alphaAccessRow", + "properties": { + "dimensionValues": { + "description": "List of dimension values. These values are in the same order as specified in the request.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessDimensionValue" + }, + "type": "array" + }, + "metricValues": { + "description": "List of metric values. These values are in the same order as specified in the request.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessMetricValue" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccessStringFilter": { + "description": "The filter for strings.", + "id": "GoogleAnalyticsAdminV1alphaAccessStringFilter", + "properties": { + "caseSensitive": { + "description": "If true, the string value is case sensitive.", + "type": "boolean" + }, + "matchType": { + "description": "The match type for this filter.", + "enum": [ + "MATCH_TYPE_UNSPECIFIED", + "EXACT", + "BEGINS_WITH", + "ENDS_WITH", + "CONTAINS", + "FULL_REGEXP", + "PARTIAL_REGEXP" + ], + "enumDescriptions": [ + "Unspecified", + "Exact match of the string value.", + "Begins with the string value.", + "Ends with the string value.", + "Contains the string value.", + "Full match for the regular expression with the string value.", + "Partial match for the regular expression with the string value." + ], + "type": "string" + }, + "value": { + "description": "The string value used for the matching.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccount": { + "description": "A resource message representing a Google Analytics account.", + "id": "GoogleAnalyticsAdminV1alphaAccount", + "properties": { + "createTime": { + "description": "Output only. Time when this account was originally created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "deleted": { + "description": "Output only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested.", + "readOnly": true, + "type": "boolean" + }, + "displayName": { + "description": "Required. Human-readable display name for this account.", + "type": "string" + }, + "gmpOrganization": { + "description": "Output only. The URI for a Google Marketing Platform organization resource. Only set when this account is connected to a GMP organization. Format: marketingplatformadmin.googleapis.com/organizations/{org_id}", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Output only. Resource name of this account. Format: accounts/{account} Example: \"accounts/100\"", + "readOnly": true, + "type": "string" + }, + "regionCode": { + "description": "Country of business. Must be a Unicode CLDR region code.", + "type": "string" + }, + "updateTime": { + "description": "Output only. Time when account payload fields were last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAccountSummary": { + "description": "A virtual resource representing an overview of an account and all its child GA4 properties.", + "id": "GoogleAnalyticsAdminV1alphaAccountSummary", + "properties": { + "account": { + "description": "Resource name of account referred to by this account summary Format: accounts/{account_id} Example: \"accounts/1000\"", + "type": "string" + }, + "displayName": { + "description": "Display name for the account referred to in this account summary.", + "type": "string" + }, + "name": { + "description": "Resource name for this account summary. Format: accountSummaries/{account_id} Example: \"accountSummaries/1000\"", + "type": "string" + }, + "propertySummaries": { + "description": "List of summaries for child accounts of this account.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaPropertySummary" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest": { + "description": "Request message for AcknowledgeUserDataCollection RPC.", + "id": "GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest", + "properties": { + "acknowledgement": { + "description": "Required. An acknowledgement that the caller of this method understands the terms of user data collection. This field must contain the exact value: \"I acknowledge that I have the necessary privacy disclosures and rights from my end users for the collection and processing of their data, including the association of such data with the visitation information Google Analytics collects from my site and/or app property.\"", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse": { + "description": "Response message for AcknowledgeUserDataCollection RPC.", + "id": "GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse", + "properties": {}, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAdSenseLink": { + "description": "A link between a GA4 Property and an AdSense for Content ad client.", + "id": "GoogleAnalyticsAdminV1alphaAdSenseLink", + "properties": { + "adClientCode": { + "description": "Immutable. The AdSense ad client code that the GA4 property is linked to. Example format: \"ca-pub-1234567890\"", + "type": "string" + }, + "name": { + "description": "Output only. The resource name for this AdSense Link resource. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/6789", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest": { + "description": "Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.", + "id": "GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest", + "properties": {}, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse": { + "description": "Response message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.", + "id": "GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse", + "properties": { + "displayVideo360AdvertiserLink": { + "$ref": "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink", + "description": "The DisplayVideo360AdvertiserLink created as a result of approving the proposal." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaArchiveAudienceRequest": { + "description": "Request message for ArchiveAudience RPC.", + "id": "GoogleAnalyticsAdminV1alphaArchiveAudienceRequest", + "properties": {}, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest": { + "description": "Request message for ArchiveCustomDimension RPC.", + "id": "GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest", + "properties": {}, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest": { + "description": "Request message for ArchiveCustomMetric RPC.", + "id": "GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest", + "properties": {}, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAttributionSettings": { + "description": "The attribution settings used for a given property. This is a singleton resource.", + "id": "GoogleAnalyticsAdminV1alphaAttributionSettings", + "properties": { + "acquisitionConversionEventLookbackWindow": { + "description": "Required. The lookback window configuration for acquisition conversion events. The default window size is 30 days.", + "enum": [ + "ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED", + "ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS", + "ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS" + ], + "enumDescriptions": [ + "Lookback window size unspecified.", + "7-day lookback window.", + "30-day lookback window." + ], + "type": "string" + }, + "adsWebConversionDataExportScope": { + "description": "Required. The Conversion Export Scope for data exported to linked Ads Accounts.", + "enum": [ + "ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED", + "NOT_SELECTED_YET", + "PAID_AND_ORGANIC_CHANNELS", + "GOOGLE_PAID_CHANNELS" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "No data export scope selected yet. Export scope can never be changed back to this value.", + "Paid and organic channels are eligible to receive conversion credit, but only credit assigned to Google Ads channels will appear in your Ads accounts. To learn more, see [Paid and Organic channels](https://support.google.com/analytics/answer/10632359).", + "Only Google Ads paid channels are eligible to receive conversion credit. To learn more, see [Google Paid channels](https://support.google.com/analytics/answer/10632359)." + ], + "type": "string" + }, + "name": { + "description": "Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: \"properties/1000/attributionSettings\"", + "readOnly": true, + "type": "string" + }, + "otherConversionEventLookbackWindow": { + "description": "Required. The lookback window for all other, non-acquisition conversion events. The default window size is 90 days.", + "enum": [ + "OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED", + "OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS", + "OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS", + "OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS" + ], + "enumDescriptions": [ + "Lookback window size unspecified.", + "30-day lookback window.", + "60-day lookback window.", + "90-day lookback window." + ], + "type": "string" + }, + "reportingAttributionModel": { + "description": "Required. The reporting attribution model used to calculate conversion credit in this property's reports. Changing the attribution model will apply to both historical and future data. These changes will be reflected in reports with conversion and revenue data. User and session data will be unaffected.", + "enum": [ + "REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED", + "PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN", + "PAID_AND_ORGANIC_CHANNELS_LAST_CLICK", + "GOOGLE_PAID_CHANNELS_LAST_CLICK" + ], + "enumDescriptions": [ + "Reporting attribution model unspecified.", + "Data-driven attribution distributes credit for the conversion based on data for each conversion event. Each Data-driven model is specific to each advertiser and each conversion event. Previously CROSS_CHANNEL_DATA_DRIVEN", + "Ignores direct traffic and attributes 100% of the conversion value to the last channel that the customer clicked through (or engaged view through for YouTube) before converting. Previously CROSS_CHANNEL_LAST_CLICK", + "Attributes 100% of the conversion value to the last Google Paid channel that the customer clicked through before converting. Previously ADS_PREFERRED_LAST_CLICK" + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAudience": { + "description": "A resource message representing a GA4 Audience.", + "id": "GoogleAnalyticsAdminV1alphaAudience", + "properties": { + "adsPersonalizationEnabled": { + "description": "Output only. It is automatically set by GA to false if this is an NPA Audience and is excluded from ads personalization.", + "readOnly": true, + "type": "boolean" + }, + "createTime": { + "description": "Output only. Time when the Audience was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Required. The description of the Audience.", + "type": "string" + }, + "displayName": { + "description": "Required. The display name of the Audience.", + "type": "string" + }, + "eventTrigger": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceEventTrigger", + "description": "Optional. Specifies an event to log when a user joins the Audience. If not set, no event is logged when a user joins the Audience." + }, + "exclusionDurationMode": { + "description": "Immutable. Specifies how long an exclusion lasts for users that meet the exclusion filter. It is applied to all EXCLUDE filter clauses and is ignored when there is no EXCLUDE filter clause in the Audience.", + "enum": [ + "AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED", + "EXCLUDE_TEMPORARILY", + "EXCLUDE_PERMANENTLY" + ], + "enumDescriptions": [ + "Not specified.", + "Exclude users from the Audience during periods when they meet the filter clause.", + "Exclude users from the Audience if they've ever met the filter clause." + ], + "type": "string" + }, + "filterClauses": { + "description": "Required. Immutable. Unordered list. Filter clauses that define the Audience. All clauses will be AND’ed together.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceFilterClause" + }, + "type": "array" + }, + "membershipDurationDays": { + "description": "Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more than 540 days.", + "format": "int32", + "type": "integer" + }, + "name": { + "description": "Output only. The resource name for this Audience resource. Format: properties/{propertyId}/audiences/{audienceId}", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter": { + "description": "A specific filter for a single dimension or metric.", + "id": "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter", + "properties": { + "atAnyPointInTime": { + "description": "Optional. Indicates whether this filter needs dynamic evaluation or not. If set to true, users join the Audience if they ever met the condition (static evaluation). If unset or set to false, user evaluation for an Audience is dynamic; users are added to an Audience when they meet the conditions and then removed when they no longer meet them. This can only be set when Audience scope is ACROSS_ALL_SESSIONS.", + "type": "boolean" + }, + "betweenFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter", + "description": "A filter for numeric or date values between certain values on a dimension or metric." + }, + "fieldName": { + "description": "Required. Immutable. The dimension name or metric name to filter. If the field name refers to a custom dimension or metric, a scope prefix will be added to the front of the custom dimensions or metric name. For more on scope prefixes or custom dimensions/metrics, reference the [Google Analytics Data API documentation] (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions).", + "type": "string" + }, + "inAnyNDayPeriod": { + "description": "Optional. If set, specifies the time window for which to evaluate data in number of days. If not set, then audience data is evaluated against lifetime data (For example, infinite time window). For example, if set to 1 day, only the current day's data is evaluated. The reference point is the current day when at_any_point_in_time is unset or false. It can only be set when Audience scope is ACROSS_ALL_SESSIONS and cannot be greater than 60 days.", + "format": "int32", + "type": "integer" + }, + "inListFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter", + "description": "A filter for a string dimension that matches a particular list of options." + }, + "numericFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter", + "description": "A filter for numeric or date values on a dimension or metric." + }, + "stringFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter", + "description": "A filter for a string-type dimension that matches a particular pattern." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter": { + "description": "A filter for numeric or date values between certain values on a dimension or metric.", + "id": "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter", + "properties": { + "fromValue": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue", + "description": "Required. Begins with this number, inclusive." + }, + "toValue": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue", + "description": "Required. Ends with this number, inclusive." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter": { + "description": "A filter for a string dimension that matches a particular list of options.", + "id": "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter", + "properties": { + "caseSensitive": { + "description": "Optional. If true, the match is case-sensitive. If false, the match is case-insensitive.", + "type": "boolean" + }, + "values": { + "description": "Required. The list of possible string values to match against. Must be non-empty.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter": { + "description": "A filter for numeric or date values on a dimension or metric.", + "id": "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter", + "properties": { + "operation": { + "description": "Required. The operation applied to a numeric filter.", + "enum": [ + "OPERATION_UNSPECIFIED", + "EQUAL", + "LESS_THAN", + "GREATER_THAN" + ], + "enumDescriptions": [ + "Unspecified.", + "Equal.", + "Less than.", + "Greater than." + ], + "type": "string" + }, + "value": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue", + "description": "Required. The numeric or date value to match against." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue": { + "description": "To represent a number.", + "id": "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue", + "properties": { + "doubleValue": { + "description": "Double value.", + "format": "double", + "type": "number" + }, + "int64Value": { + "description": "Integer value.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter": { + "description": "A filter for a string-type dimension that matches a particular pattern.", + "id": "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter", + "properties": { + "caseSensitive": { + "description": "Optional. If true, the match is case-sensitive. If false, the match is case-insensitive.", + "type": "boolean" + }, + "matchType": { + "description": "Required. The match type for the string filter.", + "enum": [ + "MATCH_TYPE_UNSPECIFIED", + "EXACT", + "BEGINS_WITH", + "ENDS_WITH", + "CONTAINS", + "FULL_REGEXP" + ], + "enumDescriptions": [ + "Unspecified", + "Exact match of the string value.", + "Begins with the string value.", + "Ends with the string value.", + "Contains the string value.", + "Full regular expression matches with the string value." + ], + "type": "string" + }, + "value": { + "description": "Required. The string value to be matched against.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAudienceEventFilter": { + "description": "A filter that matches events of a single event name. If an event parameter is specified, only the subset of events that match both the single event name and the parameter filter expressions match this event filter.", + "id": "GoogleAnalyticsAdminV1alphaAudienceEventFilter", + "properties": { + "eventName": { + "description": "Required. Immutable. The name of the event to match against.", + "type": "string" + }, + "eventParameterFilterExpression": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceFilterExpression", + "description": "Optional. If specified, this filter matches events that match both the single event name and the parameter filter expressions. AudienceEventFilter inside the parameter filter expression cannot be set (For example, nested event filters are not supported). This should be a single and_group of dimension_or_metric_filter or not_expression; ANDs of ORs are not supported. Also, if it includes a filter for \"eventCount\", only that one will be considered; all the other filters will be ignored." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAudienceEventTrigger": { + "description": "Specifies an event to log when a user joins the Audience.", + "id": "GoogleAnalyticsAdminV1alphaAudienceEventTrigger", + "properties": { + "eventName": { + "description": "Required. The event name that will be logged.", + "type": "string" + }, + "logCondition": { + "description": "Required. When to log the event.", + "enum": [ + "LOG_CONDITION_UNSPECIFIED", + "AUDIENCE_JOINED", + "AUDIENCE_MEMBERSHIP_RENEWED" + ], + "enumDescriptions": [ + "Log condition is not specified.", + "The event should be logged only when a user is joined.", + "The event should be logged whenever the Audience condition is met, even if the user is already a member of the Audience." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAudienceFilterClause": { + "description": "A clause for defining either a simple or sequence filter. A filter can be inclusive (For example, users satisfying the filter clause are included in the Audience) or exclusive (For example, users satisfying the filter clause are excluded from the Audience).", + "id": "GoogleAnalyticsAdminV1alphaAudienceFilterClause", + "properties": { + "clauseType": { + "description": "Required. Specifies whether this is an include or exclude filter clause.", + "enum": [ + "AUDIENCE_CLAUSE_TYPE_UNSPECIFIED", + "INCLUDE", + "EXCLUDE" + ], + "enumDescriptions": [ + "Unspecified clause type.", + "Users will be included in the Audience if the filter clause is met.", + "Users will be excluded from the Audience if the filter clause is met." + ], + "type": "string" + }, + "sequenceFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceSequenceFilter", + "description": "Filters that must occur in a specific order for the user to be a member of the Audience." + }, + "simpleFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceSimpleFilter", + "description": "A simple filter that a user must satisfy to be a member of the Audience." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAudienceFilterExpression": { + "description": "A logical expression of Audience dimension, metric, or event filters.", + "id": "GoogleAnalyticsAdminV1alphaAudienceFilterExpression", + "properties": { + "andGroup": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList", + "description": "A list of expressions to be AND’ed together. It can only contain AudienceFilterExpressions with or_group. This must be set for the top level AudienceFilterExpression." + }, + "dimensionOrMetricFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter", + "description": "A filter on a single dimension or metric. This cannot be set on the top level AudienceFilterExpression." + }, + "eventFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceEventFilter", + "description": "Creates a filter that matches a specific event. This cannot be set on the top level AudienceFilterExpression." + }, + "notExpression": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceFilterExpression", + "description": "A filter expression to be NOT'ed (For example, inverted, complemented). It can only include a dimension_or_metric_filter. This cannot be set on the top level AudienceFilterExpression." + }, + "orGroup": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList", + "description": "A list of expressions to OR’ed together. It cannot contain AudienceFilterExpressions with and_group or or_group." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList": { + "description": "A list of Audience filter expressions.", + "id": "GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList", + "properties": { + "filterExpressions": { + "description": "A list of Audience filter expressions.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceFilterExpression" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAudienceSequenceFilter": { + "description": "Defines filters that must occur in a specific order for the user to be a member of the Audience.", + "id": "GoogleAnalyticsAdminV1alphaAudienceSequenceFilter", + "properties": { + "scope": { + "description": "Required. Immutable. Specifies the scope for this filter.", + "enum": [ + "AUDIENCE_FILTER_SCOPE_UNSPECIFIED", + "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT", + "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION", + "AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS" + ], + "enumDescriptions": [ + "Scope is not specified.", + "User joins the Audience if the filter condition is met within one event.", + "User joins the Audience if the filter condition is met within one session.", + "User joins the Audience if the filter condition is met by any event across any session." + ], + "type": "string" + }, + "sequenceMaximumDuration": { + "description": "Optional. Defines the time period in which the whole sequence must occur.", + "format": "google-duration", + "type": "string" + }, + "sequenceSteps": { + "description": "Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep": { + "description": "A condition that must occur in the specified step order for this user to match the sequence.", + "id": "GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep", + "properties": { + "constraintDuration": { + "description": "Optional. When set, this step must be satisfied within the constraint_duration of the previous step (For example, t[i] - t[i-1] <= constraint_duration). If not set, there is no duration requirement (the duration is effectively unlimited). It is ignored for the first step.", + "format": "google-duration", + "type": "string" + }, + "filterExpression": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceFilterExpression", + "description": "Required. Immutable. A logical expression of Audience dimension, metric, or event filters in each step." + }, + "immediatelyFollows": { + "description": "Optional. If true, the event satisfying this step must be the very next event after the event satisfying the last step. If unset or false, this step indirectly follows the prior step; for example, there may be events between the prior step and this step. It is ignored for the first step.", + "type": "boolean" + }, + "scope": { + "description": "Required. Immutable. Specifies the scope for this step.", + "enum": [ + "AUDIENCE_FILTER_SCOPE_UNSPECIFIED", + "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT", + "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION", + "AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS" + ], + "enumDescriptions": [ + "Scope is not specified.", + "User joins the Audience if the filter condition is met within one event.", + "User joins the Audience if the filter condition is met within one session.", + "User joins the Audience if the filter condition is met by any event across any session." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaAudienceSimpleFilter": { + "description": "Defines a simple filter that a user must satisfy to be a member of the Audience.", + "id": "GoogleAnalyticsAdminV1alphaAudienceSimpleFilter", + "properties": { + "filterExpression": { + "$ref": "GoogleAnalyticsAdminV1alphaAudienceFilterExpression", + "description": "Required. Immutable. A logical expression of Audience dimension, metric, or event filters." + }, + "scope": { + "description": "Required. Immutable. Specifies the scope for this filter.", + "enum": [ + "AUDIENCE_FILTER_SCOPE_UNSPECIFIED", + "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT", + "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION", + "AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS" + ], + "enumDescriptions": [ + "Scope is not specified.", + "User joins the Audience if the filter condition is met within one event.", + "User joins the Audience if the filter condition is met within one session.", + "User joins the Audience if the filter condition is met by any event across any session." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest": { + "description": "Request message for BatchCreateAccessBindings RPC.", + "id": "GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest", + "properties": { + "requests": { + "description": "Required. The requests specifying the access bindings to create. A maximum of 1000 access bindings can be created in a batch.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse": { + "description": "Response message for BatchCreateAccessBindings RPC.", + "id": "GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse", + "properties": { + "accessBindings": { + "description": "The access bindings created.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessBinding" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest": { + "description": "Request message for BatchDeleteAccessBindings RPC.", + "id": "GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest", + "properties": { + "requests": { + "description": "Required. The requests specifying the access bindings to delete. A maximum of 1000 access bindings can be deleted in a batch.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse": { + "description": "Response message for BatchGetAccessBindings RPC.", + "id": "GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse", + "properties": { + "accessBindings": { + "description": "The requested access bindings.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessBinding" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest": { + "description": "Request message for BatchUpdateAccessBindings RPC.", + "id": "GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest", + "properties": { + "requests": { + "description": "Required. The requests specifying the access bindings to update. A maximum of 1000 access bindings can be updated in a batch.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse": { + "description": "Response message for BatchUpdateAccessBindings RPC.", + "id": "GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse", + "properties": { + "accessBindings": { + "description": "The access bindings updated.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessBinding" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaBigQueryLink": { + "description": "A link between a GA4 Property and BigQuery project.", + "id": "GoogleAnalyticsAdminV1alphaBigQueryLink", + "properties": { + "createTime": { + "description": "Output only. Time when the link was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "dailyExportEnabled": { + "description": "If set true, enables daily data export to the linked Google Cloud project.", + "type": "boolean" + }, + "excludedEvents": { + "description": "The list of event names that will be excluded from exports.", + "items": { + "type": "string" + }, + "type": "array" + }, + "exportStreams": { + "description": "The list of streams under the parent property for which data will be exported. Format: properties/{property_id}/dataStreams/{stream_id} Example: ['properties/1000/dataStreams/2000']", + "items": { + "type": "string" + }, + "type": "array" + }, + "freshDailyExportEnabled": { + "description": "If set true, enables fresh daily export to the linked Google Cloud project.", + "type": "boolean" + }, + "includeAdvertisingId": { + "description": "If set true, exported data will include advertising identifiers for mobile app streams.", + "type": "boolean" + }, + "name": { + "description": "Output only. Resource name of this BigQuery link. Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}' Format: 'properties/1234/bigQueryLinks/abc567'", + "readOnly": true, + "type": "string" + }, + "project": { + "description": "Immutable. The linked Google Cloud project. When creating a BigQueryLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, the returned project will always have a project that contains a project number. Format: 'projects/{project number}' Example: 'projects/1234'", + "type": "string" + }, + "streamingExportEnabled": { + "description": "If set true, enables streaming export to the linked Google Cloud project.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaCalculatedMetric": { + "description": "A definition for a calculated metric.", + "id": "GoogleAnalyticsAdminV1alphaCalculatedMetric", + "properties": { + "calculatedMetricId": { + "description": "Output only. The ID to use for the calculated metric. In the UI, this is referred to as the \"API name.\" The calculated_metric_id is used when referencing this calculated metric from external APIs. For example, \"calcMetric:{calculated_metric_id}\".", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. Description for this calculated metric. Max length of 4096 characters.", + "type": "string" + }, + "displayName": { + "description": "Required. Display name for this calculated metric as shown in the Google Analytics UI. Max length 82 characters.", + "type": "string" + }, + "formula": { + "description": "Required. The calculated metric's definition. Maximum number of unique referenced custom metrics is 5. Formulas supports the following operations: + (addition), - (subtraction), - (negative), * (multiplication), / (division), () (parenthesis). Any valid real numbers are acceptable that fit in a Long (64bit integer) or a Double (64 bit floating point number). Example formula: \"( customEvent:parameter_name + cartPurchaseQuantity ) / 2.0\"", + "type": "string" + }, + "invalidMetricReference": { + "description": "Output only. If true, this calculated metric has a invalid metric reference. Anything using a calculated metric with invalid_metric_reference set to true may fail, produce warnings, or produce unexpected results.", + "readOnly": true, + "type": "boolean" + }, + "metricUnit": { + "description": "Required. The type for the calculated metric's value.", + "enum": [ + "METRIC_UNIT_UNSPECIFIED", + "STANDARD", + "CURRENCY", + "FEET", + "MILES", + "METERS", + "KILOMETERS", + "MILLISECONDS", + "SECONDS", + "MINUTES", + "HOURS" + ], + "enumDescriptions": [ + "MetricUnit unspecified or missing.", + "This metric uses default units.", + "This metric measures a currency.", + "This metric measures feet.", + "This metric measures miles.", + "This metric measures meters.", + "This metric measures kilometers.", + "This metric measures milliseconds.", + "This metric measures seconds.", + "This metric measures minutes.", + "This metric measures hours." + ], + "type": "string" + }, + "name": { + "description": "Output only. Resource name for this CalculatedMetric. Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}'", + "readOnly": true, + "type": "string" + }, + "restrictedMetricType": { + "description": "Output only. Types of restricted data that this metric contains.", + "items": { + "enum": [ + "RESTRICTED_METRIC_TYPE_UNSPECIFIED", + "COST_DATA", + "REVENUE_DATA" + ], + "enumDescriptions": [ + "Type unknown or unspecified.", + "Metric reports cost data.", + "Metric reports revenue data." + ], + "type": "string" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest": { + "description": "Request message for CancelDisplayVideo360AdvertiserLinkProposal RPC.", + "id": "GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest", + "properties": {}, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaChangeHistoryChange": { + "description": "A description of a change to a single Google Analytics resource.", + "id": "GoogleAnalyticsAdminV1alphaChangeHistoryChange", + "properties": { + "action": { + "description": "The type of action that changed this resource.", + "enum": [ + "ACTION_TYPE_UNSPECIFIED", + "CREATED", + "UPDATED", + "DELETED" + ], + "enumDescriptions": [ + "Action type unknown or not specified.", + "Resource was created in this change.", + "Resource was updated in this change.", + "Resource was deleted in this change." + ], + "type": "string" + }, + "resource": { + "description": "Resource name of the resource whose changes are described by this entry.", + "type": "string" + }, + "resourceAfterChange": { + "$ref": "GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource", + "description": "Resource contents from after the change was made. If this resource was deleted in this change, this field will be missing." + }, + "resourceBeforeChange": { + "$ref": "GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource", + "description": "Resource contents from before the change was made. If this resource was created in this change, this field will be missing." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource": { + "description": "A snapshot of a resource as before or after the result of a change in change history.", + "id": "GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource", + "properties": { + "account": { + "$ref": "GoogleAnalyticsAdminV1alphaAccount", + "description": "A snapshot of an Account resource in change history." + }, + "adsenseLink": { + "$ref": "GoogleAnalyticsAdminV1alphaAdSenseLink", + "description": "A snapshot of an AdSenseLink resource in change history." + }, + "attributionSettings": { + "$ref": "GoogleAnalyticsAdminV1alphaAttributionSettings", + "description": "A snapshot of AttributionSettings resource in change history." + }, + "audience": { + "$ref": "GoogleAnalyticsAdminV1alphaAudience", + "description": "A snapshot of an Audience resource in change history." + }, + "bigqueryLink": { + "$ref": "GoogleAnalyticsAdminV1alphaBigQueryLink", + "description": "A snapshot of a BigQuery link resource in change history." + }, + "calculatedMetric": { + "$ref": "GoogleAnalyticsAdminV1alphaCalculatedMetric", + "description": "A snapshot of a CalculatedMetric resource in change history." + }, + "channelGroup": { + "$ref": "GoogleAnalyticsAdminV1alphaChannelGroup", + "description": "A snapshot of a ChannelGroup resource in change history." + }, + "conversionEvent": { + "$ref": "GoogleAnalyticsAdminV1alphaConversionEvent", + "description": "A snapshot of a ConversionEvent resource in change history." + }, + "customDimension": { + "$ref": "GoogleAnalyticsAdminV1alphaCustomDimension", + "description": "A snapshot of a CustomDimension resource in change history." + }, + "customMetric": { + "$ref": "GoogleAnalyticsAdminV1alphaCustomMetric", + "description": "A snapshot of a CustomMetric resource in change history." + }, + "dataRedactionSettings": { + "$ref": "GoogleAnalyticsAdminV1alphaDataRedactionSettings", + "description": "A snapshot of DataRedactionSettings resource in change history." + }, + "dataRetentionSettings": { + "$ref": "GoogleAnalyticsAdminV1alphaDataRetentionSettings", + "description": "A snapshot of a data retention settings resource in change history." + }, + "dataStream": { + "$ref": "GoogleAnalyticsAdminV1alphaDataStream", + "description": "A snapshot of a DataStream resource in change history." + }, + "displayVideo360AdvertiserLink": { + "$ref": "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink", + "description": "A snapshot of a DisplayVideo360AdvertiserLink resource in change history." + }, + "displayVideo360AdvertiserLinkProposal": { + "$ref": "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal", + "description": "A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in change history." + }, + "enhancedMeasurementSettings": { + "$ref": "GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings", + "description": "A snapshot of EnhancedMeasurementSettings resource in change history." + }, + "eventCreateRule": { + "$ref": "GoogleAnalyticsAdminV1alphaEventCreateRule", + "description": "A snapshot of an EventCreateRule resource in change history." + }, + "expandedDataSet": { + "$ref": "GoogleAnalyticsAdminV1alphaExpandedDataSet", + "description": "A snapshot of an ExpandedDataSet resource in change history." + }, + "firebaseLink": { + "$ref": "GoogleAnalyticsAdminV1alphaFirebaseLink", + "description": "A snapshot of a FirebaseLink resource in change history." + }, + "googleAdsLink": { + "$ref": "GoogleAnalyticsAdminV1alphaGoogleAdsLink", + "description": "A snapshot of a GoogleAdsLink resource in change history." + }, + "googleSignalsSettings": { + "$ref": "GoogleAnalyticsAdminV1alphaGoogleSignalsSettings", + "description": "A snapshot of a GoogleSignalsSettings resource in change history." + }, + "measurementProtocolSecret": { + "$ref": "GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret", + "description": "A snapshot of a MeasurementProtocolSecret resource in change history." + }, + "property": { + "$ref": "GoogleAnalyticsAdminV1alphaProperty", + "description": "A snapshot of a Property resource in change history." + }, + "searchAds360Link": { + "$ref": "GoogleAnalyticsAdminV1alphaSearchAds360Link", + "description": "A snapshot of a SearchAds360Link resource in change history." + }, + "skadnetworkConversionValueSchema": { + "$ref": "GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema", + "description": "A snapshot of SKAdNetworkConversionValueSchema resource in change history." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaChangeHistoryEvent": { + "description": "A set of changes within a Google Analytics account or its child properties that resulted from the same cause. Common causes would be updates made in the Google Analytics UI, changes from customer support, or automatic Google Analytics system changes.", + "id": "GoogleAnalyticsAdminV1alphaChangeHistoryEvent", + "properties": { + "actorType": { + "description": "The type of actor that made this change.", + "enum": [ + "ACTOR_TYPE_UNSPECIFIED", + "USER", + "SYSTEM", + "SUPPORT" + ], + "enumDescriptions": [ + "Unknown or unspecified actor type.", + "Changes made by the user specified in actor_email.", + "Changes made by the Google Analytics system.", + "Changes made by Google Analytics support team staff." + ], + "type": "string" + }, + "changeTime": { + "description": "Time when change was made.", + "format": "google-datetime", + "type": "string" + }, + "changes": { + "description": "A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaChangeHistoryChange" + }, + "type": "array" + }, + "changesFiltered": { + "description": "If true, then the list of changes returned was filtered, and does not represent all changes that occurred in this event.", + "type": "boolean" + }, + "id": { + "description": "ID of this change history event. This ID is unique across Google Analytics.", + "type": "string" + }, + "userActorEmail": { + "description": "Email address of the Google account that made the change. This will be a valid email address if the actor field is set to USER, and empty otherwise. Google accounts that have been deleted will cause an error.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaChannelGroup": { + "description": "A resource message representing a Channel Group.", + "id": "GoogleAnalyticsAdminV1alphaChannelGroup", + "properties": { + "description": { + "description": "The description of the Channel Group. Max length of 256 characters.", + "type": "string" + }, + "displayName": { + "description": "Required. The display name of the Channel Group. Max length of 80 characters.", + "type": "string" + }, + "groupingRule": { + "description": "Required. The grouping rules of channels. Maximum number of rules is 50.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaGroupingRule" + }, + "type": "array" + }, + "name": { + "description": "Output only. The resource name for this Channel Group resource. Format: properties/{property}/channelGroups/{channel_group}", + "readOnly": true, + "type": "string" + }, + "primary": { + "description": "Optional. If true, this channel group will be used as the default channel group for reports. Only one channel group can be set as `primary` at any time. If the `primary` field gets set on a channel group, it will get unset on the previous primary channel group. The Google Analytics predefined channel group is the primary by default.", + "type": "boolean" + }, + "systemDefined": { + "description": "Output only. If true, then this channel group is the Default Channel Group predefined by Google Analytics. Display name and grouping rules cannot be updated for this channel group.", + "readOnly": true, + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaChannelGroupFilter": { + "description": "A specific filter for a single dimension.", + "id": "GoogleAnalyticsAdminV1alphaChannelGroupFilter", + "properties": { + "fieldName": { + "description": "Required. Immutable. The dimension name to filter.", + "type": "string" + }, + "inListFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter", + "description": "A filter for a string dimension that matches a particular list of options." + }, + "stringFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter", + "description": "A filter for a string-type dimension that matches a particular pattern." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression": { + "description": "A logical expression of Channel Group dimension filters.", + "id": "GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression", + "properties": { + "andGroup": { + "$ref": "GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList", + "description": "A list of expressions to be AND’ed together. It can only contain ChannelGroupFilterExpressions with or_group. This must be set for the top level ChannelGroupFilterExpression." + }, + "filter": { + "$ref": "GoogleAnalyticsAdminV1alphaChannelGroupFilter", + "description": "A filter on a single dimension. This cannot be set on the top level ChannelGroupFilterExpression." + }, + "notExpression": { + "$ref": "GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression", + "description": "A filter expression to be NOT'ed (that is inverted, complemented). It can only include a dimension_or_metric_filter. This cannot be set on the top level ChannelGroupFilterExpression." + }, + "orGroup": { + "$ref": "GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList", + "description": "A list of expressions to OR’ed together. It cannot contain ChannelGroupFilterExpressions with and_group or or_group." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList": { + "description": "A list of Channel Group filter expressions.", + "id": "GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList", + "properties": { + "filterExpressions": { + "description": "A list of Channel Group filter expressions.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter": { + "description": "A filter for a string dimension that matches a particular list of options. The match is case insensitive.", + "id": "GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter", + "properties": { + "values": { + "description": "Required. The list of possible string values to match against. Must be non-empty.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter": { + "description": "Filter where the field value is a String. The match is case insensitive.", + "id": "GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter", + "properties": { + "matchType": { + "description": "Required. The match type for the string filter.", + "enum": [ + "MATCH_TYPE_UNSPECIFIED", + "EXACT", + "BEGINS_WITH", + "ENDS_WITH", + "CONTAINS", + "FULL_REGEXP", + "PARTIAL_REGEXP" + ], + "enumDescriptions": [ + "Default match type.", + "Exact match of the string value.", + "Begins with the string value.", + "Ends with the string value.", + "Contains the string value.", + "Full regular expression match with the string value.", + "Partial regular expression match with the string value." + ], + "type": "string" + }, + "value": { + "description": "Required. The string value to be matched against.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaConnectedSiteTag": { + "description": "Configuration for a specific Connected Site Tag.", + "id": "GoogleAnalyticsAdminV1alphaConnectedSiteTag", + "properties": { + "displayName": { + "description": "Required. User-provided display name for the connected site tag. Must be less than 256 characters.", + "type": "string" + }, + "tagId": { + "description": "Required. \"Tag ID to forward events to. Also known as the Measurement ID, or the \"G-ID\" (For example: G-12345).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaConversionEvent": { + "description": "A conversion event in a Google Analytics property.", + "id": "GoogleAnalyticsAdminV1alphaConversionEvent", + "properties": { + "countingMethod": { + "description": "Optional. The method by which conversions will be counted across multiple events within a session. If this value is not provided, it will be set to `ONCE_PER_EVENT`.", + "enum": [ + "CONVERSION_COUNTING_METHOD_UNSPECIFIED", + "ONCE_PER_EVENT", + "ONCE_PER_SESSION" + ], + "enumDescriptions": [ + "Counting method not specified.", + "Each Event instance is considered a Conversion.", + "An Event instance is considered a Conversion at most once per session per user." + ], + "type": "string" + }, + "createTime": { + "description": "Output only. Time when this conversion event was created in the property.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "custom": { + "description": "Output only. If set to true, this conversion event refers to a custom event. If set to false, this conversion event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom conversion events that may be created per property.", + "readOnly": true, + "type": "boolean" + }, + "defaultConversionValue": { + "$ref": "GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue", + "description": "Optional. Defines a default value/currency for a conversion event." + }, + "deletable": { + "description": "Output only. If set, this event can currently be deleted with DeleteConversionEvent.", + "readOnly": true, + "type": "boolean" + }, + "eventName": { + "description": "Immutable. The event name for this conversion event. Examples: 'click', 'purchase'", + "type": "string" + }, + "name": { + "description": "Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event}", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue": { + "description": "Defines a default value/currency for a conversion event. Both value and currency must be provided.", + "id": "GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue", + "properties": { + "currencyCode": { + "description": "When a conversion event for this event_name has no set currency, this currency will be applied as the default. Must be in ISO 4217 currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for more information.", + "type": "string" + }, + "value": { + "description": "This value will be used to populate the value for all conversions of the specified event_name where the event \"value\" parameter is unset.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaConversionValues": { + "description": "Conversion value settings for a postback window for SKAdNetwork conversion value schema.", + "id": "GoogleAnalyticsAdminV1alphaConversionValues", + "properties": { + "coarseValue": { + "description": "Required. A coarse grained conversion value. This value is not guaranteed to be unique.", + "enum": [ + "COARSE_VALUE_UNSPECIFIED", + "COARSE_VALUE_LOW", + "COARSE_VALUE_MEDIUM", + "COARSE_VALUE_HIGH" + ], + "enumDescriptions": [ + "Coarse value not specified.", + "Coarse value of low.", + "Coarse value of medium.", + "Coarse value of high." + ], + "type": "string" + }, + "displayName": { + "description": "Display name of the SKAdNetwork conversion value. The max allowed display name length is 50 UTF-16 code units.", + "type": "string" + }, + "eventMappings": { + "description": "Event conditions that must be met for this Conversion Value to be achieved. The conditions in this list are ANDed together. It must have minimum of 1 entry and maximum of 3 entries, if the postback window is enabled.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaEventMapping" + }, + "type": "array" + }, + "fineValue": { + "description": "The fine-grained conversion value. This is applicable only to the first postback window. Its valid values are [0,63], both inclusive. It must be set for postback window 1, and must not be set for postback window 2 & 3. This value is not guaranteed to be unique. If the configuration for the first postback window is re-used for second or third postback windows this field has no effect.", + "format": "int32", + "type": "integer" + }, + "lockEnabled": { + "description": "If true, the SDK should lock to this conversion value for the current postback window.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest": { + "description": "Request message for CreateAccessBinding RPC.", + "id": "GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest", + "properties": { + "accessBinding": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessBinding", + "description": "Required. The access binding to create." + }, + "parent": { + "description": "Required. Formats: - accounts/{account} - properties/{property}", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest": { + "description": "Request message for CreateConnectedSiteTag RPC.", + "id": "GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest", + "properties": { + "connectedSiteTag": { + "$ref": "GoogleAnalyticsAdminV1alphaConnectedSiteTag", + "description": "Required. The tag to add to the Universal Analytics property" + }, + "property": { + "description": "The Universal Analytics property to create connected site tags for. This API does not support GA4 properties. Format: properties/{universalAnalyticsPropertyId} Example: properties/1234", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse": { + "description": "Response message for CreateConnectedSiteTag RPC.", + "id": "GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse", + "properties": {}, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest": { + "description": "Request message for CreateRollupProperty RPC.", + "id": "GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest", + "properties": { + "rollupProperty": { + "$ref": "GoogleAnalyticsAdminV1alphaProperty", + "description": "Required. The roll-up property to create." + }, + "sourceProperties": { + "description": "Optional. The resource names of properties that will be sources to the created roll-up property.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse": { + "description": "Response message for CreateRollupProperty RPC.", + "id": "GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse", + "properties": { + "rollupProperty": { + "$ref": "GoogleAnalyticsAdminV1alphaProperty", + "description": "The created roll-up property." + }, + "rollupPropertySourceLinks": { + "description": "The created roll-up property source links.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaRollupPropertySourceLink" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest": { + "description": "Request message for CreateSubproperty RPC.", + "id": "GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest", + "properties": { + "subproperty": { + "$ref": "GoogleAnalyticsAdminV1alphaProperty", + "description": "Required. The subproperty to create." + }, + "subpropertyEventFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilter", + "description": "Optional. The subproperty event filter to create on an ordinary property." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse": { + "description": "Response message for CreateSubproperty RPC.", + "id": "GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse", + "properties": { + "subproperty": { + "$ref": "GoogleAnalyticsAdminV1alphaProperty", + "description": "The created subproperty." + }, + "subpropertyEventFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilter", + "description": "The created subproperty event filter." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaCustomDimension": { + "description": "A definition for a CustomDimension.", + "id": "GoogleAnalyticsAdminV1alphaCustomDimension", + "properties": { + "description": { + "description": "Optional. Description for this custom dimension. Max length of 150 characters.", + "type": "string" + }, + "disallowAdsPersonalization": { + "description": "Optional. If set to true, sets this dimension as NPA and excludes it from ads personalization. This is currently only supported by user-scoped custom dimensions.", + "type": "boolean" + }, + "displayName": { + "description": "Required. Display name for this custom dimension as shown in the Analytics UI. Max length of 82 characters, alphanumeric plus space and underscore starting with a letter. Legacy system-generated display names may contain square brackets, but updates to this field will never permit square brackets.", + "type": "string" + }, + "name": { + "description": "Output only. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension}", + "readOnly": true, + "type": "string" + }, + "parameterName": { + "description": "Required. Immutable. Tagging parameter name for this custom dimension. If this is a user-scoped dimension, then this is the user property name. If this is an event-scoped dimension, then this is the event parameter name. If this is an item-scoped dimension, then this is the parameter name found in the eCommerce items array. May only contain alphanumeric and underscore characters, starting with a letter. Max length of 24 characters for user-scoped dimensions, 40 characters for event-scoped dimensions.", + "type": "string" + }, + "scope": { + "description": "Required. Immutable. The scope of this dimension.", + "enum": [ + "DIMENSION_SCOPE_UNSPECIFIED", + "EVENT", + "USER", + "ITEM" + ], + "enumDescriptions": [ + "Scope unknown or not specified.", + "Dimension scoped to an event.", + "Dimension scoped to a user.", + "Dimension scoped to eCommerce items" + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaCustomMetric": { + "description": "A definition for a custom metric.", + "id": "GoogleAnalyticsAdminV1alphaCustomMetric", + "properties": { + "description": { + "description": "Optional. Description for this custom dimension. Max length of 150 characters.", + "type": "string" + }, + "displayName": { + "description": "Required. Display name for this custom metric as shown in the Analytics UI. Max length of 82 characters, alphanumeric plus space and underscore starting with a letter. Legacy system-generated display names may contain square brackets, but updates to this field will never permit square brackets.", + "type": "string" + }, + "measurementUnit": { + "description": "Required. The type for the custom metric's value.", + "enum": [ + "MEASUREMENT_UNIT_UNSPECIFIED", + "STANDARD", + "CURRENCY", + "FEET", + "METERS", + "KILOMETERS", + "MILES", + "MILLISECONDS", + "SECONDS", + "MINUTES", + "HOURS" + ], + "enumDescriptions": [ + "MeasurementUnit unspecified or missing.", + "This metric uses default units.", + "This metric measures a currency.", + "This metric measures feet.", + "This metric measures meters.", + "This metric measures kilometers.", + "This metric measures miles.", + "This metric measures milliseconds.", + "This metric measures seconds.", + "This metric measures minutes.", + "This metric measures hours." + ], + "type": "string" + }, + "name": { + "description": "Output only. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric}", + "readOnly": true, + "type": "string" + }, + "parameterName": { + "description": "Required. Immutable. Tagging name for this custom metric. If this is an event-scoped metric, then this is the event parameter name. May only contain alphanumeric and underscore charactes, starting with a letter. Max length of 40 characters for event-scoped metrics.", + "type": "string" + }, + "restrictedMetricType": { + "description": "Optional. Types of restricted data that this metric may contain. Required for metrics with CURRENCY measurement unit. Must be empty for metrics with a non-CURRENCY measurement unit.", + "items": { + "enum": [ + "RESTRICTED_METRIC_TYPE_UNSPECIFIED", + "COST_DATA", + "REVENUE_DATA" + ], + "enumDescriptions": [ + "Type unknown or unspecified.", + "Metric reports cost data.", + "Metric reports revenue data." + ], + "type": "string" + }, + "type": "array" + }, + "scope": { + "description": "Required. Immutable. The scope of this custom metric.", + "enum": [ + "METRIC_SCOPE_UNSPECIFIED", + "EVENT" + ], + "enumDescriptions": [ + "Scope unknown or not specified.", + "Metric scoped to an event." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaDataRedactionSettings": { + "description": "Settings for client-side data redaction. Singleton resource under a Web Stream.", + "id": "GoogleAnalyticsAdminV1alphaDataRedactionSettings", + "properties": { + "emailRedactionEnabled": { + "description": "If enabled, any event parameter or user property values that look like an email will be redacted.", + "type": "boolean" + }, + "name": { + "description": "Output only. Name of this Data Redaction Settings resource. Format: properties/{property_id}/dataStreams/{data_stream}/dataRedactionSettings Example: \"properties/1000/dataStreams/2000/dataRedactionSettings\"", + "readOnly": true, + "type": "string" + }, + "queryParameterKeys": { + "description": "The query parameter keys to apply redaction logic to if present in the URL. Query parameter matching is case-insensitive. Must contain at least one element if query_parameter_replacement_enabled is true. Keys cannot contain commas.", + "items": { + "type": "string" + }, + "type": "array" + }, + "queryParameterRedactionEnabled": { + "description": "Query Parameter redaction removes the key and value portions of a query parameter if it is in the configured set of query parameters. If enabled, URL query replacement logic will be run for the Stream. Any query parameters defined in query_parameter_keys will be redacted.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaDataRetentionSettings": { + "description": "Settings values for data retention. This is a singleton resource.", + "id": "GoogleAnalyticsAdminV1alphaDataRetentionSettings", + "properties": { + "eventDataRetention": { + "description": "The length of time that event-level data is retained.", + "enum": [ + "RETENTION_DURATION_UNSPECIFIED", + "TWO_MONTHS", + "FOURTEEN_MONTHS", + "TWENTY_SIX_MONTHS", + "THIRTY_EIGHT_MONTHS", + "FIFTY_MONTHS" + ], + "enumDescriptions": [ + "Data retention time duration is not specified.", + "The data retention time duration is 2 months.", + "The data retention time duration is 14 months.", + "The data retention time duration is 26 months. Available to 360 properties only.", + "The data retention time duration is 38 months. Available to 360 properties only.", + "The data retention time duration is 50 months. Available to 360 properties only." + ], + "type": "string" + }, + "name": { + "description": "Output only. Resource name for this DataRetentionSetting resource. Format: properties/{property}/dataRetentionSettings", + "readOnly": true, + "type": "string" + }, + "resetUserDataOnNewActivity": { + "description": "If true, reset the retention period for the user identifier with every event from that user.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaDataSharingSettings": { + "description": "A resource message representing data sharing settings of a Google Analytics account.", + "id": "GoogleAnalyticsAdminV1alphaDataSharingSettings", + "properties": { + "name": { + "description": "Output only. Resource name. Format: accounts/{account}/dataSharingSettings Example: \"accounts/1000/dataSharingSettings\"", + "readOnly": true, + "type": "string" + }, + "sharingWithGoogleAnySalesEnabled": { + "description": "Allows any of Google sales to access the data in order to suggest configuration changes to improve results.", + "type": "boolean" + }, + "sharingWithGoogleAssignedSalesEnabled": { + "description": "Allows Google sales teams that are assigned to the customer to access the data in order to suggest configuration changes to improve results. Sales team restrictions still apply when enabled.", + "type": "boolean" + }, + "sharingWithGoogleProductsEnabled": { + "description": "Allows Google to use the data to improve other Google products or services.", + "type": "boolean" + }, + "sharingWithGoogleSupportEnabled": { + "description": "Allows Google support to access the data in order to help troubleshoot issues.", + "type": "boolean" + }, + "sharingWithOthersEnabled": { + "description": "Allows Google to share the data anonymously in aggregate form with others.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaDataStream": { + "description": "A resource message representing a data stream.", + "id": "GoogleAnalyticsAdminV1alphaDataStream", + "properties": { + "androidAppStreamData": { + "$ref": "GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData", + "description": "Data specific to Android app streams. Must be populated if type is ANDROID_APP_DATA_STREAM." + }, + "createTime": { + "description": "Output only. Time when this stream was originally created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Human-readable display name for the Data Stream. Required for web data streams. The max allowed display name length is 255 UTF-16 code units.", + "type": "string" + }, + "iosAppStreamData": { + "$ref": "GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData", + "description": "Data specific to iOS app streams. Must be populated if type is IOS_APP_DATA_STREAM." + }, + "name": { + "description": "Output only. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: \"properties/1000/dataStreams/2000\"", + "readOnly": true, + "type": "string" + }, + "type": { + "description": "Required. Immutable. The type of this DataStream resource.", + "enum": [ + "DATA_STREAM_TYPE_UNSPECIFIED", + "WEB_DATA_STREAM", + "ANDROID_APP_DATA_STREAM", + "IOS_APP_DATA_STREAM" + ], + "enumDescriptions": [ + "Type unknown or not specified.", + "Web data stream.", + "Android app data stream.", + "iOS app data stream." + ], + "type": "string" + }, + "updateTime": { + "description": "Output only. Time when stream payload fields were last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "webStreamData": { + "$ref": "GoogleAnalyticsAdminV1alphaDataStreamWebStreamData", + "description": "Data specific to web streams. Must be populated if type is WEB_DATA_STREAM." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData": { + "description": "Data specific to Android app streams.", + "id": "GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData", + "properties": { + "firebaseAppId": { + "description": "Output only. ID of the corresponding Android app in Firebase, if any. This ID can change if the Android app is deleted and recreated.", + "readOnly": true, + "type": "string" + }, + "packageName": { + "description": "Immutable. The package name for the app being measured. Example: \"com.example.myandroidapp\"", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData": { + "description": "Data specific to iOS app streams.", + "id": "GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData", + "properties": { + "bundleId": { + "description": "Required. Immutable. The Apple App Store Bundle ID for the app Example: \"com.example.myiosapp\"", + "type": "string" + }, + "firebaseAppId": { + "description": "Output only. ID of the corresponding iOS app in Firebase, if any. This ID can change if the iOS app is deleted and recreated.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaDataStreamWebStreamData": { + "description": "Data specific to web streams.", + "id": "GoogleAnalyticsAdminV1alphaDataStreamWebStreamData", + "properties": { + "defaultUri": { + "description": "Domain name of the web app being measured, or empty. Example: \"http://www.google.com\", \"https://www.google.com\"", + "type": "string" + }, + "firebaseAppId": { + "description": "Output only. ID of the corresponding web app in Firebase, if any. This ID can change if the web app is deleted and recreated.", + "readOnly": true, + "type": "string" + }, + "measurementId": { + "description": "Output only. Analytics Measurement ID. Example: \"G-1A2BCD345E\"", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest": { + "description": "Request message for DeleteAccessBinding RPC.", + "id": "GoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest", + "properties": { + "name": { + "description": "Required. Formats: - accounts/{account}/accessBindings/{accessBinding} - properties/{property}/accessBindings/{accessBinding}", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest": { + "description": "Request message for DeleteConnectedSiteTag RPC.", + "id": "GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest", + "properties": { + "property": { + "description": "The Universal Analytics property to delete connected site tags for. This API does not support GA4 properties. Format: properties/{universalAnalyticsPropertyId} Example: properties/1234", + "type": "string" + }, + "tagId": { + "description": "Tag ID to forward events to. Also known as the Measurement ID, or the \"G-ID\" (For example: G-12345).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink": { + "description": "A link between a GA4 property and a Display & Video 360 advertiser.", + "id": "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink", + "properties": { + "adsPersonalizationEnabled": { + "description": "Enables personalized advertising features with this integration. If this field is not set on create/update, it will be defaulted to true.", + "type": "boolean" + }, + "advertiserDisplayName": { + "description": "Output only. The display name of the Display & Video 360 Advertiser.", + "readOnly": true, + "type": "string" + }, + "advertiserId": { + "description": "Immutable. The Display & Video 360 Advertiser's advertiser ID.", + "type": "string" + }, + "campaignDataSharingEnabled": { + "description": "Immutable. Enables the import of campaign data from Display & Video 360 into the GA4 property. After link creation, this can only be updated from the Display & Video 360 product. If this field is not set on create, it will be defaulted to true.", + "type": "boolean" + }, + "costDataSharingEnabled": { + "description": "Immutable. Enables the import of cost data from Display & Video 360 into the GA4 property. This can only be enabled if campaign_data_sharing_enabled is enabled. After link creation, this can only be updated from the Display & Video 360 product. If this field is not set on create, it will be defaulted to true.", + "type": "boolean" + }, + "name": { + "description": "Output only. The resource name for this DisplayVideo360AdvertiserLink resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} Note: linkId is not the Display & Video 360 Advertiser ID", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal": { + "description": "A proposal for a link between a GA4 property and a Display & Video 360 advertiser. A proposal is converted to a DisplayVideo360AdvertiserLink once approved. Google Analytics admins approve inbound proposals while Display & Video 360 admins approve outbound proposals.", + "id": "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal", + "properties": { + "adsPersonalizationEnabled": { + "description": "Immutable. Enables personalized advertising features with this integration. If this field is not set on create, it will be defaulted to true.", + "type": "boolean" + }, + "advertiserDisplayName": { + "description": "Output only. The display name of the Display & Video Advertiser. Only populated for proposals that originated from Display & Video 360.", + "readOnly": true, + "type": "string" + }, + "advertiserId": { + "description": "Immutable. The Display & Video 360 Advertiser's advertiser ID.", + "type": "string" + }, + "campaignDataSharingEnabled": { + "description": "Immutable. Enables the import of campaign data from Display & Video 360. If this field is not set on create, it will be defaulted to true.", + "type": "boolean" + }, + "costDataSharingEnabled": { + "description": "Immutable. Enables the import of cost data from Display & Video 360. This can only be enabled if campaign_data_sharing_enabled is enabled. If this field is not set on create, it will be defaulted to true.", + "type": "boolean" + }, + "linkProposalStatusDetails": { + "$ref": "GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails", + "description": "Output only. The status information for this link proposal.", + "readOnly": true + }, + "name": { + "description": "Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource. Format: properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} Note: proposalId is not the Display & Video 360 Advertiser ID", + "readOnly": true, + "type": "string" + }, + "validationEmail": { + "description": "Input only. On a proposal being sent to Display & Video 360, this field must be set to the email address of an admin on the target advertiser. This is used to verify that the Google Analytics admin is aware of at least one admin on the Display & Video 360 Advertiser. This does not restrict approval of the proposal to a single user. Any admin on the Display & Video 360 Advertiser may approve the proposal.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings": { + "description": "Singleton resource under a web DataStream, configuring measurement of additional site interactions and content.", + "id": "GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings", + "properties": { + "fileDownloadsEnabled": { + "description": "If enabled, capture a file download event each time a link is clicked with a common document, compressed file, application, video, or audio extension.", + "type": "boolean" + }, + "formInteractionsEnabled": { + "description": "If enabled, capture a form interaction event each time a visitor interacts with a form on your website. False by default.", + "type": "boolean" + }, + "name": { + "description": "Output only. Resource name of the Enhanced Measurement Settings. Format: properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings Example: \"properties/1000/dataStreams/2000/enhancedMeasurementSettings\"", + "readOnly": true, + "type": "string" + }, + "outboundClicksEnabled": { + "description": "If enabled, capture an outbound click event each time a visitor clicks a link that leads them away from your domain.", + "type": "boolean" + }, + "pageChangesEnabled": { + "description": "If enabled, capture a page view event each time the website changes the browser history state.", + "type": "boolean" + }, + "scrollsEnabled": { + "description": "If enabled, capture scroll events each time a visitor gets to the bottom of a page.", + "type": "boolean" + }, + "searchQueryParameter": { + "description": "Required. URL query parameters to interpret as site search parameters. Max length is 1024 characters. Must not be empty.", + "type": "string" + }, + "siteSearchEnabled": { + "description": "If enabled, capture a view search results event each time a visitor performs a search on your site (based on a query parameter).", + "type": "boolean" + }, + "streamEnabled": { + "description": "Indicates whether Enhanced Measurement Settings will be used to automatically measure interactions and content on this web stream. Changing this value does not affect the settings themselves, but determines whether they are respected.", + "type": "boolean" + }, + "uriQueryParameter": { + "description": "Additional URL query parameters. Max length is 1024 characters.", + "type": "string" + }, + "videoEngagementEnabled": { + "description": "If enabled, capture video play, progress, and complete events as visitors view embedded videos on your site.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaEventCreateRule": { + "description": "An Event Create Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event. Additional mutations of the parameters from the source event can be defined. Unlike Event Edit rules, Event Creation Rules have no defined order. They will all be run independently. Event Edit and Event Create rules can't be used to modify an event created from an Event Create rule.", + "id": "GoogleAnalyticsAdminV1alphaEventCreateRule", + "properties": { + "destinationEvent": { + "description": "Required. The name of the new event to be created. This value must: * be less than 40 characters * consist only of letters, digits or _ (underscores) * start with a letter", + "type": "string" + }, + "eventConditions": { + "description": "Required. Must have at least one condition, and can have up to 10 max. Conditions on the source event must match for this rule to be applied.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaMatchingCondition" + }, + "type": "array" + }, + "name": { + "description": "Output only. Resource name for this EventCreateRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule}", + "readOnly": true, + "type": "string" + }, + "parameterMutations": { + "description": "Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaParameterMutation" + }, + "type": "array" + }, + "sourceCopyParameters": { + "description": "If true, the source parameters are copied to the new event. If false, or unset, all non-internal parameters are not copied from the source event. Parameter mutations are applied after the parameters have been copied.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaEventMapping": { + "description": "Event setting conditions to match an event.", + "id": "GoogleAnalyticsAdminV1alphaEventMapping", + "properties": { + "eventName": { + "description": "Required. Name of the GA4 event. It must always be set. The max allowed display name length is 40 UTF-16 code units.", + "type": "string" + }, + "maxEventCount": { + "description": "The maximum number of times the event occurred. If not set, maximum event count won't be checked.", + "format": "int64", + "type": "string" + }, + "maxEventValue": { + "description": "The maximum revenue generated due to the event. Revenue currency will be defined at the property level. If not set, maximum event value won't be checked.", + "format": "double", + "type": "number" + }, + "minEventCount": { + "description": "At least one of the following four min/max values must be set. The values set will be ANDed together to qualify an event. The minimum number of times the event occurred. If not set, minimum event count won't be checked.", + "format": "int64", + "type": "string" + }, + "minEventValue": { + "description": "The minimum revenue generated due to the event. Revenue currency will be defined at the property level. If not set, minimum event value won't be checked.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaExpandedDataSet": { + "description": "A resource message representing a GA4 ExpandedDataSet.", + "id": "GoogleAnalyticsAdminV1alphaExpandedDataSet", + "properties": { + "dataCollectionStartTime": { + "description": "Output only. Time when expanded data set began (or will begin) collecing data.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "description": { + "description": "Optional. The description of the ExpandedDataSet. Max 50 chars.", + "type": "string" + }, + "dimensionFilterExpression": { + "$ref": "GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression", + "description": "Immutable. A logical expression of ExpandedDataSet filters applied to dimension included in the ExpandedDataSet. This filter is used to reduce the number of rows and thus the chance of encountering `other` row." + }, + "dimensionNames": { + "description": "Immutable. The list of dimensions included in the ExpandedDataSet. See the [API Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) for the list of dimension names.", + "items": { + "type": "string" + }, + "type": "array" + }, + "displayName": { + "description": "Required. The display name of the ExpandedDataSet. Max 200 chars.", + "type": "string" + }, + "metricNames": { + "description": "Immutable. The list of metrics included in the ExpandedDataSet. See the [API Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics) for the list of dimension names.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Output only. The resource name for this ExpandedDataSet resource. Format: properties/{property_id}/expandedDataSets/{expanded_data_set}", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaExpandedDataSetFilter": { + "description": "A specific filter for a single dimension", + "id": "GoogleAnalyticsAdminV1alphaExpandedDataSetFilter", + "properties": { + "fieldName": { + "description": "Required. The dimension name to filter.", + "type": "string" + }, + "inListFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter", + "description": "A filter for a string dimension that matches a particular list of options." + }, + "stringFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter", + "description": "A filter for a string-type dimension that matches a particular pattern." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression": { + "description": "A logical expression of EnhancedDataSet dimension filters.", + "id": "GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression", + "properties": { + "andGroup": { + "$ref": "GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList", + "description": "A list of expressions to be AND’ed together. It must contain a ExpandedDataSetFilterExpression with either not_expression or dimension_filter. This must be set for the top level ExpandedDataSetFilterExpression." + }, + "filter": { + "$ref": "GoogleAnalyticsAdminV1alphaExpandedDataSetFilter", + "description": "A filter on a single dimension. This cannot be set on the top level ExpandedDataSetFilterExpression." + }, + "notExpression": { + "$ref": "GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression", + "description": "A filter expression to be NOT'ed (that is, inverted, complemented). It must include a dimension_filter. This cannot be set on the top level ExpandedDataSetFilterExpression." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList": { + "description": "A list of ExpandedDataSet filter expressions.", + "id": "GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList", + "properties": { + "filterExpressions": { + "description": "A list of ExpandedDataSet filter expressions.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter": { + "description": "A filter for a string dimension that matches a particular list of options.", + "id": "GoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter", + "properties": { + "caseSensitive": { + "description": "Optional. If true, the match is case-sensitive. If false, the match is case-insensitive. Must be true.", + "type": "boolean" + }, + "values": { + "description": "Required. The list of possible string values to match against. Must be non-empty.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter": { + "description": "A filter for a string-type dimension that matches a particular pattern.", + "id": "GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter", + "properties": { + "caseSensitive": { + "description": "Optional. If true, the match is case-sensitive. If false, the match is case-insensitive. Must be true when match_type is EXACT. Must be false when match_type is CONTAINS.", + "type": "boolean" + }, + "matchType": { + "description": "Required. The match type for the string filter.", + "enum": [ + "MATCH_TYPE_UNSPECIFIED", + "EXACT", + "CONTAINS" + ], + "enumDescriptions": [ + "Unspecified", + "Exact match of the string value.", + "Contains the string value." + ], + "type": "string" + }, + "value": { + "description": "Required. The string value to be matched against.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest": { + "description": "Request for fetching the opt out status for the automated GA4 setup process.", + "id": "GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest", + "properties": { + "property": { + "description": "Required. The UA property to get the opt out status. Note this request uses the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. Format: properties/{internalWebPropertyId} Example: properties/1234", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse": { + "description": "Response message for fetching the opt out status for the automated GA4 setup process.", + "id": "GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse", + "properties": { + "optOut": { + "description": "The opt out status for the UA property.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse": { + "description": "Response for looking up GA4 property connected to a UA property.", + "id": "GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse", + "properties": { + "property": { + "description": "The GA4 property connected to the UA property. An empty string is returned when there is no connected GA4 property. Format: properties/{property_id} Example: properties/1234", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaFirebaseLink": { + "description": "A link between a GA4 property and a Firebase project.", + "id": "GoogleAnalyticsAdminV1alphaFirebaseLink", + "properties": { + "createTime": { + "description": "Output only. Time when this FirebaseLink was originally created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Output only. Example format: properties/1234/firebaseLinks/5678", + "readOnly": true, + "type": "string" + }, + "project": { + "description": "Immutable. Firebase project resource name. When creating a FirebaseLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, returned FirebaseLinks will always have a project_name that contains a project number. Format: 'projects/{project number}' Example: 'projects/1234'", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaGlobalSiteTag": { + "description": "Read-only resource with the tag for sending data from a website to a DataStream. Only present for web DataStream resources.", + "id": "GoogleAnalyticsAdminV1alphaGlobalSiteTag", + "properties": { + "name": { + "description": "Output only. Resource name for this GlobalSiteTag resource. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: \"properties/123/dataStreams/456/globalSiteTag\"", + "readOnly": true, + "type": "string" + }, + "snippet": { + "description": "Immutable. JavaScript code snippet to be pasted as the first item into the head tag of every webpage to measure.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaGoogleAdsLink": { + "description": "A link between a GA4 property and a Google Ads account.", + "id": "GoogleAnalyticsAdminV1alphaGoogleAdsLink", + "properties": { + "adsPersonalizationEnabled": { + "description": "Enable personalized advertising features with this integration. Automatically publish my Google Analytics audience lists and Google Analytics remarketing events/parameters to the linked Google Ads account. If this field is not set on create/update, it will be defaulted to true.", + "type": "boolean" + }, + "canManageClients": { + "description": "Output only. If true, this link is for a Google Ads manager account.", + "readOnly": true, + "type": "boolean" + }, + "createTime": { + "description": "Output only. Time when this link was originally created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "creatorEmailAddress": { + "description": "Output only. Email address of the user that created the link. An empty string will be returned if the email address can't be retrieved.", + "readOnly": true, + "type": "string" + }, + "customerId": { + "description": "Immutable. Google Ads customer ID.", + "type": "string" + }, + "name": { + "description": "Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID.", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Time when this link was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaGoogleSignalsSettings": { + "description": "Settings values for Google Signals. This is a singleton resource.", + "id": "GoogleAnalyticsAdminV1alphaGoogleSignalsSettings", + "properties": { + "consent": { + "description": "Output only. Terms of Service acceptance.", + "enum": [ + "GOOGLE_SIGNALS_CONSENT_UNSPECIFIED", + "GOOGLE_SIGNALS_CONSENT_CONSENTED", + "GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED" + ], + "enumDescriptions": [ + "Google Signals consent value defaults to GOOGLE_SIGNALS_CONSENT_UNSPECIFIED. This will be treated as GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED.", + "Terms of service have been accepted", + "Terms of service have not been accepted" + ], + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Output only. Resource name of this setting. Format: properties/{property_id}/googleSignalsSettings Example: \"properties/1000/googleSignalsSettings\"", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Status of this setting.", + "enum": [ + "GOOGLE_SIGNALS_STATE_UNSPECIFIED", + "GOOGLE_SIGNALS_ENABLED", + "GOOGLE_SIGNALS_DISABLED" + ], + "enumDescriptions": [ + "Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to represent that the user has not made an explicit choice.", + "Google Signals is enabled.", + "Google Signals is disabled." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaGroupingRule": { + "description": "The rules that govern how traffic is grouped into one channel.", + "id": "GoogleAnalyticsAdminV1alphaGroupingRule", + "properties": { + "displayName": { + "description": "Required. Customer defined display name for the channel.", + "type": "string" + }, + "expression": { + "$ref": "GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression", + "description": "Required. The Filter Expression that defines the Grouping Rule." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaKeyEvent": { + "description": "A key event in a Google Analytics property.", + "id": "GoogleAnalyticsAdminV1alphaKeyEvent", + "properties": { + "countingMethod": { + "description": "Required. The method by which Key Events will be counted across multiple events within a session.", + "enum": [ + "COUNTING_METHOD_UNSPECIFIED", + "ONCE_PER_EVENT", + "ONCE_PER_SESSION" + ], + "enumDescriptions": [ + "Counting method not specified.", + "Each Event instance is considered a Key Event.", + "An Event instance is considered a Key Event at most once per session per user." + ], + "type": "string" + }, + "createTime": { + "description": "Output only. Time when this key event was created in the property.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "custom": { + "description": "Output only. If set to true, this key event refers to a custom event. If set to false, this key event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom key events that may be created per property.", + "readOnly": true, + "type": "boolean" + }, + "defaultValue": { + "$ref": "GoogleAnalyticsAdminV1alphaKeyEventDefaultValue", + "description": "Optional. Defines a default value/currency for a key event." + }, + "deletable": { + "description": "Output only. If set to true, this event can be deleted.", + "readOnly": true, + "type": "boolean" + }, + "eventName": { + "description": "Immutable. The event name for this key event. Examples: 'click', 'purchase'", + "type": "string" + }, + "name": { + "description": "Output only. Resource name of this key event. Format: properties/{property}/keyEvents/{key_event}", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaKeyEventDefaultValue": { + "description": "Defines a default value/currency for a key event.", + "id": "GoogleAnalyticsAdminV1alphaKeyEventDefaultValue", + "properties": { + "currencyCode": { + "description": "Required. When an occurrence of this Key Event (specified by event_name) has no set currency this currency will be applied as the default. Must be in ISO 4217 currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for more information.", + "type": "string" + }, + "numericValue": { + "description": "Required. This will be used to populate the \"value\" parameter for all occurrences of this Key Event (specified by event_name) where that parameter is unset.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails": { + "description": "Status information for a link proposal.", + "id": "GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails", + "properties": { + "linkProposalInitiatingProduct": { + "description": "Output only. The source of this proposal.", + "enum": [ + "LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED", + "GOOGLE_ANALYTICS", + "LINKED_PRODUCT" + ], + "enumDescriptions": [ + "Unspecified product.", + "This proposal was created by a user from Google Analytics.", + "This proposal was created by a user from a linked product (not Google Analytics)." + ], + "readOnly": true, + "type": "string" + }, + "linkProposalState": { + "description": "Output only. The state of this proposal.", + "enum": [ + "LINK_PROPOSAL_STATE_UNSPECIFIED", + "AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS", + "AWAITING_REVIEW_FROM_LINKED_PRODUCT", + "WITHDRAWN", + "DECLINED", + "EXPIRED", + "OBSOLETE" + ], + "enumDescriptions": [ + "Unspecified state", + "This proposal is awaiting review from a Google Analytics user. This proposal will automatically expire after some time.", + "This proposal is awaiting review from a user of a linked product. This proposal will automatically expire after some time.", + "This proposal has been withdrawn by an admin on the initiating product. This proposal will be automatically deleted after some time.", + "This proposal has been declined by an admin on the receiving product. This proposal will be automatically deleted after some time.", + "This proposal expired due to lack of response from an admin on the receiving product. This proposal will be automatically deleted after some time.", + "This proposal has become obsolete because a link was directly created to the same external product resource that this proposal specifies. This proposal will be automatically deleted after some time." + ], + "readOnly": true, + "type": "string" + }, + "requestorEmail": { + "description": "Output only. The email address of the user that proposed this linkage.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListAccessBindingsResponse": { + "description": "Response message for ListAccessBindings RPC.", + "id": "GoogleAnalyticsAdminV1alphaListAccessBindingsResponse", + "properties": { + "accessBindings": { + "description": "List of AccessBindings. These will be ordered stably, but in an arbitrary order.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessBinding" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListAccountSummariesResponse": { + "description": "Response message for ListAccountSummaries RPC.", + "id": "GoogleAnalyticsAdminV1alphaListAccountSummariesResponse", + "properties": { + "accountSummaries": { + "description": "Account summaries of all accounts the caller has access to.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAccountSummary" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListAccountsResponse": { + "description": "Request message for ListAccounts RPC.", + "id": "GoogleAnalyticsAdminV1alphaListAccountsResponse", + "properties": { + "accounts": { + "description": "Results that were accessible to the caller.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAccount" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse": { + "description": "Response message for ListAdSenseLinks method.", + "id": "GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse", + "properties": { + "adsenseLinks": { + "description": "List of AdSenseLinks.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAdSenseLink" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListAudiencesResponse": { + "description": "Response message for ListAudiences RPC.", + "id": "GoogleAnalyticsAdminV1alphaListAudiencesResponse", + "properties": { + "audiences": { + "description": "List of Audiences.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAudience" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse": { + "description": "Response message for ListBigQueryLinks RPC", + "id": "GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse", + "properties": { + "bigqueryLinks": { + "description": "List of BigQueryLinks.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaBigQueryLink" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse": { + "description": "Response message for ListCalculatedMetrics RPC.", + "id": "GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse", + "properties": { + "calculatedMetrics": { + "description": "List of CalculatedMetrics.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaCalculatedMetric" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListChannelGroupsResponse": { + "description": "Response message for ListChannelGroups RPC.", + "id": "GoogleAnalyticsAdminV1alphaListChannelGroupsResponse", + "properties": { + "channelGroups": { + "description": "List of ChannelGroup. These will be ordered stably, but in an arbitrary order.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaChannelGroup" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest": { + "description": "Request message for ListConnectedSiteTags RPC.", + "id": "GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest", + "properties": { + "property": { + "description": "The Universal Analytics property to fetch connected site tags for. This does not work on GA4 properties. A maximum of 20 connected site tags will be returned. Example Format: `properties/1234`", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse": { + "description": "Response message for ListConnectedSiteTags RPC.", + "id": "GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse", + "properties": { + "connectedSiteTags": { + "description": "The site tags for the Universal Analytics property. A maximum of 20 connected site tags will be returned.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaConnectedSiteTag" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListConversionEventsResponse": { + "description": "Response message for ListConversionEvents RPC.", + "id": "GoogleAnalyticsAdminV1alphaListConversionEventsResponse", + "properties": { + "conversionEvents": { + "description": "The requested conversion events", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaConversionEvent" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse": { + "description": "Response message for ListCustomDimensions RPC.", + "id": "GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse", + "properties": { + "customDimensions": { + "description": "List of CustomDimensions.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaCustomDimension" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListCustomMetricsResponse": { + "description": "Response message for ListCustomMetrics RPC.", + "id": "GoogleAnalyticsAdminV1alphaListCustomMetricsResponse", + "properties": { + "customMetrics": { + "description": "List of CustomMetrics.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaCustomMetric" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListDataStreamsResponse": { + "description": "Response message for ListDataStreams RPC.", + "id": "GoogleAnalyticsAdminV1alphaListDataStreamsResponse", + "properties": { + "dataStreams": { + "description": "List of DataStreams.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaDataStream" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse": { + "description": "Response message for ListDisplayVideo360AdvertiserLinkProposals RPC.", + "id": "GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse", + "properties": { + "displayVideo360AdvertiserLinkProposals": { + "description": "List of DisplayVideo360AdvertiserLinkProposals.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse": { + "description": "Response message for ListDisplayVideo360AdvertiserLinks RPC.", + "id": "GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse", + "properties": { + "displayVideo360AdvertiserLinks": { + "description": "List of DisplayVideo360AdvertiserLinks.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse": { + "description": "Response message for ListEventCreateRules RPC.", + "id": "GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse", + "properties": { + "eventCreateRules": { + "description": "List of EventCreateRules. These will be ordered stably, but in an arbitrary order.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaEventCreateRule" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse": { + "description": "Response message for ListExpandedDataSets RPC.", + "id": "GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse", + "properties": { + "expandedDataSets": { + "description": "List of ExpandedDataSet. These will be ordered stably, but in an arbitrary order.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaExpandedDataSet" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse": { + "description": "Response message for ListFirebaseLinks RPC", + "id": "GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse", + "properties": { + "firebaseLinks": { + "description": "List of FirebaseLinks. This will have at most one value.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaFirebaseLink" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. Currently, Google Analytics supports only one FirebaseLink per property, so this will never be populated.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse": { + "description": "Response message for ListGoogleAdsLinks RPC.", + "id": "GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse", + "properties": { + "googleAdsLinks": { + "description": "List of GoogleAdsLinks.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaGoogleAdsLink" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListKeyEventsResponse": { + "description": "Response message for ListKeyEvents RPC.", + "id": "GoogleAnalyticsAdminV1alphaListKeyEventsResponse", + "properties": { + "keyEvents": { + "description": "The requested Key Events", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaKeyEvent" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse": { + "description": "Response message for ListMeasurementProtocolSecret RPC", + "id": "GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse", + "properties": { + "measurementProtocolSecrets": { + "description": "A list of secrets for the parent stream specified in the request.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListPropertiesResponse": { + "description": "Response message for ListProperties RPC.", + "id": "GoogleAnalyticsAdminV1alphaListPropertiesResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "properties": { + "description": "Results that matched the filter criteria and were accessible to the caller.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaProperty" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse": { + "description": "Response message for ListRollupPropertySourceLinks RPC.", + "id": "GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "rollupPropertySourceLinks": { + "description": "List of RollupPropertySourceLinks.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaRollupPropertySourceLink" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse": { + "description": "Response message for ListSKAdNetworkConversionValueSchemas RPC", + "id": "GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. Currently, Google Analytics supports only one SKAdNetworkConversionValueSchema per dataStream, so this will never be populated.", + "type": "string" + }, + "skadnetworkConversionValueSchemas": { + "description": "List of SKAdNetworkConversionValueSchemas. This will have at most one value.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse": { + "description": "Response message for ListSearchAds360Links RPC.", + "id": "GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "searchAds360Links": { + "description": "List of SearchAds360Links.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaSearchAds360Link" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse": { + "description": "Response message for ListSubpropertyEventFilter RPC.", + "id": "GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse", + "properties": { + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + }, + "subpropertyEventFilters": { + "description": "List of subproperty event filters.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilter" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaMatchingCondition": { + "description": "Defines a condition for when an Event Edit or Event Creation rule applies to an event.", + "id": "GoogleAnalyticsAdminV1alphaMatchingCondition", + "properties": { + "comparisonType": { + "description": "Required. The type of comparison to be applied to the value.", + "enum": [ + "COMPARISON_TYPE_UNSPECIFIED", + "EQUALS", + "EQUALS_CASE_INSENSITIVE", + "CONTAINS", + "CONTAINS_CASE_INSENSITIVE", + "STARTS_WITH", + "STARTS_WITH_CASE_INSENSITIVE", + "ENDS_WITH", + "ENDS_WITH_CASE_INSENSITIVE", + "GREATER_THAN", + "GREATER_THAN_OR_EQUAL", + "LESS_THAN", + "LESS_THAN_OR_EQUAL", + "REGULAR_EXPRESSION", + "REGULAR_EXPRESSION_CASE_INSENSITIVE" + ], + "enumDescriptions": [ + "Unknown", + "Equals, case sensitive", + "Equals, case insensitive", + "Contains, case sensitive", + "Contains, case insensitive", + "Starts with, case sensitive", + "Starts with, case insensitive", + "Ends with, case sensitive", + "Ends with, case insensitive", + "Greater than", + "Greater than or equal", + "Less than", + "Less than or equal", + "regular expression. Only supported for web streams.", + "regular expression, case insensitive. Only supported for web streams." + ], + "type": "string" + }, + "field": { + "description": "Required. The name of the field that is compared against for the condition. If 'event_name' is specified this condition will apply to the name of the event. Otherwise the condition will apply to a parameter with the specified name. This value cannot contain spaces.", + "type": "string" + }, + "negated": { + "description": "Whether or not the result of the comparison should be negated. For example, if `negated` is true, then 'equals' comparisons would function as 'not equals'.", + "type": "boolean" + }, + "value": { + "description": "Required. The value being compared against for this condition. The runtime implementation may perform type coercion of this value to evaluate this condition based on the type of the parameter value.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret": { + "description": "A secret value used for sending hits to Measurement Protocol.", + "id": "GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret", + "properties": { + "displayName": { + "description": "Required. Human-readable display name for this secret.", + "type": "string" + }, + "name": { + "description": "Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}", + "readOnly": true, + "type": "string" + }, + "secretValue": { + "description": "Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaNumericValue": { + "description": "To represent a number.", + "id": "GoogleAnalyticsAdminV1alphaNumericValue", + "properties": { + "doubleValue": { + "description": "Double value", + "format": "double", + "type": "number" + }, + "int64Value": { + "description": "Integer value", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaParameterMutation": { + "description": "Defines an event parameter to mutate.", + "id": "GoogleAnalyticsAdminV1alphaParameterMutation", + "properties": { + "parameter": { + "description": "Required. The name of the parameter to mutate. This value must: * be less than 40 characters. * be unique across across all mutations within the rule * consist only of letters, digits or _ (underscores) For event edit rules, the name may also be set to 'event_name' to modify the event_name in place.", + "type": "string" + }, + "parameterValue": { + "description": "Required. The value mutation to perform. * Must be less than 100 characters. * To specify a constant value for the param, use the value's string. * To copy value from another parameter, use syntax like \"[[other_parameter]]\" For more details, see this [help center article](https://support.google.com/analytics/answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters).", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaPostbackWindow": { + "description": "Settings for a SKAdNetwork conversion postback window.", + "id": "GoogleAnalyticsAdminV1alphaPostbackWindow", + "properties": { + "conversionValues": { + "description": "Ordering of the repeated field will be used to prioritize the conversion value settings. Lower indexed entries are prioritized higher. The first conversion value setting that evaluates to true will be selected. It must have at least one entry if enable_postback_window_settings is set to true. It can have maximum of 128 entries.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaConversionValues" + }, + "type": "array" + }, + "postbackWindowSettingsEnabled": { + "description": "If enable_postback_window_settings is true, conversion_values must be populated and will be used for determining when and how to set the Conversion Value on a client device and exporting schema to linked Ads accounts. If false, the settings are not used, but are retained in case they may be used in the future. This must always be true for postback_window_one.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaProperty": { + "description": "A resource message representing a Google Analytics GA4 property.", + "id": "GoogleAnalyticsAdminV1alphaProperty", + "properties": { + "account": { + "description": "Immutable. The resource name of the parent account Format: accounts/{account_id} Example: \"accounts/123\"", + "type": "string" + }, + "createTime": { + "description": "Output only. Time when the entity was originally created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "currencyCode": { + "description": "The currency type used in reports involving monetary values. Format: https://en.wikipedia.org/wiki/ISO_4217 Examples: \"USD\", \"EUR\", \"JPY\"", + "type": "string" + }, + "deleteTime": { + "description": "Output only. If set, the time at which this property was trashed. If not set, then this property is not currently in the trash can.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "displayName": { + "description": "Required. Human-readable display name for this property. The max allowed display name length is 100 UTF-16 code units.", + "type": "string" + }, + "expireTime": { + "description": "Output only. If set, the time at which this trashed property will be permanently deleted. If not set, then this property is not currently in the trash can and is not slated to be deleted.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "industryCategory": { + "description": "Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK", + "enum": [ + "INDUSTRY_CATEGORY_UNSPECIFIED", + "AUTOMOTIVE", + "BUSINESS_AND_INDUSTRIAL_MARKETS", + "FINANCE", + "HEALTHCARE", + "TECHNOLOGY", + "TRAVEL", + "OTHER", + "ARTS_AND_ENTERTAINMENT", + "BEAUTY_AND_FITNESS", + "BOOKS_AND_LITERATURE", + "FOOD_AND_DRINK", + "GAMES", + "HOBBIES_AND_LEISURE", + "HOME_AND_GARDEN", + "INTERNET_AND_TELECOM", + "LAW_AND_GOVERNMENT", + "NEWS", + "ONLINE_COMMUNITIES", + "PEOPLE_AND_SOCIETY", + "PETS_AND_ANIMALS", + "REAL_ESTATE", + "REFERENCE", + "SCIENCE", + "SPORTS", + "JOBS_AND_EDUCATION", + "SHOPPING" + ], + "enumDescriptions": [ + "Industry category unspecified", + "Automotive", + "Business and industrial markets", + "Finance", + "Healthcare", + "Technology", + "Travel", + "Other", + "Arts and entertainment", + "Beauty and fitness", + "Books and literature", + "Food and drink", + "Games", + "Hobbies and leisure", + "Home and garden", + "Internet and telecom", + "Law and government", + "News", + "Online communities", + "People and society", + "Pets and animals", + "Real estate", + "Reference", + "Science", + "Sports", + "Jobs and education", + "Shopping" + ], + "type": "string" + }, + "name": { + "description": "Output only. Resource name of this property. Format: properties/{property_id} Example: \"properties/1000\"", + "readOnly": true, + "type": "string" + }, + "parent": { + "description": "Immutable. Resource name of this property's logical parent. Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account}, properties/{property} Example: \"accounts/100\", \"properties/101\"", + "type": "string" + }, + "propertyType": { + "description": "Immutable. The property type for this Property resource. When creating a property, if the type is \"PROPERTY_TYPE_UNSPECIFIED\", then \"ORDINARY_PROPERTY\" will be implied.", + "enum": [ + "PROPERTY_TYPE_UNSPECIFIED", + "PROPERTY_TYPE_ORDINARY", + "PROPERTY_TYPE_SUBPROPERTY", + "PROPERTY_TYPE_ROLLUP" + ], + "enumDescriptions": [ + "Unknown or unspecified property type", + "Ordinary GA4 property", + "GA4 subproperty", + "GA4 rollup property" + ], + "type": "string" + }, + "serviceLevel": { + "description": "Output only. The Google Analytics service level that applies to this property.", + "enum": [ + "SERVICE_LEVEL_UNSPECIFIED", + "GOOGLE_ANALYTICS_STANDARD", + "GOOGLE_ANALYTICS_360" + ], + "enumDescriptions": [ + "Service level not specified or invalid.", + "The standard version of Google Analytics.", + "The paid, premium version of Google Analytics." + ], + "readOnly": true, + "type": "string" + }, + "timeZone": { + "description": "Required. Reporting Time Zone, used as the day boundary for reports, regardless of where the data originates. If the time zone honors DST, Analytics will automatically adjust for the changes. NOTE: Changing the time zone only affects data going forward, and is not applied retroactively. Format: https://www.iana.org/time-zones Example: \"America/Los_Angeles\"", + "type": "string" + }, + "updateTime": { + "description": "Output only. Time when entity payload fields were last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaPropertySummary": { + "description": "A virtual resource representing metadata for a GA4 property.", + "id": "GoogleAnalyticsAdminV1alphaPropertySummary", + "properties": { + "displayName": { + "description": "Display name for the property referred to in this property summary.", + "type": "string" + }, + "parent": { + "description": "Resource name of this property's logical parent. Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account}, properties/{property} Example: \"accounts/100\", \"properties/200\"", + "type": "string" + }, + "property": { + "description": "Resource name of property referred to by this property summary Format: properties/{property_id} Example: \"properties/1000\"", + "type": "string" + }, + "propertyType": { + "description": "The property's property type.", + "enum": [ + "PROPERTY_TYPE_UNSPECIFIED", + "PROPERTY_TYPE_ORDINARY", + "PROPERTY_TYPE_SUBPROPERTY", + "PROPERTY_TYPE_ROLLUP" + ], + "enumDescriptions": [ + "Unknown or unspecified property type", + "Ordinary GA4 property", + "GA4 subproperty", + "GA4 rollup property" + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest": { + "description": "Request message for ProvisionAccountTicket RPC.", + "id": "GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest", + "properties": { + "account": { + "$ref": "GoogleAnalyticsAdminV1alphaAccount", + "description": "The account to create." + }, + "redirectUri": { + "description": "Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in Cloud Console as a Redirect URI.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse": { + "description": "Response message for ProvisionAccountTicket RPC.", + "id": "GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse", + "properties": { + "accountTicketId": { + "description": "The param to be passed in the ToS link.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaRollupPropertySourceLink": { + "description": "A link that references a source property under the parent rollup property.", + "id": "GoogleAnalyticsAdminV1alphaRollupPropertySourceLink", + "properties": { + "name": { + "description": "Output only. Resource name of this RollupPropertySourceLink. Format: 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' Format: 'properties/123/rollupPropertySourceLinks/456'", + "readOnly": true, + "type": "string" + }, + "sourceProperty": { + "description": "Immutable. Resource name of the source property. Format: properties/{property_id} Example: \"properties/789\"", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaRunAccessReportRequest": { + "description": "The request for a Data Access Record Report.", + "id": "GoogleAnalyticsAdminV1alphaRunAccessReportRequest", + "properties": { + "dateRanges": { + "description": "Date ranges of access records to read. If multiple date ranges are requested, each response row will contain a zero based date range index. If two date ranges overlap, the access records for the overlapping days is included in the response rows for both date ranges. Requests are allowed up to 2 date ranges.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessDateRange" + }, + "type": "array" + }, + "dimensionFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessFilterExpression", + "description": "Dimension filters let you restrict report response to specific dimension values which match the filter. For example, filtering on access records of a single user. To learn more, see [Fundamentals of Dimension Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) for examples. Metrics cannot be used in this filter." + }, + "dimensions": { + "description": "The dimensions requested and displayed in the response. Requests are allowed up to 9 dimensions.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessDimension" + }, + "type": "array" + }, + "expandGroups": { + "description": "Optional. Decides whether to return the users within user groups. This field works only when include_all_users is set to true. If true, it will return all users with access to the specified property or account. If false, only the users with direct access will be returned.", + "type": "boolean" + }, + "includeAllUsers": { + "description": "Optional. Determines whether to include users who have never made an API call in the response. If true, all users with access to the specified property or account are included in the response, regardless of whether they have made an API call or not. If false, only the users who have made an API call will be included.", + "type": "boolean" + }, + "limit": { + "description": "The number of rows to return. If unspecified, 10,000 rows are returned. The API returns a maximum of 100,000 rows per request, no matter how many you ask for. `limit` must be positive. The API may return fewer rows than the requested `limit`, if there aren't as many remaining rows as the `limit`. For instance, there are fewer than 300 possible values for the dimension `country`, so when reporting on only `country`, you can't get more than 300 rows, even if you set `limit` to a higher value. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).", + "format": "int64", + "type": "string" + }, + "metricFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessFilterExpression", + "description": "Metric filters allow you to restrict report response to specific metric values which match the filter. Metric filters are applied after aggregating the report's rows, similar to SQL having-clause. Dimensions cannot be used in this filter." + }, + "metrics": { + "description": "The metrics requested and displayed in the response. Requests are allowed up to 10 metrics.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessMetric" + }, + "type": "array" + }, + "offset": { + "description": "The row count of the start row. The first row is counted as row 0. If offset is unspecified, it is treated as 0. If offset is zero, then this method will return the first page of results with `limit` entries. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).", + "format": "int64", + "type": "string" + }, + "orderBys": { + "description": "Specifies how rows are ordered in the response.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessOrderBy" + }, + "type": "array" + }, + "returnEntityQuota": { + "description": "Toggles whether to return the current state of this Analytics Property's quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level requests, this field must be false.", + "type": "boolean" + }, + "timeZone": { + "description": "This request's time zone if specified. If unspecified, the property's time zone is used. The request's time zone is used to interpret the start & end dates of the report. Formatted as strings from the IANA Time Zone database (https://www.iana.org/time-zones); for example \"America/New_York\" or \"Asia/Tokyo\".", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaRunAccessReportResponse": { + "description": "The customized Data Access Record Report response.", + "id": "GoogleAnalyticsAdminV1alphaRunAccessReportResponse", + "properties": { + "dimensionHeaders": { + "description": "The header for a column in the report that corresponds to a specific dimension. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessDimensionHeader" + }, + "type": "array" + }, + "metricHeaders": { + "description": "The header for a column in the report that corresponds to a specific metric. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessMetricHeader" + }, + "type": "array" + }, + "quota": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessQuota", + "description": "The quota state for this Analytics property including this request. This field doesn't work with account-level requests." + }, + "rowCount": { + "description": "The total number of rows in the query result. `rowCount` is independent of the number of rows returned in the response, the `limit` request parameter, and the `offset` request parameter. For example if a query returns 175 rows and includes `limit` of 50 in the API request, the response will contain `rowCount` of 175 but only 50 rows. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination).", + "format": "int32", + "type": "integer" + }, + "rows": { + "description": "Rows of dimension value combinations and metric values in the report.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessRow" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema": { + "description": "SKAdNetwork conversion value schema of an iOS stream.", + "id": "GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema", + "properties": { + "applyConversionValues": { + "description": "If enabled, the GA SDK will set conversion values using this schema definition, and schema will be exported to any Google Ads accounts linked to this property. If disabled, the GA SDK will not automatically set conversion values, and also the schema will not be exported to Ads.", + "type": "boolean" + }, + "name": { + "description": "Output only. Resource name of the schema. This will be child of ONLY an iOS stream, and there can be at most one such child under an iOS stream. Format: properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema", + "readOnly": true, + "type": "string" + }, + "postbackWindowOne": { + "$ref": "GoogleAnalyticsAdminV1alphaPostbackWindow", + "description": "Required. The conversion value settings for the first postback window. These differ from values for postback window two and three in that they contain a \"Fine\" grained conversion value (a numeric value). Conversion values for this postback window must be set. The other windows are optional and may inherit this window's settings if unset or disabled." + }, + "postbackWindowThree": { + "$ref": "GoogleAnalyticsAdminV1alphaPostbackWindow", + "description": "The conversion value settings for the third postback window. This field should only be set if the user chose to define different conversion values for this postback window. It is allowed to configure window 3 without setting window 2. In case window 1 & 2 settings are set and enable_postback_window_settings for this postback window is set to false, the schema will inherit settings from postback_window_two." + }, + "postbackWindowTwo": { + "$ref": "GoogleAnalyticsAdminV1alphaPostbackWindow", + "description": "The conversion value settings for the second postback window. This field should only be configured if there is a need to define different conversion values for this postback window. If enable_postback_window_settings is set to false for this postback window, the values from postback_window_one will be used." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaSearchAds360Link": { + "description": "A link between a GA4 property and a Search Ads 360 entity.", + "id": "GoogleAnalyticsAdminV1alphaSearchAds360Link", + "properties": { + "adsPersonalizationEnabled": { + "description": "Enables personalized advertising features with this integration. If this field is not set on create, it will be defaulted to true.", + "type": "boolean" + }, + "advertiserDisplayName": { + "description": "Output only. The display name of the Search Ads 360 Advertiser. Allows users to easily identify the linked resource.", + "readOnly": true, + "type": "string" + }, + "advertiserId": { + "description": "Immutable. This field represents the Advertiser ID of the Search Ads 360 Advertiser. that has been linked.", + "type": "string" + }, + "campaignDataSharingEnabled": { + "description": "Immutable. Enables the import of campaign data from Search Ads 360 into the GA4 property. After link creation, this can only be updated from the Search Ads 360 product. If this field is not set on create, it will be defaulted to true.", + "type": "boolean" + }, + "costDataSharingEnabled": { + "description": "Immutable. Enables the import of cost data from Search Ads 360 to the GA4 property. This can only be enabled if campaign_data_sharing_enabled is enabled. After link creation, this can only be updated from the Search Ads 360 product. If this field is not set on create, it will be defaulted to true.", + "type": "boolean" + }, + "name": { + "description": "Output only. The resource name for this SearchAds360Link resource. Format: properties/{propertyId}/searchAds360Links/{linkId} Note: linkId is not the Search Ads 360 advertiser ID", + "readOnly": true, + "type": "string" + }, + "siteStatsSharingEnabled": { + "description": "Enables export of site stats with this integration. If this field is not set on create, it will be defaulted to true.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest": { + "description": "Request message for SearchChangeHistoryEvents RPC.", + "id": "GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest", + "properties": { + "action": { + "description": "Optional. If set, only return changes that match one or more of these types of actions.", + "items": { + "enum": [ + "ACTION_TYPE_UNSPECIFIED", + "CREATED", + "UPDATED", + "DELETED" + ], + "enumDescriptions": [ + "Action type unknown or not specified.", + "Resource was created in this change.", + "Resource was updated in this change.", + "Resource was deleted in this change." + ], + "type": "string" + }, + "type": "array" + }, + "actorEmail": { + "description": "Optional. If set, only return changes if they are made by a user in this list.", + "items": { + "type": "string" + }, + "type": "array" + }, + "earliestChangeTime": { + "description": "Optional. If set, only return changes made after this time (inclusive).", + "format": "google-datetime", + "type": "string" + }, + "latestChangeTime": { + "description": "Optional. If set, only return changes made before this time (inclusive).", + "format": "google-datetime", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of ChangeHistoryEvent items to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 items will be returned. The maximum value is 200 (higher values will be coerced to the maximum).", + "format": "int32", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchChangeHistoryEvents` must match the call that provided the page token.", + "type": "string" + }, + "property": { + "description": "Optional. Resource name for a child property. If set, only return changes made to this property or its child resources. Format: properties/{propertyId} Example: \"properties/100\"", + "type": "string" + }, + "resourceType": { + "description": "Optional. If set, only return changes if they are for a resource that matches at least one of these types.", + "items": { + "enum": [ + "CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED", + "ACCOUNT", + "PROPERTY", + "FIREBASE_LINK", + "GOOGLE_ADS_LINK", + "GOOGLE_SIGNALS_SETTINGS", + "CONVERSION_EVENT", + "MEASUREMENT_PROTOCOL_SECRET", + "CUSTOM_DIMENSION", + "CUSTOM_METRIC", + "DATA_RETENTION_SETTINGS", + "DISPLAY_VIDEO_360_ADVERTISER_LINK", + "DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL", + "SEARCH_ADS_360_LINK", + "DATA_STREAM", + "ATTRIBUTION_SETTINGS", + "EXPANDED_DATA_SET", + "CHANNEL_GROUP", + "ENHANCED_MEASUREMENT_SETTINGS", + "DATA_REDACTION_SETTINGS", + "SKADNETWORK_CONVERSION_VALUE_SCHEMA", + "ADSENSE_LINK", + "AUDIENCE", + "EVENT_CREATE_RULE", + "CALCULATED_METRIC" + ], + "enumDescriptions": [ + "Resource type unknown or not specified.", + "Account resource", + "Property resource", + "FirebaseLink resource", + "GoogleAdsLink resource", + "GoogleSignalsSettings resource", + "ConversionEvent resource", + "MeasurementProtocolSecret resource", + "CustomDimension resource", + "CustomMetric resource", + "DataRetentionSettings resource", + "DisplayVideo360AdvertiserLink resource", + "DisplayVideo360AdvertiserLinkProposal resource", + "SearchAds360Link resource", + "DataStream resource", + "AttributionSettings resource", + "ExpandedDataSet resource", + "ChannelGroup resource", + "EnhancedMeasurementSettings resource", + "DataRedactionSettings resource", + "SKAdNetworkConversionValueSchema resource", + "AdSenseLink resource", + "Audience resource", + "EventCreateRule resource", + "CalculatedMetric resource" + ], + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse": { + "description": "Response message for SearchAccounts RPC.", + "id": "GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse", + "properties": { + "changeHistoryEvents": { + "description": "Results that were accessible to the caller.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaChangeHistoryEvent" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest": { + "description": "Request for setting the opt out status for the automated GA4 setup process.", + "id": "GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest", + "properties": { + "optOut": { + "description": "The status to set.", + "type": "boolean" + }, + "property": { + "description": "Required. The UA property to set the opt out status. Note this request uses the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. Format: properties/{internalWebPropertyId} Example: properties/1234", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse": { + "description": "Response message for setting the opt out status for the automated GA4 setup process.", + "id": "GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse", + "properties": {}, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaSubpropertyEventFilter": { + "description": "A resource message representing a GA4 Subproperty event filter.", + "id": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilter", + "properties": { + "applyToProperty": { + "description": "Immutable. Resource name of the Subproperty that uses this filter.", + "type": "string" + }, + "filterClauses": { + "description": "Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause" + }, + "type": "array" + }, + "name": { + "description": "Output only. Format: properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} Example: properties/1234/subpropertyEventFilters/5678", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause": { + "description": "A clause for defining a filter. A filter may be inclusive (events satisfying the filter clause are included in the subproperty's data) or exclusive (events satisfying the filter clause are excluded from the subproperty's data).", + "id": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause", + "properties": { + "filterClauseType": { + "description": "Required. The type for the filter clause.", + "enum": [ + "FILTER_CLAUSE_TYPE_UNSPECIFIED", + "INCLUDE", + "EXCLUDE" + ], + "enumDescriptions": [ + "Filter clause type unknown or not specified.", + "Events will be included in the Sub property if the filter clause is met.", + "Events will be excluded from the Sub property if the filter clause is met." + ], + "type": "string" + }, + "filterExpression": { + "$ref": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression", + "description": "Required. The logical expression for what events are sent to the subproperty." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition": { + "description": "A specific filter expression", + "id": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition", + "properties": { + "fieldName": { + "description": "Required. The field that is being filtered.", + "type": "string" + }, + "nullFilter": { + "description": "A filter for null values.", + "type": "boolean" + }, + "stringFilter": { + "$ref": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter", + "description": "A filter for a string-type dimension that matches a particular pattern." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter": { + "description": "A filter for a string-type dimension that matches a particular pattern.", + "id": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter", + "properties": { + "caseSensitive": { + "description": "Optional. If true, the string value is case sensitive. If false, the match is case-insensitive.", + "type": "boolean" + }, + "matchType": { + "description": "Required. The match type for the string filter.", + "enum": [ + "MATCH_TYPE_UNSPECIFIED", + "EXACT", + "BEGINS_WITH", + "ENDS_WITH", + "CONTAINS", + "FULL_REGEXP", + "PARTIAL_REGEXP" + ], + "enumDescriptions": [ + "Match type unknown or not specified.", + "Exact match of the string value.", + "Begins with the string value.", + "Ends with the string value.", + "Contains the string value.", + "Full regular expression matches with the string value.", + "Partial regular expression matches with the string value." + ], + "type": "string" + }, + "value": { + "description": "Required. The string value used for the matching.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression": { + "description": "A logical expression of Subproperty event filters.", + "id": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression", + "properties": { + "filterCondition": { + "$ref": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition", + "description": "Creates a filter that matches a specific event. This cannot be set on the top level SubpropertyEventFilterExpression." + }, + "notExpression": { + "$ref": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression", + "description": "A filter expression to be NOT'ed (inverted, complemented). It can only include a filter. This cannot be set on the top level SubpropertyEventFilterExpression." + }, + "orGroup": { + "$ref": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList", + "description": "A list of expressions to OR’ed together. Must only contain not_expression or filter_condition expressions." + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList": { + "description": "A list of Subproperty event filter expressions.", + "id": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList", + "properties": { + "filterExpressions": { + "description": "Required. Unordered list. A list of Subproperty event filter expressions", + "items": { + "$ref": "GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest": { + "description": "Request message for UpdateAccessBinding RPC.", + "id": "GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest", + "properties": { + "accessBinding": { + "$ref": "GoogleAnalyticsAdminV1alphaAccessBinding", + "description": "Required. The access binding to update." + } + }, + "type": "object" + }, + "GoogleProtobufEmpty": { + "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": "GoogleProtobufEmpty", + "properties": {}, + "type": "object" + } + } +} diff --git a/discovery/googleapis_beta/analyticsadmin__v1beta.json b/discovery/googleapis_beta/analyticsadmin__v1beta.json index 64104570a..38e4e092d 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": "20240503", + "revision": "20240528", "rootUrl": "https://analyticsadmin.googleapis.com/", "servicePath": "", "title": "Google Analytics Admin API", diff --git a/discovery/googleapis_beta/analyticsdata__v1beta.json b/discovery/googleapis_beta/analyticsdata__v1beta.json index 7a351c65a..e4630a246 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": "20240508", + "revision": "20240529", "rootUrl": "https://analyticsdata.googleapis.com/", "servicePath": "", "title": "Google Analytics Data API", @@ -792,6 +792,44 @@ }, "type": "object" }, + "Comparison": { + "description": "Defines an individual comparison. Most requests will include multiple comparisons so that the report compares between the comparisons.", + "id": "Comparison", + "properties": { + "comparison": { + "description": "A saved comparison identified by the comparison's resource name. For example, 'comparisons/1234'.", + "type": "string" + }, + "dimensionFilter": { + "$ref": "FilterExpression", + "description": "A basic comparison." + }, + "name": { + "description": "Each comparison produces separate rows in the response. In the response, this comparison is identified by this name. If name is unspecified, we will use the saved comparisons display name.", + "type": "string" + } + }, + "type": "object" + }, + "ComparisonMetadata": { + "description": "The metadata for a single comparison.", + "id": "ComparisonMetadata", + "properties": { + "apiName": { + "description": "This comparison's resource name. Useable in [Comparison](#Comparison)'s `comparison` field. For example, 'comparisons/1234'.", + "type": "string" + }, + "description": { + "description": "This comparison's description.", + "type": "string" + }, + "uiName": { + "description": "This comparison's name within the Google Analytics user interface.", + "type": "string" + } + }, + "type": "object" + }, "ConcatenateExpression": { "description": "Used to combine dimension values to a single dimension.", "id": "ConcatenateExpression", @@ -1075,6 +1113,13 @@ "description": "The dimensions, metrics and comparisons currently accepted in reporting methods.", "id": "Metadata", "properties": { + "comparisons": { + "description": "The comparison descriptions.", + "items": { + "$ref": "ComparisonMetadata" + }, + "type": "array" + }, "dimensions": { "description": "The dimension descriptions.", "items": { @@ -1696,6 +1741,13 @@ "$ref": "CohortSpec", "description": "Cohort group associated with this request. If there is a cohort group in the request the 'cohort' dimension must be present." }, + "comparisons": { + "description": "Optional. The configuration of comparisons requested and displayed. The request requires both a comparisons field and a comparisons dimension to receive a comparison column in the response.", + "items": { + "$ref": "Comparison" + }, + "type": "array" + }, "currencyCode": { "description": "A currency code in ISO4217 format, such as \"AED\", \"USD\", \"JPY\". If the field is empty, the report uses the property's default currency.", "type": "string" @@ -1948,6 +2000,13 @@ "$ref": "CohortSpec", "description": "Cohort group associated with this request. If there is a cohort group in the request the 'cohort' dimension must be present." }, + "comparisons": { + "description": "Optional. The configuration of comparisons requested and displayed. The request only requires a comparisons field in order to receive a comparison column in the response.", + "items": { + "$ref": "Comparison" + }, + "type": "array" + }, "currencyCode": { "description": "A currency code in ISO4217 format, such as \"AED\", \"USD\", \"JPY\". If the field is empty, the report uses the property's default currency.", "type": "string" diff --git a/discovery/googleapis_beta/area120tables__v1alpha1.json b/discovery/googleapis_beta/area120tables__v1alpha1.json index 78444b699..2b13fd005 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": "20240509", + "revision": "20240529", "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 2485d1e85..f074897c4 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": "20240423", + "revision": "20240418", "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 daee11979..867143a76 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": "20240503", + "revision": "20240524", "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 a4e2ee4e0..ba35e7ee0 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": "20240508", + "revision": "20240529", "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 027da8665..dd97e1186 100644 --- a/discovery/googleapis_beta/dataflow__v1b3.json +++ b/discovery/googleapis_beta/dataflow__v1b3.json @@ -48,7 +48,7 @@ "ownerDomain": "google.com", "ownerName": "Google", "protocol": "rest", - "revision": "20240430", + "revision": "20240520", "rootUrl": "https://dataflow.googleapis.com/", "servicePath": "", "title": "Dataflow API", diff --git a/discovery/googleapis_beta/datastream__v1alpha1.json b/discovery/googleapis_beta/datastream__v1alpha1.json index 90c1590a3..d2dc4e773 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": "20240410", + "revision": "20240501", "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 62e7c8124..99f472783 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": "20240428", + "revision": "20240526", "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 97e1a106c..e9b0cd672 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": "20240508", + "revision": "20240528", "rootUrl": "https://fcmdata.googleapis.com/", "servicePath": "", "title": "Firebase Cloud Messaging Data API", @@ -187,7 +187,12 @@ "id": "GoogleFirebaseFcmDataV1beta1Data", "properties": { "countMessagesAccepted": { - "description": "Count of messages accepted by FCM intended to Android devices. The targeted device must have opted in to the collection of usage and diagnostic information.", + "description": "Count of messages accepted by FCM intended for Android devices. The targeted device must have opted in to the collection of usage and diagnostic information.", + "format": "int64", + "type": "string" + }, + "countNotificationsAccepted": { + "description": "Count of notifications accepted by FCM intended for Android devices. The targeted device must have opted in to the collection of usage and diagnostic information.", "format": "int64", "type": "string" }, @@ -202,6 +207,10 @@ "messageOutcomePercents": { "$ref": "GoogleFirebaseFcmDataV1beta1MessageOutcomePercents", "description": "Mutually exclusive breakdown of message delivery outcomes." + }, + "proxyNotificationInsightPercents": { + "$ref": "GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents", + "description": "Additional insights about proxy notification delivery." } }, "type": "object" @@ -300,6 +309,43 @@ }, "type": "object" }, + "GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents": { + "description": "Additional information about proxy notification delivery. All percentages are calculated with countNotificationsAccepted as the denominator.", + "id": "GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents", + "properties": { + "failed": { + "description": "The percentage of accepted notifications that failed to be proxied. This is usually caused by exceptions that occurred while calling [notifyAsPackage](https://developer.android.com/reference/android/app/NotificationManager#notifyAsPackage%28java.lang.String,%20java.lang.String,%20int,%20android.app.Notification%29).", + "format": "float", + "type": "number" + }, + "proxied": { + "description": "The percentage of accepted notifications that were successfully proxied by [Google Play services](https://developers.google.com/android/guides/overview).", + "format": "float", + "type": "number" + }, + "skippedNotThrottled": { + "description": "The percentage of accepted notifications that were skipped because the messages were not throttled.", + "format": "float", + "type": "number" + }, + "skippedOptedOut": { + "description": "The percentage of accepted notifications that were skipped because the app disallowed these messages to be proxied.", + "format": "float", + "type": "number" + }, + "skippedUnconfigured": { + "description": "The percentage of accepted notifications that were skipped because configurations required for notifications to be proxied were missing.", + "format": "float", + "type": "number" + }, + "skippedUnsupported": { + "description": "The percentage of accepted notifications that were skipped because proxy notification is unsupported for the recipient.", + "format": "float", + "type": "number" + } + }, + "type": "object" + }, "GoogleTypeDate": { "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": "GoogleTypeDate", diff --git a/discovery/googleapis_beta/firebase__v1beta1.json b/discovery/googleapis_beta/firebase__v1beta1.json index 4db4c2b96..003249ecf 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": "20240509", + "revision": "20240529", "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 14bd0c85c..e4764f340 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": "20240506", + "revision": "20240528", "rootUrl": "https://firebaseappcheck.googleapis.com/", "servicePath": "", "title": "Firebase App Check API", @@ -1536,7 +1536,7 @@ ], "parameters": { "name": { - "description": "Required. The relative resource name of the Service to retrieve, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `identitytoolkit.googleapis.com` (Firebase Authentication with Identity Platform)", + "description": "Required. The relative resource name of the Service to retrieve, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `identitytoolkit.googleapis.com` (Firebase Authentication with Identity Platform) * `oauth2.googleapis.com` (Google Identity for iOS)", "location": "path", "pattern": "^projects/[^/]+/services/[^/]+$", "required": true, @@ -1562,7 +1562,7 @@ ], "parameters": { "pageSize": { - "description": "The maximum number of Services to return in the response. Only explicitly configured services are returned. The server may return fewer than this at its own discretion. If no value is specified or set to zero (or too large a value is specified), the server will impose its own limit.", + "description": "The maximum number of Services to return in the response. Only explicitly configured services are returned. The server may return fewer than this at its own discretion. If no value is specified (or too large a value is specified), the server will impose its own limit.", "format": "int32", "location": "query", "type": "integer" @@ -1795,7 +1795,7 @@ ], "parameters": { "name": { - "description": "Required. The relative name of the resource policy object, in the format: ``` projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS) `resource_policy_id` is a system-generated UID.", + "description": "Required. Identifier. The relative name of the resource policy object, in the format: ``` projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS) `resource_policy_id` is a system-generated UID.", "location": "path", "pattern": "^projects/[^/]+/services/[^/]+/resourcePolicies/[^/]+$", "required": true, @@ -2027,7 +2027,7 @@ "type": "array" }, "updateMask": { - "description": "Optional. A comma-separated list of names of fields in the Services to update. Example: `display_name`. If this field is present, the `update_mask` field in the UpdateServiceRequest messages must all match this field, or the entire batch fails and no updates will be committed.", + "description": "Optional. A comma-separated list of names of fields in the Services to update. Example: `display_name`. If the `update_mask` field is set in both this request and any of the UpdateServiceRequest messages, they must match or the entire batch fails and no updates will be committed.", "format": "google-fieldmask", "type": "string" } @@ -2543,7 +2543,7 @@ "type": "string" }, "name": { - "description": "Required. The relative name of the resource policy object, in the format: ``` projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS) `resource_policy_id` is a system-generated UID.", + "description": "Required. Identifier. The relative name of the resource policy object, in the format: ``` projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `oauth2.googleapis.com` (Google Identity for iOS) `resource_policy_id` is a system-generated UID.", "type": "string" }, "targetResource": { @@ -2633,7 +2633,7 @@ "properties": { "service": { "$ref": "GoogleFirebaseAppcheckV1betaService", - "description": "Required. The Service to update. The Service's `name` field is used to identify the Service to be updated, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `identitytoolkit.googleapis.com` (Firebase Authentication with Identity Platform) For Firebase Authentication to work with App Check, you must first upgrade to [Firebase Authentication with Identity Platform](https://firebase.google.com/docs/auth#identity-platform)." + "description": "Required. The Service to update. The Service's `name` field is used to identify the Service to be updated, in the format: ``` projects/{project_number}/services/{service_id} ``` Note that the `service_id` element must be a supported service ID. Currently, the following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database) * `firestore.googleapis.com` (Cloud Firestore) * `identitytoolkit.googleapis.com` (Firebase Authentication with Identity Platform) * `oauth2.googleapis.com` (Google Identity for iOS) For Firebase Authentication to work with App Check, you must first upgrade to [Firebase Authentication with Identity Platform](https://firebase.google.com/docs/auth#identity-platform)." }, "updateMask": { "description": "Required. A comma-separated list of names of fields in the Service to update. Example: `enforcement_mode`.", diff --git a/discovery/googleapis_beta/firebasedatabase__v1beta.json b/discovery/googleapis_beta/firebasedatabase__v1beta.json index a18b423aa..f429c1417 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": "20240508", + "revision": "20240528", "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 3cbc8043b..0327d4d4e 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": "20240426", + "revision": "20240524", "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 3a1722add..4a01a1d04 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": "20240428", + "revision": "20240519", "rootUrl": "https://gkehub.googleapis.com/", "servicePath": "", "title": "GKE Hub API", diff --git a/discovery/googleapis_beta/prod_tt_sasportal__v1alpha1.json b/discovery/googleapis_beta/prod_tt_sasportal__v1alpha1.json index 60c3a310e..4ede6b1c8 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": "20240507", + "revision": "20240523", "rootUrl": "https://prod-tt-sasportal.googleapis.com/", "servicePath": "", "title": "SAS Portal API (Testing)", @@ -3203,9 +3203,9 @@ "type": "integer" }, "antennaGain": { - "description": "Peak antenna gain in dBi. This parameter is an integer with a value between -127 and +128 (dBi) inclusive.", - "format": "int32", - "type": "integer" + "description": "Peak antenna gain in dBi. This parameter is a double with a value between -127 and +128 (dBi) inclusive. Part of Release 2 to support floating-point value", + "format": "double", + "type": "number" }, "antennaModel": { "description": "If an external antenna is used, the antenna model is optionally provided in this field. The string has a maximum length of 128 octets.", diff --git a/discovery/googleapis_beta/recommendationengine__v1beta1.json b/discovery/googleapis_beta/recommendationengine__v1beta1.json index b312a98d6..72e00c932 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": "20240502", + "revision": "20240523", "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 c65989651..497e0a13a 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": "20240509", + "revision": "20240521", "rootUrl": "https://sasportal.googleapis.com/", "servicePath": "", "title": "SAS Portal API", @@ -3202,9 +3202,9 @@ "type": "integer" }, "antennaGain": { - "description": "Peak antenna gain in dBi. This parameter is an integer with a value between -127 and +128 (dBi) inclusive.", - "format": "int32", - "type": "integer" + "description": "Peak antenna gain in dBi. This parameter is a double with a value between -127 and +128 (dBi) inclusive. Part of Release 2 to support floating-point value", + "format": "double", + "type": "number" }, "antennaModel": { "description": "If an external antenna is used, the antenna model is optionally provided in this field. The string has a maximum length of 128 octets.", diff --git a/discovery/googleapis_beta/sqladmin__v1beta4.json b/discovery/googleapis_beta/sqladmin__v1beta4.json index c309e2143..48a38e4ee 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": "20240425", + "revision": "20240521", "rootUrl": "https://sqladmin.googleapis.com/", "servicePath": "", "title": "Cloud SQL Admin API", @@ -2364,6 +2364,25 @@ }, "type": "object" }, + "AvailableDatabaseVersion": { + "description": "An available database version. It can be a major or a minor version.", + "id": "AvailableDatabaseVersion", + "properties": { + "displayName": { + "description": "The database version's display name.", + "type": "string" + }, + "majorVersion": { + "description": "The version's major version name.", + "type": "string" + }, + "name": { + "description": "The database version name. For MySQL 8.0, this string provides the database major and minor version.", + "type": "string" + } + }, + "type": "object" + }, "BackupConfiguration": { "description": "Database instance backup configuration.", "id": "BackupConfiguration", @@ -2696,8 +2715,12 @@ "format": "google-datetime", "type": "string" }, + "preferredSecondaryZone": { + "description": "Optional. Copy clone and point-in-time recovery clone of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field.", + "type": "string" + }, "preferredZone": { - "description": "Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone. If no zone is specified, clone to the same zone as the source instance.", + "description": "Optional. Copy clone and point-in-time recovery clone of an instance to the specified zone. If no zone is specified, clone to the same primary zone as the source instance.", "type": "string" } }, @@ -2748,6 +2771,7 @@ "POSTGRES_13", "POSTGRES_14", "POSTGRES_15", + "POSTGRES_16", "MYSQL_8_0", "MYSQL_8_0_18", "MYSQL_8_0_26", @@ -2765,6 +2789,8 @@ "MYSQL_8_0_38", "MYSQL_8_0_39", "MYSQL_8_0_40", + "MYSQL_8_4", + "MYSQL_8_4_0", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -2796,6 +2822,7 @@ false, false, false, + false, true, false, false, @@ -2815,6 +2842,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -2834,6 +2863,7 @@ "The database version is PostgreSQL 13.", "The database version is PostgreSQL 14.", "The database version is PostgreSQL 15.", + "The database version is PostgreSQL 16.", "The database version is MySQL 8.", "The database major version is MySQL 8.0 and the minor version is 18.", "The database major version is MySQL 8.0 and the minor version is 26.", @@ -2851,6 +2881,8 @@ "The database major version is MySQL 8.0 and the minor version is 38.", "The database major version is MySQL 8.0 and the minor version is 39.", "The database major version is MySQL 8.0 and the minor version is 40.", + "The database version is MySQL 8.4.", + "The database version is MySQL 8.4 and the patch version is 0.", "The database version is SQL Server 2019 Standard.", "The database version is SQL Server 2019 Enterprise.", "The database version is SQL Server 2019 Express.", @@ -3034,6 +3066,7 @@ "POSTGRES_13", "POSTGRES_14", "POSTGRES_15", + "POSTGRES_16", "MYSQL_8_0", "MYSQL_8_0_18", "MYSQL_8_0_26", @@ -3051,6 +3084,8 @@ "MYSQL_8_0_38", "MYSQL_8_0_39", "MYSQL_8_0_40", + "MYSQL_8_4", + "MYSQL_8_4_0", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -3082,6 +3117,7 @@ false, false, false, + false, true, false, false, @@ -3101,6 +3137,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -3120,6 +3158,7 @@ "The database version is PostgreSQL 13.", "The database version is PostgreSQL 14.", "The database version is PostgreSQL 15.", + "The database version is PostgreSQL 16.", "The database version is MySQL 8.", "The database major version is MySQL 8.0 and the minor version is 18.", "The database major version is MySQL 8.0 and the minor version is 26.", @@ -3137,6 +3176,8 @@ "The database major version is MySQL 8.0 and the minor version is 38.", "The database major version is MySQL 8.0 and the minor version is 39.", "The database major version is MySQL 8.0 and the minor version is 40.", + "The database version is MySQL 8.4.", + "The database version is MySQL 8.4 and the patch version is 0.", "The database version is SQL Server 2019 Standard.", "The database version is SQL Server 2019 Enterprise.", "The database version is SQL Server 2019 Express.", @@ -3284,7 +3325,7 @@ "type": "string" }, "satisfiesPzs": { - "description": "The status indicating if instance satisfiesPzs. Reserved for future use.", + "description": "This status indicates whether the instance satisfies PZS. The status is reserved for future use.", "type": "boolean" }, "scheduledMaintenance": { @@ -3380,6 +3421,14 @@ }, "type": "array" }, + "upgradableDatabaseVersions": { + "description": "Output only. All database versions that are available for upgrade.", + "items": { + "$ref": "AvailableDatabaseVersion" + }, + "readOnly": true, + "type": "array" + }, "writeEndpoint": { "description": "Output only. The dns name of the primary instance in a replication group.", "readOnly": true, @@ -3749,6 +3798,7 @@ "POSTGRES_13", "POSTGRES_14", "POSTGRES_15", + "POSTGRES_16", "MYSQL_8_0", "MYSQL_8_0_18", "MYSQL_8_0_26", @@ -3766,6 +3816,8 @@ "MYSQL_8_0_38", "MYSQL_8_0_39", "MYSQL_8_0_40", + "MYSQL_8_4", + "MYSQL_8_4_0", "SQLSERVER_2019_STANDARD", "SQLSERVER_2019_ENTERPRISE", "SQLSERVER_2019_EXPRESS", @@ -3797,6 +3849,7 @@ false, false, false, + false, true, false, false, @@ -3816,6 +3869,8 @@ false, false, false, + false, + false, false ], "enumDescriptions": [ @@ -3835,6 +3890,7 @@ "The database version is PostgreSQL 13.", "The database version is PostgreSQL 14.", "The database version is PostgreSQL 15.", + "The database version is PostgreSQL 16.", "The database version is MySQL 8.", "The database major version is MySQL 8.0 and the minor version is 18.", "The database major version is MySQL 8.0 and the minor version is 26.", @@ -3852,6 +3908,8 @@ "The database major version is MySQL 8.0 and the minor version is 38.", "The database major version is MySQL 8.0 and the minor version is 39.", "The database major version is MySQL 8.0 and the minor version is 40.", + "The database version is MySQL 8.4.", + "The database version is MySQL 8.4 and the patch version is 0.", "The database version is SQL Server 2019 Standard.", "The database version is SQL Server 2019 Enterprise.", "The database version is SQL Server 2019 Express.", @@ -4724,7 +4782,10 @@ "SWITCHOVER", "ACQUIRE_SSRS_LEASE", "RELEASE_SSRS_LEASE", - "RECONFIGURE_OLD_PRIMARY" + "RECONFIGURE_OLD_PRIMARY", + "CLUSTER_MAINTENANCE", + "SELF_SERVICE_MAINTENANCE", + "SWITCHOVER_TO_REPLICA" ], "enumDeprecated": [ false, @@ -4768,6 +4829,9 @@ false, false, false, + false, + false, + false, false ], "enumDescriptions": [ @@ -4809,10 +4873,13 @@ "Recovers logs from an instance's old data disk.", "Performs auto-restart of an HA-enabled Cloud SQL database for auto recovery.", "Re-encrypts CMEK instances with latest key version.", - "Switches over to replica instance from primary.", + "Switches the roles of the primary and replica pair. The target instance should be the replica.", "Acquire a lease for the setup of SQL Server Reporting Services (SSRS).", "Release a lease for the setup of SQL Server Reporting Services (SSRS).", - "Reconfigures old primary after a promote replica operation. Effect of a promote operation to the old primary is executed in this operation, asynchronously from the promote replica operation executed to the replica." + "Reconfigures old primary after a promote replica operation. Effect of a promote operation to the old primary is executed in this operation, asynchronously from the promote replica operation executed to the replica.", + "Indicates that the instance, its read replicas, and its cascading replicas are in maintenance. Maintenance typically gets initiated on groups of replicas first, followed by the primary instance. For each instance, maintenance typically causes the instance to be unavailable for 1-3 minutes.", + "Indicates that the instance (and any of its replicas) are currently in maintenance. This is initiated as a self-service request by using SSM. Maintenance typically causes the instance to be unavailable for 1-3 minutes.", + "Switches a primary instance to a replica. This operation runs as part of a switchover operation to the original primary instance." ], "type": "string" }, @@ -5090,6 +5157,11 @@ "failoverDrReplicaName": { "description": "Optional. If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. A DR replica is an optional configuration for Enterprise Plus edition instances. If the instance is a read replica, then the field is not set. Set this field to a replica name to designate a DR replica for a primary instance. Remove the replica name to remove the DR replica designation.", "type": "string" + }, + "psaWriteEndpoint": { + "description": "Output only. If set, it indicates this instance has a private service access (PSA) dns endpoint that is pointing to the primary instance of the cluster. If this instance is the primary, the dns should be pointing to this instance. After Switchover or Replica failover, this DNS endpoint points to the promoted instance. This is a read-only field, returned to the user as information. This field can exist even if a standalone instance does not yet have a replica, or had a DR replica that was deleted.", + "readOnly": true, + "type": "string" } }, "type": "object" @@ -5192,7 +5264,7 @@ }, "advancedMachineFeatures": { "$ref": "AdvancedMachineFeatures", - "description": "Specifies advance machine configuration for the instance relevant only for SQL Server." + "description": "Specifies advanced machine configuration for the instances relevant only for SQL Server." }, "authorizedGaeApplications": { "deprecated": true, diff --git a/discovery/googleapis_beta/toolresults__v1beta3.json b/discovery/googleapis_beta/toolresults__v1beta3.json index 1bbabc6cf..84155abe0 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": "20240509", + "revision": "20240529", "rootUrl": "https://toolresults.googleapis.com/", "servicePath": "", "title": "Cloud Tool Results API", diff --git a/discoveryapis_generator/lib/src/dart_api_library.dart b/discoveryapis_generator/lib/src/dart_api_library.dart index 9a671d5e2..6a7dbd382 100644 --- a/discoveryapis_generator/lib/src/dart_api_library.dart +++ b/discoveryapis_generator/lib/src/dart_api_library.dart @@ -17,6 +17,8 @@ const ignoreForFileSet = { // Can remove when https://github.com/dart-lang/linter/issues/2442 is fixed! 'comment_references', 'deprecated_member_use_from_same_package', + // Need to find-replace these in comment refs + 'doc_directive_unknown', 'lines_longer_than_80_chars', 'non_constant_identifier_names', 'prefer_interpolation_to_compose_strings', diff --git a/discoveryapis_generator/lib/src/generated_googleapis/discovery/v1.dart b/discoveryapis_generator/lib/src/generated_googleapis/discovery/v1.dart index 38c09a98b..af289c69c 100644 --- a/discoveryapis_generator/lib/src/generated_googleapis/discovery/v1.dart +++ b/discoveryapis_generator/lib/src/generated_googleapis/discovery/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/CHANGELOG.md b/generated/googleapis/CHANGELOG.md index 3bba86575..57bb557c5 100644 --- a/generated/googleapis/CHANGELOG.md +++ b/generated/googleapis/CHANGELOG.md @@ -7,6 +7,7 @@ - `addressvalidation` - new! - `cloudcontrolspartner` - new! +- `developerconnect` - new! - `solar` - new! ## 13.1.0 diff --git a/generated/googleapis/README.md b/generated/googleapis/README.md index 2eaf0deba..f447a99e9 100644 --- a/generated/googleapis/README.md +++ b/generated/googleapis/README.md @@ -689,6 +689,13 @@ The Google Cloud Deployment Manager v2 API provides services for configuring, de - [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) +#### 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) + #### Campaign Manager 360 API - `dfareporting/v3_5` Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360. @@ -1614,9 +1621,9 @@ Solar API. #### Cloud Source Repositories API - `sourcerepo/v1` -Accesses source code repositories hosted by Google. +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/apis) +- [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) #### Cloud Spanner API - `spanner/v1` diff --git a/generated/googleapis/lib/abusiveexperiencereport/v1.dart b/generated/googleapis/lib/abusiveexperiencereport/v1.dart index 8fbef6833..d7b894b4f 100644 --- a/generated/googleapis/lib/abusiveexperiencereport/v1.dart +++ b/generated/googleapis/lib/abusiveexperiencereport/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/acceleratedmobilepageurl/v1.dart b/generated/googleapis/lib/acceleratedmobilepageurl/v1.dart index df91c615b..05b3ea8eb 100644 --- a/generated/googleapis/lib/acceleratedmobilepageurl/v1.dart +++ b/generated/googleapis/lib/acceleratedmobilepageurl/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/accessapproval/v1.dart b/generated/googleapis/lib/accessapproval/v1.dart index b93347276..0769adc55 100644 --- a/generated/googleapis/lib/accessapproval/v1.dart +++ b/generated/googleapis/lib/accessapproval/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/accesscontextmanager/v1.dart b/generated/googleapis/lib/accesscontextmanager/v1.dart index 92e750a80..4f2f52a8d 100644 --- a/generated/googleapis/lib/accesscontextmanager/v1.dart +++ b/generated/googleapis/lib/accesscontextmanager/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/acmedns/v1.dart b/generated/googleapis/lib/acmedns/v1.dart index ca633be33..b515b599b 100644 --- a/generated/googleapis/lib/acmedns/v1.dart +++ b/generated/googleapis/lib/acmedns/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/addressvalidation/v1.dart b/generated/googleapis/lib/addressvalidation/v1.dart index a862ddbc0..25ce4a68a 100644 --- a/generated/googleapis/lib/addressvalidation/v1.dart +++ b/generated/googleapis/lib/addressvalidation/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/adexperiencereport/v1.dart b/generated/googleapis/lib/adexperiencereport/v1.dart index 68d9ec250..a96fbbdf7 100644 --- a/generated/googleapis/lib/adexperiencereport/v1.dart +++ b/generated/googleapis/lib/adexperiencereport/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/admin/datatransfer_v1.dart b/generated/googleapis/lib/admin/datatransfer_v1.dart index 9a0d368d5..5da1c8199 100644 --- a/generated/googleapis/lib/admin/datatransfer_v1.dart +++ b/generated/googleapis/lib/admin/datatransfer_v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/admin/directory_v1.dart b/generated/googleapis/lib/admin/directory_v1.dart index 8ee02e1bd..232027c76 100644 --- a/generated/googleapis/lib/admin/directory_v1.dart +++ b/generated/googleapis/lib/admin/directory_v1.dart @@ -3,6 +3,7 @@ // 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 @@ -530,7 +531,8 @@ class ChromeosdevicesResource { /// as the specified org unit. If this is set to true, 'orgUnitPath' must be /// provided. /// - /// [maxResults] - Maximum number of results to return. + /// [maxResults] - Maximum number of results to return, value should not + /// exceed 300. /// /// [orderBy] - Device property to use for sorting results. /// Possible string values are: @@ -552,7 +554,8 @@ class ChromeosdevicesResource { /// page of query results. The follow-on request's `pageToken` query parameter /// is the `nextPageToken` from your previous response. /// - /// [projection] - Restrict information returned to a set of selected fields. + /// [projection] - Determines whether the response contains the full list of + /// properties or only a subset. /// Possible string values are: /// - "BASIC" : Includes only the basic metadata fields (e.g., deviceId, /// serialNumber, status, and user) @@ -681,7 +684,8 @@ class ChromeosdevicesResource { /// \[chromeosdevices.list\](/admin-sdk/v1/reference/chromeosdevices/list) /// method. /// - /// [projection] - Restrict information returned to a set of selected fields. + /// [projection] - Determines whether the response contains the full list of + /// properties or only a subset. /// Possible string values are: /// - "BASIC" : Includes only the basic metadata fields (e.g., deviceId, /// serialNumber, status, and user) @@ -743,7 +747,8 @@ class ChromeosdevicesResource { /// \[chromeosdevices.list\](/admin-sdk/v1/reference/chromeosdevices/list) /// method. /// - /// [projection] - Restrict information returned to a set of selected fields. + /// [projection] - Determines whether the response contains the full list of + /// properties or only a subset. /// Possible string values are: /// - "BASIC" : Includes only the basic metadata fields (e.g., deviceId, /// serialNumber, status, and user) @@ -8260,6 +8265,15 @@ class ChromeOsDevice { /// [Chromebook developer information](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch). core.String? bootMode; + /// Chrome OS type of the device. + /// + /// Output only. + /// Possible string values are: + /// - "chromeOsTypeUnspecified" : Chrome OS Type unspecified. + /// - "chromeOsFlex" : Chrome OS Type Chrome OS Flex. + /// - "chromeOs" : Chrome OS Type Chrome OS. + core.String? chromeOsType; + /// Information regarding CPU specs in the device. core.List? cpuInfo; @@ -8501,6 +8515,7 @@ class ChromeOsDevice { this.autoUpdateThrough, this.backlightInfo, this.bootMode, + this.chromeOsType, this.cpuInfo, this.cpuStatusReports, this.deprovisionReason, @@ -8577,6 +8592,9 @@ class ChromeOsDevice { bootMode: json_.containsKey('bootMode') ? json_['bootMode'] as core.String : null, + chromeOsType: json_.containsKey('chromeOsType') + ? json_['chromeOsType'] as core.String + : null, cpuInfo: json_.containsKey('cpuInfo') ? (json_['cpuInfo'] as core.List) .map((value) => ChromeOsDeviceCpuInfo.fromJson( @@ -8737,6 +8755,7 @@ class ChromeOsDevice { if (autoUpdateThrough != null) 'autoUpdateThrough': autoUpdateThrough!, if (backlightInfo != null) 'backlightInfo': backlightInfo!, if (bootMode != null) 'bootMode': bootMode!, + if (chromeOsType != null) 'chromeOsType': chromeOsType!, if (cpuInfo != null) 'cpuInfo': cpuInfo!, if (cpuStatusReports != null) 'cpuStatusReports': cpuStatusReports!, if (deprovisionReason != null) 'deprovisionReason': deprovisionReason!, diff --git a/generated/googleapis/lib/admin/reports_v1.dart b/generated/googleapis/lib/admin/reports_v1.dart index b28c1d2f5..1a9c18fdc 100644 --- a/generated/googleapis/lib/admin/reports_v1.dart +++ b/generated/googleapis/lib/admin/reports_v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/admob/v1.dart b/generated/googleapis/lib/admob/v1.dart index 61fc2df75..32c3304fc 100644 --- a/generated/googleapis/lib/admob/v1.dart +++ b/generated/googleapis/lib/admob/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -274,7 +275,7 @@ class AccountsMediationReportResource { AccountsMediationReportResource(commons.ApiRequester client) : _requester = client; - /// Generates an AdMob mediation report based on the provided report + /// Generates an AdMob Mediation report based on the provided report /// specification. /// /// Returns result of a server-side streaming RPC. The result is returned in a @@ -671,7 +672,7 @@ class DateRange { }; } -/// Request to generate an AdMob mediation report. +/// Request to generate an AdMob Mediation report. class GenerateMediationReportRequest { /// Network report specification. MediationReportSpec? reportSpec; @@ -734,7 +735,7 @@ class GenerateMediationReportResponseElement { }; } -/// The streaming response for the AdMob mediation report where the first +/// The streaming response for the AdMob Mediation report where the first /// response contains the report header, then a stream of row responses, and /// finally a footer as the last response message. /// diff --git a/generated/googleapis/lib/adsense/v2.dart b/generated/googleapis/lib/adsense/v2.dart index 7d993cf87..15a94d462 100644 --- a/generated/googleapis/lib/adsense/v2.dart +++ b/generated/googleapis/lib/adsense/v2.dart @@ -3,6 +3,7 @@ // 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 @@ -1212,7 +1213,8 @@ class AccountsPolicyIssuesResource { response_ as core.Map); } - /// Lists all the policy issues for the specified account. + /// Lists all the policy issues where the specified account is involved, both + /// directly and through any AFP child accounts. /// /// Request parameters: /// diff --git a/generated/googleapis/lib/adsensehost/v4_1.dart b/generated/googleapis/lib/adsensehost/v4_1.dart index c2012a7a6..ab7715c93 100644 --- a/generated/googleapis/lib/adsensehost/v4_1.dart +++ b/generated/googleapis/lib/adsensehost/v4_1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/advisorynotifications/v1.dart b/generated/googleapis/lib/advisorynotifications/v1.dart index 8fa49e09d..73fdbbebc 100644 --- a/generated/googleapis/lib/advisorynotifications/v1.dart +++ b/generated/googleapis/lib/advisorynotifications/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/aiplatform/v1.dart b/generated/googleapis/lib/aiplatform/v1.dart index 2fd6add92..ec852f6c5 100644 --- a/generated/googleapis/lib/aiplatform/v1.dart +++ b/generated/googleapis/lib/aiplatform/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -30457,6 +30458,22 @@ class GoogleCloudAiplatformV1DeploymentResourcePool { /// Required. GoogleCloudAiplatformV1DedicatedResources? dedicatedResources; + /// If the DeploymentResourcePool is deployed with custom-trained Models or + /// AutoML Tabular Models, the container(s) of the DeploymentResourcePool will + /// send `stderr` and `stdout` streams to Cloud Logging by default. + /// + /// Please note that the logs incur cost, which are subject to + /// [Cloud Logging pricing](https://cloud.google.com/logging/pricing). User + /// can disable container logging by setting this flag to true. + core.bool? disableContainerLogging; + + /// Customer-managed encryption key spec for a DeploymentResourcePool. + /// + /// If set, this DeploymentResourcePool will be secured by this key. Endpoints + /// and the DeploymentResourcePool they deploy in need to have the same + /// EncryptionSpec. + GoogleCloudAiplatformV1EncryptionSpec? encryptionSpec; + /// The resource name of the DeploymentResourcePool. /// /// Format: @@ -30465,10 +30482,22 @@ class GoogleCloudAiplatformV1DeploymentResourcePool { /// Immutable. core.String? name; + /// The service account that the DeploymentResourcePool's container(s) run as. + /// + /// Specify the email address of the service account. If this service account + /// is not specified, the container(s) run as a service account that doesn't + /// have access to the resource project. Users deploying the Models to this + /// DeploymentResourcePool must have the `iam.serviceAccounts.actAs` + /// permission on this service account. + core.String? serviceAccount; + GoogleCloudAiplatformV1DeploymentResourcePool({ this.createTime, this.dedicatedResources, + this.disableContainerLogging, + this.encryptionSpec, this.name, + this.serviceAccount, }); GoogleCloudAiplatformV1DeploymentResourcePool.fromJson(core.Map json_) @@ -30481,14 +30510,29 @@ class GoogleCloudAiplatformV1DeploymentResourcePool { json_['dedicatedResources'] as core.Map) : null, + disableContainerLogging: json_.containsKey('disableContainerLogging') + ? json_['disableContainerLogging'] as core.bool + : null, + encryptionSpec: json_.containsKey('encryptionSpec') + ? GoogleCloudAiplatformV1EncryptionSpec.fromJson( + json_['encryptionSpec'] + as core.Map) + : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, + serviceAccount: json_.containsKey('serviceAccount') + ? json_['serviceAccount'] as core.String + : null, ); core.Map toJson() => { if (createTime != null) 'createTime': createTime!, if (dedicatedResources != null) 'dedicatedResources': dedicatedResources!, + if (disableContainerLogging != null) + 'disableContainerLogging': disableContainerLogging!, + if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!, if (name != null) 'name': name!, + if (serviceAccount != null) 'serviceAccount': serviceAccount!, }; } @@ -33342,6 +33386,7 @@ class GoogleCloudAiplatformV1Feature { /// - "STRING" : Used for Feature that is string. /// - "STRING_ARRAY" : Used for Feature that is a list of String. /// - "BYTES" : Used for Feature that is bytes. + /// - "STRUCT" : Used for Feature that is struct. core.String? valueType; /// Only applicable for Vertex AI Feature Store. @@ -34093,6 +34138,9 @@ class GoogleCloudAiplatformV1FeatureValue { /// String feature value. core.String? stringValue; + /// A struct type feature value. + GoogleCloudAiplatformV1StructValue? structValue; + GoogleCloudAiplatformV1FeatureValue({ this.boolArrayValue, this.boolValue, @@ -34104,6 +34152,7 @@ class GoogleCloudAiplatformV1FeatureValue { this.metadata, this.stringArrayValue, this.stringValue, + this.structValue, }); GoogleCloudAiplatformV1FeatureValue.fromJson(core.Map json_) @@ -34147,6 +34196,10 @@ class GoogleCloudAiplatformV1FeatureValue { stringValue: json_.containsKey('stringValue') ? json_['stringValue'] as core.String : null, + structValue: json_.containsKey('structValue') + ? GoogleCloudAiplatformV1StructValue.fromJson( + json_['structValue'] as core.Map) + : null, ); core.Map toJson() => { @@ -34160,6 +34213,7 @@ class GoogleCloudAiplatformV1FeatureValue { if (metadata != null) 'metadata': metadata!, if (stringArrayValue != null) 'stringArrayValue': stringArrayValue!, if (stringValue != null) 'stringValue': stringValue!, + if (structValue != null) 'structValue': structValue!, }; } @@ -36258,18 +36312,6 @@ class GoogleCloudAiplatformV1GenerationConfig { /// Optional. core.String? responseMimeType; - /// Control Three levels of creativity in the model output. - /// - /// Default: RESPONSE_STYLE_BALANCED - /// - /// Optional. - /// Possible string values are: - /// - "RESPONSE_STYLE_UNSPECIFIED" : response style unspecified. - /// - "RESPONSE_STYLE_PRECISE" : Precise response. - /// - "RESPONSE_STYLE_BALANCED" : Default response style. - /// - "RESPONSE_STYLE_CREATIVE" : Creative response style. - core.String? responseStyle; - /// Stop sequences. /// /// Optional. @@ -36296,7 +36338,6 @@ class GoogleCloudAiplatformV1GenerationConfig { this.maxOutputTokens, this.presencePenalty, this.responseMimeType, - this.responseStyle, this.stopSequences, this.temperature, this.topK, @@ -36320,9 +36361,6 @@ class GoogleCloudAiplatformV1GenerationConfig { responseMimeType: json_.containsKey('responseMimeType') ? json_['responseMimeType'] as core.String : null, - responseStyle: json_.containsKey('responseStyle') - ? json_['responseStyle'] as core.String - : null, stopSequences: json_.containsKey('stopSequences') ? (json_['stopSequences'] as core.List) .map((value) => value as core.String) @@ -36345,7 +36383,6 @@ class GoogleCloudAiplatformV1GenerationConfig { if (maxOutputTokens != null) 'maxOutputTokens': maxOutputTokens!, if (presencePenalty != null) 'presencePenalty': presencePenalty!, if (responseMimeType != null) 'responseMimeType': responseMimeType!, - if (responseStyle != null) 'responseStyle': responseStyle!, if (stopSequences != null) 'stopSequences': stopSequences!, if (temperature != null) 'temperature': temperature!, if (topK != null) 'topK': topK!, @@ -36377,6 +36414,9 @@ class GoogleCloudAiplatformV1GenieSource { }; } +/// Tool to retrieve public web data for grounding, powered by Google. +typedef GoogleCloudAiplatformV1GoogleSearchRetrieval = $Empty; + /// Metadata returned to client when grounding is enabled. class GoogleCloudAiplatformV1GroundingMetadata { /// Google search entry for the following-up web searches. @@ -40083,6 +40123,11 @@ class GoogleCloudAiplatformV1MetadataStore { /// Output only. core.String? createTime; + /// Dataplex integration settings. + /// + /// Optional. + GoogleCloudAiplatformV1MetadataStoreDataplexConfig? dataplexConfig; + /// Description of the MetadataStore. core.String? description; @@ -40109,6 +40154,7 @@ class GoogleCloudAiplatformV1MetadataStore { GoogleCloudAiplatformV1MetadataStore({ this.createTime, + this.dataplexConfig, this.description, this.encryptionSpec, this.name, @@ -40121,6 +40167,11 @@ class GoogleCloudAiplatformV1MetadataStore { createTime: json_.containsKey('createTime') ? json_['createTime'] as core.String : null, + dataplexConfig: json_.containsKey('dataplexConfig') + ? GoogleCloudAiplatformV1MetadataStoreDataplexConfig.fromJson( + json_['dataplexConfig'] + as core.Map) + : null, description: json_.containsKey('description') ? json_['description'] as core.String : null, @@ -40141,6 +40192,7 @@ class GoogleCloudAiplatformV1MetadataStore { core.Map toJson() => { if (createTime != null) 'createTime': createTime!, + if (dataplexConfig != null) 'dataplexConfig': dataplexConfig!, if (description != null) 'description': description!, if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!, if (name != null) 'name': name!, @@ -40149,6 +40201,31 @@ class GoogleCloudAiplatformV1MetadataStore { }; } +/// Represents Dataplex integration settings. +class GoogleCloudAiplatformV1MetadataStoreDataplexConfig { + /// Whether or not Data Lineage synchronization is enabled for Vertex + /// Pipelines. + /// + /// Optional. + core.bool? enabledPipelinesLineage; + + GoogleCloudAiplatformV1MetadataStoreDataplexConfig({ + this.enabledPipelinesLineage, + }); + + GoogleCloudAiplatformV1MetadataStoreDataplexConfig.fromJson(core.Map json_) + : this( + enabledPipelinesLineage: json_.containsKey('enabledPipelinesLineage') + ? json_['enabledPipelinesLineage'] as core.bool + : null, + ); + + core.Map toJson() => { + if (enabledPipelinesLineage != null) + 'enabledPipelinesLineage': enabledPipelinesLineage!, + }; +} + /// Represents state information for a MetadataStore. class GoogleCloudAiplatformV1MetadataStoreMetadataStoreState { /// The disk utilization of the MetadataStore in bytes. @@ -43323,43 +43400,7 @@ class GoogleCloudAiplatformV1ModelOriginalModelInfo { } /// Detail description of the source information of the model. -class GoogleCloudAiplatformV1ModelSourceInfo { - /// If this Model is copy of another Model. - /// - /// If true then source_type pertains to the original. - core.bool? copy; - - /// Type of the model source. - /// Possible string values are: - /// - "MODEL_SOURCE_TYPE_UNSPECIFIED" : Should not be used. - /// - "AUTOML" : The Model is uploaded by automl training pipeline. - /// - "CUSTOM" : The Model is uploaded by user or custom training pipeline. - /// - "BQML" : The Model is registered and sync'ed from BigQuery ML. - /// - "MODEL_GARDEN" : The Model is saved or tuned from Model Garden. - /// - "GENIE" : The Model is saved or tuned from Genie. - /// - "CUSTOM_TEXT_EMBEDDING" : The Model is uploaded by text embedding - /// finetuning pipeline. - /// - "MARKETPLACE" : The Model is saved or tuned from Marketplace. - core.String? sourceType; - - GoogleCloudAiplatformV1ModelSourceInfo({ - this.copy, - this.sourceType, - }); - - GoogleCloudAiplatformV1ModelSourceInfo.fromJson(core.Map json_) - : this( - copy: json_.containsKey('copy') ? json_['copy'] as core.bool : null, - sourceType: json_.containsKey('sourceType') - ? json_['sourceType'] as core.String - : null, - ); - - core.Map toJson() => { - if (copy != null) 'copy': copy!, - if (sourceType != null) 'sourceType': sourceType!, - }; -} +typedef GoogleCloudAiplatformV1ModelSourceInfo = $ModelSourceInfo; /// Request message for EndpointService.MutateDeployedModel. class GoogleCloudAiplatformV1MutateDeployedModelRequest { @@ -44528,66 +44569,6 @@ class GoogleCloudAiplatformV1NotebookIdleShutdownConfig { }; } -/// Notebook Reservation Affinity for consuming Zonal reservation. -class GoogleCloudAiplatformV1NotebookReservationAffinity { - /// Specifies the type of reservation from which this instance can consume - /// resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or - /// RESERVATION_NONE. - /// - /// See Consuming reserved instances for examples. - /// - /// Required. - /// Possible string values are: - /// - "RESERVATION_AFFINITY_TYPE_UNSPECIFIED" : Default type. - /// - "RESERVATION_NONE" : Do not consume from any allocated capacity. - /// - "RESERVATION_ANY" : Consume any reservation available. - /// - "RESERVATION_SPECIFIC" : Must consume from a specific reservation. Must - /// specify key value fields for specifying the reservations. - core.String? consumeReservationType; - - /// Corresponds to the label key of a reservation resource. - /// - /// To target a RESERVATION_SPECIFIC by name, use - /// compute.googleapis.com/reservation-name as the key and specify the name of - /// your reservation as its value. - /// - /// Optional. - core.String? key; - - /// Corresponds to the label values of a reservation resource. - /// - /// This must be the full path name of Reservation. - /// - /// Optional. - core.List? values; - - GoogleCloudAiplatformV1NotebookReservationAffinity({ - this.consumeReservationType, - this.key, - this.values, - }); - - GoogleCloudAiplatformV1NotebookReservationAffinity.fromJson(core.Map json_) - : this( - consumeReservationType: json_.containsKey('consumeReservationType') - ? json_['consumeReservationType'] as core.String - : null, - key: json_.containsKey('key') ? json_['key'] as core.String : null, - values: json_.containsKey('values') - ? (json_['values'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - ); - - core.Map toJson() => { - if (consumeReservationType != null) - 'consumeReservationType': consumeReservationType!, - if (key != null) 'key': key!, - if (values != null) 'values': values!, - }; -} - /// A runtime is a virtual machine allocated to a particular user for a /// particular Notebook file on temporary basis with lifetime limited to 24 /// hours. @@ -44629,6 +44610,11 @@ class GoogleCloudAiplatformV1NotebookRuntime { /// state. core.String? healthState; + /// The idle shutdown configuration of the notebook runtime. + /// + /// Output only. + GoogleCloudAiplatformV1NotebookIdleShutdownConfig? idleShutdownConfig; + /// Whether NotebookRuntime is upgradable. /// /// Output only. @@ -44684,11 +44670,6 @@ class GoogleCloudAiplatformV1NotebookRuntime { /// Output only. core.String? proxyUri; - /// Reservation Affinity of the notebook runtime. - /// - /// Output only. - GoogleCloudAiplatformV1NotebookReservationAffinity? reservationAffinity; - /// The runtime (instance) state of the NotebookRuntime. /// /// Output only. @@ -44740,6 +44721,7 @@ class GoogleCloudAiplatformV1NotebookRuntime { this.displayName, this.expirationTime, this.healthState, + this.idleShutdownConfig, this.isUpgradable, this.labels, this.name, @@ -44747,7 +44729,6 @@ class GoogleCloudAiplatformV1NotebookRuntime { this.notebookRuntimeTemplateRef, this.notebookRuntimeType, this.proxyUri, - this.reservationAffinity, this.runtimeState, this.runtimeUser, this.satisfiesPzi, @@ -44774,6 +44755,11 @@ class GoogleCloudAiplatformV1NotebookRuntime { healthState: json_.containsKey('healthState') ? json_['healthState'] as core.String : null, + idleShutdownConfig: json_.containsKey('idleShutdownConfig') + ? GoogleCloudAiplatformV1NotebookIdleShutdownConfig.fromJson( + json_['idleShutdownConfig'] + as core.Map) + : null, isUpgradable: json_.containsKey('isUpgradable') ? json_['isUpgradable'] as core.bool : null, @@ -44803,11 +44789,6 @@ class GoogleCloudAiplatformV1NotebookRuntime { proxyUri: json_.containsKey('proxyUri') ? json_['proxyUri'] as core.String : null, - reservationAffinity: json_.containsKey('reservationAffinity') - ? GoogleCloudAiplatformV1NotebookReservationAffinity.fromJson( - json_['reservationAffinity'] - as core.Map) - : null, runtimeState: json_.containsKey('runtimeState') ? json_['runtimeState'] as core.String : null, @@ -44837,6 +44818,8 @@ class GoogleCloudAiplatformV1NotebookRuntime { if (displayName != null) 'displayName': displayName!, if (expirationTime != null) 'expirationTime': expirationTime!, if (healthState != null) 'healthState': healthState!, + if (idleShutdownConfig != null) + 'idleShutdownConfig': idleShutdownConfig!, if (isUpgradable != null) 'isUpgradable': isUpgradable!, if (labels != null) 'labels': labels!, if (name != null) 'name': name!, @@ -44846,8 +44829,6 @@ class GoogleCloudAiplatformV1NotebookRuntime { if (notebookRuntimeType != null) 'notebookRuntimeType': notebookRuntimeType!, if (proxyUri != null) 'proxyUri': proxyUri!, - if (reservationAffinity != null) - 'reservationAffinity': reservationAffinity!, if (runtimeState != null) 'runtimeState': runtimeState!, if (runtimeUser != null) 'runtimeUser': runtimeUser!, if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!, @@ -44885,6 +44866,9 @@ class GoogleCloudAiplatformV1NotebookRuntimeTemplate { /// Required. core.String? displayName; + /// Customer-managed encryption key spec for the notebook runtime. + GoogleCloudAiplatformV1EncryptionSpec? encryptionSpec; + /// Used to perform consistent read-modify-write updates. /// /// If not set, a blind "overwrite" update happens. @@ -44942,11 +44926,6 @@ class GoogleCloudAiplatformV1NotebookRuntimeTemplate { /// - "ONE_CLICK" : runtime or template with system defined configurations. core.String? notebookRuntimeType; - /// Reservation Affinity of the notebook runtime template. - /// - /// Optional. - GoogleCloudAiplatformV1NotebookReservationAffinity? reservationAffinity; - /// The service account that the runtime workload runs as. /// /// You can use any service account within the same project, but you must have @@ -44971,6 +44950,7 @@ class GoogleCloudAiplatformV1NotebookRuntimeTemplate { this.dataPersistentDiskSpec, this.description, this.displayName, + this.encryptionSpec, this.etag, this.eucConfig, this.idleShutdownConfig, @@ -44981,7 +44961,6 @@ class GoogleCloudAiplatformV1NotebookRuntimeTemplate { this.networkSpec, this.networkTags, this.notebookRuntimeType, - this.reservationAffinity, this.serviceAccount, this.shieldedVmConfig, this.updateTime, @@ -45003,6 +44982,11 @@ class GoogleCloudAiplatformV1NotebookRuntimeTemplate { displayName: json_.containsKey('displayName') ? json_['displayName'] as core.String : null, + encryptionSpec: json_.containsKey('encryptionSpec') + ? GoogleCloudAiplatformV1EncryptionSpec.fromJson( + json_['encryptionSpec'] + as core.Map) + : null, etag: json_.containsKey('etag') ? json_['etag'] as core.String : null, eucConfig: json_.containsKey('eucConfig') ? GoogleCloudAiplatformV1NotebookEucConfig.fromJson( @@ -45041,11 +45025,6 @@ class GoogleCloudAiplatformV1NotebookRuntimeTemplate { notebookRuntimeType: json_.containsKey('notebookRuntimeType') ? json_['notebookRuntimeType'] as core.String : null, - reservationAffinity: json_.containsKey('reservationAffinity') - ? GoogleCloudAiplatformV1NotebookReservationAffinity.fromJson( - json_['reservationAffinity'] - as core.Map) - : null, serviceAccount: json_.containsKey('serviceAccount') ? json_['serviceAccount'] as core.String : null, @@ -45065,6 +45044,7 @@ class GoogleCloudAiplatformV1NotebookRuntimeTemplate { 'dataPersistentDiskSpec': dataPersistentDiskSpec!, if (description != null) 'description': description!, if (displayName != null) 'displayName': displayName!, + if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!, if (etag != null) 'etag': etag!, if (eucConfig != null) 'eucConfig': eucConfig!, if (idleShutdownConfig != null) @@ -45077,8 +45057,6 @@ class GoogleCloudAiplatformV1NotebookRuntimeTemplate { if (networkTags != null) 'networkTags': networkTags!, if (notebookRuntimeType != null) 'notebookRuntimeType': notebookRuntimeType!, - if (reservationAffinity != null) - 'reservationAffinity': reservationAffinity!, if (serviceAccount != null) 'serviceAccount': serviceAccount!, if (shieldedVmConfig != null) 'shieldedVmConfig': shieldedVmConfig!, if (updateTime != null) 'updateTime': updateTime!, @@ -46809,7 +46787,7 @@ class GoogleCloudAiplatformV1PrivateServiceConnectConfig { /// Probe describes a health check to be performed against a container to /// determine whether it is alive or ready to receive traffic. class GoogleCloudAiplatformV1Probe { - /// Exec specifies the action to take. + /// ExecAction probes the health of a container by executing a command. GoogleCloudAiplatformV1ProbeExecAction? exec; /// How often (in seconds) to perform the probe. @@ -47931,12 +47909,111 @@ class GoogleCloudAiplatformV1RawPredictRequest { }; } +/// Configuration for the Ray metrics. +class GoogleCloudAiplatformV1RayMetricSpec { + /// Flag to disable the Ray metrics collection. + /// + /// Optional. + core.bool? disabled; + + GoogleCloudAiplatformV1RayMetricSpec({ + this.disabled, + }); + + GoogleCloudAiplatformV1RayMetricSpec.fromJson(core.Map json_) + : this( + disabled: json_.containsKey('disabled') + ? json_['disabled'] as core.bool + : null, + ); + + core.Map toJson() => { + if (disabled != null) 'disabled': disabled!, + }; +} + /// Configuration information for the Ray cluster. /// /// For experimental launch, Ray cluster creation and Persistent cluster /// creation are 1:1 mapping: We will provision all the nodes within the /// Persistent cluster as Ray nodes. -typedef GoogleCloudAiplatformV1RaySpec = $Empty; +class GoogleCloudAiplatformV1RaySpec { + /// This will be used to indicate which resource pool will serve as the Ray + /// head node(the first node within that pool). + /// + /// Will use the machine from the first workerpool as the head node by default + /// if this field isn't set. + /// + /// Optional. + core.String? headNodeResourcePoolId; + + /// Default image for user to choose a preferred ML framework (for example, + /// TensorFlow or Pytorch) by choosing from + /// [Vertex prebuilt images](https://cloud.google.com/vertex-ai/docs/training/pre-built-containers). + /// + /// Either this or the resource_pool_images is required. Use this field if you + /// need all the resource pools to have the same Ray image. Otherwise, use the + /// {@code resource_pool_images} field. + /// + /// Optional. + core.String? imageUri; + + /// Ray metrics configurations. + /// + /// Optional. + GoogleCloudAiplatformV1RayMetricSpec? rayMetricSpec; + + /// Required if image_uri isn't set. + /// + /// A map of resource_pool_id to prebuild Ray image if user need to use + /// different images for different head/worker pools. This map needs to cover + /// all the resource pool ids. Example: { "ray_head_node_pool": "head image" + /// "ray_worker_node_pool1": "worker image" "ray_worker_node_pool2": "another + /// worker image" } + /// + /// Optional. + core.Map? resourcePoolImages; + + GoogleCloudAiplatformV1RaySpec({ + this.headNodeResourcePoolId, + this.imageUri, + this.rayMetricSpec, + this.resourcePoolImages, + }); + + GoogleCloudAiplatformV1RaySpec.fromJson(core.Map json_) + : this( + headNodeResourcePoolId: json_.containsKey('headNodeResourcePoolId') + ? json_['headNodeResourcePoolId'] as core.String + : null, + imageUri: json_.containsKey('imageUri') + ? json_['imageUri'] as core.String + : null, + rayMetricSpec: json_.containsKey('rayMetricSpec') + ? GoogleCloudAiplatformV1RayMetricSpec.fromJson( + json_['rayMetricSpec'] as core.Map) + : null, + resourcePoolImages: json_.containsKey('resourcePoolImages') + ? (json_['resourcePoolImages'] + as core.Map) + .map( + (key, value) => core.MapEntry( + key, + value as core.String, + ), + ) + : null, + ); + + core.Map toJson() => { + if (headNodeResourcePoolId != null) + 'headNodeResourcePoolId': headNodeResourcePoolId!, + if (imageUri != null) 'imageUri': imageUri!, + if (rayMetricSpec != null) 'rayMetricSpec': rayMetricSpec!, + if (resourcePoolImages != null) + 'resourcePoolImages': resourcePoolImages!, + }; +} /// Request message for FeaturestoreOnlineServingService.ReadFeatureValues. class GoogleCloudAiplatformV1ReadFeatureValuesRequest { @@ -48521,7 +48598,36 @@ class GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec { } /// Persistent Cluster runtime information as output -typedef GoogleCloudAiplatformV1ResourceRuntime = $Empty; +class GoogleCloudAiplatformV1ResourceRuntime { + /// URIs for user to connect to the Cluster. + /// + /// Example: { "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001" + /// "RAY_DASHBOARD_URI": "ray-dashboard-address:8888" } + /// + /// Output only. + core.Map? accessUris; + + GoogleCloudAiplatformV1ResourceRuntime({ + this.accessUris, + }); + + GoogleCloudAiplatformV1ResourceRuntime.fromJson(core.Map json_) + : this( + accessUris: json_.containsKey('accessUris') + ? (json_['accessUris'] as core.Map) + .map( + (key, value) => core.MapEntry( + key, + value as core.String, + ), + ) + : null, + ); + + core.Map toJson() => { + if (accessUris != null) 'accessUris': accessUris!, + }; +} /// Configuration for the runtime on a PersistentResource instance, including /// but not limited to: * Service accounts used to run the workloads. @@ -50562,6 +50668,59 @@ class GoogleCloudAiplatformV1StringArray { }; } +/// One field of a Struct (or object) type feature value. +class GoogleCloudAiplatformV1StructFieldValue { + /// Name of the field in the struct feature. + core.String? name; + + /// The value for this field. + GoogleCloudAiplatformV1FeatureValue? value; + + GoogleCloudAiplatformV1StructFieldValue({ + this.name, + this.value, + }); + + GoogleCloudAiplatformV1StructFieldValue.fromJson(core.Map json_) + : this( + name: json_.containsKey('name') ? json_['name'] as core.String : null, + value: json_.containsKey('value') + ? GoogleCloudAiplatformV1FeatureValue.fromJson( + json_['value'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + if (value != null) 'value': value!, + }; +} + +/// Struct (or object) type feature value. +class GoogleCloudAiplatformV1StructValue { + /// A list of field values. + core.List? values; + + GoogleCloudAiplatformV1StructValue({ + this.values, + }); + + GoogleCloudAiplatformV1StructValue.fromJson(core.Map json_) + : this( + values: json_.containsKey('values') + ? (json_['values'] as core.List) + .map((value) => + GoogleCloudAiplatformV1StructFieldValue.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (values != null) 'values': values!, + }; +} + /// A message representing a Study. class GoogleCloudAiplatformV1Study { /// Time at which the study was created. @@ -53175,6 +53334,13 @@ class GoogleCloudAiplatformV1Tool { /// Optional. core.List? functionDeclarations; + /// GoogleSearchRetrieval tool type. + /// + /// Specialized retrieval tool that is powered by Google search. + /// + /// Optional. + GoogleCloudAiplatformV1GoogleSearchRetrieval? googleSearchRetrieval; + /// Retrieval tool type. /// /// System will always execute the provided retrieval tool(s) to get external @@ -53186,6 +53352,7 @@ class GoogleCloudAiplatformV1Tool { GoogleCloudAiplatformV1Tool({ this.functionDeclarations, + this.googleSearchRetrieval, this.retrieval, }); @@ -53198,6 +53365,11 @@ class GoogleCloudAiplatformV1Tool { value as core.Map)) .toList() : null, + googleSearchRetrieval: json_.containsKey('googleSearchRetrieval') + ? GoogleCloudAiplatformV1GoogleSearchRetrieval.fromJson( + json_['googleSearchRetrieval'] + as core.Map) + : null, retrieval: json_.containsKey('retrieval') ? GoogleCloudAiplatformV1Retrieval.fromJson( json_['retrieval'] as core.Map) @@ -53207,6 +53379,8 @@ class GoogleCloudAiplatformV1Tool { core.Map toJson() => { if (functionDeclarations != null) 'functionDeclarations': functionDeclarations!, + if (googleSearchRetrieval != null) + 'googleSearchRetrieval': googleSearchRetrieval!, if (retrieval != null) 'retrieval': retrieval!, }; } diff --git a/generated/googleapis/lib/alloydb/v1.dart b/generated/googleapis/lib/alloydb/v1.dart index 15366f7db..cf27af119 100644 --- a/generated/googleapis/lib/alloydb/v1.dart +++ b/generated/googleapis/lib/alloydb/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/analytics/v3.dart b/generated/googleapis/lib/analytics/v3.dart index 49d7ec5e7..f6e060ed4 100644 --- a/generated/googleapis/lib/analytics/v3.dart +++ b/generated/googleapis/lib/analytics/v3.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/analyticshub/v1.dart b/generated/googleapis/lib/analyticshub/v1.dart index a2d90b631..b58f1825b 100644 --- a/generated/googleapis/lib/analyticshub/v1.dart +++ b/generated/googleapis/lib/analyticshub/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/analyticsreporting/v4.dart b/generated/googleapis/lib/analyticsreporting/v4.dart index 7fecac57a..75cd76d10 100644 --- a/generated/googleapis/lib/analyticsreporting/v4.dart +++ b/generated/googleapis/lib/analyticsreporting/v4.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/androiddeviceprovisioning/v1.dart b/generated/googleapis/lib/androiddeviceprovisioning/v1.dart index c200bae30..41c77a46f 100644 --- a/generated/googleapis/lib/androiddeviceprovisioning/v1.dart +++ b/generated/googleapis/lib/androiddeviceprovisioning/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/androidenterprise/v1.dart b/generated/googleapis/lib/androidenterprise/v1.dart index 42b6bd0bd..647626e20 100644 --- a/generated/googleapis/lib/androidenterprise/v1.dart +++ b/generated/googleapis/lib/androidenterprise/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/androidmanagement/v1.dart b/generated/googleapis/lib/androidmanagement/v1.dart index f96ce880a..920f0fc83 100644 --- a/generated/googleapis/lib/androidmanagement/v1.dart +++ b/generated/googleapis/lib/androidmanagement/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -1595,6 +1596,10 @@ class SignupUrlsResource { /// /// Request parameters: /// + /// [adminEmail] - Optional. Email address used to prefill the admin field of + /// the enterprise signup form. This value is a hint only and can be altered + /// by the user. + /// /// [callbackUrl] - The callback URL that the admin will be redirected to /// after successfully creating an enterprise. Before redirecting there the /// system will add a query parameter to this URL named enterpriseToken which @@ -1616,11 +1621,13 @@ class SignupUrlsResource { /// 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({ + core.String? adminEmail, core.String? callbackUrl, core.String? projectId, core.String? $fields, }) async { final queryParams_ = >{ + if (adminEmail != null) 'adminEmail': [adminEmail], if (callbackUrl != null) 'callbackUrl': [callbackUrl], if (projectId != null) 'projectId': [projectId], if ($fields != null) 'fields': [$fields], @@ -3589,6 +3596,13 @@ class Device { /// - "PREPARING_FOR_MIGRATION" : The device is preparing for migrating to /// Android Management API. No further action is needed for the migration to /// continue. + /// - "DEACTIVATED_BY_DEVICE_FINANCE" : This is a financed device that has + /// been "locked" by the financing agent. This means certain policy settings + /// have been applied which limit device functionality until the device has + /// been "unlocked" by the financing agent. The device will continue to apply + /// policy settings excluding those overridden by the financing agent. When + /// the device is "locked", the state is reported in appliedState as + /// DEACTIVATED_BY_DEVICE_FINANCE. core.String? appliedState; /// Information about Common Criteria Mode—security standards defined in the @@ -3752,6 +3766,13 @@ class Device { /// - "PREPARING_FOR_MIGRATION" : The device is preparing for migrating to /// Android Management API. No further action is needed for the migration to /// continue. + /// - "DEACTIVATED_BY_DEVICE_FINANCE" : This is a financed device that has + /// been "locked" by the financing agent. This means certain policy settings + /// have been applied which limit device functionality until the device has + /// been "unlocked" by the financing agent. The device will continue to apply + /// policy settings excluding those overridden by the financing agent. When + /// the device is "locked", the state is reported in appliedState as + /// DEACTIVATED_BY_DEVICE_FINANCE. core.String? state; /// Map of selected system properties name and value related to the device. @@ -8515,7 +8536,7 @@ class ProvisioningInfo { /// The name of the enterprise in the form enterprises/{enterprise}. core.String? enterprise; - /// IMEI number of the GSM device. + /// For corporate-owned devices, IMEI number of the GSM device. /// /// For example, A1000031212. core.String? imei; @@ -8529,7 +8550,7 @@ class ProvisioningInfo { /// a managed profile on the device. core.String? managementMode; - /// MEID number of the CDMA device. + /// For corporate-owned devices, MEID number of the CDMA device. /// /// For example, A00000292788E1. core.String? meid; @@ -8550,7 +8571,7 @@ class ProvisioningInfo { /// - "PERSONALLY_OWNED" : Device is personally-owned. core.String? ownership; - /// The device serial number. + /// For corporate-owned devices, The device serial number. core.String? serialNumber; ProvisioningInfo({ diff --git a/generated/googleapis/lib/androidpublisher/v3.dart b/generated/googleapis/lib/androidpublisher/v3.dart index e6b6d0f21..b31dcf9b3 100644 --- a/generated/googleapis/lib/androidpublisher/v3.dart +++ b/generated/googleapis/lib/androidpublisher/v3.dart @@ -3,6 +3,7 @@ // 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 @@ -7498,12 +7499,17 @@ class AutoRenewingPlan { /// canceled the subscription core.bool? autoRenewEnabled; + /// The installment plan commitment and state related info for the auto + /// renewing plan. + InstallmentPlan? installmentDetails; + /// The information of the last price change for the item since subscription /// signup. SubscriptionItemPriceChangeDetails? priceChangeDetails; AutoRenewingPlan({ this.autoRenewEnabled, + this.installmentDetails, this.priceChangeDetails, }); @@ -7512,6 +7518,10 @@ class AutoRenewingPlan { autoRenewEnabled: json_.containsKey('autoRenewEnabled') ? json_['autoRenewEnabled'] as core.bool : null, + installmentDetails: json_.containsKey('installmentDetails') + ? InstallmentPlan.fromJson(json_['installmentDetails'] + as core.Map) + : null, priceChangeDetails: json_.containsKey('priceChangeDetails') ? SubscriptionItemPriceChangeDetails.fromJson( json_['priceChangeDetails'] @@ -7521,6 +7531,8 @@ class AutoRenewingPlan { core.Map toJson() => { if (autoRenewEnabled != null) 'autoRenewEnabled': autoRenewEnabled!, + if (installmentDetails != null) + 'installmentDetails': installmentDetails!, if (priceChangeDetails != null) 'priceChangeDetails': priceChangeDetails!, }; @@ -7540,6 +7552,10 @@ class BasePlan { /// Required. Immutable. core.String? basePlanId; + /// Set for installments base plans where a user is committed to a specified + /// number of payments. + InstallmentsBasePlanType? installmentsBasePlanType; + /// List of up to 20 custom tags specified for this base plan, and returned to /// the app through the billing library. /// @@ -7580,6 +7596,7 @@ class BasePlan { BasePlan({ this.autoRenewingBasePlanType, this.basePlanId, + this.installmentsBasePlanType, this.offerTags, this.otherRegionsConfig, this.prepaidBasePlanType, @@ -7598,6 +7615,12 @@ class BasePlan { basePlanId: json_.containsKey('basePlanId') ? json_['basePlanId'] as core.String : null, + installmentsBasePlanType: + json_.containsKey('installmentsBasePlanType') + ? InstallmentsBasePlanType.fromJson( + json_['installmentsBasePlanType'] + as core.Map) + : null, offerTags: json_.containsKey('offerTags') ? (json_['offerTags'] as core.List) .map((value) => OfferTag.fromJson( @@ -7626,6 +7649,8 @@ class BasePlan { if (autoRenewingBasePlanType != null) 'autoRenewingBasePlanType': autoRenewingBasePlanType!, if (basePlanId != null) 'basePlanId': basePlanId!, + if (installmentsBasePlanType != null) + 'installmentsBasePlanType': installmentsBasePlanType!, if (offerTags != null) 'offerTags': offerTags!, if (otherRegionsConfig != null) 'otherRegionsConfig': otherRegionsConfig!, @@ -10709,6 +10734,186 @@ class InappproductsUpdateRequest { }; } +/// Information to a installment plan. +class InstallmentPlan { + /// Total number of payments the user is initially committed for. + core.int? initialCommittedPaymentsCount; + + /// If present, this installment plan is pending to be canceled. + /// + /// The cancellation will happen only after the user finished all committed + /// payments. + PendingCancellation? pendingCancellation; + + /// Total number of committed payments remaining to be paid for in this + /// renewal cycle. + core.int? remainingCommittedPaymentsCount; + + /// Total number of payments the user will be committed for after each + /// commitment period. + /// + /// Empty means the installment plan will fall back to a normal auto-renew + /// subscription after initial commitment. + core.int? subsequentCommittedPaymentsCount; + + InstallmentPlan({ + this.initialCommittedPaymentsCount, + this.pendingCancellation, + this.remainingCommittedPaymentsCount, + this.subsequentCommittedPaymentsCount, + }); + + InstallmentPlan.fromJson(core.Map json_) + : this( + initialCommittedPaymentsCount: + json_.containsKey('initialCommittedPaymentsCount') + ? json_['initialCommittedPaymentsCount'] as core.int + : null, + pendingCancellation: json_.containsKey('pendingCancellation') + ? PendingCancellation.fromJson(json_['pendingCancellation'] + as core.Map) + : null, + remainingCommittedPaymentsCount: + json_.containsKey('remainingCommittedPaymentsCount') + ? json_['remainingCommittedPaymentsCount'] as core.int + : null, + subsequentCommittedPaymentsCount: + json_.containsKey('subsequentCommittedPaymentsCount') + ? json_['subsequentCommittedPaymentsCount'] as core.int + : null, + ); + + core.Map toJson() => { + if (initialCommittedPaymentsCount != null) + 'initialCommittedPaymentsCount': initialCommittedPaymentsCount!, + if (pendingCancellation != null) + 'pendingCancellation': pendingCancellation!, + if (remainingCommittedPaymentsCount != null) + 'remainingCommittedPaymentsCount': remainingCommittedPaymentsCount!, + if (subsequentCommittedPaymentsCount != null) + 'subsequentCommittedPaymentsCount': subsequentCommittedPaymentsCount!, + }; +} + +/// Represents an installments base plan where a user commits to a specified +/// number of payments. +class InstallmentsBasePlanType { + /// Account hold period of the subscription, specified exclusively in days and + /// in ISO 8601 format. + /// + /// Acceptable values are P0D (zero days) to P30D (30days). If not specified, + /// the default value is P30D (30 days). + /// + /// Optional. + core.String? accountHoldDuration; + + /// Subscription period, specified in ISO 8601 format. + /// + /// For a list of acceptable billing periods, refer to the help center. + /// + /// Required. + core.String? billingPeriodDuration; + + /// The number of payments the user is committed to. + /// + /// Required. + core.int? committedPaymentsCount; + + /// Grace period of the subscription, specified in ISO 8601 format. + /// + /// Acceptable values are P0D (zero days), P3D (3 days), P7D (7 days), P14D + /// (14 days), and P30D (30 days). If not specified, a default value will be + /// used based on the recurring period duration. + core.String? gracePeriodDuration; + + /// The proration mode for the base plan determines what happens when a user + /// switches to this plan from another base plan. + /// + /// If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE. + /// Possible string values are: + /// - "SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED" : Unspecified mode. + /// - "SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE" : Users will + /// be charged for their new base plan at the end of their current billing + /// period. + /// - "SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY" : Users will + /// be charged for their new base plan immediately and in full. Any remaining + /// period of their existing subscription will be used to extend the duration + /// of the new billing plan. + core.String? prorationMode; + + /// Installments base plan renewal type. + /// + /// Determines the behavior at the end of the initial commitment. + /// + /// Required. + /// Possible string values are: + /// - "RENEWAL_TYPE_UNSPECIFIED" : Unspecified state. + /// - "RENEWAL_TYPE_RENEWS_WITHOUT_COMMITMENT" : Renews periodically for the + /// billing period duration without commitment. + /// - "RENEWAL_TYPE_RENEWS_WITH_COMMITMENT" : Renews with the commitment of + /// the same duration as the initial one. + core.String? renewalType; + + /// Whether users should be able to resubscribe to this base plan in Google + /// Play surfaces. + /// + /// Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified. + /// Possible string values are: + /// - "RESUBSCRIBE_STATE_UNSPECIFIED" : Unspecified state. + /// - "RESUBSCRIBE_STATE_ACTIVE" : Resubscribe is active. + /// - "RESUBSCRIBE_STATE_INACTIVE" : Resubscribe is inactive. + core.String? resubscribeState; + + InstallmentsBasePlanType({ + this.accountHoldDuration, + this.billingPeriodDuration, + this.committedPaymentsCount, + this.gracePeriodDuration, + this.prorationMode, + this.renewalType, + this.resubscribeState, + }); + + InstallmentsBasePlanType.fromJson(core.Map json_) + : this( + accountHoldDuration: json_.containsKey('accountHoldDuration') + ? json_['accountHoldDuration'] as core.String + : null, + billingPeriodDuration: json_.containsKey('billingPeriodDuration') + ? json_['billingPeriodDuration'] as core.String + : null, + committedPaymentsCount: json_.containsKey('committedPaymentsCount') + ? json_['committedPaymentsCount'] as core.int + : null, + gracePeriodDuration: json_.containsKey('gracePeriodDuration') + ? json_['gracePeriodDuration'] as core.String + : null, + prorationMode: json_.containsKey('prorationMode') + ? json_['prorationMode'] as core.String + : null, + renewalType: json_.containsKey('renewalType') + ? json_['renewalType'] as core.String + : null, + resubscribeState: json_.containsKey('resubscribeState') + ? json_['resubscribeState'] as core.String + : null, + ); + + core.Map toJson() => { + if (accountHoldDuration != null) + 'accountHoldDuration': accountHoldDuration!, + if (billingPeriodDuration != null) + 'billingPeriodDuration': billingPeriodDuration!, + if (committedPaymentsCount != null) + 'committedPaymentsCount': committedPaymentsCount!, + if (gracePeriodDuration != null) + 'gracePeriodDuration': gracePeriodDuration!, + if (prorationMode != null) 'prorationMode': prorationMode!, + if (renewalType != null) 'renewalType': renewalType!, + if (resubscribeState != null) 'resubscribeState': resubscribeState!, + }; +} + /// An artifact resource which gets created when uploading an APK or Android App /// Bundle through internal app sharing. class InternalAppSharingArtifact { @@ -11813,6 +12018,13 @@ class PausedStateContext { }; } +/// This is an indicator of whether there is a pending cancellation on the +/// virtual installment plan. +/// +/// The cancellation will happen only after the user finished all committed +/// payments. +typedef PendingCancellation = $Empty; + /// Represents a base plan that does not automatically renew at the end of the /// base plan, and must be manually renewed by the user. class PrepaidBasePlanType { @@ -12676,6 +12888,35 @@ class RemoteInAppUpdateDataPerBundle { /// Information specific to cancellations caused by subscription replacement. typedef ReplacementCancellation = $Empty; +/// Countries where the purchase of this product is restricted to payment +/// methods registered in the same country. +/// +/// If empty, no payment location restrictions are imposed. +class RestrictedPaymentCountries { + /// Region codes to impose payment restrictions on, as defined by ISO 3166-2, + /// e.g. "US". + /// + /// Required. + core.List? regionCodes; + + RestrictedPaymentCountries({ + this.regionCodes, + }); + + RestrictedPaymentCountries.fromJson(core.Map json_) + : this( + regionCodes: json_.containsKey('regionCodes') + ? (json_['regionCodes'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (regionCodes != null) 'regionCodes': regionCodes!, + }; +} + /// An Android app review. class Review { /// The name of the user who wrote the review. @@ -13244,6 +13485,14 @@ class Subscription { /// Immutable. core.String? productId; + /// Countries where the purchase of this subscription is restricted to payment + /// methods registered in the same country. + /// + /// If empty, no payment location restrictions are imposed. + /// + /// Optional. + RestrictedPaymentCountries? restrictedPaymentCountries; + /// Details about taxes and legal compliance. SubscriptionTaxAndComplianceSettings? taxAndComplianceSettings; @@ -13253,6 +13502,7 @@ class Subscription { this.listings, this.packageName, this.productId, + this.restrictedPaymentCountries, this.taxAndComplianceSettings, }); @@ -13279,6 +13529,12 @@ class Subscription { productId: json_.containsKey('productId') ? json_['productId'] as core.String : null, + restrictedPaymentCountries: + json_.containsKey('restrictedPaymentCountries') + ? RestrictedPaymentCountries.fromJson( + json_['restrictedPaymentCountries'] + as core.Map) + : null, taxAndComplianceSettings: json_.containsKey('taxAndComplianceSettings') ? SubscriptionTaxAndComplianceSettings.fromJson( @@ -13293,6 +13549,8 @@ class Subscription { if (listings != null) 'listings': listings!, if (packageName != null) 'packageName': packageName!, if (productId != null) 'productId': productId!, + if (restrictedPaymentCountries != null) + 'restrictedPaymentCountries': restrictedPaymentCountries!, if (taxAndComplianceSettings != null) 'taxAndComplianceSettings': taxAndComplianceSettings!, }; @@ -14289,6 +14547,10 @@ class SubscriptionPurchaseV2 { /// plan. All items have auto_renew_enabled set to false. /// - "SUBSCRIPTION_STATE_EXPIRED" : Subscription is expired. All items have /// expiry_time in the past. + /// - "SUBSCRIPTION_STATE_PENDING_PURCHASE_CANCELED" : Pending transaction for + /// subscription is canceled. If this pending purchase was for an existing + /// subscription, use linked_purchase_token to get the current state of that + /// subscription. core.String? subscriptionState; /// Only present if this subscription purchase is a test purchase. diff --git a/generated/googleapis/lib/apigateway/v1.dart b/generated/googleapis/lib/apigateway/v1.dart index c78d2b243..8e78831ee 100644 --- a/generated/googleapis/lib/apigateway/v1.dart +++ b/generated/googleapis/lib/apigateway/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/apigee/v1.dart b/generated/googleapis/lib/apigee/v1.dart index f0f191e7b..2d13b1868 100644 --- a/generated/googleapis/lib/apigee/v1.dart +++ b/generated/googleapis/lib/apigee/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/apigeeregistry/v1.dart b/generated/googleapis/lib/apigeeregistry/v1.dart index f37757570..139f3bf2e 100644 --- a/generated/googleapis/lib/apigeeregistry/v1.dart +++ b/generated/googleapis/lib/apigeeregistry/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/apikeys/v2.dart b/generated/googleapis/lib/apikeys/v2.dart index d09479e1e..42f05d789 100644 --- a/generated/googleapis/lib/apikeys/v2.dart +++ b/generated/googleapis/lib/apikeys/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/appengine/v1.dart b/generated/googleapis/lib/appengine/v1.dart index 11a351cfd..a5c826d11 100644 --- a/generated/googleapis/lib/appengine/v1.dart +++ b/generated/googleapis/lib/appengine/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/apphub/v1.dart b/generated/googleapis/lib/apphub/v1.dart index 62a6af3b9..d64fb10ac 100644 --- a/generated/googleapis/lib/apphub/v1.dart +++ b/generated/googleapis/lib/apphub/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/artifactregistry/v1.dart b/generated/googleapis/lib/artifactregistry/v1.dart index 4334fda09..3d3871cf2 100644 --- a/generated/googleapis/lib/artifactregistry/v1.dart +++ b/generated/googleapis/lib/artifactregistry/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -972,7 +973,8 @@ class ProjectsLocationsRepositoriesDockerImagesResource { /// /// [orderBy] - The field to order the results by. /// - /// [pageSize] - The maximum number of artifacts to return. + /// [pageSize] - The maximum number of artifacts to return. Maximum page size + /// is 1,000. /// /// [pageToken] - The next_page_token value returned from a previous list /// request, if any. @@ -1019,6 +1021,45 @@ class ProjectsLocationsRepositoriesFilesResource { ProjectsLocationsRepositoriesFilesResource(commons.ApiRequester client) : _requester = client; + /// Deletes a file and all of its content. + /// + /// It is only allowed on generic repositories. The returned operation will + /// complete once the file has been deleted. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the file to delete. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/repositories/\[^/\]+/files/\[^/\]+$`. + /// + /// [$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 delete( + 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_, + 'DELETE', + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map); + } + /// Download a file. /// /// Request parameters: @@ -1126,7 +1167,8 @@ class ProjectsLocationsRepositoriesFilesResource { /// /// [orderBy] - The field to order the results by. /// - /// [pageSize] - The maximum number of files to return. + /// [pageSize] - The maximum number of files to return. Maximum page size is + /// 1,000. /// /// [pageToken] - The next_page_token value returned from a previous list /// request, if any. @@ -1178,10 +1220,10 @@ class ProjectsLocationsRepositoriesGenericArtifactsResource { /// Directly uploads a Generic artifact. /// - /// The returned Operation will complete once the resources are uploaded. - /// Package, Version, and File resources are created based on the uploaded + /// The returned operation will complete once the resources are uploaded. + /// Package, version, and file resources are created based on the uploaded /// artifact. Uploaded artifacts that conflict with existing resources will - /// raise an ALREADY_EXISTS error. + /// raise an `ALREADY_EXISTS` error. /// /// [request] - The metadata request object. /// @@ -1548,7 +1590,8 @@ class ProjectsLocationsRepositoriesMavenArtifactsResource { /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/repositories/\[^/\]+$`. /// - /// [pageSize] - The maximum number of artifacts to return. + /// [pageSize] - The maximum number of artifacts to return. Maximum page size + /// is 1,000. /// /// [pageToken] - The next_page_token value returned from a previous list /// request, if any. @@ -1639,7 +1682,8 @@ class ProjectsLocationsRepositoriesNpmPackagesResource { /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/repositories/\[^/\]+$`. /// - /// [pageSize] - The maximum number of artifacts to return. + /// [pageSize] - The maximum number of artifacts to return. Maximum page size + /// is 1,000. /// /// [pageToken] - The next_page_token value returned from a previous list /// request, if any. @@ -2001,7 +2045,7 @@ class ProjectsLocationsRepositoriesPackagesTagsResource { /// --\> Tags that are applied to the version `1.0` in package `pkg1`. /// /// [pageSize] - The maximum number of tags to return. Maximum page size is - /// 10,000. + /// 1,000. /// /// [pageToken] - The next_page_token value returned from a previous list /// request, if any. @@ -2348,7 +2392,8 @@ class ProjectsLocationsRepositoriesPythonPackagesResource { /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/repositories/\[^/\]+$`. /// - /// [pageSize] - The maximum number of artifacts to return. + /// [pageSize] - The maximum number of artifacts to return. Maximum page size + /// is 1,000. /// /// [pageToken] - The next_page_token value returned from a previous list /// request, if any. @@ -4601,10 +4646,8 @@ class Repository { /// The user-provided description of the repository. core.String? description; - /// If this is true, aunspecified repo type will be treated as error. - /// - /// Is used for new repo types that don't have any specific fields. Right now - /// is used by AOSS team when creating repos for customers. + /// If this is true, an unspecified repo type will be treated as error rather + /// than defaulting to standard. /// /// Optional. core.bool? disallowUnspecifiedMode; @@ -4662,6 +4705,7 @@ class Repository { /// remote source. /// - "AOSS_REPOSITORY" : An AOSS repository provides artifacts from AOSS /// upstreams. + /// - "ASSURED_OSS_REPOSITORY" : Replacement of AOSS_REPOSITORY. core.String? mode; /// The name of the repository, for example: @@ -4950,43 +4994,29 @@ class UploadGenericArtifactMediaResponse { class UploadGenericArtifactRequest { /// The name of the file of the generic artifact to be uploaded. /// - /// E.g. "example-file.zip" The filename should only include letters, numbers, - /// and url safe characters, i.e. \[a-zA-Z0-9-_.~@\]. + /// E.g. `example-file.zip` The filename is limited to letters, numbers, and + /// url safe characters, i.e. \[a-zA-Z0-9-_.~@\]. core.String? filename; - /// Use package_id, version_id and filename instead. - /// - /// The resource name of the generic artifact. E.g. - /// "projects/math/locations/us/repositories/operations/genericArtifacts/addition/1.0.0/add.py" - /// - /// Deprecated. - @core.Deprecated( - 'Not supported. Member documentation may have more information.', - ) - core.String? name; - /// The ID of the package of the generic artifact. /// - /// If the package does not exist, a new package will be created. E.g. "pkg-1" - /// The package_id must start with a letter, end with a letter or number, only + /// If the package does not exist, a new package will be created. The + /// `package_id` must start with a letter, end with a letter or number, only /// contain letters, numbers, hyphens and periods i.e. \[a-z0-9-.\], and /// cannot exceed 256 characters. core.String? packageId; /// The ID of the version of the generic artifact. /// - /// If the version does not exist, a new version will be created. E.g."1.0.0" - /// The version_id must start and end with a letter or number, can only - /// contain lowercase letters, numbers, hyphens and periods, i.e. \[a-z0-9-.\] - /// and cannot exceed a total of 128 characters. While "latest" is a - /// well-known name for the latest version of a package, it is not yet - /// supported and is reserved for future use. Creating a version called - /// "latest" is not allowed. + /// If the version does not exist, a new version will be created. The + /// version_id must start and end with a letter or number, can only contain + /// lowercase letters, numbers, hyphens and periods, i.e. \[a-z0-9-.\] and + /// cannot exceed a total of 128 characters. Creating a version called + /// `latest` is not allowed. core.String? versionId; UploadGenericArtifactRequest({ this.filename, - this.name, this.packageId, this.versionId, }); @@ -4996,7 +5026,6 @@ class UploadGenericArtifactRequest { filename: json_.containsKey('filename') ? json_['filename'] as core.String : null, - name: json_.containsKey('name') ? json_['name'] as core.String : null, packageId: json_.containsKey('packageId') ? json_['packageId'] as core.String : null, @@ -5007,7 +5036,6 @@ class UploadGenericArtifactRequest { core.Map toJson() => { if (filename != null) 'filename': filename!, - if (name != null) 'name': name!, if (packageId != null) 'packageId': packageId!, if (versionId != null) 'versionId': versionId!, }; @@ -5359,7 +5387,7 @@ class Version { }; } -/// LINT.IfChange Virtual repository configuration. +/// Virtual repository configuration. class VirtualRepositoryConfig { /// Policies that configure the upstream artifacts distributed by the Virtual /// Repository. diff --git a/generated/googleapis/lib/assuredworkloads/v1.dart b/generated/googleapis/lib/assuredworkloads/v1.dart index 9521d2de4..f0422c73c 100644 --- a/generated/googleapis/lib/assuredworkloads/v1.dart +++ b/generated/googleapis/lib/assuredworkloads/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -1656,22 +1657,32 @@ class GoogleCloudAssuredworkloadsV1Workload { /// - "FEDRAMP_MODERATE" : FedRAMP Moderate data protection controls /// - "US_REGIONAL_ACCESS" : Assured Workloads For US Regions data protection /// controls + /// - "REGIONAL_CONTROLS_PREMIUM_US" : Assured Workloads For US Regions data + /// protection controls /// - "HIPAA" : Health Insurance Portability and Accountability Act controls /// - "HITRUST" : Health Information Trust Alliance controls /// - "EU_REGIONS_AND_SUPPORT" : Assured Workloads For EU Regions and Support /// controls + /// - "REGIONAL_CONTROLS_PREMIUM_EU" : Assured Workloads For EU Regions and + /// Support controls /// - "CA_REGIONS_AND_SUPPORT" : Assured Workloads For Canada Regions and /// Support controls + /// - "REGIONAL_CONTROLS_PREMIUM_CA" : Assured Workloads For Canada Regions + /// and Support controls /// - "ITAR" : International Traffic in Arms Regulations /// - "AU_REGIONS_AND_US_SUPPORT" : Assured Workloads for Australia Regions /// and Support controls + /// - "REGIONAL_CONTROLS_PREMIUM_AU" : Assured Workloads for Australia Regions + /// and Support controls /// - "ASSURED_WORKLOADS_FOR_PARTNERS" : Assured Workloads for Partners; - /// - "ISR_REGIONS" : Assured Workloads for Israel + /// - "ISR_REGIONS" : Assured Workloads for Israel Regions + /// - "REGIONAL_CONTROLS_PREMIUM_ISR" : Assured Workloads for Israel /// - "ISR_REGIONS_AND_SUPPORT" : Assured Workloads for Israel Regions /// - "CA_PROTECTED_B" : Assured Workloads for Canada Protected B regime /// - "IL5" : Information protection as per DoD IL5 requirements. /// - "IL2" : Information protection as per DoD IL2 requirements. /// - "JP_REGIONS_AND_SUPPORT" : Assured Workloads for Japan Regions + /// - "REGIONAL_CONTROLS_PREMIUM_JP" : Assured Workloads for Japan Regions /// - "KSA_REGIONS_AND_SUPPORT_WITH_SOVEREIGNTY_CONTROLS" : KSA R5 Controls. /// - "REGIONAL_CONTROLS" : Assured Workloads for Regional Controls/Free /// Regions diff --git a/generated/googleapis/lib/authorizedbuyersmarketplace/v1.dart b/generated/googleapis/lib/authorizedbuyersmarketplace/v1.dart index a79a1a24f..56150e8ca 100644 --- a/generated/googleapis/lib/authorizedbuyersmarketplace/v1.dart +++ b/generated/googleapis/lib/authorizedbuyersmarketplace/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/backupdr/v1.dart b/generated/googleapis/lib/backupdr/v1.dart index 74c0a5bd4..6c02fd913 100644 --- a/generated/googleapis/lib/backupdr/v1.dart +++ b/generated/googleapis/lib/backupdr/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -19,7 +20,6 @@ /// /// - [ProjectsResource] /// - [ProjectsLocationsResource] -/// - [ProjectsLocationsBackupVaultsResource] /// - [ProjectsLocationsManagementServersResource] /// - [ProjectsLocationsOperationsResource] library; @@ -66,8 +66,6 @@ class ProjectsResource { class ProjectsLocationsResource { final commons.ApiRequester _requester; - ProjectsLocationsBackupVaultsResource get backupVaults => - ProjectsLocationsBackupVaultsResource(_requester); ProjectsLocationsManagementServersResource get managementServers => ProjectsLocationsManagementServersResource(_requester); ProjectsLocationsOperationsResource get operations => @@ -163,64 +161,6 @@ class ProjectsLocationsResource { } } -class ProjectsLocationsBackupVaultsResource { - final commons.ApiRequester _requester; - - ProjectsLocationsBackupVaultsResource(commons.ApiRequester client) - : _requester = client; - - /// Returns permissions that a caller has on the specified resource. - /// - /// If the resource does not exist, this will return an empty set of - /// permissions, not a `NOT_FOUND` error. Note: This operation is designed to - /// be used for building permission-aware UIs and command-line tools, not for - /// authorization checking. This operation may "fail open" without warning. - /// - /// [request] - The metadata request object. - /// - /// Request parameters: - /// - /// [resource] - REQUIRED: The resource for which the policy detail is being - /// requested. See - /// [Resource names](https://cloud.google.com/apis/design/resource_names) for - /// the appropriate value for this field. - /// Value must have pattern - /// `^projects/\[^/\]+/locations/\[^/\]+/backupVaults/\[^/\]+$`. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [TestIamPermissionsResponse]. - /// - /// 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 testIamPermissions( - TestIamPermissionsRequest request, - core.String resource, { - core.String? $fields, - }) async { - final body_ = convert.json.encode(request); - final queryParams_ = >{ - if ($fields != null) 'fields': [$fields], - }; - - final url_ = - 'v1/' + core.Uri.encodeFull('$resource') + ':testIamPermissions'; - - final response_ = await _requester.request( - url_, - 'POST', - body: body_, - queryParams: queryParams_, - ); - return TestIamPermissionsResponse.fromJson( - response_ as core.Map); - } -} - class ProjectsLocationsManagementServersResource { final commons.ApiRequester _requester; diff --git a/generated/googleapis/lib/baremetalsolution/v2.dart b/generated/googleapis/lib/baremetalsolution/v2.dart index 8e588b7e0..ad5daed77 100644 --- a/generated/googleapis/lib/baremetalsolution/v2.dart +++ b/generated/googleapis/lib/baremetalsolution/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/batch/v1.dart b/generated/googleapis/lib/batch/v1.dart index 705e63389..5b074dbc0 100644 --- a/generated/googleapis/lib/batch/v1.dart +++ b/generated/googleapis/lib/batch/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -1025,6 +1026,11 @@ class AgentMetadata { /// If the GCP instance has received preemption notice. core.bool? instancePreemptionNoticeReceived; + /// machine type of the VM + /// + /// Optional. + core.String? machineType; + /// parsed contents of /etc/os-release core.Map? osRelease; @@ -1041,6 +1047,7 @@ class AgentMetadata { this.instance, this.instanceId, this.instancePreemptionNoticeReceived, + this.machineType, this.osRelease, this.version, this.zone, @@ -1067,6 +1074,9 @@ class AgentMetadata { json_.containsKey('instancePreemptionNoticeReceived') ? json_['instancePreemptionNoticeReceived'] as core.bool : null, + machineType: json_.containsKey('machineType') + ? json_['machineType'] as core.String + : null, osRelease: json_.containsKey('osRelease') ? (json_['osRelease'] as core.Map).map( (key, value) => core.MapEntry( @@ -1089,6 +1099,7 @@ class AgentMetadata { if (instanceId != null) 'instanceId': instanceId!, if (instancePreemptionNoticeReceived != null) 'instancePreemptionNoticeReceived': instancePreemptionNoticeReceived!, + if (machineType != null) 'machineType': machineType!, if (osRelease != null) 'osRelease': osRelease!, if (version != null) 'version': version!, if (zone != null) 'zone': zone!, @@ -1324,11 +1335,16 @@ class AgentTaskSpec { /// Environment variables to set before running the Task. AgentEnvironment? environment; - /// Maximum duration the task should run. + /// Maximum duration the task should run before being automatically retried + /// (if enabled) or automatically failed. /// - /// The task will be killed and marked as FAILED if over this limit. The valid - /// value range for max_run_duration in seconds is \[0, - /// 315576000000.999999999\], + /// Format the value of this field as a time limit in seconds followed by + /// `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 + /// and the maximum listed for the `Duration` field type at + /// https://protobuf.dev/reference/protobuf/google.protobuf/#duration; + /// however, the actual maximum run time for a job will be limited to the + /// maximum run time for a job listed at + /// https://cloud.google.com/batch/quotas#max-job-duration. core.String? maxRunDuration; /// AgentTaskRunnable is runanbles that will be executed on the agent. @@ -2140,9 +2156,9 @@ class InstancePolicy { /// If undefined, Batch picks the type of VM to use and doesn't include optional /// VM resources such as GPUs and extra disks. class InstancePolicyOrTemplate { - /// Set this field true if users want Batch to help fetch drivers from a third - /// party location and install them for GPUs specified in policy.accelerators - /// or instance_template on their behalf. + /// Set this field true if you want Batch to help fetch drivers from a third + /// party location and install them for GPUs specified in + /// `policy.accelerators` or `instance_template` on your behalf. /// /// Default is false. For Container-Optimized Image cases, Batch will install /// the accelerator driver following milestones of @@ -3416,12 +3432,11 @@ class TaskExecution { /// /// If the task succeeded, the exit code will be 0. If the task failed but not /// due to the following reasons, the exit code will be 50000. Otherwise, it - /// can be from different sources: - Batch known failures as - /// https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. - - /// Batch runnable execution failures: You can rely on Batch logs for further + /// can be from different sources: * Batch known failures: + /// https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. * + /// Batch runnable execution failures; you can rely on Batch logs to further /// diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs. If - /// there are multiple runnables failures, Batch only exposes the first error - /// caught for now. + /// there are multiple runnables failures, Batch only exposes the first error. core.int? exitCode; TaskExecution({ @@ -3648,11 +3663,16 @@ class TaskSpec { /// 10\]. core.int? maxRetryCount; - /// Maximum duration the task should run. + /// Maximum duration the task should run before being automatically retried + /// (if enabled) or automatically failed. /// - /// The task will be killed and marked as FAILED if over this limit. The valid - /// value range for max_run_duration in seconds is \[0, - /// 315576000000.999999999\], + /// Format the value of this field as a time limit in seconds followed by + /// `s`—for example, `3600s` for 1 hour. The field accepts any value between 0 + /// and the maximum listed for the `Duration` field type at + /// https://protobuf.dev/reference/protobuf/google.protobuf/#duration; + /// however, the actual maximum run time for a job will be limited to the + /// maximum run time for a job listed at + /// https://cloud.google.com/batch/quotas#max-job-duration. core.String? maxRunDuration; /// The sequence of scripts or containers to run for this Task. diff --git a/generated/googleapis/lib/beyondcorp/v1.dart b/generated/googleapis/lib/beyondcorp/v1.dart index dc5f30bae..62995ba16 100644 --- a/generated/googleapis/lib/beyondcorp/v1.dart +++ b/generated/googleapis/lib/beyondcorp/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/biglake/v1.dart b/generated/googleapis/lib/biglake/v1.dart index 18f2667f3..3719e80ab 100644 --- a/generated/googleapis/lib/biglake/v1.dart +++ b/generated/googleapis/lib/biglake/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/bigquery/v2.dart b/generated/googleapis/lib/bigquery/v2.dart index d6a76472b..270522fee 100644 --- a/generated/googleapis/lib/bigquery/v2.dart +++ b/generated/googleapis/lib/bigquery/v2.dart @@ -3,6 +3,7 @@ // 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 @@ -17429,10 +17430,7 @@ class TableReplicationInfo { /// Specifies the interval at which the source table is polled for updates. /// - /// It's Optional. If not specified, default replication interval would be - /// applied. - /// - /// Optional. + /// Required. core.String? replicationIntervalMs; /// Replication status of configured replication. diff --git a/generated/googleapis/lib/bigqueryconnection/v1.dart b/generated/googleapis/lib/bigqueryconnection/v1.dart index 27298a9d9..536455eb5 100644 --- a/generated/googleapis/lib/bigqueryconnection/v1.dart +++ b/generated/googleapis/lib/bigqueryconnection/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/bigquerydatapolicy/v1.dart b/generated/googleapis/lib/bigquerydatapolicy/v1.dart index f3ec0fdd5..00feb1baa 100644 --- a/generated/googleapis/lib/bigquerydatapolicy/v1.dart +++ b/generated/googleapis/lib/bigquerydatapolicy/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/bigquerydatatransfer/v1.dart b/generated/googleapis/lib/bigquerydatatransfer/v1.dart index a0bbf2e34..035ef0462 100644 --- a/generated/googleapis/lib/bigquerydatatransfer/v1.dart +++ b/generated/googleapis/lib/bigquerydatatransfer/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -635,7 +636,7 @@ class ProjectsLocationsTransferConfigsResource { /// `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are /// needed, as indicated by `CheckValidCreds`. In order to obtain /// authorization_code, make a request to the following URL: - /// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes + /// https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes /// * The client_id is the OAuth client_id of the a data source as returned by /// ListDataSources method. * data_source_scopes are the scopes returned by /// ListDataSources method. Note that this should not be set when @@ -653,7 +654,7 @@ class ProjectsLocationsTransferConfigsResource { /// `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials /// are needed, as indicated by `CheckValidCreds`. In order to obtain version /// info, make a request to the following URL: - /// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes + /// https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes /// * The client_id is the OAuth client_id of the a data source as returned by /// ListDataSources method. * data_source_scopes are the scopes returned by /// ListDataSources method. Note that this should not be set when @@ -854,7 +855,7 @@ class ProjectsLocationsTransferConfigsResource { /// `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are /// needed, as indicated by `CheckValidCreds`. In order to obtain /// authorization_code, make a request to the following URL: - /// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes + /// https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes /// * The client_id is the OAuth client_id of the a data source as returned by /// ListDataSources method. * data_source_scopes are the scopes returned by /// ListDataSources method. Note that this should not be set when @@ -875,7 +876,7 @@ class ProjectsLocationsTransferConfigsResource { /// `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials /// are needed, as indicated by `CheckValidCreds`. In order to obtain version /// info, make a request to the following URL: - /// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes + /// https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes /// * The client_id is the OAuth client_id of the a data source as returned by /// ListDataSources method. * data_source_scopes are the scopes returned by /// ListDataSources method. Note that this should not be set when @@ -1267,7 +1268,7 @@ class ProjectsTransferConfigsResource { /// `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are /// needed, as indicated by `CheckValidCreds`. In order to obtain /// authorization_code, make a request to the following URL: - /// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes + /// https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes /// * The client_id is the OAuth client_id of the a data source as returned by /// ListDataSources method. * data_source_scopes are the scopes returned by /// ListDataSources method. Note that this should not be set when @@ -1285,7 +1286,7 @@ class ProjectsTransferConfigsResource { /// `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials /// are needed, as indicated by `CheckValidCreds`. In order to obtain version /// info, make a request to the following URL: - /// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes + /// https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes /// * The client_id is the OAuth client_id of the a data source as returned by /// ListDataSources method. * data_source_scopes are the scopes returned by /// ListDataSources method. Note that this should not be set when @@ -1483,7 +1484,7 @@ class ProjectsTransferConfigsResource { /// `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are /// needed, as indicated by `CheckValidCreds`. In order to obtain /// authorization_code, make a request to the following URL: - /// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes + /// https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=client_id&scope=data_source_scopes /// * The client_id is the OAuth client_id of the a data source as returned by /// ListDataSources method. * data_source_scopes are the scopes returned by /// ListDataSources method. Note that this should not be set when @@ -1504,7 +1505,7 @@ class ProjectsTransferConfigsResource { /// `transferConfig.dataSourceId` is not 'youtube_channel' and new credentials /// are needed, as indicated by `CheckValidCreds`. In order to obtain version /// info, make a request to the following URL: - /// https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes + /// https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=client_id&scope=data_source_scopes /// * The client_id is the OAuth client_id of the a data source as returned by /// ListDataSources method. * data_source_scopes are the scopes returned by /// ListDataSources method. Note that this should not be set when diff --git a/generated/googleapis/lib/bigqueryreservation/v1.dart b/generated/googleapis/lib/bigqueryreservation/v1.dart index 763aea485..dcb3abdcc 100644 --- a/generated/googleapis/lib/bigqueryreservation/v1.dart +++ b/generated/googleapis/lib/bigqueryreservation/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/bigtableadmin/v2.dart b/generated/googleapis/lib/bigtableadmin/v2.dart index d7e49bb46..c0fddfdfa 100644 --- a/generated/googleapis/lib/bigtableadmin/v2.dart +++ b/generated/googleapis/lib/bigtableadmin/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/billingbudgets/v1.dart b/generated/googleapis/lib/billingbudgets/v1.dart index 8ba3a0995..d1f4c670a 100644 --- a/generated/googleapis/lib/billingbudgets/v1.dart +++ b/generated/googleapis/lib/billingbudgets/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/binaryauthorization/v1.dart b/generated/googleapis/lib/binaryauthorization/v1.dart index 663c8bbb0..749c93535 100644 --- a/generated/googleapis/lib/binaryauthorization/v1.dart +++ b/generated/googleapis/lib/binaryauthorization/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -3148,11 +3149,11 @@ class SimpleSigningAttestationCheck { /// Only one attestation needs to successfully verify an image for this check /// to pass, so a single verified attestation found in any of /// `container_analysis_attestation_projects` is sufficient for the check to - /// pass. When fetching Occurrences from Container Analysis, only - /// `AttestationOccurrence` kinds are considered. In the future, additional - /// Occurrence kinds may be added to the query. Maximum number of - /// `container_analysis_attestation_projects` allowed in each - /// `SimpleSigningAttestationCheck` is 10. + /// pass. A project ID must be used, not a project number. When fetching + /// Occurrences from Container Analysis, only `AttestationOccurrence` kinds + /// are considered. In the future, additional Occurrence kinds may be added to + /// the query. Maximum number of `container_analysis_attestation_projects` + /// allowed in each `SimpleSigningAttestationCheck` is 10. /// /// Optional. core.List? containerAnalysisAttestationProjects; @@ -3283,11 +3284,12 @@ class UserOwnedGrafeasNote { core.String? delegationServiceAccountEmail; /// The Grafeas resource name of a Attestation.Authority Note, created by the - /// user, in the format: `projects / * /notes / * `. + /// user, in the format: `projects/[PROJECT_ID]/notes / * `. /// - /// This field may not be updated. An attestation by this attestor is stored - /// as a Grafeas Attestation.Authority Occurrence that names a container image - /// and that links to this Note. Grafeas is an external dependency. + /// This field may not be updated. A project ID must be used, not a project + /// number. An attestation by this attestor is stored as a Grafeas + /// Attestation.Authority Occurrence that names a container image and that + /// links to this Note. Grafeas is an external dependency. /// /// Required. core.String? noteReference; diff --git a/generated/googleapis/lib/blockchainnodeengine/v1.dart b/generated/googleapis/lib/blockchainnodeengine/v1.dart index bf0cb6a81..6236052aa 100644 --- a/generated/googleapis/lib/blockchainnodeengine/v1.dart +++ b/generated/googleapis/lib/blockchainnodeengine/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/blogger/v3.dart b/generated/googleapis/lib/blogger/v3.dart index dfe8668f5..a71aa0d78 100644 --- a/generated/googleapis/lib/blogger/v3.dart +++ b/generated/googleapis/lib/blogger/v3.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/books/v1.dart b/generated/googleapis/lib/books/v1.dart index ae1278306..bdb238a00 100644 --- a/generated/googleapis/lib/books/v1.dart +++ b/generated/googleapis/lib/books/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/businessprofileperformance/v1.dart b/generated/googleapis/lib/businessprofileperformance/v1.dart index a5c9f4e0f..f37ea0584 100644 --- a/generated/googleapis/lib/businessprofileperformance/v1.dart +++ b/generated/googleapis/lib/businessprofileperformance/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/calendar/v3.dart b/generated/googleapis/lib/calendar/v3.dart index 5f44aa949..959f15169 100644 --- a/generated/googleapis/lib/calendar/v3.dart +++ b/generated/googleapis/lib/calendar/v3.dart @@ -3,6 +3,7 @@ // 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 @@ -1740,8 +1741,8 @@ class EventsResource { /// Moves an event to another calendar, i.e. changes an event's organizer. /// - /// Note that only default events can be moved; outOfOffice, focusTime and - /// workingLocation events cannot be moved. + /// Note that only default events can be moved; outOfOffice, focusTime, + /// workingLocation and fromGmail events cannot be moved. /// /// Request parameters: /// @@ -4126,6 +4127,7 @@ class Event { /// - "outOfOffice" - An out-of-office event. /// - "focusTime" - A focus-time event. /// - "workingLocation" - A working location event. + /// - "fromGmail" - An event from Gmail. This type of event cannot be created. core.String? eventType; /// Extended properties of the event. diff --git a/generated/googleapis/lib/certificatemanager/v1.dart b/generated/googleapis/lib/certificatemanager/v1.dart index 2e78f78e7..27b655d60 100644 --- a/generated/googleapis/lib/certificatemanager/v1.dart +++ b/generated/googleapis/lib/certificatemanager/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/chat/v1.dart b/generated/googleapis/lib/chat/v1.dart index af7efcd5e..4f4cf5cf3 100644 --- a/generated/googleapis/lib/chat/v1.dart +++ b/generated/googleapis/lib/chat/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -489,8 +490,8 @@ class SpacesResource { /// /// Request parameters: /// - /// [name] - Required. Resource name of the space, in the form "spaces / * ". - /// Format: `spaces/{space}` + /// [name] - Required. Resource name of the space, in the form + /// `spaces/{space}`. Format: `spaces/{space}` /// Value must have pattern `^spaces/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -533,7 +534,9 @@ class SpacesResource { /// 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. + /// 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. /// /// Request parameters: /// @@ -676,23 +679,23 @@ class SpacesResource { /// specified as a membership in the request. For an example, see /// [Set up a space with initial members](https://developers.google.com/workspace/chat/set-up-spaces). /// To specify the human members to add, add memberships with the appropriate - /// `member.name` in the `SetUpSpaceRequest`. To add a human user, use - /// `users/{user}`, where `{user}` can be the email address for the user. For - /// users in the same Workspace organization `{user}` can also be the `id` for - /// the person from the People API, or the `id` for the user in the Directory - /// API. For example, if the People API Person profile ID for - /// `user@example.com` is `123456789`, you can add the user to the space by - /// setting the `membership.member.name` to `users/user@example.com` or - /// `users/123456789`. For a space or group chat, if the caller blocks or is - /// blocked by some members, then those members aren't added to the created - /// space. To create a direct message (DM) between the calling user and - /// another human user, specify exactly one membership to represent the human - /// user. If one user blocks the other, the request fails and the DM isn't - /// created. To create a DM between the calling user and the calling app, set - /// `Space.singleUserBotDm` to `true` and don't specify any memberships. You - /// can only use this method to set up a DM with the calling app. To add the - /// calling app as a member of a space or an existing DM between two human - /// users, see + /// `membership.member.name`. To add a human user, use `users/{user}`, where + /// `{user}` can be the email address for the user. For users in the same + /// Workspace organization `{user}` can also be the `id` for the person from + /// the People API, or the `id` for the user in the Directory API. For + /// example, if the People API Person profile ID for `user@example.com` is + /// `123456789`, you can add the user to the space by setting the + /// `membership.member.name` to `users/user@example.com` or `users/123456789`. + /// For a named space or group chat, if the caller blocks, or is blocked by + /// some members, or doesn't have permission to add some members, then those + /// members aren't added to the created space. To create a direct message (DM) + /// between the calling user and another human user, specify exactly one + /// membership to represent the human user. If one user blocks the other, the + /// request fails and the DM isn't created. To create a DM between the calling + /// user and the calling app, set `Space.singleUserBotDm` to `true` and don't + /// specify any memberships. You can only use this method to set up a DM with + /// the calling app. To add the calling app as a member of a space or an + /// existing DM between two human users, see /// [Invite or add a user or app to a space](https://developers.google.com/workspace/chat/create-members). /// If a DM already exists between two users, even when one user blocks the /// other at the time a request is made, then the existing DM is returned. @@ -751,8 +754,8 @@ class SpacesMembersResource { /// invitation before joining. Otherwise, creating a membership adds the /// member directly to the specified space. Requires /// [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). - /// To specify the member to add, set the `membership.member.name` in the - /// `CreateMembershipRequest`: - To add the calling app to a space or a direct + /// To specify the member to add, set the `membership.member.name` for the + /// human or app member. - To add the calling app to a space or a direct /// message between two human users, use `users/app`. Unable to add other apps /// to the space. - To add a human user, use `users/{user}`, where `{user}` /// can be the email address for the user. For users in the same Workspace @@ -934,14 +937,18 @@ class SpacesMembersResource { /// and type /// (\[`member.type`\](https://developers.google.com/workspace/chat/api/reference/rest/v1/User#type)). /// To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`. To - /// filter by type, set `member.type` to `HUMAN` or `BOT`. To filter by both - /// role and type, use the `AND` operator. To filter by either role or type, - /// use the `OR` operator. For example, the following queries are valid: ``` - /// role = "ROLE_MANAGER" OR role = "ROLE_MEMBER" member.type = "HUMAN" AND - /// role = "ROLE_MANAGER" ``` The following queries are invalid: ``` - /// member.type = "HUMAN" AND member.type = "BOT" role = "ROLE_MANAGER" AND - /// role = "ROLE_MEMBER" ``` Invalid queries are rejected by the server with - /// an `INVALID_ARGUMENT` error. + /// filter by type, set `member.type` to `HUMAN` or `BOT`. Developer Preview: + /// You can also filter for `member.type` using the `!=` operator. To filter + /// by both role and type, use the `AND` operator. To filter by either role or + /// type, use the `OR` operator. Either `member.type = "HUMAN"` or + /// `member.type != "BOT"` is required when `use_admin_access` is set to true. + /// Other member type filters will be rejected. For example, the following + /// queries are valid: ``` role = "ROLE_MANAGER" OR role = "ROLE_MEMBER" + /// member.type = "HUMAN" AND role = "ROLE_MANAGER" member.type != "BOT" ``` + /// The following queries are invalid: ``` member.type = "HUMAN" AND + /// member.type = "BOT" role = "ROLE_MANAGER" AND role = "ROLE_MEMBER" ``` + /// Invalid queries are rejected by the server with an `INVALID_ARGUMENT` + /// error. /// /// [pageSize] - Optional. The maximum number of memberships to return. The /// service might return fewer than this value. If unspecified, at most 100 @@ -1542,8 +1549,8 @@ class SpacesMessagesAttachmentsResource { /// /// Request parameters: /// - /// [name] - Required. Resource name of the attachment, in the form `spaces / - /// * /messages / * /attachments / * `. + /// [name] - Required. Resource name of the attachment, in the form + /// `spaces/{space}/messages/{message}/attachments/{attachment}`. /// Value must have pattern /// `^spaces/\[^/\]+/messages/\[^/\]+/attachments/\[^/\]+$`. /// @@ -2431,8 +2438,8 @@ class Attachment { /// Output only. DriveDataRef? driveDataRef; - /// Resource name of the attachment, in the form `spaces / * /messages / * - /// /attachments / * `. + /// Resource name of the attachment, in the form + /// `spaces/{space}/messages/{message}/attachments/{attachment}`. core.String? name; /// The source of the attachment. @@ -7203,21 +7210,21 @@ class SetUpSpaceRequest { /// The Google Chat users to invite to join the space. /// /// Omit the calling user, as they are added automatically. The set currently - /// allows up to 20 memberships (in addition to the caller). The - /// `Membership.member` field must contain a `user` with `name` populated - /// (format: `users/{user}`) and `type` set to `User.Type.HUMAN`. You can only - /// add human users when setting up a space (adding Chat apps is only - /// supported for direct message setup with the calling app). You can also add - /// members using the user's email as an alias for {user}. For example, the - /// `user.name` can be `users/example@gmail.com`." To invite Gmail users or - /// users from external Google Workspace domains, user's email must be used - /// for `{user}`. Optional when setting `Space.spaceType` to `SPACE`. Required - /// when setting `Space.spaceType` to `GROUP_CHAT`, along with at least two - /// memberships. Required when setting `Space.spaceType` to `DIRECT_MESSAGE` - /// with a human user, along with exactly one membership. Must be empty when - /// creating a 1:1 conversation between a human and the calling Chat app (when - /// setting `Space.spaceType` to `DIRECT_MESSAGE` and `Space.singleUserBotDm` - /// to `true`). + /// allows up to 20 memberships (in addition to the caller). For human + /// membership, the `Membership.member` field must contain a `user` with + /// `name` populated (format: `users/{user}`) and `type` set to + /// `User.Type.HUMAN`. You can only add human users when setting up a space + /// (adding Chat apps is only supported for direct message setup with the + /// calling app). You can also add members using the user's email as an alias + /// for {user}. For example, the `user.name` can be `users/example@gmail.com`. + /// To invite Gmail users or users from external Google Workspace domains, + /// user's email must be used for `{user}`. Optional when setting + /// `Space.spaceType` to `SPACE`. Required when setting `Space.spaceType` to + /// `GROUP_CHAT`, along with at least two memberships. Required when setting + /// `Space.spaceType` to `DIRECT_MESSAGE` with a human user, along with + /// exactly one membership. Must be empty when creating a 1:1 conversation + /// between a human and the calling Chat app (when setting `Space.spaceType` + /// to `DIRECT_MESSAGE` and `Space.singleUserBotDm` to `true`). /// /// Optional. core.List? memberships; @@ -7365,11 +7372,11 @@ class SlashCommandMetadata { /// Spaces are conversations between two or more users or 1:1 messages between a /// user and a Chat app. class Space { - /// Whether the Chat app was installed by a Google Workspace administrator. + /// For direct message (DM) spaces with a Chat app, whether the space was + /// created by a Google Workspace administrator. /// - /// Administrators can install a Chat app for their domain, organizational - /// unit, or a group of users. Administrators can only install Chat apps for - /// direct messaging between users and the app. To support admin install, your + /// Administrators can install and set up a direct message with a Chat app on + /// behalf of users in their organization. To support admin install, your Chat /// app must feature direct messaging. /// /// Output only. diff --git a/generated/googleapis/lib/chromemanagement/v1.dart b/generated/googleapis/lib/chromemanagement/v1.dart index 685b885b6..4b08420cd 100644 --- a/generated/googleapis/lib/chromemanagement/v1.dart +++ b/generated/googleapis/lib/chromemanagement/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -5696,6 +5697,328 @@ class GoogleChromeManagementV1StorageStatusReport { }; } +/// App installation data. +class GoogleChromeManagementV1TelemetryAppInstallEvent { + /// App id. + /// + /// For PWAs this is the start URL, and for extensions this is the extension + /// id. + core.String? appId; + + /// App installation reason. + /// Possible string values are: + /// - "APPLICATION_INSTALL_REASON_UNSPECIFIED" : Application install reason is + /// unknown. + /// - "APPLICATION_INSTALL_REASON_SYSTEM" : Application installed with the + /// system and is considered part of the OS. + /// - "APPLICATION_INSTALL_REASON_POLICY" : Application installed by policy. + /// - "APPLICATION_INSTALL_REASON_OEM" : Application installed by an original + /// equipment manufacturer (OEM). + /// - "APPLICATION_INSTALL_REASON_DEFAULT" : Application installed by default, + /// but is not considered a system app. + /// - "APPLICATION_INSTALL_REASON_SYNC" : Application installed by sync. + /// - "APPLICATION_INSTALL_REASON_USER" : Application installed by user + /// action. + /// - "APPLICATION_INSTALL_REASON_SUB_APP" : Application installed bt SubApp + /// API call. + /// - "APPLICATION_INSTALL_REASON_KIOSK" : Application installed by Kiosk on + /// Chrome OS. + /// - "APPLICATION_INSTALL_REASON_COMMAND_LINE" : Application installed by + /// command line argument. + core.String? appInstallReason; + + /// App installation source. + /// Possible string values are: + /// - "APPLICATION_INSTALL_SOURCE_UNSPECIFIED" : Application install source is + /// unknown. + /// - "APPLICATION_INSTALL_SOURCE_SYSTEM" : Application installed as part of + /// Chrome OS. + /// - "APPLICATION_INSTALL_SOURCE_SYNC" : Application install source is a + /// sync. + /// - "APPLICATION_INSTALL_SOURCE_PLAY_STORE" : Application install source is + /// the Play store. + /// - "APPLICATION_INSTALL_SOURCE_CHROME_WEB_STORE" : Application install + /// source is the Chrome web store. + /// - "APPLICATION_INSTALL_SOURCE_BROWSER" : Application install source is a + /// browser. + core.String? appInstallSource; + + /// App installation time depending on the app lifecycle. + /// Possible string values are: + /// - "APPLICATION_INSTALL_TIME_UNSPECIFIED" : Application install time + /// unknown. + /// - "APPLICATION_INSTALL_TIME_INIT" : Application install is initialized. + /// - "APPLICATION_INSTALL_TIME_RUNNING" : Application install is currently + /// running. + core.String? appInstallTime; + + /// 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; + + GoogleChromeManagementV1TelemetryAppInstallEvent({ + this.appId, + this.appInstallReason, + this.appInstallSource, + this.appInstallTime, + this.appType, + }); + + GoogleChromeManagementV1TelemetryAppInstallEvent.fromJson(core.Map json_) + : this( + appId: + json_.containsKey('appId') ? json_['appId'] as core.String : null, + appInstallReason: json_.containsKey('appInstallReason') + ? json_['appInstallReason'] as core.String + : null, + appInstallSource: json_.containsKey('appInstallSource') + ? json_['appInstallSource'] as core.String + : null, + appInstallTime: json_.containsKey('appInstallTime') + ? json_['appInstallTime'] as core.String + : null, + appType: json_.containsKey('appType') + ? json_['appType'] as core.String + : null, + ); + + core.Map toJson() => { + if (appId != null) 'appId': appId!, + if (appInstallReason != null) 'appInstallReason': appInstallReason!, + if (appInstallSource != null) 'appInstallSource': appInstallSource!, + if (appInstallTime != null) 'appInstallTime': appInstallTime!, + if (appType != null) 'appType': appType!, + }; +} + +/// App launch data. +class GoogleChromeManagementV1TelemetryAppLaunchEvent { + /// App id. + /// + /// For PWAs this is the start URL, and for extensions this is the extension + /// id. + core.String? appId; + + /// App launch source. + /// Possible string values are: + /// - "APPLICATION_LAUNCH_SOURCE_UNSPECIFIED" : Application launch source + /// unknown. + /// - "APPLICATION_LAUNCH_SOURCE_APP_LIST_GRID" : Application launched from + /// the grid of apps, not the search box. + /// - "APPLICATION_LAUNCH_SOURCE_APP_LIST_GRID_CONTEXT_MENU" : Application + /// launched from the grid of apps, off of the context menu. + /// - "APPLICATION_LAUNCH_SOURCE_APP_LIST_QUERY" : Application launched from + /// query-dependent results (larger icons). + /// - "APPLICATION_LAUNCH_SOURCE_APP_LIST_QUERY_CONTEXT_MENU" : Application + /// launched from query-dependent results, off of the context menu. + /// - "APPLICATION_LAUNCH_SOURCE_APP_LIST_RECOMMENDATION" : Application + /// launched from query-less recommendations (smaller icons). + /// - "APPLICATION_LAUNCH_SOURCE_PARENTAL_CONTROLS" : Application launched + /// from the Parental Controls Settings section and Per App time notification. + /// - "APPLICATION_LAUNCH_SOURCE_SHELF" : Application launched from shelf. + /// - "APPLICATION_LAUNCH_SOURCE_FILE_MANAGER" : Application launched from the + /// file manager + /// - "APPLICATION_LAUNCH_SOURCE_LINK" : Application launched from left click + /// on a link in the browser. + /// - "APPLICATION_LAUNCH_SOURCE_OMNIBOX" : Application launched from entering + /// a URL in the Omnibox on the browser. + /// - "APPLICATION_LAUNCH_SOURCE_CHROME_INTERNAL" : Application launched from + /// a Chrome internal call. + /// - "APPLICATION_LAUNCH_SOURCE_KEYBOARD" : Application launched from + /// keyboard shortcut for opening app. + /// - "APPLICATION_LAUNCH_SOURCE_OTHER_APP" : Application launched from + /// clicking a link in another app or WebUI. + /// - "APPLICATION_LAUNCH_SOURCE_MENU" : Application launched from menu. + /// - "APPLICATION_LAUNCH_SOURCE_INSTALLED_NOTIFICATION" : Application + /// launched from the installed notification. + /// - "APPLICATION_LAUNCH_SOURCE_TEST" : Application launched from a test. + /// - "APPLICATION_LAUNCH_SOURCE_ARC" : Application launched from Arc. + /// - "APPLICATION_LAUNCH_SOURCE_SHARESHEET" : Application launched from + /// Sharesheet. + /// - "APPLICATION_LAUNCH_SOURCE_RELEASE_NOTES_NOTIFICATION" : Application + /// launched from the release notes notification. + /// - "APPLICATION_LAUNCH_SOURCE_FULL_RESTORE" : Application launched from a + /// full restore. + /// - "APPLICATION_LAUNCH_SOURCE_SMART_TEXT_CONTEXT_MENU" : Application + /// launched from a smart text selection context menu. + /// - "APPLICATION_LAUNCH_SOURCE_DISCOVER_TAB_NOTIFICATION" : Application + /// launched from a discover tab notification. + /// - "APPLICATION_LAUNCH_SOURCE_MANAGEMENT_API" : Application launched from + /// the Management API. + /// - "APPLICATION_LAUNCH_SOURCE_KIOSK" : Application launched from kiosk. + /// - "APPLICATION_LAUNCH_SOURCE_COMMAND_LINE" : Application launched from the + /// command line. + /// - "APPLICATION_LAUNCH_SOURCE_BACKGROUND_MODE" : Application launched from + /// background mode. + /// - "APPLICATION_LAUNCH_SOURCE_NEW_TAB_PAGE" : Application launched from the + /// new tab page. + /// - "APPLICATION_LAUNCH_SOURCE_INTENT_URL" : Application launched from an + /// intent URL. + /// - "APPLICATION_LAUNCH_SOURCE_OS_LOGIN" : Application launched from OS + /// login. + /// - "APPLICATION_LAUNCH_SOURCE_PROTOCOL_HANDLER" : Application launched from + /// protocol handler. + /// - "APPLICATION_LAUNCH_SOURCE_URL_HANDLER" : Application launched from URL + /// handler. + /// - "APPLICATION_LAUNCH_SOURCE_LOCK_SCREEN" : Application launched from lock + /// screen app launcher. + /// - "APPLICATION_LAUNCH_SOURCE_APP_HOME_PAGE" : Application launched from + /// app home (chrome://apps) page. + /// - "APPLICATION_LAUNCH_SOURCE_REPARENTING" : Application launched from + /// moving content into an app. + /// - "APPLICATION_LAUNCH_SOURCE_PROFILE_MENU" : Application launched from + /// profile menu of installable chrome://password-manager WebUI. + /// - "APPLICATION_LAUNCH_SOURCE_SYSTEM_TRAY_CALENDAR" : Application launched + /// from system tray calendar. + /// - "APPLICATION_LAUNCH_SOURCE_INSTALLER" : Application launched from source + /// installer. + /// - "APPLICATION_LAUNCH_SOURCE_FIRST_RUN" : Count first-run Help app + /// launches separately so that we can understand the number of user-triggered + /// launches. + /// - "APPLICATION_LAUNCH_SOURCE_WELCOME_TOUR" : Application launched from + /// welcome tour. + /// - "APPLICATION_LAUNCH_SOURCE_FOCUS_MODE" : Applicationed launched from + /// focus panel. + core.String? appLaunchSource; + + /// 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; + + GoogleChromeManagementV1TelemetryAppLaunchEvent({ + this.appId, + this.appLaunchSource, + this.appType, + }); + + GoogleChromeManagementV1TelemetryAppLaunchEvent.fromJson(core.Map json_) + : this( + appId: + json_.containsKey('appId') ? json_['appId'] as core.String : null, + appLaunchSource: json_.containsKey('appLaunchSource') + ? json_['appLaunchSource'] as core.String + : null, + appType: json_.containsKey('appType') + ? json_['appType'] as core.String + : null, + ); + + core.Map toJson() => { + if (appId != null) 'appId': appId!, + if (appLaunchSource != null) 'appLaunchSource': appLaunchSource!, + if (appType != null) 'appType': appType!, + }; +} + +/// App uninstall data. +class GoogleChromeManagementV1TelemetryAppUninstallEvent { + /// App id. + /// + /// For PWAs this is the start URL, and for extensions this is the extension + /// id. + core.String? appId; + + /// 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 uninstall source. + /// Possible string values are: + /// - "APPLICATION_UNINSTALL_SOURCE_UNSPECIFIED" : Application uninstall + /// source unknown. + /// - "APPLICATION_UNINSTALL_SOURCE_APP_LIST" : Application uninstalled from + /// the App List (Launcher). + /// - "APPLICATION_UNINSTALL_SOURCE_APP_MANAGEMENT" : Application uninstalled + /// from the App Managedment page. + /// - "APPLICATION_UNINSTALL_SOURCE_SHELF" : Application uninstalled from the + /// Shelf. + /// - "APPLICATION_UNINSTALL_SOURCE_MIGRATION" : Application uninstalled by + /// app migration. + core.String? appUninstallSource; + + GoogleChromeManagementV1TelemetryAppUninstallEvent({ + this.appId, + this.appType, + this.appUninstallSource, + }); + + GoogleChromeManagementV1TelemetryAppUninstallEvent.fromJson(core.Map json_) + : this( + appId: + json_.containsKey('appId') ? json_['appId'] as core.String : null, + appType: json_.containsKey('appType') + ? json_['appType'] as core.String + : null, + appUninstallSource: json_.containsKey('appUninstallSource') + ? json_['appUninstallSource'] as core.String + : null, + ); + + core.Map toJson() => { + if (appId != null) 'appId': appId!, + if (appType != null) 'appType': appType!, + if (appUninstallSource != null) + 'appUninstallSource': appUninstallSource!, + }; +} + /// `TelemetryAudioSevereUnderrunEvent` is triggered when a audio devices run /// out of buffer data for more than 5 seconds. /// @@ -6130,6 +6453,26 @@ class GoogleChromeManagementV1TelemetryDeviceInfo { /// Telemetry data reported by a managed device. class GoogleChromeManagementV1TelemetryEvent { + /// Payload for app install event. + /// + /// Present only when `event_type` is `APP_INSTALLED`. + /// + /// Output only. + GoogleChromeManagementV1TelemetryAppInstallEvent? appInstallEvent; + + /// Payload for app launch event.Present only when `event_type` is + /// `APP_LAUNCHED`. + /// + /// Output only. + GoogleChromeManagementV1TelemetryAppLaunchEvent? appLaunchEvent; + + /// Payload for app uninstall event. + /// + /// Present only when `event_type` is `APP_UNINSTALLED`. + /// + /// Output only. + GoogleChromeManagementV1TelemetryAppUninstallEvent? appUninstallEvent; + /// Payload for audio severe underrun event. /// /// Present only when the `event_type` field is `AUDIO_SEVERE_UNDERRUN`. @@ -6160,6 +6503,9 @@ class GoogleChromeManagementV1TelemetryEvent { /// - "WIFI_SIGNAL_STRENGTH_RECOVERED" : Triggered when connected WiFi network /// signal strength is recovered from a signal drop. /// - "VPN_CONNECTION_STATE_CHANGE" : Triggered on changes to VPN connections. + /// - "APP_INSTALLED" : Triggered when an app is installed. + /// - "APP_UNINSTALLED" : Triggered when an app is uninstalled. + /// - "APP_LAUNCHED" : Triggered when an app is launched. core.String? eventType; /// Payload for HTTPS latency change event. @@ -6217,6 +6563,9 @@ class GoogleChromeManagementV1TelemetryEvent { wifiSignalStrengthEvent; GoogleChromeManagementV1TelemetryEvent({ + this.appInstallEvent, + this.appLaunchEvent, + this.appUninstallEvent, this.audioSevereUnderrunEvent, this.device, this.eventType, @@ -6232,6 +6581,21 @@ class GoogleChromeManagementV1TelemetryEvent { GoogleChromeManagementV1TelemetryEvent.fromJson(core.Map json_) : this( + appInstallEvent: json_.containsKey('appInstallEvent') + ? GoogleChromeManagementV1TelemetryAppInstallEvent.fromJson( + json_['appInstallEvent'] + as core.Map) + : null, + appLaunchEvent: json_.containsKey('appLaunchEvent') + ? GoogleChromeManagementV1TelemetryAppLaunchEvent.fromJson( + json_['appLaunchEvent'] + as core.Map) + : null, + appUninstallEvent: json_.containsKey('appUninstallEvent') + ? GoogleChromeManagementV1TelemetryAppUninstallEvent.fromJson( + json_['appUninstallEvent'] + as core.Map) + : null, audioSevereUnderrunEvent: json_.containsKey('audioSevereUnderrunEvent') ? GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent @@ -6282,6 +6646,9 @@ class GoogleChromeManagementV1TelemetryEvent { ); core.Map toJson() => { + if (appInstallEvent != null) 'appInstallEvent': appInstallEvent!, + if (appLaunchEvent != null) 'appLaunchEvent': appLaunchEvent!, + if (appUninstallEvent != null) 'appUninstallEvent': appUninstallEvent!, if (audioSevereUnderrunEvent != null) 'audioSevereUnderrunEvent': audioSevereUnderrunEvent!, if (device != null) 'device': device!, diff --git a/generated/googleapis/lib/chromepolicy/v1.dart b/generated/googleapis/lib/chromepolicy/v1.dart index cc7f84913..f4f9e4f4e 100644 --- a/generated/googleapis/lib/chromepolicy/v1.dart +++ b/generated/googleapis/lib/chromepolicy/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/chromeuxreport/v1.dart b/generated/googleapis/lib/chromeuxreport/v1.dart index bab2d75e2..ac1d7d03d 100644 --- a/generated/googleapis/lib/chromeuxreport/v1.dart +++ b/generated/googleapis/lib/chromeuxreport/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/civicinfo/v2.dart b/generated/googleapis/lib/civicinfo/v2.dart index 02658c4b7..05a130649 100644 --- a/generated/googleapis/lib/civicinfo/v2.dart +++ b/generated/googleapis/lib/civicinfo/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/classroom/v1.dart b/generated/googleapis/lib/classroom/v1.dart index 238e02859..0477bda79 100644 --- a/generated/googleapis/lib/classroom/v1.dart +++ b/generated/googleapis/lib/classroom/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/cloudasset/v1.dart b/generated/googleapis/lib/cloudasset/v1.dart index 6a8b247b2..feeb6bc33 100644 --- a/generated/googleapis/lib/cloudasset/v1.dart +++ b/generated/googleapis/lib/cloudasset/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/cloudbilling/v1.dart b/generated/googleapis/lib/cloudbilling/v1.dart index 59a8f216a..95b472329 100644 --- a/generated/googleapis/lib/cloudbilling/v1.dart +++ b/generated/googleapis/lib/cloudbilling/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -1037,7 +1038,7 @@ class ServicesSkusResource { /// Request parameters: /// /// [parent] - Required. The name of the service. Example: - /// "services/DA34-426B-A397" + /// "services/6F81-5844-456A" /// Value must have pattern `^services/\[^/\]+$`. /// /// [currencyCode] - The ISO 4217 currency code for the pricing info in the @@ -2063,12 +2064,12 @@ class Service { /// The resource name for the service. /// - /// Example: "services/DA34-426B-A397" + /// Example: "services/6F81-5844-456A" core.String? name; /// The identifier for the service. /// - /// Example: "DA34-426B-A397" + /// Example: "6F81-5844-456A" core.String? serviceId; Service({ @@ -2138,7 +2139,7 @@ class SetIamPolicyRequest { }; } -/// Encapsulates a single SKU in Google Cloud Platform +/// Encapsulates a single SKU in Google Cloud class Sku { /// The category hierarchy of this SKU, purely for organizational purpose. Category? category; @@ -2152,7 +2153,7 @@ class Sku { /// The resource name for the SKU. /// - /// Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE" + /// Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B" core.String? name; /// A timeline of pricing info for this SKU in chronological order. @@ -2171,7 +2172,7 @@ class Sku { /// The identifier for the SKU. /// - /// Example: "AA95-CD31-42FE" + /// Example: "D041-B8A1-6E0B" core.String? skuId; Sku({ diff --git a/generated/googleapis/lib/cloudbuild/v1.dart b/generated/googleapis/lib/cloudbuild/v1.dart index 15d33ca87..f15bee1b7 100644 --- a/generated/googleapis/lib/cloudbuild/v1.dart +++ b/generated/googleapis/lib/cloudbuild/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -4267,6 +4268,8 @@ class Build { core.String? serviceAccount; /// The location of the source files to build. + /// + /// Optional. Source? source; /// A permanent fixed identifier for source. @@ -4600,7 +4603,7 @@ class BuildOptions { /// 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; + /// larger disk than requested. At present, the maximum disk size is 4000GB; /// builds that request more than the maximum are rejected with an error. core.String? diskSizeGb; @@ -5478,6 +5481,8 @@ typedef CancelOperationRequest = $Empty; /// Location of the source in a 2nd-gen Google Cloud Build repository resource. class ConnectedRepository { /// Directory, relative to the source root, in which to run the build. + /// + /// Optional. core.String? dir; /// Name of the Google Cloud Build repository, formatted as `projects / * @@ -5488,6 +5493,8 @@ class ConnectedRepository { /// The revision to fetch from the Git repository such as a branch, a tag, a /// commit SHA, or any Git ref. + /// + /// Required. core.String? revision; ConnectedRepository({ @@ -5745,6 +5752,49 @@ class FileHashes { }; } +/// Represents a storage location in Cloud Storage +class GCSLocation { + /// Cloud Storage bucket. + /// + /// See https://cloud.google.com/storage/docs/naming#requirements + core.String? bucket; + + /// Cloud Storage generation for the object. + /// + /// If the generation is omitted, the latest generation will be used. + core.String? generation; + + /// Cloud Storage object. + /// + /// See https://cloud.google.com/storage/docs/naming#objectnames + core.String? object; + + GCSLocation({ + this.bucket, + this.generation, + this.object, + }); + + GCSLocation.fromJson(core.Map json_) + : this( + bucket: json_.containsKey('bucket') + ? json_['bucket'] as core.String + : null, + generation: json_.containsKey('generation') + ? json_['generation'] as core.String + : null, + object: json_.containsKey('object') + ? json_['object'] as core.String + : null, + ); + + core.Map toJson() => { + if (bucket != null) 'bucket': bucket!, + if (generation != null) 'generation': generation!, + if (object != null) 'object': object!, + }; +} + /// GitConfig is a configuration for git operations. class GitConfig { /// Configuration for HTTP related git operations. @@ -6617,6 +6667,8 @@ class GitSource { /// /// 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. + /// + /// Optional. core.String? dir; /// The revision to fetch from the Git repository such as a branch, a tag, a @@ -6628,12 +6680,16 @@ class GitSource { /// `git fetch`, see /// https://git-scm.com/docs/gitrevisions#_specifying_revisions. For /// information on `git fetch`, see https://git-scm.com/docs/git-fetch. + /// + /// Optional. core.String? revision; /// Location of the Git repo to build. /// /// This will be used as a `git remote`, see /// https://git-scm.com/docs/git-remote. + /// + /// Required. core.String? url; GitSource({ @@ -6722,8 +6778,14 @@ class HttpConfig { /// The proxy URL should be in format protocol://@\]proxyhost\[:port\]. core.String? proxySecretVersionName; + /// Cloud Storage object storing the certificate to use with the HTTP proxy. + /// + /// Optional. + GCSLocation? proxySslCaInfo; + HttpConfig({ this.proxySecretVersionName, + this.proxySslCaInfo, }); HttpConfig.fromJson(core.Map json_) @@ -6731,11 +6793,16 @@ class HttpConfig { proxySecretVersionName: json_.containsKey('proxySecretVersionName') ? json_['proxySecretVersionName'] as core.String : null, + proxySslCaInfo: json_.containsKey('proxySslCaInfo') + ? GCSLocation.fromJson(json_['proxySslCaInfo'] + as core.Map) + : null, ); core.Map toJson() => { if (proxySecretVersionName != null) 'proxySecretVersionName': proxySecretVersionName!, + if (proxySslCaInfo != null) 'proxySslCaInfo': proxySslCaInfo!, }; } @@ -7615,23 +7682,33 @@ class RepoSource { /// /// 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. + /// + /// Optional. core.String? dir; /// Only trigger a build if the revision regex does NOT match the revision /// regex. + /// + /// Optional. core.bool? invertRegex; /// ID of the project that owns the Cloud Source Repository. /// /// If omitted, the project ID requesting the build is assumed. + /// + /// Optional. core.String? projectId; /// Name of the Cloud Source Repository. + /// + /// Required. core.String? repoName; /// Substitutions to use in a triggered build. /// /// Should only be used with RunBuildTrigger + /// + /// Optional. core.Map? substitutions; /// Regex matching tags to build. @@ -7773,7 +7850,8 @@ class Results { /// /// [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders) /// can produce this output by writing to `$BUILDER_OUTPUT/output`. Only the - /// first 50KB of data is stored. + /// first 50KB of data is stored. Note that the `$BUILDER_OUTPUT` variable is + /// read-only and can't be substituted. core.List? buildStepOutputs; /// Container images that were built as a part of the build. @@ -8286,12 +8364,16 @@ class StorageSource { /// Cloud Storage generation for the object. /// /// If the generation is omitted, the latest generation will be used. + /// + /// Optional. core.String? generation; /// Cloud Storage object containing the source. /// /// This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) /// containing source to build. + /// + /// Required. core.String? object; /// Option to specify the tool to fetch the source file for the build. @@ -8342,6 +8424,8 @@ class StorageSource { class StorageSourceManifest { /// Cloud Storage bucket containing the source manifest (see /// [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). + /// + /// Required. core.String? bucket; /// Cloud Storage generation for the object. @@ -8352,6 +8436,8 @@ class StorageSourceManifest { /// Cloud Storage object containing the source manifest. /// /// This object must be a JSON file. + /// + /// Required. core.String? object; StorageSourceManifest({ diff --git a/generated/googleapis/lib/cloudbuild/v2.dart b/generated/googleapis/lib/cloudbuild/v2.dart index 727aad57e..b371368b9 100644 --- a/generated/googleapis/lib/cloudbuild/v2.dart +++ b/generated/googleapis/lib/cloudbuild/v2.dart @@ -3,6 +3,7 @@ // 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 @@ -1413,7 +1414,7 @@ class BitbucketDataCenterConfig { /// The URI of the Bitbucket Data Center instance or cluster this connection /// is for. /// - /// Required. + /// Optional. core.String? hostUri; /// A http access token with the `REPO_READ` access. @@ -1509,6 +1510,8 @@ typedef CancelOperationRequest = $Empty; /// Bitbucket Cloud or GitLab. class Connection { /// Allows clients to store small amounts of arbitrary data. + /// + /// Optional. core.Map? annotations; /// Configuration for connections to Bitbucket Cloud. @@ -1526,6 +1529,8 @@ class Connection { /// /// Repository based API methods and webhooks processing for repositories in /// this connection will be disabled. + /// + /// Optional. core.bool? disabled; /// This checksum is computed by the server based on the value of other @@ -1735,35 +1740,7 @@ typedef Empty = $Empty; typedef Expr = $Expr; /// Response for fetching git refs -class FetchGitRefsResponse { - /// A token identifying a page of results the server should return. - core.String? nextPageToken; - - /// Name of the refs fetched. - core.List? refNames; - - FetchGitRefsResponse({ - this.nextPageToken, - this.refNames, - }); - - FetchGitRefsResponse.fromJson(core.Map json_) - : this( - nextPageToken: json_.containsKey('nextPageToken') - ? json_['nextPageToken'] as core.String - : null, - refNames: json_.containsKey('refNames') - ? (json_['refNames'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - ); - - core.Map toJson() => { - if (nextPageToken != null) 'nextPageToken': nextPageToken!, - if (refNames != null) 'refNames': refNames!, - }; -} +typedef FetchGitRefsResponse = $FetchGitRefsResponse; /// Response message for FetchLinkableRepositories. class FetchLinkableRepositoriesResponse { @@ -1801,17 +1778,19 @@ class FetchLinkableRepositoriesResponse { typedef FetchReadTokenRequest = $Empty; /// Message for responding to get read token. -typedef FetchReadTokenResponse = $TokenResponse; +typedef FetchReadTokenResponse = $TokenResponse00; /// Message for fetching SCM read/write token. typedef FetchReadWriteTokenRequest = $Empty; /// Message for responding to get read/write token. -typedef FetchReadWriteTokenResponse = $TokenResponse; +typedef FetchReadWriteTokenResponse = $TokenResponse00; /// Configuration for connections to github.com. class GitHubConfig { /// GitHub App installation id. + /// + /// Optional. core.String? appInstallationId; /// OAuth credential of the account that authorized the Cloud Build GitHub @@ -1819,6 +1798,8 @@ class GitHubConfig { /// /// It is recommended to use a robot account instead of a human user account. /// The OAuth token must be tied to the Cloud Build GitHub App. + /// + /// Optional. OAuthCredential? authorizerCredential; GitHubConfig({ @@ -1852,12 +1833,18 @@ class GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig { core.String? apiKey; /// Id of the GitHub App created from the manifest. + /// + /// Optional. core.String? appId; /// ID of the installation of the GitHub App. + /// + /// Optional. core.String? appInstallationId; /// The URL-friendly name of the GitHub App. + /// + /// Optional. core.String? appSlug; /// The URI of the GitHub Enterprise host this connection is for. @@ -1867,6 +1854,8 @@ class GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig { /// SecretManager resource containing the private key of the GitHub App, /// formatted as `projects / * /secrets / * /versions / * `. + /// + /// Optional. core.String? privateKeySecretVersion; /// GitHub Enterprise version installed at the host_uri. @@ -1881,13 +1870,19 @@ class GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig { /// on-premises and not reachable by public internet. If this field is left /// empty, calls to the GitHub Enterprise server will be made over the public /// internet. + /// + /// Optional. GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig? serviceDirectoryConfig; /// SSL certificate to use for requests to GitHub Enterprise. + /// + /// Optional. core.String? sslCa; /// SecretManager resource containing the webhook secret of the GitHub App, /// formatted as `projects / * /secrets / * /versions / * `. + /// + /// Optional. core.String? webhookSecretSecretVersion; GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig({ @@ -1966,6 +1961,8 @@ class GoogleDevtoolsCloudbuildV2GitLabConfig { /// The URI of the GitLab Enterprise host this connection is for. /// /// If not specified, the default value is https://gitlab.com. + /// + /// Optional. core.String? hostUri; /// A GitLab personal access token with the minimum `read_api` scope access. @@ -1985,9 +1982,13 @@ class GoogleDevtoolsCloudbuildV2GitLabConfig { /// on-premises and not reachable by public internet. If this field is left /// empty, calls to the GitLab Enterprise server will be made over the public /// internet. + /// + /// Optional. GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig? serviceDirectoryConfig; /// SSL certificate to use for requests to GitLab Enterprise. + /// + /// Optional. core.String? sslCa; /// SecretManager resource containing the webhook secret of a GitLab @@ -2103,60 +2104,7 @@ typedef HttpBody = $HttpBody; /// the installation. /// /// Used for GitHub and GitHub Enterprise based connections. -class InstallationState { - /// Link to follow for next action. - /// - /// Empty string if the installation is already complete. - /// - /// Output only. - core.String? actionUri; - - /// Message of what the user should do next to continue the installation. - /// - /// Empty string if the installation is already complete. - /// - /// Output only. - core.String? message; - - /// Current step of the installation process. - /// - /// Output only. - /// Possible string values are: - /// - "STAGE_UNSPECIFIED" : No stage specified. - /// - "PENDING_CREATE_APP" : Only for GitHub Enterprise. An App creation has - /// been requested. The user needs to confirm the creation in their GitHub - /// enterprise host. - /// - "PENDING_USER_OAUTH" : User needs to authorize the GitHub (or - /// Enterprise) App via OAuth. - /// - "PENDING_INSTALL_APP" : User needs to follow the link to install the - /// GitHub (or Enterprise) App. - /// - "COMPLETE" : Installation process has been completed. - core.String? stage; - - InstallationState({ - this.actionUri, - this.message, - this.stage, - }); - - InstallationState.fromJson(core.Map json_) - : this( - actionUri: json_.containsKey('actionUri') - ? json_['actionUri'] as core.String - : null, - message: json_.containsKey('message') - ? json_['message'] as core.String - : null, - stage: - json_.containsKey('stage') ? json_['stage'] as core.String : null, - ); - - core.Map toJson() => { - if (actionUri != null) 'actionUri': actionUri!, - if (message != null) 'message': message!, - if (stage != null) 'stage': stage!, - }; -} +typedef InstallationState = $InstallationState; /// Message for response to listing Connections. class ListConnectionsResponse { @@ -2264,6 +2212,8 @@ class OAuthCredential { /// Cloud Build connection. /// /// Format: `projects / * /secrets / * /versions / * `. + /// + /// Optional. core.String? oauthTokenSecretVersion; /// The username associated to this token. @@ -2493,6 +2443,8 @@ class Policy { /// A repository associated to a parent connection. class Repository { /// Allows clients to store small amounts of arbitrary data. + /// + /// Optional. core.Map? annotations; /// Server assigned timestamp for when the connection was created. diff --git a/generated/googleapis/lib/cloudchannel/v1.dart b/generated/googleapis/lib/cloudchannel/v1.dart index 3f39ebc73..ab46f1c37 100644 --- a/generated/googleapis/lib/cloudchannel/v1.dart +++ b/generated/googleapis/lib/cloudchannel/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/cloudcontrolspartner/v1.dart b/generated/googleapis/lib/cloudcontrolspartner/v1.dart index 627ef33a7..80700bee6 100644 --- a/generated/googleapis/lib/cloudcontrolspartner/v1.dart +++ b/generated/googleapis/lib/cloudcontrolspartner/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/clouddeploy/v1.dart b/generated/googleapis/lib/clouddeploy/v1.dart index f94a98753..a4521e379 100644 --- a/generated/googleapis/lib/clouddeploy/v1.dart +++ b/generated/googleapis/lib/clouddeploy/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -509,7 +510,9 @@ class ProjectsLocationsCustomTargetTypesResource { /// Request parameters: /// /// [name] - Optional. Name of the `CustomTargetType`. Format is - /// `projects/{project}/locations/{location}/customTargetTypes/a-z{0,62}`. + /// `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. + /// The `customTargetType` component must match + /// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/customTargetTypes/\[^/\]+$`. /// @@ -943,7 +946,9 @@ class ProjectsLocationsDeliveryPipelinesResource { /// Request parameters: /// /// [name] - Optional. Name of the `DeliveryPipeline`. Format is - /// `projects/{project}/locations/{location}/deliveryPipelines/a-z{0,62}`. + /// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`. + /// The `deliveryPipeline` component must match + /// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/deliveryPipelines/\[^/\]+$`. /// @@ -2884,7 +2889,8 @@ class ProjectsLocationsTargetsResource { /// Request parameters: /// /// [name] - Optional. Name of the `Target`. Format is - /// `projects/{project}/locations/{location}/targets/a-z{0,62}`. + /// `projects/{project}/locations/{location}/targets/{target}`. The `target` + /// component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/targets/\[^/\]+$`. /// @@ -3066,7 +3072,7 @@ class AdvanceChildRolloutJobRun { /// Name of the `ChildRollout`. /// /// Format is - /// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}`. + /// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. /// /// Output only. core.String? rollout; @@ -3185,7 +3191,7 @@ class AdvanceRolloutRule { /// ID of the rule. /// /// This id must be unique in the `Automation` resource to which this rule - /// belongs. The format is `a-z{0,62}`. + /// belongs. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. /// /// Required. core.String? id; @@ -3558,7 +3564,7 @@ class AutomationResourceSelector { /// AutomationRolloutMetadata contains Automation-related actions that were /// performed on a rollout. class AutomationRolloutMetadata { - /// The IDs of the AutomationRuns initiated by an advance rollout rule. + /// The names of the AutomationRuns initiated by an advance rollout rule. /// /// Output only. core.List? advanceAutomationRuns; @@ -3568,12 +3574,12 @@ class AutomationRolloutMetadata { /// Output only. core.String? currentRepairAutomationRun; - /// The ID of the AutomationRun initiated by a promote release rule. + /// The name of the AutomationRun initiated by a promote release rule. /// /// Output only. core.String? promoteAutomationRun; - /// The IDs of the AutomationRuns initiated by a repair rollout rule. + /// The names of the AutomationRuns initiated by a repair rollout rule. /// /// Output only. core.List? repairAutomationRuns; @@ -4423,7 +4429,7 @@ class CreateChildRolloutJobRun { /// Name of the `ChildRollout`. /// /// Format is - /// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}`. + /// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. /// /// Output only. core.String? rollout; @@ -4671,7 +4677,9 @@ class CustomTargetType { /// Name of the `CustomTargetType`. /// /// Format is - /// `projects/{project}/locations/{location}/customTargetTypes/a-z{0,62}`. + /// `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. + /// The `customTargetType` component must match + /// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` /// /// Optional. core.String? name; @@ -4851,7 +4859,9 @@ class DeliveryPipeline { /// Name of the `DeliveryPipeline`. /// /// Format is - /// `projects/{project}/locations/{location}/deliveryPipelines/a-z{0,62}`. + /// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`. + /// The `deliveryPipeline` component must match + /// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` /// /// Optional. core.String? name; @@ -5282,6 +5292,12 @@ class ExecutionConfig { /// Required. core.List? usages; + /// If true, additional logging will be enabled when running builds in this + /// execution environment. + /// + /// Optional. + core.bool? verbose; + /// The resource name of the `WorkerPool`, with the format /// `projects/{project}/locations/{location}/workerPools/{worker_pool}`. /// @@ -5298,6 +5314,7 @@ class ExecutionConfig { this.privatePool, this.serviceAccount, this.usages, + this.verbose, this.workerPool, }); @@ -5325,6 +5342,9 @@ class ExecutionConfig { .map((value) => value as core.String) .toList() : null, + verbose: json_.containsKey('verbose') + ? json_['verbose'] as core.bool + : null, workerPool: json_.containsKey('workerPool') ? json_['workerPool'] as core.String : null, @@ -5337,6 +5357,7 @@ class ExecutionConfig { if (privatePool != null) 'privatePool': privatePool!, if (serviceAccount != null) 'serviceAccount': serviceAccount!, if (usages != null) 'usages': usages!, + if (verbose != null) 'verbose': verbose!, if (workerPool != null) 'workerPool': workerPool!, }; } @@ -7180,7 +7201,7 @@ class PromoteReleaseRule { /// ID of the rule. /// /// This id must be unique in the `Automation` resource to which this rule - /// belongs. The format is `a-z{0,62}`. + /// belongs. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. /// /// Required. core.String? id; @@ -7295,7 +7316,8 @@ class Release { /// Name of the `Release`. /// /// Format is - /// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/a-z{0,62}`. + /// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`. + /// The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` /// /// Optional. core.String? name; @@ -7767,7 +7789,7 @@ class RepairRolloutRule { /// ID of the rule. /// /// This id must be unique in the `Automation` resource to which this rule - /// belongs. The format is `a-z{0,62}`. + /// belongs. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. /// /// Required. core.String? id; @@ -8320,7 +8342,7 @@ class Rollout { /// Name of the `ControllerRollout`. /// /// Format is - /// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}`. + /// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. /// /// Output only. core.String? controllerRollout; @@ -8412,7 +8434,8 @@ class Rollout { /// Name of the `Rollout`. /// /// Format is - /// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/a-z{0,62}`. + /// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. + /// The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` /// /// Optional. core.String? name; @@ -9250,7 +9273,8 @@ class Target { /// Name of the `Target`. /// - /// Format is `projects/{project}/locations/{location}/targets/a-z{0,62}`. + /// Format is `projects/{project}/locations/{location}/targets/{target}`. The + /// `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?` /// /// Optional. core.String? name; diff --git a/generated/googleapis/lib/cloudfunctions/v1.dart b/generated/googleapis/lib/cloudfunctions/v1.dart index 135b2a510..a81087e73 100644 --- a/generated/googleapis/lib/cloudfunctions/v1.dart +++ b/generated/googleapis/lib/cloudfunctions/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -1833,7 +1834,28 @@ class ListOperationsResponse { typedef Location = $Location00; /// Security patches are only applied when a function is redeployed. -typedef OnDeployUpdatePolicy = $OnDeployUpdatePolicy; +class OnDeployUpdatePolicy { + /// Contains the runtime version which was used during latest function + /// deployment. + /// + /// Output only. + core.String? runtimeVersion; + + OnDeployUpdatePolicy({ + this.runtimeVersion, + }); + + OnDeployUpdatePolicy.fromJson(core.Map json_) + : this( + runtimeVersion: json_.containsKey('runtimeVersion') + ? json_['runtimeVersion'] as core.String + : null, + ); + + core.Map toJson() => { + if (runtimeVersion != null) 'runtimeVersion': runtimeVersion!, + }; +} /// This resource represents a long-running operation that is the result of a /// network API call. diff --git a/generated/googleapis/lib/cloudfunctions/v2.dart b/generated/googleapis/lib/cloudfunctions/v2.dart index 780e5c884..c52df7b91 100644 --- a/generated/googleapis/lib/cloudfunctions/v2.dart +++ b/generated/googleapis/lib/cloudfunctions/v2.dart @@ -3,6 +3,7 @@ // 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 @@ -2051,7 +2052,28 @@ class ListRuntimesResponse { typedef Location = $Location00; /// Security patches are only applied when a function is redeployed. -typedef OnDeployUpdatePolicy = $OnDeployUpdatePolicy; +class OnDeployUpdatePolicy { + /// contains the runtime version which was used during latest function + /// deployment. + /// + /// Output only. + core.String? runtimeVersion; + + OnDeployUpdatePolicy({ + this.runtimeVersion, + }); + + OnDeployUpdatePolicy.fromJson(core.Map json_) + : this( + runtimeVersion: json_.containsKey('runtimeVersion') + ? json_['runtimeVersion'] as core.String + : null, + ); + + core.Map toJson() => { + if (runtimeVersion != null) 'runtimeVersion': runtimeVersion!, + }; +} /// This resource represents a long-running operation that is the result of a /// network API call. @@ -2591,6 +2613,12 @@ class ServiceConfig { /// a full description. core.String? availableMemory; + /// The binary authorization policy to be checked when deploying the Cloud Run + /// service. + /// + /// Optional. + core.String? binaryAuthorizationPolicy; + /// Environment variables that shall be available during function execution. core.Map? environmentVariables; @@ -2706,6 +2734,7 @@ class ServiceConfig { this.allTrafficOnLatestRevision, this.availableCpu, this.availableMemory, + this.binaryAuthorizationPolicy, this.environmentVariables, this.ingressSettings, this.maxInstanceCount, @@ -2735,6 +2764,10 @@ class ServiceConfig { availableMemory: json_.containsKey('availableMemory') ? json_['availableMemory'] as core.String : null, + binaryAuthorizationPolicy: + json_.containsKey('binaryAuthorizationPolicy') + ? json_['binaryAuthorizationPolicy'] as core.String + : null, environmentVariables: json_.containsKey('environmentVariables') ? (json_['environmentVariables'] as core.Map) @@ -2801,6 +2834,8 @@ class ServiceConfig { 'allTrafficOnLatestRevision': allTrafficOnLatestRevision!, if (availableCpu != null) 'availableCpu': availableCpu!, if (availableMemory != null) 'availableMemory': availableMemory!, + if (binaryAuthorizationPolicy != null) + 'binaryAuthorizationPolicy': binaryAuthorizationPolicy!, if (environmentVariables != null) 'environmentVariables': environmentVariables!, if (ingressSettings != null) 'ingressSettings': ingressSettings!, @@ -2980,10 +3015,16 @@ class StorageSource { /// to build. core.String? object; + /// When the specified storage bucket is a 1st gen function uploard url + /// bucket, this field should be set as the generated upload url for 1st gen + /// deployment. + core.String? sourceUploadUrl; + StorageSource({ this.bucket, this.generation, this.object, + this.sourceUploadUrl, }); StorageSource.fromJson(core.Map json_) @@ -2997,12 +3038,16 @@ class StorageSource { object: json_.containsKey('object') ? json_['object'] as core.String : null, + sourceUploadUrl: json_.containsKey('sourceUploadUrl') + ? json_['sourceUploadUrl'] as core.String + : null, ); core.Map toJson() => { if (bucket != null) 'bucket': bucket!, if (generation != null) 'generation': generation!, if (object != null) 'object': object!, + if (sourceUploadUrl != null) 'sourceUploadUrl': sourceUploadUrl!, }; } diff --git a/generated/googleapis/lib/cloudidentity/v1.dart b/generated/googleapis/lib/cloudidentity/v1.dart index e31b3fd91..e59064c04 100644 --- a/generated/googleapis/lib/cloudidentity/v1.dart +++ b/generated/googleapis/lib/cloudidentity/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/cloudkms/v1.dart b/generated/googleapis/lib/cloudkms/v1.dart index 2411f70e6..4c3f8b7e0 100644 --- a/generated/googleapis/lib/cloudkms/v1.dart +++ b/generated/googleapis/lib/cloudkms/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -5214,8 +5215,6 @@ class KeyHandle { /// /// Name of the KeyHandle resource, e.g. /// `projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}`. - /// - /// Output only. core.String? name; /// Indicates the resource type that the resulting CryptoKey is meant to diff --git a/generated/googleapis/lib/cloudprofiler/v2.dart b/generated/googleapis/lib/cloudprofiler/v2.dart index 80d8d717e..73328b97f 100644 --- a/generated/googleapis/lib/cloudprofiler/v2.dart +++ b/generated/googleapis/lib/cloudprofiler/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/cloudresourcemanager/v1.dart b/generated/googleapis/lib/cloudresourcemanager/v1.dart index f8390467b..3e2514ce6 100644 --- a/generated/googleapis/lib/cloudresourcemanager/v1.dart +++ b/generated/googleapis/lib/cloudresourcemanager/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/cloudresourcemanager/v2.dart b/generated/googleapis/lib/cloudresourcemanager/v2.dart index 55b371547..69515b578 100644 --- a/generated/googleapis/lib/cloudresourcemanager/v2.dart +++ b/generated/googleapis/lib/cloudresourcemanager/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/cloudresourcemanager/v3.dart b/generated/googleapis/lib/cloudresourcemanager/v3.dart index 082b644cf..114a772a8 100644 --- a/generated/googleapis/lib/cloudresourcemanager/v3.dart +++ b/generated/googleapis/lib/cloudresourcemanager/v3.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/cloudscheduler/v1.dart b/generated/googleapis/lib/cloudscheduler/v1.dart index d6c9ee483..3b7543086 100644 --- a/generated/googleapis/lib/cloudscheduler/v1.dart +++ b/generated/googleapis/lib/cloudscheduler/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/cloudsearch/v1.dart b/generated/googleapis/lib/cloudsearch/v1.dart index 38ff7d50c..e44c2865d 100644 --- a/generated/googleapis/lib/cloudsearch/v1.dart +++ b/generated/googleapis/lib/cloudsearch/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/cloudshell/v1.dart b/generated/googleapis/lib/cloudshell/v1.dart index 3ab0134b1..d479f5064 100644 --- a/generated/googleapis/lib/cloudshell/v1.dart +++ b/generated/googleapis/lib/cloudshell/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/cloudsupport/v2.dart b/generated/googleapis/lib/cloudsupport/v2.dart index 9294a73df..5803f2e73 100644 --- a/generated/googleapis/lib/cloudsupport/v2.dart +++ b/generated/googleapis/lib/cloudsupport/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/cloudtasks/v2.dart b/generated/googleapis/lib/cloudtasks/v2.dart index 0b9c0753c..69ff2f580 100644 --- a/generated/googleapis/lib/cloudtasks/v2.dart +++ b/generated/googleapis/lib/cloudtasks/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/cloudtrace/v2.dart b/generated/googleapis/lib/cloudtrace/v2.dart index a75ea9c16..cc323cea4 100644 --- a/generated/googleapis/lib/cloudtrace/v2.dart +++ b/generated/googleapis/lib/cloudtrace/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/composer/v1.dart b/generated/googleapis/lib/composer/v1.dart index 4c97af8af..4ccb263e5 100644 --- a/generated/googleapis/lib/composer/v1.dart +++ b/generated/googleapis/lib/composer/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -97,6 +98,51 @@ class ProjectsLocationsEnvironmentsResource { ProjectsLocationsEnvironmentsResource(commons.ApiRequester client) : _requester = client; + /// Check if an upgrade operation on the environment will succeed. + /// + /// In case of problems detailed info can be found in the returned Operation. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [environment] - Required. The resource name of the environment to check + /// upgrade for, in the form: + /// "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/environments/\[^/\]+$`. + /// + /// [$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 checkUpgrade( + CheckUpgradeRequest request, + core.String environment, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$environment') + ':checkUpgrade'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map); + } + /// Create a new environment. /// /// [request] - The metadata request object. @@ -1499,6 +1545,49 @@ class AllowedIpRange { }; } +/// Request to check whether image upgrade will succeed. +class CheckUpgradeRequest { + /// The version of the software running in the environment. + /// + /// This encapsulates both the version of Cloud Composer functionality and the + /// version of Apache Airflow. It must match the regular expression + /// `composer-([0-9]+(\.[0-9]+\.[0-9]+(-preview\.[0-9]+)?)?|latest)-airflow-([0-9]+(\.[0-9]+(\.[0-9]+)?)?)`. + /// When used as input, the server also checks if the provided version is + /// supported and denies the request for an unsupported version. The Cloud + /// Composer portion of the image version is a full + /// [semantic version](https://semver.org), or an alias in the form of major + /// version number or `latest`. When an alias is provided, the server replaces + /// it with the current Cloud Composer version that satisfies the alias. The + /// Apache Airflow portion of the image version is a full semantic version + /// that points to one of the supported Apache Airflow versions, or an alias + /// in the form of only major or major.minor versions specified. When an alias + /// is provided, the server replaces it with the latest Apache Airflow version + /// that satisfies the alias and is supported in the given Cloud Composer + /// version. In all cases, the resolved image version is stored in the same + /// field. See also \[version + /// list\](/composer/docs/concepts/versioning/composer-versions) and + /// \[versioning + /// overview\](/composer/docs/concepts/versioning/composer-versioning-overview). + /// + /// Optional. + core.String? imageVersion; + + CheckUpgradeRequest({ + this.imageVersion, + }); + + CheckUpgradeRequest.fromJson(core.Map json_) + : this( + imageVersion: json_.containsKey('imageVersion') + ? json_['imageVersion'] as core.String + : null, + ); + + core.Map toJson() => { + if (imageVersion != null) 'imageVersion': imageVersion!, + }; +} + /// CIDR block with an optional name. class CidrBlock { /// CIDR block that must be specified in CIDR notation. diff --git a/generated/googleapis/lib/compute/v1.dart b/generated/googleapis/lib/compute/v1.dart index 369b514c7..f306910ac 100644 --- a/generated/googleapis/lib/compute/v1.dart +++ b/generated/googleapis/lib/compute/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -25637,7 +25638,7 @@ class NetworksResource { /// Patches the specified network with the data included in the request. /// - /// Only the following fields can be modified: routingConfig.routingMode. + /// Only routingConfig can be modified. /// /// [request] - The metadata request object. /// @@ -42661,7 +42662,13 @@ class RegionsResource { /// field). To exclude one or more fields, set your request's `fields` query /// parameter to only include the fields you need. For example, to only /// include the `id` and `selfLink` fields, add the query parameter - /// `?fields=id,selfLink` to your request. + /// `?fields=id,selfLink` to your request. This method fails if the quota + /// information is unavailable for the region and if the organization policy + /// constraint compute.requireBasicQuotaInResponse is enforced. This + /// constraint, when enforced, disables the fail-open behaviour when quota + /// information (the `items.quotas` field) is unavailable for the region. It + /// is recommended to use the default setting for the constraint unless your + /// application requires the fail-closed behaviour for this method. /// /// Request parameters: /// @@ -59767,9 +59774,10 @@ class AttachedDisk { /// when you attach the disk to a virtual machine instance. If you do not /// provide an encryption key, then the disk will be encrypted using an /// automatically generated key and you do not need to provide a key to use - /// the disk later. Instance templates do not store customer-supplied + /// the disk later. Note: Instance templates do not store customer-supplied /// encryption keys, so you cannot use your own keys to encrypt disks in a - /// managed instance group. + /// managed instance group. You cannot create VMs that have disks with + /// customer-supplied keys using the bulk insert method. CustomerEncryptionKey? diskEncryptionKey; /// The size of the disk in GB. @@ -59857,12 +59865,12 @@ class AttachedDisk { /// Specifies a valid partial or full URL to an existing Persistent Disk /// resource. /// - /// When creating a new instance, one of initializeParams.sourceImage or - /// initializeParams.sourceSnapshot or disks.source is required except for - /// local SSD. If desired, you can also attach existing non-root persistent - /// disks using this property. This field is only applicable for persistent - /// disks. Note that for InstanceTemplate, specify the disk name for zonal - /// disk, and the URL for regional disk. + /// When creating a new instance boot disk, one of + /// initializeParams.sourceImage or initializeParams.sourceSnapshot or + /// disks.source is required. If desired, you can also attach existing + /// non-root persistent disks using this property. This field is only + /// applicable for persistent disks. Note that for InstanceTemplate, specify + /// the disk name for zonal disk, and the URL for regional disk. core.String? source; /// Specifies the type of the disk, either SCRATCH or PERSISTENT. @@ -60090,11 +60098,11 @@ class AttachedDiskInitializeParams { /// The source image to create this disk. /// - /// When creating a new instance, one of initializeParams.sourceImage or - /// initializeParams.sourceSnapshot or disks.source is required except for - /// local SSD. To create a disk with one of the public operating system - /// images, specify the image by its family name. For example, specify - /// family/debian-9 to use the latest Debian 9 image: + /// When creating a new instance boot disk, one of + /// initializeParams.sourceImage or initializeParams.sourceSnapshot or + /// disks.source is required. To create a disk with one of the public + /// operating system images, specify the image by its family name. For + /// example, specify family/debian-9 to use the latest Debian 9 image: /// projects/debian-cloud/global/images/family/debian-9 Alternatively, use a /// specific version of a public operating system image: /// projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a @@ -60117,11 +60125,12 @@ class AttachedDiskInitializeParams { /// The source snapshot to create this disk. /// - /// When creating a new instance, one of initializeParams.sourceSnapshot or - /// initializeParams.sourceImage or disks.source is required except for local - /// SSD. To create a disk with a snapshot that you created, specify the - /// snapshot name in the following format: global/snapshots/my-backup If the - /// source snapshot is deleted later, this field will not be set. + /// When creating a new instance boot disk, one of + /// initializeParams.sourceSnapshot or initializeParams.sourceImage or + /// disks.source is required. To create a disk with a snapshot that you + /// created, specify the snapshot name in the following format: + /// global/snapshots/my-backup If the source snapshot is deleted later, this + /// field will not be set. core.String? sourceSnapshot; /// The customer-supplied encryption key of the source snapshot. @@ -60390,38 +60399,6 @@ class AuditLogConfig { }; } -/// This is deprecated and has no effect. -/// -/// Do not use. -class AuthorizationLoggingOptions { - /// This is deprecated and has no effect. - /// - /// Do not use. - /// Possible string values are: - /// - "ADMIN_READ" : This is deprecated and has no effect. Do not use. - /// - "ADMIN_WRITE" : This is deprecated and has no effect. Do not use. - /// - "DATA_READ" : This is deprecated and has no effect. Do not use. - /// - "DATA_WRITE" : This is deprecated and has no effect. Do not use. - /// - "PERMISSION_TYPE_UNSPECIFIED" : This is deprecated and has no effect. Do - /// not use. - core.String? permissionType; - - AuthorizationLoggingOptions({ - this.permissionType, - }); - - AuthorizationLoggingOptions.fromJson(core.Map json_) - : this( - permissionType: json_.containsKey('permissionType') - ? json_['permissionType'] as core.String - : null, - ); - - core.Map toJson() => { - if (permissionType != null) 'permissionType': permissionType!, - }; -} - /// Represents an Autoscaler resource. /// /// Google Compute Engine has two Autoscaler resources: * @@ -67340,6 +67317,23 @@ class DeprecationStatus { /// The regionDisks resource represents a regional persistent disk. For more /// information, read Regional resources. class Disk { + /// The access mode of the disk. + /// + /// - READ_WRITE_SINGLE: The default AccessMode, means the disk can be + /// attached to single instance in RW mode. - READ_WRITE_MANY: The AccessMode + /// means the disk can be attached to multiple instances in RW mode. - + /// READ_ONLY_MANY: The AccessMode means the disk can be attached to multiple + /// instances in RO mode. The AccessMode is only valid for Hyperdisk disk + /// types. + /// Possible string values are: + /// - "READ_ONLY_MANY" : The AccessMode means the disk can be attached to + /// multiple instances in RO mode. + /// - "READ_WRITE_MANY" : The AccessMode means the disk can be attached to + /// multiple instances in RW mode. + /// - "READ_WRITE_SINGLE" : The default AccessMode, means the disk can be + /// attached to single instance in RW mode. + core.String? accessMode; + /// The architecture of the disk. /// /// Valid values are ARM64 or X86_64. @@ -67711,6 +67705,7 @@ class Disk { core.String? zone; Disk({ + this.accessMode, this.architecture, this.asyncPrimaryDisk, this.asyncSecondaryDisks, @@ -67764,6 +67759,9 @@ class Disk { Disk.fromJson(core.Map json_) : this( + accessMode: json_.containsKey('accessMode') + ? json_['accessMode'] as core.String + : null, architecture: json_.containsKey('architecture') ? json_['architecture'] as core.String : null, @@ -67942,6 +67940,7 @@ class Disk { ); core.Map toJson() => { + if (accessMode != null) 'accessMode': accessMode!, if (architecture != null) 'architecture': architecture!, if (asyncPrimaryDisk != null) 'asyncPrimaryDisk': asyncPrimaryDisk!, if (asyncSecondaryDisks != null) @@ -80260,6 +80259,16 @@ class InstanceGroupManager { /// Output only. core.String? region; + /// Reserved for future use. + /// + /// Output only. + core.bool? satisfiesPzi; + + /// Reserved for future use. + /// + /// Output only. + core.bool? satisfiesPzs; + /// The URL for this managed instance group. /// /// The server defines this URL. @@ -80327,6 +80336,8 @@ class InstanceGroupManager { this.name, this.namedPorts, this.region, + this.satisfiesPzi, + this.satisfiesPzs, this.selfLink, this.statefulPolicy, this.status, @@ -80399,6 +80410,12 @@ class InstanceGroupManager { region: json_.containsKey('region') ? json_['region'] as core.String : null, + satisfiesPzi: json_.containsKey('satisfiesPzi') + ? json_['satisfiesPzi'] as core.bool + : null, + satisfiesPzs: json_.containsKey('satisfiesPzs') + ? json_['satisfiesPzs'] as core.bool + : null, selfLink: json_.containsKey('selfLink') ? json_['selfLink'] as core.String : null, @@ -80454,6 +80471,8 @@ class InstanceGroupManager { if (name != null) 'name': name!, if (namedPorts != null) 'namedPorts': namedPorts!, if (region != null) 'region': region!, + if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!, + if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!, if (selfLink != null) 'selfLink': selfLink!, if (statefulPolicy != null) 'statefulPolicy': statefulPolicy!, if (status != null) 'status': status!, @@ -84256,6 +84275,11 @@ class InstanceProperties { /// The machine type to use for instances that are created from these /// properties. + /// + /// This field only accept machine types name. e.g. n2-standard-4 and does not + /// accept machine type full or partial url. e.g. + /// projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4 + /// will throw INTERNAL_ERROR. core.String? machineType; /// The metadata key/value pairs to assign to instances that are created from @@ -91655,11 +91679,6 @@ class LogConfig { /// /// Do not use. class LogConfigCloudAuditOptions { - /// This is deprecated and has no effect. - /// - /// Do not use. - AuthorizationLoggingOptions? authorizationLoggingOptions; - /// This is deprecated and has no effect. /// /// Do not use. @@ -91671,26 +91690,17 @@ class LogConfigCloudAuditOptions { core.String? logName; LogConfigCloudAuditOptions({ - this.authorizationLoggingOptions, this.logName, }); LogConfigCloudAuditOptions.fromJson(core.Map json_) : this( - authorizationLoggingOptions: - json_.containsKey('authorizationLoggingOptions') - ? AuthorizationLoggingOptions.fromJson( - json_['authorizationLoggingOptions'] - as core.Map) - : null, logName: json_.containsKey('logName') ? json_['logName'] as core.String : null, ); core.Map toJson() => { - if (authorizationLoggingOptions != null) - 'authorizationLoggingOptions': authorizationLoggingOptions!, if (logName != null) 'logName': logName!, }; } @@ -97177,6 +97187,7 @@ class NetworkInterface { /// This may be gVNIC or VirtioNet. /// Possible string values are: /// - "GVNIC" : GVNIC + /// - "IDPF" : IDPF /// - "UNSPECIFIED_NIC_TYPE" : No type specified. /// - "VIRTIO_NET" : VIRTIO core.String? nicType; @@ -127530,6 +127541,39 @@ class TargetHttpsProxy { /// If not set, the TargetHttpsProxy resource has no SSL policy configured. core.String? sslPolicy; + /// Specifies whether TLS 1.3 0-RTT Data ("Early Data") should be accepted for + /// this service. + /// + /// Early Data allows a TLS resumption handshake to include the initial + /// application payload (a HTTP request) alongside the handshake, reducing the + /// effective round trips to "zero". This applies to TLS 1.3 connections over + /// TCP (HTTP/2) as well as over UDP (QUIC/h3). This can improve application + /// performance, especially on networks where interruptions may be common, + /// such as on mobile. Requests with Early Data will have the "Early-Data" + /// HTTP header set on the request, with a value of "1", to allow the backend + /// to determine whether Early Data was included. Note: TLS Early Data may + /// allow requests to be replayed, as the data is sent to the backend before + /// the handshake has fully completed. Applications that allow idempotent HTTP + /// methods to make non-idempotent changes, such as a GET request updating a + /// database, should not accept Early Data on those requests, and reject + /// requests with the "Early-Data: 1" HTTP header by returning a HTTP 425 (Too + /// Early) status code, in order to remain RFC compliant. The default value is + /// DISABLED. + /// Possible string values are: + /// - "DISABLED" : TLS 1.3 Early Data is not advertised, and any (invalid) + /// attempts to send Early Data will be rejected by closing the connection. + /// - "PERMISSIVE" : This enables TLS 1.3 0-RTT, and only allows Early Data to + /// be included on requests with safe HTTP methods (GET, HEAD, OPTIONS, + /// TRACE). This mode does not enforce any other limitations for requests with + /// Early Data. The application owner should validate that Early Data is + /// acceptable for a given request path. + /// - "STRICT" : This enables TLS 1.3 0-RTT, and only allows Early Data to be + /// included on requests with safe HTTP methods (GET, HEAD, OPTIONS, TRACE) + /// without query parameters. Requests that send Early Data with + /// non-idempotent HTTP methods or with query parameters will be rejected with + /// a HTTP 425. + core.String? tlsEarlyData; + /// A fully-qualified or valid partial URL to the UrlMap resource that defines /// the mapping from URL to the BackendService. /// @@ -127555,6 +127599,7 @@ class TargetHttpsProxy { this.serverTlsPolicy, this.sslCertificates, this.sslPolicy, + this.tlsEarlyData, this.urlMap, }); @@ -127604,6 +127649,9 @@ class TargetHttpsProxy { sslPolicy: json_.containsKey('sslPolicy') ? json_['sslPolicy'] as core.String : null, + tlsEarlyData: json_.containsKey('tlsEarlyData') + ? json_['tlsEarlyData'] as core.String + : null, urlMap: json_.containsKey('urlMap') ? json_['urlMap'] as core.String : null, @@ -127628,6 +127676,7 @@ class TargetHttpsProxy { if (serverTlsPolicy != null) 'serverTlsPolicy': serverTlsPolicy!, if (sslCertificates != null) 'sslCertificates': sslCertificates!, if (sslPolicy != null) 'sslPolicy': sslPolicy!, + if (tlsEarlyData != null) 'tlsEarlyData': tlsEarlyData!, if (urlMap != null) 'urlMap': urlMap!, }; } @@ -134242,6 +134291,7 @@ class VpnGateway { /// Possible string values are: /// - "IPV4_IPV6" : Enable VPN gateway with both IPv4 and IPv6 protocols. /// - "IPV4_ONLY" : Enable VPN gateway with only IPv4 protocol. + /// - "IPV6_ONLY" : Enable VPN gateway with only IPv6 protocol. core.String? stackType; /// The list of VPN interfaces associated with this VPN gateway. @@ -136590,7 +136640,7 @@ class XpnResourceId { /// Represents a Zone resource. /// /// A zone is a deployment area. These deployment areas are subsets of a region. -/// For example the zone us-east1-a is located in the us-east1 region. For more +/// For example the zone us-east1-b is located in the us-east1 region. For more /// information, read Regions and Zones. class Zone { /// Available cpu/platform selections for the zone. diff --git a/generated/googleapis/lib/config/v1.dart b/generated/googleapis/lib/config/v1.dart index cf33f5b9b..26e711f29 100644 --- a/generated/googleapis/lib/config/v1.dart +++ b/generated/googleapis/lib/config/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/connectors/v1.dart b/generated/googleapis/lib/connectors/v1.dart index 8fdf5fcc3..a0df390e9 100644 --- a/generated/googleapis/lib/connectors/v1.dart +++ b/generated/googleapis/lib/connectors/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -1656,6 +1657,48 @@ class ProjectsLocationsCustomConnectorsCustomConnectorVersionsResource { ); return Operation.fromJson(response_ as core.Map); } + + /// Deprecates a single CustomConnectorVersion. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. Resource name of the form: + /// `projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}` + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/customConnectors/\[^/\]+/customConnectorVersions/\[^/\]+$`. + /// + /// [$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 deprecate( + DeprecateCustomConnectorVersionRequest 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') + ':deprecate'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map); + } } class ProjectsLocationsEndpointAttachmentsResource { @@ -5026,25 +5069,7 @@ class ConnectorVersionInfraConfig { } /// Log configuration for the connection. -class ConnectorsLogConfig { - /// Enabled represents whether logging is enabled or not for a connection. - core.bool? enabled; - - ConnectorsLogConfig({ - this.enabled, - }); - - ConnectorsLogConfig.fromJson(core.Map json_) - : this( - enabled: json_.containsKey('enabled') - ? json_['enabled'] as core.bool - : null, - ); - - core.Map toJson() => { - if (enabled != null) 'enabled': enabled!, - }; -} +typedef ConnectorsLogConfig = $LogConfig; /// CustomConnector represents the custom connector defined by the customer as /// part of byoc. @@ -5347,6 +5372,9 @@ class CustomConnectorVersion { /// Dead Letter configuration details provided by the user. typedef DeadLetterConfig = $DeadLetterConfig; + +/// Request message for ConnectorsService.DeprecateCustomConnectorVersion +typedef DeprecateCustomConnectorVersionRequest = $Empty; typedef Destination = $Destination; /// Define the Connectors target endpoint. @@ -5611,6 +5639,13 @@ class EndpointAttachment { /// Optional. core.String? description; + /// The Private Service Connect Connection Endpoint Global Access. + /// + /// https://cloud.google.com/vpc/docs/about-accessing-vpc-hosted-services-endpoints#global-access + /// + /// Optional. + core.bool? endpointGlobalAccess; + /// The Private Service Connect connection endpoint ip /// /// Output only. @@ -5645,6 +5680,7 @@ class EndpointAttachment { EndpointAttachment({ this.createTime, this.description, + this.endpointGlobalAccess, this.endpointIp, this.labels, this.name, @@ -5660,6 +5696,9 @@ class EndpointAttachment { description: json_.containsKey('description') ? json_['description'] as core.String : null, + endpointGlobalAccess: json_.containsKey('endpointGlobalAccess') + ? json_['endpointGlobalAccess'] as core.bool + : null, endpointIp: json_.containsKey('endpointIp') ? json_['endpointIp'] as core.String : null, @@ -5683,6 +5722,8 @@ class EndpointAttachment { core.Map toJson() => { if (createTime != null) 'createTime': createTime!, if (description != null) 'description': description!, + if (endpointGlobalAccess != null) + 'endpointGlobalAccess': endpointGlobalAccess!, if (endpointIp != null) 'endpointIp': endpointIp!, if (labels != null) 'labels': labels!, if (name != null) 'name': name!, diff --git a/generated/googleapis/lib/connectors/v2.dart b/generated/googleapis/lib/connectors/v2.dart index 1dab29d1a..3ecf66129 100644 --- a/generated/googleapis/lib/connectors/v2.dart +++ b/generated/googleapis/lib/connectors/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/contactcenterinsights/v1.dart b/generated/googleapis/lib/contactcenterinsights/v1.dart index de752da1e..62a5bb7c0 100644 --- a/generated/googleapis/lib/contactcenterinsights/v1.dart +++ b/generated/googleapis/lib/contactcenterinsights/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -587,7 +588,12 @@ class ProjectsLocationsConversationsResource { /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/conversations/\[^/\]+$`. /// - /// [updateMask] - The list of fields to be updated. + /// [updateMask] - The list of fields to be updated. All possible fields can + /// be updated by passing `*`, or a subset of the following updateable fields + /// can be provided: * `agent_id` * `language_code` * `labels` * `metadata` * + /// `quality_metadata` * `call_metadata` * `start_time` * `expire_time` or + /// `ttl` * `data_source.gcs_source.audio_uri` or + /// `data_source.dialogflow_source.audio_uri` /// /// [$fields] - Selector specifying which fields to include in a partial /// response. diff --git a/generated/googleapis/lib/container/v1.dart b/generated/googleapis/lib/container/v1.dart index e28385973..46d4b655d 100644 --- a/generated/googleapis/lib/container/v1.dart +++ b/generated/googleapis/lib/container/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -11769,45 +11770,7 @@ typedef SecondaryBootDiskUpdateStrategy = $Empty; /// SecurityPostureConfig defines the flags needed to enable/disable features /// for the Security Posture API. -class SecurityPostureConfig { - /// Sets which mode to use for Security Posture features. - /// Possible string values are: - /// - "MODE_UNSPECIFIED" : Default value not specified. - /// - "DISABLED" : Disables Security Posture features on the cluster. - /// - "BASIC" : Applies Security Posture features on the cluster. - /// - "ENTERPRISE" : Applies the Security Posture off cluster Enterprise level - /// features. - core.String? mode; - - /// Sets which mode to use for vulnerability scanning. - /// Possible string values are: - /// - "VULNERABILITY_MODE_UNSPECIFIED" : Default value not specified. - /// - "VULNERABILITY_DISABLED" : Disables vulnerability scanning on the - /// cluster. - /// - "VULNERABILITY_BASIC" : Applies basic vulnerability scanning on the - /// cluster. - /// - "VULNERABILITY_ENTERPRISE" : Applies the Security Posture's - /// vulnerability on cluster Enterprise level features. - core.String? vulnerabilityMode; - - SecurityPostureConfig({ - this.mode, - this.vulnerabilityMode, - }); - - SecurityPostureConfig.fromJson(core.Map json_) - : this( - mode: json_.containsKey('mode') ? json_['mode'] as core.String : null, - vulnerabilityMode: json_.containsKey('vulnerabilityMode') - ? json_['vulnerabilityMode'] as core.String - : null, - ); - - core.Map toJson() => { - if (mode != null) 'mode': mode!, - if (vulnerabilityMode != null) 'vulnerabilityMode': vulnerabilityMode!, - }; -} +typedef SecurityPostureConfig = $SecurityPostureConfig; /// Kubernetes Engine service configuration. class ServerConfig { diff --git a/generated/googleapis/lib/containeranalysis/v1.dart b/generated/googleapis/lib/containeranalysis/v1.dart index 87dddc25d..9c6c9ef06 100644 --- a/generated/googleapis/lib/containeranalysis/v1.dart +++ b/generated/googleapis/lib/containeranalysis/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -2569,9 +2570,13 @@ class ComplianceOccurrence { core.String? nonComplianceReason; core.List? nonCompliantFiles; + /// The OS and config version the benchmark was run on. + ComplianceVersion? version; + ComplianceOccurrence({ this.nonComplianceReason, this.nonCompliantFiles, + this.version, }); ComplianceOccurrence.fromJson(core.Map json_) @@ -2585,12 +2590,17 @@ class ComplianceOccurrence { value as core.Map)) .toList() : null, + version: json_.containsKey('version') + ? ComplianceVersion.fromJson( + json_['version'] as core.Map) + : null, ); core.Map toJson() => { if (nonComplianceReason != null) 'nonComplianceReason': nonComplianceReason!, if (nonCompliantFiles != null) 'nonCompliantFiles': nonCompliantFiles!, + if (version != null) 'version': version!, }; } diff --git a/generated/googleapis/lib/content/v2_1.dart b/generated/googleapis/lib/content/v2_1.dart index 2964257a2..3837dc02d 100644 --- a/generated/googleapis/lib/content/v2_1.dart +++ b/generated/googleapis/lib/content/v2_1.dart @@ -3,6 +3,7 @@ // 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 @@ -18253,22 +18254,25 @@ class MethodQuota { /// Values are only set for metrics requested explicitly in the request's search /// query. class Metrics { - /// Average order size - the average number of items in an order. + /// *Deprecated*: This field is no longer supported and retrieving it returns + /// 0 starting from May 2024. /// - /// **This metric cannot be segmented by product dimensions and + /// Average order size - the average number of items in an order. **This + /// metric cannot be segmented by product dimensions and /// customer_country_code.** core.double? aos; + /// *Deprecated*: This field is no longer supported and retrieving it returns + /// 0 starting from May 2024. + /// /// Average order value in micros (1 millionth of a standard unit, 1 USD = /// 1000000 micros) - the average value (total price of items) of all placed - /// orders. - /// - /// The currency of the returned value is stored in the currency_code segment. - /// If this metric is selected, 'segments.currency_code' is automatically - /// added to the SELECT clause in the search query (unless it is explicitly - /// selected by the user) and the currency_code segment is populated in the - /// response. **This metric cannot be segmented by product dimensions and - /// customer_country_code.** + /// orders. The currency of the returned value is stored in the currency_code + /// segment. If this metric is selected, 'segments.currency_code' is + /// automatically added to the SELECT clause in the search query (unless it is + /// explicitly selected by the user) and the currency_code segment is + /// populated in the response. **This metric cannot be segmented by product + /// dimensions and customer_country_code.** core.double? aovMicros; /// Number of clicks. @@ -18277,7 +18281,7 @@ class Metrics { /// Number of conversions divided by the number of clicks, reported on the /// impression date. /// - /// The metric is currently available only for the FREE_PRODUCT_LISTING + /// The metric is currently available only for the `FREE_PRODUCT_LISTING` /// program. core.double? conversionRate; @@ -18285,7 +18289,7 @@ class Metrics { /// 1000000 micros) attributed to the product, reported on the conversion /// date. /// - /// The metric is currently available only for the FREE_PRODUCT_LISTING + /// The metric is currently available only for the `FREE_PRODUCT_LISTING` /// program. The currency of the returned value is stored in the currency_code /// segment. If this metric is selected, 'segments.currency_code' is /// automatically added to the SELECT clause in the search query (unless it is @@ -18299,7 +18303,7 @@ class Metrics { /// Depending on the attribution model, a conversion might be distributed /// across multiple clicks, where each click gets its own credit assigned. /// This metric is a sum of all such credits. The metric is currently - /// available only for the FREE_PRODUCT_LISTING program. + /// available only for the `FREE_PRODUCT_LISTING` program. core.double? conversions; /// Click-through rate - the number of clicks merchant's products receive @@ -18307,121 +18311,146 @@ class Metrics { /// (impressions). core.double? ctr; - /// Average number of days between an order being placed and the order being - /// fully shipped, reported on the last shipment date. + /// *Deprecated*: This field is no longer supported and retrieving it returns + /// 0 starting from May 2024. /// - /// **This metric cannot be segmented by product dimensions and - /// customer_country_code.** + /// Average number of days between an order being placed and the order being + /// fully shipped, reported on the last shipment date. **This metric cannot be + /// segmented by product dimensions and customer_country_code.** core.double? daysToShip; /// Number of times merchant's products are shown. core.String? impressions; + /// *Deprecated*: This field is no longer supported and retrieving it returns + /// 0 starting from May 2024. + /// /// Average number of days between an item being ordered and the item being /// **This metric cannot be segmented by customer_country_code.** core.double? itemDaysToShip; + /// *Deprecated*: This field is no longer supported and retrieving it returns + /// 0 starting from May 2024. + /// /// Percentage of shipped items in relation to all finalized items (shipped or /// rejected by the merchant; unshipped items are not taken into account), - /// reported on the order date. - /// - /// Item fill rate is lowered by merchant rejections. **This metric cannot be - /// segmented by customer_country_code.** + /// reported on the order date. Item fill rate is lowered by merchant + /// rejections. **This metric cannot be segmented by customer_country_code.** core.double? itemFillRate; + /// *Deprecated*: This field is no longer supported and retrieving it returns + /// 0 starting from May 2024. + /// /// Total price of ordered items in micros (1 millionth of a standard unit, 1 - /// USD = 1000000 micros). - /// - /// Excludes shipping, taxes (US only), and customer cancellations that - /// happened within 30 minutes of placing the order. The currency of the - /// returned value is stored in the currency_code segment. If this metric is - /// selected, 'segments.currency_code' is automatically added to the SELECT - /// clause in the search query (unless it is explicitly selected by the user) - /// and the currency_code segment is populated in the response. **This metric - /// cannot be segmented by customer_country_code.** + /// USD = 1000000 micros). Excludes shipping, taxes (US only), and customer + /// cancellations that happened within 30 minutes of placing the order. The + /// currency of the returned value is stored in the currency_code segment. If + /// this metric is selected, 'segments.currency_code' is automatically added + /// to the SELECT clause in the search query (unless it is explicitly selected + /// by the user) and the currency_code segment is populated in the response. + /// **This metric cannot be segmented by customer_country_code.** core.String? orderedItemSalesMicros; - /// Number of ordered items. + /// *Deprecated*: This field is no longer supported and retrieving it returns + /// 0 starting from May 2024. /// - /// Excludes customer cancellations that happened within 30 minutes of placing - /// the order. **This metric cannot be segmented by customer_country_code.** + /// Number of ordered items. Excludes customer cancellations that happened + /// within 30 minutes of placing the order. **This metric cannot be segmented + /// by customer_country_code.** core.String? orderedItems; - /// Number of placed orders. + /// *Deprecated*: This field is no longer supported and retrieving it returns + /// 0 starting from May 2024. /// - /// Excludes customer cancellations that happened within 30 minutes of placing - /// the order. **This metric cannot be segmented by product dimensions and - /// customer_country_code.** + /// Number of placed orders. Excludes customer cancellations that happened + /// within 30 minutes of placing the order. **This metric cannot be segmented + /// by product dimensions and customer_country_code.** core.String? orders; - /// Number of ordered items canceled by the merchant, reported on the order - /// date. + /// *Deprecated*: This field is no longer supported and retrieving it returns + /// 0 starting from May 2024. /// - /// **This metric cannot be segmented by customer_country_code.** + /// Number of ordered items canceled by the merchant, reported on the order + /// date. **This metric cannot be segmented by customer_country_code.** core.String? rejectedItems; - /// Total price of returned items divided by the total price of shipped items, - /// reported on the order date. + /// *Deprecated*: This field is no longer supported and retrieving it returns + /// 0 starting from May 2024. /// - /// If this metric is selected, 'segments.currency_code' is automatically - /// added to the SELECT clause in the search query (unless it is explicitly - /// selected by the user) and the currency_code segment is populated in the - /// response. **This metric cannot be segmented by customer_country_code.** + /// Total price of returned items divided by the total price of shipped items, + /// reported on the order date. If this metric is selected, + /// 'segments.currency_code' is automatically added to the SELECT clause in + /// the search query (unless it is explicitly selected by the user) and the + /// currency_code segment is populated in the response. **This metric cannot + /// be segmented by customer_country_code.** core.double? returnRate; - /// Number of ordered items sent back for return, reported on the date when - /// the merchant accepted the return. + /// *Deprecated*: This field is no longer supported and retrieving it returns + /// 0 starting from May 2024. /// - /// **This metric cannot be segmented by customer_country_code.** + /// Number of ordered items sent back for return, reported on the date when + /// the merchant accepted the return. **This metric cannot be segmented by + /// customer_country_code.** core.String? returnedItems; + /// *Deprecated*: This field is no longer supported and retrieving it returns + /// 0 starting from May 2024. + /// /// Total price of ordered items sent back for return in micros (1 millionth /// of a standard unit, 1 USD = 1000000 micros), reported on the date when the - /// merchant accepted the return. - /// - /// The currency of the returned value is stored in the currency_code segment. - /// If this metric is selected, 'segments.currency_code' is automatically - /// added to the SELECT clause in the search query (unless it is explicitly - /// selected by the user) and the currency_code segment is populated in the - /// response. **This metric cannot be segmented by customer_country_code.** + /// merchant accepted the return. The currency of the returned value is stored + /// in the currency_code segment. If this metric is selected, + /// 'segments.currency_code' is automatically added to the SELECT clause in + /// the search query (unless it is explicitly selected by the user) and the + /// currency_code segment is populated in the response. **This metric cannot + /// be segmented by customer_country_code.** core.String? returnsMicros; - /// Total price of shipped items in micros (1 millionth of a standard unit, 1 - /// USD = 1000000 micros), reported on the order date. + /// *Deprecated*: This field is no longer supported and retrieving it returns + /// 0 starting from May 2024. /// - /// Excludes shipping and taxes (US only). The currency of the returned value - /// is stored in the currency_code segment. If this metric is selected, + /// Total price of shipped items in micros (1 millionth of a standard unit, 1 + /// USD = 1000000 micros), reported on the order date. Excludes shipping and + /// taxes (US only). The currency of the returned value is stored in the + /// currency_code segment. If this metric is selected, /// 'segments.currency_code' is automatically added to the SELECT clause in /// the search query (unless it is explicitly selected by the user) and the /// currency_code segment is populated in the response. **This metric cannot /// be segmented by customer_country_code.** core.String? shippedItemSalesMicros; - /// Number of shipped items, reported on the shipment date. + /// *Deprecated*: This field is no longer supported and retrieving it returns + /// 0 starting from May 2024. /// - /// **This metric cannot be segmented by customer_country_code.** + /// Number of shipped items, reported on the shipment date. **This metric + /// cannot be segmented by customer_country_code.** core.String? shippedItems; - /// Number of fully shipped orders, reported on the last shipment date. + /// *Deprecated*: This field is no longer supported and retrieving it returns + /// 0 starting from May 2024. /// - /// **This metric cannot be segmented by product dimensions and + /// Number of fully shipped orders, reported on the last shipment date. **This + /// metric cannot be segmented by product dimensions and /// customer_country_code.** core.String? shippedOrders; - /// Number of ordered items not shipped up until the end of the queried day. + /// *Deprecated*: This field is no longer supported and retrieving it returns + /// 0 starting from May 2024. /// + /// Number of ordered items not shipped up until the end of the queried day. /// If a multi-day period is specified in the search query, the returned value /// is the average number of unshipped items over the days in the queried /// period. **This metric cannot be segmented by customer_country_code.** core.double? unshippedItems; - /// Number of orders not shipped or partially shipped up until the end of the - /// queried day. + /// *Deprecated*: This field is no longer supported and retrieving it returns + /// 0 starting from May 2024. /// - /// If a multi-day period is specified in the search query, the returned value - /// is the average number of unshipped orders over the days in the queried - /// period. **This metric cannot be segmented by product dimensions and - /// customer_country_code.** + /// Number of orders not shipped or partially shipped up until the end of the + /// queried day. If a multi-day period is specified in the search query, the + /// returned value is the average number of unshipped orders over the days in + /// the queried period. **This metric cannot be segmented by product + /// dimensions and customer_country_code.** core.double? unshippedOrders; Metrics({ @@ -25336,9 +25365,20 @@ class Product { core.String? linkTemplate; /// Loyalty program information that is used to surface loyalty benefits ( for - /// example pricing, points, etc) to the user for this item. + /// example, better pricing, points, etc) to the user of this item. + /// + /// This signular field points to the latest uploaded loyalty program info. + /// This field will be deprecated in the coming weeks and should not be used + /// in favor of the plural 'LoyaltyProgram' field below. LoyaltyProgram? loyaltyProgram; + /// A list of loyalty program information that is used to surface loyalty + /// benefits (for example, better pricing, points, etc) to the user of this + /// item. + /// + /// Optional. + core.List? loyaltyPrograms; + /// The material of which the item is made. core.String? material; @@ -25585,6 +25625,7 @@ class Product { this.link, this.linkTemplate, this.loyaltyProgram, + this.loyaltyPrograms, this.material, this.maxEnergyEfficiencyClass, this.maxHandlingTime, @@ -25814,6 +25855,12 @@ class Product { ? LoyaltyProgram.fromJson(json_['loyaltyProgram'] as core.Map) : null, + loyaltyPrograms: json_.containsKey('loyaltyPrograms') + ? (json_['loyaltyPrograms'] as core.List) + .map((value) => LoyaltyProgram.fromJson( + value as core.Map)) + .toList() + : null, material: json_.containsKey('material') ? json_['material'] as core.String : null, @@ -26060,6 +26107,7 @@ class Product { if (link != null) 'link': link!, if (linkTemplate != null) 'linkTemplate': linkTemplate!, if (loyaltyProgram != null) 'loyaltyProgram': loyaltyProgram!, + if (loyaltyPrograms != null) 'loyaltyPrograms': loyaltyPrograms!, if (material != null) 'material': material!, if (maxEnergyEfficiencyClass != null) 'maxEnergyEfficiencyClass': maxEnergyEfficiencyClass!, @@ -26179,10 +26227,17 @@ class ProductCertification { /// Maximum length is 2000 characters. core.String? certificationName; + /// The certification value (also known as class, level or grade), for example + /// "A+", "C", "gold". + /// + /// Maximum length is 2000 characters. + core.String? certificationValue; + ProductCertification({ this.certificationAuthority, this.certificationCode, this.certificationName, + this.certificationValue, }); ProductCertification.fromJson(core.Map json_) @@ -26196,6 +26251,9 @@ class ProductCertification { certificationName: json_.containsKey('certificationName') ? json_['certificationName'] as core.String : null, + certificationValue: json_.containsKey('certificationValue') + ? json_['certificationValue'] as core.String + : null, ); core.Map toJson() => { @@ -26203,6 +26261,8 @@ class ProductCertification { 'certificationAuthority': certificationAuthority!, if (certificationCode != null) 'certificationCode': certificationCode!, if (certificationName != null) 'certificationName': certificationName!, + if (certificationValue != null) + 'certificationValue': certificationValue!, }; } @@ -31669,7 +31729,9 @@ class Segments { /// - "SHOPPING_ADS" : Shopping Ads. /// - "FREE_PRODUCT_LISTING" : Free Product Listing. /// - "FREE_LOCAL_PRODUCT_LISTING" : Free Local Product Listing. - /// - "BUY_ON_GOOGLE_LISTING" : Buy on Google Listing. + /// - "BUY_ON_GOOGLE_LISTING" : *Deprecated*: This value is no longer + /// supported. Retrieving all metrics for the `BUY_ON_GOOGLE_LISTING` program + /// returns 0 starting from May 2024. Buy on Google Listing. core.String? program; /// Title of the product. diff --git a/generated/googleapis/lib/contentwarehouse/v1.dart b/generated/googleapis/lib/contentwarehouse/v1.dart index cfbebd0be..2f8b31d27 100644 --- a/generated/googleapis/lib/contentwarehouse/v1.dart +++ b/generated/googleapis/lib/contentwarehouse/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/customsearch/v1.dart b/generated/googleapis/lib/customsearch/v1.dart index 2c70d8577..aa3b61998 100644 --- a/generated/googleapis/lib/customsearch/v1.dart +++ b/generated/googleapis/lib/customsearch/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/datacatalog/v1.dart b/generated/googleapis/lib/datacatalog/v1.dart index 280117fb1..1e0353b78 100644 --- a/generated/googleapis/lib/datacatalog/v1.dart +++ b/generated/googleapis/lib/datacatalog/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -7781,39 +7782,7 @@ class GoogleCloudDatacatalogV1VertexDatasetSpec { } /// Detail description of the source information of a Vertex model. -class GoogleCloudDatacatalogV1VertexModelSourceInfo { - /// If this Model is copy of another Model. - /// - /// If true then source_type pertains to the original. - core.bool? copy; - - /// Type of the model source. - /// Possible string values are: - /// - "MODEL_SOURCE_TYPE_UNSPECIFIED" : Should not be used. - /// - "AUTOML" : The Model is uploaded by automl training pipeline. - /// - "CUSTOM" : The Model is uploaded by user or custom training pipeline. - /// - "BQML" : The Model is registered and sync'ed from BigQuery ML. - /// - "MODEL_GARDEN" : The Model is saved or tuned from Model Garden. - core.String? sourceType; - - GoogleCloudDatacatalogV1VertexModelSourceInfo({ - this.copy, - this.sourceType, - }); - - GoogleCloudDatacatalogV1VertexModelSourceInfo.fromJson(core.Map json_) - : this( - copy: json_.containsKey('copy') ? json_['copy'] as core.bool : null, - sourceType: json_.containsKey('sourceType') - ? json_['sourceType'] as core.String - : null, - ); - - core.Map toJson() => { - if (copy != null) 'copy': copy!, - if (sourceType != null) 'sourceType': sourceType!, - }; -} +typedef GoogleCloudDatacatalogV1VertexModelSourceInfo = $ModelSourceInfo; /// Specification for vertex model resources. class GoogleCloudDatacatalogV1VertexModelSpec { diff --git a/generated/googleapis/lib/datafusion/v1.dart b/generated/googleapis/lib/datafusion/v1.dart index 2bc33cada..73f2aefb4 100644 --- a/generated/googleapis/lib/datafusion/v1.dart +++ b/generated/googleapis/lib/datafusion/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/datalineage/v1.dart b/generated/googleapis/lib/datalineage/v1.dart index 579585943..f8c395769 100644 --- a/generated/googleapis/lib/datalineage/v1.dart +++ b/generated/googleapis/lib/datalineage/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/datamigration/v1.dart b/generated/googleapis/lib/datamigration/v1.dart index b3784bf47..6bf587aa1 100644 --- a/generated/googleapis/lib/datamigration/v1.dart +++ b/generated/googleapis/lib/datamigration/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/datapipelines/v1.dart b/generated/googleapis/lib/datapipelines/v1.dart index e58a05977..affa4d7cb 100644 --- a/generated/googleapis/lib/datapipelines/v1.dart +++ b/generated/googleapis/lib/datapipelines/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/dataplex/v1.dart b/generated/googleapis/lib/dataplex/v1.dart index 730da65a6..cc4852eda 100644 --- a/generated/googleapis/lib/dataplex/v1.dart +++ b/generated/googleapis/lib/dataplex/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/dataportability/v1.dart b/generated/googleapis/lib/dataportability/v1.dart index b3a9b33f1..4b5ee75b4 100644 --- a/generated/googleapis/lib/dataportability/v1.dart +++ b/generated/googleapis/lib/dataportability/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/dataproc/v1.dart b/generated/googleapis/lib/dataproc/v1.dart index 4d7fac5a1..990a9b6f4 100644 --- a/generated/googleapis/lib/dataproc/v1.dart +++ b/generated/googleapis/lib/dataproc/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/datastore/v1.dart b/generated/googleapis/lib/datastore/v1.dart index a5c77782d..264e10d3b 100644 --- a/generated/googleapis/lib/datastore/v1.dart +++ b/generated/googleapis/lib/datastore/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/datastream/v1.dart b/generated/googleapis/lib/datastream/v1.dart index bb00fe54d..4a564ccde 100644 --- a/generated/googleapis/lib/datastream/v1.dart +++ b/generated/googleapis/lib/datastream/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/deploymentmanager/v2.dart b/generated/googleapis/lib/deploymentmanager/v2.dart index bfee12efa..96aff4046 100644 --- a/generated/googleapis/lib/deploymentmanager/v2.dart +++ b/generated/googleapis/lib/deploymentmanager/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/developerconnect/v1.dart b/generated/googleapis/lib/developerconnect/v1.dart new file mode 100644 index 000000000..0977a397e --- /dev/null +++ b/generated/googleapis/lib/developerconnect/v1.dart @@ -0,0 +1,1883 @@ +// 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 + +/// Developer Connect API - v1 +/// +/// Connect third-party source code management to Google +/// +/// For more information, see +/// +/// +/// Create an instance of [DeveloperConnectApi] to access these resources: +/// +/// - [ProjectsResource] +/// - [ProjectsLocationsResource] +/// - [ProjectsLocationsConnectionsResource] +/// - [ProjectsLocationsConnectionsGitRepositoryLinksResource] +/// - [ProjectsLocationsOperationsResource] +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; + +/// Connect third-party source code management to Google +class DeveloperConnectApi { + /// 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; + + ProjectsResource get projects => ProjectsResource(_requester); + + DeveloperConnectApi(http.Client client, + {core.String rootUrl = 'https://developerconnect.googleapis.com/', + core.String servicePath = ''}) + : _requester = + commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); +} + +class ProjectsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsResource get locations => + ProjectsLocationsResource(_requester); + + ProjectsResource(commons.ApiRequester client) : _requester = client; +} + +class ProjectsLocationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsConnectionsResource get connections => + ProjectsLocationsConnectionsResource(_requester); + ProjectsLocationsOperationsResource get operations => + ProjectsLocationsOperationsResource(_requester); + + ProjectsLocationsResource(commons.ApiRequester client) : _requester = client; + + /// Gets information about a location. + /// + /// Request parameters: + /// + /// [name] - Resource name for the location. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Location]. + /// + /// 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 Location.fromJson(response_ as core.Map); + } + + /// Lists information about the supported locations for this service. + /// + /// Request parameters: + /// + /// [name] - The resource that owns the locations collection, if applicable. + /// Value must have pattern `^projects/\[^/\]+$`. + /// + /// [filter] - A filter to narrow down results to a preferred subset. The + /// filtering language accepts strings like `"displayName=tokyo"`, and is + /// documented in more detail in \[AIP-160\](https://google.aip.dev/160). + /// + /// [pageSize] - The maximum number of results to return. If not set, the + /// service selects a default. + /// + /// [pageToken] - A page token received from the `next_page_token` field in + /// the response. Send that page token to receive the subsequent page. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListLocationsResponse]. + /// + /// 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_ = 'v1/' + core.Uri.encodeFull('$name') + '/locations'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListLocationsResponse.fromJson( + response_ as core.Map); + } +} + +class ProjectsLocationsConnectionsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsConnectionsGitRepositoryLinksResource + get gitRepositoryLinks => + ProjectsLocationsConnectionsGitRepositoryLinksResource(_requester); + + ProjectsLocationsConnectionsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a new Connection in a given project and location. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Value for parent. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [connectionId] - Required. Id of the requesting object If auto-generating + /// Id server-side, remove this field and connection_id from the + /// method_signature of Create RPC + /// + /// [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). + /// + /// [validateOnly] - Optional. If set, validate the request, but do not + /// actually post it. + /// + /// [$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 create( + Connection request, + core.String parent, { + core.String? connectionId, + core.String? requestId, + core.bool? validateOnly, + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if (connectionId != null) 'connectionId': [connectionId], + if (requestId != null) 'requestId': [requestId], + if (validateOnly != null) 'validateOnly': ['${validateOnly}'], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/connections'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map); + } + + /// Deletes a single Connection. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the resource + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/connections/\[^/\]+$`. + /// + /// [etag] - Optional. The current etag of the Connection. If an etag is + /// provided and does not match the current etag of the Connection, deletion + /// will be blocked and an ABORTED error will be returned. + /// + /// [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). + /// + /// [validateOnly] - Optional. If set, validate the request, but do not + /// actually post it. + /// + /// [$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 delete( + core.String name, { + core.String? etag, + core.String? requestId, + core.bool? validateOnly, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (etag != null) 'etag': [etag], + if (requestId != null) 'requestId': [requestId], + if (validateOnly != null) 'validateOnly': ['${validateOnly}'], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map); + } + + /// FetchGitHubInstallations returns the list of GitHub Installations that are + /// available to be added to a Connection. + /// + /// For github.com, only installations accessible to the authorizer token are + /// returned. For GitHub Enterprise, all installations are returned. + /// + /// Request parameters: + /// + /// [connection] - Required. The resource name of the connection in the format + /// `projects / * /locations / * /connections / * `. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/connections/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [FetchGitHubInstallationsResponse]. + /// + /// 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 fetchGitHubInstallations( + core.String connection, { + core.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + + core.Uri.encodeFull('$connection') + + ':fetchGitHubInstallations'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return FetchGitHubInstallationsResponse.fromJson( + response_ as core.Map); + } + + /// FetchLinkableGitRepositories returns a list of git repositories from an + /// SCM that are available to be added to a Connection. + /// + /// Request parameters: + /// + /// [connection] - Required. The name of the Connection. Format: `projects / * + /// /locations / * /connections / * `. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/connections/\[^/\]+$`. + /// + /// [pageSize] - Optional. Number of results to return in the list. Defaults + /// to 20. + /// + /// [pageToken] - Optional. Page start. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [FetchLinkableGitRepositoriesResponse]. + /// + /// 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 + fetchLinkableGitRepositories( + core.String connection, { + 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('$connection') + + ':fetchLinkableGitRepositories'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return FetchLinkableGitRepositoriesResponse.fromJson( + response_ as core.Map); + } + + /// Gets details of a single Connection. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the resource + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/connections/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Connection]. + /// + /// 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 Connection.fromJson( + response_ as core.Map); + } + + /// Lists Connections in a given project and location. + /// + /// Request parameters: + /// + /// [parent] - Required. Parent value for ListConnectionsRequest + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - Optional. Filtering results + /// + /// [orderBy] - Optional. Hint for how to order the results + /// + /// [pageSize] - Optional. Requested page size. Server may return fewer items + /// than requested. If unspecified, server will pick an appropriate default. + /// + /// [pageToken] - Optional. A token identifying a page of results the server + /// should return. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListConnectionsResponse]. + /// + /// 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.String? orderBy, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (filter != null) 'filter': [filter], + if (orderBy != null) 'orderBy': [orderBy], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/connections'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListConnectionsResponse.fromJson( + response_ as core.Map); + } + + /// Updates the parameters of a single Connection. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Identifier. The resource name of the connection, in the format + /// `projects/{project}/locations/{location}/connections/{connection_id}`. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/connections/\[^/\]+$`. + /// + /// [allowMissing] - Optional. If set to true, and the connection is not found + /// a new connection will be created. In this situation `update_mask` is + /// ignored. The creation will succeed only if the input connection has all + /// the necessary information (e.g a github_config with both user_oauth_token + /// and installation_id properties). + /// + /// [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). + /// + /// [updateMask] - Required. Field mask is used to specify the fields to be + /// overwritten in the Connection resource by the update. The fields specified + /// in the update_mask are relative to the resource, not the full request. A + /// field will be overwritten if it is in the mask. If the user does not + /// provide a mask then all fields will be overwritten. + /// + /// [validateOnly] - Optional. If set, validate the request, but do not + /// actually post it. + /// + /// [$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 patch( + Connection request, + core.String name, { + core.bool? allowMissing, + core.String? requestId, + core.String? updateMask, + core.bool? validateOnly, + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if (allowMissing != null) 'allowMissing': ['${allowMissing}'], + if (requestId != null) 'requestId': [requestId], + if (updateMask != null) 'updateMask': [updateMask], + if (validateOnly != null) 'validateOnly': ['${validateOnly}'], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map); + } +} + +class ProjectsLocationsConnectionsGitRepositoryLinksResource { + final commons.ApiRequester _requester; + + ProjectsLocationsConnectionsGitRepositoryLinksResource( + commons.ApiRequester client) + : _requester = client; + + /// Creates a GitRepositoryLink. + /// + /// Upon linking a Git Repository, Developer Connect will configure the Git + /// Repository to send webhook events to Developer Connect. Connections that + /// use Firebase GitHub Application will have events forwarded to the Firebase + /// service. All other Connections will have events forwarded to Cloud Build. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Value for parent. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/connections/\[^/\]+$`. + /// + /// [gitRepositoryLinkId] - Required. The ID to use for the repository, which + /// will become the final component of the repository's resource name. This ID + /// should be unique in the connection. Allows alphanumeric characters and any + /// of -._~%!$&'()*+,;=@. + /// + /// [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). + /// + /// [validateOnly] - Optional. If set, validate the request, but do not + /// actually post it. + /// + /// [$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 create( + GitRepositoryLink request, + core.String parent, { + core.String? gitRepositoryLinkId, + core.String? requestId, + core.bool? validateOnly, + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if (gitRepositoryLinkId != null) + 'gitRepositoryLinkId': [gitRepositoryLinkId], + if (requestId != null) 'requestId': [requestId], + if (validateOnly != null) 'validateOnly': ['${validateOnly}'], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/gitRepositoryLinks'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map); + } + + /// Deletes a single GitRepositoryLink. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the resource + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/connections/\[^/\]+/gitRepositoryLinks/\[^/\]+$`. + /// + /// [etag] - Optional. This checksum is computed by the server based on the + /// value of other fields, and may be sent on update and delete requests to + /// ensure the client has an up-to-date value before proceeding. + /// + /// [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). + /// + /// [validateOnly] - Optional. If set, validate the request, but do not + /// actually post it. + /// + /// [$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 delete( + core.String name, { + core.String? etag, + core.String? requestId, + core.bool? validateOnly, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (etag != null) 'etag': [etag], + if (requestId != null) 'requestId': [requestId], + if (validateOnly != null) 'validateOnly': ['${validateOnly}'], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map); + } + + /// Fetch the list of branches or tags for a given repository. + /// + /// Request parameters: + /// + /// [gitRepositoryLink] - Required. The resource name of GitRepositoryLink in + /// the format `projects / * /locations / * /connections / * + /// /gitRepositoryLinks / * `. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/connections/\[^/\]+/gitRepositoryLinks/\[^/\]+$`. + /// + /// [pageSize] - Optional. Number of results to return in the list. Default to + /// 20. + /// + /// [pageToken] - Optional. Page start. + /// + /// [refType] - Required. Type of refs to fetch. + /// Possible string values are: + /// - "REF_TYPE_UNSPECIFIED" : No type specified. + /// - "TAG" : To fetch tags. + /// - "BRANCH" : To fetch branches. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [FetchGitRefsResponse]. + /// + /// 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 fetchGitRefs( + core.String gitRepositoryLink, { + core.int? pageSize, + core.String? pageToken, + core.String? refType, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if (refType != null) 'refType': [refType], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1/' + core.Uri.encodeFull('$gitRepositoryLink') + ':fetchGitRefs'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return FetchGitRefsResponse.fromJson( + response_ as core.Map); + } + + /// Fetches read token of a given gitRepositoryLink. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [gitRepositoryLink] - Required. The resource name of the gitRepositoryLink + /// in the format `projects / * /locations / * /connections / * + /// /gitRepositoryLinks / * `. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/connections/\[^/\]+/gitRepositoryLinks/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [FetchReadTokenResponse]. + /// + /// 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 fetchReadToken( + FetchReadTokenRequest request, + core.String gitRepositoryLink, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1/' + core.Uri.encodeFull('$gitRepositoryLink') + ':fetchReadToken'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return FetchReadTokenResponse.fromJson( + response_ as core.Map); + } + + /// Fetches read/write token of a given gitRepositoryLink. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [gitRepositoryLink] - Required. The resource name of the gitRepositoryLink + /// in the format `projects / * /locations / * /connections / * + /// /gitRepositoryLinks / * `. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/connections/\[^/\]+/gitRepositoryLinks/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [FetchReadWriteTokenResponse]. + /// + /// 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 fetchReadWriteToken( + FetchReadWriteTokenRequest request, + core.String gitRepositoryLink, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + + core.Uri.encodeFull('$gitRepositoryLink') + + ':fetchReadWriteToken'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return FetchReadWriteTokenResponse.fromJson( + response_ as core.Map); + } + + /// Gets details of a single GitRepositoryLink. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the resource + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/connections/\[^/\]+/gitRepositoryLinks/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GitRepositoryLink]. + /// + /// 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 GitRepositoryLink.fromJson( + response_ as core.Map); + } + + /// Lists GitRepositoryLinks in a given project, location, and connection. + /// + /// Request parameters: + /// + /// [parent] - Required. Parent value for ListGitRepositoryLinksRequest + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/connections/\[^/\]+$`. + /// + /// [filter] - Optional. Filtering results + /// + /// [orderBy] - Optional. Hint for how to order the results + /// + /// [pageSize] - Optional. Requested page size. Server may return fewer items + /// than requested. If unspecified, server will pick an appropriate default. + /// + /// [pageToken] - Optional. A token identifying a page of results the server + /// should return. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListGitRepositoryLinksResponse]. + /// + /// 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.String? orderBy, + core.int? pageSize, + core.String? pageToken, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (filter != null) 'filter': [filter], + if (orderBy != null) 'orderBy': [orderBy], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/gitRepositoryLinks'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListGitRepositoryLinksResponse.fromJson( + response_ as core.Map); + } +} + +class ProjectsLocationsOperationsResource { + final commons.ApiRequester _requester; + + ProjectsLocationsOperationsResource(commons.ApiRequester client) + : _requester = client; + + /// Starts asynchronous cancellation on a long-running operation. + /// + /// The server makes a best effort to cancel the operation, but success is not + /// guaranteed. If the server doesn't support this method, it returns + /// `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation + /// or other methods to check whether the cancellation succeeded or whether + /// the operation completed despite cancellation. On successful cancellation, + /// the operation is not deleted; instead, it becomes an operation with an + /// Operation.error value with a google.rpc.Status.code of 1, corresponding to + /// `Code.CANCELLED`. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource to be cancelled. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$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 cancel( + CancelOperationRequest 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') + ':cancel'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Empty.fromJson(response_ as core.Map); + } + + /// Deletes a long-running operation. + /// + /// This method indicates that the client is no longer interested in the + /// operation result. It does not cancel the operation. If the server doesn't + /// support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource to be deleted. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$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 delete( + 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_, + 'DELETE', + queryParams: queryParams_, + ); + return Empty.fromJson(response_ as core.Map); + } + + /// Gets the latest state of a long-running operation. + /// + /// Clients can use this method to poll the operation result at intervals as + /// recommended by the API service. + /// + /// Request parameters: + /// + /// [name] - The name of the operation resource. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/operations/\[^/\]+$`. + /// + /// [$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 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 Operation.fromJson(response_ as core.Map); + } + + /// Lists operations that match the specified filter in the request. + /// + /// If the server doesn't support this method, it returns `UNIMPLEMENTED`. + /// + /// Request parameters: + /// + /// [name] - The name of the operation's parent resource. + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [filter] - The standard list filter. + /// + /// [pageSize] - The standard list page size. + /// + /// [pageToken] - The standard list page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListOperationsResponse]. + /// + /// 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_ = 'v1/' + core.Uri.encodeFull('$name') + '/operations'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListOperationsResponse.fromJson( + response_ as core.Map); + } +} + +/// The request message for Operations.CancelOperation. +typedef CancelOperationRequest = $Empty; + +/// Message describing Connection object +class Connection { + /// Allows clients to store small amounts of arbitrary data. + /// + /// Optional. + core.Map? annotations; + + /// Create timestamp + /// + /// Output only. + core.String? createTime; + + /// Delete timestamp + /// + /// Output only. + core.String? deleteTime; + + /// If disabled is set to true, functionality is disabled for this connection. + /// + /// Repository based API methods and webhooks processing for repositories in + /// this connection will be disabled. + /// + /// Optional. + core.bool? disabled; + + /// This checksum is computed by the server based on the value of other + /// fields, and may be sent on update and delete requests to ensure the client + /// has an up-to-date value before proceeding. + /// + /// Optional. + core.String? etag; + + /// Configuration for connections to github.com. + GitHubConfig? githubConfig; + + /// Installation state of the Connection. + /// + /// Output only. + InstallationState? installationState; + + /// Labels as key value pairs + /// + /// Optional. + core.Map? labels; + + /// Identifier. + /// + /// The resource name of the connection, in the format + /// `projects/{project}/locations/{location}/connections/{connection_id}`. + core.String? name; + + /// Set to true when the connection is being set up or updated in the + /// background. + /// + /// Output only. + core.bool? reconciling; + + /// A system-assigned unique identifier for a the GitRepositoryLink. + /// + /// Output only. + core.String? uid; + + /// Update timestamp + /// + /// Output only. + core.String? updateTime; + + Connection({ + this.annotations, + this.createTime, + this.deleteTime, + this.disabled, + this.etag, + this.githubConfig, + this.installationState, + this.labels, + this.name, + this.reconciling, + this.uid, + this.updateTime, + }); + + Connection.fromJson(core.Map json_) + : this( + annotations: json_.containsKey('annotations') + ? (json_['annotations'] as core.Map) + .map( + (key, value) => core.MapEntry( + key, + value as core.String, + ), + ) + : null, + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + deleteTime: json_.containsKey('deleteTime') + ? json_['deleteTime'] as core.String + : null, + disabled: json_.containsKey('disabled') + ? json_['disabled'] as core.bool + : null, + etag: json_.containsKey('etag') ? json_['etag'] as core.String : null, + githubConfig: json_.containsKey('githubConfig') + ? GitHubConfig.fromJson( + json_['githubConfig'] as core.Map) + : null, + installationState: json_.containsKey('installationState') + ? InstallationState.fromJson(json_['installationState'] + as core.Map) + : null, + labels: json_.containsKey('labels') + ? (json_['labels'] as core.Map).map( + (key, value) => core.MapEntry( + key, + value as core.String, + ), + ) + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + reconciling: json_.containsKey('reconciling') + ? json_['reconciling'] as core.bool + : null, + uid: json_.containsKey('uid') ? json_['uid'] as core.String : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (annotations != null) 'annotations': annotations!, + if (createTime != null) 'createTime': createTime!, + if (deleteTime != null) 'deleteTime': deleteTime!, + if (disabled != null) 'disabled': disabled!, + if (etag != null) 'etag': etag!, + if (githubConfig != null) 'githubConfig': githubConfig!, + if (installationState != null) 'installationState': installationState!, + if (labels != null) 'labels': labels!, + if (name != null) 'name': name!, + if (reconciling != null) 'reconciling': reconciling!, + if (uid != null) 'uid': uid!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// 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; + +/// Response of fetching github installations. +class FetchGitHubInstallationsResponse { + /// List of installations available to the OAuth user (for github.com) or all + /// the installations (for GitHub enterprise). + core.List? installations; + + FetchGitHubInstallationsResponse({ + this.installations, + }); + + FetchGitHubInstallationsResponse.fromJson(core.Map json_) + : this( + installations: json_.containsKey('installations') + ? (json_['installations'] as core.List) + .map((value) => Installation.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (installations != null) 'installations': installations!, + }; +} + +/// Response for fetching git refs. +typedef FetchGitRefsResponse = $FetchGitRefsResponse; + +/// Response message for FetchLinkableGitRepositories. +class FetchLinkableGitRepositoriesResponse { + /// The git repositories that can be linked to the connection. + core.List? linkableGitRepositories; + + /// A token identifying a page of results the server should return. + core.String? nextPageToken; + + FetchLinkableGitRepositoriesResponse({ + this.linkableGitRepositories, + this.nextPageToken, + }); + + FetchLinkableGitRepositoriesResponse.fromJson(core.Map json_) + : this( + linkableGitRepositories: json_.containsKey('linkableGitRepositories') + ? (json_['linkableGitRepositories'] as core.List) + .map((value) => LinkableGitRepository.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (linkableGitRepositories != null) + 'linkableGitRepositories': linkableGitRepositories!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Message for fetching SCM read token. +typedef FetchReadTokenRequest = $Empty; + +/// Message for responding to get read token. +typedef FetchReadTokenResponse = $TokenResponse01; + +/// Message for fetching SCM read/write token. +typedef FetchReadWriteTokenRequest = $Empty; + +/// Message for responding to get read/write token. +typedef FetchReadWriteTokenResponse = $TokenResponse01; + +/// Configuration for connections to github.com. +class GitHubConfig { + /// GitHub App installation id. + /// + /// Optional. + core.String? appInstallationId; + + /// OAuth credential of the account that authorized the GitHub App. + /// + /// It is recommended to use a robot account instead of a human user account. + /// The OAuth token must be tied to the GitHub App of this config. + /// + /// Optional. + OAuthCredential? authorizerCredential; + + /// The GitHub Application that was installed to the GitHub user or + /// organization. + /// + /// Required. Immutable. + /// Possible string values are: + /// - "GIT_HUB_APP_UNSPECIFIED" : GitHub App not specified. + /// - "DEVELOPER_CONNECT" : The Developer Connect GitHub Application. + /// - "FIREBASE" : The Firebase GitHub Application. + core.String? githubApp; + + /// The URI to navigate to in order to manage the installation associated with + /// this GitHubConfig. + /// + /// Output only. + core.String? installationUri; + + GitHubConfig({ + this.appInstallationId, + this.authorizerCredential, + this.githubApp, + this.installationUri, + }); + + GitHubConfig.fromJson(core.Map json_) + : this( + appInstallationId: json_.containsKey('appInstallationId') + ? json_['appInstallationId'] as core.String + : null, + authorizerCredential: json_.containsKey('authorizerCredential') + ? OAuthCredential.fromJson(json_['authorizerCredential'] + as core.Map) + : null, + githubApp: json_.containsKey('githubApp') + ? json_['githubApp'] as core.String + : null, + installationUri: json_.containsKey('installationUri') + ? json_['installationUri'] as core.String + : null, + ); + + core.Map toJson() => { + if (appInstallationId != null) 'appInstallationId': appInstallationId!, + if (authorizerCredential != null) + 'authorizerCredential': authorizerCredential!, + if (githubApp != null) 'githubApp': githubApp!, + if (installationUri != null) 'installationUri': installationUri!, + }; +} + +/// Message describing the GitRepositoryLink object +class GitRepositoryLink { + /// Allows clients to store small amounts of arbitrary data. + /// + /// Optional. + core.Map? annotations; + + /// Git Clone URI. + /// + /// Required. + core.String? cloneUri; + + /// Create timestamp + /// + /// Output only. + core.String? createTime; + + /// Delete timestamp + /// + /// Output only. + core.String? deleteTime; + + /// This checksum is computed by the server based on the value of other + /// fields, and may be sent on update and delete requests to ensure the client + /// has an up-to-date value before proceeding. + /// + /// Optional. + core.String? etag; + + /// Labels as key value pairs + /// + /// Optional. + core.Map? labels; + + /// Identifier. + /// + /// Resource name of the repository, in the format `projects / * /locations / + /// * /connections / * /gitRepositoryLinks / * `. + core.String? name; + + /// Set to true when the connection is being set up or updated in the + /// background. + /// + /// Output only. + core.bool? reconciling; + + /// A system-assigned unique identifier for a the GitRepositoryLink. + /// + /// Output only. + core.String? uid; + + /// Update timestamp + /// + /// Output only. + core.String? updateTime; + + GitRepositoryLink({ + this.annotations, + this.cloneUri, + this.createTime, + this.deleteTime, + this.etag, + this.labels, + this.name, + this.reconciling, + this.uid, + this.updateTime, + }); + + GitRepositoryLink.fromJson(core.Map json_) + : this( + annotations: json_.containsKey('annotations') + ? (json_['annotations'] as core.Map) + .map( + (key, value) => core.MapEntry( + key, + value as core.String, + ), + ) + : null, + cloneUri: json_.containsKey('cloneUri') + ? json_['cloneUri'] as core.String + : null, + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + deleteTime: json_.containsKey('deleteTime') + ? json_['deleteTime'] as core.String + : null, + etag: json_.containsKey('etag') ? json_['etag'] as core.String : null, + labels: json_.containsKey('labels') + ? (json_['labels'] as core.Map).map( + (key, value) => core.MapEntry( + key, + value as core.String, + ), + ) + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + reconciling: json_.containsKey('reconciling') + ? json_['reconciling'] as core.bool + : null, + uid: json_.containsKey('uid') ? json_['uid'] as core.String : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (annotations != null) 'annotations': annotations!, + if (cloneUri != null) 'cloneUri': cloneUri!, + if (createTime != null) 'createTime': createTime!, + if (deleteTime != null) 'deleteTime': deleteTime!, + if (etag != null) 'etag': etag!, + if (labels != null) 'labels': labels!, + if (name != null) 'name': name!, + if (reconciling != null) 'reconciling': reconciling!, + if (uid != null) 'uid': uid!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// Represents an installation of the GitHub App. +class Installation { + /// ID of the installation in GitHub. + core.String? id; + + /// Name of the GitHub user or organization that owns this installation. + core.String? name; + + /// Either "user" or "organization". + core.String? type; + + Installation({ + this.id, + this.name, + this.type, + }); + + Installation.fromJson(core.Map json_) + : this( + id: json_.containsKey('id') ? json_['id'] as core.String : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + type: json_.containsKey('type') ? json_['type'] as core.String : null, + ); + + core.Map toJson() => { + if (id != null) 'id': id!, + if (name != null) 'name': name!, + if (type != null) 'type': type!, + }; +} + +/// Describes stage and necessary actions to be taken by the user to complete +/// the installation. +/// +/// Used for GitHub and GitHub Enterprise based connections. +typedef InstallationState = $InstallationState; + +/// LinkableGitRepository represents a git repository that can be linked to a +/// connection. +class LinkableGitRepository { + /// The clone uri of the repository. + core.String? cloneUri; + + LinkableGitRepository({ + this.cloneUri, + }); + + LinkableGitRepository.fromJson(core.Map json_) + : this( + cloneUri: json_.containsKey('cloneUri') + ? json_['cloneUri'] as core.String + : null, + ); + + core.Map toJson() => { + if (cloneUri != null) 'cloneUri': cloneUri!, + }; +} + +/// Message for response to listing Connections +class ListConnectionsResponse { + /// The list of Connection + core.List? connections; + + /// A token identifying a page of results the server should return. + core.String? nextPageToken; + + /// Locations that could not be reached. + core.List? unreachable; + + ListConnectionsResponse({ + this.connections, + this.nextPageToken, + this.unreachable, + }); + + ListConnectionsResponse.fromJson(core.Map json_) + : this( + connections: json_.containsKey('connections') + ? (json_['connections'] as core.List) + .map((value) => Connection.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + unreachable: json_.containsKey('unreachable') + ? (json_['unreachable'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (connections != null) 'connections': connections!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (unreachable != null) 'unreachable': unreachable!, + }; +} + +/// Message for response to listing GitRepositoryLinks +class ListGitRepositoryLinksResponse { + /// The list of GitRepositoryLinks + core.List? gitRepositoryLinks; + + /// A token identifying a page of results the server should return. + core.String? nextPageToken; + + /// Locations that could not be reached. + core.List? unreachable; + + ListGitRepositoryLinksResponse({ + this.gitRepositoryLinks, + this.nextPageToken, + this.unreachable, + }); + + ListGitRepositoryLinksResponse.fromJson(core.Map json_) + : this( + gitRepositoryLinks: json_.containsKey('gitRepositoryLinks') + ? (json_['gitRepositoryLinks'] as core.List) + .map((value) => GitRepositoryLink.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + unreachable: json_.containsKey('unreachable') + ? (json_['unreachable'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (gitRepositoryLinks != null) + 'gitRepositoryLinks': gitRepositoryLinks!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (unreachable != null) 'unreachable': unreachable!, + }; +} + +/// The response message for Locations.ListLocations. +class ListLocationsResponse { + /// A list of locations that matches the specified filter in the request. + core.List? locations; + + /// The standard List next-page token. + core.String? nextPageToken; + + ListLocationsResponse({ + this.locations, + this.nextPageToken, + }); + + ListLocationsResponse.fromJson(core.Map json_) + : this( + locations: json_.containsKey('locations') + ? (json_['locations'] as core.List) + .map((value) => Location.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (locations != null) 'locations': locations!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// The response message for Operations.ListOperations. +class ListOperationsResponse { + /// The standard List next-page token. + core.String? nextPageToken; + + /// A list of operations that matches the specified filter in the request. + core.List? operations; + + ListOperationsResponse({ + this.nextPageToken, + this.operations, + }); + + ListOperationsResponse.fromJson(core.Map json_) + : this( + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + operations: json_.containsKey('operations') + ? (json_['operations'] as core.List) + .map((value) => Operation.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (operations != null) 'operations': operations!, + }; +} + +/// A resource that represents a Google Cloud location. +typedef Location = $Location00; + +/// Represents an OAuth token of the account that authorized the Connection, and +/// associated metadata. +class OAuthCredential { + /// A SecretManager resource containing the OAuth token that authorizes the + /// connection. + /// + /// Format: `projects / * /secrets / * /versions / * `. + /// + /// Required. + core.String? oauthTokenSecretVersion; + + /// The username associated with this token. + /// + /// Output only. + core.String? username; + + OAuthCredential({ + this.oauthTokenSecretVersion, + this.username, + }); + + OAuthCredential.fromJson(core.Map json_) + : this( + oauthTokenSecretVersion: json_.containsKey('oauthTokenSecretVersion') + ? json_['oauthTokenSecretVersion'] as core.String + : null, + username: json_.containsKey('username') + ? json_['username'] as core.String + : null, + ); + + core.Map toJson() => { + if (oauthTokenSecretVersion != null) + 'oauthTokenSecretVersion': oauthTokenSecretVersion!, + if (username != null) 'username': username!, + }; +} + +/// 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!, + }; +} + +/// 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; diff --git a/generated/googleapis/lib/dfareporting/v3_5.dart b/generated/googleapis/lib/dfareporting/v3_5.dart index 7fbd3e45a..97cec470d 100644 --- a/generated/googleapis/lib/dfareporting/v3_5.dart +++ b/generated/googleapis/lib/dfareporting/v3_5.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/dfareporting/v4.dart b/generated/googleapis/lib/dfareporting/v4.dart index d033e62fc..3adc2f6f8 100644 --- a/generated/googleapis/lib/dfareporting/v4.dart +++ b/generated/googleapis/lib/dfareporting/v4.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/dialogflow/v2.dart b/generated/googleapis/lib/dialogflow/v2.dart index 3b6a79c57..7edf72fa4 100644 --- a/generated/googleapis/lib/dialogflow/v2.dart +++ b/generated/googleapis/lib/dialogflow/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/dialogflow/v3.dart b/generated/googleapis/lib/dialogflow/v3.dart index a8be0e9ae..6d4066aeb 100644 --- a/generated/googleapis/lib/dialogflow/v3.dart +++ b/generated/googleapis/lib/dialogflow/v3.dart @@ -3,6 +3,7 @@ // 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 @@ -6854,15 +6855,23 @@ class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings { /// business logic (e.g. when 3 is pressed, return the account balance). core.bool? enabled; + /// Endpoint timeout setting for matching dtmf input to regex. + core.String? endpointingTimeoutDuration; + /// The digit that terminates a DTMF digit sequence. core.String? finishDigit; + /// Interdigit timeout setting for matching dtmf input to regex. + core.String? interdigitTimeoutDuration; + /// Max length of DTMF digits. core.int? maxDigits; GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings({ this.enabled, + this.endpointingTimeoutDuration, this.finishDigit, + this.interdigitTimeoutDuration, this.maxDigits, }); @@ -6871,9 +6880,17 @@ class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings { enabled: json_.containsKey('enabled') ? json_['enabled'] as core.bool : null, + endpointingTimeoutDuration: + json_.containsKey('endpointingTimeoutDuration') + ? json_['endpointingTimeoutDuration'] as core.String + : null, finishDigit: json_.containsKey('finishDigit') ? json_['finishDigit'] as core.String : null, + interdigitTimeoutDuration: + json_.containsKey('interdigitTimeoutDuration') + ? json_['interdigitTimeoutDuration'] as core.String + : null, maxDigits: json_.containsKey('maxDigits') ? json_['maxDigits'] as core.int : null, @@ -6881,7 +6898,11 @@ class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings { core.Map toJson() => { if (enabled != null) 'enabled': enabled!, + if (endpointingTimeoutDuration != null) + 'endpointingTimeoutDuration': endpointingTimeoutDuration!, if (finishDigit != null) 'finishDigit': finishDigit!, + if (interdigitTimeoutDuration != null) + 'interdigitTimeoutDuration': interdigitTimeoutDuration!, if (maxDigits != null) 'maxDigits': maxDigits!, }; } @@ -13119,7 +13140,7 @@ class GoogleCloudDialogflowCxV3Match { /// - "NO_MATCH" : No match was found for the query. /// - "NO_INPUT" : Indicates an empty query. /// - "EVENT" : The query directly triggered an event. - /// - "LLM" : The query was handled by an LLM. + /// - "PLAYBOOK" : The query was handled by a `Playbook`. core.String? matchType; /// The collection of parameters extracted from the query. @@ -15261,11 +15282,17 @@ class GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings { /// should have the permission of storage.buckets.setIamPolicy. core.String? gcsBucket; + /// Whether to store TTS audio. + /// + /// By default, TTS audio from the virtual agent is not exported. + core.bool? storeTtsAudio; + GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings({ this.audioExportPattern, this.audioFormat, this.enableAudioRedaction, this.gcsBucket, + this.storeTtsAudio, }); GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings.fromJson( @@ -15283,6 +15310,9 @@ class GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings { gcsBucket: json_.containsKey('gcsBucket') ? json_['gcsBucket'] as core.String : null, + storeTtsAudio: json_.containsKey('storeTtsAudio') + ? json_['storeTtsAudio'] as core.bool + : null, ); core.Map toJson() => { @@ -15292,6 +15322,7 @@ class GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings { if (enableAudioRedaction != null) 'enableAudioRedaction': enableAudioRedaction!, if (gcsBucket != null) 'gcsBucket': gcsBucket!, + if (storeTtsAudio != null) 'storeTtsAudio': storeTtsAudio!, }; } diff --git a/generated/googleapis/lib/digitalassetlinks/v1.dart b/generated/googleapis/lib/digitalassetlinks/v1.dart index df90c186a..e95fd75ae 100644 --- a/generated/googleapis/lib/digitalassetlinks/v1.dart +++ b/generated/googleapis/lib/digitalassetlinks/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/discovery/v1.dart b/generated/googleapis/lib/discovery/v1.dart index 38c09a98b..af289c69c 100644 --- a/generated/googleapis/lib/discovery/v1.dart +++ b/generated/googleapis/lib/discovery/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/displayvideo/v2.dart b/generated/googleapis/lib/displayvideo/v2.dart index ff634a8de..bb4ee4787 100644 --- a/generated/googleapis/lib/displayvideo/v2.dart +++ b/generated/googleapis/lib/displayvideo/v2.dart @@ -3,6 +3,7 @@ // 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 @@ -16431,6 +16432,9 @@ class CreateSdfDownloadTaskRequest { /// - "SDF_VERSION_7" : SDF version 7. Read the \[v7 migration /// guide\](/display-video/api/structured-data-file/v7-migration-guide) before /// migrating to this version. + /// - "SDF_VERSION_7_1" : SDF version 7.1. Read the \[v7 migration + /// guide\](/display-video/api/structured-data-file/v7-migration-guide) before + /// migrating to this version. core.String? version; CreateSdfDownloadTaskRequest({ diff --git a/generated/googleapis/lib/displayvideo/v3.dart b/generated/googleapis/lib/displayvideo/v3.dart index 152b3d071..f604ca145 100644 --- a/generated/googleapis/lib/displayvideo/v3.dart +++ b/generated/googleapis/lib/displayvideo/v3.dart @@ -3,6 +3,7 @@ // 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 @@ -16670,6 +16671,9 @@ class CreateSdfDownloadTaskRequest { /// - "SDF_VERSION_7" : SDF version 7. Read the \[v7 migration /// guide\](/display-video/api/structured-data-file/v7-migration-guide) before /// migrating to this version. + /// - "SDF_VERSION_7_1" : SDF version 7.1. Read the \[v7 migration + /// guide\](/display-video/api/structured-data-file/v7-migration-guide) before + /// migrating to this version. core.String? version; CreateSdfDownloadTaskRequest({ diff --git a/generated/googleapis/lib/dlp/v2.dart b/generated/googleapis/lib/dlp/v2.dart index fcaee02b9..f83a8a399 100644 --- a/generated/googleapis/lib/dlp/v2.dart +++ b/generated/googleapis/lib/dlp/v2.dart @@ -3,6 +3,7 @@ // 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 @@ -976,10 +977,10 @@ class OrganizationsLocationsConnectionsResource { /// Request parameters: /// /// [parent] - Required. Parent name, typically an organization, without - /// location. For example: "organizations/12345678". + /// location. For example: `organizations/12345678`. /// Value must have pattern `^organizations/\[^/\]+/locations/\[^/\]+$`. /// - /// [filter] - Optional. * Supported fields/values - `state` - + /// [filter] - Optional. Supported field/value: - `state` - /// MISSING|AVAILABLE|ERROR /// /// [pageSize] - Optional. Number of results per page, max 1000. @@ -4678,7 +4679,7 @@ class ProjectsLocationsConnectionsResource { /// Request parameters: /// /// [parent] - Required. Parent resource name in the format: - /// "projects/{project}/locations/{location}". + /// `projects/{project}/locations/{location}`. /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -4719,7 +4720,7 @@ class ProjectsLocationsConnectionsResource { /// /// [name] - Required. Resource name of the Connection to be deleted, in the /// format: - /// "projects/{project}/locations/{location}/connections/{connection}". + /// `projects/{project}/locations/{location}/connections/{connection}`. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/connections/\[^/\]+$`. /// @@ -4757,7 +4758,7 @@ class ProjectsLocationsConnectionsResource { /// Request parameters: /// /// [name] - Required. Resource name in the format: - /// "projects/{project}/locations/{location}/connections/{connection}". + /// `projects/{project}/locations/{location}/connections/{connection}`. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/connections/\[^/\]+$`. /// @@ -4795,10 +4796,10 @@ class ProjectsLocationsConnectionsResource { /// Request parameters: /// /// [parent] - Required. Parent name, for example: - /// "projects/project-id/locations/global". + /// `projects/project-id/locations/global`. /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// - /// [filter] - Optional. * Supported fields/values - `state` - + /// [filter] - Optional. Supported field/value: `state` - /// MISSING|AVAILABLE|ERROR /// /// [pageSize] - Optional. Number of results per page, max 1000. @@ -4849,7 +4850,7 @@ class ProjectsLocationsConnectionsResource { /// Request parameters: /// /// [name] - Required. Resource name in the format: - /// "projects/{project}/locations/{location}/connections/{connection}". + /// `projects/{project}/locations/{location}/connections/{connection}`. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/connections/\[^/\]+$`. /// @@ -4890,10 +4891,10 @@ class ProjectsLocationsConnectionsResource { /// Request parameters: /// /// [parent] - Required. Parent name, typically an organization, without - /// location. For example: "organizations/12345678". + /// location. For example: `organizations/12345678`. /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// - /// [filter] - Optional. * Supported fields/values - `state` - + /// [filter] - Optional. Supported field/value: - `state` - /// MISSING|AVAILABLE|ERROR /// /// [pageSize] - Optional. Number of results per page, max 1000. @@ -8760,7 +8761,7 @@ class GooglePrivacyDlpV2CloudSqlDiscoveryTarget { }; } -/// Use IAM auth to connect. +/// Use IAM authentication to connect. /// /// This requires the Cloud SQL IAM feature to be enabled on the instance, which /// is not the default for Cloud SQL. See @@ -8779,8 +8780,8 @@ class GooglePrivacyDlpV2CloudSqlProperties { /// creation time, and cannot be updated. It is an error to use a /// connection_name from different project or region than the one that holds /// the connection. For example, a Connection resource for Cloud SQL - /// connection_name "project-id:us-central1:sql-instance" must be created - /// under the parent "projects/project-id/locations/us-central1" + /// connection_name `project-id:us-central1:sql-instance` must be created + /// under the parent `projects/project-id/locations/us-central1` /// /// Optional. Immutable. core.String? connectionName; @@ -8791,9 +8792,9 @@ class GooglePrivacyDlpV2CloudSqlProperties { /// Required. /// Possible string values are: /// - "DATABASE_ENGINE_UNKNOWN" : An engine that is not currently supported by - /// SDP. + /// Sensitive Data Protection. /// - "DATABASE_ENGINE_MYSQL" : Cloud SQL for MySQL instance. - /// - "DATABASE_ENGINE_POSTGRES" : Cloud SQL for Postgres instance. + /// - "DATABASE_ENGINE_POSTGRES" : Cloud SQL for PostgreSQL instance. core.String? databaseEngine; /// DLP will limit its connections to max_connections. @@ -9131,9 +9132,9 @@ class GooglePrivacyDlpV2ColumnDataProfile { /// - "TYPE_BIGNUMERIC" : Decimal type. /// - "TYPE_JSON" : Json type. /// - "TYPE_INTERVAL" : Interval type. - /// - "TYPE_RANGE_DATE" : Range type. - /// - "TYPE_RANGE_DATETIME" : Range type. - /// - "TYPE_RANGE_TIMESTAMP" : Range type. + /// - "TYPE_RANGE_DATE" : `Range` type. + /// - "TYPE_RANGE_DATETIME" : `Range` type. + /// - "TYPE_RANGE_TIMESTAMP" : `Range` type. core.String? columnType; /// The data risk level for this column. @@ -9448,7 +9449,7 @@ class GooglePrivacyDlpV2Connection { core.List? errors; /// Name of the connection: - /// projects/{project}/locations/{location}/connections/{name}. + /// `projects/{project}/locations/{location}/connections/{name}`. /// /// Output only. core.String? name; @@ -9464,8 +9465,9 @@ class GooglePrivacyDlpV2Connection { /// errors. /// - "ERROR" : A configured connection that encountered errors during its /// last use. It will not be used again until it is set to AVAILABLE. If the - /// resolution requires external action, then a request to set the status to - /// AVAILABLE will mark this connection for use. Otherwise, any changes to the + /// resolution requires external action, then the client must send a request + /// to set the status to AVAILABLE when the connection is ready for use. If + /// the resolution doesn't require external action, then any changes to the /// connection properties will automatically mark it as AVAILABLE. core.String? state; @@ -10727,26 +10729,44 @@ class GooglePrivacyDlpV2DatabaseResourceCollection { /// Identifies a single database resource, like a table within a database. class GooglePrivacyDlpV2DatabaseResourceReference { + /// Name of a database within the instance. + /// + /// Required. + core.String? database; + + /// Name of a database resource, for example, a table within the database. + /// + /// Required. + core.String? databaseResource; + /// The instance where this resource is located. /// - /// For example: Cloud SQL's instance id. + /// For example: Cloud SQL instance ID. /// /// Required. core.String? instance; /// If within a project-level config, then this must match the config's - /// project id. + /// project ID. /// /// Required. core.String? projectId; GooglePrivacyDlpV2DatabaseResourceReference({ + this.database, + this.databaseResource, this.instance, this.projectId, }); GooglePrivacyDlpV2DatabaseResourceReference.fromJson(core.Map json_) : this( + database: json_.containsKey('database') + ? json_['database'] as core.String + : null, + databaseResource: json_.containsKey('databaseResource') + ? json_['databaseResource'] as core.String + : null, instance: json_.containsKey('instance') ? json_['instance'] as core.String : null, @@ -10756,6 +10776,8 @@ class GooglePrivacyDlpV2DatabaseResourceReference { ); core.Map toJson() => { + if (database != null) 'database': database!, + if (databaseResource != null) 'databaseResource': databaseResource!, if (instance != null) 'instance': instance!, if (projectId != null) 'projectId': projectId!, }; @@ -10786,7 +10808,7 @@ class GooglePrivacyDlpV2DatabaseResourceRegex { /// For organizations, if unset, will match all projects. /// - /// Has no effect for Data Profile configurations created within a project. + /// Has no effect for configurations created within a project. core.String? projectIdRegex; GooglePrivacyDlpV2DatabaseResourceRegex({ @@ -11824,6 +11846,12 @@ class GooglePrivacyDlpV2DiscoveryBigQueryFilter { /// is specified, a default one will be added automatically. GooglePrivacyDlpV2AllOtherBigQueryTables? otherTables; + /// The table to scan. + /// + /// Discovery configurations including this can only include one + /// DiscoveryTarget (the DiscoveryTarget with this TableReference). + GooglePrivacyDlpV2TableReference? tableReference; + /// A specific set of tables for this filter to apply to. /// /// A table collection must be specified in only one filter per config. If a @@ -11833,6 +11861,7 @@ class GooglePrivacyDlpV2DiscoveryBigQueryFilter { GooglePrivacyDlpV2DiscoveryBigQueryFilter({ this.otherTables, + this.tableReference, this.tables, }); @@ -11842,6 +11871,11 @@ class GooglePrivacyDlpV2DiscoveryBigQueryFilter { ? GooglePrivacyDlpV2AllOtherBigQueryTables.fromJson( json_['otherTables'] as core.Map) : null, + tableReference: json_.containsKey('tableReference') + ? GooglePrivacyDlpV2TableReference.fromJson( + json_['tableReference'] + as core.Map) + : null, tables: json_.containsKey('tables') ? GooglePrivacyDlpV2BigQueryTableCollection.fromJson( json_['tables'] as core.Map) @@ -11850,6 +11884,7 @@ class GooglePrivacyDlpV2DiscoveryBigQueryFilter { core.Map toJson() => { if (otherTables != null) 'otherTables': otherTables!, + if (tableReference != null) 'tableReference': tableReference!, if (tables != null) 'tables': tables!, }; } @@ -11958,7 +11993,7 @@ class GooglePrivacyDlpV2DiscoveryCloudSqlGenerationCadence { /// reprofiling. /// /// If you set this field, profiles are refreshed at this frequency regardless - /// of whether the underlying tables have changes. Defaults to never. + /// of whether the underlying tables have changed. Defaults to never. /// Possible string values are: /// - "UPDATE_FREQUENCY_UNSPECIFIED" : Unspecified. /// - "UPDATE_FREQUENCY_NEVER" : After the data profile is created, it will @@ -12285,9 +12320,17 @@ class GooglePrivacyDlpV2DiscoveryTarget { /// The first target to match a table will be the one applied. GooglePrivacyDlpV2CloudSqlDiscoveryTarget? cloudSqlTarget; + /// Discovery target that looks for credentials and secrets stored in cloud + /// resource metadata and reports them as vulnerabilities to Security Command + /// Center. + /// + /// Only one target of this type is allowed. + GooglePrivacyDlpV2SecretsDiscoveryTarget? secretsTarget; + GooglePrivacyDlpV2DiscoveryTarget({ this.bigQueryTarget, this.cloudSqlTarget, + this.secretsTarget, }); GooglePrivacyDlpV2DiscoveryTarget.fromJson(core.Map json_) @@ -12302,11 +12345,16 @@ class GooglePrivacyDlpV2DiscoveryTarget { json_['cloudSqlTarget'] as core.Map) : null, + secretsTarget: json_.containsKey('secretsTarget') + ? GooglePrivacyDlpV2SecretsDiscoveryTarget.fromJson( + json_['secretsTarget'] as core.Map) + : null, ); core.Map toJson() => { if (bigQueryTarget != null) 'bigQueryTarget': bigQueryTarget!, if (cloudSqlTarget != null) 'cloudSqlTarget': cloudSqlTarget!, + if (secretsTarget != null) 'secretsTarget': secretsTarget!, }; } @@ -13681,8 +13729,6 @@ class GooglePrivacyDlpV2InfoType { /// Classification of infoTypes to organize them according to geographic /// location, industry, and data type. -/// -/// NEXT_ID: 48 class GooglePrivacyDlpV2InfoTypeCategory { /// The group of relevant businesses where this infoType is commonly used /// Possible string values are: @@ -13701,6 +13747,7 @@ class GooglePrivacyDlpV2InfoTypeCategory { /// but is used almost everywhere. /// - "ARGENTINA" : The infoType is typically used in Argentina. /// - "AUSTRALIA" : The infoType is typically used in Australia. + /// - "AZERBAIJAN" : The infoType is typically used in Azerbaijan. /// - "BELGIUM" : The infoType is typically used in Belgium. /// - "BRAZIL" : The infoType is typically used in Brazil. /// - "CANADA" : The infoType is typically used in Canada. @@ -14602,7 +14649,7 @@ class GooglePrivacyDlpV2InspectionRuleSet { /// [Essential Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts). typedef GooglePrivacyDlpV2JobNotificationEmails = $Empty; -/// Contains a configuration to make api calls on a repeating basis. +/// Contains a configuration to make API calls on a repeating basis. /// /// See /// https://cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers @@ -16719,7 +16766,7 @@ class GooglePrivacyDlpV2PubSubNotification { /// Possible string values are: /// - "DETAIL_LEVEL_UNSPECIFIED" : Unused. /// - "TABLE_PROFILE" : The full table data profile. - /// - "RESOURCE_NAME" : The resource name of the table. + /// - "RESOURCE_NAME" : The name of the profiled resource. core.String? detailOfMessage; /// The type of event that triggers a Pub/Sub. @@ -16728,10 +16775,9 @@ class GooglePrivacyDlpV2PubSubNotification { /// Possible string values are: /// - "EVENT_TYPE_UNSPECIFIED" : Unused. /// - "NEW_PROFILE" : New profile (not a re-profile). - /// - "CHANGED_PROFILE" : Changed one of the following profile metrics: * - /// Table data risk score * Table sensitivity score * Table resource - /// visibility * Table encryption type * Table predicted infoTypes * Table - /// other infoTypes + /// - "CHANGED_PROFILE" : One of the following profile metrics changed: Data + /// risk score, Sensitivity score, Resource visibility, Encryption type, + /// Predicted infoTypes, Other infoTypes /// - "SCORE_INCREASED" : Table data risk score or sensitivity score /// increased. /// - "ERROR_CHANGED" : A user (non-internal) error occurred. @@ -17635,7 +17681,7 @@ class GooglePrivacyDlpV2Result { /// inspect job. core.List? infoTypeStats; - /// Number of rows scanned post sampling and time filtering (Applicable for + /// Number of rows scanned after sampling and time filtering (applicable for /// row based stores such as BigQuery). core.String? numRowsProcessed; @@ -17812,7 +17858,7 @@ class GooglePrivacyDlpV2Schedule { }; } -/// How frequency to modify the profile when the table's schema is modified. +/// How frequently to modify the profile when the table's schema is modified. class GooglePrivacyDlpV2SchemaModifiedCadence { /// Frequency to regenerate data profiles when the schema is modified. /// @@ -17900,7 +17946,7 @@ class GooglePrivacyDlpV2SearchConnectionsResponse { /// [charges apply](https://cloud.google.com/secret-manager/pricing). class GooglePrivacyDlpV2SecretManagerCredential { /// The name of the Secret Manager resource that stores the password, in the - /// form "projects/project-id/secrets/secret-name/versions/version". + /// form `projects/project-id/secrets/secret-name/versions/version`. /// /// Required. core.String? passwordSecretVersionName; @@ -17933,6 +17979,18 @@ class GooglePrivacyDlpV2SecretManagerCredential { }; } +/// Discovery target for credentials and secrets in cloud resource metadata. +/// +/// This target does not include any filtering or frequency controls. Cloud DLP +/// will scan cloud resource metadata for secrets daily. No inspect template +/// should be included in the discovery config for a security benchmarks scan. +/// Instead, the built-in list of secrets and credentials infoTypes will be used +/// (see +/// https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#credentials_and_secrets). +/// Credentials and secrets discovered will be reported as vulnerabilities to +/// Security Command Center. +typedef GooglePrivacyDlpV2SecretsDiscoveryTarget = $Empty; + /// Apply transformation to the selected info_types. class GooglePrivacyDlpV2SelectedInfoTypes { /// InfoTypes to apply the transformation to. @@ -18546,6 +18604,9 @@ class GooglePrivacyDlpV2TableDataProfile { /// Possible string values are: /// - "RESOURCE_VISIBILITY_UNSPECIFIED" : Unused. /// - "RESOURCE_VISIBILITY_PUBLIC" : Visible to any user. + /// - "RESOURCE_VISIBILITY_INCONCLUSIVE" : May contain public items. For + /// example, if a Cloud Storage bucket has uniform bucket level access + /// disabled, some objects inside it may be public. /// - "RESOURCE_VISIBILITY_RESTRICTED" : Visible only to specific users. core.String? resourceVisibility; @@ -18796,6 +18857,36 @@ class GooglePrivacyDlpV2TableOptions { }; } +/// Message defining the location of a BigQuery table with the projectId +/// inferred from the parent project. +class GooglePrivacyDlpV2TableReference { + /// Dataset ID of the table. + core.String? datasetId; + + /// Name of the table. + core.String? tableId; + + GooglePrivacyDlpV2TableReference({ + this.datasetId, + this.tableId, + }); + + GooglePrivacyDlpV2TableReference.fromJson(core.Map json_) + : this( + datasetId: json_.containsKey('datasetId') + ? json_['datasetId'] as core.String + : null, + tableId: json_.containsKey('tableId') + ? json_['tableId'] as core.String + : null, + ); + + core.Map toJson() => { + if (datasetId != null) 'datasetId': datasetId!, + if (tableId != null) 'tableId': tableId!, + }; +} + /// A column with a semantic tag attached. class GooglePrivacyDlpV2TaggedField { /// A column can be tagged with a custom tag. @@ -18921,10 +19012,11 @@ class GooglePrivacyDlpV2TimespanConfig { /// /// This will be based on the time of the execution of the last run of the /// JobTrigger or the timespan end_time used in the last run of the - /// JobTrigger. *For BigQuery* Inspect jobs triggered by automatic population - /// will scan data that is at least three hours old when the job starts. This - /// is because streaming buffer rows are not read during inspection and - /// reading up to the current timestamp will result in skipped rows. See the + /// JobTrigger. **For BigQuery** Inspect jobs triggered by automatic + /// population will scan data that is at least three hours old when the job + /// starts. This is because streaming buffer rows are not read during + /// inspection and reading up to the current timestamp will result in skipped + /// rows. See the /// [known issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#recently-streamed-data) /// related to this operation. core.bool? enableAutoPopulationOfTimespanConfig; diff --git a/generated/googleapis/lib/dns/v1.dart b/generated/googleapis/lib/dns/v1.dart index dd9b5495c..3d2132af1 100644 --- a/generated/googleapis/lib/dns/v1.dart +++ b/generated/googleapis/lib/dns/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/docs/v1.dart b/generated/googleapis/lib/docs/v1.dart index 3101cf144..b91131dd4 100644 --- a/generated/googleapis/lib/docs/v1.dart +++ b/generated/googleapis/lib/docs/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/documentai/v1.dart b/generated/googleapis/lib/documentai/v1.dart index a7d70873c..3391cc1e2 100644 --- a/generated/googleapis/lib/documentai/v1.dart +++ b/generated/googleapis/lib/documentai/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/domains/v1.dart b/generated/googleapis/lib/domains/v1.dart index ef9b7ce4c..44203f6d9 100644 --- a/generated/googleapis/lib/domains/v1.dart +++ b/generated/googleapis/lib/domains/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -2332,7 +2333,10 @@ class ManagementSettings { /// expiration time. core.String? renewalMethod; - /// Controls whether the domain can be transferred to another registrar. + /// This is the desired transfer lock state for this `Registration`. + /// + /// A transfer lock controls whether the domain can be transferred to another + /// registrar. /// Possible string values are: /// - "TRANSFER_LOCK_STATE_UNSPECIFIED" : The state is unspecified. /// - "UNLOCKED" : The domain is unlocked and can be transferred to another diff --git a/generated/googleapis/lib/domainsrdap/v1.dart b/generated/googleapis/lib/domainsrdap/v1.dart index 1f7bc6274..f2d845296 100644 --- a/generated/googleapis/lib/domainsrdap/v1.dart +++ b/generated/googleapis/lib/domainsrdap/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/doubleclickbidmanager/v2.dart b/generated/googleapis/lib/doubleclickbidmanager/v2.dart index 6f6ecd9c1..a713cc3ce 100644 --- a/generated/googleapis/lib/doubleclickbidmanager/v2.dart +++ b/generated/googleapis/lib/doubleclickbidmanager/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/doubleclicksearch/v2.dart b/generated/googleapis/lib/doubleclicksearch/v2.dart index 7736d733e..1388868b1 100644 --- a/generated/googleapis/lib/doubleclicksearch/v2.dart +++ b/generated/googleapis/lib/doubleclicksearch/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/drive/v2.dart b/generated/googleapis/lib/drive/v2.dart index b15e1cc7d..1055d20de 100644 --- a/generated/googleapis/lib/drive/v2.dart +++ b/generated/googleapis/lib/drive/v2.dart @@ -3,6 +3,7 @@ // 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 @@ -72,6 +73,11 @@ class DriveApi { /// with this app static const driveFileScope = 'https://www.googleapis.com/auth/drive.file'; + /// See and download your Google Drive files that were created or edited by + /// Google Meet. + static const driveMeetReadonlyScope = + 'https://www.googleapis.com/auth/drive.meet.readonly'; + /// View and manage metadata of files in your Google Drive static const driveMetadataScope = 'https://www.googleapis.com/auth/drive.metadata'; diff --git a/generated/googleapis/lib/drive/v3.dart b/generated/googleapis/lib/drive/v3.dart index c6b480eba..db2e5626c 100644 --- a/generated/googleapis/lib/drive/v3.dart +++ b/generated/googleapis/lib/drive/v3.dart @@ -3,6 +3,7 @@ // 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 @@ -69,6 +70,11 @@ class DriveApi { /// with this app static const driveFileScope = 'https://www.googleapis.com/auth/drive.file'; + /// See and download your Google Drive files that were created or edited by + /// Google Meet. + static const driveMeetReadonlyScope = + 'https://www.googleapis.com/auth/drive.meet.readonly'; + /// View and manage metadata of files in your Google Drive static const driveMetadataScope = 'https://www.googleapis.com/auth/drive.metadata'; @@ -3102,14 +3108,22 @@ class AboutDriveThemes { /// The user's storage quota limits and usage. /// -/// All fields are measured in bytes. +/// For users that are part of an organization with pooled storage, information +/// about the limit and usage across all services is for the organization, +/// rather than the individual user. All fields are measured in bytes. class AboutStorageQuota { /// The usage limit, if applicable. /// - /// This will not be present if the user has unlimited storage. + /// This will not be present if the user has unlimited storage. For users that + /// are part of an organization with pooled storage, this is the limit for the + /// organization, rather than the individual user. core.String? limit; /// The total usage across all services. + /// + /// For users that are part of an organization with pooled storage, this is + /// the usage across all services for the organization, rather than the + /// individual user. core.String? usage; /// The usage by all files in Google Drive. @@ -3230,7 +3244,10 @@ class About { /// The user's storage quota limits and usage. /// - /// All fields are measured in bytes. + /// For users that are part of an organization with pooled storage, + /// information about the limit and usage across all services is for the + /// organization, rather than the individual user. All fields are measured in + /// bytes. AboutStorageQuota? storageQuota; /// Deprecated: Use `driveThemes` instead. diff --git a/generated/googleapis/lib/driveactivity/v2.dart b/generated/googleapis/lib/driveactivity/v2.dart index beaaabc7f..048242f5c 100644 --- a/generated/googleapis/lib/driveactivity/v2.dart +++ b/generated/googleapis/lib/driveactivity/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/drivelabels/v2.dart b/generated/googleapis/lib/drivelabels/v2.dart index aa4371501..23da9b293 100644 --- a/generated/googleapis/lib/drivelabels/v2.dart +++ b/generated/googleapis/lib/drivelabels/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/essentialcontacts/v1.dart b/generated/googleapis/lib/essentialcontacts/v1.dart index 147b9a089..bb511d638 100644 --- a/generated/googleapis/lib/essentialcontacts/v1.dart +++ b/generated/googleapis/lib/essentialcontacts/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/eventarc/v1.dart b/generated/googleapis/lib/eventarc/v1.dart index 0e2af717d..123dbc794 100644 --- a/generated/googleapis/lib/eventarc/v1.dart +++ b/generated/googleapis/lib/eventarc/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -2916,10 +2917,9 @@ class ListTriggersResponse { /// A resource that represents a Google Cloud location. typedef Location = $Location00; -/// Represents a network config to be used for destination resolution and -/// connectivity. +/// Network Configuration that can be inherited by other protos. class NetworkConfig { - /// Name of the NetworkAttachment that allows access to the destination VPC. + /// Name of the NetworkAttachment that allows access to the customer's VPC. /// /// Format: /// `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}` diff --git a/generated/googleapis/lib/fcm/v1.dart b/generated/googleapis/lib/fcm/v1.dart index 5f3dd6f5d..e0800a044 100644 --- a/generated/googleapis/lib/fcm/v1.dart +++ b/generated/googleapis/lib/fcm/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -835,8 +836,9 @@ class Message { /// /// Arbitrary key/value payload, which must be UTF-8 encoded. The key should /// not be a reserved word ("from", "message_type", or any word starting with - /// "google" or "gcm"). When sending payloads containing only data fields to - /// iOS devices, only normal priority (`"apns-priority": "5"`) is allowed in + /// "google." or "gcm.notification."). When sending payloads containing only + /// data fields to iOS devices, only normal priority (`"apns-priority": "5"`) + /// is allowed in /// \[`ApnsConfig`\](/docs/reference/fcm/rest/v1/projects.messages#apnsconfig). core.Map? data; diff --git a/generated/googleapis/lib/file/v1.dart b/generated/googleapis/lib/file/v1.dart index af9c5c16f..a1ddbefe5 100644 --- a/generated/googleapis/lib/file/v1.dart +++ b/generated/googleapis/lib/file/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -1466,6 +1467,11 @@ class Instance { /// For this version, only a single network is supported. core.List? networks; + /// Replicaition configuration. + /// + /// Optional. + Replication? replication; + /// Reserved for future use. /// /// Output only. @@ -1539,6 +1545,7 @@ class Instance { this.labels, this.name, this.networks, + this.replication, this.satisfiesPzi, this.satisfiesPzs, this.state, @@ -1580,6 +1587,10 @@ class Instance { value as core.Map)) .toList() : null, + replication: json_.containsKey('replication') + ? Replication.fromJson( + json_['replication'] as core.Map) + : null, satisfiesPzi: json_.containsKey('satisfiesPzi') ? json_['satisfiesPzi'] as core.bool : null, @@ -1608,6 +1619,7 @@ class Instance { if (labels != null) 'labels': labels!, if (name != null) 'name': name!, if (networks != null) 'networks': networks!, + if (replication != null) 'replication': replication!, if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!, if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!, if (state != null) 'state': state!, @@ -2070,6 +2082,112 @@ class Operation { }; } +/// Replica configuration for the instance. +class ReplicaConfig { + /// The timestamp of the latest replication snapshot taken on the active + /// instance and is already replicated safely. + /// + /// Output only. + core.String? lastActiveSyncTime; + + /// The peer instance. + /// + /// Optional. + core.String? peerInstance; + + /// The replica state. + /// + /// Output only. + /// Possible string values are: + /// - "STATE_UNSPECIFIED" : State not set. + /// - "CREATING" : The replica is being created. + /// - "READY" : The replica is ready. + /// - "REMOVING" : The replica is being removed. + /// - "FAILED" : The replica is experiencing an issue and might be unusable. + /// You can get further details from the `stateReasons` field of the + /// `ReplicaConfig` object. + core.String? state; + + /// Additional information about the replication state, if available. + /// + /// Output only. + core.List? stateReasons; + + ReplicaConfig({ + this.lastActiveSyncTime, + this.peerInstance, + this.state, + this.stateReasons, + }); + + ReplicaConfig.fromJson(core.Map json_) + : this( + lastActiveSyncTime: json_.containsKey('lastActiveSyncTime') + ? json_['lastActiveSyncTime'] as core.String + : null, + peerInstance: json_.containsKey('peerInstance') + ? json_['peerInstance'] as core.String + : null, + state: + json_.containsKey('state') ? json_['state'] as core.String : null, + stateReasons: json_.containsKey('stateReasons') + ? (json_['stateReasons'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (lastActiveSyncTime != null) + 'lastActiveSyncTime': lastActiveSyncTime!, + if (peerInstance != null) 'peerInstance': peerInstance!, + if (state != null) 'state': state!, + if (stateReasons != null) 'stateReasons': stateReasons!, + }; +} + +/// Replication specifications. +class Replication { + /// Replicas configuration on the instance. + /// + /// For now, only a single replica config is supported. + /// + /// Optional. + core.List? replicas; + + /// The replication role. + /// + /// Optional. + /// Possible string values are: + /// - "ROLE_UNSPECIFIED" : Role not set. + /// - "ACTIVE" : The instance is a Active replication member, functions as the + /// replication source instance. + /// - "STANDBY" : The instance is a Standby replication member, functions as + /// the replication destination instance. + core.String? role; + + Replication({ + this.replicas, + this.role, + }); + + Replication.fromJson(core.Map json_) + : this( + replicas: json_.containsKey('replicas') + ? (json_['replicas'] as core.List) + .map((value) => ReplicaConfig.fromJson( + value as core.Map)) + .toList() + : null, + role: json_.containsKey('role') ? json_['role'] as core.String : null, + ); + + core.Map toJson() => { + if (replicas != null) 'replicas': replicas!, + if (role != null) 'role': role!, + }; +} + /// RestoreInstanceRequest restores an existing instance's file share from a /// backup. class RestoreInstanceRequest { diff --git a/generated/googleapis/lib/firebaseappcheck/v1.dart b/generated/googleapis/lib/firebaseappcheck/v1.dart index cb9b4d0c6..d9db7aa4c 100644 --- a/generated/googleapis/lib/firebaseappcheck/v1.dart +++ b/generated/googleapis/lib/firebaseappcheck/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -20,6 +21,7 @@ /// Create an instance of [FirebaseappcheckApi] to access these resources: /// /// - [JwksResource] +/// - [OauthClientsResource] /// - [ProjectsResource] /// - [ProjectsAppsResource] /// - [ProjectsAppsAppAttestConfigResource] @@ -59,6 +61,7 @@ class FirebaseappcheckApi { final commons.ApiRequester _requester; JwksResource get jwks => JwksResource(_requester); + OauthClientsResource get oauthClients => OauthClientsResource(_requester); ProjectsResource get projects => ProjectsResource(_requester); FirebaseappcheckApi(http.Client client, @@ -116,6 +119,218 @@ class JwksResource { } } +class OauthClientsResource { + final commons.ApiRequester _requester; + + OauthClientsResource(commons.ApiRequester client) : _requester = client; + + /// Accepts an App Attest assertion and an artifact previously obtained from + /// ExchangeAppAttestAttestation and verifies those with Apple. + /// + /// If valid, returns an AppCheckToken. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [app] - Required. The relative resource name of the iOS app, in the + /// format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the + /// `project_number` element can be replaced with the project ID of the + /// Firebase project. Learn more about using project identifiers in Google's + /// [AIP 2510](https://google.aip.dev/cloud/2510) standard. + /// Value must have pattern `^oauthClients/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleFirebaseAppcheckV1AppCheckToken]. + /// + /// 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 + exchangeAppAttestAssertion( + GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest request, + core.String app, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1/' + core.Uri.encodeFull('$app') + ':exchangeAppAttestAssertion'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleFirebaseAppcheckV1AppCheckToken.fromJson( + response_ as core.Map); + } + + /// Accepts an App Attest CBOR attestation and verifies it with Apple using + /// your preconfigured team and bundle IDs. + /// + /// If valid, returns an attestation artifact that can later be exchanged for + /// an AppCheckToken using ExchangeAppAttestAssertion. For convenience and + /// performance, this method's response object will also contain an + /// AppCheckToken (if the verification is successful). + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [app] - Required. The relative resource name of the iOS app, in the + /// format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the + /// `project_number` element can be replaced with the project ID of the + /// Firebase project. Learn more about using project identifiers in Google's + /// [AIP 2510](https://google.aip.dev/cloud/2510) standard. + /// Value must have pattern `^oauthClients/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse]. + /// + /// 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 + exchangeAppAttestAttestation( + GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest request, + core.String app, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1/' + core.Uri.encodeFull('$app') + ':exchangeAppAttestAttestation'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse + .fromJson(response_ as core.Map); + } + + /// Validates a debug token secret that you have previously created using + /// CreateDebugToken. + /// + /// If valid, returns an AppCheckToken. Note that a restrictive quota is + /// enforced on this method to prevent accidental exposure of the app to + /// abuse. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [app] - Required. The relative resource name of the app, in the format: + /// ``` projects/{project_number}/apps/{app_id} ``` If necessary, the + /// `project_number` element can be replaced with the project ID of the + /// Firebase project. Learn more about using project identifiers in Google's + /// [AIP 2510](https://google.aip.dev/cloud/2510) standard. + /// Value must have pattern `^oauthClients/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleFirebaseAppcheckV1AppCheckToken]. + /// + /// 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 exchangeDebugToken( + GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest request, + core.String app, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$app') + ':exchangeDebugToken'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleFirebaseAppcheckV1AppCheckToken.fromJson( + response_ as core.Map); + } + + /// Generates a challenge that protects the integrity of an immediately + /// following call to ExchangeAppAttestAttestation or + /// ExchangeAppAttestAssertion. + /// + /// A challenge should not be reused for multiple calls. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [app] - Required. The relative resource name of the iOS app, in the + /// format: ``` projects/{project_number}/apps/{app_id} ``` If necessary, the + /// `project_number` element can be replaced with the project ID of the + /// Firebase project. Learn more about using project identifiers in Google's + /// [AIP 2510](https://google.aip.dev/cloud/2510) standard. + /// Value must have pattern `^oauthClients/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse]. + /// + /// 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 + generateAppAttestChallenge( + GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest request, + core.String app, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1/' + core.Uri.encodeFull('$app') + ':generateAppAttestChallenge'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse.fromJson( + response_ as core.Map); + } +} + class ProjectsResource { final commons.ApiRequester _requester; @@ -1661,8 +1876,8 @@ class ProjectsAppsRecaptchaV3ConfigResource { /// Updates the RecaptchaV3Config for the specified app. /// /// While this configuration is incomplete or invalid, the app will be unable - /// to exchange reCAPTCHA tokens for App Check tokens. For security reasons, - /// the `site_secret` field is never populated in the response. + /// to exchange reCAPTCHA V3 tokens for App Check tokens. For security + /// reasons, the `site_secret` field is never populated in the response. /// /// [request] - The metadata request object. /// @@ -3441,10 +3656,9 @@ class GoogleFirebaseAppcheckV1Service { /// app has not launched yet, you should enable enforcement immediately, since /// there are no outdated clients in use. Some services require certain /// conditions to be met before they will work with App Check, such as - /// requiring you to upgrade to a specific service tier or requiring you to - /// enable the service first. Until those requirements are met for a service, - /// this `ENFORCED` setting will have no effect and App Check will not work - /// with that service. + /// requiring you to upgrade to a specific service tier. Until those + /// requirements are met for a service, this `ENFORCED` setting will have no + /// effect and App Check will not work with that service. core.String? enforcementMode; /// The relative resource name of the service configuration object, in the diff --git a/generated/googleapis/lib/firebaseappdistribution/v1.dart b/generated/googleapis/lib/firebaseappdistribution/v1.dart index e29fa1c66..56c207db3 100644 --- a/generated/googleapis/lib/firebaseappdistribution/v1.dart +++ b/generated/googleapis/lib/firebaseappdistribution/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/firebasedynamiclinks/v1.dart b/generated/googleapis/lib/firebasedynamiclinks/v1.dart index 9b9af81d3..2d490914c 100644 --- a/generated/googleapis/lib/firebasedynamiclinks/v1.dart +++ b/generated/googleapis/lib/firebasedynamiclinks/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/firebasehosting/v1.dart b/generated/googleapis/lib/firebasehosting/v1.dart index 869655b11..b5ff18aa4 100644 --- a/generated/googleapis/lib/firebasehosting/v1.dart +++ b/generated/googleapis/lib/firebasehosting/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/firebaseml/v1.dart b/generated/googleapis/lib/firebaseml/v1.dart index fdb7af80d..47a8f9723 100644 --- a/generated/googleapis/lib/firebaseml/v1.dart +++ b/generated/googleapis/lib/firebaseml/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/firebaseremoteconfig/v1.dart b/generated/googleapis/lib/firebaseremoteconfig/v1.dart index f78f2e4d5..df3c64f02 100644 --- a/generated/googleapis/lib/firebaseremoteconfig/v1.dart +++ b/generated/googleapis/lib/firebaseremoteconfig/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/firebaserules/v1.dart b/generated/googleapis/lib/firebaserules/v1.dart index a2b5e4159..e0c7c986c 100644 --- a/generated/googleapis/lib/firebaserules/v1.dart +++ b/generated/googleapis/lib/firebaserules/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/firestore/v1.dart b/generated/googleapis/lib/firestore/v1.dart index 59b7fa4fe..e2d243308 100644 --- a/generated/googleapis/lib/firestore/v1.dart +++ b/generated/googleapis/lib/firestore/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -3732,7 +3733,29 @@ class GoogleFirestoreAdminV1CmekConfig { /// Represents a recurring schedule that runs every day. /// /// The time zone is UTC. -typedef GoogleFirestoreAdminV1DailyRecurrence = $Empty; +class GoogleFirestoreAdminV1DailyRecurrence { + /// Time of the day. + /// + /// The first run scheduled will be either on the same day if schedule + /// creation time precedes time_of_day or the next day otherwise. + TimeOfDay? time; + + GoogleFirestoreAdminV1DailyRecurrence({ + this.time, + }); + + GoogleFirestoreAdminV1DailyRecurrence.fromJson(core.Map json_) + : this( + time: json_.containsKey('time') + ? TimeOfDay.fromJson( + json_['time'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (time != null) 'time': time!, + }; +} /// A Cloud Firestore Database. class GoogleFirestoreAdminV1Database { @@ -3782,9 +3805,9 @@ class GoogleFirestoreAdminV1Database { /// - "DELETE_PROTECTION_ENABLED" : Delete protection is enabled core.String? deleteProtectionState; - /// The timestamp at which this database was soft deleted. + /// The timestamp at which this database was deleted. /// - /// Only set if the database has been soft deleted. + /// Only set if the database has been deleted. /// /// Output only. core.String? deleteTime; @@ -3840,6 +3863,13 @@ class GoogleFirestoreAdminV1Database { /// of the data from within the past 1 hour. core.String? pointInTimeRecoveryEnablement; + /// The database resource's prior database ID. + /// + /// This field is only populated for deleted databases. + /// + /// Output only. + core.String? previousId; + /// The type of the database. /// /// See https://cloud.google.com/datastore/docs/firestore-or-datastore for @@ -3888,6 +3918,7 @@ class GoogleFirestoreAdminV1Database { this.locationId, this.name, this.pointInTimeRecoveryEnablement, + this.previousId, this.type, this.uid, this.updateTime, @@ -3931,6 +3962,9 @@ class GoogleFirestoreAdminV1Database { json_.containsKey('pointInTimeRecoveryEnablement') ? json_['pointInTimeRecoveryEnablement'] as core.String : null, + previousId: json_.containsKey('previousId') + ? json_['previousId'] as core.String + : null, type: json_.containsKey('type') ? json_['type'] as core.String : null, uid: json_.containsKey('uid') ? json_['uid'] as core.String : null, updateTime: json_.containsKey('updateTime') @@ -3958,6 +3992,7 @@ class GoogleFirestoreAdminV1Database { if (name != null) 'name': name!, if (pointInTimeRecoveryEnablement != null) 'pointInTimeRecoveryEnablement': pointInTimeRecoveryEnablement!, + if (previousId != null) 'previousId': previousId!, if (type != null) 'type': type!, if (uid != null) 'uid': uid!, if (updateTime != null) 'updateTime': updateTime!, @@ -4005,7 +4040,8 @@ class GoogleFirestoreAdminV1DatabaseSnapshot { class GoogleFirestoreAdminV1ExportDocumentsRequest { /// Which collection ids to export. /// - /// Unspecified means all collections. + /// Unspecified means all collections. Each collection id in this list must be + /// unique. core.List? collectionIds; /// An empty list represents all namespaces. @@ -4148,7 +4184,8 @@ typedef GoogleFirestoreAdminV1FlatIndex = $Empty; class GoogleFirestoreAdminV1ImportDocumentsRequest { /// Which collection ids to import. /// - /// Unspecified means all collections included in the import. + /// Unspecified means all collections included in the import. Each collection + /// id in this list must be unique. core.List? collectionIds; /// Location of the exported files. @@ -4794,17 +4831,29 @@ class GoogleFirestoreAdminV1WeeklyRecurrence { /// - "SUNDAY" : Sunday core.String? day; + /// Time of the day. + /// + /// If day is today, the first run will happen today if schedule creation time + /// precedes time_of_day, and the next week otherwise. + TimeOfDay? time; + GoogleFirestoreAdminV1WeeklyRecurrence({ this.day, + this.time, }); GoogleFirestoreAdminV1WeeklyRecurrence.fromJson(core.Map json_) : this( day: json_.containsKey('day') ? json_['day'] as core.String : null, + time: json_.containsKey('time') + ? TimeOfDay.fromJson( + json_['time'] as core.Map) + : null, ); core.Map toJson() => { if (day != null) 'day': day!, + if (time != null) 'time': time!, }; } @@ -5958,6 +6007,13 @@ class Sum { }; } +/// 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`. +typedef TimeOfDay = $TimeOfDay; + /// Options for creating a new transaction. class TransactionOptions { /// The transaction can only be used for read operations. diff --git a/generated/googleapis/lib/fitness/v1.dart b/generated/googleapis/lib/fitness/v1.dart index f44b08461..5861282fb 100644 --- a/generated/googleapis/lib/fitness/v1.dart +++ b/generated/googleapis/lib/fitness/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/forms/v1.dart b/generated/googleapis/lib/forms/v1.dart index 885df7828..54942ad0c 100644 --- a/generated/googleapis/lib/forms/v1.dart +++ b/generated/googleapis/lib/forms/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/games/v1.dart b/generated/googleapis/lib/games/v1.dart index e27849a29..85fd40a0f 100644 --- a/generated/googleapis/lib/games/v1.dart +++ b/generated/googleapis/lib/games/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/gamesconfiguration/v1configuration.dart b/generated/googleapis/lib/gamesconfiguration/v1configuration.dart index 888628f08..fb70ddfe2 100644 --- a/generated/googleapis/lib/gamesconfiguration/v1configuration.dart +++ b/generated/googleapis/lib/gamesconfiguration/v1configuration.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/gamesmanagement/v1management.dart b/generated/googleapis/lib/gamesmanagement/v1management.dart index c759b0a98..c33e1aa5d 100644 --- a/generated/googleapis/lib/gamesmanagement/v1management.dart +++ b/generated/googleapis/lib/gamesmanagement/v1management.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/gkebackup/v1.dart b/generated/googleapis/lib/gkebackup/v1.dart index 52dd28a16..fd7b40d94 100644 --- a/generated/googleapis/lib/gkebackup/v1.dart +++ b/generated/googleapis/lib/gkebackup/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -2758,6 +2759,15 @@ class Backup { /// Output only. core.String? name; + /// If false, Backup will fail when Backup for GKE detects Kubernetes + /// configuration that is non-standard or requires additional setup to + /// restore. + /// + /// Inherited from the parent BackupPlan's permissive_mode value. + /// + /// Output only. + core.bool? permissiveMode; + /// The total number of Kubernetes Pods contained in the Backup. /// /// Output only. @@ -2854,6 +2864,7 @@ class Backup { this.labels, this.manual, this.name, + this.permissiveMode, this.podCount, this.resourceCount, this.retainDays, @@ -2917,6 +2928,9 @@ class Backup { manual: json_.containsKey('manual') ? json_['manual'] as core.bool : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, + permissiveMode: json_.containsKey('permissiveMode') + ? json_['permissiveMode'] as core.bool + : null, podCount: json_.containsKey('podCount') ? json_['podCount'] as core.int : null, @@ -2973,6 +2987,7 @@ class Backup { if (labels != null) 'labels': labels!, if (manual != null) 'manual': manual!, if (name != null) 'name': name!, + if (permissiveMode != null) 'permissiveMode': permissiveMode!, if (podCount != null) 'podCount': podCount!, if (resourceCount != null) 'resourceCount': resourceCount!, if (retainDays != null) 'retainDays': retainDays!, @@ -3021,6 +3036,15 @@ class BackupConfig { /// Optional. core.bool? includeVolumeData; + /// If false, Backups will fail when Backup for GKE detects Kubernetes + /// configuration that is non-standard or requires additional setup to + /// restore. + /// + /// Default: False + /// + /// Optional. + core.bool? permissiveMode; + /// If set, include just the resources referenced by the listed /// ProtectedApplications. NamespacedNames? selectedApplications; @@ -3033,6 +3057,7 @@ class BackupConfig { this.encryptionKey, this.includeSecrets, this.includeVolumeData, + this.permissiveMode, this.selectedApplications, this.selectedNamespaces, }); @@ -3052,6 +3077,9 @@ class BackupConfig { includeVolumeData: json_.containsKey('includeVolumeData') ? json_['includeVolumeData'] as core.bool : null, + permissiveMode: json_.containsKey('permissiveMode') + ? json_['permissiveMode'] as core.bool + : null, selectedApplications: json_.containsKey('selectedApplications') ? NamespacedNames.fromJson(json_['selectedApplications'] as core.Map) @@ -3067,6 +3095,7 @@ class BackupConfig { if (encryptionKey != null) 'encryptionKey': encryptionKey!, if (includeSecrets != null) 'includeSecrets': includeSecrets!, if (includeVolumeData != null) 'includeVolumeData': includeVolumeData!, + if (permissiveMode != null) 'permissiveMode': permissiveMode!, if (selectedApplications != null) 'selectedApplications': selectedApplications!, if (selectedNamespaces != null) @@ -3725,6 +3754,58 @@ class ExclusionWindow { /// information. typedef Expr = $Expr; +/// Defines the filter for `Restore`. +/// +/// This filter can be used to further refine the resource selection of the +/// `Restore` beyond the coarse-grained scope defined in the `RestorePlan`. +/// `exclusion_filters` take precedence over `inclusion_filters`. If a resource +/// matches both `inclusion_filters` and `exclusion_filters`, it will not be +/// restored. +class Filter { + /// Excludes resources from restoration. + /// + /// If specified, a resource will not be restored if it matches any + /// `ResourceSelector` of the `exclusion_filters`. + /// + /// Optional. + core.List? exclusionFilters; + + /// Selects resources for restoration. + /// + /// If specified, only resources which match `inclusion_filters` will be + /// selected for restoration. A resource will be selected if it matches any + /// `ResourceSelector` of the `inclusion_filters`. + /// + /// Optional. + core.List? inclusionFilters; + + Filter({ + this.exclusionFilters, + this.inclusionFilters, + }); + + Filter.fromJson(core.Map json_) + : this( + exclusionFilters: json_.containsKey('exclusionFilters') + ? (json_['exclusionFilters'] as core.List) + .map((value) => ResourceSelector.fromJson( + value as core.Map)) + .toList() + : null, + inclusionFilters: json_.containsKey('inclusionFilters') + ? (json_['inclusionFilters'] as core.List) + .map((value) => ResourceSelector.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (exclusionFilters != null) 'exclusionFilters': exclusionFilters!, + if (inclusionFilters != null) 'inclusionFilters': inclusionFilters!, + }; +} + /// Response message for GetBackupIndexDownloadUrl. class GetBackupIndexDownloadUrlResponse { core.String? signedUrl; @@ -3906,6 +3987,43 @@ class GroupKind { }; } +/// Defines a dependency between two group kinds. +class GroupKindDependency { + /// The requiring group kind requires that the other group kind be restored + /// first. + /// + /// Required. + GroupKind? requiring; + + /// The satisfying group kind must be restored first in order to satisfy the + /// dependency. + /// + /// Required. + GroupKind? satisfying; + + GroupKindDependency({ + this.requiring, + this.satisfying, + }); + + GroupKindDependency.fromJson(core.Map json_) + : this( + requiring: json_.containsKey('requiring') + ? GroupKind.fromJson( + json_['requiring'] as core.Map) + : null, + satisfying: json_.containsKey('satisfying') + ? GroupKind.fromJson( + json_['satisfying'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (requiring != null) 'requiring': requiring!, + if (satisfying != null) 'satisfying': satisfying!, + }; +} + /// Response message for ListBackupPlans. class ListBackupPlansResponse { /// The list of BackupPlans matching the given criteria. @@ -4454,6 +4572,84 @@ class ResourceFilter { }; } +/// Defines a selector to identify a single or a group of resources. +/// +/// Conditions in the selector are optional, but at least one field should be +/// set to a non-empty value. If a condition is not specified, no restrictions +/// will be applied on that dimension. If more than one condition is specified, +/// a resource will be selected if and only if all conditions are met. +class ResourceSelector { + /// Selects resources using their Kubernetes GroupKinds. + /// + /// If specified, only resources of provided GroupKind will be selected. + /// + /// Optional. + GroupKind? groupKind; + + /// Selects resources using Kubernetes + /// [labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/). + /// + /// If specified, a resource will be selected if and only if the resource has + /// all of the provided labels and all the label values match. + /// + /// Optional. + core.Map? labels; + + /// Selects resources using their resource names. + /// + /// If specified, only resources with the provided name will be selected. + /// + /// Optional. + core.String? name; + + /// Selects resources using their namespaces. + /// + /// This only applies to namespace scoped resources and cannot be used for + /// selecting cluster scoped resources. If specified, only resources in the + /// provided namespace will be selected. If not specified, the filter will + /// apply to both cluster scoped and namespace scoped resources (e.g. name or + /// label). The [Namespace](https://pkg.go.dev/k8s.io/api/core/v1#Namespace) + /// resource itself will be restored if and only if any resources within the + /// namespace are restored. + /// + /// Optional. + core.String? namespace; + + ResourceSelector({ + this.groupKind, + this.labels, + this.name, + this.namespace, + }); + + ResourceSelector.fromJson(core.Map json_) + : this( + groupKind: json_.containsKey('groupKind') + ? GroupKind.fromJson( + json_['groupKind'] as core.Map) + : null, + labels: json_.containsKey('labels') + ? (json_['labels'] as core.Map).map( + (key, value) => core.MapEntry( + key, + value as core.String, + ), + ) + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + namespace: json_.containsKey('namespace') + ? json_['namespace'] as core.String + : null, + ); + + core.Map toJson() => { + if (groupKind != null) 'groupKind': groupKind!, + if (labels != null) 'labels': labels!, + if (name != null) 'name': name!, + if (namespace != null) 'namespace': namespace!, + }; +} + /// Represents both a request to Restore some portion of a Backup into a target /// GKE cluster and a record of the restore operation itself. class Restore { @@ -4502,6 +4698,19 @@ class Restore { /// Output only. core.String? etag; + /// Filters resources for `Restore`. + /// + /// If not specified, the scope of the restore will remain the same as defined + /// in the `RestorePlan`. If this is specified, and no resources are matched + /// by the `inclusion_filters` or everyting is excluded by the + /// `exclusion_filters`, nothing will be restored. This filter can only be + /// specified if the value of namespaced_resource_restore_mode is set to + /// `MERGE_SKIP_ON_CONFLICT`, `MERGE_REPLACE_VOLUME_ON_CONFLICT` or + /// `MERGE_REPLACE_ON_CONFLICT`. + /// + /// Optional. Immutable. + Filter? filter; + /// A set of custom labels supplied by user. core.Map? labels; @@ -4568,6 +4777,12 @@ class Restore { /// Output only. core.String? updateTime; + /// Overrides the volume data restore policies selected in the Restore Config + /// for override-scoped resources. + /// + /// Optional. Immutable. + core.List? volumeDataRestorePolicyOverrides; + /// Number of volumes restored during the restore execution. /// /// Output only. @@ -4580,6 +4795,7 @@ class Restore { this.createTime, this.description, this.etag, + this.filter, this.labels, this.name, this.resourcesExcludedCount, @@ -4590,6 +4806,7 @@ class Restore { this.stateReason, this.uid, this.updateTime, + this.volumeDataRestorePolicyOverrides, this.volumesRestoredCount, }); @@ -4611,6 +4828,10 @@ class Restore { ? json_['description'] as core.String : null, etag: json_.containsKey('etag') ? json_['etag'] as core.String : null, + filter: json_.containsKey('filter') + ? Filter.fromJson( + json_['filter'] as core.Map) + : null, labels: json_.containsKey('labels') ? (json_['labels'] as core.Map).map( (key, value) => core.MapEntry( @@ -4642,6 +4863,13 @@ class Restore { updateTime: json_.containsKey('updateTime') ? json_['updateTime'] as core.String : null, + volumeDataRestorePolicyOverrides: + json_.containsKey('volumeDataRestorePolicyOverrides') + ? (json_['volumeDataRestorePolicyOverrides'] as core.List) + .map((value) => VolumeDataRestorePolicyOverride.fromJson( + value as core.Map)) + .toList() + : null, volumesRestoredCount: json_.containsKey('volumesRestoredCount') ? json_['volumesRestoredCount'] as core.int : null, @@ -4654,6 +4882,7 @@ class Restore { if (createTime != null) 'createTime': createTime!, if (description != null) 'description': description!, if (etag != null) 'etag': etag!, + if (filter != null) 'filter': filter!, if (labels != null) 'labels': labels!, if (name != null) 'name': name!, if (resourcesExcludedCount != null) @@ -4667,6 +4896,8 @@ class Restore { if (stateReason != null) 'stateReason': stateReason!, if (uid != null) 'uid': uid!, if (updateTime != null) 'updateTime': updateTime!, + if (volumeDataRestorePolicyOverrides != null) + 'volumeDataRestorePolicyOverrides': volumeDataRestorePolicyOverrides!, if (volumesRestoredCount != null) 'volumesRestoredCount': volumesRestoredCount!, }; @@ -4732,6 +4963,32 @@ class RestoreConfig { /// If a conflict occurs during the restore process itself (e.g., because an /// out of band process creates conflicting resources), a conflict will be /// reported. + /// - "MERGE_SKIP_ON_CONFLICT" : This mode merges the backup and the target + /// cluster and skips the conflicting resources. If a single resource to + /// restore exists in the cluster before restoration, the resource will be + /// skipped, otherwise it will be restored. + /// - "MERGE_REPLACE_VOLUME_ON_CONFLICT" : This mode merges the backup and the + /// target cluster and skips the conflicting resources except volume data. If + /// a PVC to restore already exists, this mode will restore/reconnect the + /// volume without overwriting the PVC. It is similar to + /// MERGE_SKIP_ON_CONFLICT except that it will apply the volume data policy + /// for the conflicting PVCs: - RESTORE_VOLUME_DATA_FROM_BACKUP: restore data + /// only and respect the reclaim policy of the original PV; - + /// REUSE_VOLUME_HANDLE_FROM_BACKUP: reconnect and respect the reclaim policy + /// of the original PV; - NO_VOLUME_DATA_RESTORATION: new provision and + /// respect the reclaim policy of the original PV. Note that this mode could + /// cause data loss as the original PV can be retained or deleted depending on + /// its reclaim policy. + /// - "MERGE_REPLACE_ON_CONFLICT" : This mode merges the backup and the target + /// cluster and replaces the conflicting resources with the ones in the + /// backup. If a single resource to restore exists in the cluster before + /// restoration, the resource will be replaced with the one from the backup. + /// To replace an existing resource, the first attempt is to update the + /// resource to match the one from the backup; if the update fails, the second + /// attempt is to delete the resource and restore it from the backup. Note + /// that this mode could cause data loss as it replaces the existing resources + /// in the target cluster, and the original PV can be retained or deleted + /// depending on its reclaim policy. core.String? namespacedResourceRestoreMode; /// Do not restore any namespaced resources if set to "True". @@ -4739,6 +4996,11 @@ class RestoreConfig { /// Specifying this field to "False" is not allowed. core.bool? noNamespaces; + /// RestoreOrder contains custom ordering to use on a Restore. + /// + /// Optional. + RestoreOrder? restoreOrder; + /// A list of selected ProtectedApplications to restore. /// /// The listed ProtectedApplications and all the resources to which they refer @@ -4793,6 +5055,14 @@ class RestoreConfig { /// provisioned PVs. core.String? volumeDataRestorePolicy; + /// A table that binds volumes by their scope to a restore policy. + /// + /// Bindings must have a unique scope. Any volumes not scoped in the bindings + /// are subject to the policy defined in volume_data_restore_policy. + /// + /// Optional. + core.List? volumeDataRestorePolicyBindings; + RestoreConfig({ this.allNamespaces, this.clusterResourceConflictPolicy, @@ -4800,11 +5070,13 @@ class RestoreConfig { this.excludedNamespaces, this.namespacedResourceRestoreMode, this.noNamespaces, + this.restoreOrder, this.selectedApplications, this.selectedNamespaces, this.substitutionRules, this.transformationRules, this.volumeDataRestorePolicy, + this.volumeDataRestorePolicyBindings, }); RestoreConfig.fromJson(core.Map json_) @@ -4833,6 +5105,10 @@ class RestoreConfig { noNamespaces: json_.containsKey('noNamespaces') ? json_['noNamespaces'] as core.bool : null, + restoreOrder: json_.containsKey('restoreOrder') + ? RestoreOrder.fromJson( + json_['restoreOrder'] as core.Map) + : null, selectedApplications: json_.containsKey('selectedApplications') ? NamespacedNames.fromJson(json_['selectedApplications'] as core.Map) @@ -4856,6 +5132,13 @@ class RestoreConfig { volumeDataRestorePolicy: json_.containsKey('volumeDataRestorePolicy') ? json_['volumeDataRestorePolicy'] as core.String : null, + volumeDataRestorePolicyBindings: + json_.containsKey('volumeDataRestorePolicyBindings') + ? (json_['volumeDataRestorePolicyBindings'] as core.List) + .map((value) => VolumeDataRestorePolicyBinding.fromJson( + value as core.Map)) + .toList() + : null, ); core.Map toJson() => { @@ -4869,6 +5152,7 @@ class RestoreConfig { if (namespacedResourceRestoreMode != null) 'namespacedResourceRestoreMode': namespacedResourceRestoreMode!, if (noNamespaces != null) 'noNamespaces': noNamespaces!, + if (restoreOrder != null) 'restoreOrder': restoreOrder!, if (selectedApplications != null) 'selectedApplications': selectedApplications!, if (selectedNamespaces != null) @@ -4878,6 +5162,37 @@ class RestoreConfig { 'transformationRules': transformationRules!, if (volumeDataRestorePolicy != null) 'volumeDataRestorePolicy': volumeDataRestorePolicy!, + if (volumeDataRestorePolicyBindings != null) + 'volumeDataRestorePolicyBindings': volumeDataRestorePolicyBindings!, + }; +} + +/// Allows customers to specify dependencies between resources that Backup for +/// GKE can use to compute a resasonable restore order. +class RestoreOrder { + /// Contains a list of group kind dependency pairs provided by the customer, + /// that is used by Backup for GKE to generate a group kind restore order. + /// + /// Optional. + core.List? groupKindDependencies; + + RestoreOrder({ + this.groupKindDependencies, + }); + + RestoreOrder.fromJson(core.Map json_) + : this( + groupKindDependencies: json_.containsKey('groupKindDependencies') + ? (json_['groupKindDependencies'] as core.List) + .map((value) => GroupKindDependency.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (groupKindDependencies != null) + 'groupKindDependencies': groupKindDependencies!, }; } @@ -5691,6 +6006,101 @@ class VolumeBackup { }; } +/// Binds resources in the scope to the given VolumeDataRestorePolicy. +class VolumeDataRestorePolicyBinding { + /// The VolumeDataRestorePolicy to apply when restoring volumes in scope. + /// + /// Required. + /// Possible string values are: + /// - "VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED" : Unspecified (illegal). + /// - "RESTORE_VOLUME_DATA_FROM_BACKUP" : For each PVC to be restored, create + /// a new underlying volume and PV from the corresponding VolumeBackup + /// contained within the Backup. + /// - "REUSE_VOLUME_HANDLE_FROM_BACKUP" : For each PVC to be restored, attempt + /// to reuse the original PV contained in the Backup (with its original + /// underlying volume). This option is likely only usable when restoring a + /// workload to its original cluster. + /// - "NO_VOLUME_DATA_RESTORATION" : For each PVC to be restored, create PVC + /// without any particular action to restore data. In this case, the normal + /// Kubernetes provisioning logic would kick in, and this would likely result + /// in either dynamically provisioning blank PVs or binding to statically + /// provisioned PVs. + core.String? policy; + + /// The volume type, as determined by the PVC's bound PV, to apply the policy + /// to. + /// Possible string values are: + /// - "VOLUME_TYPE_UNSPECIFIED" : Default + /// - "GCE_PERSISTENT_DISK" : Compute Engine Persistent Disk volume + core.String? volumeType; + + VolumeDataRestorePolicyBinding({ + this.policy, + this.volumeType, + }); + + VolumeDataRestorePolicyBinding.fromJson(core.Map json_) + : this( + policy: json_.containsKey('policy') + ? json_['policy'] as core.String + : null, + volumeType: json_.containsKey('volumeType') + ? json_['volumeType'] as core.String + : null, + ); + + core.Map toJson() => { + if (policy != null) 'policy': policy!, + if (volumeType != null) 'volumeType': volumeType!, + }; +} + +/// Defines an override to apply a VolumeDataRestorePolicy for scoped resources. +class VolumeDataRestorePolicyOverride { + /// The VolumeDataRestorePolicy to apply when restoring volumes in scope. + /// + /// Required. + /// Possible string values are: + /// - "VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED" : Unspecified (illegal). + /// - "RESTORE_VOLUME_DATA_FROM_BACKUP" : For each PVC to be restored, create + /// a new underlying volume and PV from the corresponding VolumeBackup + /// contained within the Backup. + /// - "REUSE_VOLUME_HANDLE_FROM_BACKUP" : For each PVC to be restored, attempt + /// to reuse the original PV contained in the Backup (with its original + /// underlying volume). This option is likely only usable when restoring a + /// workload to its original cluster. + /// - "NO_VOLUME_DATA_RESTORATION" : For each PVC to be restored, create PVC + /// without any particular action to restore data. In this case, the normal + /// Kubernetes provisioning logic would kick in, and this would likely result + /// in either dynamically provisioning blank PVs or binding to statically + /// provisioned PVs. + core.String? policy; + + /// A list of PVCs to apply the policy override to. + NamespacedNames? selectedPvcs; + + VolumeDataRestorePolicyOverride({ + this.policy, + this.selectedPvcs, + }); + + VolumeDataRestorePolicyOverride.fromJson(core.Map json_) + : this( + policy: json_.containsKey('policy') + ? json_['policy'] as core.String + : null, + selectedPvcs: json_.containsKey('selectedPvcs') + ? NamespacedNames.fromJson( + json_['selectedPvcs'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (policy != null) 'policy': policy!, + if (selectedPvcs != null) 'selectedPvcs': selectedPvcs!, + }; +} + /// Represents the operation of restoring a volume from a VolumeBackup. class VolumeRestore { /// The timestamp when the associated underlying volume restoration completed. diff --git a/generated/googleapis/lib/gkehub/v1.dart b/generated/googleapis/lib/gkehub/v1.dart index 9191a54f6..5b7649c2a 100644 --- a/generated/googleapis/lib/gkehub/v1.dart +++ b/generated/googleapis/lib/gkehub/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -7298,9 +7299,13 @@ class ListMembershipBindingsResponse { /// return. core.String? nextPageToken; + /// List of locations that could not be reached while fetching this list. + core.List? unreachable; + ListMembershipBindingsResponse({ this.membershipBindings, this.nextPageToken, + this.unreachable, }); ListMembershipBindingsResponse.fromJson(core.Map json_) @@ -7314,12 +7319,18 @@ class ListMembershipBindingsResponse { nextPageToken: json_.containsKey('nextPageToken') ? json_['nextPageToken'] as core.String : null, + unreachable: json_.containsKey('unreachable') + ? (json_['unreachable'] as core.List) + .map((value) => value as core.String) + .toList() + : null, ); core.Map toJson() => { if (membershipBindings != null) 'membershipBindings': membershipBindings!, if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (unreachable != null) 'unreachable': unreachable!, }; } @@ -9831,43 +9842,7 @@ class ScopeLifecycleState { /// SecurityPostureConfig defines the flags needed to enable/disable features /// for the Security Posture API. -class SecurityPostureConfig { - /// Sets which mode to use for Security Posture features. - /// Possible string values are: - /// - "MODE_UNSPECIFIED" : Default value not specified. - /// - "DISABLED" : Disables Security Posture features on the cluster. - /// - "BASIC" : Applies Security Posture features on the cluster. - core.String? mode; - - /// Sets which mode to use for vulnerability scanning. - /// Possible string values are: - /// - "VULNERABILITY_MODE_UNSPECIFIED" : Default value not specified. - /// - "VULNERABILITY_DISABLED" : Disables vulnerability scanning on the - /// cluster. - /// - "VULNERABILITY_BASIC" : Applies basic vulnerability scanning on the - /// cluster. - /// - "VULNERABILITY_ENTERPRISE" : Applies the Security Posture's - /// vulnerability on cluster Enterprise level features. - core.String? vulnerabilityMode; - - SecurityPostureConfig({ - this.mode, - this.vulnerabilityMode, - }); - - SecurityPostureConfig.fromJson(core.Map json_) - : this( - mode: json_.containsKey('mode') ? json_['mode'] as core.String : null, - vulnerabilityMode: json_.containsKey('vulnerabilityMode') - ? json_['vulnerabilityMode'] as core.String - : null, - ); - - core.Map toJson() => { - if (mode != null) 'mode': mode!, - if (vulnerabilityMode != null) 'vulnerabilityMode': vulnerabilityMode!, - }; -} +typedef SecurityPostureConfig = $SecurityPostureConfig; /// Condition being reported. class ServiceMeshCondition { diff --git a/generated/googleapis/lib/gkeonprem/v1.dart b/generated/googleapis/lib/gkeonprem/v1.dart index 7532832c1..98efc989f 100644 --- a/generated/googleapis/lib/gkeonprem/v1.dart +++ b/generated/googleapis/lib/gkeonprem/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/gmail/v1.dart b/generated/googleapis/lib/gmail/v1.dart index 3017361dd..cc407de5b 100644 --- a/generated/googleapis/lib/gmail/v1.dart +++ b/generated/googleapis/lib/gmail/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -146,8 +147,6 @@ class UsersResource { /// [userId] - The user's email address. The special value `me` can be used to /// indicate the authenticated user. /// - /// [temporaryEeccBypass] - null - /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -160,12 +159,9 @@ class UsersResource { /// this method will complete with the same error. async.Future getProfile( core.String userId, { - core.bool? temporaryEeccBypass, core.String? $fields, }) async { final queryParams_ = >{ - if (temporaryEeccBypass != null) - 'temporaryEeccBypass': ['${temporaryEeccBypass}'], if ($fields != null) 'fields': [$fields], }; @@ -1106,8 +1102,6 @@ class UsersMessagesResource { /// [metadataHeaders] - When given and format is `METADATA`, only include /// headers specified. /// - /// [temporaryEeccBypass] - null - /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -1123,14 +1117,11 @@ class UsersMessagesResource { core.String id, { core.String? format, core.List? metadataHeaders, - core.bool? temporaryEeccBypass, core.String? $fields, }) async { final queryParams_ = >{ if (format != null) 'format': [format], if (metadataHeaders != null) 'metadataHeaders': metadataHeaders, - if (temporaryEeccBypass != null) - 'temporaryEeccBypass': ['${temporaryEeccBypass}'], if ($fields != null) 'fields': [$fields], }; @@ -1349,8 +1340,6 @@ class UsersMessagesResource { /// `"from:someuser@example.com rfc822msgid: is:unread"`. Parameter cannot be /// used when accessing the api using the gmail.metadata scope. /// - /// [temporaryEeccBypass] - null - /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -1368,7 +1357,6 @@ class UsersMessagesResource { core.int? maxResults, core.String? pageToken, core.String? q, - core.bool? temporaryEeccBypass, core.String? $fields, }) async { final queryParams_ = >{ @@ -1377,8 +1365,6 @@ class UsersMessagesResource { if (maxResults != null) 'maxResults': ['${maxResults}'], if (pageToken != null) 'pageToken': [pageToken], if (q != null) 'q': [q], - if (temporaryEeccBypass != null) - 'temporaryEeccBypass': ['${temporaryEeccBypass}'], if ($fields != null) 'fields': [$fields], }; @@ -1610,8 +1596,6 @@ class UsersMessagesAttachmentsResource { /// /// [id] - The ID of the attachment. /// - /// [temporaryEeccBypass] - null - /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -1626,12 +1610,9 @@ class UsersMessagesAttachmentsResource { core.String userId, core.String messageId, core.String id, { - core.bool? temporaryEeccBypass, core.String? $fields, }) async { final queryParams_ = >{ - if (temporaryEeccBypass != null) - 'temporaryEeccBypass': ['${temporaryEeccBypass}'], if ($fields != null) 'fields': [$fields], }; @@ -3810,8 +3791,6 @@ class UsersThreadsResource { /// [metadataHeaders] - When given and format is METADATA, only include /// headers specified. /// - /// [temporaryEeccBypass] - null - /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -3827,14 +3806,11 @@ class UsersThreadsResource { core.String id, { core.String? format, core.List? metadataHeaders, - core.bool? temporaryEeccBypass, core.String? $fields, }) async { final queryParams_ = >{ if (format != null) 'format': [format], if (metadataHeaders != null) 'metadataHeaders': metadataHeaders, - if (temporaryEeccBypass != null) - 'temporaryEeccBypass': ['${temporaryEeccBypass}'], if ($fields != null) 'fields': [$fields], }; @@ -3875,8 +3851,6 @@ class UsersThreadsResource { /// `"from:someuser@example.com rfc822msgid: is:unread"`. Parameter cannot be /// used when accessing the api using the gmail.metadata scope. /// - /// [temporaryEeccBypass] - null - /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -3894,7 +3868,6 @@ class UsersThreadsResource { core.int? maxResults, core.String? pageToken, core.String? q, - core.bool? temporaryEeccBypass, core.String? $fields, }) async { final queryParams_ = >{ @@ -3903,8 +3876,6 @@ class UsersThreadsResource { if (maxResults != null) 'maxResults': ['${maxResults}'], if (pageToken != null) 'pageToken': [pageToken], if (q != null) 'q': [q], - if (temporaryEeccBypass != null) - 'temporaryEeccBypass': ['${temporaryEeccBypass}'], if ($fields != null) 'fields': [$fields], }; diff --git a/generated/googleapis/lib/gmailpostmastertools/v1.dart b/generated/googleapis/lib/gmailpostmastertools/v1.dart index 51891141b..b6847e76d 100644 --- a/generated/googleapis/lib/gmailpostmastertools/v1.dart +++ b/generated/googleapis/lib/gmailpostmastertools/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/groupsmigration/v1.dart b/generated/googleapis/lib/groupsmigration/v1.dart index f84b5a722..521a24834 100644 --- a/generated/googleapis/lib/groupsmigration/v1.dart +++ b/generated/googleapis/lib/groupsmigration/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/groupssettings/v1.dart b/generated/googleapis/lib/groupssettings/v1.dart index 93ab72fbc..ba7d55335 100644 --- a/generated/googleapis/lib/groupssettings/v1.dart +++ b/generated/googleapis/lib/groupssettings/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/healthcare/v1.dart b/generated/googleapis/lib/healthcare/v1.dart index dedea8974..a98c9a26f 100644 --- a/generated/googleapis/lib/healthcare/v1.dart +++ b/generated/googleapis/lib/healthcare/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/homegraph/v1.dart b/generated/googleapis/lib/homegraph/v1.dart index cc5eb71b2..98bb039b5 100644 --- a/generated/googleapis/lib/homegraph/v1.dart +++ b/generated/googleapis/lib/homegraph/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/iam/v1.dart b/generated/googleapis/lib/iam/v1.dart index e2d8d85be..5064b5a00 100644 --- a/generated/googleapis/lib/iam/v1.dart +++ b/generated/googleapis/lib/iam/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -1466,16 +1467,16 @@ class OrganizationsRolesResource { /// /// [parent] - The `parent` parameter's value depends on the target resource /// for the request, namely - /// \[`projects`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) + /// [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) /// or - /// \[`organizations`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). + /// [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). /// Each resource type's `parent` value format is described below: * - /// \[`projects.roles.create()`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/create): + /// [projects.roles.create](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/create): /// `projects/{PROJECT_ID}`. This method creates project-level /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). /// Example request URL: /// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * - /// \[`organizations.roles.create()`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/create): + /// [organizations.roles.create](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/create): /// `organizations/{ORGANIZATION_ID}`. This method creates organization-level /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). /// Example request URL: @@ -1530,17 +1531,17 @@ class OrganizationsRolesResource { /// /// [name] - The `name` parameter's value depends on the target resource for /// the request, namely - /// \[`projects`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) + /// [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) /// or - /// \[`organizations`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). + /// [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). /// Each resource type's `name` value format is described below: * - /// \[`projects.roles.delete()`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/delete): + /// [projects.roles.delete](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/delete): /// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) /// that have been created at the project level. Example request URL: /// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` /// * - /// \[`organizations.roles.delete()`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/delete): + /// [organizations.roles.delete](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/delete): /// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method /// deletes only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) @@ -1588,23 +1589,23 @@ class OrganizationsRolesResource { /// /// [name] - The `name` parameter's value depends on the target resource for /// the request, namely - /// \[`roles`\](https://cloud.google.com/iam/docs/reference/rest/v1/roles), - /// \[`projects`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), + /// [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), + /// [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), /// or - /// \[`organizations`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). + /// [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). /// Each resource type's `name` value format is described below: * - /// \[`roles.get()`\](https://cloud.google.com/iam/docs/reference/rest/v1/roles/get): + /// [roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/roles/get): /// `roles/{ROLE_NAME}`. This method returns results from all /// [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) /// in IAM. Example request URL: /// `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` * - /// \[`projects.roles.get()`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/get): + /// [projects.roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/get): /// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) /// that have been created at the project level. Example request URL: /// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` /// * - /// \[`organizations.roles.get()`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/get): + /// [organizations.roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/get): /// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method /// returns only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) @@ -1649,22 +1650,22 @@ class OrganizationsRolesResource { /// /// [parent] - The `parent` parameter's value depends on the target resource /// for the request, namely - /// \[`roles`\](https://cloud.google.com/iam/docs/reference/rest/v1/roles), - /// \[`projects`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), + /// [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), + /// [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), /// or - /// \[`organizations`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). + /// [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). /// Each resource type's `parent` value format is described below: * - /// \[`roles.list()`\](https://cloud.google.com/iam/docs/reference/rest/v1/roles/list): + /// [roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/roles/list): /// An empty string. This method doesn't require a resource; it simply returns /// all /// [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) /// in IAM. Example request URL: `https://iam.googleapis.com/v1/roles` * - /// \[`projects.roles.list()`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/list): + /// [projects.roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/list): /// `projects/{PROJECT_ID}`. This method lists all project-level /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). /// Example request URL: /// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * - /// \[`organizations.roles.list()`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/list): + /// [organizations.roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/list): /// `organizations/{ORGANIZATION_ID}`. This method lists all /// organization-level /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). @@ -1736,17 +1737,17 @@ class OrganizationsRolesResource { /// /// [name] - The `name` parameter's value depends on the target resource for /// the request, namely - /// \[`projects`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) + /// [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) /// or - /// \[`organizations`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). + /// [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). /// Each resource type's `name` value format is described below: * - /// \[`projects.roles.patch()`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/patch): + /// [projects.roles.patch](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/patch): /// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) /// that have been created at the project level. Example request URL: /// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` /// * - /// \[`organizations.roles.patch()`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/patch): + /// [organizations.roles.patch](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/patch): /// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method /// updates only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) @@ -1799,17 +1800,17 @@ class OrganizationsRolesResource { /// /// [name] - The `name` parameter's value depends on the target resource for /// the request, namely - /// \[`projects`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) + /// [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) /// or - /// \[`organizations`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). + /// [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). /// Each resource type's `name` value format is described below: * - /// \[`projects.roles.undelete()`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/undelete): + /// [projects.roles.undelete](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/undelete): /// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) /// that have been created at the project level. Example request URL: /// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` /// * - /// \[`organizations.roles.undelete()`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/undelete): + /// [organizations.roles.undelete](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/undelete): /// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method /// undeletes only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) @@ -1931,18 +1932,18 @@ class ProjectsLocationsOauthClientsResource { /// Creates a new OauthClient. /// - /// You cannot reuse the name of a deleted oauth client until 30 days after + /// You cannot reuse the name of a deleted OauthClient until 30 days after /// deletion. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [parent] - Required. The parent resource to create the oauth client in. - /// The only supported location is `global`. + /// [parent] - Required. The parent resource to create the OauthClient in. The + /// only supported location is `global`. /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// - /// [oauthClientId] - Required. The ID to use for the oauth client, which + /// [oauthClientId] - Required. The ID to use for the OauthClient, which /// becomes the final component of the resource name. This value should be a /// string of 6 to 63 lowercase letters, digits, or hyphens. It must start /// with a letter, and cannot have a trailing hyphen. The prefix `gcp-` is @@ -1982,20 +1983,20 @@ class ProjectsLocationsOauthClientsResource { response_ as core.Map); } - /// Deletes a OauthClient. + /// Deletes an OauthClient. /// - /// You cannot use a deleted oauth client. However, deletion does not revoke - /// access tokens that have already been issued; they continue to grant - /// access. Deletion does revoke refresh tokens that have already been issued; - /// They cannot be used to renew an access token. If the oauth client is + /// You cannot use a deleted OauthClient. However, deletion does not revoke + /// access tokens that have already been issued. They continue to grant + /// access. Deletion does revoke refresh tokens that have already been issued. + /// They cannot be used to renew an access token. If the OauthClient is /// undeleted, and the refresh tokens are not expired, they are valid for - /// token exchange again. You can undelete an oauth client for 30 days. After - /// 30 days, deletion is permanent. You cannot update deleted oauth clients. + /// token exchange again. You can undelete an OauthClient for 30 days. After + /// 30 days, deletion is permanent. You cannot update deleted OauthClients. /// However, you can view and list them. /// /// Request parameters: /// - /// [name] - Required. The name of the oauth client to delete. Format: + /// [name] - Required. The name of the OauthClient to delete. Format: /// `projects/{project}/locations/{location}/oauthClients/{oauth_client}`. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/oauthClients/\[^/\]+$`. @@ -2033,7 +2034,7 @@ class ProjectsLocationsOauthClientsResource { /// /// Request parameters: /// - /// [name] - Required. The name of the oauth client to retrieve. Format: + /// [name] - Required. The name of the OauthClient to retrieve. Format: /// `projects/{project}/locations/{location}/oauthClients/{oauth_client}`. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/oauthClients/\[^/\]+$`. @@ -2067,24 +2068,24 @@ class ProjectsLocationsOauthClientsResource { response_ as core.Map); } - /// Lists all non-deleted OauthClientss in a project. + /// Lists all non-deleted OauthClients in a project. /// - /// If `show_deleted` is set to `true`, then deleted oauth clients are also + /// If `show_deleted` is set to `true`, then deleted OauthClients are also /// listed. /// /// Request parameters: /// - /// [parent] - Required. The parent to list oauth clients for. + /// [parent] - Required. The parent to list OauthClients for. /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. /// - /// [pageSize] - Optional. The maximum number of oauth clients to return. If - /// unspecified, at most 50 oauth clients will be returned. The maximum value + /// [pageSize] - Optional. The maximum number of OauthClients to return. If + /// unspecified, at most 50 OauthClients will be returned. The maximum value /// is 100; values above 100 are truncated to 100. /// /// [pageToken] - Optional. A page token, received from a previous /// `ListOauthClients` call. Provide this to retrieve the subsequent page. /// - /// [showDeleted] - Optional. Whether to return soft-deleted oauth clients. + /// [showDeleted] - Optional. Whether to return soft-deleted OauthClients. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. @@ -2127,7 +2128,7 @@ class ProjectsLocationsOauthClientsResource { /// /// Request parameters: /// - /// [name] - Immutable. The resource name of the oauth client. + /// [name] - Immutable. The resource name of the OauthClient. /// Format:`projects/{project}/locations/{location}/oauthClients/{oauth_client}`. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/oauthClients/\[^/\]+$`. @@ -2168,13 +2169,14 @@ class ProjectsLocationsOauthClientsResource { response_ as core.Map); } - /// Undeletes a OauthClient, as long as it was deleted fewer than 30 days ago. + /// Undeletes an OauthClient, as long as it was deleted fewer than 30 days + /// ago. /// /// [request] - The metadata request object. /// /// Request parameters: /// - /// [name] - Required. The name of the oauth client to undelete. Format: + /// [name] - Required. The name of the OauthClient to undelete. Format: /// `projects/{project}/locations/{location}/oauthClients/{oauth_client}`. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/oauthClients/\[^/\]+$`. @@ -2224,14 +2226,14 @@ class ProjectsLocationsOauthClientsCredentialsResource { /// /// Request parameters: /// - /// [parent] - Required. The parent resource to create the oauth client - /// Credential in. + /// [parent] - Required. The parent resource to create the + /// OauthClientCredential in. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/oauthClients/\[^/\]+$`. /// - /// [oauthClientCredentialId] - Required. The ID to use for the oauth client - /// credential, which becomes the final component of the resource name. This - /// value should be 4-32 characters, and may contain the characters + /// [oauthClientCredentialId] - Required. The ID to use for the + /// OauthClientCredential, which becomes the final component of the resource + /// name. This value should be 4-32 characters, and may contain the characters /// \[a-z0-9-\]. The prefix `gcp-` is reserved for use by Google, and may not /// be specified. /// @@ -2270,13 +2272,13 @@ class ProjectsLocationsOauthClientsCredentialsResource { response_ as core.Map); } - /// Deletes a OauthClientCredential. + /// Deletes an OauthClientCredential. /// - /// Before deleting an oauth client credential, it should first be disabled. + /// Before deleting an OauthClientCredential, it should first be disabled. /// /// Request parameters: /// - /// [name] - Required. The name of the oauth client credential to delete. + /// [name] - Required. The name of the OauthClientCredential to delete. /// Format: /// `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}`. /// Value must have pattern @@ -2314,7 +2316,7 @@ class ProjectsLocationsOauthClientsCredentialsResource { /// /// Request parameters: /// - /// [name] - Required. The name of the oauth client credential to retrieve. + /// [name] - Required. The name of the OauthClientCredential to retrieve. /// Format: /// `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}`. /// Value must have pattern @@ -2349,11 +2351,11 @@ class ProjectsLocationsOauthClientsCredentialsResource { response_ as core.Map); } - /// Lists all OauthClientCredentialss in a OauthClient. + /// Lists all OauthClientCredentials in an OauthClient. /// /// Request parameters: /// - /// [parent] - Required. The parent to list oauth client credentials for. + /// [parent] - Required. The parent to list OauthClientCredentials for. /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/oauthClients/\[^/\]+$`. /// @@ -2392,7 +2394,7 @@ class ProjectsLocationsOauthClientsCredentialsResource { /// /// Request parameters: /// - /// [name] - Immutable. The resource name of the oauth client credential. + /// [name] - Immutable. The resource name of the OauthClientCredential. /// Format: /// `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}` /// Value must have pattern @@ -3592,16 +3594,16 @@ class ProjectsRolesResource { /// /// [parent] - The `parent` parameter's value depends on the target resource /// for the request, namely - /// \[`projects`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) + /// [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) /// or - /// \[`organizations`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). + /// [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). /// Each resource type's `parent` value format is described below: * - /// \[`projects.roles.create()`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/create): + /// [projects.roles.create](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/create): /// `projects/{PROJECT_ID}`. This method creates project-level /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). /// Example request URL: /// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * - /// \[`organizations.roles.create()`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/create): + /// [organizations.roles.create](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/create): /// `organizations/{ORGANIZATION_ID}`. This method creates organization-level /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). /// Example request URL: @@ -3656,17 +3658,17 @@ class ProjectsRolesResource { /// /// [name] - The `name` parameter's value depends on the target resource for /// the request, namely - /// \[`projects`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) + /// [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) /// or - /// \[`organizations`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). + /// [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). /// Each resource type's `name` value format is described below: * - /// \[`projects.roles.delete()`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/delete): + /// [projects.roles.delete](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/delete): /// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method deletes only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) /// that have been created at the project level. Example request URL: /// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` /// * - /// \[`organizations.roles.delete()`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/delete): + /// [organizations.roles.delete](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/delete): /// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method /// deletes only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) @@ -3714,23 +3716,23 @@ class ProjectsRolesResource { /// /// [name] - The `name` parameter's value depends on the target resource for /// the request, namely - /// \[`roles`\](https://cloud.google.com/iam/docs/reference/rest/v1/roles), - /// \[`projects`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), + /// [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), + /// [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), /// or - /// \[`organizations`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). + /// [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). /// Each resource type's `name` value format is described below: * - /// \[`roles.get()`\](https://cloud.google.com/iam/docs/reference/rest/v1/roles/get): + /// [roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/roles/get): /// `roles/{ROLE_NAME}`. This method returns results from all /// [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) /// in IAM. Example request URL: /// `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` * - /// \[`projects.roles.get()`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/get): + /// [projects.roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/get): /// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) /// that have been created at the project level. Example request URL: /// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` /// * - /// \[`organizations.roles.get()`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/get): + /// [organizations.roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/get): /// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method /// returns only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) @@ -3775,22 +3777,22 @@ class ProjectsRolesResource { /// /// [parent] - The `parent` parameter's value depends on the target resource /// for the request, namely - /// \[`roles`\](https://cloud.google.com/iam/docs/reference/rest/v1/roles), - /// \[`projects`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), + /// [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), + /// [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), /// or - /// \[`organizations`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). + /// [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). /// Each resource type's `parent` value format is described below: * - /// \[`roles.list()`\](https://cloud.google.com/iam/docs/reference/rest/v1/roles/list): + /// [roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/roles/list): /// An empty string. This method doesn't require a resource; it simply returns /// all /// [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) /// in IAM. Example request URL: `https://iam.googleapis.com/v1/roles` * - /// \[`projects.roles.list()`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/list): + /// [projects.roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/list): /// `projects/{PROJECT_ID}`. This method lists all project-level /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). /// Example request URL: /// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * - /// \[`organizations.roles.list()`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/list): + /// [organizations.roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/list): /// `organizations/{ORGANIZATION_ID}`. This method lists all /// organization-level /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). @@ -3862,17 +3864,17 @@ class ProjectsRolesResource { /// /// [name] - The `name` parameter's value depends on the target resource for /// the request, namely - /// \[`projects`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) + /// [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) /// or - /// \[`organizations`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). + /// [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). /// Each resource type's `name` value format is described below: * - /// \[`projects.roles.patch()`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/patch): + /// [projects.roles.patch](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/patch): /// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method updates only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) /// that have been created at the project level. Example request URL: /// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` /// * - /// \[`organizations.roles.patch()`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/patch): + /// [organizations.roles.patch](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/patch): /// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method /// updates only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) @@ -3925,17 +3927,17 @@ class ProjectsRolesResource { /// /// [name] - The `name` parameter's value depends on the target resource for /// the request, namely - /// \[`projects`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) + /// [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles) /// or - /// \[`organizations`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). + /// [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). /// Each resource type's `name` value format is described below: * - /// \[`projects.roles.undelete()`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/undelete): + /// [projects.roles.undelete](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/undelete): /// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method undeletes only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) /// that have been created at the project level. Example request URL: /// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` /// * - /// \[`organizations.roles.undelete()`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/undelete): + /// [organizations.roles.undelete](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/undelete): /// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method /// undeletes only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) @@ -4259,7 +4261,7 @@ class ProjectsServiceAccountsResource { /// account has role grants on a resource, use the `getIamPolicy` method for /// that resource. For example, to view the role grants for a project, call /// the Resource Manager API's - /// \[`projects.getIamPolicy`\](https://cloud.google.com/resource-manager/reference/rest/v1/projects/getIamPolicy) + /// [projects.getIamPolicy](https://cloud.google.com/resource-manager/reference/rest/v1/projects/getIamPolicy) /// method. /// /// Request parameters: @@ -4473,7 +4475,7 @@ class ProjectsServiceAccountsResource { /// **Note:** This method is deprecated. /// /// Use the - /// \[`signBlob`\](https://cloud.google.com/iam/help/rest-credentials/v1/projects.serviceAccounts/signBlob) + /// [signBlob](https://cloud.google.com/iam/help/rest-credentials/v1/projects.serviceAccounts/signBlob) /// method in the IAM Service Account Credentials API instead. If you /// currently use this method, see the /// [migration guide](https://cloud.google.com/iam/help/credentials/migrate-api) @@ -4537,7 +4539,7 @@ class ProjectsServiceAccountsResource { /// **Note:** This method is deprecated. /// /// Use the - /// \[`signJwt`\](https://cloud.google.com/iam/help/rest-credentials/v1/projects.serviceAccounts/signJwt) + /// [signJwt](https://cloud.google.com/iam/help/rest-credentials/v1/projects.serviceAccounts/signJwt) /// method in the IAM Service Account Credentials API instead. If you /// currently use this method, see the /// [migration guide](https://cloud.google.com/iam/help/credentials/migrate-api) @@ -5198,23 +5200,23 @@ class RolesResource { /// /// [name] - The `name` parameter's value depends on the target resource for /// the request, namely - /// \[`roles`\](https://cloud.google.com/iam/docs/reference/rest/v1/roles), - /// \[`projects`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), + /// [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), + /// [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), /// or - /// \[`organizations`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). + /// [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). /// Each resource type's `name` value format is described below: * - /// \[`roles.get()`\](https://cloud.google.com/iam/docs/reference/rest/v1/roles/get): + /// [roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/roles/get): /// `roles/{ROLE_NAME}`. This method returns results from all /// [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) /// in IAM. Example request URL: /// `https://iam.googleapis.com/v1/roles/{ROLE_NAME}` * - /// \[`projects.roles.get()`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/get): + /// [projects.roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/get): /// `projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}`. This method returns only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) /// that have been created at the project level. Example request URL: /// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles/{CUSTOM_ROLE_ID}` /// * - /// \[`organizations.roles.get()`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/get): + /// [organizations.roles.get](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/get): /// `organizations/{ORGANIZATION_ID}/roles/{CUSTOM_ROLE_ID}`. This method /// returns only /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles) @@ -5265,22 +5267,22 @@ class RolesResource { /// /// [parent] - The `parent` parameter's value depends on the target resource /// for the request, namely - /// \[`roles`\](https://cloud.google.com/iam/docs/reference/rest/v1/roles), - /// \[`projects`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), + /// [roles](https://cloud.google.com/iam/docs/reference/rest/v1/roles), + /// [projects](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles), /// or - /// \[`organizations`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). + /// [organizations](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles). /// Each resource type's `parent` value format is described below: * - /// \[`roles.list()`\](https://cloud.google.com/iam/docs/reference/rest/v1/roles/list): + /// [roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/roles/list): /// An empty string. This method doesn't require a resource; it simply returns /// all /// [predefined roles](https://cloud.google.com/iam/docs/understanding-roles#predefined_roles) /// in IAM. Example request URL: `https://iam.googleapis.com/v1/roles` * - /// \[`projects.roles.list()`\](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/list): + /// [projects.roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/projects.roles/list): /// `projects/{PROJECT_ID}`. This method lists all project-level /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). /// Example request URL: /// `https://iam.googleapis.com/v1/projects/{PROJECT_ID}/roles` * - /// \[`organizations.roles.list()`\](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/list): + /// [organizations.roles.list](https://cloud.google.com/iam/docs/reference/rest/v1/organizations.roles/list): /// `organizations/{ORGANIZATION_ID}`. This method lists all /// organization-level /// [custom roles](https://cloud.google.com/iam/docs/understanding-custom-roles). @@ -6509,7 +6511,7 @@ class LintResult { /// Response message for ListOauthClientCredentials. class ListOauthClientCredentialsResponse { - /// A list of oauth client credentials. + /// A list of OauthClientCredentials. core.List? oauthClientCredentials; ListOauthClientCredentialsResponse({ @@ -6541,7 +6543,7 @@ class ListOauthClientsResponse { /// Optional. core.String? nextPageToken; - /// A list of oauth clients. + /// A list of OauthClients. core.List? oauthClients; ListOauthClientsResponse({ @@ -6870,12 +6872,12 @@ class ListWorkloadIdentityPoolsResponse { }; } -/// Represents an oauth client. +/// Represents an OauthClient. /// -/// Used to access Google Cloud resources on behave of a user by using OAuth2 +/// 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. class OauthClient { - /// The list of OAuth grant type is allowed for the oauth client. + /// The list of OAuth grant types is allowed for the OauthClient. /// /// Required. core.List? allowedGrantTypes; @@ -6886,8 +6888,8 @@ class OauthClient { /// Required. core.List? allowedRedirectUris; - /// The list of scopes that the oauth client is allowed to request during - /// OAuth flows. + /// 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, @@ -6898,65 +6900,66 @@ class OauthClient { /// Required. core.List? allowedScopes; - /// The system-generated oauth client id. + /// The system-generated OauthClient id. /// /// Output only. core.String? clientId; - /// The type of oauth client. + /// The type of OauthClient. /// - /// either public or private. + /// Either public or private. For private clients, the client secret can be + /// managed using the dedicated OauthClientCredential resource. /// /// Immutable. /// Possible string values are: - /// - "CLIENT_TYPE_UNSPECIFIED" : should not be used - /// - "PUBLIC_CLIENT" : public client has no secret - /// - "CONFIDENTIAL_CLIENT" : private client + /// - "CLIENT_TYPE_UNSPECIFIED" : Should not be used. + /// - "PUBLIC_CLIENT" : Public client has no secret. + /// - "CONFIDENTIAL_CLIENT" : Private client. core.String? clientType; - /// A user-specified description of the oauth client. + /// A user-specified description of the OauthClient. /// /// Cannot exceed 256 characters. /// /// Optional. core.String? description; - /// Whether the oauth client is disabled. + /// Whether the OauthClient is disabled. /// - /// You cannot use a disabled oauth client for login. + /// You cannot use a disabled OAuth client. /// /// Optional. core.bool? disabled; - /// A user-specified display name of the oauth client. + /// A user-specified display name of the OauthClient. /// /// Cannot exceed 32 characters. /// /// Optional. core.String? displayName; - /// Time after which the oauth client will be permanently purged and cannot be + /// Time after which the OauthClient will be permanently purged and cannot be /// recovered. /// /// Output only. core.String? expireTime; - /// The resource name of the oauth client. + /// The resource name of the OauthClient. /// /// Format:`projects/{project}/locations/{location}/oauthClients/{oauth_client}`. /// /// Immutable. core.String? name; - /// The state of the oauth client. + /// The state of the OauthClient. /// /// Output only. /// Possible string values are: /// - "STATE_UNSPECIFIED" : Default value. This value is unused. - /// - "ACTIVE" : The oauth client is active. - /// - "DELETED" : The oauth client is soft-deleted. Soft-deleted oauth client - /// is permanently deleted after approximately 30 days unless restored via - /// UndeleteOauthClient. + /// - "ACTIVE" : The OauthClient is active. + /// - "DELETED" : The OauthClient is soft-deleted. Soft-deleted OauthClient is + /// permanently deleted after approximately 30 days unless restored via + /// `UndeleteOauthClient`. core.String? state; OauthClient({ @@ -7029,30 +7032,35 @@ class OauthClient { }; } -/// Represents an oauth client credential. +/// Represents an OauthClientCredential. /// -/// Used to authenticate an oauth client while accessing Google Cloud resources -/// on behalf of a user by using OAuth2 Protocol. +/// Used to authenticate an OauthClient while accessing Google Cloud resources +/// on behalf of a user by using OAuth 2.0 Protocol. class OauthClientCredential { - /// The system-generated oauth client secret. + /// The system-generated OAuth client secret. + /// + /// The client secret must be stored securely. If the client secret is leaked, + /// you must delete and re-create the client credential. To learn more, see + /// [OAuth client and credential security risks and mitigations](https://cloud.google.com/iam/docs/workforce-oauth-app#security) /// /// Output only. core.String? clientSecret; - /// Whether the oauth client credential is disabled. + /// Whether the OauthClientCredential is disabled. /// - /// You cannot use a disabled oauth client credential for OAuth. + /// You cannot use a disabled OauthClientCredential. /// /// Optional. core.bool? disabled; - /// A user-specified display name of the oauth client credential Cannot exceed - /// 32 characters. + /// A user-specified display name of the OauthClientCredential. + /// + /// Cannot exceed 32 characters. /// /// Optional. core.String? displayName; - /// The resource name of the oauth client credential. + /// The resource name of the OauthClientCredential. /// /// Format: /// `projects/{project}/locations/{location}/oauthClients/{oauth_client}/credentials/{credential}` diff --git a/generated/googleapis/lib/iam/v2.dart b/generated/googleapis/lib/iam/v2.dart index 3f1052e6a..42c6ef9b1 100644 --- a/generated/googleapis/lib/iam/v2.dart +++ b/generated/googleapis/lib/iam/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/iamcredentials/v1.dart b/generated/googleapis/lib/iamcredentials/v1.dart index 041bfdfd0..15b4e1b25 100644 --- a/generated/googleapis/lib/iamcredentials/v1.dart +++ b/generated/googleapis/lib/iamcredentials/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/iap/v1.dart b/generated/googleapis/lib/iap/v1.dart index e6acebab1..90974d1f9 100644 --- a/generated/googleapis/lib/iap/v1.dart +++ b/generated/googleapis/lib/iap/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -651,9 +652,9 @@ class ProjectsIapTunnelLocationsDestGroupsResource { /// /// Request parameters: /// - /// [name] - Required. Immutable. Identifier for the TunnelDestGroup. Must be - /// unique within the project and contain only lower case letters (a-z) and - /// dashes (-). + /// [name] - Identifier. Identifier for the TunnelDestGroup. Must be unique + /// within the project and contain only lower case letters (a-z) and dashes + /// (-). /// Value must have pattern /// `^projects/\[^/\]+/iap_tunnel/locations/\[^/\]+/destGroups/\[^/\]+$`. /// @@ -1031,12 +1032,18 @@ class AccessDeniedPageSettings { /// Access related settings for IAP protected apps. class AccessSettings { /// Settings to configure and enable allowed domains. + /// + /// Optional. AllowedDomainsSettings? allowedDomainsSettings; /// Configuration to allow cross-origin requests via IAP. + /// + /// Optional. CorsSettings? corsSettings; /// GCIP claims and endpoint configurations for 3p identity providers. + /// + /// Optional. GcipSettings? gcipSettings; /// Identity sources that IAP can use to authenticate the end user. @@ -1047,15 +1054,21 @@ class AccessSettings { core.List? identitySources; /// Settings to configure IAP's OAuth behavior. + /// + /// Optional. OAuthSettings? oauthSettings; /// Settings to configure Policy delegation for apps hosted in tenant /// projects. /// /// INTERNAL_ONLY. + /// + /// Optional. PolicyDelegationSettings? policyDelegationSettings; /// Settings to configure reauthentication policies in IAP. + /// + /// Optional. ReauthSettings? reauthSettings; /// Settings to configure the workforce identity federation, including @@ -1137,9 +1150,13 @@ class AccessSettings { /// that you list. class AllowedDomainsSettings { /// List of trusted domains. + /// + /// Optional. core.List? domains; /// Configuration for customers to opt in for the feature. + /// + /// Optional. core.bool? enable; AllowedDomainsSettings({ @@ -1167,9 +1184,13 @@ class AllowedDomainsSettings { /// Wrapper over application specific settings for IAP. class ApplicationSettings { /// Customization for Access Denied page. + /// + /// Optional. AccessDeniedPageSettings? accessDeniedPageSettings; /// Settings to configure attribute propagation. + /// + /// Optional. AttributePropagationSettings? attributePropagationSettings; /// The Domain value to set for cookies generated by IAP. @@ -1179,6 +1200,8 @@ class ApplicationSettings { core.String? cookieDomain; /// Settings to configure IAP's behavior for a service mesh. + /// + /// Optional. CsmSettings? csmSettings; ApplicationSettings({ @@ -1228,6 +1251,8 @@ class AttributePropagationSettings { /// /// If set to true, attributes returned from the expression will be propagated /// in the set output credentials. + /// + /// Optional. core.bool? enable; /// Raw string CEL expression. @@ -1246,6 +1271,8 @@ class AttributePropagationSettings { /// provided `` or `` to the end of ``. Example expression: /// `attributes.saml_attributes.filter(x, x.name in /// ['test']).append(attributes.iap_attributes.selectByName('exact').emitAs('custom').strict())` + /// + /// Optional. core.String? expression; /// Which output credentials attributes selected by the CEL expression should @@ -1253,6 +1280,8 @@ class AttributePropagationSettings { /// /// All attributes will be fully duplicated in each selected output /// credential. + /// + /// Optional. core.List? outputCredentials; AttributePropagationSettings({ @@ -1537,6 +1566,8 @@ class GcipSettings { /// authenticating with GCIP agent flow. If agent flow is used, tenant_ids /// should only contain one single element, while for tenant flow, tenant_ids /// can contain multiple elements. + /// + /// Optional. core.List? tenantIds; GcipSettings({ @@ -1591,9 +1622,13 @@ typedef GetPolicyOptions = $GetPolicyOptions00; /// The IAP configurable settings. class IapSettings { /// Top level wrapper for all access related setting in IAP + /// + /// Optional. AccessSettings? accessSettings; /// Top level wrapper for all application related settings in IAP + /// + /// Optional. ApplicationSettings? applicationSettings; /// The resource name of the IAP protected resource. @@ -1818,6 +1853,8 @@ class OAuthSettings { core.String? loginHint; /// List of client ids allowed to use IAP programmatically. + /// + /// Optional. core.List? programmaticClients; OAuthSettings({ @@ -2033,7 +2070,8 @@ class PolicyName { /// Resource type. /// /// Types are defined in IAM's .service files. Valid values for type might be - /// 'gce', 'gcs', 'project', 'account' etc. + /// 'storage_buckets', 'compute_instances', 'resourcemanager_customers', + /// 'billing_accounts', etc. core.String? type; PolicyName({ @@ -2062,6 +2100,8 @@ class PolicyName { class ReauthSettings { /// Reauth session lifetime, how long before a user has to reauthenticate /// again. + /// + /// Optional. core.String? maxAge; /// Reauth method requested. @@ -2077,6 +2117,8 @@ class ReauthSettings { /// /// Policies are merged from higher in the hierarchy to lower in the /// hierarchy. + /// + /// Optional. /// Possible string values are: /// - "POLICY_TYPE_UNSPECIFIED" : Default value. This value is unused. /// - "MINIMUM" : This policy acts as a minimum to other policies, lower in @@ -2269,19 +2311,21 @@ class TunnelDestGroup { /// Unordered list. /// /// List of CIDRs that this group applies to. + /// + /// Optional. core.List? cidrs; /// Unordered list. /// /// List of FQDNs that this group applies to. + /// + /// Optional. core.List? fqdns; - /// Identifier for the TunnelDestGroup. + /// Identifier. /// - /// Must be unique within the project and contain only lower case letters - /// (a-z) and dashes (-). - /// - /// Required. Immutable. + /// Identifier for the TunnelDestGroup. Must be unique within the project and + /// contain only lower case letters (a-z) and dashes (-). core.String? name; TunnelDestGroup({ @@ -2312,10 +2356,7 @@ class TunnelDestGroup { }; } -/// API requires a return message, but currently all response strings will fit -/// in the status and public message. -/// -/// In the future, this response can hold AST validation info. +/// IAP Expression Linter endpoint returns empty response body. typedef ValidateIapAttributeExpressionResponse = $Empty; /// WorkforceIdentitySettings allows customers to configure workforce pools and diff --git a/generated/googleapis/lib/identitytoolkit/v1.dart b/generated/googleapis/lib/identitytoolkit/v1.dart index eaae30dc8..8c8cb44a1 100644 --- a/generated/googleapis/lib/identitytoolkit/v1.dart +++ b/generated/googleapis/lib/identitytoolkit/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/identitytoolkit/v2.dart b/generated/googleapis/lib/identitytoolkit/v2.dart index 1a4081392..891c4db03 100644 --- a/generated/googleapis/lib/identitytoolkit/v2.dart +++ b/generated/googleapis/lib/identitytoolkit/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/identitytoolkit/v3.dart b/generated/googleapis/lib/identitytoolkit/v3.dart index 80dc89a60..9069dfbb0 100644 --- a/generated/googleapis/lib/identitytoolkit/v3.dart +++ b/generated/googleapis/lib/identitytoolkit/v3.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/ids/v1.dart b/generated/googleapis/lib/ids/v1.dart index 7d528b42e..610b6798b 100644 --- a/generated/googleapis/lib/ids/v1.dart +++ b/generated/googleapis/lib/ids/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -880,14 +881,31 @@ class Binding { /// `group:{emailid}`: An email address that represents a Google group. For /// example, `admins@example.com`. * `domain:{domain}`: The G Suite domain /// (primary) that represents all the users of that domain. For example, - /// `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: - /// An email address (plus unique identifier) representing a user that has - /// been recently deleted. For example, - /// `alice@example.com?uid=123456789012345678901`. If the user is recovered, - /// this value reverts to `user:{emailid}` and the recovered user retains the - /// role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: - /// An email address (plus unique identifier) representing a service account - /// that has been recently deleted. For example, + /// `google.com` or `example.com`. * + /// `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + /// A single identity in a workforce identity pool. * + /// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: + /// All workforce identities in a group. * + /// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + /// All workforce identities with a specific attribute value. * + /// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id} + /// / * `: All identities in a workforce identity pool. * + /// `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: + /// A single identity in a workload identity pool. * + /// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: + /// A workload identity pool group. * + /// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: + /// All identities in a workload identity pool with a certain attribute. * + /// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id} + /// / * `: All identities in a workload identity pool. * + /// `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique + /// identifier) representing a user that has been recently deleted. For + /// example, `alice@example.com?uid=123456789012345678901`. If the user is + /// recovered, this value reverts to `user:{emailid}` and the recovered user + /// retains the role in the binding. * + /// `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus + /// unique identifier) representing a service account that has been recently + /// deleted. For example, /// `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If /// the service account is undeleted, this value reverts to /// `serviceAccount:{emailid}` and the undeleted service account retains the @@ -896,12 +914,19 @@ class Binding { /// recently deleted. For example, /// `admins@example.com?uid=123456789012345678901`. If the group is recovered, /// this value reverts to `group:{emailid}` and the recovered group retains - /// the role in the binding. + /// the role in the binding. * + /// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: + /// Deleted single identity in a workforce identity pool. For example, + /// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. core.List? members; /// 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({ @@ -979,6 +1004,16 @@ class Endpoint { /// Required. core.String? network; + /// Reserved for future use. + /// + /// Output only. + core.bool? satisfiesPzi; + + /// Reserved for future use. + /// + /// Output only. + core.bool? satisfiesPzs; + /// Lowest threat severity that this endpoint will alert on. /// /// Required. @@ -1022,6 +1057,8 @@ class Endpoint { this.labels, this.name, this.network, + this.satisfiesPzi, + this.satisfiesPzs, this.severity, this.state, this.threatExceptions, @@ -1055,6 +1092,12 @@ class Endpoint { network: json_.containsKey('network') ? json_['network'] as core.String : null, + satisfiesPzi: json_.containsKey('satisfiesPzi') + ? json_['satisfiesPzi'] as core.bool + : null, + satisfiesPzs: json_.containsKey('satisfiesPzs') + ? json_['satisfiesPzs'] as core.bool + : null, severity: json_.containsKey('severity') ? json_['severity'] as core.String : null, @@ -1082,6 +1125,8 @@ class Endpoint { if (labels != null) 'labels': labels!, if (name != null) 'name': name!, if (network != null) 'network': network!, + if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!, + if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!, if (severity != null) 'severity': severity!, if (state != null) 'state': state!, if (threatExceptions != null) 'threatExceptions': threatExceptions!, diff --git a/generated/googleapis/lib/indexing/v3.dart b/generated/googleapis/lib/indexing/v3.dart index d01034019..b34698edc 100644 --- a/generated/googleapis/lib/indexing/v3.dart +++ b/generated/googleapis/lib/indexing/v3.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/integrations/v1.dart b/generated/googleapis/lib/integrations/v1.dart index 4cbfa6d07..f363a9148 100644 --- a/generated/googleapis/lib/integrations/v1.dart +++ b/generated/googleapis/lib/integrations/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -6665,6 +6666,12 @@ class EnterpriseCrmEventbusProtoFailurePolicy { /// Defines the number of times the task will be retried if failed. core.int? maxNumRetries; + /// The retry condition that will be evaluated for this failure policy with + /// the corresponding retry strategy. + /// + /// Optional. + core.String? retryCondition; + /// Defines what happens to the task upon failure. /// Possible string values are: /// - "UNSPECIFIED" @@ -6703,6 +6710,7 @@ class EnterpriseCrmEventbusProtoFailurePolicy { EnterpriseCrmEventbusProtoFailurePolicy({ this.intervalInSeconds, this.maxNumRetries, + this.retryCondition, this.retryStrategy, }); @@ -6714,6 +6722,9 @@ class EnterpriseCrmEventbusProtoFailurePolicy { maxNumRetries: json_.containsKey('maxNumRetries') ? json_['maxNumRetries'] as core.int : null, + retryCondition: json_.containsKey('retryCondition') + ? json_['retryCondition'] as core.String + : null, retryStrategy: json_.containsKey('retryStrategy') ? json_['retryStrategy'] as core.String : null, @@ -6722,6 +6733,7 @@ class EnterpriseCrmEventbusProtoFailurePolicy { core.Map toJson() => { if (intervalInSeconds != null) 'intervalInSeconds': intervalInSeconds!, if (maxNumRetries != null) 'maxNumRetries': maxNumRetries!, + if (retryCondition != null) 'retryCondition': retryCondition!, if (retryStrategy != null) 'retryStrategy': retryStrategy!, }; } @@ -12023,39 +12035,7 @@ typedef GoogleCloudConnectorsV1HPAConfig = $HPAConfig; typedef GoogleCloudConnectorsV1LockConfig = $LockConfig; /// Log configuration for the connection. -class GoogleCloudConnectorsV1LogConfig { - /// Enabled represents whether logging is enabled or not for a connection. - core.bool? enabled; - - /// Log configuration level. - /// - /// Optional. - /// Possible string values are: - /// - "LOG_LEVEL_UNSPECIFIED" : Log level unspecified. - /// - "ERROR" : Only error logs are enabled. - /// - "INFO" : Info and error logs are enabled. - /// - "DEBUG" : Debug and high verbosity logs are enabled. - core.String? level; - - GoogleCloudConnectorsV1LogConfig({ - this.enabled, - this.level, - }); - - GoogleCloudConnectorsV1LogConfig.fromJson(core.Map json_) - : this( - enabled: json_.containsKey('enabled') - ? json_['enabled'] as core.bool - : null, - level: - json_.containsKey('level') ? json_['level'] as core.String : null, - ); - - core.Map toJson() => { - if (enabled != null) 'enabled': enabled!, - if (level != null) 'level': level!, - }; -} +typedef GoogleCloudConnectorsV1LogConfig = $LogConfig; /// Node configuration for the connection. typedef GoogleCloudConnectorsV1NodeConfig = $NodeConfig; @@ -13606,9 +13586,6 @@ class GoogleCloudIntegrationsV1alphaExecuteIntegrationsRequest { /// The id of the ON_HOLD execution to be resumed. /// /// Optional. - @core.Deprecated( - 'Not supported. Member documentation may have more information.', - ) core.String? executionId; /// Input parameters used by integration execution. @@ -14241,6 +14218,12 @@ class GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata { /// If no FailurePolicy is defined for a task, all its dependent tasks will not /// be executed (i.e, a `retry_strategy` of NONE will be applied). class GoogleCloudIntegrationsV1alphaFailurePolicy { + /// The string condition that will be evaluated to determine if the task + /// should be retried with this failure policy. + /// + /// Optional. + core.String? condition; + /// Required if retry_strategy is FIXED_INTERVAL or /// LINEAR/EXPONENTIAL_BACKOFF/RESTART_INTEGRATION_WITH_BACKOFF. /// @@ -14289,6 +14272,7 @@ class GoogleCloudIntegrationsV1alphaFailurePolicy { core.String? retryStrategy; GoogleCloudIntegrationsV1alphaFailurePolicy({ + this.condition, this.intervalTime, this.maxRetries, this.retryStrategy, @@ -14296,6 +14280,9 @@ class GoogleCloudIntegrationsV1alphaFailurePolicy { GoogleCloudIntegrationsV1alphaFailurePolicy.fromJson(core.Map json_) : this( + condition: json_.containsKey('condition') + ? json_['condition'] as core.String + : null, intervalTime: json_.containsKey('intervalTime') ? json_['intervalTime'] as core.String : null, @@ -14308,6 +14295,7 @@ class GoogleCloudIntegrationsV1alphaFailurePolicy { ); core.Map toJson() => { + if (condition != null) 'condition': condition!, if (intervalTime != null) 'intervalTime': intervalTime!, if (maxRetries != null) 'maxRetries': maxRetries!, if (retryStrategy != null) 'retryStrategy': retryStrategy!, diff --git a/generated/googleapis/lib/jobs/v3.dart b/generated/googleapis/lib/jobs/v3.dart index 216dcabdd..952804a9e 100644 --- a/generated/googleapis/lib/jobs/v3.dart +++ b/generated/googleapis/lib/jobs/v3.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/jobs/v4.dart b/generated/googleapis/lib/jobs/v4.dart index 640e2bae0..f61fcf1a0 100644 --- a/generated/googleapis/lib/jobs/v4.dart +++ b/generated/googleapis/lib/jobs/v4.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/keep/v1.dart b/generated/googleapis/lib/keep/v1.dart index f2ae86cf5..62eac72fb 100644 --- a/generated/googleapis/lib/keep/v1.dart +++ b/generated/googleapis/lib/keep/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/kgsearch/v1.dart b/generated/googleapis/lib/kgsearch/v1.dart index ed5b60c49..2ab6593fb 100644 --- a/generated/googleapis/lib/kgsearch/v1.dart +++ b/generated/googleapis/lib/kgsearch/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/kmsinventory/v1.dart b/generated/googleapis/lib/kmsinventory/v1.dart index 58c397fe3..0178aacc4 100644 --- a/generated/googleapis/lib/kmsinventory/v1.dart +++ b/generated/googleapis/lib/kmsinventory/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/language/v1.dart b/generated/googleapis/lib/language/v1.dart index 4ab10d2d5..096b09ad5 100644 --- a/generated/googleapis/lib/language/v1.dart +++ b/generated/googleapis/lib/language/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/language/v2.dart b/generated/googleapis/lib/language/v2.dart index 8c8969cb7..ede7bb361 100644 --- a/generated/googleapis/lib/language/v2.dart +++ b/generated/googleapis/lib/language/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/libraryagent/v1.dart b/generated/googleapis/lib/libraryagent/v1.dart index 8da18ed54..2c81e51fe 100644 --- a/generated/googleapis/lib/libraryagent/v1.dart +++ b/generated/googleapis/lib/libraryagent/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/licensing/v1.dart b/generated/googleapis/lib/licensing/v1.dart index a409ae38b..6b3a2b573 100644 --- a/generated/googleapis/lib/licensing/v1.dart +++ b/generated/googleapis/lib/licensing/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/localservices/v1.dart b/generated/googleapis/lib/localservices/v1.dart index 710e8c52f..7b9867957 100644 --- a/generated/googleapis/lib/localservices/v1.dart +++ b/generated/googleapis/lib/localservices/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/logging/v2.dart b/generated/googleapis/lib/logging/v2.dart index 2a9b55b02..3f6e71f0d 100644 --- a/generated/googleapis/lib/logging/v2.dart +++ b/generated/googleapis/lib/logging/v2.dart @@ -3,6 +3,7 @@ // 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 @@ -14791,6 +14792,12 @@ class LogMetric { /// Required. core.String? name; + /// The resource name of the metric: + /// "projects/\[PROJECT_ID\]/metrics/\[METRIC_ID\]" + /// + /// Output only. + core.String? resourceName; + /// The last update timestamp of the metric.This field may not be present for /// older metrics. /// @@ -14840,6 +14847,7 @@ class LogMetric { this.labelExtractors, this.metricDescriptor, this.name, + this.resourceName, this.updateTime, this.valueExtractor, this.version, @@ -14881,6 +14889,9 @@ class LogMetric { as core.Map) : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, + resourceName: json_.containsKey('resourceName') + ? json_['resourceName'] as core.String + : null, updateTime: json_.containsKey('updateTime') ? json_['updateTime'] as core.String : null, @@ -14902,6 +14913,7 @@ class LogMetric { if (labelExtractors != null) 'labelExtractors': labelExtractors!, if (metricDescriptor != null) 'metricDescriptor': metricDescriptor!, if (name != null) 'name': name!, + if (resourceName != null) 'resourceName': resourceName!, if (updateTime != null) 'updateTime': updateTime!, if (valueExtractor != null) 'valueExtractor': valueExtractor!, if (version != null) 'version': version!, diff --git a/generated/googleapis/lib/looker/v1.dart b/generated/googleapis/lib/looker/v1.dart index 46724d2b0..3518b32ef 100644 --- a/generated/googleapis/lib/looker/v1.dart +++ b/generated/googleapis/lib/looker/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/managedidentities/v1.dart b/generated/googleapis/lib/managedidentities/v1.dart index 18ac340a3..ab881407d 100644 --- a/generated/googleapis/lib/managedidentities/v1.dart +++ b/generated/googleapis/lib/managedidentities/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/manufacturers/v1.dart b/generated/googleapis/lib/manufacturers/v1.dart index 41e1343a5..4a5f5cb2f 100644 --- a/generated/googleapis/lib/manufacturers/v1.dart +++ b/generated/googleapis/lib/manufacturers/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/memcache/v1.dart b/generated/googleapis/lib/memcache/v1.dart index 3ed73658a..2337a8ded 100644 --- a/generated/googleapis/lib/memcache/v1.dart +++ b/generated/googleapis/lib/memcache/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/metastore/v1.dart b/generated/googleapis/lib/metastore/v1.dart index 399b4f27a..6b61e9ce5 100644 --- a/generated/googleapis/lib/metastore/v1.dart +++ b/generated/googleapis/lib/metastore/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -25,6 +26,8 @@ /// - [ProjectsLocationsOperationsResource] /// - [ProjectsLocationsServicesResource] /// - [ProjectsLocationsServicesBackupsResource] +/// - [ProjectsLocationsServicesDatabasesResource] +/// - [ProjectsLocationsServicesDatabasesTablesResource] /// - [ProjectsLocationsServicesMetadataImportsResource] library; @@ -799,6 +802,8 @@ class ProjectsLocationsServicesResource { ProjectsLocationsServicesBackupsResource get backups => ProjectsLocationsServicesBackupsResource(_requester); + ProjectsLocationsServicesDatabasesResource get databases => + ProjectsLocationsServicesDatabasesResource(_requester); ProjectsLocationsServicesMetadataImportsResource get metadataImports => ProjectsLocationsServicesMetadataImportsResource(_requester); @@ -1831,6 +1836,231 @@ class ProjectsLocationsServicesBackupsResource { } } +class ProjectsLocationsServicesDatabasesResource { + final commons.ApiRequester _requester; + + ProjectsLocationsServicesDatabasesTablesResource get tables => + ProjectsLocationsServicesDatabasesTablesResource(_requester); + + ProjectsLocationsServicesDatabasesResource(commons.ApiRequester client) + : _requester = client; + + /// Gets the access control policy for a resource. + /// + /// Returns an empty policy if the resource exists and does not have a policy + /// set. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// requested. See Resource names + /// (https://cloud.google.com/apis/design/resource_names) for the appropriate + /// value for this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/services/\[^/\]+/databases/\[^/\]+$`. + /// + /// [options_requestedPolicyVersion] - Optional. The maximum policy version + /// that will be used to format the policy.Valid values are 0, 1, and 3. + /// Requests specifying an invalid value will be rejected.Requests for + /// policies with any conditional role bindings must specify version 3. + /// Policies with no conditional role bindings may specify any valid value or + /// leave the field unset.The policy in the response might use the policy + /// version that you specified, or it might use a lower policy version. For + /// example, if you specify version 3, but the policy has no conditional role + /// bindings, the response uses version 1.To learn which resources support + /// conditions in their IAM policies, see the IAM documentation + /// (https://cloud.google.com/iam/help/conditions/resource-policies). + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Policy]. + /// + /// 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 getIamPolicy( + core.String resource, { + core.int? options_requestedPolicyVersion, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (options_requestedPolicyVersion != null) + 'options.requestedPolicyVersion': ['${options_requestedPolicyVersion}'], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$resource') + ':getIamPolicy'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return Policy.fromJson(response_ as core.Map); + } + + /// Sets the access control policy on the specified resource. + /// + /// Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and + /// PERMISSION_DENIED errors. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// specified. See Resource names + /// (https://cloud.google.com/apis/design/resource_names) for the appropriate + /// value for this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/services/\[^/\]+/databases/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Policy]. + /// + /// 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 setIamPolicy( + SetIamPolicyRequest request, + core.String resource, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$resource') + ':setIamPolicy'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Policy.fromJson(response_ as core.Map); + } +} + +class ProjectsLocationsServicesDatabasesTablesResource { + final commons.ApiRequester _requester; + + ProjectsLocationsServicesDatabasesTablesResource(commons.ApiRequester client) + : _requester = client; + + /// Gets the access control policy for a resource. + /// + /// Returns an empty policy if the resource exists and does not have a policy + /// set. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// requested. See Resource names + /// (https://cloud.google.com/apis/design/resource_names) for the appropriate + /// value for this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/services/\[^/\]+/databases/\[^/\]+/tables/\[^/\]+$`. + /// + /// [options_requestedPolicyVersion] - Optional. The maximum policy version + /// that will be used to format the policy.Valid values are 0, 1, and 3. + /// Requests specifying an invalid value will be rejected.Requests for + /// policies with any conditional role bindings must specify version 3. + /// Policies with no conditional role bindings may specify any valid value or + /// leave the field unset.The policy in the response might use the policy + /// version that you specified, or it might use a lower policy version. For + /// example, if you specify version 3, but the policy has no conditional role + /// bindings, the response uses version 1.To learn which resources support + /// conditions in their IAM policies, see the IAM documentation + /// (https://cloud.google.com/iam/help/conditions/resource-policies). + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Policy]. + /// + /// 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 getIamPolicy( + core.String resource, { + core.int? options_requestedPolicyVersion, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (options_requestedPolicyVersion != null) + 'options.requestedPolicyVersion': ['${options_requestedPolicyVersion}'], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$resource') + ':getIamPolicy'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return Policy.fromJson(response_ as core.Map); + } + + /// Sets the access control policy on the specified resource. + /// + /// Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and + /// PERMISSION_DENIED errors. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [resource] - REQUIRED: The resource for which the policy is being + /// specified. See Resource names + /// (https://cloud.google.com/apis/design/resource_names) for the appropriate + /// value for this field. + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/services/\[^/\]+/databases/\[^/\]+/tables/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [Policy]. + /// + /// 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 setIamPolicy( + SetIamPolicyRequest request, + core.String resource, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$resource') + ':setIamPolicy'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Policy.fromJson(response_ as core.Map); + } +} + class ProjectsLocationsServicesMetadataImportsResource { final commons.ApiRequester _requester; @@ -4251,6 +4481,12 @@ class Service { /// - "SPANNER" : Spanner is used to persist the metastore data. core.String? databaseType; + /// Indicates if the dataproc metastore should be protected against accidental + /// deletions. + /// + /// Optional. + core.bool? deletionProtection; + /// Information used to configure the Dataproc Metastore service to encrypt /// customer data at rest. /// @@ -4391,6 +4627,7 @@ class Service { this.artifactGcsUri, this.createTime, this.databaseType, + this.deletionProtection, this.encryptionConfig, this.endpointUri, this.hiveMetastoreConfig, @@ -4424,6 +4661,9 @@ class Service { databaseType: json_.containsKey('databaseType') ? json_['databaseType'] as core.String : null, + deletionProtection: json_.containsKey('deletionProtection') + ? json_['deletionProtection'] as core.bool + : null, encryptionConfig: json_.containsKey('encryptionConfig') ? EncryptionConfig.fromJson(json_['encryptionConfig'] as core.Map) @@ -4497,6 +4737,8 @@ class Service { if (artifactGcsUri != null) 'artifactGcsUri': artifactGcsUri!, if (createTime != null) 'createTime': createTime!, if (databaseType != null) 'databaseType': databaseType!, + if (deletionProtection != null) + 'deletionProtection': deletionProtection!, if (encryptionConfig != null) 'encryptionConfig': encryptionConfig!, if (endpointUri != null) 'endpointUri': endpointUri!, if (hiveMetastoreConfig != null) diff --git a/generated/googleapis/lib/migrationcenter/v1.dart b/generated/googleapis/lib/migrationcenter/v1.dart index e28052271..0469ceaf0 100644 --- a/generated/googleapis/lib/migrationcenter/v1.dart +++ b/generated/googleapis/lib/migrationcenter/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -3923,7 +3924,7 @@ class AssetList { class AssetPerformanceData { /// Daily resource usage aggregations. /// - /// Contains all of the data available for an asset, up to the last 40 days. + /// Contains all of the data available for an asset, up to the last 420 days. /// Aggregations are sorted from oldest to most recent. core.List? dailyResourceUsageAggregations; diff --git a/generated/googleapis/lib/ml/v1.dart b/generated/googleapis/lib/ml/v1.dart index a9e76b045..d9c104a1b 100644 --- a/generated/googleapis/lib/ml/v1.dart +++ b/generated/googleapis/lib/ml/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/monitoring/v3.dart b/generated/googleapis/lib/monitoring/v3.dart index 4244503e6..f1848d605 100644 --- a/generated/googleapis/lib/monitoring/v3.dart +++ b/generated/googleapis/lib/monitoring/v3.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/mybusinessaccountmanagement/v1.dart b/generated/googleapis/lib/mybusinessaccountmanagement/v1.dart index ef5df5bd3..f6243f46c 100644 --- a/generated/googleapis/lib/mybusinessaccountmanagement/v1.dart +++ b/generated/googleapis/lib/mybusinessaccountmanagement/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/mybusinessbusinessinformation/v1.dart b/generated/googleapis/lib/mybusinessbusinessinformation/v1.dart index 9b09fb9e1..256329ed6 100644 --- a/generated/googleapis/lib/mybusinessbusinessinformation/v1.dart +++ b/generated/googleapis/lib/mybusinessbusinessinformation/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/mybusinesslodging/v1.dart b/generated/googleapis/lib/mybusinesslodging/v1.dart index c7639a558..824b036ff 100644 --- a/generated/googleapis/lib/mybusinesslodging/v1.dart +++ b/generated/googleapis/lib/mybusinesslodging/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/mybusinessnotifications/v1.dart b/generated/googleapis/lib/mybusinessnotifications/v1.dart index a4bced41b..9ec824507 100644 --- a/generated/googleapis/lib/mybusinessnotifications/v1.dart +++ b/generated/googleapis/lib/mybusinessnotifications/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/mybusinessplaceactions/v1.dart b/generated/googleapis/lib/mybusinessplaceactions/v1.dart index bb4c23311..a64733cb4 100644 --- a/generated/googleapis/lib/mybusinessplaceactions/v1.dart +++ b/generated/googleapis/lib/mybusinessplaceactions/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/mybusinessqanda/v1.dart b/generated/googleapis/lib/mybusinessqanda/v1.dart index c7142a312..8ac747ec0 100644 --- a/generated/googleapis/lib/mybusinessqanda/v1.dart +++ b/generated/googleapis/lib/mybusinessqanda/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/mybusinessverifications/v1.dart b/generated/googleapis/lib/mybusinessverifications/v1.dart index 3f9af0b53..c99a256df 100644 --- a/generated/googleapis/lib/mybusinessverifications/v1.dart +++ b/generated/googleapis/lib/mybusinessverifications/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/networkconnectivity/v1.dart b/generated/googleapis/lib/networkconnectivity/v1.dart index bd995710d..953192d7c 100644 --- a/generated/googleapis/lib/networkconnectivity/v1.dart +++ b/generated/googleapis/lib/networkconnectivity/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -958,6 +959,73 @@ class ProjectsLocationsGlobalHubsGroupsResource { response_ as core.Map); } + /// Updates the parameters of a Network Connectivity Center group. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Immutable. The name of the group. Group names must be unique. + /// They use the following form: + /// `projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}` + /// Value must have pattern + /// `^projects/\[^/\]+/locations/global/hubs/\[^/\]+/groups/\[^/\]+$`. + /// + /// [requestId] - Optional. A 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 a request doesn't result in creation of duplicate + /// commitments for at least 60 minutes. 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 to see + /// whether the original operation was received. If it was, the server ignores + /// the second request. This behavior prevents clients from mistakenly + /// creating duplicate commitments. The request ID must be a valid UUID, with + /// the exception that zero UUID is not supported + /// (00000000-0000-0000-0000-000000000000). + /// + /// [updateMask] - Optional. In the case of an update to an existing group, + /// field mask is used to specify the fields to be overwritten. The fields + /// specified in the update_mask are relative to the resource, not the full + /// request. A field is overwritten if it is in the mask. If the user does not + /// provide a mask, then all fields are overwritten. + /// + /// [$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 patch( + Group request, + core.String name, { + core.String? requestId, + core.String? updateMask, + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if (requestId != null) 'requestId': [requestId], + 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 GoogleLongrunningOperation.fromJson( + response_ as core.Map); + } + /// Sets the access control policy on the specified resource. /// /// Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, @@ -4312,6 +4380,40 @@ class AuditConfig { /// exempting jose@example.com from DATA_READ logging. typedef AuditLogConfig = $AuditLogConfig; +/// The auto-accept setting for a group controls whether proposed spokes are +/// automatically attached to the hub. +/// +/// If auto-accept is enabled, the spoke immediately is attached to the hub and +/// becomes part of the group. In this case, the new spoke is in the ACTIVE +/// state. If auto-accept is disabled, the spoke goes to the INACTIVE state, and +/// it must be reviewed and accepted by a hub administrator. +class AutoAccept { + /// A list of project ids or project numbers for which you want to enable + /// auto-accept. + /// + /// The auto-accept setting is applied to spokes being created or updated in + /// these projects. + core.List? autoAcceptProjects; + + AutoAccept({ + this.autoAcceptProjects, + }); + + AutoAccept.fromJson(core.Map json_) + : this( + autoAcceptProjects: json_.containsKey('autoAcceptProjects') + ? (json_['autoAcceptProjects'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (autoAcceptProjects != null) + 'autoAcceptProjects': autoAcceptProjects!, + }; +} + /// Associates `members`, or principals, with a `role`. class Binding { /// The condition that is associated with this binding. @@ -4932,6 +5034,11 @@ typedef GoogleRpcStatus = $Status; /// A group represents a subset of spokes attached to a hub. class Group { + /// The auto-accept setting for this group. + /// + /// Optional. + AutoAccept? autoAccept; + /// The time the group was created. /// /// Output only. @@ -4958,6 +5065,14 @@ class Group { /// Immutable. core.String? name; + /// The name of the route table that corresponds to this group. + /// + /// They use the following form: + /// `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}` + /// + /// Output only. + core.String? routeTable; + /// The current lifecycle state of this group. /// /// Output only. @@ -4989,10 +5104,12 @@ class Group { core.String? updateTime; Group({ + this.autoAccept, this.createTime, this.description, this.labels, this.name, + this.routeTable, this.state, this.uid, this.updateTime, @@ -5000,6 +5117,10 @@ class Group { Group.fromJson(core.Map json_) : this( + autoAccept: json_.containsKey('autoAccept') + ? AutoAccept.fromJson( + json_['autoAccept'] as core.Map) + : null, createTime: json_.containsKey('createTime') ? json_['createTime'] as core.String : null, @@ -5015,6 +5136,9 @@ class Group { ) : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, + routeTable: json_.containsKey('routeTable') + ? json_['routeTable'] as core.String + : null, state: json_.containsKey('state') ? json_['state'] as core.String : null, uid: json_.containsKey('uid') ? json_['uid'] as core.String : null, @@ -5024,10 +5148,12 @@ class Group { ); core.Map toJson() => { + if (autoAccept != null) 'autoAccept': autoAccept!, if (createTime != null) 'createTime': createTime!, if (description != null) 'description': description!, if (labels != null) 'labels': labels!, if (name != null) 'name': name!, + if (routeTable != null) 'routeTable': routeTable!, if (state != null) 'state': state!, if (uid != null) 'uid': uid!, if (updateTime != null) 'updateTime': updateTime!, @@ -5051,6 +5177,15 @@ class Hub { /// An optional description of the hub. core.String? description; + /// Whether Private Service Connect transitivity is enabled for the hub. + /// + /// If true, Private Service Connect endpoints in VPC spokes attached to the + /// hub are made accessible to other VPC spokes attached to the hub. The + /// default value is false. + /// + /// Optional. + core.bool? exportPsc; + /// Optional labels in key-value pair format. /// /// For more information about labels, see @@ -5065,6 +5200,37 @@ class Hub { /// Immutable. core.String? name; + /// The policy mode of this hub. + /// + /// This field can be either PRESET or CUSTOM. If unspecified, the policy_mode + /// defaults to PRESET. + /// + /// Optional. + /// Possible string values are: + /// - "POLICY_MODE_UNSPECIFIED" : Policy mode is unspecified. It defaults to + /// PRESET with preset_topology = MESH. + /// - "PRESET" : Hub uses one of the preset topologies. + core.String? policyMode; + + /// The topology implemented in this hub. + /// + /// Currently, this field is only used when policy_mode = PRESET. The + /// available preset topologies are MESH and STAR. If preset_topology is + /// unspecified and policy_mode = PRESET, the preset_topology defaults to + /// MESH. When policy_mode = CUSTOM, the preset_topology is set to + /// PRESET_TOPOLOGY_UNSPECIFIED. + /// + /// Optional. + /// Possible string values are: + /// - "PRESET_TOPOLOGY_UNSPECIFIED" : Preset topology is unspecified. When + /// policy_mode = PRESET, it defaults to MESH. + /// - "MESH" : Mesh topology is implemented. Group `default` is automatically + /// created. All spokes in the hub are added to group `default`. + /// - "STAR" : Star topology is implemented. Two groups, `center` and `edge`, + /// are automatically created along with hub creation. Spokes have to join one + /// of the groups during creation. + core.String? presetTopology; + /// The route tables that belong to this hub. /// /// They use the following form: @@ -5123,8 +5289,11 @@ class Hub { Hub({ this.createTime, this.description, + this.exportPsc, this.labels, this.name, + this.policyMode, + this.presetTopology, this.routeTables, this.routingVpcs, this.spokeSummary, @@ -5141,6 +5310,9 @@ class Hub { description: json_.containsKey('description') ? json_['description'] as core.String : null, + exportPsc: json_.containsKey('exportPsc') + ? json_['exportPsc'] as core.bool + : null, labels: json_.containsKey('labels') ? (json_['labels'] as core.Map).map( (key, value) => core.MapEntry( @@ -5150,6 +5322,12 @@ class Hub { ) : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, + policyMode: json_.containsKey('policyMode') + ? json_['policyMode'] as core.String + : null, + presetTopology: json_.containsKey('presetTopology') + ? json_['presetTopology'] as core.String + : null, routeTables: json_.containsKey('routeTables') ? (json_['routeTables'] as core.List) .map((value) => value as core.String) @@ -5178,8 +5356,11 @@ class Hub { core.Map toJson() => { if (createTime != null) 'createTime': createTime!, if (description != null) 'description': description!, + if (exportPsc != null) 'exportPsc': exportPsc!, if (labels != null) 'labels': labels!, if (name != null) 'name': name!, + if (policyMode != null) 'policyMode': policyMode!, + if (presetTopology != null) 'presetTopology': presetTopology!, if (routeTables != null) 'routeTables': routeTables!, if (routingVpcs != null) 'routingVpcs': routingVpcs!, if (spokeSummary != null) 'spokeSummary': spokeSummary!, diff --git a/generated/googleapis/lib/networkmanagement/v1.dart b/generated/googleapis/lib/networkmanagement/v1.dart index 756bdab2b..8204e77f2 100644 --- a/generated/googleapis/lib/networkmanagement/v1.dart +++ b/generated/googleapis/lib/networkmanagement/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -1572,9 +1573,16 @@ class DeliverInfo { /// IP address of the target (if applicable). core.String? ipAddress; + /// PSC Google API target the packet is delivered to (if applicable). + core.String? pscGoogleApiTarget; + /// URI of the resource that the packet is delivered to. core.String? resourceUri; + /// Name of the Cloud Storage Bucket the packet is delivered to (if + /// applicable). + core.String? storageBucket; + /// Target type where the packet is delivered to. /// Possible string values are: /// - "TARGET_UNSPECIFIED" : Target not specified. @@ -1585,7 +1593,7 @@ class DeliverInfo { /// - "CLOUD_SQL_INSTANCE" : Target is a Cloud SQL instance. /// - "PSC_PUBLISHED_SERVICE" : Target is a published service that uses /// [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services). - /// - "PSC_GOOGLE_API" : Target is all Google APIs that use + /// - "PSC_GOOGLE_API" : Target is Google APIs that use /// [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis). /// - "PSC_VPC_SC" : Target is a VPC-SC that uses /// [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis). @@ -1599,11 +1607,15 @@ class DeliverInfo { /// for return traces. /// - "CLOUD_RUN_REVISION" : Target is a Cloud Run revision. Used only for /// return traces. + /// - "GOOGLE_MANAGED_SERVICE" : Target is a Google-managed service. Used only + /// for return traces. core.String? target; DeliverInfo({ this.ipAddress, + this.pscGoogleApiTarget, this.resourceUri, + this.storageBucket, this.target, }); @@ -1612,9 +1624,15 @@ class DeliverInfo { ipAddress: json_.containsKey('ipAddress') ? json_['ipAddress'] as core.String : null, + pscGoogleApiTarget: json_.containsKey('pscGoogleApiTarget') + ? json_['pscGoogleApiTarget'] as core.String + : null, resourceUri: json_.containsKey('resourceUri') ? json_['resourceUri'] as core.String : null, + storageBucket: json_.containsKey('storageBucket') + ? json_['storageBucket'] as core.String + : null, target: json_.containsKey('target') ? json_['target'] as core.String : null, @@ -1622,7 +1640,10 @@ class DeliverInfo { core.Map toJson() => { if (ipAddress != null) 'ipAddress': ipAddress!, + if (pscGoogleApiTarget != null) + 'pscGoogleApiTarget': pscGoogleApiTarget!, if (resourceUri != null) 'resourceUri': resourceUri!, + if (storageBucket != null) 'storageBucket': storageBucket!, if (target != null) 'target': target!, }; } @@ -1784,6 +1805,9 @@ class DropInfo { /// - "CLOUD_NAT_NO_ADDRESSES" : Packet sent to Cloud Nat without active NAT /// IPs. /// - "ROUTING_LOOP" : Packet is stuck in a routing loop. + /// - "DROPPED_INSIDE_GOOGLE_MANAGED_SERVICE" : Packet is dropped due to an + /// unspecified reason inside a Google-managed service. Used only for return + /// traces. core.String? cause; /// Destination IP address of the dropped packet (if relevant). @@ -2354,24 +2378,40 @@ class ForwardInfo { /// /// Metadata associated with a Compute Engine forwarding rule. class ForwardingRuleInfo { - /// Name of a Compute Engine forwarding rule. + /// Name of the forwarding rule. core.String? displayName; - /// Port range defined in the forwarding rule that matches the test. + /// Name of the load balancer the forwarding rule belongs to. + /// + /// Empty for forwarding rules not related to load balancers (like PSC + /// forwarding rules). + core.String? loadBalancerName; + + /// Port range defined in the forwarding rule that matches the packet. core.String? matchedPortRange; - /// Protocol defined in the forwarding rule that matches the test. + /// Protocol defined in the forwarding rule that matches the packet. core.String? matchedProtocol; /// Network URI. - /// - /// Only valid for Internal Load Balancer. core.String? networkUri; + /// PSC Google API target this forwarding rule targets (if applicable). + core.String? pscGoogleApiTarget; + + /// URI of the PSC service attachment this forwarding rule targets (if + /// applicable). + core.String? pscServiceAttachmentUri; + + /// Region of the forwarding rule. + /// + /// Set only for regional forwarding rules. + core.String? region; + /// Target type of the forwarding rule. core.String? target; - /// URI of a Compute Engine forwarding rule. + /// URI of the forwarding rule. core.String? uri; /// VIP of the forwarding rule. @@ -2379,9 +2419,13 @@ class ForwardingRuleInfo { ForwardingRuleInfo({ this.displayName, + this.loadBalancerName, this.matchedPortRange, this.matchedProtocol, this.networkUri, + this.pscGoogleApiTarget, + this.pscServiceAttachmentUri, + this.region, this.target, this.uri, this.vip, @@ -2392,6 +2436,9 @@ class ForwardingRuleInfo { displayName: json_.containsKey('displayName') ? json_['displayName'] as core.String : null, + loadBalancerName: json_.containsKey('loadBalancerName') + ? json_['loadBalancerName'] as core.String + : null, matchedPortRange: json_.containsKey('matchedPortRange') ? json_['matchedPortRange'] as core.String : null, @@ -2401,6 +2448,15 @@ class ForwardingRuleInfo { networkUri: json_.containsKey('networkUri') ? json_['networkUri'] as core.String : null, + pscGoogleApiTarget: json_.containsKey('pscGoogleApiTarget') + ? json_['pscGoogleApiTarget'] as core.String + : null, + pscServiceAttachmentUri: json_.containsKey('pscServiceAttachmentUri') + ? json_['pscServiceAttachmentUri'] as core.String + : null, + region: json_.containsKey('region') + ? json_['region'] as core.String + : null, target: json_.containsKey('target') ? json_['target'] as core.String : null, @@ -2410,9 +2466,15 @@ class ForwardingRuleInfo { core.Map toJson() => { if (displayName != null) 'displayName': displayName!, + if (loadBalancerName != null) 'loadBalancerName': loadBalancerName!, if (matchedPortRange != null) 'matchedPortRange': matchedPortRange!, if (matchedProtocol != null) 'matchedProtocol': matchedProtocol!, if (networkUri != null) 'networkUri': networkUri!, + if (pscGoogleApiTarget != null) + 'pscGoogleApiTarget': pscGoogleApiTarget!, + if (pscServiceAttachmentUri != null) + 'pscServiceAttachmentUri': pscServiceAttachmentUri!, + if (region != null) 'region': region!, if (target != null) 'target': target!, if (uri != null) 'uri': uri!, if (vip != null) 'vip': vip!, @@ -3923,6 +3985,29 @@ class RouteInfo { }; } +/// For display only. +/// +/// Metadata associated with the serverless network endpoint group backend. +class ServerlessNegInfo { + /// URI of the serverless network endpoint group. + core.String? negUri; + + ServerlessNegInfo({ + this.negUri, + }); + + ServerlessNegInfo.fromJson(core.Map json_) + : this( + negUri: json_.containsKey('negUri') + ? json_['negUri'] as core.String + : null, + ); + + core.Map toJson() => { + if (negUri != null) 'negUri': negUri!, + }; +} + /// Request message for `SetIamPolicy` method. class SetIamPolicyRequest { /// REQUIRED: The complete policy to be applied to the `resource`. @@ -4054,6 +4139,11 @@ class Step { /// Display information of a Compute Engine route. RouteInfo? route; + /// Display information of a Serverless network endpoint group backend. + /// + /// Used only for return traces. + ServerlessNegInfo? serverlessNeg; + /// Each step is in one of the pre-defined states. /// Possible string values are: /// - "STATE_UNSPECIFIED" : Unspecified state. @@ -4089,6 +4179,9 @@ class Step { /// - "START_FROM_PSC_PUBLISHED_SERVICE" : Initial state: packet originating /// from a published service that uses Private Service Connect. Used only for /// return traces. + /// - "START_FROM_SERVERLESS_NEG" : Initial state: packet originating from a + /// serverless network endpoint group backend. Used only for return traces. + /// The serverless_neg information is populated. /// - "APPLY_INGRESS_FIREWALL_RULE" : Config checking state: verify ingress /// firewall rule. /// - "APPLY_EGRESS_FIREWALL_RULE" : Config checking state: verify egress @@ -4161,6 +4254,7 @@ class Step { this.projectId, this.proxyConnection, this.route, + this.serverlessNeg, this.state, this.storageBucket, this.vpcConnector, @@ -4260,6 +4354,10 @@ class Step { ? RouteInfo.fromJson( json_['route'] as core.Map) : null, + serverlessNeg: json_.containsKey('serverlessNeg') + ? ServerlessNegInfo.fromJson( + json_['serverlessNeg'] as core.Map) + : null, state: json_.containsKey('state') ? json_['state'] as core.String : null, storageBucket: json_.containsKey('storageBucket') @@ -4305,6 +4403,7 @@ class Step { if (projectId != null) 'projectId': projectId!, if (proxyConnection != null) 'proxyConnection': proxyConnection!, if (route != null) 'route': route!, + if (serverlessNeg != null) 'serverlessNeg': serverlessNeg!, if (state != null) 'state': state!, if (storageBucket != null) 'storageBucket': storageBucket!, if (vpcConnector != null) 'vpcConnector': vpcConnector!, diff --git a/generated/googleapis/lib/networksecurity/v1.dart b/generated/googleapis/lib/networksecurity/v1.dart index 64377e48a..ab0bdcece 100644 --- a/generated/googleapis/lib/networksecurity/v1.dart +++ b/generated/googleapis/lib/networksecurity/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -7179,7 +7180,7 @@ class Rule { /// SecurityProfile is a resource that defines the behavior for one of many /// ProfileTypes. /// -/// Next ID: 9 +/// Next ID: 10 class SecurityProfile { /// Resource creation timestamp. /// @@ -7286,7 +7287,7 @@ class SecurityProfile { /// SecurityProfileGroup is a resource that defines the behavior for various /// ProfileTypes. /// -/// Next ID: 8 +/// Next ID: 9 class SecurityProfileGroup { /// Resource creation timestamp. /// diff --git a/generated/googleapis/lib/networkservices/v1.dart b/generated/googleapis/lib/networkservices/v1.dart index 1d01e7d01..7966d28f2 100644 --- a/generated/googleapis/lib/networkservices/v1.dart +++ b/generated/googleapis/lib/networkservices/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -4783,8 +4784,8 @@ class ExtensionChainExtension { /// A set of events during request or response processing for which this /// extension is called. /// - /// This field is required for the `LbTrafficExtension` resource. It's not - /// relevant for the `LbRouteExtension` resource. + /// This field is required for the `LbTrafficExtension` resource. It must not + /// be set for the `LbRouteExtension` resource. /// /// Optional. core.List? supportedEvents; @@ -4876,7 +4877,7 @@ class ExtensionChainMatchCondition { /// /// It captures the ip:port over which the services are exposed by the proxy, /// along with any policy configurations. Routes have reference to to Gateways -/// to dictate how requests should be routed by this Gateway. Next id: 32 +/// to dictate how requests should be routed by this Gateway. Next id: 33 class Gateway { /// Zero or one IPv4 or IPv6 address on which the Gateway will receive the /// traffic. @@ -6988,6 +6989,21 @@ class LbRouteExtension { /// HTTP(S) Load Balancing. core.String? loadBalancingScheme; + /// The metadata provided here will be included as part of the + /// `metadata_context` (of type `google.protobuf.Struct`) in the + /// `ProcessingRequest` message sent to the extension server. + /// + /// The metadata will be available under the namespace + /// `com.google.lb_route_extension.`. The following variables are supported in + /// the metadata Struct: `{forwarding_rule_id}` - substituted with the + /// forwarding rule's fully qualified resource name. + /// + /// Optional. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? metadata; + /// Identifier. /// /// Name of the `LbRouteExtension` resource in the following format: @@ -7008,6 +7024,7 @@ class LbRouteExtension { this.forwardingRules, this.labels, this.loadBalancingScheme, + this.metadata, this.name, this.updateTime, }); @@ -7042,6 +7059,9 @@ class LbRouteExtension { loadBalancingScheme: json_.containsKey('loadBalancingScheme') ? json_['loadBalancingScheme'] as core.String : null, + metadata: json_.containsKey('metadata') + ? json_['metadata'] as core.Map + : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, updateTime: json_.containsKey('updateTime') ? json_['updateTime'] as core.String @@ -7056,6 +7076,7 @@ class LbRouteExtension { if (labels != null) 'labels': labels!, if (loadBalancingScheme != null) 'loadBalancingScheme': loadBalancingScheme!, + if (metadata != null) 'metadata': metadata!, if (name != null) 'name': name!, if (updateTime != null) 'updateTime': updateTime!, }; @@ -7121,6 +7142,20 @@ class LbTrafficExtension { /// HTTP(S) Load Balancing. core.String? loadBalancingScheme; + /// The metadata provided here will be included in the + /// `ProcessingRequest.metadata_context.filter_metadata` map field. + /// + /// The metadata will be available under the key + /// `com.google.lb_traffic_extension.`. The following variables are supported + /// in the metadata: `{forwarding_rule_id}` - substituted with the forwarding + /// rule's fully qualified resource name. + /// + /// Optional. + /// + /// The values for Object must be JSON objects. It can consist of `num`, + /// `String`, `bool` and `null` as well as `Map` and `List` values. + core.Map? metadata; + /// Identifier. /// /// Name of the `LbTrafficExtension` resource in the following format: @@ -7141,6 +7176,7 @@ class LbTrafficExtension { this.forwardingRules, this.labels, this.loadBalancingScheme, + this.metadata, this.name, this.updateTime, }); @@ -7175,6 +7211,9 @@ class LbTrafficExtension { loadBalancingScheme: json_.containsKey('loadBalancingScheme') ? json_['loadBalancingScheme'] as core.String : null, + metadata: json_.containsKey('metadata') + ? json_['metadata'] as core.Map + : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, updateTime: json_.containsKey('updateTime') ? json_['updateTime'] as core.String @@ -7189,6 +7228,7 @@ class LbTrafficExtension { if (labels != null) 'labels': labels!, if (loadBalancingScheme != null) 'loadBalancingScheme': loadBalancingScheme!, + if (metadata != null) 'metadata': metadata!, if (name != null) 'name': name!, if (updateTime != null) 'updateTime': updateTime!, }; diff --git a/generated/googleapis/lib/notebooks/v1.dart b/generated/googleapis/lib/notebooks/v1.dart index 3df369c68..bb44d76ee 100644 --- a/generated/googleapis/lib/notebooks/v1.dart +++ b/generated/googleapis/lib/notebooks/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/notebooks/v2.dart b/generated/googleapis/lib/notebooks/v2.dart index abb776fcb..8c560df84 100644 --- a/generated/googleapis/lib/notebooks/v2.dart +++ b/generated/googleapis/lib/notebooks/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/oauth2/v2.dart b/generated/googleapis/lib/oauth2/v2.dart index b7c5f685c..ad37cd765 100644 --- a/generated/googleapis/lib/oauth2/v2.dart +++ b/generated/googleapis/lib/oauth2/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/ondemandscanning/v1.dart b/generated/googleapis/lib/ondemandscanning/v1.dart index f6812551c..4bf5fc94b 100644 --- a/generated/googleapis/lib/ondemandscanning/v1.dart +++ b/generated/googleapis/lib/ondemandscanning/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/orgpolicy/v2.dart b/generated/googleapis/lib/orgpolicy/v2.dart index d3783c3b9..c7d18060a 100644 --- a/generated/googleapis/lib/orgpolicy/v2.dart +++ b/generated/googleapis/lib/orgpolicy/v2.dart @@ -3,6 +3,7 @@ // 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 @@ -1483,10 +1484,6 @@ class GoogleCloudOrgpolicyV2Constraint { /// Mutable. core.String? displayName; - /// Defines this constraint as being a GoogleManagedConstraint. - GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint? - googleManagedConstraint; - /// Defines this constraint as being a ListConstraint. GoogleCloudOrgpolicyV2ConstraintListConstraint? listConstraint; @@ -1509,7 +1506,6 @@ class GoogleCloudOrgpolicyV2Constraint { this.constraintDefault, this.description, this.displayName, - this.googleManagedConstraint, this.listConstraint, this.name, this.supportsDryRun, @@ -1531,11 +1527,6 @@ class GoogleCloudOrgpolicyV2Constraint { displayName: json_.containsKey('displayName') ? json_['displayName'] as core.String : null, - googleManagedConstraint: json_.containsKey('googleManagedConstraint') - ? GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint - .fromJson(json_['googleManagedConstraint'] - as core.Map) - : null, listConstraint: json_.containsKey('listConstraint') ? GoogleCloudOrgpolicyV2ConstraintListConstraint.fromJson( json_['listConstraint'] @@ -1552,8 +1543,6 @@ class GoogleCloudOrgpolicyV2Constraint { if (constraintDefault != null) 'constraintDefault': constraintDefault!, if (description != null) 'description': description!, if (displayName != null) 'displayName': displayName!, - if (googleManagedConstraint != null) - 'googleManagedConstraint': googleManagedConstraint!, if (listConstraint != null) 'listConstraint': listConstraint!, if (name != null) 'name': name!, if (supportsDryRun != null) 'supportsDryRun': supportsDryRun!, @@ -1567,70 +1556,6 @@ class GoogleCloudOrgpolicyV2Constraint { /// to that instance. typedef GoogleCloudOrgpolicyV2ConstraintBooleanConstraint = $Empty; -/// A Google managed constraint. -/// -/// This represents a subset of fields missing from Constraint proto that are -/// required to describe CustomConstraint -class GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint { - /// Allow or deny type. - /// Possible string values are: - /// - "ACTION_TYPE_UNSPECIFIED" : Unspecified. Results in an error. - /// - "ALLOW" : Allowed action type. - /// - "DENY" : Deny action type. - core.String? actionType; - - /// Org policy condition/expression. - /// - /// For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")` - /// or, `resource.management.auto_upgrade == true` The max length of the - /// condition is 1000 characters. - core.String? condition; - - /// All the operations being applied for this constraint. - core.List? methodTypes; - - /// The resource instance type on which this policy applies. - /// - /// Format will be of the form : `/` Example: * - /// `compute.googleapis.com/Instance`. - core.List? resourceTypes; - - GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint({ - this.actionType, - this.condition, - this.methodTypes, - this.resourceTypes, - }); - - GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint.fromJson( - core.Map json_) - : this( - actionType: json_.containsKey('actionType') - ? json_['actionType'] as core.String - : null, - condition: json_.containsKey('condition') - ? json_['condition'] as core.String - : null, - methodTypes: json_.containsKey('methodTypes') - ? (json_['methodTypes'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - resourceTypes: json_.containsKey('resourceTypes') - ? (json_['resourceTypes'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - ); - - core.Map toJson() => { - if (actionType != null) 'actionType': actionType!, - if (condition != null) 'condition': condition!, - if (methodTypes != null) 'methodTypes': methodTypes!, - if (resourceTypes != null) 'resourceTypes': resourceTypes!, - }; -} - /// A constraint that allows or disallows a list of string values, which are /// configured by an Organization Policy administrator with a policy. class GoogleCloudOrgpolicyV2ConstraintListConstraint { @@ -1674,114 +1599,8 @@ class GoogleCloudOrgpolicyV2ConstraintListConstraint { /// By creating a custom constraint, customers can apply policies of this custom /// constraint. *Creating a custom constraint itself does NOT apply any policy /// enforcement*. -class GoogleCloudOrgpolicyV2CustomConstraint { - /// Allow or deny type. - /// Possible string values are: - /// - "ACTION_TYPE_UNSPECIFIED" : Unspecified. Results in an error. - /// - "ALLOW" : Allowed action type. - /// - "DENY" : Deny action type. - core.String? actionType; - - /// Org policy condition/expression. - /// - /// For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")` - /// or, `resource.management.auto_upgrade == true` The max length of the - /// condition is 1000 characters. - core.String? condition; - - /// Detailed information about this custom policy constraint. - /// - /// The max length of the description is 2000 characters. - core.String? description; - - /// One line display name for the UI. - /// - /// The max length of the display_name is 200 characters. - core.String? displayName; - - /// All the operations being applied for this constraint. - core.List? methodTypes; - - /// Name of the constraint. - /// - /// This is unique within the organization. Format of the name should be * - /// `organizations/{organization_id}/customConstraints/{custom_constraint_id}` - /// Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms` - /// The max length is 70 characters and the minimum length is 1. Note that the - /// prefix `organizations/{organization_id}/customConstraints/` is not - /// counted. - /// - /// Immutable. - core.String? name; - - /// The resource instance type on which this policy applies. - /// - /// Format will be of the form : `/` Example: * - /// `compute.googleapis.com/Instance`. - /// - /// Immutable. - core.List? resourceTypes; - - /// The last time this custom constraint was updated. - /// - /// This represents the last time that the `CreateCustomConstraint` or - /// `UpdateCustomConstraint` RPC was called - /// - /// Output only. - core.String? updateTime; - - GoogleCloudOrgpolicyV2CustomConstraint({ - this.actionType, - this.condition, - this.description, - this.displayName, - this.methodTypes, - this.name, - this.resourceTypes, - this.updateTime, - }); - - GoogleCloudOrgpolicyV2CustomConstraint.fromJson(core.Map json_) - : this( - actionType: json_.containsKey('actionType') - ? json_['actionType'] 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, - methodTypes: json_.containsKey('methodTypes') - ? (json_['methodTypes'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - name: json_.containsKey('name') ? json_['name'] as core.String : null, - resourceTypes: json_.containsKey('resourceTypes') - ? (json_['resourceTypes'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - updateTime: json_.containsKey('updateTime') - ? json_['updateTime'] as core.String - : null, - ); - - core.Map toJson() => { - if (actionType != null) 'actionType': actionType!, - if (condition != null) 'condition': condition!, - if (description != null) 'description': description!, - if (displayName != null) 'displayName': displayName!, - if (methodTypes != null) 'methodTypes': methodTypes!, - if (name != null) 'name': name!, - if (resourceTypes != null) 'resourceTypes': resourceTypes!, - if (updateTime != null) 'updateTime': updateTime!, - }; -} +typedef GoogleCloudOrgpolicyV2CustomConstraint + = $GoogleCloudOrgpolicyV2CustomConstraint; /// The response returned from the ListConstraints method. class GoogleCloudOrgpolicyV2ListConstraintsResponse { diff --git a/generated/googleapis/lib/osconfig/v1.dart b/generated/googleapis/lib/osconfig/v1.dart index 89043e7b1..61f691b37 100644 --- a/generated/googleapis/lib/osconfig/v1.dart +++ b/generated/googleapis/lib/osconfig/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -610,6 +611,10 @@ class ProjectsLocationsOsPolicyAssignmentsResource { /// * Must be between 1-63 characters. * Must end with a number or a letter. * /// Must be unique within the project. /// + /// [requestId] - Optional. A unique identifier for this request. Restricted + /// to 36 ASCII characters. A random UUID is recommended. This request is only + /// idempotent if a `request_id` is provided. + /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -624,12 +629,14 @@ class ProjectsLocationsOsPolicyAssignmentsResource { OSPolicyAssignment request, core.String parent, { core.String? osPolicyAssignmentId, + core.String? requestId, core.String? $fields, }) async { final body_ = convert.json.encode(request); final queryParams_ = >{ if (osPolicyAssignmentId != null) 'osPolicyAssignmentId': [osPolicyAssignmentId], + if (requestId != null) 'requestId': [requestId], if ($fields != null) 'fields': [$fields], }; @@ -660,6 +667,10 @@ class ProjectsLocationsOsPolicyAssignmentsResource { /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/osPolicyAssignments/\[^/\]+$`. /// + /// [requestId] - Optional. A unique identifier for this request. Restricted + /// to 36 ASCII characters. A random UUID is recommended. This request is only + /// idempotent if a `request_id` is provided. + /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// @@ -672,9 +683,11 @@ class ProjectsLocationsOsPolicyAssignmentsResource { /// this method will complete with the same error. async.Future delete( core.String name, { + core.String? requestId, core.String? $fields, }) async { final queryParams_ = >{ + if (requestId != null) 'requestId': [requestId], if ($fields != null) 'fields': [$fields], }; @@ -845,6 +858,14 @@ class ProjectsLocationsOsPolicyAssignmentsResource { /// Value must have pattern /// `^projects/\[^/\]+/locations/\[^/\]+/osPolicyAssignments/\[^/\]+$`. /// + /// [allowMissing] - Optional. If set to true, and the OS policy assignment is + /// not found, a new OS policy assignment will be created. In this situation, + /// `update_mask` is ignored. + /// + /// [requestId] - Optional. A unique identifier for this request. Restricted + /// to 36 ASCII characters. A random UUID is recommended. This request is only + /// idempotent if a `request_id` is provided. + /// /// [updateMask] - Optional. Field mask that controls which fields of the /// assignment should be updated. /// @@ -861,11 +882,15 @@ class ProjectsLocationsOsPolicyAssignmentsResource { async.Future patch( OSPolicyAssignment request, core.String name, { + core.bool? allowMissing, + core.String? requestId, core.String? updateMask, core.String? $fields, }) async { final body_ = convert.json.encode(request); final queryParams_ = >{ + if (allowMissing != null) 'allowMissing': ['${allowMissing}'], + if (requestId != null) 'requestId': [requestId], if (updateMask != null) 'updateMask': [updateMask], if ($fields != null) 'fields': [$fields], }; diff --git a/generated/googleapis/lib/oslogin/v1.dart b/generated/googleapis/lib/oslogin/v1.dart index 33cdc3eb8..408844ddf 100644 --- a/generated/googleapis/lib/oslogin/v1.dart +++ b/generated/googleapis/lib/oslogin/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/pagespeedonline/v5.dart b/generated/googleapis/lib/pagespeedonline/v5.dart index 6d93e5aeb..be5a22731 100644 --- a/generated/googleapis/lib/pagespeedonline/v5.dart +++ b/generated/googleapis/lib/pagespeedonline/v5.dart @@ -3,6 +3,7 @@ // 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 @@ -234,6 +235,11 @@ class Categories { LighthouseCategoryV5? performance; /// The Progressive-Web-App (PWA) category, containing all pwa related audits. + /// + /// This is deprecated in Lighthouse's 12.0 release. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) LighthouseCategoryV5? pwa; /// The Search-Engine-Optimization (SEO) category, containing all seo related diff --git a/generated/googleapis/lib/paymentsresellersubscription/v1.dart b/generated/googleapis/lib/paymentsresellersubscription/v1.dart index d003b2069..575efdfc3 100644 --- a/generated/googleapis/lib/paymentsresellersubscription/v1.dart +++ b/generated/googleapis/lib/paymentsresellersubscription/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/people/v1.dart b/generated/googleapis/lib/people/v1.dart index 61f8ae064..c9d23b341 100644 --- a/generated/googleapis/lib/people/v1.dart +++ b/generated/googleapis/lib/people/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/photoslibrary/v1.dart b/generated/googleapis/lib/photoslibrary/v1.dart index d5713f4aa..8ced2dfe9 100644 --- a/generated/googleapis/lib/photoslibrary/v1.dart +++ b/generated/googleapis/lib/photoslibrary/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/places/v1.dart b/generated/googleapis/lib/places/v1.dart index 4bad8cba0..98a27e2c8 100644 --- a/generated/googleapis/lib/places/v1.dart +++ b/generated/googleapis/lib/places/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -451,8 +452,9 @@ class GoogleMapsPlacesV1AutocompletePlacesRequest { core.bool? includeQueryPredictions; /// Included primary Place type (for example, "restaurant" or "gas_station") - /// from - /// https://developers.google.com/maps/documentation/places/web-service/place-types. + /// in Place Types + /// (https://developers.google.com/maps/documentation/places/web-service/place-types), + /// or only `(regions)`, or only `(cities)`. /// /// A Place is only returned if its primary type is included in this list. Up /// to 5 values can be specified. If no types are specified, all Place types @@ -1074,6 +1076,299 @@ class GoogleMapsPlacesV1Circle { }; } +/// A block of content that can be served individually. +class GoogleMapsPlacesV1ContentBlock { + /// Content related to the topic. + GoogleTypeLocalizedText? content; + + /// Experimental: See + /// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + /// for more details. + /// + /// References that are related to this block of content. + GoogleMapsPlacesV1References? references; + + /// The topic of the content, for example "overview" or "restaurant". + core.String? topic; + + GoogleMapsPlacesV1ContentBlock({ + this.content, + this.references, + this.topic, + }); + + GoogleMapsPlacesV1ContentBlock.fromJson(core.Map json_) + : this( + content: json_.containsKey('content') + ? GoogleTypeLocalizedText.fromJson( + json_['content'] as core.Map) + : null, + references: json_.containsKey('references') + ? GoogleMapsPlacesV1References.fromJson( + json_['references'] as core.Map) + : null, + topic: + json_.containsKey('topic') ? json_['topic'] as core.String : null, + ); + + core.Map toJson() => { + if (content != null) 'content': content!, + if (references != null) 'references': references!, + if (topic != null) 'topic': topic!, + }; +} + +/// Experimental: See +/// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative +/// for more details. +/// +/// Content that is contextual to the place query. +class GoogleMapsPlacesV1ContextualContent { + /// Experimental: See + /// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + /// for more details. + /// + /// Justifications for the place. + core.List? justifications; + + /// Information (including references) about photos of this place, contexual + /// to the place query. + core.List? photos; + + /// List of reviews about this place, contexual to the place query. + core.List? reviews; + + GoogleMapsPlacesV1ContextualContent({ + this.justifications, + this.photos, + this.reviews, + }); + + GoogleMapsPlacesV1ContextualContent.fromJson(core.Map json_) + : this( + justifications: json_.containsKey('justifications') + ? (json_['justifications'] as core.List) + .map((value) => + GoogleMapsPlacesV1ContextualContentJustification.fromJson( + value as core.Map)) + .toList() + : null, + photos: json_.containsKey('photos') + ? (json_['photos'] as core.List) + .map((value) => GoogleMapsPlacesV1Photo.fromJson( + value as core.Map)) + .toList() + : null, + reviews: json_.containsKey('reviews') + ? (json_['reviews'] as core.List) + .map((value) => GoogleMapsPlacesV1Review.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (justifications != null) 'justifications': justifications!, + if (photos != null) 'photos': photos!, + if (reviews != null) 'reviews': reviews!, + }; +} + +/// Experimental: See +/// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative +/// for more details. +/// +/// Justifications for the place. Justifications answers the question of why a +/// place could interest an end user. +class GoogleMapsPlacesV1ContextualContentJustification { + /// Experimental: See + /// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + /// for more details. + GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification? + businessAvailabilityAttributesJustification; + + /// Experimental: See + /// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + /// for more details. + GoogleMapsPlacesV1ContextualContentJustificationReviewJustification? + reviewJustification; + + GoogleMapsPlacesV1ContextualContentJustification({ + this.businessAvailabilityAttributesJustification, + this.reviewJustification, + }); + + GoogleMapsPlacesV1ContextualContentJustification.fromJson(core.Map json_) + : this( + businessAvailabilityAttributesJustification: json_ + .containsKey('businessAvailabilityAttributesJustification') + ? GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification + .fromJson(json_['businessAvailabilityAttributesJustification'] + as core.Map) + : null, + reviewJustification: json_.containsKey('reviewJustification') + ? GoogleMapsPlacesV1ContextualContentJustificationReviewJustification + .fromJson(json_['reviewJustification'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (businessAvailabilityAttributesJustification != null) + 'businessAvailabilityAttributesJustification': + businessAvailabilityAttributesJustification!, + if (reviewJustification != null) + 'reviewJustification': reviewJustification!, + }; +} + +/// Experimental: See +/// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative +/// for more details. +/// +/// BusinessAvailabilityAttributes justifications. This shows some attributes a +/// business has that could interest an end user. +class GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification { + /// If a place provides delivery. + core.bool? delivery; + + /// If a place provides dine-in. + core.bool? dineIn; + + /// If a place provides takeout. + core.bool? takeout; + + GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification({ + this.delivery, + this.dineIn, + this.takeout, + }); + + GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification.fromJson( + core.Map json_) + : this( + delivery: json_.containsKey('delivery') + ? json_['delivery'] as core.bool + : null, + dineIn: + json_.containsKey('dineIn') ? json_['dineIn'] as core.bool : null, + takeout: json_.containsKey('takeout') + ? json_['takeout'] as core.bool + : null, + ); + + core.Map toJson() => { + if (delivery != null) 'delivery': delivery!, + if (dineIn != null) 'dineIn': dineIn!, + if (takeout != null) 'takeout': takeout!, + }; +} + +/// Experimental: See +/// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative +/// for more details. +/// +/// User review justifications. This highlights a section of the user review +/// that would interest an end user. For instance, if the search query is +/// "firewood pizza", the review justification highlights the text relevant to +/// the search query. +class GoogleMapsPlacesV1ContextualContentJustificationReviewJustification { + GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText? + highlightedText; + + /// The review that the highlighted text is generated from. + GoogleMapsPlacesV1Review? review; + + GoogleMapsPlacesV1ContextualContentJustificationReviewJustification({ + this.highlightedText, + this.review, + }); + + GoogleMapsPlacesV1ContextualContentJustificationReviewJustification.fromJson( + core.Map json_) + : this( + highlightedText: json_.containsKey('highlightedText') + ? GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText + .fromJson(json_['highlightedText'] + as core.Map) + : null, + review: json_.containsKey('review') + ? GoogleMapsPlacesV1Review.fromJson( + json_['review'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (highlightedText != null) 'highlightedText': highlightedText!, + if (review != null) 'review': review!, + }; +} + +/// The text highlighted by the justification. +/// +/// This is a subset of the review itself. The exact word to highlight is marked +/// by the HighlightedTextRange. There could be several words in the text being +/// highlighted. +class GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText { + /// The list of the ranges of the highlighted text. + core.List< + GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange>? + highlightedTextRanges; + core.String? text; + + GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText({ + this.highlightedTextRanges, + this.text, + }); + + GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText.fromJson( + core.Map json_) + : this( + highlightedTextRanges: json_.containsKey('highlightedTextRanges') + ? (json_['highlightedTextRanges'] as core.List) + .map((value) => + GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange + .fromJson( + value as core.Map)) + .toList() + : null, + text: json_.containsKey('text') ? json_['text'] as core.String : null, + ); + + core.Map toJson() => { + if (highlightedTextRanges != null) + 'highlightedTextRanges': highlightedTextRanges!, + if (text != null) 'text': text!, + }; +} + +/// The range of highlighted text. +class GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange { + core.int? endIndex; + core.int? startIndex; + + GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange({ + this.endIndex, + this.startIndex, + }); + + GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange.fromJson( + core.Map json_) + : this( + endIndex: json_.containsKey('endIndex') + ? json_['endIndex'] as core.int + : null, + startIndex: json_.containsKey('startIndex') + ? json_['startIndex'] as core.int + : null, + ); + + core.Map toJson() => { + if (endIndex != null) 'endIndex': endIndex!, + if (startIndex != null) 'startIndex': startIndex!, + }; +} + /// Information about the EV Charge Station hosted in Place. /// /// Terminology follows @@ -1394,6 +1689,13 @@ class GoogleMapsPlacesV1Place { /// Place allows dogs. core.bool? allowsDogs; + /// Experimental: See + /// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + /// for more details. + /// + /// AI-generated summary of the area that the place is in. + GoogleMapsPlacesV1PlaceAreaSummary? areaSummary; + /// A set of data provider that must be shown with this result. core.List? attributions; @@ -1458,6 +1760,13 @@ class GoogleMapsPlacesV1Place { /// This information is updated regularly. GoogleMapsPlacesV1FuelOptions? fuelOptions; + /// Experimental: See + /// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + /// for more details. + /// + /// AI-generated summary of the place. + GoogleMapsPlacesV1PlaceGenerativeSummary? generativeSummary; + /// Place is good for children. core.bool? goodForChildren; @@ -1645,6 +1954,7 @@ class GoogleMapsPlacesV1Place { this.addressComponents, this.adrFormatAddress, this.allowsDogs, + this.areaSummary, this.attributions, this.businessStatus, this.curbsidePickup, @@ -1657,6 +1967,7 @@ class GoogleMapsPlacesV1Place { this.evChargeOptions, this.formattedAddress, this.fuelOptions, + this.generativeSummary, this.goodForChildren, this.goodForGroups, this.goodForWatchingSports, @@ -1724,6 +2035,10 @@ class GoogleMapsPlacesV1Place { allowsDogs: json_.containsKey('allowsDogs') ? json_['allowsDogs'] as core.bool : null, + areaSummary: json_.containsKey('areaSummary') + ? GoogleMapsPlacesV1PlaceAreaSummary.fromJson( + json_['areaSummary'] as core.Map) + : null, attributions: json_.containsKey('attributions') ? (json_['attributions'] as core.List) .map((value) => GoogleMapsPlacesV1PlaceAttribution.fromJson( @@ -1773,6 +2088,11 @@ class GoogleMapsPlacesV1Place { ? GoogleMapsPlacesV1FuelOptions.fromJson( json_['fuelOptions'] as core.Map) : null, + generativeSummary: json_.containsKey('generativeSummary') + ? GoogleMapsPlacesV1PlaceGenerativeSummary.fromJson( + json_['generativeSummary'] + as core.Map) + : null, goodForChildren: json_.containsKey('goodForChildren') ? json_['goodForChildren'] as core.bool : null, @@ -1939,6 +2259,7 @@ class GoogleMapsPlacesV1Place { if (addressComponents != null) 'addressComponents': addressComponents!, if (adrFormatAddress != null) 'adrFormatAddress': adrFormatAddress!, if (allowsDogs != null) 'allowsDogs': allowsDogs!, + if (areaSummary != null) 'areaSummary': areaSummary!, if (attributions != null) 'attributions': attributions!, if (businessStatus != null) 'businessStatus': businessStatus!, if (curbsidePickup != null) 'curbsidePickup': curbsidePickup!, @@ -1953,6 +2274,7 @@ class GoogleMapsPlacesV1Place { if (evChargeOptions != null) 'evChargeOptions': evChargeOptions!, if (formattedAddress != null) 'formattedAddress': formattedAddress!, if (fuelOptions != null) 'fuelOptions': fuelOptions!, + if (generativeSummary != null) 'generativeSummary': generativeSummary!, if (goodForChildren != null) 'goodForChildren': goodForChildren!, if (goodForGroups != null) 'goodForGroups': goodForGroups!, if (goodForWatchingSports != null) @@ -2117,6 +2439,36 @@ class GoogleMapsPlacesV1PlaceAddressComponent { }; } +/// Experimental: See +/// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative +/// for more details. +/// +/// AI-generated summary of the area that the place is in. +class GoogleMapsPlacesV1PlaceAreaSummary { + /// Content blocks that compose the area summary. + /// + /// Each block has a separate topic about the area. + core.List? contentBlocks; + + GoogleMapsPlacesV1PlaceAreaSummary({ + this.contentBlocks, + }); + + GoogleMapsPlacesV1PlaceAreaSummary.fromJson(core.Map json_) + : this( + contentBlocks: json_.containsKey('contentBlocks') + ? (json_['contentBlocks'] as core.List) + .map((value) => GoogleMapsPlacesV1ContentBlock.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (contentBlocks != null) 'contentBlocks': contentBlocks!, + }; +} + /// Information about data providers of this place. class GoogleMapsPlacesV1PlaceAttribution { /// Name of the Place's data provider. @@ -2146,6 +2498,50 @@ class GoogleMapsPlacesV1PlaceAttribution { }; } +/// Experimental: See +/// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative +/// for more details. +/// +/// AI-generated summary of the place. +class GoogleMapsPlacesV1PlaceGenerativeSummary { + /// The detailed description of the place. + GoogleTypeLocalizedText? description; + + /// The overview of the place. + GoogleTypeLocalizedText? overview; + + /// References that are used to generate the summary description. + GoogleMapsPlacesV1References? references; + + GoogleMapsPlacesV1PlaceGenerativeSummary({ + this.description, + this.overview, + this.references, + }); + + GoogleMapsPlacesV1PlaceGenerativeSummary.fromJson(core.Map json_) + : this( + description: json_.containsKey('description') + ? GoogleTypeLocalizedText.fromJson( + json_['description'] as core.Map) + : null, + overview: json_.containsKey('overview') + ? GoogleTypeLocalizedText.fromJson( + json_['overview'] as core.Map) + : null, + references: json_.containsKey('references') + ? GoogleMapsPlacesV1References.fromJson( + json_['references'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (description != null) 'description': description!, + if (overview != null) 'overview': overview!, + if (references != null) 'references': references!, + }; +} + /// Information about business hour of the place. class GoogleMapsPlacesV1PlaceOpeningHours { /// Is this place open right now? Always present unless we lack time-of-day or @@ -2510,6 +2906,46 @@ class GoogleMapsPlacesV1PlaceSubDestination { }; } +/// Experimental: See +/// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative +/// for more details. +/// +/// Reference that the generative content is related to. +class GoogleMapsPlacesV1References { + /// The list of resource names of the referenced places. + /// + /// This name can be used in other APIs that accept Place resource names. + core.List? places; + + /// Reviews that serve as references. + core.List? reviews; + + GoogleMapsPlacesV1References({ + this.places, + this.reviews, + }); + + GoogleMapsPlacesV1References.fromJson(core.Map json_) + : this( + places: json_.containsKey('places') + ? (json_['places'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + reviews: json_.containsKey('reviews') + ? (json_['reviews'] as core.List) + .map((value) => GoogleMapsPlacesV1Review.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (places != null) 'places': places!, + if (reviews != null) 'reviews': reviews!, + }; +} + /// Information about a review of a place. class GoogleMapsPlacesV1Review { /// This review's author. @@ -2842,12 +3278,19 @@ class GoogleMapsPlacesV1SearchTextRequest { /// location will not be returned. Cannot be set along with location_bias. GoogleMapsPlacesV1SearchTextRequestLocationRestriction? locationRestriction; - /// Maximum number of results to return. - /// - /// It must be between 1 and 20, inclusively. The default is 20. If the number - /// is unset, it falls back to the upper limit. If the number is set to - /// negative or exceeds the upper limit, an INVALID_ARGUMENT error is - /// returned. + /// Deprecated: Use `page_size` instead. + /// + /// The maximum number of results per page that can be returned. If the number + /// of available results is larger than `max_result_count`, a + /// `next_page_token` is returned which can be passed to `page_token` to get + /// the next page of results in subsequent requests. If 0 or no value is + /// provided, a default of 20 is used. The maximum value is 20; values above + /// 20 will be coerced to 20. Negative values will return an INVALID_ARGUMENT + /// error. If both `max_result_count` and `page_size` are specified, + /// `max_result_count` will be ignored. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) core.int? maxResultCount; /// Filter out results whose average user rating is strictly less than this @@ -2864,6 +3307,29 @@ class GoogleMapsPlacesV1SearchTextRequest { /// The default is false. core.bool? openNow; + /// The maximum number of results per page that can be returned. + /// + /// If the number of available results is larger than `page_size`, a + /// `next_page_token` is returned which can be passed to `page_token` to get + /// the next page of results in subsequent requests. If 0 or no value is + /// provided, a default of 20 is used. The maximum value is 20; values above + /// 20 will be set to 20. Negative values will return an INVALID_ARGUMENT + /// error. If both `max_result_count` and `page_size` are specified, + /// `max_result_count` will be ignored. + /// + /// Optional. + core.int? pageSize; + + /// A page token, received from a previous TextSearch call. + /// + /// Provide this to retrieve the subsequent page. When paginating, all + /// parameters other than `page_token`, `page_size`, and `max_result_count` + /// provided to TextSearch must match the initial call that provided the page + /// token. Otherwise an INVALID_ARGUMENT error is returned. + /// + /// Optional. + core.String? pageToken; + /// Used to restrict the search to places that are marked as certain price /// levels. /// @@ -2912,6 +3378,8 @@ class GoogleMapsPlacesV1SearchTextRequest { this.maxResultCount, this.minRating, this.openNow, + this.pageSize, + this.pageToken, this.priceLevels, this.rankPreference, this.regionCode, @@ -2949,6 +3417,12 @@ class GoogleMapsPlacesV1SearchTextRequest { openNow: json_.containsKey('openNow') ? json_['openNow'] as core.bool : null, + pageSize: json_.containsKey('pageSize') + ? json_['pageSize'] as core.int + : null, + pageToken: json_.containsKey('pageToken') + ? json_['pageToken'] as core.String + : null, priceLevels: json_.containsKey('priceLevels') ? (json_['priceLevels'] as core.List) .map((value) => value as core.String) @@ -2978,6 +3452,8 @@ class GoogleMapsPlacesV1SearchTextRequest { if (maxResultCount != null) 'maxResultCount': maxResultCount!, if (minRating != null) 'minRating': minRating!, if (openNow != null) 'openNow': openNow!, + if (pageSize != null) 'pageSize': pageSize!, + if (pageToken != null) 'pageToken': pageToken!, if (priceLevels != null) 'priceLevels': priceLevels!, if (rankPreference != null) 'rankPreference': rankPreference!, if (regionCode != null) 'regionCode': regionCode!, @@ -3102,15 +3578,44 @@ class GoogleMapsPlacesV1SearchTextRequestLocationRestriction { /// Response proto for SearchText. class GoogleMapsPlacesV1SearchTextResponse { + /// Experimental: See + /// https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative + /// for more details. + /// + /// A list of contextual contents where each entry associates to the + /// corresponding place in the same index in the places field. The contents + /// that are relevant to the `text_query` in the request are preferred. If the + /// contextual content is not available for one of the places, it will return + /// non-contextual content. It will be empty only when the content is + /// unavailable for this place. This list should have as many entries as the + /// list of places if requested. + core.List? contextualContents; + + /// A token that can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted or empty, there are no subsequent pages. + core.String? nextPageToken; + /// A list of places that meet the user's text search criteria. core.List? places; GoogleMapsPlacesV1SearchTextResponse({ + this.contextualContents, + this.nextPageToken, this.places, }); GoogleMapsPlacesV1SearchTextResponse.fromJson(core.Map json_) : this( + contextualContents: json_.containsKey('contextualContents') + ? (json_['contextualContents'] as core.List) + .map((value) => GoogleMapsPlacesV1ContextualContent.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, places: json_.containsKey('places') ? (json_['places'] as core.List) .map((value) => GoogleMapsPlacesV1Place.fromJson( @@ -3120,6 +3625,9 @@ class GoogleMapsPlacesV1SearchTextResponse { ); core.Map toJson() => { + if (contextualContents != null) + 'contextualContents': contextualContents!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, if (places != null) 'places': places!, }; } diff --git a/generated/googleapis/lib/playcustomapp/v1.dart b/generated/googleapis/lib/playcustomapp/v1.dart index 90e5f2d2c..97c7cbd1c 100644 --- a/generated/googleapis/lib/playcustomapp/v1.dart +++ b/generated/googleapis/lib/playcustomapp/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/playintegrity/v1.dart b/generated/googleapis/lib/playintegrity/v1.dart index 692db1397..5dd15c332 100644 --- a/generated/googleapis/lib/playintegrity/v1.dart +++ b/generated/googleapis/lib/playintegrity/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/policyanalyzer/v1.dart b/generated/googleapis/lib/policyanalyzer/v1.dart index df59ce0d2..0929113e0 100644 --- a/generated/googleapis/lib/policyanalyzer/v1.dart +++ b/generated/googleapis/lib/policyanalyzer/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/policysimulator/v1.dart b/generated/googleapis/lib/policysimulator/v1.dart index 297ba268b..e2ddf9bc0 100644 --- a/generated/googleapis/lib/policysimulator/v1.dart +++ b/generated/googleapis/lib/policysimulator/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -1473,114 +1474,8 @@ class GoogleCloudOrgpolicyV2AlternatePolicySpec { /// By creating a custom constraint, customers can apply policies of this custom /// constraint. *Creating a custom constraint itself does NOT apply any policy /// enforcement*. -class GoogleCloudOrgpolicyV2CustomConstraint { - /// Allow or deny type. - /// Possible string values are: - /// - "ACTION_TYPE_UNSPECIFIED" : Unspecified. Results in an error. - /// - "ALLOW" : Allowed action type. - /// - "DENY" : Deny action type. - core.String? actionType; - - /// Org policy condition/expression. - /// - /// For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")` - /// or, `resource.management.auto_upgrade == true` The max length of the - /// condition is 1000 characters. - core.String? condition; - - /// Detailed information about this custom policy constraint. - /// - /// The max length of the description is 2000 characters. - core.String? description; - - /// One line display name for the UI. - /// - /// The max length of the display_name is 200 characters. - core.String? displayName; - - /// All the operations being applied for this constraint. - core.List? methodTypes; - - /// Name of the constraint. - /// - /// This is unique within the organization. Format of the name should be * - /// `organizations/{organization_id}/customConstraints/{custom_constraint_id}` - /// Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms` - /// The max length is 70 characters and the minimum length is 1. Note that the - /// prefix `organizations/{organization_id}/customConstraints/` is not - /// counted. - /// - /// Immutable. - core.String? name; - - /// The resource instance type on which this policy applies. - /// - /// Format will be of the form : `/` Example: * - /// `compute.googleapis.com/Instance`. - /// - /// Immutable. - core.List? resourceTypes; - - /// The last time this custom constraint was updated. - /// - /// This represents the last time that the `CreateCustomConstraint` or - /// `UpdateCustomConstraint` RPC was called - /// - /// Output only. - core.String? updateTime; - - GoogleCloudOrgpolicyV2CustomConstraint({ - this.actionType, - this.condition, - this.description, - this.displayName, - this.methodTypes, - this.name, - this.resourceTypes, - this.updateTime, - }); - - GoogleCloudOrgpolicyV2CustomConstraint.fromJson(core.Map json_) - : this( - actionType: json_.containsKey('actionType') - ? json_['actionType'] 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, - methodTypes: json_.containsKey('methodTypes') - ? (json_['methodTypes'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - name: json_.containsKey('name') ? json_['name'] as core.String : null, - resourceTypes: json_.containsKey('resourceTypes') - ? (json_['resourceTypes'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - updateTime: json_.containsKey('updateTime') - ? json_['updateTime'] as core.String - : null, - ); - - core.Map toJson() => { - if (actionType != null) 'actionType': actionType!, - if (condition != null) 'condition': condition!, - if (description != null) 'description': description!, - if (displayName != null) 'displayName': displayName!, - if (methodTypes != null) 'methodTypes': methodTypes!, - if (name != null) 'name': name!, - if (resourceTypes != null) 'resourceTypes': resourceTypes!, - if (updateTime != null) 'updateTime': updateTime!, - }; -} +typedef GoogleCloudOrgpolicyV2CustomConstraint + = $GoogleCloudOrgpolicyV2CustomConstraint; /// Defines an organization policy which is used to specify constraints for /// configurations of Google Cloud resources. diff --git a/generated/googleapis/lib/policytroubleshooter/v1.dart b/generated/googleapis/lib/policytroubleshooter/v1.dart index 8887fbe83..3932fe695 100644 --- a/generated/googleapis/lib/policytroubleshooter/v1.dart +++ b/generated/googleapis/lib/policytroubleshooter/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/privateca/v1.dart b/generated/googleapis/lib/privateca/v1.dart index 2319e4817..e3446ed12 100644 --- a/generated/googleapis/lib/privateca/v1.dart +++ b/generated/googleapis/lib/privateca/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/publicca/v1.dart b/generated/googleapis/lib/publicca/v1.dart index c4bbe0901..1a38c135a 100644 --- a/generated/googleapis/lib/publicca/v1.dart +++ b/generated/googleapis/lib/publicca/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/pubsub/v1.dart b/generated/googleapis/lib/pubsub/v1.dart index 34db3add9..b5b25134e 100644 --- a/generated/googleapis/lib/pubsub/v1.dart +++ b/generated/googleapis/lib/pubsub/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/pubsublite/v1.dart b/generated/googleapis/lib/pubsublite/v1.dart index 912597e27..0d21f5e62 100644 --- a/generated/googleapis/lib/pubsublite/v1.dart +++ b/generated/googleapis/lib/pubsublite/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/rapidmigrationassessment/v1.dart b/generated/googleapis/lib/rapidmigrationassessment/v1.dart index a53c6801b..d038597af 100644 --- a/generated/googleapis/lib/rapidmigrationassessment/v1.dart +++ b/generated/googleapis/lib/rapidmigrationassessment/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/readerrevenuesubscriptionlinking/v1.dart b/generated/googleapis/lib/readerrevenuesubscriptionlinking/v1.dart index 7c31ced22..636b8d7c4 100644 --- a/generated/googleapis/lib/readerrevenuesubscriptionlinking/v1.dart +++ b/generated/googleapis/lib/readerrevenuesubscriptionlinking/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/realtimebidding/v1.dart b/generated/googleapis/lib/realtimebidding/v1.dart index fe524a65c..a398a2545 100644 --- a/generated/googleapis/lib/realtimebidding/v1.dart +++ b/generated/googleapis/lib/realtimebidding/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/recaptchaenterprise/v1.dart b/generated/googleapis/lib/recaptchaenterprise/v1.dart index 2dbd8df1d..4945fd738 100644 --- a/generated/googleapis/lib/recaptchaenterprise/v1.dart +++ b/generated/googleapis/lib/recaptchaenterprise/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -1334,6 +1335,14 @@ class GoogleCloudRecaptchaenterpriseV1Assessment { /// Output only. core.String? name; + /// Assessment returned when a site key, a token, and a phone number as + /// `user_id` are provided. + /// + /// Account defender and SMS toll fraud protection need to be enabled. + /// + /// Output only. + GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment? phoneFraudAssessment; + /// The private password leak verification field contains the parameters that /// are used to to check for leaks privately without sharing user credentials. /// @@ -1359,6 +1368,7 @@ class GoogleCloudRecaptchaenterpriseV1Assessment { this.fraudPreventionAssessment, this.fraudSignals, this.name, + this.phoneFraudAssessment, this.privatePasswordLeakVerification, this.riskAnalysis, this.tokenProperties, @@ -1398,6 +1408,11 @@ class GoogleCloudRecaptchaenterpriseV1Assessment { json_['fraudSignals'] as core.Map) : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, + phoneFraudAssessment: json_.containsKey('phoneFraudAssessment') + ? GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment.fromJson( + json_['phoneFraudAssessment'] + as core.Map) + : null, privatePasswordLeakVerification: json_ .containsKey('privatePasswordLeakVerification') ? GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification @@ -1427,6 +1442,8 @@ class GoogleCloudRecaptchaenterpriseV1Assessment { 'fraudPreventionAssessment': fraudPreventionAssessment!, if (fraudSignals != null) 'fraudSignals': fraudSignals!, if (name != null) 'name': name!, + if (phoneFraudAssessment != null) + 'phoneFraudAssessment': phoneFraudAssessment!, if (privatePasswordLeakVerification != null) 'privatePasswordLeakVerification': privatePasswordLeakVerification!, if (riskAnalysis != null) 'riskAnalysis': riskAnalysis!, @@ -2708,6 +2725,32 @@ class GoogleCloudRecaptchaenterpriseV1MigrateKeyRequest { }; } +/// Assessment for Phone Fraud +class GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment { + /// Assessment of this phone event for risk of SMS toll fraud. + /// + /// Output only. + GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict? smsTollFraudVerdict; + + GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment({ + this.smsTollFraudVerdict, + }); + + GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment.fromJson(core.Map json_) + : this( + smsTollFraudVerdict: json_.containsKey('smsTollFraudVerdict') + ? GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict.fromJson( + json_['smsTollFraudVerdict'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (smsTollFraudVerdict != null) + 'smsTollFraudVerdict': smsTollFraudVerdict!, + }; +} + /// Private password leak verification info. class GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification { /// List of prefixes of the encrypted potential password leaks that matched @@ -3194,6 +3237,43 @@ class GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRespon }; } +/// Information about SMS toll fraud. +class GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict { + /// Reasons contributing to the SMS toll fraud verdict. + /// + /// Output only. + core.List? reasons; + + /// Probability of an SMS event being fraudulent. + /// + /// Values are from 0.0 (lowest) to 1.0 (highest). + /// + /// Output only. + core.double? risk; + + GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict({ + this.reasons, + this.risk, + }); + + GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict.fromJson(core.Map json_) + : this( + reasons: json_.containsKey('reasons') + ? (json_['reasons'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + risk: json_.containsKey('risk') + ? (json_['risk'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (reasons != null) 'reasons': reasons!, + if (risk != null) 'risk': risk!, + }; +} + /// Options for user acceptance testing. class GoogleCloudRecaptchaenterpriseV1TestingOptions { /// For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge diff --git a/generated/googleapis/lib/recommender/v1.dart b/generated/googleapis/lib/recommender/v1.dart index 2d80a0e34..4aa034b37 100644 --- a/generated/googleapis/lib/recommender/v1.dart +++ b/generated/googleapis/lib/recommender/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/redis/v1.dart b/generated/googleapis/lib/redis/v1.dart index 63759bfce..4222a1fd7 100644 --- a/generated/googleapis/lib/redis/v1.dart +++ b/generated/googleapis/lib/redis/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/reseller/v1.dart b/generated/googleapis/lib/reseller/v1.dart index 00b1700d1..463fe6f23 100644 --- a/generated/googleapis/lib/reseller/v1.dart +++ b/generated/googleapis/lib/reseller/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/resourcesettings/v1.dart b/generated/googleapis/lib/resourcesettings/v1.dart index 566e2089f..84618113b 100644 --- a/generated/googleapis/lib/resourcesettings/v1.dart +++ b/generated/googleapis/lib/resourcesettings/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/retail/v2.dart b/generated/googleapis/lib/retail/v2.dart index d1e830bea..11f5882ab 100644 --- a/generated/googleapis/lib/retail/v2.dart +++ b/generated/googleapis/lib/retail/v2.dart @@ -3,6 +3,7 @@ // 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 @@ -10175,6 +10176,7 @@ class GoogleCloudRetailV2UserEvent { /// User event type. /// /// Allowed values are: * `add-to-cart`: Products being added to cart. * + /// `remove-from-cart`: Products being removed from cart. * /// `category-page-view`: Special pages such as sale or promotion pages /// viewed. * `detail-page-view`: Products detail page viewed. * /// `home-page-view`: Homepage viewed. * `promotion-offered`: Promotion is diff --git a/generated/googleapis/lib/run/v1.dart b/generated/googleapis/lib/run/v1.dart index 778b41758..2d69236ed 100644 --- a/generated/googleapis/lib/run/v1.dart +++ b/generated/googleapis/lib/run/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/run/v2.dart b/generated/googleapis/lib/run/v2.dart index 4f125a703..01e955c84 100644 --- a/generated/googleapis/lib/run/v2.dart +++ b/generated/googleapis/lib/run/v2.dart @@ -3,6 +3,7 @@ // 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 @@ -429,6 +430,8 @@ class ProjectsLocationsJobsResource { /// Lists Jobs. /// + /// Results are sorted by creation time, descending. + /// /// Request parameters: /// /// [parent] - Required. The location and project to list resources on. @@ -867,6 +870,8 @@ class ProjectsLocationsJobsExecutionsResource { /// Lists Executions from a Job. /// + /// Results are sorted by creation time, descending. + /// /// Request parameters: /// /// [parent] - Required. The Execution from which the Executions should be @@ -1432,6 +1437,8 @@ class ProjectsLocationsServicesResource { /// Lists Services. /// + /// Results are sorted by creation time, descending. + /// /// Request parameters: /// /// [parent] - Required. The location and project to list resources on. @@ -1785,6 +1792,8 @@ class ProjectsLocationsServicesRevisionsResource { /// Lists Revisions from a given Service, or from a given location. /// + /// Results are sorted by creation time, descending. + /// /// Request parameters: /// /// [parent] - Required. The Service from which the Revisions should be @@ -3445,6 +3454,12 @@ class GoogleCloudRunV2Job { /// Output only. core.bool? reconciling; + /// A unique string used as a suffix for creating a new execution. + /// + /// The Job will become ready when the execution is successfully completed. + /// The sum of job name and token length must be fewer than 63 characters. + core.String? runExecutionToken; + /// Reserved for future use. /// /// Output only. @@ -3500,6 +3515,7 @@ class GoogleCloudRunV2Job { this.name, this.observedGeneration, this.reconciling, + this.runExecutionToken, this.satisfiesPzs, this.startExecutionToken, this.template, @@ -3581,6 +3597,9 @@ class GoogleCloudRunV2Job { reconciling: json_.containsKey('reconciling') ? json_['reconciling'] as core.bool : null, + runExecutionToken: json_.containsKey('runExecutionToken') + ? json_['runExecutionToken'] as core.String + : null, satisfiesPzs: json_.containsKey('satisfiesPzs') ? json_['satisfiesPzs'] as core.bool : null, @@ -3624,6 +3643,7 @@ class GoogleCloudRunV2Job { if (observedGeneration != null) 'observedGeneration': observedGeneration!, if (reconciling != null) 'reconciling': reconciling!, + if (runExecutionToken != null) 'runExecutionToken': runExecutionToken!, if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!, if (startExecutionToken != null) 'startExecutionToken': startExecutionToken!, diff --git a/generated/googleapis/lib/runtimeconfig/v1.dart b/generated/googleapis/lib/runtimeconfig/v1.dart index c66f6cedc..f36506465 100644 --- a/generated/googleapis/lib/runtimeconfig/v1.dart +++ b/generated/googleapis/lib/runtimeconfig/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/safebrowsing/v4.dart b/generated/googleapis/lib/safebrowsing/v4.dart index ced8cfac6..dc146b6f7 100644 --- a/generated/googleapis/lib/safebrowsing/v4.dart +++ b/generated/googleapis/lib/safebrowsing/v4.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/safebrowsing/v5.dart b/generated/googleapis/lib/safebrowsing/v5.dart index 2a8265122..89112d0eb 100644 --- a/generated/googleapis/lib/safebrowsing/v5.dart +++ b/generated/googleapis/lib/safebrowsing/v5.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/script/v1.dart b/generated/googleapis/lib/script/v1.dart index 770cad5ea..079bf0ee2 100644 --- a/generated/googleapis/lib/script/v1.dart +++ b/generated/googleapis/lib/script/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/searchconsole/v1.dart b/generated/googleapis/lib/searchconsole/v1.dart index 1abb69779..01cbde4f2 100644 --- a/generated/googleapis/lib/searchconsole/v1.dart +++ b/generated/googleapis/lib/searchconsole/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/secretmanager/v1.dart b/generated/googleapis/lib/secretmanager/v1.dart index 530b8ee7a..189ffd4a1 100644 --- a/generated/googleapis/lib/secretmanager/v1.dart +++ b/generated/googleapis/lib/secretmanager/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/securitycenter/v1.dart b/generated/googleapis/lib/securitycenter/v1.dart index 689c5001a..19bc8b941 100644 --- a/generated/googleapis/lib/securitycenter/v1.dart +++ b/generated/googleapis/lib/securitycenter/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -1189,6 +1190,56 @@ class FoldersLocationsMuteConfigsResource { FoldersLocationsMuteConfigsResource(commons.ApiRequester client) : _requester = client; + /// Creates a mute config. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Resource name of the new mute configs's parent. Its + /// format is "organizations/\[organization_id\]", "folders/\[folder_id\]", or + /// "projects/\[project_id\]". + /// Value must have pattern `^folders/\[^/\]+/locations/\[^/\]+$`. + /// + /// [muteConfigId] - Required. Unique identifier provided by the client within + /// the parent scope. It must consist of only lowercase letters, numbers, and + /// hyphens, must start with a letter, must end with either a letter or a + /// number, and must be 63 characters or less. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudSecuritycenterV1MuteConfig]. + /// + /// 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( + GoogleCloudSecuritycenterV1MuteConfig request, + core.String parent, { + core.String? muteConfigId, + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if (muteConfigId != null) 'muteConfigId': [muteConfigId], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/muteConfigs'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleCloudSecuritycenterV1MuteConfig.fromJson( + response_ as core.Map); + } + /// Deletes an existing mute config. /// /// Request parameters: @@ -1274,6 +1325,58 @@ class FoldersLocationsMuteConfigsResource { response_ as core.Map); } + /// Lists mute configs. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent, which owns the collection of mute + /// configs. Its format is "organizations/\[organization_id\]", + /// "folders/\[folder_id\]", "projects/\[project_id\]". + /// Value must have pattern `^folders/\[^/\]+/locations/\[^/\]+/muteConfigs$`. + /// + /// [pageSize] - The maximum number of configs to return. The service may + /// return fewer than this value. If unspecified, at most 10 configs will be + /// returned. The maximum value is 1000; values above 1000 will be coerced to + /// 1000. + /// + /// [pageToken] - A page token, received from a previous `ListMuteConfigs` + /// call. Provide this to retrieve the subsequent page. When paginating, all + /// other parameters provided to `ListMuteConfigs` must match the call that + /// provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListMuteConfigsResponse]. + /// + /// 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'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListMuteConfigsResponse.fromJson( + response_ as core.Map); + } + /// Updates a mute config. /// /// [request] - The metadata request object. @@ -4054,6 +4157,56 @@ class OrganizationsLocationsMuteConfigsResource { OrganizationsLocationsMuteConfigsResource(commons.ApiRequester client) : _requester = client; + /// Creates a mute config. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Resource name of the new mute configs's parent. Its + /// format is "organizations/\[organization_id\]", "folders/\[folder_id\]", or + /// "projects/\[project_id\]". + /// Value must have pattern `^organizations/\[^/\]+/locations/\[^/\]+$`. + /// + /// [muteConfigId] - Required. Unique identifier provided by the client within + /// the parent scope. It must consist of only lowercase letters, numbers, and + /// hyphens, must start with a letter, must end with either a letter or a + /// number, and must be 63 characters or less. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudSecuritycenterV1MuteConfig]. + /// + /// 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( + GoogleCloudSecuritycenterV1MuteConfig request, + core.String parent, { + core.String? muteConfigId, + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if (muteConfigId != null) 'muteConfigId': [muteConfigId], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/muteConfigs'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleCloudSecuritycenterV1MuteConfig.fromJson( + response_ as core.Map); + } + /// Deletes an existing mute config. /// /// Request parameters: @@ -4139,6 +4292,59 @@ class OrganizationsLocationsMuteConfigsResource { response_ as core.Map); } + /// Lists mute configs. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent, which owns the collection of mute + /// configs. Its format is "organizations/\[organization_id\]", + /// "folders/\[folder_id\]", "projects/\[project_id\]". + /// Value must have pattern + /// `^organizations/\[^/\]+/locations/\[^/\]+/muteConfigs$`. + /// + /// [pageSize] - The maximum number of configs to return. The service may + /// return fewer than this value. If unspecified, at most 10 configs will be + /// returned. The maximum value is 1000; values above 1000 will be coerced to + /// 1000. + /// + /// [pageToken] - A page token, received from a previous `ListMuteConfigs` + /// call. Provide this to retrieve the subsequent page. When paginating, all + /// other parameters provided to `ListMuteConfigs` must match the call that + /// provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListMuteConfigsResponse]. + /// + /// 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'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListMuteConfigsResponse.fromJson( + response_ as core.Map); + } + /// Updates a mute config. /// /// [request] - The metadata request object. @@ -5044,7 +5250,7 @@ class OrganizationsResourceValueConfigsResource { /// /// Request parameters: /// - /// [name] - Name for the resource value config + /// [name] - Name for the resource value configuration /// Value must have pattern /// `^organizations/\[^/\]+/resourceValueConfigs/\[^/\]+$`. /// @@ -7939,6 +8145,56 @@ class ProjectsLocationsMuteConfigsResource { ProjectsLocationsMuteConfigsResource(commons.ApiRequester client) : _requester = client; + /// Creates a mute config. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Resource name of the new mute configs's parent. Its + /// format is "organizations/\[organization_id\]", "folders/\[folder_id\]", or + /// "projects/\[project_id\]". + /// Value must have pattern `^projects/\[^/\]+/locations/\[^/\]+$`. + /// + /// [muteConfigId] - Required. Unique identifier provided by the client within + /// the parent scope. It must consist of only lowercase letters, numbers, and + /// hyphens, must start with a letter, must end with either a letter or a + /// number, and must be 63 characters or less. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleCloudSecuritycenterV1MuteConfig]. + /// + /// 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( + GoogleCloudSecuritycenterV1MuteConfig request, + core.String parent, { + core.String? muteConfigId, + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if (muteConfigId != null) 'muteConfigId': [muteConfigId], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1/' + core.Uri.encodeFull('$parent') + '/muteConfigs'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleCloudSecuritycenterV1MuteConfig.fromJson( + response_ as core.Map); + } + /// Deletes an existing mute config. /// /// Request parameters: @@ -8024,6 +8280,59 @@ class ProjectsLocationsMuteConfigsResource { response_ as core.Map); } + /// Lists mute configs. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent, which owns the collection of mute + /// configs. Its format is "organizations/\[organization_id\]", + /// "folders/\[folder_id\]", "projects/\[project_id\]". + /// Value must have pattern + /// `^projects/\[^/\]+/locations/\[^/\]+/muteConfigs$`. + /// + /// [pageSize] - The maximum number of configs to return. The service may + /// return fewer than this value. If unspecified, at most 10 configs will be + /// returned. The maximum value is 1000; values above 1000 will be coerced to + /// 1000. + /// + /// [pageToken] - A page token, received from a previous `ListMuteConfigs` + /// call. Provide this to retrieve the subsequent page. When paginating, all + /// other parameters provided to `ListMuteConfigs` must match the call that + /// provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [ListMuteConfigsResponse]. + /// + /// 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'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return ListMuteConfigsResponse.fromJson( + response_ as core.Map); + } + /// Updates a mute config. /// /// [request] - The metadata request object. @@ -13600,8 +13909,8 @@ class GoogleCloudSecuritycenterV1ResourceSelector { }; } -/// A resource value config (RVC) is a mapping configuration of user's resources -/// to resource values. +/// A resource value configuration (RVC) is a mapping configuration of user's +/// resources to resource values. /// /// Used in Attack path simulations. class GoogleCloudSecuritycenterV1ResourceValueConfig { @@ -13613,27 +13922,27 @@ class GoogleCloudSecuritycenterV1ResourceValueConfig { /// - "MICROSOFT_AZURE" : The cloud provider is Microsoft Azure. core.String? cloudProvider; - /// Timestamp this resource value config was created. + /// Timestamp this resource value configuration was created. /// /// Output only. core.String? createTime; - /// Description of the resource value config. + /// Description of the resource value configuration. core.String? description; - /// Name for the resource value config + /// Name for the resource value configuration core.String? name; /// List of resource labels to search for, evaluated with AND. /// - /// E.g. "resource_labels_selector": {"key": "value", "env": "prod"} will - /// match resources with labels "key": "value" AND "env": "prod" + /// For example, "resource_labels_selector": {"key": "value", "env": "prod"} + /// will match resources with labels "key": "value" AND "env": "prod" /// https://cloud.google.com/resource-manager/docs/creating-managing-labels core.Map? resourceLabelsSelector; /// Apply resource_value only to resources that match resource_type. /// - /// resource_type will be checked with "AND" of other resources. E.g. + /// resource_type will be checked with AND of other resources. For example, /// "storage.googleapis.com/Bucket" with resource_value "HIGH" will apply /// "HIGH" value only to "storage.googleapis.com/Bucket" resources. core.String? resourceType; @@ -13649,10 +13958,11 @@ class GoogleCloudSecuritycenterV1ResourceValueConfig { /// - "NONE" : No resource value, e.g. ignore these resources core.String? resourceValue; - /// Project or folder to scope this config to. + /// Project or folder to scope this configuration to. /// - /// For example, "project/456" would apply this config only to resources in - /// "project/456" scope will be checked with "AND" of other resources. + /// For example, "project/456" would apply this configuration only to + /// resources in "project/456" scope will be checked with AND of other + /// resources. core.String? scope; /// A mapping of the sensitivity on Sensitive Data Protection finding to @@ -13665,14 +13975,14 @@ class GoogleCloudSecuritycenterV1ResourceValueConfig { /// Tag values combined with AND to check against. /// - /// Values in the form "tagValues/123" E.g. \[ "tagValues/123", + /// Values in the form "tagValues/123" Example: \[ "tagValues/123", /// "tagValues/456", "tagValues/789" \] /// https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing /// /// Required. core.List? tagValues; - /// Timestamp this resource value config was last updated. + /// Timestamp this resource value configuration was last updated. /// /// Output only. core.String? updateTime; diff --git a/generated/googleapis/lib/serviceconsumermanagement/v1.dart b/generated/googleapis/lib/serviceconsumermanagement/v1.dart index 4875080a1..27b2f63a5 100644 --- a/generated/googleapis/lib/serviceconsumermanagement/v1.dart +++ b/generated/googleapis/lib/serviceconsumermanagement/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/servicecontrol/v1.dart b/generated/googleapis/lib/servicecontrol/v1.dart index 822b1721b..8842a3716 100644 --- a/generated/googleapis/lib/servicecontrol/v1.dart +++ b/generated/googleapis/lib/servicecontrol/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/servicecontrol/v2.dart b/generated/googleapis/lib/servicecontrol/v2.dart index 2cca7dcc7..e7b88ff3b 100644 --- a/generated/googleapis/lib/servicecontrol/v2.dart +++ b/generated/googleapis/lib/servicecontrol/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/servicedirectory/v1.dart b/generated/googleapis/lib/servicedirectory/v1.dart index 31009165a..8230b490c 100644 --- a/generated/googleapis/lib/servicedirectory/v1.dart +++ b/generated/googleapis/lib/servicedirectory/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/servicemanagement/v1.dart b/generated/googleapis/lib/servicemanagement/v1.dart index 8ff1366f6..5492060c5 100644 --- a/generated/googleapis/lib/servicemanagement/v1.dart +++ b/generated/googleapis/lib/servicemanagement/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/servicenetworking/v1.dart b/generated/googleapis/lib/servicenetworking/v1.dart index 76c0dba74..f5baef089 100644 --- a/generated/googleapis/lib/servicenetworking/v1.dart +++ b/generated/googleapis/lib/servicenetworking/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -2773,7 +2774,8 @@ class PolicyBinding { /// applied on the shared VPC host project - 'roles/compute.networkAdmin' /// applied on the shared VPC host project - 'roles/compute.xpnAdmin' applied /// on the shared VPC host project - 'roles/dns.admin' applied on the shared - /// VPC host project + /// VPC host project - 'roles/logging.admin' applied on the shared VPC host + /// project /// /// Required. core.String? role; diff --git a/generated/googleapis/lib/serviceusage/v1.dart b/generated/googleapis/lib/serviceusage/v1.dart index 3bd2c1e81..203706e5f 100644 --- a/generated/googleapis/lib/serviceusage/v1.dart +++ b/generated/googleapis/lib/serviceusage/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/shared.dart b/generated/googleapis/lib/shared.dart index 83066d2bf..686693930 100644 --- a/generated/googleapis/lib/shared.dart +++ b/generated/googleapis/lib/shared.dart @@ -8,6 +8,7 @@ library; // 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 @@ -6568,14 +6569,13 @@ class $EgressSource { /// - aiplatform:v1 : GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateRequest /// - aiplatform:v1 : GoogleCloudAiplatformV1FeatureOnlineStoreOptimized /// - aiplatform:v1 : GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig +/// - aiplatform:v1 : GoogleCloudAiplatformV1GoogleSearchRetrieval /// - aiplatform:v1 : GoogleCloudAiplatformV1ListOptimalTrialsRequest /// - aiplatform:v1 : GoogleCloudAiplatformV1PauseModelDeploymentMonitoringJobRequest /// - aiplatform:v1 : GoogleCloudAiplatformV1PauseScheduleRequest -/// - aiplatform:v1 : GoogleCloudAiplatformV1RaySpec /// - aiplatform:v1 : GoogleCloudAiplatformV1RebootPersistentResourceRequest /// - aiplatform:v1 : GoogleCloudAiplatformV1RemoveContextChildrenResponse /// - aiplatform:v1 : GoogleCloudAiplatformV1RemoveDatapointsResponse -/// - aiplatform:v1 : GoogleCloudAiplatformV1ResourceRuntime /// - aiplatform:v1 : GoogleCloudAiplatformV1ResumeModelDeploymentMonitoringJobRequest /// - aiplatform:v1 : GoogleCloudAiplatformV1StartNotebookRuntimeRequest /// - aiplatform:v1 : GoogleCloudAiplatformV1StopTrialRequest @@ -6607,6 +6607,7 @@ class $EgressSource { /// - androidpublisher:v3 : MigrateBasePlanPricesResponse /// - androidpublisher:v3 : OtherRecurringProduct /// - androidpublisher:v3 : OtherRegionsSubscriptionOfferPhaseFreePriceOverride +/// - androidpublisher:v3 : PendingCancellation /// - androidpublisher:v3 : RegionalSubscriptionOfferPhaseFreePriceOverride /// - androidpublisher:v3 : ReplacementCancellation /// - androidpublisher:v3 : RevocationContextProratedRefund @@ -6791,6 +6792,7 @@ class $EgressSource { /// - config:v1 : ExportRevisionStatefileRequest /// - config:v1 : LockDeploymentRequest /// - connectors:v1 : CancelOperationRequest +/// - connectors:v1 : DeprecateCustomConnectorVersionRequest /// - connectors:v1 : Empty /// - connectors:v1 : ListenEventResponse /// - connectors:v1 : RefreshConnectionSchemaMetadataRequest @@ -6881,6 +6883,10 @@ class $EgressSource { /// - datastream:v1 : StaticServiceIpConnectivity /// - datastream:v1 : StopBackfillJobRequest /// - datastream:v1 : StreamLargeObjects +/// - developerconnect:v1 : CancelOperationRequest +/// - developerconnect:v1 : Empty +/// - developerconnect:v1 : FetchReadTokenRequest +/// - developerconnect:v1 : FetchReadWriteTokenRequest /// - dialogflow:v2 : GoogleCloudDialogflowV2CompleteConversationRequest /// - dialogflow:v2 : GoogleCloudDialogflowV2DeployConversationModelRequest /// - dialogflow:v2 : GoogleCloudDialogflowV2TrainAgentRequest @@ -6915,6 +6921,7 @@ class $EgressSource { /// - dlp:v2 : GooglePrivacyDlpV2PublishToStackdriver /// - dlp:v2 : GooglePrivacyDlpV2RedactConfig /// - dlp:v2 : GooglePrivacyDlpV2ReplaceWithInfoTypeConfig +/// - dlp:v2 : GooglePrivacyDlpV2SecretsDiscoveryTarget /// - dlp:v2 : GooglePrivacyDlpV2SurrogateType /// - dlp:v2 : GooglePrivacyDlpV2ThrowError /// - dlp:v2 : GoogleProtobufEmpty @@ -6965,7 +6972,6 @@ class $EgressSource { /// - firebaseml:v1 : Empty /// - firebaserules:v1 : Empty /// - firestore:v1 : Empty -/// - firestore:v1 : GoogleFirestoreAdminV1DailyRecurrence /// - firestore:v1 : GoogleFirestoreAdminV1FlatIndex /// - firestore:v1 : GoogleLongrunningCancelOperationRequest /// - forms:v1 : Empty @@ -7168,6 +7174,7 @@ class $EgressSource { /// - sheets:v4 : ClearValuesRequest /// - sourcerepo:v1 : Empty /// - sourcerepo:v1 : SyncRepoRequest +/// - spanner:v1 : DualRegionQuorum /// - spanner:v1 : Empty /// - spanner:v1 : PartitionedDml /// - speech:v1 : Empty @@ -8853,6 +8860,40 @@ class $FcmOptions { }; } +/// Used by: +/// +/// - cloudbuild:v2 : FetchGitRefsResponse +/// - developerconnect:v1 : FetchGitRefsResponse +class $FetchGitRefsResponse { + /// A token identifying a page of results the server should return. + core.String? nextPageToken; + + /// Name of the refs fetched. + core.List? refNames; + + $FetchGitRefsResponse({ + this.nextPageToken, + this.refNames, + }); + + $FetchGitRefsResponse.fromJson(core.Map json_) + : this( + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + refNames: json_.containsKey('refNames') + ? (json_['refNames'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (refNames != null) 'refNames': refNames!, + }; +} + /// Used by: /// /// - containeranalysis:v1 : GrafeasV1FileLocation @@ -10467,6 +10508,119 @@ class $GoogleCloudDocumentaiV1Vertex { }; } +/// Used by: +/// +/// - orgpolicy:v2 : GoogleCloudOrgpolicyV2CustomConstraint +/// - policysimulator:v1 : GoogleCloudOrgpolicyV2CustomConstraint +class $GoogleCloudOrgpolicyV2CustomConstraint { + /// Allow or deny type. + /// Possible string values are: + /// - "ACTION_TYPE_UNSPECIFIED" : Unspecified. Results in an error. + /// - "ALLOW" : Allowed action type. + /// - "DENY" : Deny action type. + core.String? actionType; + + /// Org policy condition/expression. + /// + /// For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")` + /// or, `resource.management.auto_upgrade == true` The max length of the + /// condition is 1000 characters. + core.String? condition; + + /// Detailed information about this custom policy constraint. + /// + /// The max length of the description is 2000 characters. + core.String? description; + + /// One line display name for the UI. + /// + /// The max length of the display_name is 200 characters. + core.String? displayName; + + /// All the operations being applied for this constraint. + core.List? methodTypes; + + /// Name of the constraint. + /// + /// This is unique within the organization. Format of the name should be * + /// `organizations/{organization_id}/customConstraints/{custom_constraint_id}` + /// Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms` + /// The max length is 70 characters and the minimum length is 1. Note that the + /// prefix `organizations/{organization_id}/customConstraints/` is not + /// counted. + /// + /// Immutable. + core.String? name; + + /// The resource instance type on which this policy applies. + /// + /// Format will be of the form : `/` Example: * + /// `compute.googleapis.com/Instance`. + /// + /// Immutable. + core.List? resourceTypes; + + /// The last time this custom constraint was updated. + /// + /// This represents the last time that the `CreateCustomConstraint` or + /// `UpdateCustomConstraint` RPC was called + /// + /// Output only. + core.String? updateTime; + + $GoogleCloudOrgpolicyV2CustomConstraint({ + this.actionType, + this.condition, + this.description, + this.displayName, + this.methodTypes, + this.name, + this.resourceTypes, + this.updateTime, + }); + + $GoogleCloudOrgpolicyV2CustomConstraint.fromJson(core.Map json_) + : this( + actionType: json_.containsKey('actionType') + ? json_['actionType'] 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, + methodTypes: json_.containsKey('methodTypes') + ? (json_['methodTypes'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + resourceTypes: json_.containsKey('resourceTypes') + ? (json_['resourceTypes'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (actionType != null) 'actionType': actionType!, + if (condition != null) 'condition': condition!, + if (description != null) 'description': description!, + if (displayName != null) 'displayName': displayName!, + if (methodTypes != null) 'methodTypes': methodTypes!, + if (name != null) 'name': name!, + if (resourceTypes != null) 'resourceTypes': resourceTypes!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + /// Used by: /// /// - paymentsresellersubscription:v1 : GoogleTypeLocalizedText @@ -11181,6 +11335,65 @@ class $InlineScopedRouteConfigs { }; } +/// Used by: +/// +/// - cloudbuild:v2 : InstallationState +/// - developerconnect:v1 : InstallationState +class $InstallationState { + /// Link to follow for next action. + /// + /// Empty string if the installation is already complete. + /// + /// Output only. + core.String? actionUri; + + /// Message of what the user should do next to continue the installation. + /// + /// Empty string if the installation is already complete. + /// + /// Output only. + core.String? message; + + /// Current step of the installation process. + /// + /// Output only. + /// Possible string values are: + /// - "STAGE_UNSPECIFIED" : No stage specified. + /// - "PENDING_CREATE_APP" : Only for GitHub Enterprise. An App creation has + /// been requested. The user needs to confirm the creation in their GitHub + /// enterprise host. + /// - "PENDING_USER_OAUTH" : User needs to authorize the GitHub (or + /// Enterprise) App via OAuth. + /// - "PENDING_INSTALL_APP" : User needs to follow the link to install the + /// GitHub (or Enterprise) App. + /// - "COMPLETE" : Installation process has been completed. + core.String? stage; + + $InstallationState({ + this.actionUri, + this.message, + this.stage, + }); + + $InstallationState.fromJson(core.Map json_) + : this( + actionUri: json_.containsKey('actionUri') + ? json_['actionUri'] as core.String + : null, + message: json_.containsKey('message') + ? json_['message'] as core.String + : null, + stage: + json_.containsKey('stage') ? json_['stage'] as core.String : null, + ); + + core.Map toJson() => { + if (actionUri != null) 'actionUri': actionUri!, + if (message != null) 'message': message!, + if (stage != null) 'stage': stage!, + }; +} + /// Used by: /// /// - compute:v1 : InstanceGroupManagersAbandonInstancesRequest @@ -13005,6 +13218,7 @@ class $LocalizedMessage { /// - datafusion:v1 : Location /// - datamigration:v1 : Location /// - datastream:v1 : Location +/// - developerconnect:v1 : Location /// - dialogflow:v2 : GoogleCloudLocationLocation /// - dialogflow:v3 : GoogleCloudLocationLocation /// - documentai:v1 : GoogleCloudLocationLocation @@ -13323,6 +13537,44 @@ class $LockConfig { }; } +/// Used by: +/// +/// - connectors:v1 : ConnectorsLogConfig +/// - integrations:v1 : GoogleCloudConnectorsV1LogConfig +class $LogConfig { + /// Enabled represents whether logging is enabled or not for a connection. + core.bool? enabled; + + /// Log configuration level. + /// + /// Optional. + /// Possible string values are: + /// - "LOG_LEVEL_UNSPECIFIED" : Log level unspecified. + /// - "ERROR" : Only error logs are enabled. + /// - "INFO" : Info and error logs are enabled. + /// - "DEBUG" : Debug and high verbosity logs are enabled. + core.String? level; + + $LogConfig({ + this.enabled, + this.level, + }); + + $LogConfig.fromJson(core.Map json_) + : this( + enabled: json_.containsKey('enabled') + ? json_['enabled'] as core.bool + : null, + level: + json_.containsKey('level') ? json_['level'] as core.String : null, + ); + + core.Map toJson() => { + if (enabled != null) 'enabled': enabled!, + if (level != null) 'level': level!, + }; +} + /// Used by: /// /// - displayvideo:v2 : LookbackWindow @@ -14066,6 +14318,48 @@ class $ModelCallSignals { }; } +/// Used by: +/// +/// - aiplatform:v1 : GoogleCloudAiplatformV1ModelSourceInfo +/// - datacatalog:v1 : GoogleCloudDatacatalogV1VertexModelSourceInfo +class $ModelSourceInfo { + /// If this Model is copy of another Model. + /// + /// If true then source_type pertains to the original. + core.bool? copy; + + /// Type of the model source. + /// Possible string values are: + /// - "MODEL_SOURCE_TYPE_UNSPECIFIED" : Should not be used. + /// - "AUTOML" : The Model is uploaded by automl training pipeline. + /// - "CUSTOM" : The Model is uploaded by user or custom training pipeline. + /// - "BQML" : The Model is registered and sync'ed from BigQuery ML. + /// - "MODEL_GARDEN" : The Model is saved or tuned from Model Garden. + /// - "GENIE" : The Model is saved or tuned from Genie. + /// - "CUSTOM_TEXT_EMBEDDING" : The Model is uploaded by text embedding + /// finetuning pipeline. + /// - "MARKETPLACE" : The Model is saved or tuned from Marketplace. + core.String? sourceType; + + $ModelSourceInfo({ + this.copy, + this.sourceType, + }); + + $ModelSourceInfo.fromJson(core.Map json_) + : this( + copy: json_.containsKey('copy') ? json_['copy'] as core.bool : null, + sourceType: json_.containsKey('sourceType') + ? json_['sourceType'] as core.String + : null, + ); + + core.Map toJson() => { + if (copy != null) 'copy': copy!, + if (sourceType != null) 'sourceType': sourceType!, + }; +} + /// Used by: /// /// - aiplatform:v1 : GoogleTypeMoney @@ -14710,33 +15004,6 @@ class $OmidTargetingOptionDetails { }; } -/// Used by: -/// -/// - cloudfunctions:v1 : OnDeployUpdatePolicy -/// - cloudfunctions:v2 : OnDeployUpdatePolicy -class $OnDeployUpdatePolicy { - /// contains the runtime version which was used during latest function - /// deployment. - /// - /// Output only. - core.String? runtimeVersion; - - $OnDeployUpdatePolicy({ - this.runtimeVersion, - }); - - $OnDeployUpdatePolicy.fromJson(core.Map json_) - : this( - runtimeVersion: json_.containsKey('runtimeVersion') - ? json_['runtimeVersion'] as core.String - : null, - ); - - core.Map toJson() => { - if (runtimeVersion != null) 'runtimeVersion': runtimeVersion!, - }; -} - /// Used by: /// /// - displayvideo:v2 : OnScreenPositionAssignedTargetingOptionDetails @@ -18430,6 +18697,9 @@ class $SdfConfig { /// - "SDF_VERSION_7" : SDF version 7. Read the \[v7 migration /// guide\](/display-video/api/structured-data-file/v7-migration-guide) before /// migrating to this version. + /// - "SDF_VERSION_7_1" : SDF version 7.1. Read the \[v7 migration + /// guide\](/display-video/api/structured-data-file/v7-migration-guide) before + /// migrating to this version. core.String? version; $SdfConfig({ @@ -18506,6 +18776,50 @@ class $SecretVersionRequest { }; } +/// Used by: +/// +/// - container:v1 : SecurityPostureConfig +/// - gkehub:v1 : SecurityPostureConfig +class $SecurityPostureConfig { + /// Sets which mode to use for Security Posture features. + /// Possible string values are: + /// - "MODE_UNSPECIFIED" : Default value not specified. + /// - "DISABLED" : Disables Security Posture features on the cluster. + /// - "BASIC" : Applies Security Posture features on the cluster. + /// - "ENTERPRISE" : Applies the Security Posture off cluster Enterprise level + /// features. + core.String? mode; + + /// Sets which mode to use for vulnerability scanning. + /// Possible string values are: + /// - "VULNERABILITY_MODE_UNSPECIFIED" : Default value not specified. + /// - "VULNERABILITY_DISABLED" : Disables vulnerability scanning on the + /// cluster. + /// - "VULNERABILITY_BASIC" : Applies basic vulnerability scanning on the + /// cluster. + /// - "VULNERABILITY_ENTERPRISE" : Applies the Security Posture's + /// vulnerability on cluster Enterprise level features. + core.String? vulnerabilityMode; + + $SecurityPostureConfig({ + this.mode, + this.vulnerabilityMode, + }); + + $SecurityPostureConfig.fromJson(core.Map json_) + : this( + mode: json_.containsKey('mode') ? json_['mode'] as core.String : null, + vulnerabilityMode: json_.containsKey('vulnerabilityMode') + ? json_['vulnerabilityMode'] as core.String + : null, + ); + + core.Map toJson() => { + if (mode != null) 'mode': mode!, + if (vulnerabilityMode != null) 'vulnerabilityMode': vulnerabilityMode!, + }; +} + /// Used by: /// /// - trafficdirector:v2 : SemanticVersion @@ -19845,6 +20159,7 @@ class $StaticRouteConfig { /// - datastore:v1 : Status /// - datastream:v1 : Status /// - deploymentmanager:v2 : Status +/// - developerconnect:v1 : Status /// - dialogflow:v2 : GoogleRpcStatus /// - dialogflow:v3 : GoogleRpcStatus /// - displayvideo:v2 : Status @@ -20628,6 +20943,7 @@ class $ThirdPartyVendorConfig { /// - businessprofileperformance:v1 : TimeOfDay /// - classroom:v1 : TimeOfDay /// - dlp:v2 : GoogleTypeTimeOfDay +/// - firestore:v1 : TimeOfDay /// - gkebackup:v1 : TimeOfDay /// - jobs:v3 : TimeOfDay /// - jobs:v4 : TimeOfDay @@ -20833,31 +21149,74 @@ class $TokenPagination { /// /// - cloudbuild:v2 : FetchReadTokenResponse /// - cloudbuild:v2 : FetchReadWriteTokenResponse -class $TokenResponse { +class $TokenResponse00 { + /// Expiration timestamp. + /// + /// Can be empty if unknown or non-expiring. + core.String? expirationTime; + + /// The token content. + core.String? token; + + $TokenResponse00({ + this.expirationTime, + this.token, + }); + + $TokenResponse00.fromJson(core.Map json_) + : this( + expirationTime: json_.containsKey('expirationTime') + ? json_['expirationTime'] as core.String + : null, + token: + json_.containsKey('token') ? json_['token'] as core.String : null, + ); + + core.Map toJson() => { + if (expirationTime != null) 'expirationTime': expirationTime!, + if (token != null) 'token': token!, + }; +} + +/// Used by: +/// +/// - developerconnect:v1 : FetchReadTokenResponse +/// - developerconnect:v1 : FetchReadWriteTokenResponse +class $TokenResponse01 { /// Expiration timestamp. /// /// Can be empty if unknown or non-expiring. core.String? expirationTime; + /// The git_username to specify when making a git clone with the token. + /// + /// For example, for GitHub GitRepositoryLinks, this would be "x-access-token" + core.String? gitUsername; + /// The token content. core.String? token; - $TokenResponse({ + $TokenResponse01({ this.expirationTime, + this.gitUsername, this.token, }); - $TokenResponse.fromJson(core.Map json_) + $TokenResponse01.fromJson(core.Map json_) : this( expirationTime: json_.containsKey('expirationTime') ? json_['expirationTime'] as core.String : null, + gitUsername: json_.containsKey('gitUsername') + ? json_['gitUsername'] as core.String + : null, token: json_.containsKey('token') ? json_['token'] as core.String : null, ); core.Map toJson() => { if (expirationTime != null) 'expirationTime': expirationTime!, + if (gitUsername != null) 'gitUsername': gitUsername!, if (token != null) 'token': token!, }; } diff --git a/generated/googleapis/lib/sheets/v4.dart b/generated/googleapis/lib/sheets/v4.dart index 7a770ae0b..d34e8bae4 100644 --- a/generated/googleapis/lib/sheets/v4.dart +++ b/generated/googleapis/lib/sheets/v4.dart @@ -3,6 +3,7 @@ // 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 @@ -10620,8 +10621,8 @@ class RandomizeRangeRequest { /// The status of a refresh cancellation. /// -/// You can send cancel request to explicitly cancel one or multiple data source -/// object refreshes. +/// You can send a cancel request to explicitly cancel one or multiple data +/// source object refreshes. class RefreshCancellationStatus { /// The error code. /// Possible string values are: diff --git a/generated/googleapis/lib/siteverification/v1.dart b/generated/googleapis/lib/siteverification/v1.dart index ab2eaaad2..04ccc3718 100644 --- a/generated/googleapis/lib/siteverification/v1.dart +++ b/generated/googleapis/lib/siteverification/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/slides/v1.dart b/generated/googleapis/lib/slides/v1.dart index 475f2e391..25940a18e 100644 --- a/generated/googleapis/lib/slides/v1.dart +++ b/generated/googleapis/lib/slides/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/smartdevicemanagement/v1.dart b/generated/googleapis/lib/smartdevicemanagement/v1.dart index 839e328d0..e25a82cc6 100644 --- a/generated/googleapis/lib/smartdevicemanagement/v1.dart +++ b/generated/googleapis/lib/smartdevicemanagement/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/solar/v1.dart b/generated/googleapis/lib/solar/v1.dart index 1dc4eac9c..56e392fc7 100644 --- a/generated/googleapis/lib/solar/v1.dart +++ b/generated/googleapis/lib/solar/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/sourcerepo/v1.dart b/generated/googleapis/lib/sourcerepo/v1.dart index f2dd26174..3d4a02a44 100644 --- a/generated/googleapis/lib/sourcerepo/v1.dart +++ b/generated/googleapis/lib/sourcerepo/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -12,10 +13,15 @@ /// Cloud Source Repositories API - v1 /// -/// Accesses source code repositories hosted by Google. +/// 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. /// /// For more information, see -/// +/// /// /// Create an instance of [CloudSourceRepositoriesApi] to access these /// resources: @@ -38,6 +44,13 @@ export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show ApiRequestError, DetailedApiRequestError; /// 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. class CloudSourceRepositoriesApi { /// See, edit, configure, and delete your Google Cloud data and see the email /// address for your Google Account. diff --git a/generated/googleapis/lib/spanner/v1.dart b/generated/googleapis/lib/spanner/v1.dart index a57f1224a..a4f3ce6b5 100644 --- a/generated/googleapis/lib/spanner/v1.dart +++ b/generated/googleapis/lib/spanner/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -2252,6 +2253,57 @@ class ProjectsInstancesDatabasesResource { ProjectsInstancesDatabasesResource(commons.ApiRequester client) : _requester = client; + /// ChangeQuorum is strictly restricted to databases that use dual region + /// instance configurations. + /// + /// Initiates a background operation to change quorum a database from + /// dual-region mode to single-region mode and vice versa. The returned + /// long-running operation will have a name of the format + /// `projects//instances//databases//operations/` and can be used to track + /// execution of the ChangeQuorum. The metadata field type is + /// ChangeQuorumMetadata. Authorization requires + /// `spanner.databases.changequorum` permission on the resource database. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. Name of the database in which to apply the + /// ChangeQuorum. Values are of the form `projects//instances//databases/`. + /// Value must have pattern + /// `^projects/\[^/\]+/instances/\[^/\]+/databases/\[^/\]+$`. + /// + /// [$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 changequorum( + ChangeQuorumRequest 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') + ':changequorum'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return Operation.fromJson(response_ as core.Map); + } + /// Creates a new Cloud Spanner database and starts to prepare it for serving. /// /// The returned long-running operation will have a name of the format @@ -4199,7 +4251,9 @@ class ProjectsInstancesInstancePartitionsResource { /// Request parameters: /// /// [parent] - Required. The instance whose instance partitions should be - /// listed. Values are of the form `projects//instances/`. + /// listed. Values are of the form `projects//instances/`. Use `{instance} = + /// '-'` to list instance partitions for all Instances in a project, e.g., + /// `projects/myproject/instances/-`. /// Value must have pattern `^projects/\[^/\]+/instances/\[^/\]+$`. /// /// [instancePartitionDeadline] - Optional. Deadline used while retrieving @@ -5460,6 +5514,54 @@ class Binding { }; } +/// The request for ChangeQuorum. +class ChangeQuorumRequest { + /// The etag is the hash of the QuorumInfo. + /// + /// The ChangeQuorum operation will only be performed if the etag matches that + /// of the QuorumInfo in the current database resource. Otherwise the API will + /// return an `ABORTED` error. The etag is used for optimistic concurrency + /// control as a way to help prevent simultaneous change quorum requests that + /// could create a race condition. + /// + /// Optional. + core.String? etag; + + /// Name of the database in which to apply the ChangeQuorum. + /// + /// Values are of the form `projects//instances//databases/`. + /// + /// Required. + core.String? name; + + /// The type of this Quorum. + /// + /// Required. + QuorumType? quorumType; + + ChangeQuorumRequest({ + this.etag, + this.name, + this.quorumType, + }); + + ChangeQuorumRequest.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, + quorumType: json_.containsKey('quorumType') + ? QuorumType.fromJson( + json_['quorumType'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (etag != null) 'etag': etag!, + if (name != null) 'name': name!, + if (quorumType != null) 'quorumType': quorumType!, + }; +} + /// Metadata associated with a parent-child relationship appearing in a /// PlanNode. class ChildLink { @@ -6189,6 +6291,14 @@ class Database { /// Required. core.String? name; + /// Applicable only for databases that use dual region instance + /// configurations. + /// + /// Contains information about the quorum. + /// + /// Output only. + QuorumInfo? quorumInfo; + /// If true, the database is being updated. /// /// If false, there are no ongoing update operations for the database. @@ -6237,6 +6347,7 @@ class Database { this.encryptionConfig, this.encryptionInfo, this.name, + this.quorumInfo, this.reconciling, this.restoreInfo, this.state, @@ -6271,6 +6382,10 @@ class Database { .toList() : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, + quorumInfo: json_.containsKey('quorumInfo') + ? QuorumInfo.fromJson( + json_['quorumInfo'] as core.Map) + : null, reconciling: json_.containsKey('reconciling') ? json_['reconciling'] as core.bool : null, @@ -6296,6 +6411,7 @@ class Database { if (encryptionConfig != null) 'encryptionConfig': encryptionConfig!, if (encryptionInfo != null) 'encryptionInfo': encryptionInfo!, if (name != null) 'name': name!, + if (quorumInfo != null) 'quorumInfo': quorumInfo!, if (reconciling != null) 'reconciling': reconciling!, if (restoreInfo != null) 'restoreInfo': restoreInfo!, if (state != null) 'state': state!, @@ -6513,6 +6629,11 @@ class DirectedReadOptions { }; } +/// Message type for a dual-region quorum. +/// +/// Currently this type has no options. +typedef DualRegionQuorum = $Empty; + /// A generic empty message that you can re-use to avoid defining duplicated /// empty messages in your APIs. /// @@ -7373,6 +7494,8 @@ class Instance { /// /// At most one of either node_count or processing_units should be present in /// the message. Users can set the node_count field to specify the target + /// number of nodes allocated to the instance. If autoscaling is enabled, + /// node_count is treated as an OUTPUT_ONLY field and reflects the current /// number of nodes allocated to the instance. This may be zero in API /// responses for instances that are not yet in state `READY`. See /// [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) @@ -7383,8 +7506,11 @@ class Instance { /// /// At most one of processing_units or node_count should be present in the /// message. Users can set the processing_units field to specify the target - /// number of processing units allocated to the instance. This may be zero in - /// API responses for instances that are not yet in state `READY`. See + /// number of processing units allocated to the instance. If autoscaling is + /// enabled, processing_units is treated as an OUTPUT_ONLY field and reflects + /// the current number of processing units allocated to the instance. This may + /// be zero in API responses for instances that are not yet in state `READY`. + /// See /// [the documentation](https://cloud.google.com/spanner/docs/compute-capacity) /// for more information about nodes and processing units. core.int? processingUnits; @@ -7584,6 +7710,22 @@ class InstanceConfig { /// Output only. core.List? optionalReplicas; + /// The `QuorumType` of the instance configuration. + /// + /// Output only. + /// Possible string values are: + /// - "QUORUM_TYPE_UNSPECIFIED" : Not specified. + /// - "REGION" : An instance configuration tagged with REGION quorum type + /// forms a write quorum in a single region. + /// - "DUAL_REGION" : An instance configuration tagged with DUAL_REGION quorum + /// type forms a write quorums with exactly two read-write regions in a + /// multi-region configuration. This instance configurations requires + /// reconfiguration in the event of regional failures. + /// - "MULTI_REGION" : An instance configuration tagged with MULTI_REGION + /// quorum type forms a write quorums from replicas are spread across more + /// than one region in a multi-region configuration. + core.String? quorumType; + /// If true, the instance config is being created or updated. /// /// If false, there are no ongoing operations for the instance config. @@ -7622,6 +7764,7 @@ class InstanceConfig { this.leaderOptions, this.name, this.optionalReplicas, + this.quorumType, this.reconciling, this.replicas, this.state, @@ -7664,6 +7807,9 @@ class InstanceConfig { value as core.Map)) .toList() : null, + quorumType: json_.containsKey('quorumType') + ? json_['quorumType'] as core.String + : null, reconciling: json_.containsKey('reconciling') ? json_['reconciling'] as core.bool : null, @@ -7692,6 +7838,7 @@ class InstanceConfig { if (leaderOptions != null) 'leaderOptions': leaderOptions!, if (name != null) 'name': name!, if (optionalReplicas != null) 'optionalReplicas': optionalReplicas!, + if (quorumType != null) 'quorumType': quorumType!, if (reconciling != null) 'reconciling': reconciling!, if (replicas != null) 'replicas': replicas!, if (state != null) 'state': state!, @@ -8460,10 +8607,10 @@ class ListInstancePartitionsResponse { /// to fetch more of the matching instance partitions. core.String? nextPageToken; - /// The list of unreachable instance partitions. + /// The list of unreachable instances or instance partitions. /// - /// It includes the names of instance partitions whose metadata could not be - /// retrieved within instance_partition_deadline. + /// It includes the names of instances or instance partitions whose metadata + /// could not be retrieved within instance_partition_deadline. core.List? unreachable; ListInstancePartitionsResponse({ @@ -9881,6 +10028,99 @@ class QueryPlan { }; } +/// Information about the dual region quorum. +class QuorumInfo { + /// The etag is used for optimistic concurrency control as a way to help + /// prevent simultaneous ChangeQuorum requests that could create a race + /// condition. + /// + /// Output only. + core.String? etag; + + /// Whether this ChangeQuorum is a Google or User initiated. + /// + /// Output only. + /// Possible string values are: + /// - "INITIATOR_UNSPECIFIED" : Unspecified. + /// - "GOOGLE" : ChangeQuorum initiated by Google. + /// - "USER" : ChangeQuorum initiated by User. + core.String? initiator; + + /// The type of this quorum. + /// + /// See QuorumType for more information about quorum type specifications. + /// + /// Output only. + QuorumType? quorumType; + + /// The timestamp when the request was triggered. + /// + /// Output only. + core.String? startTime; + + QuorumInfo({ + this.etag, + this.initiator, + this.quorumType, + this.startTime, + }); + + QuorumInfo.fromJson(core.Map json_) + : this( + etag: json_.containsKey('etag') ? json_['etag'] as core.String : null, + initiator: json_.containsKey('initiator') + ? json_['initiator'] as core.String + : null, + quorumType: json_.containsKey('quorumType') + ? QuorumType.fromJson( + json_['quorumType'] as core.Map) + : null, + startTime: json_.containsKey('startTime') + ? json_['startTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (etag != null) 'etag': etag!, + if (initiator != null) 'initiator': initiator!, + if (quorumType != null) 'quorumType': quorumType!, + if (startTime != null) 'startTime': startTime!, + }; +} + +/// Information about the database quorum type. +/// +/// this applies only for dual region instance configs. +class QuorumType { + /// Dual region quorum type. + DualRegionQuorum? dualRegion; + + /// Single region quorum type. + SingleRegionQuorum? singleRegion; + + QuorumType({ + this.dualRegion, + this.singleRegion, + }); + + QuorumType.fromJson(core.Map json_) + : this( + dualRegion: json_.containsKey('dualRegion') + ? DualRegionQuorum.fromJson( + json_['dualRegion'] as core.Map) + : null, + singleRegion: json_.containsKey('singleRegion') + ? SingleRegionQuorum.fromJson( + json_['singleRegion'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (dualRegion != null) 'dualRegion': dualRegion!, + if (singleRegion != null) 'singleRegion': singleRegion!, + }; +} + /// Message type to initiate a read-only transaction. class ReadOnly { /// Executes all reads at a timestamp that is `exact_staleness` old. @@ -10937,6 +11177,35 @@ class ShortRepresentation { }; } +/// Message type for a single-region quorum. +class SingleRegionQuorum { + /// The location of the serving region, e.g. "us-central1". + /// + /// The location must be one of the regions within the dual region instance + /// configuration of your database. The list of valid locations is available + /// via \[GetInstanceConfig\[InstanceAdmin.GetInstanceConfig\] API. This + /// should only be used if you plan to change quorum in single-region quorum + /// type. + /// + /// Required. + core.String? servingLocation; + + SingleRegionQuorum({ + this.servingLocation, + }); + + SingleRegionQuorum.fromJson(core.Map json_) + : this( + servingLocation: json_.containsKey('servingLocation') + ? json_['servingLocation'] as core.String + : null, + ); + + core.Map toJson() => { + if (servingLocation != null) 'servingLocation': servingLocation!, + }; +} + /// A single DML statement. class Statement { /// It is not always possible for Cloud Spanner to infer the right SQL type @@ -11127,7 +11396,7 @@ class Transaction { /// have committed before the start of the read). Snapshot read-only /// transactions do not need to be committed. Queries on change streams must be /// performed with the snapshot read-only transaction mode, specifying a strong -/// read. Please see TransactionOptions.ReadOnly.strong for more details. 3. +/// read. See TransactionOptions.ReadOnly.strong for more details. 3. /// Partitioned DML. This type of transaction is used to execute a single /// Partitioned DML statement. Partitioned DML partitions the key space and runs /// the DML statement over each partition in parallel using separate, internal diff --git a/generated/googleapis/lib/speech/v1.dart b/generated/googleapis/lib/speech/v1.dart index 085d234df..a90966b0b 100644 --- a/generated/googleapis/lib/speech/v1.dart +++ b/generated/googleapis/lib/speech/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/speech/v2.dart b/generated/googleapis/lib/speech/v2.dart index a34988a7d..617e25a82 100644 --- a/generated/googleapis/lib/speech/v2.dart +++ b/generated/googleapis/lib/speech/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/storage/v1.dart b/generated/googleapis/lib/storage/v1.dart index a2e4c381f..3996f2dc0 100644 --- a/generated/googleapis/lib/storage/v1.dart +++ b/generated/googleapis/lib/storage/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -861,6 +862,49 @@ class BucketsResource { return Policy.fromJson(response_ as core.Map); } + /// Returns the storage layout configuration for the specified bucket. + /// + /// Note that this operation requires storage.objects.list permission. + /// + /// Request parameters: + /// + /// [bucket] - Name of a bucket. + /// + /// [prefix] - An optional prefix used for permission check. It is useful when + /// the caller only has storage.objects.list permission under a specific + /// prefix. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [BucketStorageLayout]. + /// + /// 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 getStorageLayout( + core.String bucket, { + core.String? prefix, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (prefix != null) 'prefix': [prefix], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'b/' + commons.escapeVariable('$bucket') + '/storageLayout'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return BucketStorageLayout.fromJson( + response_ as core.Map); + } + /// Creates a new bucket. /// /// [request] - The metadata request object. @@ -6348,6 +6392,117 @@ class BucketAccessControls { }; } +/// The bucket's custom placement configuration for Custom Dual Regions. +class BucketStorageLayoutCustomPlacementConfig { + /// The list of regional locations in which data is placed. + core.List? dataLocations; + + BucketStorageLayoutCustomPlacementConfig({ + this.dataLocations, + }); + + BucketStorageLayoutCustomPlacementConfig.fromJson(core.Map json_) + : this( + dataLocations: json_.containsKey('dataLocations') + ? (json_['dataLocations'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (dataLocations != null) 'dataLocations': dataLocations!, + }; +} + +/// The bucket's hierarchical namespace configuration. +class BucketStorageLayoutHierarchicalNamespace { + /// When set to true, hierarchical namespace is enabled for this bucket. + core.bool? enabled; + + BucketStorageLayoutHierarchicalNamespace({ + this.enabled, + }); + + BucketStorageLayoutHierarchicalNamespace.fromJson(core.Map json_) + : this( + enabled: json_.containsKey('enabled') + ? json_['enabled'] as core.bool + : null, + ); + + core.Map toJson() => { + if (enabled != null) 'enabled': enabled!, + }; +} + +/// The storage layout configuration of a bucket. +class BucketStorageLayout { + /// The name of the bucket. + core.String? bucket; + + /// The bucket's custom placement configuration for Custom Dual Regions. + BucketStorageLayoutCustomPlacementConfig? customPlacementConfig; + + /// The bucket's hierarchical namespace configuration. + BucketStorageLayoutHierarchicalNamespace? hierarchicalNamespace; + + /// The kind of item this is. + /// + /// For storage layout, this is always storage#storageLayout. + core.String? kind; + + /// The location of the bucket. + core.String? location; + + /// The type of the bucket location. + core.String? locationType; + + BucketStorageLayout({ + this.bucket, + this.customPlacementConfig, + this.hierarchicalNamespace, + this.kind, + this.location, + this.locationType, + }); + + BucketStorageLayout.fromJson(core.Map json_) + : this( + bucket: json_.containsKey('bucket') + ? json_['bucket'] as core.String + : null, + customPlacementConfig: json_.containsKey('customPlacementConfig') + ? BucketStorageLayoutCustomPlacementConfig.fromJson( + json_['customPlacementConfig'] + as core.Map) + : null, + hierarchicalNamespace: json_.containsKey('hierarchicalNamespace') + ? BucketStorageLayoutHierarchicalNamespace.fromJson( + json_['hierarchicalNamespace'] + as core.Map) + : null, + kind: json_.containsKey('kind') ? json_['kind'] as core.String : null, + location: json_.containsKey('location') + ? json_['location'] as core.String + : null, + locationType: json_.containsKey('locationType') + ? json_['locationType'] as core.String + : null, + ); + + core.Map toJson() => { + if (bucket != null) 'bucket': bucket!, + if (customPlacementConfig != null) + 'customPlacementConfig': customPlacementConfig!, + if (hierarchicalNamespace != null) + 'hierarchicalNamespace': hierarchicalNamespace!, + if (kind != null) 'kind': kind!, + if (location != null) 'location': location!, + if (locationType != null) 'locationType': locationType!, + }; +} + /// A list of buckets. class Buckets { /// The list of items. diff --git a/generated/googleapis/lib/storagetransfer/v1.dart b/generated/googleapis/lib/storagetransfer/v1.dart index dc6c9e4aa..134756718 100644 --- a/generated/googleapis/lib/storagetransfer/v1.dart +++ b/generated/googleapis/lib/storagetransfer/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -1612,28 +1613,26 @@ class ListTransferJobsResponse { /// Specifies the logging behavior for transfer operations. /// -/// For cloud-to-cloud transfers, logs are sent to Cloud Logging. See +/// Logs can be sent to Cloud Logging for all transfer types. See /// [Read transfer logs](https://cloud.google.com/storage-transfer/docs/read-transfer-logs) -/// for details. For transfers to or from a POSIX file system, logs are stored -/// in the Cloud Storage bucket that is the source or sink of the transfer. See -/// \[Managing Transfer for on-premises -/// jobs\](https://cloud.google.com/storage-transfer/docs/managing-on-prem-jobs#viewing-logs) /// for details. class LoggingConfig { - /// For transfers with a PosixFilesystem source, this option enables the Cloud - /// Storage transfer logs for this transfer. + /// For PosixFilesystem transfers, enables + /// [file system transfer logs](https://cloud.google.com/storage-transfer/docs/on-prem-transfer-log-format) + /// instead of, or in addition to, Cloud Logging. + /// + /// This option ignores \[LoggableAction\] and \[LoggableActionState\]. If + /// these are set, Cloud Logging will also be enabled for this transfer. core.bool? enableOnpremGcsTransferLogs; /// States in which `log_actions` are logged. /// - /// If empty, no logs are generated. Not supported for transfers with - /// PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead. + /// If empty, no logs are generated. core.List? logActionStates; /// Specifies the actions to be logged. /// - /// If empty, no logs are generated. Not supported for transfers with - /// PosixFilesystem data sources; use enable_onprem_gcs_transfer_logs instead. + /// If empty, no logs are generated. core.List? logActions; LoggingConfig({ diff --git a/generated/googleapis/lib/streetviewpublish/v1.dart b/generated/googleapis/lib/streetviewpublish/v1.dart index 25ce54c69..7701e63d8 100644 --- a/generated/googleapis/lib/streetviewpublish/v1.dart +++ b/generated/googleapis/lib/streetviewpublish/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/sts/v1.dart b/generated/googleapis/lib/sts/v1.dart index 37dbee3a6..408981fc8 100644 --- a/generated/googleapis/lib/sts/v1.dart +++ b/generated/googleapis/lib/sts/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/tagmanager/v1.dart b/generated/googleapis/lib/tagmanager/v1.dart index 4b0fea847..319fbbdb4 100644 --- a/generated/googleapis/lib/tagmanager/v1.dart +++ b/generated/googleapis/lib/tagmanager/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/tagmanager/v2.dart b/generated/googleapis/lib/tagmanager/v2.dart index 3d7c11b8e..eb05fde74 100644 --- a/generated/googleapis/lib/tagmanager/v2.dart +++ b/generated/googleapis/lib/tagmanager/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/tasks/v1.dart b/generated/googleapis/lib/tasks/v1.dart index 217bb8ee9..97e2cf92c 100644 --- a/generated/googleapis/lib/tasks/v1.dart +++ b/generated/googleapis/lib/tasks/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -773,11 +774,15 @@ class Task { /// Type of the resource. /// /// This is always "tasks#task". + /// + /// Output only. core.String? kind; /// Collection of links. /// /// This collection is read-only. + /// + /// Output only. core.List? links; /// Notes describing the task. @@ -790,6 +795,8 @@ class Task { /// This field is omitted if it is a top-level task. This field is read-only. /// Use the "move" method to move the task under a different parent or to the /// top level. + /// + /// Output only. core.String? parent; /// String indicating the position of the task among its sibling tasks under @@ -797,14 +804,17 @@ class Task { /// /// If this string is greater than another task's corresponding position /// string according to lexicographical ordering, the task is positioned after - /// the other task under the same parent task (or at the top level). This - /// field is read-only. Use the "move" method to move the task to another - /// position. + /// the other task under the same parent task (or at the top level). Use the + /// "move" method to move the task to another position. + /// + /// Output only. core.String? position; /// URL pointing to this task. /// /// Used to retrieve, update, or delete this task. + /// + /// Output only. core.String? selfLink; /// Status of the task. @@ -818,11 +828,13 @@ class Task { core.String? title; /// Last modification time of the task (as a RFC 3339 timestamp). + /// + /// Output only. core.String? updated; /// An absolute link to the task in the Google Tasks Web UI. /// - /// This field is read-only. + /// Output only. core.String? webViewLink; Task({ @@ -918,11 +930,15 @@ class TaskList { /// Type of the resource. /// /// This is always "tasks#taskList". + /// + /// Output only. core.String? kind; /// URL pointing to this task list. /// /// Used to retrieve, update, or delete this task list. + /// + /// Output only. core.String? selfLink; /// Title of the task list. @@ -931,6 +947,8 @@ class TaskList { core.String? title; /// Last modification time of the task list (as a RFC 3339 timestamp). + /// + /// Output only. core.String? updated; TaskList({ diff --git a/generated/googleapis/lib/testing/v1.dart b/generated/googleapis/lib/testing/v1.dart index fb0f4dde8..4dc77aff9 100644 --- a/generated/googleapis/lib/testing/v1.dart +++ b/generated/googleapis/lib/testing/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/texttospeech/v1.dart b/generated/googleapis/lib/texttospeech/v1.dart index 0bbe64256..0a1e05463 100644 --- a/generated/googleapis/lib/texttospeech/v1.dart +++ b/generated/googleapis/lib/texttospeech/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/tpu/v1.dart b/generated/googleapis/lib/tpu/v1.dart index a8be83643..68a7d9ae8 100644 --- a/generated/googleapis/lib/tpu/v1.dart +++ b/generated/googleapis/lib/tpu/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/tpu/v2.dart b/generated/googleapis/lib/tpu/v2.dart index 042f1cc6a..b122c9513 100644 --- a/generated/googleapis/lib/tpu/v2.dart +++ b/generated/googleapis/lib/tpu/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/trafficdirector/v2.dart b/generated/googleapis/lib/trafficdirector/v2.dart index a533f5027..f3ca240ea 100644 --- a/generated/googleapis/lib/trafficdirector/v2.dart +++ b/generated/googleapis/lib/trafficdirector/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/trafficdirector/v3.dart b/generated/googleapis/lib/trafficdirector/v3.dart index 61ce838ee..58d9febc9 100644 --- a/generated/googleapis/lib/trafficdirector/v3.dart +++ b/generated/googleapis/lib/trafficdirector/v3.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/transcoder/v1.dart b/generated/googleapis/lib/transcoder/v1.dart index 125ef36ce..fa82fa3de 100644 --- a/generated/googleapis/lib/transcoder/v1.dart +++ b/generated/googleapis/lib/transcoder/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/translate/v3.dart b/generated/googleapis/lib/translate/v3.dart index 21cb75699..984d44907 100644 --- a/generated/googleapis/lib/translate/v3.dart +++ b/generated/googleapis/lib/translate/v3.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/travelimpactmodel/v1.dart b/generated/googleapis/lib/travelimpactmodel/v1.dart index fa531b1db..e44da11c4 100644 --- a/generated/googleapis/lib/travelimpactmodel/v1.dart +++ b/generated/googleapis/lib/travelimpactmodel/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/vault/v1.dart b/generated/googleapis/lib/vault/v1.dart index d22ea2f4c..f765b3f36 100644 --- a/generated/googleapis/lib/vault/v1.dart +++ b/generated/googleapis/lib/vault/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/verifiedaccess/v1.dart b/generated/googleapis/lib/verifiedaccess/v1.dart index 3f45d356a..b4458a406 100644 --- a/generated/googleapis/lib/verifiedaccess/v1.dart +++ b/generated/googleapis/lib/verifiedaccess/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/verifiedaccess/v2.dart b/generated/googleapis/lib/verifiedaccess/v2.dart index 278913acd..e6cce4b18 100644 --- a/generated/googleapis/lib/verifiedaccess/v2.dart +++ b/generated/googleapis/lib/verifiedaccess/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/versionhistory/v1.dart b/generated/googleapis/lib/versionhistory/v1.dart index 1838f3d2c..28af9f50c 100644 --- a/generated/googleapis/lib/versionhistory/v1.dart +++ b/generated/googleapis/lib/versionhistory/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -602,6 +603,9 @@ class Release { /// "{product}/platforms/{platform}/channels/{channel}/versions/{version}/releases/{release}" core.String? name; + /// Whether or not the release was available for version pinning. + core.bool? pinnable; + /// Timestamp interval of when the release was live. /// /// If end_time is unspecified, the release is currently live. @@ -616,6 +620,7 @@ class Release { this.fraction, this.fractionGroup, this.name, + this.pinnable, this.serving, this.version, }); @@ -629,6 +634,9 @@ class Release { ? json_['fractionGroup'] as core.String : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, + pinnable: json_.containsKey('pinnable') + ? json_['pinnable'] as core.bool + : null, serving: json_.containsKey('serving') ? Interval.fromJson( json_['serving'] as core.Map) @@ -642,6 +650,7 @@ class Release { if (fraction != null) 'fraction': fraction!, if (fractionGroup != null) 'fractionGroup': fractionGroup!, if (name != null) 'name': name!, + if (pinnable != null) 'pinnable': pinnable!, if (serving != null) 'serving': serving!, if (version != null) 'version': version!, }; diff --git a/generated/googleapis/lib/videointelligence/v1.dart b/generated/googleapis/lib/videointelligence/v1.dart index 8a2c3788d..8946306a3 100644 --- a/generated/googleapis/lib/videointelligence/v1.dart +++ b/generated/googleapis/lib/videointelligence/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/vision/v1.dart b/generated/googleapis/lib/vision/v1.dart index d1e5b2a7a..adbd5ab7e 100644 --- a/generated/googleapis/lib/vision/v1.dart +++ b/generated/googleapis/lib/vision/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/vmmigration/v1.dart b/generated/googleapis/lib/vmmigration/v1.dart index 89b323d93..7edddf7d9 100644 --- a/generated/googleapis/lib/vmmigration/v1.dart +++ b/generated/googleapis/lib/vmmigration/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/vmwareengine/v1.dart b/generated/googleapis/lib/vmwareengine/v1.dart index e09f4ae97..e0ecea9c2 100644 --- a/generated/googleapis/lib/vmwareengine/v1.dart +++ b/generated/googleapis/lib/vmwareengine/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/vpcaccess/v1.dart b/generated/googleapis/lib/vpcaccess/v1.dart index de271c259..a4b3a1bb2 100644 --- a/generated/googleapis/lib/vpcaccess/v1.dart +++ b/generated/googleapis/lib/vpcaccess/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/walletobjects/v1.dart b/generated/googleapis/lib/walletobjects/v1.dart index 0afb3383a..dcdb98a97 100644 --- a/generated/googleapis/lib/walletobjects/v1.dart +++ b/generated/googleapis/lib/walletobjects/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -4627,9 +4628,6 @@ class AirportInfo { class AppLinkData { /// Optional information about the partner app link. - /// - /// If included, the app link link module will be rendered on the valuable - /// details on the android client. AppLinkDataAppLinkInfo? androidAppLinkInfo; /// Links to open iOS apps are not supported. @@ -4640,10 +4638,7 @@ class AppLinkData { ) AppLinkDataAppLinkInfo? iosAppLinkInfo; - /// Optional information about the partner app link. - /// - /// If included, the app link link module will be rendered on the valuable - /// details on the web client. + /// Optional information about the partner web link. AppLinkDataAppLinkInfo? webAppLinkInfo; AppLinkData({ @@ -4677,19 +4672,33 @@ class AppLinkData { } class AppLinkDataAppLinkInfo { - /// Optional image to be displayed in the App Link Module + /// Image isn't supported in the app link module. + /// + /// Deprecated. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) Image? appLogoImage; - /// Url to follow when opening the App Link Module on clients. + /// Target to follow when opening the app link on clients. /// - /// It will be used by partners to open their webpage or deeplink into their - /// app. + /// It will be used by partners to open their app or webpage. AppLinkDataAppLinkInfoAppTarget? appTarget; - /// String to be displayed in the description of the App Link Module Required + /// Description isn't supported in the app link module. + /// + /// Deprecated. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) LocalizedString? description; - /// String to be displayed in the title of the App Link Module Required + /// Title isn't supported in the app link module. + /// + /// Deprecated. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) LocalizedString? title; AppLinkDataAppLinkInfo({ @@ -6277,6 +6286,13 @@ class EventTicketClass { ) core.bool? allowMultipleUsersPerObject; + /// Optional app or website link that will be displayed as a button on the + /// front of the pass. + /// + /// If AppLinkData is provided for the corresponding object that will be used + /// instead. + AppLinkData? appLinkData; + /// Callback options to be used to call the issuer back for every save/delete /// of an object for this class by the end-user. /// @@ -6653,6 +6669,7 @@ class EventTicketClass { EventTicketClass({ this.allowMultipleUsersPerObject, + this.appLinkData, this.callbackOptions, this.classTemplateInfo, this.confirmationCodeLabel, @@ -6703,6 +6720,10 @@ class EventTicketClass { json_.containsKey('allowMultipleUsersPerObject') ? json_['allowMultipleUsersPerObject'] as core.bool : null, + appLinkData: json_.containsKey('appLinkData') + ? AppLinkData.fromJson( + json_['appLinkData'] as core.Map) + : null, callbackOptions: json_.containsKey('callbackOptions') ? CallbackOptions.fromJson(json_['callbackOptions'] as core.Map) @@ -6867,6 +6888,7 @@ class EventTicketClass { core.Map toJson() => { if (allowMultipleUsersPerObject != null) 'allowMultipleUsersPerObject': allowMultipleUsersPerObject!, + if (appLinkData != null) 'appLinkData': appLinkData!, if (callbackOptions != null) 'callbackOptions': callbackOptions!, if (classTemplateInfo != null) 'classTemplateInfo': classTemplateInfo!, if (confirmationCodeLabel != null) @@ -6974,7 +6996,11 @@ class EventTicketClassListResponse { } class EventTicketObject { - /// Optional information about the partner app link. + /// Optional app or website link that will be displayed as a button on the + /// front of the pass. + /// + /// If AppLinkData is provided for the corresponding class only object + /// AppLinkData will be displayed. AppLinkData? appLinkData; /// The barcode type and value. @@ -7699,6 +7725,13 @@ class FlightClass { ) core.bool? allowMultipleUsersPerObject; + /// Optional app or website link that will be displayed as a button on the + /// front of the pass. + /// + /// If AppLinkData is provided for the corresponding object that will be used + /// instead. + AppLinkData? appLinkData; + /// Policies for boarding and seating. /// /// These will inform which labels will be shown to users. @@ -8033,6 +8066,7 @@ class FlightClass { FlightClass({ this.allowMultipleUsersPerObject, + this.appLinkData, this.boardingAndSeatingPolicy, this.callbackOptions, this.classTemplateInfo, @@ -8078,6 +8112,10 @@ class FlightClass { json_.containsKey('allowMultipleUsersPerObject') ? json_['allowMultipleUsersPerObject'] as core.bool : null, + appLinkData: json_.containsKey('appLinkData') + ? AppLinkData.fromJson( + json_['appLinkData'] as core.Map) + : null, boardingAndSeatingPolicy: json_.containsKey('boardingAndSeatingPolicy') ? BoardingAndSeatingPolicy.fromJson( @@ -8226,6 +8264,7 @@ class FlightClass { core.Map toJson() => { if (allowMultipleUsersPerObject != null) 'allowMultipleUsersPerObject': allowMultipleUsersPerObject!, + if (appLinkData != null) 'appLinkData': appLinkData!, if (boardingAndSeatingPolicy != null) 'boardingAndSeatingPolicy': boardingAndSeatingPolicy!, if (callbackOptions != null) 'callbackOptions': callbackOptions!, @@ -8413,7 +8452,11 @@ class FlightHeader { } class FlightObject { - /// Optional information about the partner app link. + /// Optional app or website link that will be displayed as a button on the + /// front of the pass. + /// + /// If AppLinkData is provided for the corresponding class only object + /// AppLinkData will be displayed. AppLinkData? appLinkData; /// The barcode type and value. @@ -8864,6 +8907,13 @@ class FrequentFlyerInfo { /// Generic Class class GenericClass { + /// Optional app or website link that will be displayed as a button on the + /// front of the pass. + /// + /// If AppLinkData is provided for the corresponding object that will be used + /// instead. + AppLinkData? appLinkData; + /// Callback options to be used to call the issuer back for every save/delete /// of an object for this class by the end-user. /// @@ -8965,6 +9015,7 @@ class GenericClass { core.String? viewUnlockRequirement; GenericClass({ + this.appLinkData, this.callbackOptions, this.classTemplateInfo, this.enableSmartTap, @@ -8981,6 +9032,10 @@ class GenericClass { GenericClass.fromJson(core.Map json_) : this( + appLinkData: json_.containsKey('appLinkData') + ? AppLinkData.fromJson( + json_['appLinkData'] as core.Map) + : null, callbackOptions: json_.containsKey('callbackOptions') ? CallbackOptions.fromJson(json_['callbackOptions'] as core.Map) @@ -9034,6 +9089,7 @@ class GenericClass { ); core.Map toJson() => { + if (appLinkData != null) 'appLinkData': appLinkData!, if (callbackOptions != null) 'callbackOptions': callbackOptions!, if (classTemplateInfo != null) 'classTemplateInfo': classTemplateInfo!, if (enableSmartTap != null) 'enableSmartTap': enableSmartTap!, @@ -9112,9 +9168,11 @@ class GenericClassListResponse { /// Generic Object class GenericObject { - /// Information about the partner app link. + /// Optional app or website link that will be displayed as a button on the + /// front of the pass. /// - /// The maximum number of these fields displayed is 10. + /// If AppLinkData is provided for the corresponding class only object + /// AppLinkData will be displayed. AppLinkData? appLinkData; /// The barcode type and value. @@ -9496,6 +9554,13 @@ class GiftCardClass { ) core.bool? allowMultipleUsersPerObject; + /// Optional app or website link that will be displayed as a button on the + /// front of the pass. + /// + /// If AppLinkData is provided for the corresponding object that will be used + /// instead. + AppLinkData? appLinkData; + /// Callback options to be used to call the issuer back for every save/delete /// of an object for this class by the end-user. /// @@ -9741,6 +9806,7 @@ class GiftCardClass { GiftCardClass({ this.allowBarcodeRedemption, this.allowMultipleUsersPerObject, + this.appLinkData, this.callbackOptions, this.cardNumberLabel, this.classTemplateInfo, @@ -9787,6 +9853,10 @@ class GiftCardClass { json_.containsKey('allowMultipleUsersPerObject') ? json_['allowMultipleUsersPerObject'] as core.bool : null, + appLinkData: json_.containsKey('appLinkData') + ? AppLinkData.fromJson( + json_['appLinkData'] as core.Map) + : null, callbackOptions: json_.containsKey('callbackOptions') ? CallbackOptions.fromJson(json_['callbackOptions'] as core.Map) @@ -9928,6 +9998,7 @@ class GiftCardClass { 'allowBarcodeRedemption': allowBarcodeRedemption!, if (allowMultipleUsersPerObject != null) 'allowMultipleUsersPerObject': allowMultipleUsersPerObject!, + if (appLinkData != null) 'appLinkData': appLinkData!, if (callbackOptions != null) 'callbackOptions': callbackOptions!, if (cardNumberLabel != null) 'cardNumberLabel': cardNumberLabel!, if (classTemplateInfo != null) 'classTemplateInfo': classTemplateInfo!, @@ -10028,7 +10099,11 @@ class GiftCardClassListResponse { } class GiftCardObject { - /// Optional information about the partner app link. + /// Optional app or website link that will be displayed as a button on the + /// front of the pass. + /// + /// If AppLinkData is provided for the corresponding class only object + /// AppLinkData will be displayed. AppLinkData? appLinkData; /// The card's monetary balance. @@ -11107,6 +11182,13 @@ class LoyaltyClass { ) core.bool? allowMultipleUsersPerObject; + /// Optional app or website link that will be displayed as a button on the + /// front of the pass. + /// + /// If AppLinkData is provided for the corresponding object that will be used + /// instead. + AppLinkData? appLinkData; + /// Callback options to be used to call the issuer back for every save/delete /// of an object for this class by the end-user. /// @@ -11389,6 +11471,7 @@ class LoyaltyClass { this.accountIdLabel, this.accountNameLabel, this.allowMultipleUsersPerObject, + this.appLinkData, this.callbackOptions, this.classTemplateInfo, this.countryCode, @@ -11443,6 +11526,10 @@ class LoyaltyClass { json_.containsKey('allowMultipleUsersPerObject') ? json_['allowMultipleUsersPerObject'] as core.bool : null, + appLinkData: json_.containsKey('appLinkData') + ? AppLinkData.fromJson( + json_['appLinkData'] as core.Map) + : null, callbackOptions: json_.containsKey('callbackOptions') ? CallbackOptions.fromJson(json_['callbackOptions'] as core.Map) @@ -11607,6 +11694,7 @@ class LoyaltyClass { if (accountNameLabel != null) 'accountNameLabel': accountNameLabel!, if (allowMultipleUsersPerObject != null) 'allowMultipleUsersPerObject': allowMultipleUsersPerObject!, + if (appLinkData != null) 'appLinkData': appLinkData!, if (callbackOptions != null) 'callbackOptions': callbackOptions!, if (classTemplateInfo != null) 'classTemplateInfo': classTemplateInfo!, if (countryCode != null) 'countryCode': countryCode!, @@ -11730,7 +11818,11 @@ class LoyaltyObject { /// screens. core.String? accountName; - /// Optional information about the partner app link. + /// Optional app or website link that will be displayed as a button on the + /// front of the pass. + /// + /// If AppLinkData is provided for the corresponding class only object + /// AppLinkData will be displayed. AppLinkData? appLinkData; /// The barcode type and value. @@ -12671,6 +12763,8 @@ class Message { /// - "EXPIRATION_NOTIFICATION" : Note: This enum is currently not supported. /// - "expirationNotification" : Legacy alias for `EXPIRATION_NOTIFICATION`. /// Deprecated. + /// - "TEXT_AND_NOTIFY" : Renders the message as text on the card details + /// screen and as an Android notification. core.String? messageType; Message({ @@ -12873,6 +12967,13 @@ class OfferClass { ) core.bool? allowMultipleUsersPerObject; + /// Optional app or website link that will be displayed as a button on the + /// front of the pass. + /// + /// If AppLinkData is provided for the corresponding object that will be used + /// instead. + AppLinkData? appLinkData; + /// Callback options to be used to call the issuer back for every save/delete /// of an object for this class by the end-user. /// @@ -13158,6 +13259,7 @@ class OfferClass { OfferClass({ this.allowMultipleUsersPerObject, + this.appLinkData, this.callbackOptions, this.classTemplateInfo, this.countryCode, @@ -13205,6 +13307,10 @@ class OfferClass { json_.containsKey('allowMultipleUsersPerObject') ? json_['allowMultipleUsersPerObject'] as core.bool : null, + appLinkData: json_.containsKey('appLinkData') + ? AppLinkData.fromJson( + json_['appLinkData'] as core.Map) + : null, callbackOptions: json_.containsKey('callbackOptions') ? CallbackOptions.fromJson(json_['callbackOptions'] as core.Map) @@ -13355,6 +13461,7 @@ class OfferClass { core.Map toJson() => { if (allowMultipleUsersPerObject != null) 'allowMultipleUsersPerObject': allowMultipleUsersPerObject!, + if (appLinkData != null) 'appLinkData': appLinkData!, if (callbackOptions != null) 'callbackOptions': callbackOptions!, if (classTemplateInfo != null) 'classTemplateInfo': classTemplateInfo!, if (countryCode != null) 'countryCode': countryCode!, @@ -13458,7 +13565,11 @@ class OfferClassListResponse { } class OfferObject { - /// Optional information about the partner app link. + /// Optional app or website link that will be displayed as a button on the + /// front of the pass. + /// + /// If AppLinkData is provided for the corresponding class only object + /// AppLinkData will be displayed. AppLinkData? appLinkData; /// The barcode type and value. @@ -15158,6 +15269,13 @@ class TransitClass { ) core.bool? allowMultipleUsersPerObject; + /// Optional app or website link that will be displayed as a button on the + /// front of the pass. + /// + /// If AppLinkData is provided for the corresponding object that will be used + /// instead. + AppLinkData? appLinkData; + /// Callback options to be used to call the issuer back for every save/delete /// of an object for this class by the end-user. /// @@ -15478,6 +15596,7 @@ class TransitClass { TransitClass({ this.activationOptions, this.allowMultipleUsersPerObject, + this.appLinkData, this.callbackOptions, this.classTemplateInfo, this.countryCode, @@ -15540,6 +15659,10 @@ class TransitClass { json_.containsKey('allowMultipleUsersPerObject') ? json_['allowMultipleUsersPerObject'] as core.bool : null, + appLinkData: json_.containsKey('appLinkData') + ? AppLinkData.fromJson( + json_['appLinkData'] as core.Map) + : null, callbackOptions: json_.containsKey('callbackOptions') ? CallbackOptions.fromJson(json_['callbackOptions'] as core.Map) @@ -15756,6 +15879,7 @@ class TransitClass { if (activationOptions != null) 'activationOptions': activationOptions!, if (allowMultipleUsersPerObject != null) 'allowMultipleUsersPerObject': allowMultipleUsersPerObject!, + if (appLinkData != null) 'appLinkData': appLinkData!, if (callbackOptions != null) 'callbackOptions': callbackOptions!, if (classTemplateInfo != null) 'classTemplateInfo': classTemplateInfo!, if (countryCode != null) 'countryCode': countryCode!, @@ -15892,7 +16016,11 @@ class TransitObject { /// Required if the class has `activationOptions` set. ActivationStatus? activationStatus; - /// Optional information about the partner app link. + /// Optional app or website link that will be displayed as a button on the + /// front of the pass. + /// + /// If AppLinkData is provided for the corresponding class only object + /// AppLinkData will be displayed. AppLinkData? appLinkData; /// The barcode type and value. diff --git a/generated/googleapis/lib/webfonts/v1.dart b/generated/googleapis/lib/webfonts/v1.dart index b1d28b7fb..99f06f6aa 100644 --- a/generated/googleapis/lib/webfonts/v1.dart +++ b/generated/googleapis/lib/webfonts/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -156,6 +157,9 @@ class Webfont { /// The category of the font. core.String? category; + /// The color format(s) available for this family. + core.List? colorCapabilities; + /// The name of the font. core.String? family; @@ -185,6 +189,7 @@ class Webfont { Webfont({ this.axes, this.category, + this.colorCapabilities, this.family, this.files, this.kind, @@ -206,6 +211,11 @@ class Webfont { category: json_.containsKey('category') ? json_['category'] as core.String : null, + colorCapabilities: json_.containsKey('colorCapabilities') + ? (json_['colorCapabilities'] as core.List) + .map((value) => value as core.String) + .toList() + : null, family: json_.containsKey('family') ? json_['family'] as core.String : null, @@ -240,6 +250,7 @@ class Webfont { core.Map toJson() => { if (axes != null) 'axes': axes!, if (category != null) 'category': category!, + if (colorCapabilities != null) 'colorCapabilities': colorCapabilities!, if (family != null) 'family': family!, if (files != null) 'files': files!, if (kind != null) 'kind': kind!, diff --git a/generated/googleapis/lib/webrisk/v1.dart b/generated/googleapis/lib/webrisk/v1.dart index a5e876281..4efac65f7 100644 --- a/generated/googleapis/lib/webrisk/v1.dart +++ b/generated/googleapis/lib/webrisk/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/websecurityscanner/v1.dart b/generated/googleapis/lib/websecurityscanner/v1.dart index f4c79195b..c35c0c941 100644 --- a/generated/googleapis/lib/websecurityscanner/v1.dart +++ b/generated/googleapis/lib/websecurityscanner/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/workflowexecutions/v1.dart b/generated/googleapis/lib/workflowexecutions/v1.dart index ee000dfe7..b4164b536 100644 --- a/generated/googleapis/lib/workflowexecutions/v1.dart +++ b/generated/googleapis/lib/workflowexecutions/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/workflows/v1.dart b/generated/googleapis/lib/workflows/v1.dart index 40d87c3c6..dcadb39f6 100644 --- a/generated/googleapis/lib/workflows/v1.dart +++ b/generated/googleapis/lib/workflows/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -860,6 +861,18 @@ typedef Status = $Status; /// Workflow program to be executed by Workflows. class Workflow { + /// A list of all KMS crypto keys used to encrypt or decrpt the data + /// associated with the workflow. + /// + /// Output only. + core.List? allKmsKeys; + + /// A list of all KMS crypto keys versions used to encrypt or decrpt the data + /// associated with the workflow. + /// + /// Output only. + core.List? allKmsKeysVersions; + /// Describes the level of platform logging to apply to calls and call /// responses during executions of this workflow. /// @@ -895,6 +908,15 @@ class Workflow { /// Optional. core.String? cryptoKeyName; + /// The resource name of a KMS crypto key version used to encrypt or decrypt + /// the data associated with the workflow. + /// + /// Format: + /// projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion} + /// + /// Output only. + core.String? cryptoKeyVersion; + /// Description of the workflow provided by the user. /// /// Must be at most 1000 Unicode characters long. This is a workflow-wide @@ -983,9 +1005,12 @@ class Workflow { core.Map? userEnvVars; Workflow({ + this.allKmsKeys, + this.allKmsKeysVersions, this.callLogLevel, this.createTime, this.cryptoKeyName, + this.cryptoKeyVersion, this.description, this.labels, this.name, @@ -1001,6 +1026,16 @@ class Workflow { Workflow.fromJson(core.Map json_) : this( + allKmsKeys: json_.containsKey('allKmsKeys') + ? (json_['allKmsKeys'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + allKmsKeysVersions: json_.containsKey('allKmsKeysVersions') + ? (json_['allKmsKeysVersions'] as core.List) + .map((value) => value as core.String) + .toList() + : null, callLogLevel: json_.containsKey('callLogLevel') ? json_['callLogLevel'] as core.String : null, @@ -1010,6 +1045,9 @@ class Workflow { cryptoKeyName: json_.containsKey('cryptoKeyName') ? json_['cryptoKeyName'] as core.String : null, + cryptoKeyVersion: json_.containsKey('cryptoKeyVersion') + ? json_['cryptoKeyVersion'] as core.String + : null, description: json_.containsKey('description') ? json_['description'] as core.String : null, @@ -1055,9 +1093,13 @@ class Workflow { ); core.Map toJson() => { + if (allKmsKeys != null) 'allKmsKeys': allKmsKeys!, + if (allKmsKeysVersions != null) + 'allKmsKeysVersions': allKmsKeysVersions!, if (callLogLevel != null) 'callLogLevel': callLogLevel!, if (createTime != null) 'createTime': createTime!, if (cryptoKeyName != null) 'cryptoKeyName': cryptoKeyName!, + if (cryptoKeyVersion != null) 'cryptoKeyVersion': cryptoKeyVersion!, if (description != null) 'description': description!, if (labels != null) 'labels': labels!, if (name != null) 'name': name!, diff --git a/generated/googleapis/lib/workloadmanager/v1.dart b/generated/googleapis/lib/workloadmanager/v1.dart index b511a94dd..7e6e4faa7 100644 --- a/generated/googleapis/lib/workloadmanager/v1.dart +++ b/generated/googleapis/lib/workloadmanager/v1.dart @@ -3,6 +3,7 @@ // 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 @@ -1207,6 +1208,11 @@ class Execution { /// Output only. core.String? evaluationId; + /// External data sources + /// + /// Optional. + core.List? externalDataSources; + /// Inventory time stamp /// /// Output only. @@ -1247,6 +1253,7 @@ class Execution { Execution({ this.endTime, this.evaluationId, + this.externalDataSources, this.inventoryTime, this.labels, this.name, @@ -1263,6 +1270,12 @@ class Execution { evaluationId: json_.containsKey('evaluationId') ? json_['evaluationId'] as core.String : null, + externalDataSources: json_.containsKey('externalDataSources') + ? (json_['externalDataSources'] as core.List) + .map((value) => ExternalDataSources.fromJson( + value as core.Map)) + .toList() + : null, inventoryTime: json_.containsKey('inventoryTime') ? json_['inventoryTime'] as core.String : null, @@ -1288,6 +1301,8 @@ class Execution { core.Map toJson() => { if (endTime != null) 'endTime': endTime!, if (evaluationId != null) 'evaluationId': evaluationId!, + if (externalDataSources != null) + 'externalDataSources': externalDataSources!, if (inventoryTime != null) 'inventoryTime': inventoryTime!, if (labels != null) 'labels': labels!, if (name != null) 'name': name!, @@ -1358,6 +1373,50 @@ class ExecutionResult { }; } +/// Message for external data sources +class ExternalDataSources { + /// Name of external data source. + /// + /// The name will be used inside the rego/sql to refer the external data + /// + /// Required. + core.String? name; + + /// Type of external data source + /// + /// Required. + /// Possible string values are: + /// - "TYPE_UNSPECIFIED" : Unknown type + /// - "BIG_QUERY_TABLE" : BigQuery table + core.String? type; + + /// URI of external data source. + /// + /// example of bq table {project_ID}.{dataset_ID}.{table_ID} + /// + /// Required. + core.String? uri; + + ExternalDataSources({ + this.name, + this.type, + this.uri, + }); + + ExternalDataSources.fromJson(core.Map json_) + : this( + name: json_.containsKey('name') ? json_['name'] as core.String : null, + type: json_.containsKey('type') ? json_['type'] as core.String : null, + uri: json_.containsKey('uri') ? json_['uri'] as core.String : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + if (type != null) 'type': type!, + if (uri != null) 'uri': uri!, + }; +} + /// Message describing compute engine instance filter class GceInstanceFilter { /// Service account of compute engine @@ -2283,6 +2342,11 @@ class SapDiscoveryComponentApplicationProperties { /// Optional. core.String? ascsUri; + /// Instance number of the ERS instance. + /// + /// Optional. + core.String? ersInstanceNumber; + /// Kernel version for Netweaver running in the system. /// /// Optional. @@ -2301,6 +2365,7 @@ class SapDiscoveryComponentApplicationProperties { this.applicationType, this.ascsInstanceNumber, this.ascsUri, + this.ersInstanceNumber, this.kernelVersion, this.nfsUri, }); @@ -2320,6 +2385,9 @@ class SapDiscoveryComponentApplicationProperties { ascsUri: json_.containsKey('ascsUri') ? json_['ascsUri'] as core.String : null, + ersInstanceNumber: json_.containsKey('ersInstanceNumber') + ? json_['ersInstanceNumber'] as core.String + : null, kernelVersion: json_.containsKey('kernelVersion') ? json_['kernelVersion'] as core.String : null, @@ -2335,6 +2403,7 @@ class SapDiscoveryComponentApplicationProperties { if (ascsInstanceNumber != null) 'ascsInstanceNumber': ascsInstanceNumber!, if (ascsUri != null) 'ascsUri': ascsUri!, + if (ersInstanceNumber != null) 'ersInstanceNumber': ersInstanceNumber!, if (kernelVersion != null) 'kernelVersion': kernelVersion!, if (nfsUri != null) 'nfsUri': nfsUri!, }; @@ -2576,6 +2645,11 @@ class SapDiscoveryResource { /// A set of properties only present for an instance type resource class SapDiscoveryResourceInstanceProperties { + /// App server instances on the host + /// + /// Optional. + core.List? appInstances; + /// A list of instance URIs that are part of a cluster with this one. /// /// Optional. @@ -2586,19 +2660,40 @@ class SapDiscoveryResourceInstanceProperties { /// Optional. core.String? instanceNumber; + /// Bitmask of instance role, a resource may have multiple roles at once. + /// + /// Optional. + /// Possible string values are: + /// - "INSTANCE_ROLE_UNSPECIFIED" : Unspecified instance role. + /// - "INSTANCE_ROLE_ASCS" : Application central services. + /// - "INSTANCE_ROLE_ERS" : Enqueue replication server. + /// - "INSTANCE_ROLE_APP_SERVER" : Application server. + /// - "INSTANCE_ROLE_DATABASE" : Database node. + core.String? instanceRole; + /// A virtual hostname of the instance if it has one. /// /// Optional. core.String? virtualHostname; SapDiscoveryResourceInstanceProperties({ + this.appInstances, this.clusterInstances, this.instanceNumber, + this.instanceRole, this.virtualHostname, }); SapDiscoveryResourceInstanceProperties.fromJson(core.Map json_) : this( + appInstances: json_.containsKey('appInstances') + ? (json_['appInstances'] as core.List) + .map((value) => + SapDiscoveryResourceInstancePropertiesAppInstance + .fromJson( + value as core.Map)) + .toList() + : null, clusterInstances: json_.containsKey('clusterInstances') ? (json_['clusterInstances'] as core.List) .map((value) => value as core.String) @@ -2607,18 +2702,54 @@ class SapDiscoveryResourceInstanceProperties { instanceNumber: json_.containsKey('instanceNumber') ? json_['instanceNumber'] as core.String : null, + instanceRole: json_.containsKey('instanceRole') + ? json_['instanceRole'] as core.String + : null, virtualHostname: json_.containsKey('virtualHostname') ? json_['virtualHostname'] as core.String : null, ); core.Map toJson() => { + if (appInstances != null) 'appInstances': appInstances!, if (clusterInstances != null) 'clusterInstances': clusterInstances!, if (instanceNumber != null) 'instanceNumber': instanceNumber!, + if (instanceRole != null) 'instanceRole': instanceRole!, if (virtualHostname != null) 'virtualHostname': virtualHostname!, }; } +/// Fields to describe an SAP application server instance. +class SapDiscoveryResourceInstancePropertiesAppInstance { + /// Instance name of the SAP application instance. + /// + /// Optional. + core.String? name; + + /// Instance number of the SAP application instance. + /// + /// Optional. + core.String? number; + + SapDiscoveryResourceInstancePropertiesAppInstance({ + this.name, + this.number, + }); + + SapDiscoveryResourceInstancePropertiesAppInstance.fromJson(core.Map json_) + : this( + name: json_.containsKey('name') ? json_['name'] as core.String : null, + number: json_.containsKey('number') + ? json_['number'] as core.String + : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + if (number != null) 'number': number!, + }; +} + /// A set of properties describing an SAP workload. class SapDiscoveryWorkloadProperties { /// List of SAP Products and their versions running on the system. diff --git a/generated/googleapis/lib/workspaceevents/v1.dart b/generated/googleapis/lib/workspaceevents/v1.dart index bffcee8fd..7257fe5cf 100644 --- a/generated/googleapis/lib/workspaceevents/v1.dart +++ b/generated/googleapis/lib/workspaceevents/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/workstations/v1.dart b/generated/googleapis/lib/workstations/v1.dart index 70504d592..7b513dce1 100644 --- a/generated/googleapis/lib/workstations/v1.dart +++ b/generated/googleapis/lib/workstations/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/youtube/v3.dart b/generated/googleapis/lib/youtube/v3.dart index a99fe7f07..715762923 100644 --- a/generated/googleapis/lib/youtube/v3.dart +++ b/generated/googleapis/lib/youtube/v3.dart @@ -3,6 +3,7 @@ // 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 @@ -51,8 +52,6 @@ /// - [WatermarksResource] /// - [YoutubeResource] /// - [YoutubeV3Resource] -/// - [YoutubeV3LiveChatResource] -/// - [YoutubeV3LiveChatMessagesResource] library; import 'dart:async' as async; @@ -2625,6 +2624,49 @@ class LiveChatMessagesResource { return LiveChatMessageListResponse.fromJson( response_ as core.Map); } + + /// Transition a durable chat event. + /// + /// Request parameters: + /// + /// [id] - The ID that uniquely identify the chat message event to transition. + /// + /// [status] - The status to which the chat event is going to transition. + /// Possible string values are: + /// - "statusUnspecified" : Default unknown enum value. + /// - "closed" : The durable chat event is over. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [LiveChatMessage]. + /// + /// 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 transition({ + core.String? id, + core.String? status, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (id != null) 'id': [id], + if (status != null) 'status': [status], + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'youtube/v3/liveChat/messages/transition'; + + final response_ = await _requester.request( + url_, + 'POST', + queryParams: queryParams_, + ); + return LiveChatMessage.fromJson( + response_ as core.Map); + } } class LiveChatModeratorsResource { @@ -5753,9 +5795,6 @@ class YoutubeResource { class YoutubeV3Resource { final commons.ApiRequester _requester; - YoutubeV3LiveChatResource get liveChat => - YoutubeV3LiveChatResource(_requester); - YoutubeV3Resource(commons.ApiRequester client) : _requester = client; /// Updates an existing resource. @@ -5803,65 +5842,6 @@ class YoutubeV3Resource { } } -class YoutubeV3LiveChatResource { - final commons.ApiRequester _requester; - - YoutubeV3LiveChatMessagesResource get messages => - YoutubeV3LiveChatMessagesResource(_requester); - - YoutubeV3LiveChatResource(commons.ApiRequester client) : _requester = client; -} - -class YoutubeV3LiveChatMessagesResource { - final commons.ApiRequester _requester; - - YoutubeV3LiveChatMessagesResource(commons.ApiRequester client) - : _requester = client; - - /// Transition a durable chat event. - /// - /// Request parameters: - /// - /// [id] - The ID that uniquely identify the chat message event to transition. - /// - /// [status] - The status to which the chat event is going to transition. - /// Possible string values are: - /// - "statusUnspecified" : Default unknown enum value. - /// - "closed" : The durable chat event is over. - /// - /// [$fields] - Selector specifying which fields to include in a partial - /// response. - /// - /// Completes with a [LiveChatMessage]. - /// - /// 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 transition({ - core.String? id, - core.String? status, - core.String? $fields, - }) async { - final queryParams_ = >{ - if (id != null) 'id': [id], - if (status != null) 'status': [status], - if ($fields != null) 'fields': [$fields], - }; - - const url_ = 'youtube/v3/liveChat/messages/transition'; - - final response_ = await _requester.request( - url_, - 'POST', - queryParams: queryParams_, - ); - return LiveChatMessage.fromJson( - response_ as core.Map); - } -} - class AbuseReport { core.List? abuseTypes; core.String? description; diff --git a/generated/googleapis/lib/youtubeanalytics/v2.dart b/generated/googleapis/lib/youtubeanalytics/v2.dart index 28f43a92e..db7b38ea1 100644 --- a/generated/googleapis/lib/youtubeanalytics/v2.dart +++ b/generated/googleapis/lib/youtubeanalytics/v2.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/lib/youtubereporting/v1.dart b/generated/googleapis/lib/youtubereporting/v1.dart index d3f0a669a..8f0f02c1d 100644 --- a/generated/googleapis/lib/youtubereporting/v1.dart +++ b/generated/googleapis/lib/youtubereporting/v1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis/test/abusiveexperiencereport/v1_test.dart b/generated/googleapis/test/abusiveexperiencereport/v1_test.dart index ea7f041df..57db6fb5b 100644 --- a/generated/googleapis/test/abusiveexperiencereport/v1_test.dart +++ b/generated/googleapis/test/abusiveexperiencereport/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart b/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart index 853776e96..e0513d3d9 100644 --- a/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart +++ b/generated/googleapis/test/acceleratedmobilepageurl/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/accessapproval/v1_test.dart b/generated/googleapis/test/accessapproval/v1_test.dart index 6978247bd..c706689d3 100644 --- a/generated/googleapis/test/accessapproval/v1_test.dart +++ b/generated/googleapis/test/accessapproval/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/accesscontextmanager/v1_test.dart b/generated/googleapis/test/accesscontextmanager/v1_test.dart index f942f7f4b..64ad01298 100644 --- a/generated/googleapis/test/accesscontextmanager/v1_test.dart +++ b/generated/googleapis/test/accesscontextmanager/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/acmedns/v1_test.dart b/generated/googleapis/test/acmedns/v1_test.dart index 42e5795b1..f4e815881 100644 --- a/generated/googleapis/test/acmedns/v1_test.dart +++ b/generated/googleapis/test/acmedns/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/addressvalidation/v1_test.dart b/generated/googleapis/test/addressvalidation/v1_test.dart index 512bf0d54..41bed6324 100644 --- a/generated/googleapis/test/addressvalidation/v1_test.dart +++ b/generated/googleapis/test/addressvalidation/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/adexperiencereport/v1_test.dart b/generated/googleapis/test/adexperiencereport/v1_test.dart index 94f09b916..7c343bda3 100644 --- a/generated/googleapis/test/adexperiencereport/v1_test.dart +++ b/generated/googleapis/test/adexperiencereport/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/admin/datatransfer_v1_test.dart b/generated/googleapis/test/admin/datatransfer_v1_test.dart index 09b002f02..8a1a4b630 100644 --- a/generated/googleapis/test/admin/datatransfer_v1_test.dart +++ b/generated/googleapis/test/admin/datatransfer_v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/admin/directory_v1_test.dart b/generated/googleapis/test/admin/directory_v1_test.dart index 25bd7b462..4672caac7 100644 --- a/generated/googleapis/test/admin/directory_v1_test.dart +++ b/generated/googleapis/test/admin/directory_v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -1820,6 +1821,7 @@ api.ChromeOsDevice buildChromeOsDevice() { o.autoUpdateThrough = 'foo'; o.backlightInfo = buildUnnamed22(); o.bootMode = 'foo'; + o.chromeOsType = 'foo'; o.cpuInfo = buildUnnamed25(); o.cpuStatusReports = buildUnnamed28(); o.deprovisionReason = 'foo'; @@ -1896,6 +1898,10 @@ void checkChromeOsDevice(api.ChromeOsDevice o) { o.bootMode!, unittest.equals('foo'), ); + unittest.expect( + o.chromeOsType!, + unittest.equals('foo'), + ); checkUnnamed25(o.cpuInfo!); checkUnnamed28(o.cpuStatusReports!); unittest.expect( diff --git a/generated/googleapis/test/admin/reports_v1_test.dart b/generated/googleapis/test/admin/reports_v1_test.dart index 112e50aa2..82a95a456 100644 --- a/generated/googleapis/test/admin/reports_v1_test.dart +++ b/generated/googleapis/test/admin/reports_v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/admob/v1_test.dart b/generated/googleapis/test/admob/v1_test.dart index 675dc2976..92f8c5c1d 100644 --- a/generated/googleapis/test/admob/v1_test.dart +++ b/generated/googleapis/test/admob/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/adsense/v2_test.dart b/generated/googleapis/test/adsense/v2_test.dart index eaa4dcc1a..ef14c051e 100644 --- a/generated/googleapis/test/adsense/v2_test.dart +++ b/generated/googleapis/test/adsense/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/adsensehost/v4_1_test.dart b/generated/googleapis/test/adsensehost/v4_1_test.dart index 0c8729ceb..83a800519 100644 --- a/generated/googleapis/test/adsensehost/v4_1_test.dart +++ b/generated/googleapis/test/adsensehost/v4_1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/advisorynotifications/v1_test.dart b/generated/googleapis/test/advisorynotifications/v1_test.dart index acd50a6b2..d57723dd2 100644 --- a/generated/googleapis/test/advisorynotifications/v1_test.dart +++ b/generated/googleapis/test/advisorynotifications/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/aiplatform/v1_test.dart b/generated/googleapis/test/aiplatform/v1_test.dart index a74f07260..b857a0f26 100644 --- a/generated/googleapis/test/aiplatform/v1_test.dart +++ b/generated/googleapis/test/aiplatform/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -4074,7 +4075,10 @@ api.GoogleCloudAiplatformV1DeploymentResourcePool if (buildCounterGoogleCloudAiplatformV1DeploymentResourcePool < 3) { o.createTime = 'foo'; o.dedicatedResources = buildGoogleCloudAiplatformV1DedicatedResources(); + o.disableContainerLogging = true; + o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.name = 'foo'; + o.serviceAccount = 'foo'; } buildCounterGoogleCloudAiplatformV1DeploymentResourcePool--; return o; @@ -4089,10 +4093,16 @@ void checkGoogleCloudAiplatformV1DeploymentResourcePool( unittest.equals('foo'), ); checkGoogleCloudAiplatformV1DedicatedResources(o.dedicatedResources!); + unittest.expect(o.disableContainerLogging!, unittest.isTrue); + checkGoogleCloudAiplatformV1EncryptionSpec(o.encryptionSpec!); unittest.expect( o.name!, unittest.equals('foo'), ); + unittest.expect( + o.serviceAccount!, + unittest.equals('foo'), + ); } buildCounterGoogleCloudAiplatformV1DeploymentResourcePool--; } @@ -7041,6 +7051,7 @@ api.GoogleCloudAiplatformV1FeatureValue o.metadata = buildGoogleCloudAiplatformV1FeatureValueMetadata(); o.stringArrayValue = buildGoogleCloudAiplatformV1StringArray(); o.stringValue = 'foo'; + o.structValue = buildGoogleCloudAiplatformV1StructValue(); } buildCounterGoogleCloudAiplatformV1FeatureValue--; return o; @@ -7072,6 +7083,7 @@ void checkGoogleCloudAiplatformV1FeatureValue( o.stringValue!, unittest.equals('foo'), ); + checkGoogleCloudAiplatformV1StructValue(o.structValue!); } buildCounterGoogleCloudAiplatformV1FeatureValue--; } @@ -8841,7 +8853,6 @@ api.GoogleCloudAiplatformV1GenerationConfig o.maxOutputTokens = 42; o.presencePenalty = 42.0; o.responseMimeType = 'foo'; - o.responseStyle = 'foo'; o.stopSequences = buildUnnamed119(); o.temperature = 42.0; o.topK = 42.0; @@ -8875,10 +8886,6 @@ void checkGoogleCloudAiplatformV1GenerationConfig( o.responseMimeType!, unittest.equals('foo'), ); - unittest.expect( - o.responseStyle!, - unittest.equals('foo'), - ); checkUnnamed119(o.stopSequences!); unittest.expect( o.temperature!, @@ -8920,6 +8927,23 @@ void checkGoogleCloudAiplatformV1GenieSource( buildCounterGoogleCloudAiplatformV1GenieSource--; } +core.int buildCounterGoogleCloudAiplatformV1GoogleSearchRetrieval = 0; +api.GoogleCloudAiplatformV1GoogleSearchRetrieval + buildGoogleCloudAiplatformV1GoogleSearchRetrieval() { + final o = api.GoogleCloudAiplatformV1GoogleSearchRetrieval(); + buildCounterGoogleCloudAiplatformV1GoogleSearchRetrieval++; + if (buildCounterGoogleCloudAiplatformV1GoogleSearchRetrieval < 3) {} + buildCounterGoogleCloudAiplatformV1GoogleSearchRetrieval--; + return o; +} + +void checkGoogleCloudAiplatformV1GoogleSearchRetrieval( + api.GoogleCloudAiplatformV1GoogleSearchRetrieval o) { + buildCounterGoogleCloudAiplatformV1GoogleSearchRetrieval++; + if (buildCounterGoogleCloudAiplatformV1GoogleSearchRetrieval < 3) {} + buildCounterGoogleCloudAiplatformV1GoogleSearchRetrieval--; +} + core.List buildUnnamed120() => [ 'foo', 'foo', @@ -12124,6 +12148,8 @@ api.GoogleCloudAiplatformV1MetadataStore buildCounterGoogleCloudAiplatformV1MetadataStore++; if (buildCounterGoogleCloudAiplatformV1MetadataStore < 3) { o.createTime = 'foo'; + o.dataplexConfig = + buildGoogleCloudAiplatformV1MetadataStoreDataplexConfig(); o.description = 'foo'; o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.name = 'foo'; @@ -12142,6 +12168,7 @@ void checkGoogleCloudAiplatformV1MetadataStore( o.createTime!, unittest.equals('foo'), ); + checkGoogleCloudAiplatformV1MetadataStoreDataplexConfig(o.dataplexConfig!); unittest.expect( o.description!, unittest.equals('foo'), @@ -12160,6 +12187,27 @@ void checkGoogleCloudAiplatformV1MetadataStore( buildCounterGoogleCloudAiplatformV1MetadataStore--; } +core.int buildCounterGoogleCloudAiplatformV1MetadataStoreDataplexConfig = 0; +api.GoogleCloudAiplatformV1MetadataStoreDataplexConfig + buildGoogleCloudAiplatformV1MetadataStoreDataplexConfig() { + final o = api.GoogleCloudAiplatformV1MetadataStoreDataplexConfig(); + buildCounterGoogleCloudAiplatformV1MetadataStoreDataplexConfig++; + if (buildCounterGoogleCloudAiplatformV1MetadataStoreDataplexConfig < 3) { + o.enabledPipelinesLineage = true; + } + buildCounterGoogleCloudAiplatformV1MetadataStoreDataplexConfig--; + return o; +} + +void checkGoogleCloudAiplatformV1MetadataStoreDataplexConfig( + api.GoogleCloudAiplatformV1MetadataStoreDataplexConfig o) { + buildCounterGoogleCloudAiplatformV1MetadataStoreDataplexConfig++; + if (buildCounterGoogleCloudAiplatformV1MetadataStoreDataplexConfig < 3) { + unittest.expect(o.enabledPipelinesLineage!, unittest.isTrue); + } + buildCounterGoogleCloudAiplatformV1MetadataStoreDataplexConfig--; +} + core.int buildCounterGoogleCloudAiplatformV1MetadataStoreMetadataStoreState = 0; api.GoogleCloudAiplatformV1MetadataStoreMetadataStoreState buildGoogleCloudAiplatformV1MetadataStoreMetadataStoreState() { @@ -15221,60 +15269,12 @@ void checkGoogleCloudAiplatformV1NotebookIdleShutdownConfig( buildCounterGoogleCloudAiplatformV1NotebookIdleShutdownConfig--; } -core.List buildUnnamed231() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed231(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 buildCounterGoogleCloudAiplatformV1NotebookReservationAffinity = 0; -api.GoogleCloudAiplatformV1NotebookReservationAffinity - buildGoogleCloudAiplatformV1NotebookReservationAffinity() { - final o = api.GoogleCloudAiplatformV1NotebookReservationAffinity(); - buildCounterGoogleCloudAiplatformV1NotebookReservationAffinity++; - if (buildCounterGoogleCloudAiplatformV1NotebookReservationAffinity < 3) { - o.consumeReservationType = 'foo'; - o.key = 'foo'; - o.values = buildUnnamed231(); - } - buildCounterGoogleCloudAiplatformV1NotebookReservationAffinity--; - return o; -} - -void checkGoogleCloudAiplatformV1NotebookReservationAffinity( - api.GoogleCloudAiplatformV1NotebookReservationAffinity o) { - buildCounterGoogleCloudAiplatformV1NotebookReservationAffinity++; - if (buildCounterGoogleCloudAiplatformV1NotebookReservationAffinity < 3) { - unittest.expect( - o.consumeReservationType!, - unittest.equals('foo'), - ); - unittest.expect( - o.key!, - unittest.equals('foo'), - ); - checkUnnamed231(o.values!); - } - buildCounterGoogleCloudAiplatformV1NotebookReservationAffinity--; -} - -core.Map buildUnnamed232() => { +core.Map buildUnnamed231() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed232(core.Map o) { +void checkUnnamed231(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -15286,12 +15286,12 @@ void checkUnnamed232(core.Map o) { ); } -core.List buildUnnamed233() => [ +core.List buildUnnamed232() => [ 'foo', 'foo', ]; -void checkUnnamed233(core.List o) { +void checkUnnamed232(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15314,16 +15314,16 @@ api.GoogleCloudAiplatformV1NotebookRuntime o.displayName = 'foo'; o.expirationTime = 'foo'; o.healthState = 'foo'; + o.idleShutdownConfig = + buildGoogleCloudAiplatformV1NotebookIdleShutdownConfig(); o.isUpgradable = true; - o.labels = buildUnnamed232(); + o.labels = buildUnnamed231(); o.name = 'foo'; - o.networkTags = buildUnnamed233(); + o.networkTags = buildUnnamed232(); o.notebookRuntimeTemplateRef = buildGoogleCloudAiplatformV1NotebookRuntimeTemplateRef(); o.notebookRuntimeType = 'foo'; o.proxyUri = 'foo'; - o.reservationAffinity = - buildGoogleCloudAiplatformV1NotebookReservationAffinity(); o.runtimeState = 'foo'; o.runtimeUser = 'foo'; o.satisfiesPzi = true; @@ -15360,13 +15360,15 @@ void checkGoogleCloudAiplatformV1NotebookRuntime( o.healthState!, unittest.equals('foo'), ); + checkGoogleCloudAiplatformV1NotebookIdleShutdownConfig( + o.idleShutdownConfig!); unittest.expect(o.isUpgradable!, unittest.isTrue); - checkUnnamed232(o.labels!); + checkUnnamed231(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed233(o.networkTags!); + checkUnnamed232(o.networkTags!); checkGoogleCloudAiplatformV1NotebookRuntimeTemplateRef( o.notebookRuntimeTemplateRef!); unittest.expect( @@ -15377,8 +15379,6 @@ void checkGoogleCloudAiplatformV1NotebookRuntime( o.proxyUri!, unittest.equals('foo'), ); - checkGoogleCloudAiplatformV1NotebookReservationAffinity( - o.reservationAffinity!); unittest.expect( o.runtimeState!, unittest.equals('foo'), @@ -15405,12 +15405,12 @@ void checkGoogleCloudAiplatformV1NotebookRuntime( buildCounterGoogleCloudAiplatformV1NotebookRuntime--; } -core.Map buildUnnamed234() => { +core.Map buildUnnamed233() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed234(core.Map o) { +void checkUnnamed233(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -15422,12 +15422,12 @@ void checkUnnamed234(core.Map o) { ); } -core.List buildUnnamed235() => [ +core.List buildUnnamed234() => [ 'foo', 'foo', ]; -void checkUnnamed235(core.List o) { +void checkUnnamed234(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15449,19 +15449,18 @@ api.GoogleCloudAiplatformV1NotebookRuntimeTemplate o.dataPersistentDiskSpec = buildGoogleCloudAiplatformV1PersistentDiskSpec(); o.description = 'foo'; o.displayName = 'foo'; + o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.etag = 'foo'; o.eucConfig = buildGoogleCloudAiplatformV1NotebookEucConfig(); o.idleShutdownConfig = buildGoogleCloudAiplatformV1NotebookIdleShutdownConfig(); o.isDefault = true; - o.labels = buildUnnamed234(); + o.labels = buildUnnamed233(); o.machineSpec = buildGoogleCloudAiplatformV1MachineSpec(); o.name = 'foo'; o.networkSpec = buildGoogleCloudAiplatformV1NetworkSpec(); - o.networkTags = buildUnnamed235(); + o.networkTags = buildUnnamed234(); o.notebookRuntimeType = 'foo'; - o.reservationAffinity = - buildGoogleCloudAiplatformV1NotebookReservationAffinity(); o.serviceAccount = 'foo'; o.shieldedVmConfig = buildGoogleCloudAiplatformV1ShieldedVmConfig(); o.updateTime = 'foo'; @@ -15487,6 +15486,7 @@ void checkGoogleCloudAiplatformV1NotebookRuntimeTemplate( o.displayName!, unittest.equals('foo'), ); + checkGoogleCloudAiplatformV1EncryptionSpec(o.encryptionSpec!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -15495,20 +15495,18 @@ void checkGoogleCloudAiplatformV1NotebookRuntimeTemplate( checkGoogleCloudAiplatformV1NotebookIdleShutdownConfig( o.idleShutdownConfig!); unittest.expect(o.isDefault!, unittest.isTrue); - checkUnnamed234(o.labels!); + checkUnnamed233(o.labels!); checkGoogleCloudAiplatformV1MachineSpec(o.machineSpec!); unittest.expect( o.name!, unittest.equals('foo'), ); checkGoogleCloudAiplatformV1NetworkSpec(o.networkSpec!); - checkUnnamed235(o.networkTags!); + checkUnnamed234(o.networkTags!); unittest.expect( o.notebookRuntimeType!, unittest.equals('foo'), ); - checkGoogleCloudAiplatformV1NotebookReservationAffinity( - o.reservationAffinity!); unittest.expect( o.serviceAccount!, unittest.equals('foo'), @@ -15646,12 +15644,12 @@ void checkGoogleCloudAiplatformV1PersistentDiskSpec( buildCounterGoogleCloudAiplatformV1PersistentDiskSpec--; } -core.Map buildUnnamed236() => { +core.Map buildUnnamed235() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed236(core.Map o) { +void checkUnnamed235(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -15663,12 +15661,12 @@ void checkUnnamed236(core.Map o) { ); } -core.List buildUnnamed237() => [ +core.List buildUnnamed236() => [ 'foo', 'foo', ]; -void checkUnnamed237(core.List o) { +void checkUnnamed236(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15680,12 +15678,12 @@ void checkUnnamed237(core.List o) { ); } -core.List buildUnnamed238() => [ +core.List buildUnnamed237() => [ buildGoogleCloudAiplatformV1ResourcePool(), buildGoogleCloudAiplatformV1ResourcePool(), ]; -void checkUnnamed238(core.List o) { +void checkUnnamed237(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ResourcePool(o[0]); checkGoogleCloudAiplatformV1ResourcePool(o[1]); @@ -15701,11 +15699,11 @@ api.GoogleCloudAiplatformV1PersistentResource o.displayName = 'foo'; o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.error = buildGoogleRpcStatus(); - o.labels = buildUnnamed236(); + o.labels = buildUnnamed235(); o.name = 'foo'; o.network = 'foo'; - o.reservedIpRanges = buildUnnamed237(); - o.resourcePools = buildUnnamed238(); + o.reservedIpRanges = buildUnnamed236(); + o.resourcePools = buildUnnamed237(); o.resourceRuntime = buildGoogleCloudAiplatformV1ResourceRuntime(); o.resourceRuntimeSpec = buildGoogleCloudAiplatformV1ResourceRuntimeSpec(); o.startTime = 'foo'; @@ -15730,7 +15728,7 @@ void checkGoogleCloudAiplatformV1PersistentResource( ); checkGoogleCloudAiplatformV1EncryptionSpec(o.encryptionSpec!); checkGoogleRpcStatus(o.error!); - checkUnnamed236(o.labels!); + checkUnnamed235(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -15739,8 +15737,8 @@ void checkGoogleCloudAiplatformV1PersistentResource( o.network!, unittest.equals('foo'), ); - checkUnnamed237(o.reservedIpRanges!); - checkUnnamed238(o.resourcePools!); + checkUnnamed236(o.reservedIpRanges!); + checkUnnamed237(o.resourcePools!); checkGoogleCloudAiplatformV1ResourceRuntime(o.resourceRuntime!); checkGoogleCloudAiplatformV1ResourceRuntimeSpec(o.resourceRuntimeSpec!); unittest.expect( @@ -15759,12 +15757,12 @@ void checkGoogleCloudAiplatformV1PersistentResource( buildCounterGoogleCloudAiplatformV1PersistentResource--; } -core.Map buildUnnamed239() => { +core.Map buildUnnamed238() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed239(core.Map o) { +void checkUnnamed238(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -15776,7 +15774,7 @@ void checkUnnamed239(core.Map o) { ); } -core.Map buildUnnamed240() => { +core.Map buildUnnamed239() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -15789,7 +15787,7 @@ core.Map buildUnnamed240() => { }, }; -void checkUnnamed240(core.Map o) { +void checkUnnamed239(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted52 = (o['x']!) as core.Map; unittest.expect(casted52, unittest.hasLength(3)); @@ -15821,12 +15819,12 @@ void checkUnnamed240(core.Map o) { ); } -core.List buildUnnamed241() => [ +core.List buildUnnamed240() => [ 'foo', 'foo', ]; -void checkUnnamed241(core.List o) { +void checkUnnamed240(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15850,11 +15848,11 @@ api.GoogleCloudAiplatformV1PipelineJob o.endTime = 'foo'; o.error = buildGoogleRpcStatus(); o.jobDetail = buildGoogleCloudAiplatformV1PipelineJobDetail(); - o.labels = buildUnnamed239(); + o.labels = buildUnnamed238(); o.name = 'foo'; o.network = 'foo'; - o.pipelineSpec = buildUnnamed240(); - o.reservedIpRanges = buildUnnamed241(); + o.pipelineSpec = buildUnnamed239(); + o.reservedIpRanges = buildUnnamed240(); o.runtimeConfig = buildGoogleCloudAiplatformV1PipelineJobRuntimeConfig(); o.scheduleName = 'foo'; o.serviceAccount = 'foo'; @@ -15887,7 +15885,7 @@ void checkGoogleCloudAiplatformV1PipelineJob( ); checkGoogleRpcStatus(o.error!); checkGoogleCloudAiplatformV1PipelineJobDetail(o.jobDetail!); - checkUnnamed239(o.labels!); + checkUnnamed238(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -15896,8 +15894,8 @@ void checkGoogleCloudAiplatformV1PipelineJob( o.network!, unittest.equals('foo'), ); - checkUnnamed240(o.pipelineSpec!); - checkUnnamed241(o.reservedIpRanges!); + checkUnnamed239(o.pipelineSpec!); + checkUnnamed240(o.reservedIpRanges!); checkGoogleCloudAiplatformV1PipelineJobRuntimeConfig(o.runtimeConfig!); unittest.expect( o.scheduleName!, @@ -15928,12 +15926,12 @@ void checkGoogleCloudAiplatformV1PipelineJob( buildCounterGoogleCloudAiplatformV1PipelineJob--; } -core.List buildUnnamed242() => [ +core.List buildUnnamed241() => [ buildGoogleCloudAiplatformV1PipelineTaskDetail(), buildGoogleCloudAiplatformV1PipelineTaskDetail(), ]; -void checkUnnamed242( +void checkUnnamed241( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1PipelineTaskDetail(o[0]); @@ -15948,7 +15946,7 @@ api.GoogleCloudAiplatformV1PipelineJobDetail if (buildCounterGoogleCloudAiplatformV1PipelineJobDetail < 3) { o.pipelineContext = buildGoogleCloudAiplatformV1Context(); o.pipelineRunContext = buildGoogleCloudAiplatformV1Context(); - o.taskDetails = buildUnnamed242(); + o.taskDetails = buildUnnamed241(); } buildCounterGoogleCloudAiplatformV1PipelineJobDetail--; return o; @@ -15960,21 +15958,21 @@ void checkGoogleCloudAiplatformV1PipelineJobDetail( if (buildCounterGoogleCloudAiplatformV1PipelineJobDetail < 3) { checkGoogleCloudAiplatformV1Context(o.pipelineContext!); checkGoogleCloudAiplatformV1Context(o.pipelineRunContext!); - checkUnnamed242(o.taskDetails!); + checkUnnamed241(o.taskDetails!); } buildCounterGoogleCloudAiplatformV1PipelineJobDetail--; } core.Map - buildUnnamed243() => { + buildUnnamed242() => { 'x': buildGoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact(), 'y': buildGoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact(), }; -void checkUnnamed243( +void checkUnnamed242( core.Map o) { @@ -15983,7 +15981,7 @@ void checkUnnamed243( checkGoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact(o['y']!); } -core.Map buildUnnamed244() => { +core.Map buildUnnamed243() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -15996,7 +15994,7 @@ core.Map buildUnnamed244() => { }, }; -void checkUnnamed244(core.Map o) { +void checkUnnamed243(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted54 = (o['x']!) as core.Map; unittest.expect(casted54, unittest.hasLength(3)); @@ -16028,12 +16026,12 @@ void checkUnnamed244(core.Map o) { ); } -core.Map buildUnnamed245() => { +core.Map buildUnnamed244() => { 'x': buildGoogleCloudAiplatformV1Value(), 'y': buildGoogleCloudAiplatformV1Value(), }; -void checkUnnamed245( +void checkUnnamed244( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Value(o['x']!); @@ -16048,9 +16046,9 @@ api.GoogleCloudAiplatformV1PipelineJobRuntimeConfig if (buildCounterGoogleCloudAiplatformV1PipelineJobRuntimeConfig < 3) { o.failurePolicy = 'foo'; o.gcsOutputDirectory = 'foo'; - o.inputArtifacts = buildUnnamed243(); - o.parameterValues = buildUnnamed244(); - o.parameters = buildUnnamed245(); + o.inputArtifacts = buildUnnamed242(); + o.parameterValues = buildUnnamed243(); + o.parameters = buildUnnamed244(); } buildCounterGoogleCloudAiplatformV1PipelineJobRuntimeConfig--; return o; @@ -16068,9 +16066,9 @@ void checkGoogleCloudAiplatformV1PipelineJobRuntimeConfig( o.gcsOutputDirectory!, unittest.equals('foo'), ); - checkUnnamed243(o.inputArtifacts!); - checkUnnamed244(o.parameterValues!); - checkUnnamed245(o.parameters!); + checkUnnamed242(o.inputArtifacts!); + checkUnnamed243(o.parameterValues!); + checkUnnamed244(o.parameters!); } buildCounterGoogleCloudAiplatformV1PipelineJobRuntimeConfig--; } @@ -16104,12 +16102,12 @@ void checkGoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact( } core.Map - buildUnnamed246() => { + buildUnnamed245() => { 'x': buildGoogleCloudAiplatformV1PipelineTaskDetailArtifactList(), 'y': buildGoogleCloudAiplatformV1PipelineTaskDetailArtifactList(), }; -void checkUnnamed246( +void checkUnnamed245( core.Map o) { @@ -16119,12 +16117,12 @@ void checkUnnamed246( } core.Map - buildUnnamed247() => { + buildUnnamed246() => { 'x': buildGoogleCloudAiplatformV1PipelineTaskDetailArtifactList(), 'y': buildGoogleCloudAiplatformV1PipelineTaskDetailArtifactList(), }; -void checkUnnamed247( +void checkUnnamed246( core.Map o) { @@ -16134,12 +16132,12 @@ void checkUnnamed247( } core.List - buildUnnamed248() => [ + buildUnnamed247() => [ buildGoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus(), buildGoogleCloudAiplatformV1PipelineTaskDetailPipelineTaskStatus(), ]; -void checkUnnamed248( +void checkUnnamed247( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -16158,10 +16156,10 @@ api.GoogleCloudAiplatformV1PipelineTaskDetail o.error = buildGoogleRpcStatus(); o.execution = buildGoogleCloudAiplatformV1Execution(); o.executorDetail = buildGoogleCloudAiplatformV1PipelineTaskExecutorDetail(); - o.inputs = buildUnnamed246(); - o.outputs = buildUnnamed247(); + o.inputs = buildUnnamed245(); + o.outputs = buildUnnamed246(); o.parentTaskId = 'foo'; - o.pipelineTaskStatus = buildUnnamed248(); + o.pipelineTaskStatus = buildUnnamed247(); o.startTime = 'foo'; o.state = 'foo'; o.taskId = 'foo'; @@ -16186,13 +16184,13 @@ void checkGoogleCloudAiplatformV1PipelineTaskDetail( checkGoogleRpcStatus(o.error!); checkGoogleCloudAiplatformV1Execution(o.execution!); checkGoogleCloudAiplatformV1PipelineTaskExecutorDetail(o.executorDetail!); - checkUnnamed246(o.inputs!); - checkUnnamed247(o.outputs!); + checkUnnamed245(o.inputs!); + checkUnnamed246(o.outputs!); unittest.expect( o.parentTaskId!, unittest.equals('foo'), ); - checkUnnamed248(o.pipelineTaskStatus!); + checkUnnamed247(o.pipelineTaskStatus!); unittest.expect( o.startTime!, unittest.equals('foo'), @@ -16213,12 +16211,12 @@ void checkGoogleCloudAiplatformV1PipelineTaskDetail( buildCounterGoogleCloudAiplatformV1PipelineTaskDetail--; } -core.List buildUnnamed249() => [ +core.List buildUnnamed248() => [ buildGoogleCloudAiplatformV1Artifact(), buildGoogleCloudAiplatformV1Artifact(), ]; -void checkUnnamed249(core.List o) { +void checkUnnamed248(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Artifact(o[0]); checkGoogleCloudAiplatformV1Artifact(o[1]); @@ -16230,7 +16228,7 @@ api.GoogleCloudAiplatformV1PipelineTaskDetailArtifactList final o = api.GoogleCloudAiplatformV1PipelineTaskDetailArtifactList(); buildCounterGoogleCloudAiplatformV1PipelineTaskDetailArtifactList++; if (buildCounterGoogleCloudAiplatformV1PipelineTaskDetailArtifactList < 3) { - o.artifacts = buildUnnamed249(); + o.artifacts = buildUnnamed248(); } buildCounterGoogleCloudAiplatformV1PipelineTaskDetailArtifactList--; return o; @@ -16240,7 +16238,7 @@ void checkGoogleCloudAiplatformV1PipelineTaskDetailArtifactList( api.GoogleCloudAiplatformV1PipelineTaskDetailArtifactList o) { buildCounterGoogleCloudAiplatformV1PipelineTaskDetailArtifactList++; if (buildCounterGoogleCloudAiplatformV1PipelineTaskDetailArtifactList < 3) { - checkUnnamed249(o.artifacts!); + checkUnnamed248(o.artifacts!); } buildCounterGoogleCloudAiplatformV1PipelineTaskDetailArtifactList--; } @@ -16306,12 +16304,12 @@ void checkGoogleCloudAiplatformV1PipelineTaskExecutorDetail( buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetail--; } -core.List buildUnnamed250() => [ +core.List buildUnnamed249() => [ 'foo', 'foo', ]; -void checkUnnamed250(core.List o) { +void checkUnnamed249(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16323,12 +16321,12 @@ void checkUnnamed250(core.List o) { ); } -core.List buildUnnamed251() => [ +core.List buildUnnamed250() => [ 'foo', 'foo', ]; -void checkUnnamed251(core.List o) { +void checkUnnamed250(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16350,8 +16348,8 @@ api.GoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail++; if (buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail < 3) { - o.failedMainJobs = buildUnnamed250(); - o.failedPreCachingCheckJobs = buildUnnamed251(); + o.failedMainJobs = buildUnnamed249(); + o.failedPreCachingCheckJobs = buildUnnamed250(); o.mainJob = 'foo'; o.preCachingCheckJob = 'foo'; } @@ -16364,8 +16362,8 @@ void checkGoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail( buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail++; if (buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail < 3) { - checkUnnamed250(o.failedMainJobs!); - checkUnnamed251(o.failedPreCachingCheckJobs!); + checkUnnamed249(o.failedMainJobs!); + checkUnnamed250(o.failedPreCachingCheckJobs!); unittest.expect( o.mainJob!, unittest.equals('foo'), @@ -16378,12 +16376,12 @@ void checkGoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail( buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailContainerDetail--; } -core.List buildUnnamed252() => [ +core.List buildUnnamed251() => [ 'foo', 'foo', ]; -void checkUnnamed252(core.List o) { +void checkUnnamed251(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16405,7 +16403,7 @@ api.GoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail++; if (buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail < 3) { - o.failedJobs = buildUnnamed252(); + o.failedJobs = buildUnnamed251(); o.job = 'foo'; } buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail--; @@ -16417,7 +16415,7 @@ void checkGoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail( buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail++; if (buildCounterGoogleCloudAiplatformV1PipelineTaskExecutorDetailCustomJobDetail < 3) { - checkUnnamed252(o.failedJobs!); + checkUnnamed251(o.failedJobs!); unittest.expect( o.job!, unittest.equals('foo'), @@ -16496,7 +16494,7 @@ void checkGoogleCloudAiplatformV1PredefinedSplit( buildCounterGoogleCloudAiplatformV1PredefinedSplit--; } -core.List buildUnnamed253() => [ +core.List buildUnnamed252() => [ { 'list': [1, 2, 3], 'bool': true, @@ -16509,7 +16507,7 @@ core.List buildUnnamed253() => [ }, ]; -void checkUnnamed253(core.List o) { +void checkUnnamed252(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted56 = (o[0]) as core.Map; unittest.expect(casted56, unittest.hasLength(3)); @@ -16547,7 +16545,7 @@ api.GoogleCloudAiplatformV1PredictRequest final o = api.GoogleCloudAiplatformV1PredictRequest(); buildCounterGoogleCloudAiplatformV1PredictRequest++; if (buildCounterGoogleCloudAiplatformV1PredictRequest < 3) { - o.instances = buildUnnamed253(); + o.instances = buildUnnamed252(); o.parameters = { 'list': [1, 2, 3], 'bool': true, @@ -16562,7 +16560,7 @@ void checkGoogleCloudAiplatformV1PredictRequest( api.GoogleCloudAiplatformV1PredictRequest o) { buildCounterGoogleCloudAiplatformV1PredictRequest++; if (buildCounterGoogleCloudAiplatformV1PredictRequest < 3) { - checkUnnamed253(o.instances!); + checkUnnamed252(o.instances!); var casted58 = (o.parameters!) as core.Map; unittest.expect(casted58, unittest.hasLength(3)); unittest.expect( @@ -16612,7 +16610,7 @@ void checkGoogleCloudAiplatformV1PredictRequestResponseLoggingConfig( buildCounterGoogleCloudAiplatformV1PredictRequestResponseLoggingConfig--; } -core.List buildUnnamed254() => [ +core.List buildUnnamed253() => [ { 'list': [1, 2, 3], 'bool': true, @@ -16625,7 +16623,7 @@ core.List buildUnnamed254() => [ }, ]; -void checkUnnamed254(core.List o) { +void checkUnnamed253(core.List o) { unittest.expect(o, unittest.hasLength(2)); var casted59 = (o[0]) as core.Map; unittest.expect(casted59, unittest.hasLength(3)); @@ -16672,7 +16670,7 @@ api.GoogleCloudAiplatformV1PredictResponse o.model = 'foo'; o.modelDisplayName = 'foo'; o.modelVersionId = 'foo'; - o.predictions = buildUnnamed254(); + o.predictions = buildUnnamed253(); } buildCounterGoogleCloudAiplatformV1PredictResponse--; return o; @@ -16712,7 +16710,7 @@ void checkGoogleCloudAiplatformV1PredictResponse( o.modelVersionId!, unittest.equals('foo'), ); - checkUnnamed254(o.predictions!); + checkUnnamed253(o.predictions!); } buildCounterGoogleCloudAiplatformV1PredictResponse--; } @@ -16817,12 +16815,12 @@ void checkGoogleCloudAiplatformV1PrivateEndpoints( buildCounterGoogleCloudAiplatformV1PrivateEndpoints--; } -core.List buildUnnamed255() => [ +core.List buildUnnamed254() => [ 'foo', 'foo', ]; -void checkUnnamed255(core.List o) { +void checkUnnamed254(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16841,7 +16839,7 @@ api.GoogleCloudAiplatformV1PrivateServiceConnectConfig buildCounterGoogleCloudAiplatformV1PrivateServiceConnectConfig++; if (buildCounterGoogleCloudAiplatformV1PrivateServiceConnectConfig < 3) { o.enablePrivateServiceConnect = true; - o.projectAllowlist = buildUnnamed255(); + o.projectAllowlist = buildUnnamed254(); } buildCounterGoogleCloudAiplatformV1PrivateServiceConnectConfig--; return o; @@ -16852,7 +16850,7 @@ void checkGoogleCloudAiplatformV1PrivateServiceConnectConfig( buildCounterGoogleCloudAiplatformV1PrivateServiceConnectConfig++; if (buildCounterGoogleCloudAiplatformV1PrivateServiceConnectConfig < 3) { unittest.expect(o.enablePrivateServiceConnect!, unittest.isTrue); - checkUnnamed255(o.projectAllowlist!); + checkUnnamed254(o.projectAllowlist!); } buildCounterGoogleCloudAiplatformV1PrivateServiceConnectConfig--; } @@ -16886,12 +16884,12 @@ void checkGoogleCloudAiplatformV1Probe(api.GoogleCloudAiplatformV1Probe o) { buildCounterGoogleCloudAiplatformV1Probe--; } -core.List buildUnnamed256() => [ +core.List buildUnnamed255() => [ 'foo', 'foo', ]; -void checkUnnamed256(core.List o) { +void checkUnnamed255(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16909,7 +16907,7 @@ api.GoogleCloudAiplatformV1ProbeExecAction final o = api.GoogleCloudAiplatformV1ProbeExecAction(); buildCounterGoogleCloudAiplatformV1ProbeExecAction++; if (buildCounterGoogleCloudAiplatformV1ProbeExecAction < 3) { - o.command = buildUnnamed256(); + o.command = buildUnnamed255(); } buildCounterGoogleCloudAiplatformV1ProbeExecAction--; return o; @@ -16919,7 +16917,7 @@ void checkGoogleCloudAiplatformV1ProbeExecAction( api.GoogleCloudAiplatformV1ProbeExecAction o) { buildCounterGoogleCloudAiplatformV1ProbeExecAction++; if (buildCounterGoogleCloudAiplatformV1ProbeExecAction < 3) { - checkUnnamed256(o.command!); + checkUnnamed255(o.command!); } buildCounterGoogleCloudAiplatformV1ProbeExecAction--; } @@ -16958,12 +16956,12 @@ void checkGoogleCloudAiplatformV1PscAutomatedEndpoints( buildCounterGoogleCloudAiplatformV1PscAutomatedEndpoints--; } -core.List buildUnnamed257() => [ +core.List buildUnnamed256() => [ 'foo', 'foo', ]; -void checkUnnamed257(core.List o) { +void checkUnnamed256(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16981,7 +16979,7 @@ api.GoogleCloudAiplatformV1PublisherModel final o = api.GoogleCloudAiplatformV1PublisherModel(); buildCounterGoogleCloudAiplatformV1PublisherModel++; if (buildCounterGoogleCloudAiplatformV1PublisherModel < 3) { - o.frameworks = buildUnnamed257(); + o.frameworks = buildUnnamed256(); o.launchStage = 'foo'; o.name = 'foo'; o.openSourceCategory = 'foo'; @@ -17000,7 +16998,7 @@ void checkGoogleCloudAiplatformV1PublisherModel( api.GoogleCloudAiplatformV1PublisherModel o) { buildCounterGoogleCloudAiplatformV1PublisherModel++; if (buildCounterGoogleCloudAiplatformV1PublisherModel < 3) { - checkUnnamed257(o.frameworks!); + checkUnnamed256(o.frameworks!); unittest.expect( o.launchStage!, unittest.equals('foo'), @@ -17162,12 +17160,12 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionDeploy( buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeploy--; } -core.List buildUnnamed258() => [ +core.List buildUnnamed257() => [ 'foo', 'foo', ]; -void checkUnnamed258(core.List o) { +void checkUnnamed257(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -17187,7 +17185,7 @@ api.GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke < 3) { - o.gkeYamlConfigs = buildUnnamed258(); + o.gkeYamlConfigs = buildUnnamed257(); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke--; return o; @@ -17198,7 +17196,7 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke( buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke < 3) { - checkUnnamed258(o.gkeYamlConfigs!); + checkUnnamed257(o.gkeYamlConfigs!); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke--; } @@ -17206,12 +17204,12 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionDeployGke( core.List< api .GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences> - buildUnnamed259() => [ + buildUnnamed258() => [ buildGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences(), buildGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences(), ]; -void checkUnnamed259( +void checkUnnamed258( core.List< api .GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences> @@ -17233,7 +17231,7 @@ api.GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines < 3) { - o.fineTuningPipelines = buildUnnamed259(); + o.fineTuningPipelines = buildUnnamed258(); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines--; return o; @@ -17245,7 +17243,7 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelin buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines < 3) { - checkUnnamed259(o.fineTuningPipelines!); + checkUnnamed258(o.fineTuningPipelines!); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines--; } @@ -17253,12 +17251,12 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelin core.List< api .GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences> - buildUnnamed260() => [ + buildUnnamed259() => [ buildGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences(), buildGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences(), ]; -void checkUnnamed260( +void checkUnnamed259( core.List< api .GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences> @@ -17280,7 +17278,7 @@ api.GoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks < 3) { - o.notebooks = buildUnnamed260(); + o.notebooks = buildUnnamed259(); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks--; return o; @@ -17291,19 +17289,19 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks( buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks < 3) { - checkUnnamed260(o.notebooks!); + checkUnnamed259(o.notebooks!); } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionOpenNotebooks--; } core.Map - buildUnnamed261() => { + buildUnnamed260() => { 'x': buildGoogleCloudAiplatformV1PublisherModelResourceReference(), 'y': buildGoogleCloudAiplatformV1PublisherModelResourceReference(), }; -void checkUnnamed261( +void checkUnnamed260( core.Map o) { @@ -17322,7 +17320,7 @@ api.GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences < 3) { - o.references = buildUnnamed261(); + o.references = buildUnnamed260(); o.resourceDescription = 'foo'; o.resourceTitle = 'foo'; o.resourceUseCase = 'foo'; @@ -17338,7 +17336,7 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceRefer buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences < 3) { - checkUnnamed261(o.references!); + checkUnnamed260(o.references!); unittest.expect( o.resourceDescription!, unittest.equals('foo'), @@ -17360,12 +17358,12 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceRefer } core.List - buildUnnamed262() => [ + buildUnnamed261() => [ buildGoogleCloudAiplatformV1PublisherModelDocumentation(), buildGoogleCloudAiplatformV1PublisherModelDocumentation(), ]; -void checkUnnamed262( +void checkUnnamed261( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1PublisherModelDocumentation(o[0]); @@ -17381,7 +17379,7 @@ api.GoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi < 3) { - o.documentations = buildUnnamed262(); + o.documentations = buildUnnamed261(); o.title = 'foo'; } buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi--; @@ -17393,7 +17391,7 @@ void checkGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi( buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi++; if (buildCounterGoogleCloudAiplatformV1PublisherModelCallToActionViewRestApi < 3) { - checkUnnamed262(o.documentations!); + checkUnnamed261(o.documentations!); unittest.expect( o.title!, unittest.equals('foo'), @@ -17548,12 +17546,12 @@ void checkGoogleCloudAiplatformV1PurgeExecutionsRequest( buildCounterGoogleCloudAiplatformV1PurgeExecutionsRequest--; } -core.List buildUnnamed263() => [ +core.List buildUnnamed262() => [ 'foo', 'foo', ]; -void checkUnnamed263(core.List o) { +void checkUnnamed262(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -17565,23 +17563,23 @@ void checkUnnamed263(core.List o) { ); } -core.List buildUnnamed264() => [ +core.List buildUnnamed263() => [ buildGoogleCloudAiplatformV1EnvVar(), buildGoogleCloudAiplatformV1EnvVar(), ]; -void checkUnnamed264(core.List o) { +void checkUnnamed263(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1EnvVar(o[0]); checkGoogleCloudAiplatformV1EnvVar(o[1]); } -core.List buildUnnamed265() => [ +core.List buildUnnamed264() => [ 'foo', 'foo', ]; -void checkUnnamed265(core.List o) { +void checkUnnamed264(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -17599,10 +17597,10 @@ api.GoogleCloudAiplatformV1PythonPackageSpec final o = api.GoogleCloudAiplatformV1PythonPackageSpec(); buildCounterGoogleCloudAiplatformV1PythonPackageSpec++; if (buildCounterGoogleCloudAiplatformV1PythonPackageSpec < 3) { - o.args = buildUnnamed263(); - o.env = buildUnnamed264(); + o.args = buildUnnamed262(); + o.env = buildUnnamed263(); o.executorImageUri = 'foo'; - o.packageUris = buildUnnamed265(); + o.packageUris = buildUnnamed264(); o.pythonModule = 'foo'; } buildCounterGoogleCloudAiplatformV1PythonPackageSpec--; @@ -17613,13 +17611,13 @@ void checkGoogleCloudAiplatformV1PythonPackageSpec( api.GoogleCloudAiplatformV1PythonPackageSpec o) { buildCounterGoogleCloudAiplatformV1PythonPackageSpec++; if (buildCounterGoogleCloudAiplatformV1PythonPackageSpec < 3) { - checkUnnamed263(o.args!); - checkUnnamed264(o.env!); + checkUnnamed262(o.args!); + checkUnnamed263(o.env!); unittest.expect( o.executorImageUri!, unittest.equals('foo'), ); - checkUnnamed265(o.packageUris!); + checkUnnamed264(o.packageUris!); unittest.expect( o.pythonModule!, unittest.equals('foo'), @@ -17628,23 +17626,23 @@ void checkGoogleCloudAiplatformV1PythonPackageSpec( buildCounterGoogleCloudAiplatformV1PythonPackageSpec--; } -core.List buildUnnamed266() => [ +core.List buildUnnamed265() => [ buildGoogleCloudAiplatformV1DeployedModelRef(), buildGoogleCloudAiplatformV1DeployedModelRef(), ]; -void checkUnnamed266(core.List o) { +void checkUnnamed265(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DeployedModelRef(o[0]); checkGoogleCloudAiplatformV1DeployedModelRef(o[1]); } -core.List buildUnnamed267() => [ +core.List buildUnnamed266() => [ buildGoogleCloudAiplatformV1DeployedModel(), buildGoogleCloudAiplatformV1DeployedModel(), ]; -void checkUnnamed267(core.List o) { +void checkUnnamed266(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DeployedModel(o[0]); checkGoogleCloudAiplatformV1DeployedModel(o[1]); @@ -17656,8 +17654,8 @@ api.GoogleCloudAiplatformV1QueryDeployedModelsResponse final o = api.GoogleCloudAiplatformV1QueryDeployedModelsResponse(); buildCounterGoogleCloudAiplatformV1QueryDeployedModelsResponse++; if (buildCounterGoogleCloudAiplatformV1QueryDeployedModelsResponse < 3) { - o.deployedModelRefs = buildUnnamed266(); - o.deployedModels = buildUnnamed267(); + o.deployedModelRefs = buildUnnamed265(); + o.deployedModels = buildUnnamed266(); o.nextPageToken = 'foo'; o.totalDeployedModelCount = 42; o.totalEndpointCount = 42; @@ -17670,8 +17668,8 @@ void checkGoogleCloudAiplatformV1QueryDeployedModelsResponse( api.GoogleCloudAiplatformV1QueryDeployedModelsResponse o) { buildCounterGoogleCloudAiplatformV1QueryDeployedModelsResponse++; if (buildCounterGoogleCloudAiplatformV1QueryDeployedModelsResponse < 3) { - checkUnnamed266(o.deployedModelRefs!); - checkUnnamed267(o.deployedModels!); + checkUnnamed265(o.deployedModelRefs!); + checkUnnamed266(o.deployedModels!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -17709,18 +17707,72 @@ void checkGoogleCloudAiplatformV1RawPredictRequest( buildCounterGoogleCloudAiplatformV1RawPredictRequest--; } +core.int buildCounterGoogleCloudAiplatformV1RayMetricSpec = 0; +api.GoogleCloudAiplatformV1RayMetricSpec + buildGoogleCloudAiplatformV1RayMetricSpec() { + final o = api.GoogleCloudAiplatformV1RayMetricSpec(); + buildCounterGoogleCloudAiplatformV1RayMetricSpec++; + if (buildCounterGoogleCloudAiplatformV1RayMetricSpec < 3) { + o.disabled = true; + } + buildCounterGoogleCloudAiplatformV1RayMetricSpec--; + return o; +} + +void checkGoogleCloudAiplatformV1RayMetricSpec( + api.GoogleCloudAiplatformV1RayMetricSpec o) { + buildCounterGoogleCloudAiplatformV1RayMetricSpec++; + if (buildCounterGoogleCloudAiplatformV1RayMetricSpec < 3) { + unittest.expect(o.disabled!, unittest.isTrue); + } + buildCounterGoogleCloudAiplatformV1RayMetricSpec--; +} + +core.Map buildUnnamed267() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed267(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 buildCounterGoogleCloudAiplatformV1RaySpec = 0; api.GoogleCloudAiplatformV1RaySpec buildGoogleCloudAiplatformV1RaySpec() { final o = api.GoogleCloudAiplatformV1RaySpec(); buildCounterGoogleCloudAiplatformV1RaySpec++; - if (buildCounterGoogleCloudAiplatformV1RaySpec < 3) {} + if (buildCounterGoogleCloudAiplatformV1RaySpec < 3) { + o.headNodeResourcePoolId = 'foo'; + o.imageUri = 'foo'; + o.rayMetricSpec = buildGoogleCloudAiplatformV1RayMetricSpec(); + o.resourcePoolImages = buildUnnamed267(); + } buildCounterGoogleCloudAiplatformV1RaySpec--; return o; } void checkGoogleCloudAiplatformV1RaySpec(api.GoogleCloudAiplatformV1RaySpec o) { buildCounterGoogleCloudAiplatformV1RaySpec++; - if (buildCounterGoogleCloudAiplatformV1RaySpec < 3) {} + if (buildCounterGoogleCloudAiplatformV1RaySpec < 3) { + unittest.expect( + o.headNodeResourcePoolId!, + unittest.equals('foo'), + ); + unittest.expect( + o.imageUri!, + unittest.equals('foo'), + ); + checkGoogleCloudAiplatformV1RayMetricSpec(o.rayMetricSpec!); + checkUnnamed267(o.resourcePoolImages!); + } buildCounterGoogleCloudAiplatformV1RaySpec--; } @@ -18396,12 +18448,31 @@ void checkGoogleCloudAiplatformV1ResourcePoolAutoscalingSpec( buildCounterGoogleCloudAiplatformV1ResourcePoolAutoscalingSpec--; } +core.Map buildUnnamed277() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed277(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 buildCounterGoogleCloudAiplatformV1ResourceRuntime = 0; api.GoogleCloudAiplatformV1ResourceRuntime buildGoogleCloudAiplatformV1ResourceRuntime() { final o = api.GoogleCloudAiplatformV1ResourceRuntime(); buildCounterGoogleCloudAiplatformV1ResourceRuntime++; - if (buildCounterGoogleCloudAiplatformV1ResourceRuntime < 3) {} + if (buildCounterGoogleCloudAiplatformV1ResourceRuntime < 3) { + o.accessUris = buildUnnamed277(); + } buildCounterGoogleCloudAiplatformV1ResourceRuntime--; return o; } @@ -18409,7 +18480,9 @@ api.GoogleCloudAiplatformV1ResourceRuntime void checkGoogleCloudAiplatformV1ResourceRuntime( api.GoogleCloudAiplatformV1ResourceRuntime o) { buildCounterGoogleCloudAiplatformV1ResourceRuntime++; - if (buildCounterGoogleCloudAiplatformV1ResourceRuntime < 3) {} + if (buildCounterGoogleCloudAiplatformV1ResourceRuntime < 3) { + checkUnnamed277(o.accessUris!); + } buildCounterGoogleCloudAiplatformV1ResourceRuntime--; } @@ -18970,12 +19043,12 @@ void checkGoogleCloudAiplatformV1Scheduling( buildCounterGoogleCloudAiplatformV1Scheduling--; } -core.List buildUnnamed277() => [ +core.List buildUnnamed278() => [ 'foo', 'foo', ]; -void checkUnnamed277(core.List o) { +void checkUnnamed278(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -18987,24 +19060,24 @@ void checkUnnamed277(core.List o) { ); } -core.Map buildUnnamed278() => { +core.Map buildUnnamed279() => { 'x': buildGoogleCloudAiplatformV1Schema(), 'y': buildGoogleCloudAiplatformV1Schema(), }; -void checkUnnamed278( +void checkUnnamed279( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Schema(o['x']!); checkGoogleCloudAiplatformV1Schema(o['y']!); } -core.List buildUnnamed279() => [ +core.List buildUnnamed280() => [ 'foo', 'foo', ]; -void checkUnnamed279(core.List o) { +void checkUnnamed280(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -19027,7 +19100,7 @@ api.GoogleCloudAiplatformV1Schema buildGoogleCloudAiplatformV1Schema() { 'string': 'foo' }; o.description = 'foo'; - o.enum_ = buildUnnamed277(); + o.enum_ = buildUnnamed278(); o.example = { 'list': [1, 2, 3], 'bool': true, @@ -19045,8 +19118,8 @@ api.GoogleCloudAiplatformV1Schema buildGoogleCloudAiplatformV1Schema() { o.minimum = 42.0; o.nullable = true; o.pattern = 'foo'; - o.properties = buildUnnamed278(); - o.required = buildUnnamed279(); + o.properties = buildUnnamed279(); + o.required = buildUnnamed280(); o.title = 'foo'; o.type = 'foo'; } @@ -19075,7 +19148,7 @@ void checkGoogleCloudAiplatformV1Schema(api.GoogleCloudAiplatformV1Schema o) { o.description!, unittest.equals('foo'), ); - checkUnnamed277(o.enum_!); + checkUnnamed278(o.enum_!); var casted64 = (o.example!) as core.Map; unittest.expect(casted64, unittest.hasLength(3)); unittest.expect( @@ -19132,8 +19205,8 @@ void checkGoogleCloudAiplatformV1Schema(api.GoogleCloudAiplatformV1Schema o) { o.pattern!, unittest.equals('foo'), ); - checkUnnamed278(o.properties!); - checkUnnamed279(o.required!); + checkUnnamed279(o.properties!); + checkUnnamed280(o.required!); unittest.expect( o.title!, unittest.equals('foo'), @@ -19146,12 +19219,12 @@ void checkGoogleCloudAiplatformV1Schema(api.GoogleCloudAiplatformV1Schema o) { buildCounterGoogleCloudAiplatformV1Schema--; } -core.List buildUnnamed280() => [ +core.List buildUnnamed281() => [ buildGoogleCloudAiplatformV1DataItemView(), buildGoogleCloudAiplatformV1DataItemView(), ]; -void checkUnnamed280(core.List o) { +void checkUnnamed281(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1DataItemView(o[0]); checkGoogleCloudAiplatformV1DataItemView(o[1]); @@ -19163,7 +19236,7 @@ api.GoogleCloudAiplatformV1SearchDataItemsResponse final o = api.GoogleCloudAiplatformV1SearchDataItemsResponse(); buildCounterGoogleCloudAiplatformV1SearchDataItemsResponse++; if (buildCounterGoogleCloudAiplatformV1SearchDataItemsResponse < 3) { - o.dataItemViews = buildUnnamed280(); + o.dataItemViews = buildUnnamed281(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1SearchDataItemsResponse--; @@ -19174,7 +19247,7 @@ void checkGoogleCloudAiplatformV1SearchDataItemsResponse( api.GoogleCloudAiplatformV1SearchDataItemsResponse o) { buildCounterGoogleCloudAiplatformV1SearchDataItemsResponse++; if (buildCounterGoogleCloudAiplatformV1SearchDataItemsResponse < 3) { - checkUnnamed280(o.dataItemViews!); + checkUnnamed281(o.dataItemViews!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -19212,12 +19285,12 @@ void checkGoogleCloudAiplatformV1SearchEntryPoint( buildCounterGoogleCloudAiplatformV1SearchEntryPoint--; } -core.List buildUnnamed281() => [ +core.List buildUnnamed282() => [ buildGoogleCloudAiplatformV1Feature(), buildGoogleCloudAiplatformV1Feature(), ]; -void checkUnnamed281(core.List o) { +void checkUnnamed282(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Feature(o[0]); checkGoogleCloudAiplatformV1Feature(o[1]); @@ -19229,7 +19302,7 @@ api.GoogleCloudAiplatformV1SearchFeaturesResponse final o = api.GoogleCloudAiplatformV1SearchFeaturesResponse(); buildCounterGoogleCloudAiplatformV1SearchFeaturesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchFeaturesResponse < 3) { - o.features = buildUnnamed281(); + o.features = buildUnnamed282(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1SearchFeaturesResponse--; @@ -19240,7 +19313,7 @@ void checkGoogleCloudAiplatformV1SearchFeaturesResponse( api.GoogleCloudAiplatformV1SearchFeaturesResponse o) { buildCounterGoogleCloudAiplatformV1SearchFeaturesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchFeaturesResponse < 3) { - checkUnnamed281(o.features!); + checkUnnamed282(o.features!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -19284,12 +19357,12 @@ void checkGoogleCloudAiplatformV1SearchMigratableResourcesRequest( buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesRequest--; } -core.List buildUnnamed282() => [ +core.List buildUnnamed283() => [ buildGoogleCloudAiplatformV1MigratableResource(), buildGoogleCloudAiplatformV1MigratableResource(), ]; -void checkUnnamed282( +void checkUnnamed283( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1MigratableResource(o[0]); @@ -19304,7 +19377,7 @@ api.GoogleCloudAiplatformV1SearchMigratableResourcesResponse buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesResponse < 3) { - o.migratableResources = buildUnnamed282(); + o.migratableResources = buildUnnamed283(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesResponse--; @@ -19316,7 +19389,7 @@ void checkGoogleCloudAiplatformV1SearchMigratableResourcesResponse( buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchMigratableResourcesResponse < 3) { - checkUnnamed282(o.migratableResources!); + checkUnnamed283(o.migratableResources!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -19328,12 +19401,12 @@ void checkGoogleCloudAiplatformV1SearchMigratableResourcesResponse( core.List< api .GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective> - buildUnnamed283() => [ + buildUnnamed284() => [ buildGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective(), buildGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective(), ]; -void checkUnnamed283( +void checkUnnamed284( core.List< api .GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequestStatsAnomaliesObjective> @@ -19358,7 +19431,7 @@ api.GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRequest o.deployedModelId = 'foo'; o.endTime = 'foo'; o.featureDisplayName = 'foo'; - o.objectives = buildUnnamed283(); + o.objectives = buildUnnamed284(); o.pageSize = 42; o.pageToken = 'foo'; o.startTime = 'foo'; @@ -19385,7 +19458,7 @@ void checkGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRe o.featureDisplayName!, unittest.equals('foo'), ); - checkUnnamed283(o.objectives!); + checkUnnamed284(o.objectives!); unittest.expect( o.pageSize!, unittest.equals(42), @@ -19438,12 +19511,12 @@ void checkGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRe } core.List - buildUnnamed284() => [ + buildUnnamed285() => [ buildGoogleCloudAiplatformV1ModelMonitoringStatsAnomalies(), buildGoogleCloudAiplatformV1ModelMonitoringStatsAnomalies(), ]; -void checkUnnamed284( +void checkUnnamed285( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1ModelMonitoringStatsAnomalies(o[0]); @@ -19460,7 +19533,7 @@ api.GoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse buildCounterGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse < 3) { - o.monitoringStats = buildUnnamed284(); + o.monitoringStats = buildUnnamed285(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse--; @@ -19473,7 +19546,7 @@ void checkGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesRe buildCounterGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse++; if (buildCounterGoogleCloudAiplatformV1SearchModelDeploymentMonitoringStatsAnomaliesResponse < 3) { - checkUnnamed284(o.monitoringStats!); + checkUnnamed285(o.monitoringStats!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -19604,12 +19677,12 @@ void checkGoogleCloudAiplatformV1SmoothGradConfig( buildCounterGoogleCloudAiplatformV1SmoothGradConfig--; } -core.List buildUnnamed285() => [ +core.List buildUnnamed286() => [ 'foo', 'foo', ]; -void checkUnnamed285(core.List o) { +void checkUnnamed286(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -19621,12 +19694,12 @@ void checkUnnamed285(core.List o) { ); } -core.List buildUnnamed286() => [ +core.List buildUnnamed287() => [ 'foo', 'foo', ]; -void checkUnnamed286(core.List o) { +void checkUnnamed287(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -19638,12 +19711,12 @@ void checkUnnamed286(core.List o) { ); } -core.List buildUnnamed287() => [ +core.List buildUnnamed288() => [ 'foo', 'foo', ]; -void checkUnnamed287(core.List o) { +void checkUnnamed288(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -19663,10 +19736,10 @@ api.GoogleCloudAiplatformV1SpecialistPool if (buildCounterGoogleCloudAiplatformV1SpecialistPool < 3) { o.displayName = 'foo'; o.name = 'foo'; - o.pendingDataLabelingJobs = buildUnnamed285(); - o.specialistManagerEmails = buildUnnamed286(); + o.pendingDataLabelingJobs = buildUnnamed286(); + o.specialistManagerEmails = buildUnnamed287(); o.specialistManagersCount = 42; - o.specialistWorkerEmails = buildUnnamed287(); + o.specialistWorkerEmails = buildUnnamed288(); } buildCounterGoogleCloudAiplatformV1SpecialistPool--; return o; @@ -19684,13 +19757,13 @@ void checkGoogleCloudAiplatformV1SpecialistPool( o.name!, unittest.equals('foo'), ); - checkUnnamed285(o.pendingDataLabelingJobs!); - checkUnnamed286(o.specialistManagerEmails!); + checkUnnamed286(o.pendingDataLabelingJobs!); + checkUnnamed287(o.specialistManagerEmails!); unittest.expect( o.specialistManagersCount!, unittest.equals(42), ); - checkUnnamed287(o.specialistWorkerEmails!); + checkUnnamed288(o.specialistWorkerEmails!); } buildCounterGoogleCloudAiplatformV1SpecialistPool--; } @@ -19789,12 +19862,12 @@ void checkGoogleCloudAiplatformV1StreamRawPredictRequest( buildCounterGoogleCloudAiplatformV1StreamRawPredictRequest--; } -core.List buildUnnamed288() => [ +core.List buildUnnamed289() => [ buildGoogleCloudAiplatformV1Tensor(), buildGoogleCloudAiplatformV1Tensor(), ]; -void checkUnnamed288(core.List o) { +void checkUnnamed289(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Tensor(o[0]); checkGoogleCloudAiplatformV1Tensor(o[1]); @@ -19806,7 +19879,7 @@ api.GoogleCloudAiplatformV1StreamingPredictRequest final o = api.GoogleCloudAiplatformV1StreamingPredictRequest(); buildCounterGoogleCloudAiplatformV1StreamingPredictRequest++; if (buildCounterGoogleCloudAiplatformV1StreamingPredictRequest < 3) { - o.inputs = buildUnnamed288(); + o.inputs = buildUnnamed289(); o.parameters = buildGoogleCloudAiplatformV1Tensor(); } buildCounterGoogleCloudAiplatformV1StreamingPredictRequest--; @@ -19817,18 +19890,18 @@ void checkGoogleCloudAiplatformV1StreamingPredictRequest( api.GoogleCloudAiplatformV1StreamingPredictRequest o) { buildCounterGoogleCloudAiplatformV1StreamingPredictRequest++; if (buildCounterGoogleCloudAiplatformV1StreamingPredictRequest < 3) { - checkUnnamed288(o.inputs!); + checkUnnamed289(o.inputs!); checkGoogleCloudAiplatformV1Tensor(o.parameters!); } buildCounterGoogleCloudAiplatformV1StreamingPredictRequest--; } -core.List buildUnnamed289() => [ +core.List buildUnnamed290() => [ buildGoogleCloudAiplatformV1Tensor(), buildGoogleCloudAiplatformV1Tensor(), ]; -void checkUnnamed289(core.List o) { +void checkUnnamed290(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Tensor(o[0]); checkGoogleCloudAiplatformV1Tensor(o[1]); @@ -19840,7 +19913,7 @@ api.GoogleCloudAiplatformV1StreamingPredictResponse final o = api.GoogleCloudAiplatformV1StreamingPredictResponse(); buildCounterGoogleCloudAiplatformV1StreamingPredictResponse++; if (buildCounterGoogleCloudAiplatformV1StreamingPredictResponse < 3) { - o.outputs = buildUnnamed289(); + o.outputs = buildUnnamed290(); o.parameters = buildGoogleCloudAiplatformV1Tensor(); } buildCounterGoogleCloudAiplatformV1StreamingPredictResponse--; @@ -19851,18 +19924,18 @@ void checkGoogleCloudAiplatformV1StreamingPredictResponse( api.GoogleCloudAiplatformV1StreamingPredictResponse o) { buildCounterGoogleCloudAiplatformV1StreamingPredictResponse++; if (buildCounterGoogleCloudAiplatformV1StreamingPredictResponse < 3) { - checkUnnamed289(o.outputs!); + checkUnnamed290(o.outputs!); checkGoogleCloudAiplatformV1Tensor(o.parameters!); } buildCounterGoogleCloudAiplatformV1StreamingPredictResponse--; } -core.List buildUnnamed290() => [ +core.List buildUnnamed291() => [ 'foo', 'foo', ]; -void checkUnnamed290(core.List o) { +void checkUnnamed291(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -19882,7 +19955,7 @@ api.GoogleCloudAiplatformV1StreamingReadFeatureValuesRequest buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest++; if (buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest < 3) { - o.entityIds = buildUnnamed290(); + o.entityIds = buildUnnamed291(); o.featureSelector = buildGoogleCloudAiplatformV1FeatureSelector(); } buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest--; @@ -19894,18 +19967,18 @@ void checkGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest( buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest++; if (buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest < 3) { - checkUnnamed290(o.entityIds!); + checkUnnamed291(o.entityIds!); checkGoogleCloudAiplatformV1FeatureSelector(o.featureSelector!); } buildCounterGoogleCloudAiplatformV1StreamingReadFeatureValuesRequest--; } -core.List buildUnnamed291() => [ +core.List buildUnnamed292() => [ 'foo', 'foo', ]; -void checkUnnamed291(core.List o) { +void checkUnnamed292(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -19923,7 +19996,7 @@ api.GoogleCloudAiplatformV1StringArray final o = api.GoogleCloudAiplatformV1StringArray(); buildCounterGoogleCloudAiplatformV1StringArray++; if (buildCounterGoogleCloudAiplatformV1StringArray < 3) { - o.values = buildUnnamed291(); + o.values = buildUnnamed292(); } buildCounterGoogleCloudAiplatformV1StringArray--; return o; @@ -19933,11 +20006,69 @@ void checkGoogleCloudAiplatformV1StringArray( api.GoogleCloudAiplatformV1StringArray o) { buildCounterGoogleCloudAiplatformV1StringArray++; if (buildCounterGoogleCloudAiplatformV1StringArray < 3) { - checkUnnamed291(o.values!); + checkUnnamed292(o.values!); } buildCounterGoogleCloudAiplatformV1StringArray--; } +core.int buildCounterGoogleCloudAiplatformV1StructFieldValue = 0; +api.GoogleCloudAiplatformV1StructFieldValue + buildGoogleCloudAiplatformV1StructFieldValue() { + final o = api.GoogleCloudAiplatformV1StructFieldValue(); + buildCounterGoogleCloudAiplatformV1StructFieldValue++; + if (buildCounterGoogleCloudAiplatformV1StructFieldValue < 3) { + o.name = 'foo'; + o.value = buildGoogleCloudAiplatformV1FeatureValue(); + } + buildCounterGoogleCloudAiplatformV1StructFieldValue--; + return o; +} + +void checkGoogleCloudAiplatformV1StructFieldValue( + api.GoogleCloudAiplatformV1StructFieldValue o) { + buildCounterGoogleCloudAiplatformV1StructFieldValue++; + if (buildCounterGoogleCloudAiplatformV1StructFieldValue < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkGoogleCloudAiplatformV1FeatureValue(o.value!); + } + buildCounterGoogleCloudAiplatformV1StructFieldValue--; +} + +core.List buildUnnamed293() => [ + buildGoogleCloudAiplatformV1StructFieldValue(), + buildGoogleCloudAiplatformV1StructFieldValue(), + ]; + +void checkUnnamed293(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleCloudAiplatformV1StructFieldValue(o[0]); + checkGoogleCloudAiplatformV1StructFieldValue(o[1]); +} + +core.int buildCounterGoogleCloudAiplatformV1StructValue = 0; +api.GoogleCloudAiplatformV1StructValue + buildGoogleCloudAiplatformV1StructValue() { + final o = api.GoogleCloudAiplatformV1StructValue(); + buildCounterGoogleCloudAiplatformV1StructValue++; + if (buildCounterGoogleCloudAiplatformV1StructValue < 3) { + o.values = buildUnnamed293(); + } + buildCounterGoogleCloudAiplatformV1StructValue--; + return o; +} + +void checkGoogleCloudAiplatformV1StructValue( + api.GoogleCloudAiplatformV1StructValue o) { + buildCounterGoogleCloudAiplatformV1StructValue++; + if (buildCounterGoogleCloudAiplatformV1StructValue < 3) { + checkUnnamed293(o.values!); + } + buildCounterGoogleCloudAiplatformV1StructValue--; +} + core.int buildCounterGoogleCloudAiplatformV1Study = 0; api.GoogleCloudAiplatformV1Study buildGoogleCloudAiplatformV1Study() { final o = api.GoogleCloudAiplatformV1Study(); @@ -19982,12 +20113,12 @@ void checkGoogleCloudAiplatformV1Study(api.GoogleCloudAiplatformV1Study o) { buildCounterGoogleCloudAiplatformV1Study--; } -core.List buildUnnamed292() => [ +core.List buildUnnamed294() => [ buildGoogleCloudAiplatformV1StudySpecMetricSpec(), buildGoogleCloudAiplatformV1StudySpecMetricSpec(), ]; -void checkUnnamed292( +void checkUnnamed294( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1StudySpecMetricSpec(o[0]); @@ -19995,12 +20126,12 @@ void checkUnnamed292( } core.List - buildUnnamed293() => [ + buildUnnamed295() => [ buildGoogleCloudAiplatformV1StudySpecParameterSpec(), buildGoogleCloudAiplatformV1StudySpecParameterSpec(), ]; -void checkUnnamed293( +void checkUnnamed295( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1StudySpecParameterSpec(o[0]); @@ -20020,9 +20151,9 @@ api.GoogleCloudAiplatformV1StudySpec buildGoogleCloudAiplatformV1StudySpec() { o.measurementSelectionType = 'foo'; o.medianAutomatedStoppingSpec = buildGoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec(); - o.metrics = buildUnnamed292(); + o.metrics = buildUnnamed294(); o.observationNoise = 'foo'; - o.parameters = buildUnnamed293(); + o.parameters = buildUnnamed295(); o.studyStoppingConfig = buildGoogleCloudAiplatformV1StudySpecStudyStoppingConfig(); } @@ -20048,12 +20179,12 @@ void checkGoogleCloudAiplatformV1StudySpec( ); checkGoogleCloudAiplatformV1StudySpecMedianAutomatedStoppingSpec( o.medianAutomatedStoppingSpec!); - checkUnnamed292(o.metrics!); + checkUnnamed294(o.metrics!); unittest.expect( o.observationNoise!, unittest.equals('foo'), ); - checkUnnamed293(o.parameters!); + checkUnnamed295(o.parameters!); checkGoogleCloudAiplatformV1StudySpecStudyStoppingConfig( o.studyStoppingConfig!); } @@ -20225,12 +20356,12 @@ void checkGoogleCloudAiplatformV1StudySpecMetricSpecSafetyMetricConfig( core.List< api .GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec> - buildUnnamed294() => [ + buildUnnamed296() => [ buildGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec(), buildGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec(), ]; -void checkUnnamed294( +void checkUnnamed296( core.List< api .GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec> @@ -20250,7 +20381,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpec if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpec < 3) { o.categoricalValueSpec = buildGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec(); - o.conditionalParameterSpecs = buildUnnamed294(); + o.conditionalParameterSpecs = buildUnnamed296(); o.discreteValueSpec = buildGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec(); o.doubleValueSpec = @@ -20270,7 +20401,7 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpec( if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpec < 3) { checkGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec( o.categoricalValueSpec!); - checkUnnamed294(o.conditionalParameterSpecs!); + checkUnnamed296(o.conditionalParameterSpecs!); checkGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec( o.discreteValueSpec!); checkGoogleCloudAiplatformV1StudySpecParameterSpecDoubleValueSpec( @@ -20289,12 +20420,12 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpec( buildCounterGoogleCloudAiplatformV1StudySpecParameterSpec--; } -core.List buildUnnamed295() => [ +core.List buildUnnamed297() => [ 'foo', 'foo', ]; -void checkUnnamed295(core.List o) { +void checkUnnamed297(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -20317,7 +20448,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec < 3) { o.defaultValue = 'foo'; - o.values = buildUnnamed295(); + o.values = buildUnnamed297(); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec--; return o; @@ -20332,7 +20463,7 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec( o.defaultValue!, unittest.equals('foo'), ); - checkUnnamed295(o.values!); + checkUnnamed297(o.values!); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec--; } @@ -20376,12 +20507,12 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec( buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpec--; } -core.List buildUnnamed296() => [ +core.List buildUnnamed298() => [ 'foo', 'foo', ]; -void checkUnnamed296(core.List o) { +void checkUnnamed298(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -20403,7 +20534,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategor buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition < 3) { - o.values = buildUnnamed296(); + o.values = buildUnnamed298(); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition--; return o; @@ -20415,17 +20546,17 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecC buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition < 3) { - checkUnnamed296(o.values!); + checkUnnamed298(o.values!); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecCategoricalValueCondition--; } -core.List buildUnnamed297() => [ +core.List buildUnnamed299() => [ 42.0, 42.0, ]; -void checkUnnamed297(core.List o) { +void checkUnnamed299(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -20447,7 +20578,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscret buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition < 3) { - o.values = buildUnnamed297(); + o.values = buildUnnamed299(); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition--; return o; @@ -20459,17 +20590,17 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecD buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition < 3) { - checkUnnamed297(o.values!); + checkUnnamed299(o.values!); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecDiscreteValueCondition--; } -core.List buildUnnamed298() => [ +core.List buildUnnamed300() => [ 'foo', 'foo', ]; -void checkUnnamed298(core.List o) { +void checkUnnamed300(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -20491,7 +20622,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValu buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition < 3) { - o.values = buildUnnamed298(); + o.values = buildUnnamed300(); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition--; return o; @@ -20503,17 +20634,17 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecI buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition++; if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition < 3) { - checkUnnamed298(o.values!); + checkUnnamed300(o.values!); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecConditionalParameterSpecIntValueCondition--; } -core.List buildUnnamed299() => [ +core.List buildUnnamed301() => [ 42.0, 42.0, ]; -void checkUnnamed299(core.List o) { +void checkUnnamed301(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -20536,7 +20667,7 @@ api.GoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec if (buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec < 3) { o.defaultValue = 42.0; - o.values = buildUnnamed299(); + o.values = buildUnnamed301(); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec--; return o; @@ -20551,7 +20682,7 @@ void checkGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec( o.defaultValue!, unittest.equals(42.0), ); - checkUnnamed299(o.values!); + checkUnnamed301(o.values!); } buildCounterGoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec--; } @@ -20710,12 +20841,12 @@ void checkGoogleCloudAiplatformV1StudyTimeConstraint( buildCounterGoogleCloudAiplatformV1StudyTimeConstraint--; } -core.List buildUnnamed300() => [ +core.List buildUnnamed302() => [ buildGoogleCloudAiplatformV1TrialContext(), buildGoogleCloudAiplatformV1TrialContext(), ]; -void checkUnnamed300(core.List o) { +void checkUnnamed302(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrialContext(o[0]); checkGoogleCloudAiplatformV1TrialContext(o[1]); @@ -20728,7 +20859,7 @@ api.GoogleCloudAiplatformV1SuggestTrialsRequest buildCounterGoogleCloudAiplatformV1SuggestTrialsRequest++; if (buildCounterGoogleCloudAiplatformV1SuggestTrialsRequest < 3) { o.clientId = 'foo'; - o.contexts = buildUnnamed300(); + o.contexts = buildUnnamed302(); o.suggestionCount = 42; } buildCounterGoogleCloudAiplatformV1SuggestTrialsRequest--; @@ -20743,7 +20874,7 @@ void checkGoogleCloudAiplatformV1SuggestTrialsRequest( o.clientId!, unittest.equals('foo'), ); - checkUnnamed300(o.contexts!); + checkUnnamed302(o.contexts!); unittest.expect( o.suggestionCount!, unittest.equals(42), @@ -20786,12 +20917,12 @@ void checkGoogleCloudAiplatformV1SupervisedHyperParameters( buildCounterGoogleCloudAiplatformV1SupervisedHyperParameters--; } -core.List buildUnnamed301() => [ +core.List buildUnnamed303() => [ buildGoogleCloudAiplatformV1Content(), buildGoogleCloudAiplatformV1Content(), ]; -void checkUnnamed301(core.List o) { +void checkUnnamed303(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Content(o[0]); checkGoogleCloudAiplatformV1Content(o[1]); @@ -20807,7 +20938,7 @@ api.GoogleCloudAiplatformV1SupervisedTuningDataStats o.totalTuningCharacterCount = 'foo'; o.tuningDatasetExampleCount = 'foo'; o.tuningStepCount = 'foo'; - o.userDatasetExamples = buildUnnamed301(); + o.userDatasetExamples = buildUnnamed303(); o.userInputTokenDistribution = buildGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution(); o.userMessagePerExampleDistribution = @@ -20839,7 +20970,7 @@ void checkGoogleCloudAiplatformV1SupervisedTuningDataStats( o.tuningStepCount!, unittest.equals('foo'), ); - checkUnnamed301(o.userDatasetExamples!); + checkUnnamed303(o.userDatasetExamples!); checkGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution( o.userInputTokenDistribution!); checkGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution( @@ -20853,12 +20984,12 @@ void checkGoogleCloudAiplatformV1SupervisedTuningDataStats( core.List< api .GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket> - buildUnnamed302() => [ + buildUnnamed304() => [ buildGoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket(), buildGoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket(), ]; -void checkUnnamed302( +void checkUnnamed304( core.List< api .GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket> @@ -20878,7 +21009,7 @@ api.GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution buildCounterGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution++; if (buildCounterGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution < 3) { - o.buckets = buildUnnamed302(); + o.buckets = buildUnnamed304(); o.max = 42.0; o.mean = 42.0; o.median = 42.0; @@ -20896,7 +21027,7 @@ void checkGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution( buildCounterGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution++; if (buildCounterGoogleCloudAiplatformV1SupervisedTuningDatasetDistribution < 3) { - checkUnnamed302(o.buckets!); + checkUnnamed304(o.buckets!); unittest.expect( o.max!, unittest.equals(42.0), @@ -21062,23 +21193,23 @@ void checkGoogleCloudAiplatformV1TFRecordDestination( buildCounterGoogleCloudAiplatformV1TFRecordDestination--; } -core.List buildUnnamed303() => [ +core.List buildUnnamed305() => [ true, true, ]; -void checkUnnamed303(core.List o) { +void checkUnnamed305(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect(o[0], unittest.isTrue); unittest.expect(o[1], unittest.isTrue); } -core.List buildUnnamed304() => [ +core.List buildUnnamed306() => [ 'foo', 'foo', ]; -void checkUnnamed304(core.List o) { +void checkUnnamed306(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21090,12 +21221,12 @@ void checkUnnamed304(core.List o) { ); } -core.List buildUnnamed305() => [ +core.List buildUnnamed307() => [ 42.0, 42.0, ]; -void checkUnnamed305(core.List o) { +void checkUnnamed307(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21107,12 +21238,12 @@ void checkUnnamed305(core.List o) { ); } -core.List buildUnnamed306() => [ +core.List buildUnnamed308() => [ 42.0, 42.0, ]; -void checkUnnamed306(core.List o) { +void checkUnnamed308(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21124,12 +21255,12 @@ void checkUnnamed306(core.List o) { ); } -core.List buildUnnamed307() => [ +core.List buildUnnamed309() => [ 'foo', 'foo', ]; -void checkUnnamed307(core.List o) { +void checkUnnamed309(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21141,12 +21272,12 @@ void checkUnnamed307(core.List o) { ); } -core.List buildUnnamed308() => [ +core.List buildUnnamed310() => [ 42, 42, ]; -void checkUnnamed308(core.List o) { +void checkUnnamed310(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21158,23 +21289,23 @@ void checkUnnamed308(core.List o) { ); } -core.List buildUnnamed309() => [ +core.List buildUnnamed311() => [ buildGoogleCloudAiplatformV1Tensor(), buildGoogleCloudAiplatformV1Tensor(), ]; -void checkUnnamed309(core.List o) { +void checkUnnamed311(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Tensor(o[0]); checkGoogleCloudAiplatformV1Tensor(o[1]); } -core.List buildUnnamed310() => [ +core.List buildUnnamed312() => [ 'foo', 'foo', ]; -void checkUnnamed310(core.List o) { +void checkUnnamed312(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21186,12 +21317,12 @@ void checkUnnamed310(core.List o) { ); } -core.List buildUnnamed311() => [ +core.List buildUnnamed313() => [ 'foo', 'foo', ]; -void checkUnnamed311(core.List o) { +void checkUnnamed313(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21203,24 +21334,24 @@ void checkUnnamed311(core.List o) { ); } -core.Map buildUnnamed312() => { +core.Map buildUnnamed314() => { 'x': buildGoogleCloudAiplatformV1Tensor(), 'y': buildGoogleCloudAiplatformV1Tensor(), }; -void checkUnnamed312( +void checkUnnamed314( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Tensor(o['x']!); checkGoogleCloudAiplatformV1Tensor(o['y']!); } -core.List buildUnnamed313() => [ +core.List buildUnnamed315() => [ 'foo', 'foo', ]; -void checkUnnamed313(core.List o) { +void checkUnnamed315(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21232,12 +21363,12 @@ void checkUnnamed313(core.List o) { ); } -core.List buildUnnamed314() => [ +core.List buildUnnamed316() => [ 42, 42, ]; -void checkUnnamed314(core.List o) { +void checkUnnamed316(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21254,20 +21385,20 @@ api.GoogleCloudAiplatformV1Tensor buildGoogleCloudAiplatformV1Tensor() { final o = api.GoogleCloudAiplatformV1Tensor(); buildCounterGoogleCloudAiplatformV1Tensor++; if (buildCounterGoogleCloudAiplatformV1Tensor < 3) { - o.boolVal = buildUnnamed303(); - o.bytesVal = buildUnnamed304(); - o.doubleVal = buildUnnamed305(); + o.boolVal = buildUnnamed305(); + o.bytesVal = buildUnnamed306(); + o.doubleVal = buildUnnamed307(); o.dtype = 'foo'; - o.floatVal = buildUnnamed306(); - o.int64Val = buildUnnamed307(); - o.intVal = buildUnnamed308(); - o.listVal = buildUnnamed309(); - o.shape = buildUnnamed310(); - o.stringVal = buildUnnamed311(); - o.structVal = buildUnnamed312(); + o.floatVal = buildUnnamed308(); + o.int64Val = buildUnnamed309(); + o.intVal = buildUnnamed310(); + o.listVal = buildUnnamed311(); + o.shape = buildUnnamed312(); + o.stringVal = buildUnnamed313(); + o.structVal = buildUnnamed314(); o.tensorVal = 'foo'; - o.uint64Val = buildUnnamed313(); - o.uintVal = buildUnnamed314(); + o.uint64Val = buildUnnamed315(); + o.uintVal = buildUnnamed316(); } buildCounterGoogleCloudAiplatformV1Tensor--; return o; @@ -21276,36 +21407,36 @@ api.GoogleCloudAiplatformV1Tensor buildGoogleCloudAiplatformV1Tensor() { void checkGoogleCloudAiplatformV1Tensor(api.GoogleCloudAiplatformV1Tensor o) { buildCounterGoogleCloudAiplatformV1Tensor++; if (buildCounterGoogleCloudAiplatformV1Tensor < 3) { - checkUnnamed303(o.boolVal!); - checkUnnamed304(o.bytesVal!); - checkUnnamed305(o.doubleVal!); + checkUnnamed305(o.boolVal!); + checkUnnamed306(o.bytesVal!); + checkUnnamed307(o.doubleVal!); unittest.expect( o.dtype!, unittest.equals('foo'), ); - checkUnnamed306(o.floatVal!); - checkUnnamed307(o.int64Val!); - checkUnnamed308(o.intVal!); - checkUnnamed309(o.listVal!); - checkUnnamed310(o.shape!); - checkUnnamed311(o.stringVal!); - checkUnnamed312(o.structVal!); + checkUnnamed308(o.floatVal!); + checkUnnamed309(o.int64Val!); + checkUnnamed310(o.intVal!); + checkUnnamed311(o.listVal!); + checkUnnamed312(o.shape!); + checkUnnamed313(o.stringVal!); + checkUnnamed314(o.structVal!); unittest.expect( o.tensorVal!, unittest.equals('foo'), ); - checkUnnamed313(o.uint64Val!); - checkUnnamed314(o.uintVal!); + checkUnnamed315(o.uint64Val!); + checkUnnamed316(o.uintVal!); } buildCounterGoogleCloudAiplatformV1Tensor--; } -core.Map buildUnnamed315() => { +core.Map buildUnnamed317() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed315(core.Map o) { +void checkUnnamed317(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -21330,7 +21461,7 @@ api.GoogleCloudAiplatformV1Tensorboard o.encryptionSpec = buildGoogleCloudAiplatformV1EncryptionSpec(); o.etag = 'foo'; o.isDefault = true; - o.labels = buildUnnamed315(); + o.labels = buildUnnamed317(); o.name = 'foo'; o.runCount = 42; o.updateTime = 'foo'; @@ -21365,7 +21496,7 @@ void checkGoogleCloudAiplatformV1Tensorboard( unittest.equals('foo'), ); unittest.expect(o.isDefault!, unittest.isTrue); - checkUnnamed315(o.labels!); + checkUnnamed317(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -21411,12 +21542,12 @@ void checkGoogleCloudAiplatformV1TensorboardBlob( buildCounterGoogleCloudAiplatformV1TensorboardBlob--; } -core.List buildUnnamed316() => [ +core.List buildUnnamed318() => [ buildGoogleCloudAiplatformV1TensorboardBlob(), buildGoogleCloudAiplatformV1TensorboardBlob(), ]; -void checkUnnamed316(core.List o) { +void checkUnnamed318(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TensorboardBlob(o[0]); checkGoogleCloudAiplatformV1TensorboardBlob(o[1]); @@ -21428,7 +21559,7 @@ api.GoogleCloudAiplatformV1TensorboardBlobSequence final o = api.GoogleCloudAiplatformV1TensorboardBlobSequence(); buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence++; if (buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence < 3) { - o.values = buildUnnamed316(); + o.values = buildUnnamed318(); } buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence--; return o; @@ -21438,17 +21569,17 @@ void checkGoogleCloudAiplatformV1TensorboardBlobSequence( api.GoogleCloudAiplatformV1TensorboardBlobSequence o) { buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence++; if (buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence < 3) { - checkUnnamed316(o.values!); + checkUnnamed318(o.values!); } buildCounterGoogleCloudAiplatformV1TensorboardBlobSequence--; } -core.Map buildUnnamed317() => { +core.Map buildUnnamed319() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed317(core.Map o) { +void checkUnnamed319(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -21470,7 +21601,7 @@ api.GoogleCloudAiplatformV1TensorboardExperiment o.description = 'foo'; o.displayName = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed317(); + o.labels = buildUnnamed319(); o.name = 'foo'; o.source = 'foo'; o.updateTime = 'foo'; @@ -21499,7 +21630,7 @@ void checkGoogleCloudAiplatformV1TensorboardExperiment( o.etag!, unittest.equals('foo'), ); - checkUnnamed317(o.labels!); + checkUnnamed319(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -21516,12 +21647,12 @@ void checkGoogleCloudAiplatformV1TensorboardExperiment( buildCounterGoogleCloudAiplatformV1TensorboardExperiment--; } -core.Map buildUnnamed318() => { +core.Map buildUnnamed320() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed318(core.Map o) { +void checkUnnamed320(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -21543,7 +21674,7 @@ api.GoogleCloudAiplatformV1TensorboardRun o.description = 'foo'; o.displayName = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed318(); + o.labels = buildUnnamed320(); o.name = 'foo'; o.updateTime = 'foo'; } @@ -21571,7 +21702,7 @@ void checkGoogleCloudAiplatformV1TensorboardRun( o.etag!, unittest.equals('foo'), ); - checkUnnamed318(o.labels!); + checkUnnamed320(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -21737,12 +21868,12 @@ void checkGoogleCloudAiplatformV1ThresholdConfig( buildCounterGoogleCloudAiplatformV1ThresholdConfig--; } -core.List buildUnnamed319() => [ +core.List buildUnnamed321() => [ buildGoogleCloudAiplatformV1TimeSeriesDataPoint(), buildGoogleCloudAiplatformV1TimeSeriesDataPoint(), ]; -void checkUnnamed319( +void checkUnnamed321( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TimeSeriesDataPoint(o[0]); @@ -21757,7 +21888,7 @@ api.GoogleCloudAiplatformV1TimeSeriesData if (buildCounterGoogleCloudAiplatformV1TimeSeriesData < 3) { o.tensorboardTimeSeriesId = 'foo'; o.valueType = 'foo'; - o.values = buildUnnamed319(); + o.values = buildUnnamed321(); } buildCounterGoogleCloudAiplatformV1TimeSeriesData--; return o; @@ -21775,7 +21906,7 @@ void checkGoogleCloudAiplatformV1TimeSeriesData( o.valueType!, unittest.equals('foo'), ); - checkUnnamed319(o.values!); + checkUnnamed321(o.values!); } buildCounterGoogleCloudAiplatformV1TimeSeriesData--; } @@ -21854,12 +21985,12 @@ void checkGoogleCloudAiplatformV1TimestampSplit( buildCounterGoogleCloudAiplatformV1TimestampSplit--; } -core.List buildUnnamed320() => [ +core.List buildUnnamed322() => [ 'foo', 'foo', ]; -void checkUnnamed320(core.List o) { +void checkUnnamed322(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21871,12 +22002,12 @@ void checkUnnamed320(core.List o) { ); } -core.List buildUnnamed321() => [ +core.List buildUnnamed323() => [ 'foo', 'foo', ]; -void checkUnnamed321(core.List o) { +void checkUnnamed323(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -21893,8 +22024,8 @@ api.GoogleCloudAiplatformV1TokensInfo buildGoogleCloudAiplatformV1TokensInfo() { final o = api.GoogleCloudAiplatformV1TokensInfo(); buildCounterGoogleCloudAiplatformV1TokensInfo++; if (buildCounterGoogleCloudAiplatformV1TokensInfo < 3) { - o.tokenIds = buildUnnamed320(); - o.tokens = buildUnnamed321(); + o.tokenIds = buildUnnamed322(); + o.tokens = buildUnnamed323(); } buildCounterGoogleCloudAiplatformV1TokensInfo--; return o; @@ -21904,18 +22035,18 @@ void checkGoogleCloudAiplatformV1TokensInfo( api.GoogleCloudAiplatformV1TokensInfo o) { buildCounterGoogleCloudAiplatformV1TokensInfo++; if (buildCounterGoogleCloudAiplatformV1TokensInfo < 3) { - checkUnnamed320(o.tokenIds!); - checkUnnamed321(o.tokens!); + checkUnnamed322(o.tokenIds!); + checkUnnamed323(o.tokens!); } buildCounterGoogleCloudAiplatformV1TokensInfo--; } -core.List buildUnnamed322() => [ +core.List buildUnnamed324() => [ buildGoogleCloudAiplatformV1FunctionDeclaration(), buildGoogleCloudAiplatformV1FunctionDeclaration(), ]; -void checkUnnamed322( +void checkUnnamed324( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1FunctionDeclaration(o[0]); @@ -21927,7 +22058,9 @@ api.GoogleCloudAiplatformV1Tool buildGoogleCloudAiplatformV1Tool() { final o = api.GoogleCloudAiplatformV1Tool(); buildCounterGoogleCloudAiplatformV1Tool++; if (buildCounterGoogleCloudAiplatformV1Tool < 3) { - o.functionDeclarations = buildUnnamed322(); + o.functionDeclarations = buildUnnamed324(); + o.googleSearchRetrieval = + buildGoogleCloudAiplatformV1GoogleSearchRetrieval(); o.retrieval = buildGoogleCloudAiplatformV1Retrieval(); } buildCounterGoogleCloudAiplatformV1Tool--; @@ -21937,7 +22070,8 @@ api.GoogleCloudAiplatformV1Tool buildGoogleCloudAiplatformV1Tool() { void checkGoogleCloudAiplatformV1Tool(api.GoogleCloudAiplatformV1Tool o) { buildCounterGoogleCloudAiplatformV1Tool++; if (buildCounterGoogleCloudAiplatformV1Tool < 3) { - checkUnnamed322(o.functionDeclarations!); + checkUnnamed324(o.functionDeclarations!); + checkGoogleCloudAiplatformV1GoogleSearchRetrieval(o.googleSearchRetrieval!); checkGoogleCloudAiplatformV1Retrieval(o.retrieval!); } buildCounterGoogleCloudAiplatformV1Tool--; @@ -21967,12 +22101,12 @@ void checkGoogleCloudAiplatformV1TrainingConfig( buildCounterGoogleCloudAiplatformV1TrainingConfig--; } -core.Map buildUnnamed323() => { +core.Map buildUnnamed325() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed323(core.Map o) { +void checkUnnamed325(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -21996,7 +22130,7 @@ api.GoogleCloudAiplatformV1TrainingPipeline o.endTime = 'foo'; o.error = buildGoogleRpcStatus(); o.inputDataConfig = buildGoogleCloudAiplatformV1InputDataConfig(); - o.labels = buildUnnamed323(); + o.labels = buildUnnamed325(); o.modelId = 'foo'; o.modelToUpload = buildGoogleCloudAiplatformV1Model(); o.name = 'foo'; @@ -22039,7 +22173,7 @@ void checkGoogleCloudAiplatformV1TrainingPipeline( ); checkGoogleRpcStatus(o.error!); checkGoogleCloudAiplatformV1InputDataConfig(o.inputDataConfig!); - checkUnnamed323(o.labels!); + checkUnnamed325(o.labels!); unittest.expect( o.modelId!, unittest.equals('foo'), @@ -22101,34 +22235,34 @@ void checkGoogleCloudAiplatformV1TrainingPipeline( buildCounterGoogleCloudAiplatformV1TrainingPipeline--; } -core.List buildUnnamed324() => [ +core.List buildUnnamed326() => [ buildGoogleCloudAiplatformV1Measurement(), buildGoogleCloudAiplatformV1Measurement(), ]; -void checkUnnamed324(core.List o) { +void checkUnnamed326(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1Measurement(o[0]); checkGoogleCloudAiplatformV1Measurement(o[1]); } -core.List buildUnnamed325() => [ +core.List buildUnnamed327() => [ buildGoogleCloudAiplatformV1TrialParameter(), buildGoogleCloudAiplatformV1TrialParameter(), ]; -void checkUnnamed325(core.List o) { +void checkUnnamed327(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrialParameter(o[0]); checkGoogleCloudAiplatformV1TrialParameter(o[1]); } -core.Map buildUnnamed326() => { +core.Map buildUnnamed328() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed326(core.Map o) { +void checkUnnamed328(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -22151,12 +22285,12 @@ api.GoogleCloudAiplatformV1Trial buildGoogleCloudAiplatformV1Trial() { o.finalMeasurement = buildGoogleCloudAiplatformV1Measurement(); o.id = 'foo'; o.infeasibleReason = 'foo'; - o.measurements = buildUnnamed324(); + o.measurements = buildUnnamed326(); o.name = 'foo'; - o.parameters = buildUnnamed325(); + o.parameters = buildUnnamed327(); o.startTime = 'foo'; o.state = 'foo'; - o.webAccessUris = buildUnnamed326(); + o.webAccessUris = buildUnnamed328(); } buildCounterGoogleCloudAiplatformV1Trial--; return o; @@ -22186,12 +22320,12 @@ void checkGoogleCloudAiplatformV1Trial(api.GoogleCloudAiplatformV1Trial o) { o.infeasibleReason!, unittest.equals('foo'), ); - checkUnnamed324(o.measurements!); + checkUnnamed326(o.measurements!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed325(o.parameters!); + checkUnnamed327(o.parameters!); unittest.expect( o.startTime!, unittest.equals('foo'), @@ -22200,17 +22334,17 @@ void checkGoogleCloudAiplatformV1Trial(api.GoogleCloudAiplatformV1Trial o) { o.state!, unittest.equals('foo'), ); - checkUnnamed326(o.webAccessUris!); + checkUnnamed328(o.webAccessUris!); } buildCounterGoogleCloudAiplatformV1Trial--; } -core.List buildUnnamed327() => [ +core.List buildUnnamed329() => [ buildGoogleCloudAiplatformV1TrialParameter(), buildGoogleCloudAiplatformV1TrialParameter(), ]; -void checkUnnamed327(core.List o) { +void checkUnnamed329(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TrialParameter(o[0]); checkGoogleCloudAiplatformV1TrialParameter(o[1]); @@ -22223,7 +22357,7 @@ api.GoogleCloudAiplatformV1TrialContext buildCounterGoogleCloudAiplatformV1TrialContext++; if (buildCounterGoogleCloudAiplatformV1TrialContext < 3) { o.description = 'foo'; - o.parameters = buildUnnamed327(); + o.parameters = buildUnnamed329(); } buildCounterGoogleCloudAiplatformV1TrialContext--; return o; @@ -22237,7 +22371,7 @@ void checkGoogleCloudAiplatformV1TrialContext( o.description!, unittest.equals('foo'), ); - checkUnnamed327(o.parameters!); + checkUnnamed329(o.parameters!); } buildCounterGoogleCloudAiplatformV1TrialContext--; } @@ -22336,12 +22470,12 @@ void checkGoogleCloudAiplatformV1TuningDataStats( buildCounterGoogleCloudAiplatformV1TuningDataStats--; } -core.Map buildUnnamed328() => { +core.Map buildUnnamed330() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed328(core.Map o) { +void checkUnnamed330(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -22365,7 +22499,7 @@ api.GoogleCloudAiplatformV1TuningJob buildGoogleCloudAiplatformV1TuningJob() { o.endTime = 'foo'; o.error = buildGoogleRpcStatus(); o.experiment = 'foo'; - o.labels = buildUnnamed328(); + o.labels = buildUnnamed330(); o.name = 'foo'; o.startTime = 'foo'; o.state = 'foo'; @@ -22405,7 +22539,7 @@ void checkGoogleCloudAiplatformV1TuningJob( o.experiment!, unittest.equals('foo'), ); - checkUnnamed328(o.labels!); + checkUnnamed330(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -22457,12 +22591,12 @@ void checkGoogleCloudAiplatformV1UndeployIndexRequest( buildCounterGoogleCloudAiplatformV1UndeployIndexRequest--; } -core.Map buildUnnamed329() => { +core.Map buildUnnamed331() => { 'x': 42, 'y': 42, }; -void checkUnnamed329(core.Map o) { +void checkUnnamed331(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -22481,7 +22615,7 @@ api.GoogleCloudAiplatformV1UndeployModelRequest buildCounterGoogleCloudAiplatformV1UndeployModelRequest++; if (buildCounterGoogleCloudAiplatformV1UndeployModelRequest < 3) { o.deployedModelId = 'foo'; - o.trafficSplit = buildUnnamed329(); + o.trafficSplit = buildUnnamed331(); } buildCounterGoogleCloudAiplatformV1UndeployModelRequest--; return o; @@ -22495,7 +22629,7 @@ void checkGoogleCloudAiplatformV1UndeployModelRequest( o.deployedModelId!, unittest.equals('foo'), ); - checkUnnamed329(o.trafficSplit!); + checkUnnamed331(o.trafficSplit!); } buildCounterGoogleCloudAiplatformV1UndeployModelRequest--; } @@ -22602,12 +22736,12 @@ void checkGoogleCloudAiplatformV1UploadModelRequest( buildCounterGoogleCloudAiplatformV1UploadModelRequest--; } -core.List buildUnnamed330() => [ +core.List buildUnnamed332() => [ buildGoogleCloudAiplatformV1IndexDatapoint(), buildGoogleCloudAiplatformV1IndexDatapoint(), ]; -void checkUnnamed330(core.List o) { +void checkUnnamed332(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1IndexDatapoint(o[0]); checkGoogleCloudAiplatformV1IndexDatapoint(o[1]); @@ -22619,7 +22753,7 @@ api.GoogleCloudAiplatformV1UpsertDatapointsRequest final o = api.GoogleCloudAiplatformV1UpsertDatapointsRequest(); buildCounterGoogleCloudAiplatformV1UpsertDatapointsRequest++; if (buildCounterGoogleCloudAiplatformV1UpsertDatapointsRequest < 3) { - o.datapoints = buildUnnamed330(); + o.datapoints = buildUnnamed332(); o.updateMask = 'foo'; } buildCounterGoogleCloudAiplatformV1UpsertDatapointsRequest--; @@ -22630,7 +22764,7 @@ void checkGoogleCloudAiplatformV1UpsertDatapointsRequest( api.GoogleCloudAiplatformV1UpsertDatapointsRequest o) { buildCounterGoogleCloudAiplatformV1UpsertDatapointsRequest++; if (buildCounterGoogleCloudAiplatformV1UpsertDatapointsRequest < 3) { - checkUnnamed330(o.datapoints!); + checkUnnamed332(o.datapoints!); unittest.expect( o.updateMask!, unittest.equals('foo'), @@ -22775,12 +22909,12 @@ void checkGoogleCloudAiplatformV1VideoMetadata( buildCounterGoogleCloudAiplatformV1VideoMetadata--; } -core.List buildUnnamed331() => [ +core.List buildUnnamed333() => [ buildGoogleCloudAiplatformV1NfsMount(), buildGoogleCloudAiplatformV1NfsMount(), ]; -void checkUnnamed331(core.List o) { +void checkUnnamed333(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1NfsMount(o[0]); checkGoogleCloudAiplatformV1NfsMount(o[1]); @@ -22795,7 +22929,7 @@ api.GoogleCloudAiplatformV1WorkerPoolSpec o.containerSpec = buildGoogleCloudAiplatformV1ContainerSpec(); o.diskSpec = buildGoogleCloudAiplatformV1DiskSpec(); o.machineSpec = buildGoogleCloudAiplatformV1MachineSpec(); - o.nfsMounts = buildUnnamed331(); + o.nfsMounts = buildUnnamed333(); o.pythonPackageSpec = buildGoogleCloudAiplatformV1PythonPackageSpec(); o.replicaCount = 'foo'; } @@ -22810,7 +22944,7 @@ void checkGoogleCloudAiplatformV1WorkerPoolSpec( checkGoogleCloudAiplatformV1ContainerSpec(o.containerSpec!); checkGoogleCloudAiplatformV1DiskSpec(o.diskSpec!); checkGoogleCloudAiplatformV1MachineSpec(o.machineSpec!); - checkUnnamed331(o.nfsMounts!); + checkUnnamed333(o.nfsMounts!); checkGoogleCloudAiplatformV1PythonPackageSpec(o.pythonPackageSpec!); unittest.expect( o.replicaCount!, @@ -22821,12 +22955,12 @@ void checkGoogleCloudAiplatformV1WorkerPoolSpec( } core.Map - buildUnnamed332() => { + buildUnnamed334() => { 'x': buildGoogleCloudAiplatformV1FeatureValue(), 'y': buildGoogleCloudAiplatformV1FeatureValue(), }; -void checkUnnamed332( +void checkUnnamed334( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1FeatureValue(o['x']!); @@ -22840,7 +22974,7 @@ api.GoogleCloudAiplatformV1WriteFeatureValuesPayload buildCounterGoogleCloudAiplatformV1WriteFeatureValuesPayload++; if (buildCounterGoogleCloudAiplatformV1WriteFeatureValuesPayload < 3) { o.entityId = 'foo'; - o.featureValues = buildUnnamed332(); + o.featureValues = buildUnnamed334(); } buildCounterGoogleCloudAiplatformV1WriteFeatureValuesPayload--; return o; @@ -22854,18 +22988,18 @@ void checkGoogleCloudAiplatformV1WriteFeatureValuesPayload( o.entityId!, unittest.equals('foo'), ); - checkUnnamed332(o.featureValues!); + checkUnnamed334(o.featureValues!); } buildCounterGoogleCloudAiplatformV1WriteFeatureValuesPayload--; } core.List - buildUnnamed333() => [ + buildUnnamed335() => [ buildGoogleCloudAiplatformV1WriteFeatureValuesPayload(), buildGoogleCloudAiplatformV1WriteFeatureValuesPayload(), ]; -void checkUnnamed333( +void checkUnnamed335( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1WriteFeatureValuesPayload(o[0]); @@ -22878,7 +23012,7 @@ api.GoogleCloudAiplatformV1WriteFeatureValuesRequest final o = api.GoogleCloudAiplatformV1WriteFeatureValuesRequest(); buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest++; if (buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest < 3) { - o.payloads = buildUnnamed333(); + o.payloads = buildUnnamed335(); } buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest--; return o; @@ -22888,7 +23022,7 @@ void checkGoogleCloudAiplatformV1WriteFeatureValuesRequest( api.GoogleCloudAiplatformV1WriteFeatureValuesRequest o) { buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest++; if (buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest < 3) { - checkUnnamed333(o.payloads!); + checkUnnamed335(o.payloads!); } buildCounterGoogleCloudAiplatformV1WriteFeatureValuesRequest--; } @@ -22911,12 +23045,12 @@ void checkGoogleCloudAiplatformV1WriteFeatureValuesResponse( } core.List - buildUnnamed334() => [ + buildUnnamed336() => [ buildGoogleCloudAiplatformV1WriteTensorboardRunDataRequest(), buildGoogleCloudAiplatformV1WriteTensorboardRunDataRequest(), ]; -void checkUnnamed334( +void checkUnnamed336( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1WriteTensorboardRunDataRequest(o[0]); @@ -22932,7 +23066,7 @@ api.GoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest++; if (buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest < 3) { - o.writeRunDataRequests = buildUnnamed334(); + o.writeRunDataRequests = buildUnnamed336(); } buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest--; return o; @@ -22943,7 +23077,7 @@ void checkGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest( buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest++; if (buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest < 3) { - checkUnnamed334(o.writeRunDataRequests!); + checkUnnamed336(o.writeRunDataRequests!); } buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataRequest--; } @@ -22969,12 +23103,12 @@ void checkGoogleCloudAiplatformV1WriteTensorboardExperimentDataResponse( buildCounterGoogleCloudAiplatformV1WriteTensorboardExperimentDataResponse--; } -core.List buildUnnamed335() => [ +core.List buildUnnamed337() => [ buildGoogleCloudAiplatformV1TimeSeriesData(), buildGoogleCloudAiplatformV1TimeSeriesData(), ]; -void checkUnnamed335(core.List o) { +void checkUnnamed337(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudAiplatformV1TimeSeriesData(o[0]); checkGoogleCloudAiplatformV1TimeSeriesData(o[1]); @@ -22987,7 +23121,7 @@ api.GoogleCloudAiplatformV1WriteTensorboardRunDataRequest buildCounterGoogleCloudAiplatformV1WriteTensorboardRunDataRequest++; if (buildCounterGoogleCloudAiplatformV1WriteTensorboardRunDataRequest < 3) { o.tensorboardRun = 'foo'; - o.timeSeriesData = buildUnnamed335(); + o.timeSeriesData = buildUnnamed337(); } buildCounterGoogleCloudAiplatformV1WriteTensorboardRunDataRequest--; return o; @@ -23001,7 +23135,7 @@ void checkGoogleCloudAiplatformV1WriteTensorboardRunDataRequest( o.tensorboardRun!, unittest.equals('foo'), ); - checkUnnamed335(o.timeSeriesData!); + checkUnnamed337(o.timeSeriesData!); } buildCounterGoogleCloudAiplatformV1WriteTensorboardRunDataRequest--; } @@ -23051,12 +23185,12 @@ void checkGoogleCloudAiplatformV1XraiAttribution( buildCounterGoogleCloudAiplatformV1XraiAttribution--; } -core.List buildUnnamed336() => [ +core.List buildUnnamed338() => [ buildGoogleCloudLocationLocation(), buildGoogleCloudLocationLocation(), ]; -void checkUnnamed336(core.List o) { +void checkUnnamed338(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudLocationLocation(o[0]); checkGoogleCloudLocationLocation(o[1]); @@ -23068,7 +23202,7 @@ api.GoogleCloudLocationListLocationsResponse final o = api.GoogleCloudLocationListLocationsResponse(); buildCounterGoogleCloudLocationListLocationsResponse++; if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { - o.locations = buildUnnamed336(); + o.locations = buildUnnamed338(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudLocationListLocationsResponse--; @@ -23079,7 +23213,7 @@ void checkGoogleCloudLocationListLocationsResponse( api.GoogleCloudLocationListLocationsResponse o) { buildCounterGoogleCloudLocationListLocationsResponse++; if (buildCounterGoogleCloudLocationListLocationsResponse < 3) { - checkUnnamed336(o.locations!); + checkUnnamed338(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -23088,12 +23222,12 @@ void checkGoogleCloudLocationListLocationsResponse( buildCounterGoogleCloudLocationListLocationsResponse--; } -core.Map buildUnnamed337() => { +core.Map buildUnnamed339() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed337(core.Map o) { +void checkUnnamed339(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -23105,7 +23239,7 @@ void checkUnnamed337(core.Map o) { ); } -core.Map buildUnnamed338() => { +core.Map buildUnnamed340() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -23118,7 +23252,7 @@ core.Map buildUnnamed338() => { }, }; -void checkUnnamed338(core.Map o) { +void checkUnnamed340(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted68 = (o['x']!) as core.Map; unittest.expect(casted68, unittest.hasLength(3)); @@ -23156,9 +23290,9 @@ api.GoogleCloudLocationLocation buildGoogleCloudLocationLocation() { buildCounterGoogleCloudLocationLocation++; if (buildCounterGoogleCloudLocationLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed337(); + o.labels = buildUnnamed339(); o.locationId = 'foo'; - o.metadata = buildUnnamed338(); + o.metadata = buildUnnamed340(); o.name = 'foo'; } buildCounterGoogleCloudLocationLocation--; @@ -23172,12 +23306,12 @@ void checkGoogleCloudLocationLocation(api.GoogleCloudLocationLocation o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed337(o.labels!); + checkUnnamed339(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed338(o.metadata!); + checkUnnamed340(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -23186,12 +23320,12 @@ void checkGoogleCloudLocationLocation(api.GoogleCloudLocationLocation o) { buildCounterGoogleCloudLocationLocation--; } -core.List buildUnnamed339() => [ +core.List buildUnnamed341() => [ 'foo', 'foo', ]; -void checkUnnamed339(core.List o) { +void checkUnnamed341(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23209,7 +23343,7 @@ api.GoogleIamV1Binding buildGoogleIamV1Binding() { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { o.condition = buildGoogleTypeExpr(); - o.members = buildUnnamed339(); + o.members = buildUnnamed341(); o.role = 'foo'; } buildCounterGoogleIamV1Binding--; @@ -23220,7 +23354,7 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding++; if (buildCounterGoogleIamV1Binding < 3) { checkGoogleTypeExpr(o.condition!); - checkUnnamed339(o.members!); + checkUnnamed341(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -23229,12 +23363,12 @@ void checkGoogleIamV1Binding(api.GoogleIamV1Binding o) { buildCounterGoogleIamV1Binding--; } -core.List buildUnnamed340() => [ +core.List buildUnnamed342() => [ buildGoogleIamV1Binding(), buildGoogleIamV1Binding(), ]; -void checkUnnamed340(core.List o) { +void checkUnnamed342(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleIamV1Binding(o[0]); checkGoogleIamV1Binding(o[1]); @@ -23245,7 +23379,7 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { final o = api.GoogleIamV1Policy(); buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - o.bindings = buildUnnamed340(); + o.bindings = buildUnnamed342(); o.etag = 'foo'; o.version = 42; } @@ -23256,7 +23390,7 @@ api.GoogleIamV1Policy buildGoogleIamV1Policy() { void checkGoogleIamV1Policy(api.GoogleIamV1Policy o) { buildCounterGoogleIamV1Policy++; if (buildCounterGoogleIamV1Policy < 3) { - checkUnnamed340(o.bindings!); + checkUnnamed342(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -23288,12 +23422,12 @@ void checkGoogleIamV1SetIamPolicyRequest(api.GoogleIamV1SetIamPolicyRequest o) { buildCounterGoogleIamV1SetIamPolicyRequest--; } -core.List buildUnnamed341() => [ +core.List buildUnnamed343() => [ 'foo', 'foo', ]; -void checkUnnamed341(core.List o) { +void checkUnnamed343(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23311,7 +23445,7 @@ api.GoogleIamV1TestIamPermissionsResponse final o = api.GoogleIamV1TestIamPermissionsResponse(); buildCounterGoogleIamV1TestIamPermissionsResponse++; if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed341(); + o.permissions = buildUnnamed343(); } buildCounterGoogleIamV1TestIamPermissionsResponse--; return o; @@ -23321,17 +23455,17 @@ void checkGoogleIamV1TestIamPermissionsResponse( api.GoogleIamV1TestIamPermissionsResponse o) { buildCounterGoogleIamV1TestIamPermissionsResponse++; if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) { - checkUnnamed341(o.permissions!); + checkUnnamed343(o.permissions!); } buildCounterGoogleIamV1TestIamPermissionsResponse--; } -core.List buildUnnamed342() => [ +core.List buildUnnamed344() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed342(core.List o) { +void checkUnnamed344(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -23344,7 +23478,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed342(); + o.operations = buildUnnamed344(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -23358,12 +23492,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed342(o.operations!); + checkUnnamed344(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed343() => { +core.Map buildUnnamed345() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -23376,7 +23510,7 @@ core.Map buildUnnamed343() => { }, }; -void checkUnnamed343(core.Map o) { +void checkUnnamed345(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted70 = (o['x']!) as core.Map; unittest.expect(casted70, unittest.hasLength(3)); @@ -23408,7 +23542,7 @@ void checkUnnamed343(core.Map o) { ); } -core.Map buildUnnamed344() => { +core.Map buildUnnamed346() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -23421,7 +23555,7 @@ core.Map buildUnnamed344() => { }, }; -void checkUnnamed344(core.Map o) { +void checkUnnamed346(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted72 = (o['x']!) as core.Map; unittest.expect(casted72, unittest.hasLength(3)); @@ -23460,9 +23594,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed343(); + o.metadata = buildUnnamed345(); o.name = 'foo'; - o.response = buildUnnamed344(); + o.response = buildUnnamed346(); } buildCounterGoogleLongrunningOperation--; return o; @@ -23473,12 +23607,12 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed343(o.metadata!); + checkUnnamed345(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed344(o.response!); + checkUnnamed346(o.response!); } buildCounterGoogleLongrunningOperation--; } @@ -23498,7 +23632,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed345() => { +core.Map buildUnnamed347() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -23511,7 +23645,7 @@ core.Map buildUnnamed345() => { }, }; -void checkUnnamed345(core.Map o) { +void checkUnnamed347(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted74 = (o['x']!) as core.Map; unittest.expect(casted74, unittest.hasLength(3)); @@ -23543,15 +23677,15 @@ void checkUnnamed345(core.Map o) { ); } -core.List> buildUnnamed346() => [ - buildUnnamed345(), - buildUnnamed345(), +core.List> buildUnnamed348() => [ + buildUnnamed347(), + buildUnnamed347(), ]; -void checkUnnamed346(core.List> o) { +void checkUnnamed348(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed345(o[0]); - checkUnnamed345(o[1]); + checkUnnamed347(o[0]); + checkUnnamed347(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -23560,7 +23694,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed346(); + o.details = buildUnnamed348(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -23574,7 +23708,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed346(o.details!); + checkUnnamed348(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -23711,12 +23845,12 @@ void checkGoogleTypeMoney(api.GoogleTypeMoney o) { buildCounterGoogleTypeMoney--; } -core.List buildUnnamed347() => [ +core.List buildUnnamed349() => [ 'foo', 'foo', ]; -void checkUnnamed347(core.List o) { +void checkUnnamed349(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23728,12 +23862,12 @@ void checkUnnamed347(core.List o) { ); } -core.List buildUnnamed348() => [ +core.List buildUnnamed350() => [ 'foo', 'foo', ]; -void checkUnnamed348(core.List o) { +void checkUnnamed350(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23745,12 +23879,12 @@ void checkUnnamed348(core.List o) { ); } -core.List buildUnnamed349() => [ +core.List buildUnnamed351() => [ 'foo', 'foo', ]; -void checkUnnamed349(core.List o) { +void checkUnnamed351(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23762,12 +23896,12 @@ void checkUnnamed349(core.List o) { ); } -core.List buildUnnamed350() => [ +core.List buildUnnamed352() => [ 'foo', 'foo', ]; -void checkUnnamed350(core.List o) { +void checkUnnamed352(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23779,12 +23913,12 @@ void checkUnnamed350(core.List o) { ); } -core.List buildUnnamed351() => [ +core.List buildUnnamed353() => [ 'foo', 'foo', ]; -void checkUnnamed351(core.List o) { +void checkUnnamed353(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23796,12 +23930,12 @@ void checkUnnamed351(core.List o) { ); } -core.List buildUnnamed352() => [ +core.List buildUnnamed354() => [ 'foo', 'foo', ]; -void checkUnnamed352(core.List o) { +void checkUnnamed354(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -23813,12 +23947,12 @@ void checkUnnamed352(core.List o) { ); } -core.List buildUnnamed353() => [ +core.List buildUnnamed355() => [ 'foo', 'foo', ]; -void checkUnnamed353(core.List o) { +void checkUnnamed355(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -26067,6 +26201,16 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudAiplatformV1GoogleSearchRetrieval', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudAiplatformV1GoogleSearchRetrieval(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudAiplatformV1GoogleSearchRetrieval.fromJson( + oJson as core.Map); + checkGoogleCloudAiplatformV1GoogleSearchRetrieval(od); + }); + }); + unittest.group('obj-schema-GoogleCloudAiplatformV1GroundingMetadata', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudAiplatformV1GroundingMetadata(); @@ -26930,6 +27074,18 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleCloudAiplatformV1MetadataStoreDataplexConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudAiplatformV1MetadataStoreDataplexConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudAiplatformV1MetadataStoreDataplexConfig.fromJson( + oJson as core.Map); + checkGoogleCloudAiplatformV1MetadataStoreDataplexConfig(od); + }); + }); + unittest.group( 'obj-schema-GoogleCloudAiplatformV1MetadataStoreMetadataStoreState', () { unittest.test('to-json--from-json', () async { @@ -27756,18 +27912,6 @@ void main() { }); }); - unittest.group( - 'obj-schema-GoogleCloudAiplatformV1NotebookReservationAffinity', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudAiplatformV1NotebookReservationAffinity(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudAiplatformV1NotebookReservationAffinity.fromJson( - oJson as core.Map); - checkGoogleCloudAiplatformV1NotebookReservationAffinity(od); - }); - }); - unittest.group('obj-schema-GoogleCloudAiplatformV1NotebookRuntime', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudAiplatformV1NotebookRuntime(); @@ -28300,6 +28444,16 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudAiplatformV1RayMetricSpec', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudAiplatformV1RayMetricSpec(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudAiplatformV1RayMetricSpec.fromJson( + oJson as core.Map); + checkGoogleCloudAiplatformV1RayMetricSpec(od); + }); + }); + unittest.group('obj-schema-GoogleCloudAiplatformV1RaySpec', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudAiplatformV1RaySpec(); @@ -29011,6 +29165,26 @@ void main() { }); }); + unittest.group('obj-schema-GoogleCloudAiplatformV1StructFieldValue', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudAiplatformV1StructFieldValue(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudAiplatformV1StructFieldValue.fromJson( + oJson as core.Map); + checkGoogleCloudAiplatformV1StructFieldValue(od); + }); + }); + + unittest.group('obj-schema-GoogleCloudAiplatformV1StructValue', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudAiplatformV1StructValue(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleCloudAiplatformV1StructValue.fromJson( + oJson as core.Map); + checkGoogleCloudAiplatformV1StructValue(od); + }); + }); + unittest.group('obj-schema-GoogleCloudAiplatformV1Study', () { unittest.test('to-json--from-json', () async { final o = buildGoogleCloudAiplatformV1Study(); @@ -32064,7 +32238,7 @@ void main() { final mock = HttpServerMock(); final res = api.AiplatformApi(mock).projects.locations.datasets; final arg_dataset = 'foo'; - final arg_annotationFilters = buildUnnamed347(); + final arg_annotationFilters = buildUnnamed349(); final arg_annotationsFilter = 'foo'; final arg_annotationsLimit = 42; final arg_dataItemFilter = 'foo'; @@ -39887,7 +40061,7 @@ void main() { final mock = HttpServerMock(); final res = api.AiplatformApi(mock).projects.locations.featurestores; final arg_resource = 'foo'; - final arg_permissions = buildUnnamed348(); + final arg_permissions = buildUnnamed350(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -40717,7 +40891,7 @@ void main() { final res = api.AiplatformApi(mock).projects.locations.featurestores.entityTypes; final arg_resource = 'foo'; - final arg_permissions = buildUnnamed349(); + final arg_permissions = buildUnnamed351(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -49756,7 +49930,7 @@ void main() { final mock = HttpServerMock(); final res = api.AiplatformApi(mock).projects.locations.models; final arg_resource = 'foo'; - final arg_permissions = buildUnnamed350(); + final arg_permissions = buildUnnamed352(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -51758,7 +51932,7 @@ void main() { final res = api.AiplatformApi(mock).projects.locations.notebookRuntimeTemplates; final arg_resource = 'foo'; - final arg_permissions = buildUnnamed351(); + final arg_permissions = buildUnnamed353(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -57196,7 +57370,7 @@ void main() { final mock = HttpServerMock(); final res = api.AiplatformApi(mock).projects.locations.tensorboards; final arg_tensorboard = 'foo'; - final arg_timeSeries = buildUnnamed352(); + final arg_timeSeries = buildUnnamed354(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -59772,7 +59946,7 @@ void main() { .runs .timeSeries; final arg_timeSeries = 'foo'; - final arg_blobIds = buildUnnamed353(); + final arg_blobIds = buildUnnamed355(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; diff --git a/generated/googleapis/test/alloydb/v1_test.dart b/generated/googleapis/test/alloydb/v1_test.dart index b88f2d9e1..70d0811d2 100644 --- a/generated/googleapis/test/alloydb/v1_test.dart +++ b/generated/googleapis/test/alloydb/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/analytics/v3_test.dart b/generated/googleapis/test/analytics/v3_test.dart index d65ce0dc4..7db632170 100644 --- a/generated/googleapis/test/analytics/v3_test.dart +++ b/generated/googleapis/test/analytics/v3_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/analyticshub/v1_test.dart b/generated/googleapis/test/analyticshub/v1_test.dart index fc5a7a081..4073fda93 100644 --- a/generated/googleapis/test/analyticshub/v1_test.dart +++ b/generated/googleapis/test/analyticshub/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/analyticsreporting/v4_test.dart b/generated/googleapis/test/analyticsreporting/v4_test.dart index 5663576b9..6270cefa5 100644 --- a/generated/googleapis/test/analyticsreporting/v4_test.dart +++ b/generated/googleapis/test/analyticsreporting/v4_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart b/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart index 0a0c424e2..5bfc66ba6 100644 --- a/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart +++ b/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/androidenterprise/v1_test.dart b/generated/googleapis/test/androidenterprise/v1_test.dart index edfc299ec..d04852e8c 100644 --- a/generated/googleapis/test/androidenterprise/v1_test.dart +++ b/generated/googleapis/test/androidenterprise/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/androidmanagement/v1_test.dart b/generated/googleapis/test/androidmanagement/v1_test.dart index a71c6d436..0590ce2cf 100644 --- a/generated/googleapis/test/androidmanagement/v1_test.dart +++ b/generated/googleapis/test/androidmanagement/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -8104,6 +8105,7 @@ void main() { unittest.test('method--create', () async { final mock = HttpServerMock(); final res = api.AndroidManagementApi(mock).signupUrls; + final arg_adminEmail = 'foo'; final arg_callbackUrl = 'foo'; final arg_projectId = 'foo'; final arg_$fields = 'foo'; @@ -8138,6 +8140,10 @@ void main() { ); } } + unittest.expect( + queryMap['adminEmail']!.first, + unittest.equals(arg_adminEmail), + ); unittest.expect( queryMap['callbackUrl']!.first, unittest.equals(arg_callbackUrl), @@ -8158,6 +8164,7 @@ void main() { return async.Future.value(stringResponse(200, h, resp)); }), true); final response = await res.create( + adminEmail: arg_adminEmail, callbackUrl: arg_callbackUrl, projectId: arg_projectId, $fields: arg_$fields); diff --git a/generated/googleapis/test/androidpublisher/v3_test.dart b/generated/googleapis/test/androidpublisher/v3_test.dart index e96735df7..f07136cca 100644 --- a/generated/googleapis/test/androidpublisher/v3_test.dart +++ b/generated/googleapis/test/androidpublisher/v3_test.dart @@ -1,6 +1,7 @@ // 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 @@ -804,6 +805,7 @@ api.AutoRenewingPlan buildAutoRenewingPlan() { buildCounterAutoRenewingPlan++; if (buildCounterAutoRenewingPlan < 3) { o.autoRenewEnabled = true; + o.installmentDetails = buildInstallmentPlan(); o.priceChangeDetails = buildSubscriptionItemPriceChangeDetails(); } buildCounterAutoRenewingPlan--; @@ -814,6 +816,7 @@ void checkAutoRenewingPlan(api.AutoRenewingPlan o) { buildCounterAutoRenewingPlan++; if (buildCounterAutoRenewingPlan < 3) { unittest.expect(o.autoRenewEnabled!, unittest.isTrue); + checkInstallmentPlan(o.installmentDetails!); checkSubscriptionItemPriceChangeDetails(o.priceChangeDetails!); } buildCounterAutoRenewingPlan--; @@ -848,6 +851,7 @@ api.BasePlan buildBasePlan() { if (buildCounterBasePlan < 3) { o.autoRenewingBasePlanType = buildAutoRenewingBasePlanType(); o.basePlanId = 'foo'; + o.installmentsBasePlanType = buildInstallmentsBasePlanType(); o.offerTags = buildUnnamed7(); o.otherRegionsConfig = buildOtherRegionsBasePlanConfig(); o.prepaidBasePlanType = buildPrepaidBasePlanType(); @@ -866,6 +870,7 @@ void checkBasePlan(api.BasePlan o) { o.basePlanId!, unittest.equals('foo'), ); + checkInstallmentsBasePlanType(o.installmentsBasePlanType!); checkUnnamed7(o.offerTags!); checkOtherRegionsBasePlanConfig(o.otherRegionsConfig!); checkPrepaidBasePlanType(o.prepaidBasePlanType!); @@ -3482,6 +3487,92 @@ void checkInappproductsUpdateRequest(api.InappproductsUpdateRequest o) { buildCounterInappproductsUpdateRequest--; } +core.int buildCounterInstallmentPlan = 0; +api.InstallmentPlan buildInstallmentPlan() { + final o = api.InstallmentPlan(); + buildCounterInstallmentPlan++; + if (buildCounterInstallmentPlan < 3) { + o.initialCommittedPaymentsCount = 42; + o.pendingCancellation = buildPendingCancellation(); + o.remainingCommittedPaymentsCount = 42; + o.subsequentCommittedPaymentsCount = 42; + } + buildCounterInstallmentPlan--; + return o; +} + +void checkInstallmentPlan(api.InstallmentPlan o) { + buildCounterInstallmentPlan++; + if (buildCounterInstallmentPlan < 3) { + unittest.expect( + o.initialCommittedPaymentsCount!, + unittest.equals(42), + ); + checkPendingCancellation(o.pendingCancellation!); + unittest.expect( + o.remainingCommittedPaymentsCount!, + unittest.equals(42), + ); + unittest.expect( + o.subsequentCommittedPaymentsCount!, + unittest.equals(42), + ); + } + buildCounterInstallmentPlan--; +} + +core.int buildCounterInstallmentsBasePlanType = 0; +api.InstallmentsBasePlanType buildInstallmentsBasePlanType() { + final o = api.InstallmentsBasePlanType(); + buildCounterInstallmentsBasePlanType++; + if (buildCounterInstallmentsBasePlanType < 3) { + o.accountHoldDuration = 'foo'; + o.billingPeriodDuration = 'foo'; + o.committedPaymentsCount = 42; + o.gracePeriodDuration = 'foo'; + o.prorationMode = 'foo'; + o.renewalType = 'foo'; + o.resubscribeState = 'foo'; + } + buildCounterInstallmentsBasePlanType--; + return o; +} + +void checkInstallmentsBasePlanType(api.InstallmentsBasePlanType o) { + buildCounterInstallmentsBasePlanType++; + if (buildCounterInstallmentsBasePlanType < 3) { + unittest.expect( + o.accountHoldDuration!, + unittest.equals('foo'), + ); + unittest.expect( + o.billingPeriodDuration!, + unittest.equals('foo'), + ); + unittest.expect( + o.committedPaymentsCount!, + unittest.equals(42), + ); + unittest.expect( + o.gracePeriodDuration!, + unittest.equals('foo'), + ); + unittest.expect( + o.prorationMode!, + unittest.equals('foo'), + ); + unittest.expect( + o.renewalType!, + unittest.equals('foo'), + ); + unittest.expect( + o.resubscribeState!, + unittest.equals('foo'), + ); + } + buildCounterInstallmentsBasePlanType--; +} + core.int buildCounterInternalAppSharingArtifact = 0; api.InternalAppSharingArtifact buildInternalAppSharingArtifact() { final o = api.InternalAppSharingArtifact(); @@ -4475,6 +4566,21 @@ void checkPausedStateContext(api.PausedStateContext o) { buildCounterPausedStateContext--; } +core.int buildCounterPendingCancellation = 0; +api.PendingCancellation buildPendingCancellation() { + final o = api.PendingCancellation(); + buildCounterPendingCancellation++; + if (buildCounterPendingCancellation < 3) {} + buildCounterPendingCancellation--; + return o; +} + +void checkPendingCancellation(api.PendingCancellation o) { + buildCounterPendingCancellation++; + if (buildCounterPendingCancellation < 3) {} + buildCounterPendingCancellation--; +} + core.int buildCounterPrepaidBasePlanType = 0; api.PrepaidBasePlanType buildPrepaidBasePlanType() { final o = api.PrepaidBasePlanType(); @@ -5048,12 +5154,48 @@ void checkReplacementCancellation(api.ReplacementCancellation o) { buildCounterReplacementCancellation--; } -core.List buildUnnamed74() => [ +core.List buildUnnamed74() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed74(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 buildCounterRestrictedPaymentCountries = 0; +api.RestrictedPaymentCountries buildRestrictedPaymentCountries() { + final o = api.RestrictedPaymentCountries(); + buildCounterRestrictedPaymentCountries++; + if (buildCounterRestrictedPaymentCountries < 3) { + o.regionCodes = buildUnnamed74(); + } + buildCounterRestrictedPaymentCountries--; + return o; +} + +void checkRestrictedPaymentCountries(api.RestrictedPaymentCountries o) { + buildCounterRestrictedPaymentCountries++; + if (buildCounterRestrictedPaymentCountries < 3) { + checkUnnamed74(o.regionCodes!); + } + buildCounterRestrictedPaymentCountries--; +} + +core.List buildUnnamed75() => [ buildComment(), buildComment(), ]; -void checkUnnamed74(core.List o) { +void checkUnnamed75(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkComment(o[0]); checkComment(o[1]); @@ -5065,7 +5207,7 @@ api.Review buildReview() { buildCounterReview++; if (buildCounterReview < 3) { o.authorName = 'foo'; - o.comments = buildUnnamed74(); + o.comments = buildUnnamed75(); o.reviewId = 'foo'; } buildCounterReview--; @@ -5079,7 +5221,7 @@ void checkReview(api.Review o) { o.authorName!, unittest.equals('foo'), ); - checkUnnamed74(o.comments!); + checkUnnamed75(o.comments!); unittest.expect( o.reviewId!, unittest.equals('foo'), @@ -5112,12 +5254,12 @@ void checkReviewReplyResult(api.ReviewReplyResult o) { buildCounterReviewReplyResult--; } -core.List buildUnnamed75() => [ +core.List buildUnnamed76() => [ buildReview(), buildReview(), ]; -void checkUnnamed75(core.List o) { +void checkUnnamed76(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReview(o[0]); checkReview(o[1]); @@ -5129,7 +5271,7 @@ api.ReviewsListResponse buildReviewsListResponse() { buildCounterReviewsListResponse++; if (buildCounterReviewsListResponse < 3) { o.pageInfo = buildPageInfo(); - o.reviews = buildUnnamed75(); + o.reviews = buildUnnamed76(); o.tokenPagination = buildTokenPagination(); } buildCounterReviewsListResponse--; @@ -5140,7 +5282,7 @@ void checkReviewsListResponse(api.ReviewsListResponse o) { buildCounterReviewsListResponse++; if (buildCounterReviewsListResponse < 3) { checkPageInfo(o.pageInfo!); - checkUnnamed75(o.reviews!); + checkUnnamed76(o.reviews!); checkTokenPagination(o.tokenPagination!); } buildCounterReviewsListResponse--; @@ -5323,23 +5465,23 @@ void checkScreenDensity(api.ScreenDensity o) { buildCounterScreenDensity--; } -core.List buildUnnamed76() => [ +core.List buildUnnamed77() => [ buildScreenDensity(), buildScreenDensity(), ]; -void checkUnnamed76(core.List o) { +void checkUnnamed77(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScreenDensity(o[0]); checkScreenDensity(o[1]); } -core.List buildUnnamed77() => [ +core.List buildUnnamed78() => [ buildScreenDensity(), buildScreenDensity(), ]; -void checkUnnamed77(core.List o) { +void checkUnnamed78(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScreenDensity(o[0]); checkScreenDensity(o[1]); @@ -5350,8 +5492,8 @@ api.ScreenDensityTargeting buildScreenDensityTargeting() { final o = api.ScreenDensityTargeting(); buildCounterScreenDensityTargeting++; if (buildCounterScreenDensityTargeting < 3) { - o.alternatives = buildUnnamed76(); - o.value = buildUnnamed77(); + o.alternatives = buildUnnamed77(); + o.value = buildUnnamed78(); } buildCounterScreenDensityTargeting--; return o; @@ -5360,8 +5502,8 @@ api.ScreenDensityTargeting buildScreenDensityTargeting() { void checkScreenDensityTargeting(api.ScreenDensityTargeting o) { buildCounterScreenDensityTargeting++; if (buildCounterScreenDensityTargeting < 3) { - checkUnnamed76(o.alternatives!); - checkUnnamed77(o.value!); + checkUnnamed77(o.alternatives!); + checkUnnamed78(o.value!); } buildCounterScreenDensityTargeting--; } @@ -5388,23 +5530,23 @@ void checkSdkVersion(api.SdkVersion o) { buildCounterSdkVersion--; } -core.List buildUnnamed78() => [ +core.List buildUnnamed79() => [ buildSdkVersion(), buildSdkVersion(), ]; -void checkUnnamed78(core.List o) { +void checkUnnamed79(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSdkVersion(o[0]); checkSdkVersion(o[1]); } -core.List buildUnnamed79() => [ +core.List buildUnnamed80() => [ buildSdkVersion(), buildSdkVersion(), ]; -void checkUnnamed79(core.List o) { +void checkUnnamed80(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSdkVersion(o[0]); checkSdkVersion(o[1]); @@ -5415,8 +5557,8 @@ api.SdkVersionTargeting buildSdkVersionTargeting() { final o = api.SdkVersionTargeting(); buildCounterSdkVersionTargeting++; if (buildCounterSdkVersionTargeting < 3) { - o.alternatives = buildUnnamed78(); - o.value = buildUnnamed79(); + o.alternatives = buildUnnamed79(); + o.value = buildUnnamed80(); } buildCounterSdkVersionTargeting--; return o; @@ -5425,8 +5567,8 @@ api.SdkVersionTargeting buildSdkVersionTargeting() { void checkSdkVersionTargeting(api.SdkVersionTargeting o) { buildCounterSdkVersionTargeting++; if (buildCounterSdkVersionTargeting < 3) { - checkUnnamed78(o.alternatives!); - checkUnnamed79(o.value!); + checkUnnamed79(o.alternatives!); + checkUnnamed80(o.value!); } buildCounterSdkVersionTargeting--; } @@ -5455,12 +5597,12 @@ void checkSplitApkMetadata(api.SplitApkMetadata o) { buildCounterSplitApkMetadata--; } -core.List buildUnnamed80() => [ +core.List buildUnnamed81() => [ buildApkSet(), buildApkSet(), ]; -void checkUnnamed80(core.List o) { +void checkUnnamed81(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApkSet(o[0]); checkApkSet(o[1]); @@ -5471,7 +5613,7 @@ api.SplitApkVariant buildSplitApkVariant() { final o = api.SplitApkVariant(); buildCounterSplitApkVariant++; if (buildCounterSplitApkVariant < 3) { - o.apkSet = buildUnnamed80(); + o.apkSet = buildUnnamed81(); o.targeting = buildVariantTargeting(); o.variantNumber = 42; } @@ -5482,7 +5624,7 @@ api.SplitApkVariant buildSplitApkVariant() { void checkSplitApkVariant(api.SplitApkVariant o) { buildCounterSplitApkVariant++; if (buildCounterSplitApkVariant < 3) { - checkUnnamed80(o.apkSet!); + checkUnnamed81(o.apkSet!); checkVariantTargeting(o.targeting!); unittest.expect( o.variantNumber!, @@ -5492,12 +5634,12 @@ void checkSplitApkVariant(api.SplitApkVariant o) { buildCounterSplitApkVariant--; } -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], @@ -5514,7 +5656,7 @@ api.StandaloneApkMetadata buildStandaloneApkMetadata() { final o = api.StandaloneApkMetadata(); buildCounterStandaloneApkMetadata++; if (buildCounterStandaloneApkMetadata < 3) { - o.fusedModuleName = buildUnnamed81(); + o.fusedModuleName = buildUnnamed82(); } buildCounterStandaloneApkMetadata--; return o; @@ -5523,7 +5665,7 @@ api.StandaloneApkMetadata buildStandaloneApkMetadata() { void checkStandaloneApkMetadata(api.StandaloneApkMetadata o) { buildCounterStandaloneApkMetadata++; if (buildCounterStandaloneApkMetadata < 3) { - checkUnnamed81(o.fusedModuleName!); + checkUnnamed82(o.fusedModuleName!); } buildCounterStandaloneApkMetadata--; } @@ -5570,23 +5712,23 @@ void checkSubscribeWithGoogleInfo(api.SubscribeWithGoogleInfo o) { buildCounterSubscribeWithGoogleInfo--; } -core.List buildUnnamed82() => [ +core.List buildUnnamed83() => [ buildBasePlan(), buildBasePlan(), ]; -void checkUnnamed82(core.List o) { +void checkUnnamed83(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBasePlan(o[0]); checkBasePlan(o[1]); } -core.List buildUnnamed83() => [ +core.List buildUnnamed84() => [ buildSubscriptionListing(), buildSubscriptionListing(), ]; -void checkUnnamed83(core.List o) { +void checkUnnamed84(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubscriptionListing(o[0]); checkSubscriptionListing(o[1]); @@ -5598,10 +5740,11 @@ api.Subscription buildSubscription() { buildCounterSubscription++; if (buildCounterSubscription < 3) { o.archived = true; - o.basePlans = buildUnnamed82(); - o.listings = buildUnnamed83(); + o.basePlans = buildUnnamed83(); + o.listings = buildUnnamed84(); o.packageName = 'foo'; o.productId = 'foo'; + o.restrictedPaymentCountries = buildRestrictedPaymentCountries(); o.taxAndComplianceSettings = buildSubscriptionTaxAndComplianceSettings(); } buildCounterSubscription--; @@ -5612,8 +5755,8 @@ void checkSubscription(api.Subscription o) { buildCounterSubscription++; if (buildCounterSubscription < 3) { unittest.expect(o.archived!, unittest.isTrue); - checkUnnamed82(o.basePlans!); - checkUnnamed83(o.listings!); + checkUnnamed83(o.basePlans!); + checkUnnamed84(o.listings!); unittest.expect( o.packageName!, unittest.equals('foo'), @@ -5622,6 +5765,7 @@ void checkSubscription(api.Subscription o) { o.productId!, unittest.equals('foo'), ); + checkRestrictedPaymentCountries(o.restrictedPaymentCountries!); checkSubscriptionTaxAndComplianceSettings(o.taxAndComplianceSettings!); } buildCounterSubscription--; @@ -5717,12 +5861,12 @@ void checkSubscriptionItemPriceChangeDetails( buildCounterSubscriptionItemPriceChangeDetails--; } -core.List buildUnnamed84() => [ +core.List buildUnnamed85() => [ 'foo', 'foo', ]; -void checkUnnamed84(core.List o) { +void checkUnnamed85(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5739,7 +5883,7 @@ api.SubscriptionListing buildSubscriptionListing() { final o = api.SubscriptionListing(); buildCounterSubscriptionListing++; if (buildCounterSubscriptionListing < 3) { - o.benefits = buildUnnamed84(); + o.benefits = buildUnnamed85(); o.description = 'foo'; o.languageCode = 'foo'; o.title = 'foo'; @@ -5751,7 +5895,7 @@ api.SubscriptionListing buildSubscriptionListing() { void checkSubscriptionListing(api.SubscriptionListing o) { buildCounterSubscriptionListing++; if (buildCounterSubscriptionListing < 3) { - checkUnnamed84(o.benefits!); + checkUnnamed85(o.benefits!); unittest.expect( o.description!, unittest.equals('foo'), @@ -5768,34 +5912,34 @@ void checkSubscriptionListing(api.SubscriptionListing o) { buildCounterSubscriptionListing--; } -core.List buildUnnamed85() => [ +core.List buildUnnamed86() => [ buildOfferTag(), buildOfferTag(), ]; -void checkUnnamed85(core.List o) { +void checkUnnamed86(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOfferTag(o[0]); checkOfferTag(o[1]); } -core.List buildUnnamed86() => [ +core.List buildUnnamed87() => [ buildSubscriptionOfferPhase(), buildSubscriptionOfferPhase(), ]; -void checkUnnamed86(core.List o) { +void checkUnnamed87(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubscriptionOfferPhase(o[0]); checkSubscriptionOfferPhase(o[1]); } -core.List buildUnnamed87() => [ +core.List buildUnnamed88() => [ buildRegionalSubscriptionOfferConfig(), buildRegionalSubscriptionOfferConfig(), ]; -void checkUnnamed87(core.List o) { +void checkUnnamed88(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegionalSubscriptionOfferConfig(o[0]); checkRegionalSubscriptionOfferConfig(o[1]); @@ -5808,12 +5952,12 @@ api.SubscriptionOffer buildSubscriptionOffer() { if (buildCounterSubscriptionOffer < 3) { o.basePlanId = 'foo'; o.offerId = 'foo'; - o.offerTags = buildUnnamed85(); + o.offerTags = buildUnnamed86(); o.otherRegionsConfig = buildOtherRegionsSubscriptionOfferConfig(); o.packageName = 'foo'; - o.phases = buildUnnamed86(); + o.phases = buildUnnamed87(); o.productId = 'foo'; - o.regionalConfigs = buildUnnamed87(); + o.regionalConfigs = buildUnnamed88(); o.state = 'foo'; o.targeting = buildSubscriptionOfferTargeting(); } @@ -5832,18 +5976,18 @@ void checkSubscriptionOffer(api.SubscriptionOffer o) { o.offerId!, unittest.equals('foo'), ); - checkUnnamed85(o.offerTags!); + checkUnnamed86(o.offerTags!); checkOtherRegionsSubscriptionOfferConfig(o.otherRegionsConfig!); unittest.expect( o.packageName!, unittest.equals('foo'), ); - checkUnnamed86(o.phases!); + checkUnnamed87(o.phases!); unittest.expect( o.productId!, unittest.equals('foo'), ); - checkUnnamed87(o.regionalConfigs!); + checkUnnamed88(o.regionalConfigs!); unittest.expect( o.state!, unittest.equals('foo'), @@ -5853,12 +5997,12 @@ void checkSubscriptionOffer(api.SubscriptionOffer o) { buildCounterSubscriptionOffer--; } -core.List buildUnnamed88() => [ +core.List buildUnnamed89() => [ buildRegionalSubscriptionOfferPhaseConfig(), buildRegionalSubscriptionOfferPhaseConfig(), ]; -void checkUnnamed88(core.List o) { +void checkUnnamed89(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegionalSubscriptionOfferPhaseConfig(o[0]); checkRegionalSubscriptionOfferPhaseConfig(o[1]); @@ -5872,7 +6016,7 @@ api.SubscriptionOfferPhase buildSubscriptionOfferPhase() { o.duration = 'foo'; o.otherRegionsConfig = buildOtherRegionsSubscriptionOfferPhaseConfig(); o.recurrenceCount = 42; - o.regionalConfigs = buildUnnamed88(); + o.regionalConfigs = buildUnnamed89(); } buildCounterSubscriptionOfferPhase--; return o; @@ -5890,7 +6034,7 @@ void checkSubscriptionOfferPhase(api.SubscriptionOfferPhase o) { o.recurrenceCount!, unittest.equals(42), ); - checkUnnamed88(o.regionalConfigs!); + checkUnnamed89(o.regionalConfigs!); } buildCounterSubscriptionOfferPhase--; } @@ -6125,12 +6269,12 @@ void checkSubscriptionPurchaseLineItem(api.SubscriptionPurchaseLineItem o) { buildCounterSubscriptionPurchaseLineItem--; } -core.List buildUnnamed89() => [ +core.List buildUnnamed90() => [ buildSubscriptionPurchaseLineItem(), buildSubscriptionPurchaseLineItem(), ]; -void checkUnnamed89(core.List o) { +void checkUnnamed90(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubscriptionPurchaseLineItem(o[0]); checkSubscriptionPurchaseLineItem(o[1]); @@ -6146,7 +6290,7 @@ api.SubscriptionPurchaseV2 buildSubscriptionPurchaseV2() { o.externalAccountIdentifiers = buildExternalAccountIdentifiers(); o.kind = 'foo'; o.latestOrderId = 'foo'; - o.lineItems = buildUnnamed89(); + o.lineItems = buildUnnamed90(); o.linkedPurchaseToken = 'foo'; o.pausedStateContext = buildPausedStateContext(); o.regionCode = 'foo'; @@ -6176,7 +6320,7 @@ void checkSubscriptionPurchaseV2(api.SubscriptionPurchaseV2 o) { o.latestOrderId!, unittest.equals('foo'), ); - checkUnnamed89(o.lineItems!); + checkUnnamed90(o.lineItems!); unittest.expect( o.linkedPurchaseToken!, unittest.equals('foo'), @@ -6268,12 +6412,12 @@ void checkSubscriptionPurchasesDeferResponse( buildCounterSubscriptionPurchasesDeferResponse--; } -core.Map buildUnnamed90() => { +core.Map buildUnnamed91() => { 'x': buildRegionalTaxRateInfo(), 'y': buildRegionalTaxRateInfo(), }; -void checkUnnamed90(core.Map o) { +void checkUnnamed91(core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkRegionalTaxRateInfo(o['x']!); checkRegionalTaxRateInfo(o['y']!); @@ -6287,7 +6431,7 @@ api.SubscriptionTaxAndComplianceSettings if (buildCounterSubscriptionTaxAndComplianceSettings < 3) { o.eeaWithdrawalRightType = 'foo'; o.isTokenizedDigitalAsset = true; - o.taxRateInfoByRegionCode = buildUnnamed90(); + o.taxRateInfoByRegionCode = buildUnnamed91(); } buildCounterSubscriptionTaxAndComplianceSettings--; return o; @@ -6302,7 +6446,7 @@ void checkSubscriptionTaxAndComplianceSettings( unittest.equals('foo'), ); unittest.expect(o.isTokenizedDigitalAsset!, unittest.isTrue); - checkUnnamed90(o.taxRateInfoByRegionCode!); + checkUnnamed91(o.taxRateInfoByRegionCode!); } buildCounterSubscriptionTaxAndComplianceSettings--; } @@ -6330,12 +6474,12 @@ void checkSystemApkOptions(api.SystemApkOptions o) { buildCounterSystemApkOptions--; } -core.List buildUnnamed91() => [ +core.List buildUnnamed92() => [ buildVariant(), buildVariant(), ]; -void checkUnnamed91(core.List o) { +void checkUnnamed92(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVariant(o[0]); checkVariant(o[1]); @@ -6346,7 +6490,7 @@ api.SystemApksListResponse buildSystemApksListResponse() { final o = api.SystemApksListResponse(); buildCounterSystemApksListResponse++; if (buildCounterSystemApksListResponse < 3) { - o.variants = buildUnnamed91(); + o.variants = buildUnnamed92(); } buildCounterSystemApksListResponse--; return o; @@ -6355,7 +6499,7 @@ api.SystemApksListResponse buildSystemApksListResponse() { void checkSystemApksListResponse(api.SystemApksListResponse o) { buildCounterSystemApksListResponse++; if (buildCounterSystemApksListResponse < 3) { - checkUnnamed91(o.variants!); + checkUnnamed92(o.variants!); } buildCounterSystemApksListResponse--; } @@ -6424,23 +6568,23 @@ void checkTargeting(api.Targeting o) { buildCounterTargeting--; } -core.List buildUnnamed92() => [ +core.List buildUnnamed93() => [ buildAssetSliceSet(), buildAssetSliceSet(), ]; -void checkUnnamed92(core.List o) { +void checkUnnamed93(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAssetSliceSet(o[0]); checkAssetSliceSet(o[1]); } -core.List buildUnnamed93() => [ +core.List buildUnnamed94() => [ buildSplitApkVariant(), buildSplitApkVariant(), ]; -void checkUnnamed93(core.List o) { +void checkUnnamed94(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSplitApkVariant(o[0]); checkSplitApkVariant(o[1]); @@ -6451,9 +6595,9 @@ api.TargetingInfo buildTargetingInfo() { final o = api.TargetingInfo(); buildCounterTargetingInfo++; if (buildCounterTargetingInfo < 3) { - o.assetSliceSet = buildUnnamed92(); + o.assetSliceSet = buildUnnamed93(); o.packageName = 'foo'; - o.variant = buildUnnamed93(); + o.variant = buildUnnamed94(); } buildCounterTargetingInfo--; return o; @@ -6462,12 +6606,12 @@ api.TargetingInfo buildTargetingInfo() { void checkTargetingInfo(api.TargetingInfo o) { buildCounterTargetingInfo++; if (buildCounterTargetingInfo < 3) { - checkUnnamed92(o.assetSliceSet!); + checkUnnamed93(o.assetSliceSet!); unittest.expect( o.packageName!, unittest.equals('foo'), ); - checkUnnamed93(o.variant!); + checkUnnamed94(o.variant!); } buildCounterTargetingInfo--; } @@ -6570,12 +6714,12 @@ void checkTestPurchase(api.TestPurchase o) { buildCounterTestPurchase--; } -core.List buildUnnamed94() => [ +core.List buildUnnamed95() => [ 'foo', 'foo', ]; -void checkUnnamed94(core.List o) { +void checkUnnamed95(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -6592,7 +6736,7 @@ api.Testers buildTesters() { final o = api.Testers(); buildCounterTesters++; if (buildCounterTesters < 3) { - o.googleGroups = buildUnnamed94(); + o.googleGroups = buildUnnamed95(); } buildCounterTesters--; return o; @@ -6601,7 +6745,7 @@ api.Testers buildTesters() { void checkTesters(api.Testers o) { buildCounterTesters++; if (buildCounterTesters < 3) { - checkUnnamed94(o.googleGroups!); + checkUnnamed95(o.googleGroups!); } buildCounterTesters--; } @@ -6628,23 +6772,23 @@ void checkTextureCompressionFormat(api.TextureCompressionFormat o) { buildCounterTextureCompressionFormat--; } -core.List buildUnnamed95() => [ +core.List buildUnnamed96() => [ buildTextureCompressionFormat(), buildTextureCompressionFormat(), ]; -void checkUnnamed95(core.List o) { +void checkUnnamed96(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTextureCompressionFormat(o[0]); checkTextureCompressionFormat(o[1]); } -core.List buildUnnamed96() => [ +core.List buildUnnamed97() => [ buildTextureCompressionFormat(), buildTextureCompressionFormat(), ]; -void checkUnnamed96(core.List o) { +void checkUnnamed97(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTextureCompressionFormat(o[0]); checkTextureCompressionFormat(o[1]); @@ -6655,8 +6799,8 @@ api.TextureCompressionFormatTargeting buildTextureCompressionFormatTargeting() { final o = api.TextureCompressionFormatTargeting(); buildCounterTextureCompressionFormatTargeting++; if (buildCounterTextureCompressionFormatTargeting < 3) { - o.alternatives = buildUnnamed95(); - o.value = buildUnnamed96(); + o.alternatives = buildUnnamed96(); + o.value = buildUnnamed97(); } buildCounterTextureCompressionFormatTargeting--; return o; @@ -6666,8 +6810,8 @@ void checkTextureCompressionFormatTargeting( api.TextureCompressionFormatTargeting o) { buildCounterTextureCompressionFormatTargeting++; if (buildCounterTextureCompressionFormatTargeting < 3) { - checkUnnamed95(o.alternatives!); - checkUnnamed96(o.value!); + checkUnnamed96(o.alternatives!); + checkUnnamed97(o.value!); } buildCounterTextureCompressionFormatTargeting--; } @@ -6726,12 +6870,12 @@ void checkTokenPagination(api.TokenPagination o) { buildCounterTokenPagination--; } -core.List buildUnnamed97() => [ +core.List buildUnnamed98() => [ buildTrackRelease(), buildTrackRelease(), ]; -void checkUnnamed97(core.List o) { +void checkUnnamed98(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrackRelease(o[0]); checkTrackRelease(o[1]); @@ -6742,7 +6886,7 @@ api.Track buildTrack() { final o = api.Track(); buildCounterTrack++; if (buildCounterTrack < 3) { - o.releases = buildUnnamed97(); + o.releases = buildUnnamed98(); o.track = 'foo'; } buildCounterTrack--; @@ -6752,7 +6896,7 @@ api.Track buildTrack() { void checkTrack(api.Track o) { buildCounterTrack++; if (buildCounterTrack < 3) { - checkUnnamed97(o.releases!); + checkUnnamed98(o.releases!); unittest.expect( o.track!, unittest.equals('foo'), @@ -6793,12 +6937,12 @@ void checkTrackConfig(api.TrackConfig o) { buildCounterTrackConfig--; } -core.List buildUnnamed98() => [ +core.List buildUnnamed99() => [ buildTrackTargetedCountry(), buildTrackTargetedCountry(), ]; -void checkUnnamed98(core.List o) { +void checkUnnamed99(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrackTargetedCountry(o[0]); checkTrackTargetedCountry(o[1]); @@ -6809,7 +6953,7 @@ api.TrackCountryAvailability buildTrackCountryAvailability() { final o = api.TrackCountryAvailability(); buildCounterTrackCountryAvailability++; if (buildCounterTrackCountryAvailability < 3) { - o.countries = buildUnnamed98(); + o.countries = buildUnnamed99(); o.restOfWorld = true; o.syncWithProduction = true; } @@ -6820,30 +6964,30 @@ api.TrackCountryAvailability buildTrackCountryAvailability() { void checkTrackCountryAvailability(api.TrackCountryAvailability o) { buildCounterTrackCountryAvailability++; if (buildCounterTrackCountryAvailability < 3) { - checkUnnamed98(o.countries!); + checkUnnamed99(o.countries!); unittest.expect(o.restOfWorld!, unittest.isTrue); unittest.expect(o.syncWithProduction!, unittest.isTrue); } buildCounterTrackCountryAvailability--; } -core.List buildUnnamed99() => [ +core.List buildUnnamed100() => [ buildLocalizedText(), buildLocalizedText(), ]; -void checkUnnamed99(core.List o) { +void checkUnnamed100(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocalizedText(o[0]); checkLocalizedText(o[1]); } -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], @@ -6863,10 +7007,10 @@ api.TrackRelease buildTrackRelease() { o.countryTargeting = buildCountryTargeting(); o.inAppUpdatePriority = 42; o.name = 'foo'; - o.releaseNotes = buildUnnamed99(); + o.releaseNotes = buildUnnamed100(); o.status = 'foo'; o.userFraction = 42.0; - o.versionCodes = buildUnnamed100(); + o.versionCodes = buildUnnamed101(); } buildCounterTrackRelease--; return o; @@ -6884,7 +7028,7 @@ void checkTrackRelease(api.TrackRelease o) { o.name!, unittest.equals('foo'), ); - checkUnnamed99(o.releaseNotes!); + checkUnnamed100(o.releaseNotes!); unittest.expect( o.status!, unittest.equals('foo'), @@ -6893,7 +7037,7 @@ void checkTrackRelease(api.TrackRelease o) { o.userFraction!, unittest.equals(42.0), ); - checkUnnamed100(o.versionCodes!); + checkUnnamed101(o.versionCodes!); } buildCounterTrackRelease--; } @@ -6920,12 +7064,12 @@ void checkTrackTargetedCountry(api.TrackTargetedCountry o) { buildCounterTrackTargetedCountry--; } -core.List buildUnnamed101() => [ +core.List buildUnnamed102() => [ buildTrack(), buildTrack(), ]; -void checkUnnamed101(core.List o) { +void checkUnnamed102(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTrack(o[0]); checkTrack(o[1]); @@ -6937,7 +7081,7 @@ api.TracksListResponse buildTracksListResponse() { buildCounterTracksListResponse++; if (buildCounterTracksListResponse < 3) { o.kind = 'foo'; - o.tracks = buildUnnamed101(); + o.tracks = buildUnnamed102(); } buildCounterTracksListResponse--; return o; @@ -6950,7 +7094,7 @@ void checkTracksListResponse(api.TracksListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed101(o.tracks!); + checkUnnamed102(o.tracks!); } buildCounterTracksListResponse--; } @@ -7094,12 +7238,12 @@ void checkUpgradeTargetingRule(api.UpgradeTargetingRule o) { buildCounterUpgradeTargetingRule--; } -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], @@ -7111,12 +7255,12 @@ void checkUnnamed102(core.List o) { ); } -core.List buildUnnamed103() => [ +core.List buildUnnamed104() => [ buildGrant(), buildGrant(), ]; -void checkUnnamed103(core.List o) { +void checkUnnamed104(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGrant(o[0]); checkGrant(o[1]); @@ -7128,10 +7272,10 @@ api.User buildUser() { buildCounterUser++; if (buildCounterUser < 3) { o.accessState = 'foo'; - o.developerAccountPermissions = buildUnnamed102(); + o.developerAccountPermissions = buildUnnamed103(); o.email = 'foo'; o.expirationTime = 'foo'; - o.grants = buildUnnamed103(); + o.grants = buildUnnamed104(); o.name = 'foo'; o.partial = true; } @@ -7146,7 +7290,7 @@ void checkUser(api.User o) { o.accessState!, unittest.equals('foo'), ); - checkUnnamed102(o.developerAccountPermissions!); + checkUnnamed103(o.developerAccountPermissions!); unittest.expect( o.email!, unittest.equals('foo'), @@ -7155,7 +7299,7 @@ void checkUser(api.User o) { o.expirationTime!, unittest.equals('foo'), ); - checkUnnamed103(o.grants!); + checkUnnamed104(o.grants!); unittest.expect( o.name!, unittest.equals('foo'), @@ -7236,12 +7380,12 @@ void checkUserComment(api.UserComment o) { buildCounterUserComment--; } -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], @@ -7258,7 +7402,7 @@ api.UserCountriesTargeting buildUserCountriesTargeting() { final o = api.UserCountriesTargeting(); buildCounterUserCountriesTargeting++; if (buildCounterUserCountriesTargeting < 3) { - o.countryCodes = buildUnnamed104(); + o.countryCodes = buildUnnamed105(); o.exclude = true; } buildCounterUserCountriesTargeting--; @@ -7268,18 +7412,18 @@ api.UserCountriesTargeting buildUserCountriesTargeting() { void checkUserCountriesTargeting(api.UserCountriesTargeting o) { buildCounterUserCountriesTargeting++; if (buildCounterUserCountriesTargeting < 3) { - checkUnnamed104(o.countryCodes!); + checkUnnamed105(o.countryCodes!); unittest.expect(o.exclude!, unittest.isTrue); } buildCounterUserCountriesTargeting--; } -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], @@ -7296,7 +7440,7 @@ api.UserCountrySet buildUserCountrySet() { final o = api.UserCountrySet(); buildCounterUserCountrySet++; if (buildCounterUserCountrySet < 3) { - o.countryCodes = buildUnnamed105(); + o.countryCodes = buildUnnamed106(); o.name = 'foo'; } buildCounterUserCountrySet--; @@ -7306,7 +7450,7 @@ api.UserCountrySet buildUserCountrySet() { void checkUserCountrySet(api.UserCountrySet o) { buildCounterUserCountrySet++; if (buildCounterUserCountrySet < 3) { - checkUnnamed105(o.countryCodes!); + checkUnnamed106(o.countryCodes!); unittest.expect( o.name!, unittest.equals('foo'), @@ -7478,12 +7622,12 @@ void checkVoidedPurchase(api.VoidedPurchase o) { buildCounterVoidedPurchase--; } -core.List buildUnnamed106() => [ +core.List buildUnnamed107() => [ buildVoidedPurchase(), buildVoidedPurchase(), ]; -void checkUnnamed106(core.List o) { +void checkUnnamed107(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVoidedPurchase(o[0]); checkVoidedPurchase(o[1]); @@ -7496,7 +7640,7 @@ api.VoidedPurchasesListResponse buildVoidedPurchasesListResponse() { if (buildCounterVoidedPurchasesListResponse < 3) { o.pageInfo = buildPageInfo(); o.tokenPagination = buildTokenPagination(); - o.voidedPurchases = buildUnnamed106(); + o.voidedPurchases = buildUnnamed107(); } buildCounterVoidedPurchasesListResponse--; return o; @@ -7507,17 +7651,17 @@ void checkVoidedPurchasesListResponse(api.VoidedPurchasesListResponse o) { if (buildCounterVoidedPurchasesListResponse < 3) { checkPageInfo(o.pageInfo!); checkTokenPagination(o.tokenPagination!); - checkUnnamed106(o.voidedPurchases!); + checkUnnamed107(o.voidedPurchases!); } buildCounterVoidedPurchasesListResponse--; } -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], @@ -7529,12 +7673,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], @@ -8595,6 +8739,26 @@ void main() { }); }); + unittest.group('obj-schema-InstallmentPlan', () { + unittest.test('to-json--from-json', () async { + final o = buildInstallmentPlan(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.InstallmentPlan.fromJson( + oJson as core.Map); + checkInstallmentPlan(od); + }); + }); + + unittest.group('obj-schema-InstallmentsBasePlanType', () { + unittest.test('to-json--from-json', () async { + final o = buildInstallmentsBasePlanType(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.InstallmentsBasePlanType.fromJson( + oJson as core.Map); + checkInstallmentsBasePlanType(od); + }); + }); + unittest.group('obj-schema-InternalAppSharingArtifact', () { unittest.test('to-json--from-json', () async { final o = buildInternalAppSharingArtifact(); @@ -8907,6 +9071,16 @@ void main() { }); }); + unittest.group('obj-schema-PendingCancellation', () { + unittest.test('to-json--from-json', () async { + final o = buildPendingCancellation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.PendingCancellation.fromJson( + oJson as core.Map); + checkPendingCancellation(od); + }); + }); + unittest.group('obj-schema-PrepaidBasePlanType', () { unittest.test('to-json--from-json', () async { final o = buildPrepaidBasePlanType(); @@ -9098,6 +9272,16 @@ void main() { }); }); + unittest.group('obj-schema-RestrictedPaymentCountries', () { + unittest.test('to-json--from-json', () async { + final o = buildRestrictedPaymentCountries(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RestrictedPaymentCountries.fromJson( + oJson as core.Map); + checkRestrictedPaymentCountries(od); + }); + }); + unittest.group('obj-schema-Review', () { unittest.test('to-json--from-json', () async { final o = buildReview(); @@ -14520,7 +14704,7 @@ void main() { final mock = HttpServerMock(); final res = api.AndroidPublisherApi(mock).inappproducts; final arg_packageName = 'foo'; - final arg_sku = buildUnnamed107(); + final arg_sku = buildUnnamed108(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -15470,7 +15654,7 @@ void main() { final mock = HttpServerMock(); final res = api.AndroidPublisherApi(mock).monetization.subscriptions; final arg_packageName = 'foo'; - final arg_productIds = buildUnnamed108(); + final arg_productIds = buildUnnamed109(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; diff --git a/generated/googleapis/test/apigateway/v1_test.dart b/generated/googleapis/test/apigateway/v1_test.dart index a3399389a..caf849da8 100644 --- a/generated/googleapis/test/apigateway/v1_test.dart +++ b/generated/googleapis/test/apigateway/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/apigee/v1_test.dart b/generated/googleapis/test/apigee/v1_test.dart index 4c90f61ef..4fb2238f8 100644 --- a/generated/googleapis/test/apigee/v1_test.dart +++ b/generated/googleapis/test/apigee/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/apigeeregistry/v1_test.dart b/generated/googleapis/test/apigeeregistry/v1_test.dart index cdc598373..9c733eb19 100644 --- a/generated/googleapis/test/apigeeregistry/v1_test.dart +++ b/generated/googleapis/test/apigeeregistry/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/apikeys/v2_test.dart b/generated/googleapis/test/apikeys/v2_test.dart index a3fee5aa6..b891882e2 100644 --- a/generated/googleapis/test/apikeys/v2_test.dart +++ b/generated/googleapis/test/apikeys/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/appengine/v1_test.dart b/generated/googleapis/test/appengine/v1_test.dart index c82262e9e..eef1d6a17 100644 --- a/generated/googleapis/test/appengine/v1_test.dart +++ b/generated/googleapis/test/appengine/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/apphub/v1_test.dart b/generated/googleapis/test/apphub/v1_test.dart index 7a45e74cb..51dce6b8a 100644 --- a/generated/googleapis/test/apphub/v1_test.dart +++ b/generated/googleapis/test/apphub/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/artifactregistry/v1_test.dart b/generated/googleapis/test/artifactregistry/v1_test.dart index 7614ed796..cfcd62db0 100644 --- a/generated/googleapis/test/artifactregistry/v1_test.dart +++ b/generated/googleapis/test/artifactregistry/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -2345,7 +2346,6 @@ api.UploadGenericArtifactRequest buildUploadGenericArtifactRequest() { buildCounterUploadGenericArtifactRequest++; if (buildCounterUploadGenericArtifactRequest < 3) { o.filename = 'foo'; - o.name = 'foo'; o.packageId = 'foo'; o.versionId = 'foo'; } @@ -2360,10 +2360,6 @@ void checkUploadGenericArtifactRequest(api.UploadGenericArtifactRequest o) { o.filename!, unittest.equals('foo'), ); - unittest.expect( - o.name!, - unittest.equals('foo'), - ); unittest.expect( o.packageId!, unittest.equals('foo'), @@ -4747,6 +4743,59 @@ void main() { }); unittest.group('resource-ProjectsLocationsRepositoriesFilesResource', () { + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = + api.ArtifactRegistryApi(mock).projects.locations.repositories.files; + 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(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + unittest.test('method--download', () async { // TODO: Implement tests for media upload; // TODO: Implement tests for media download; diff --git a/generated/googleapis/test/assuredworkloads/v1_test.dart b/generated/googleapis/test/assuredworkloads/v1_test.dart index 24b59126c..35ff6127a 100644 --- a/generated/googleapis/test/assuredworkloads/v1_test.dart +++ b/generated/googleapis/test/assuredworkloads/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/authorizedbuyersmarketplace/v1_test.dart b/generated/googleapis/test/authorizedbuyersmarketplace/v1_test.dart index f889b8a02..c69d4ca9e 100644 --- a/generated/googleapis/test/authorizedbuyersmarketplace/v1_test.dart +++ b/generated/googleapis/test/authorizedbuyersmarketplace/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/backupdr/v1_test.dart b/generated/googleapis/test/backupdr/v1_test.dart index 96d6db30a..ae2ba6842 100644 --- a/generated/googleapis/test/backupdr/v1_test.dart +++ b/generated/googleapis/test/backupdr/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -1352,67 +1353,6 @@ void main() { }); }); - unittest.group('resource-ProjectsLocationsBackupVaultsResource', () { - unittest.test('method--testIamPermissions', () async { - final mock = HttpServerMock(); - final res = api.BackupdrApi(mock).projects.locations.backupVaults; - final arg_request = buildTestIamPermissionsRequest(); - final arg_resource = 'foo'; - final arg_$fields = 'foo'; - mock.register(unittest.expectAsync2((http.BaseRequest req, json) { - final obj = api.TestIamPermissionsRequest.fromJson( - json as core.Map); - checkTestIamPermissionsRequest(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(buildTestIamPermissionsResponse()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.testIamPermissions(arg_request, arg_resource, - $fields: arg_$fields); - checkTestIamPermissionsResponse( - response as api.TestIamPermissionsResponse); - }); - }); - unittest.group('resource-ProjectsLocationsManagementServersResource', () { unittest.test('method--create', () async { final mock = HttpServerMock(); diff --git a/generated/googleapis/test/baremetalsolution/v2_test.dart b/generated/googleapis/test/baremetalsolution/v2_test.dart index 0abcd58a0..b1a5831f7 100644 --- a/generated/googleapis/test/baremetalsolution/v2_test.dart +++ b/generated/googleapis/test/baremetalsolution/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/batch/v1_test.dart b/generated/googleapis/test/batch/v1_test.dart index 7ba410ba2..9c770e9d9 100644 --- a/generated/googleapis/test/batch/v1_test.dart +++ b/generated/googleapis/test/batch/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -326,6 +327,7 @@ api.AgentMetadata buildAgentMetadata() { o.instance = 'foo'; o.instanceId = 'foo'; o.instancePreemptionNoticeReceived = true; + o.machineType = 'foo'; o.osRelease = buildUnnamed6(); o.version = 'foo'; o.zone = 'foo'; @@ -358,6 +360,10 @@ void checkAgentMetadata(api.AgentMetadata o) { unittest.equals('foo'), ); unittest.expect(o.instancePreemptionNoticeReceived!, unittest.isTrue); + unittest.expect( + o.machineType!, + unittest.equals('foo'), + ); checkUnnamed6(o.osRelease!); unittest.expect( o.version!, diff --git a/generated/googleapis/test/beyondcorp/v1_test.dart b/generated/googleapis/test/beyondcorp/v1_test.dart index 044dd02b8..da7ca8382 100644 --- a/generated/googleapis/test/beyondcorp/v1_test.dart +++ b/generated/googleapis/test/beyondcorp/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/biglake/v1_test.dart b/generated/googleapis/test/biglake/v1_test.dart index f106bff03..64912e019 100644 --- a/generated/googleapis/test/biglake/v1_test.dart +++ b/generated/googleapis/test/biglake/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/bigquery/v2_test.dart b/generated/googleapis/test/bigquery/v2_test.dart index 585339dfb..6aee35f3d 100644 --- a/generated/googleapis/test/bigquery/v2_test.dart +++ b/generated/googleapis/test/bigquery/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/bigqueryconnection/v1_test.dart b/generated/googleapis/test/bigqueryconnection/v1_test.dart index c3347a0d9..69acb8df3 100644 --- a/generated/googleapis/test/bigqueryconnection/v1_test.dart +++ b/generated/googleapis/test/bigqueryconnection/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/bigquerydatapolicy/v1_test.dart b/generated/googleapis/test/bigquerydatapolicy/v1_test.dart index 0614f6302..63c76d7de 100644 --- a/generated/googleapis/test/bigquerydatapolicy/v1_test.dart +++ b/generated/googleapis/test/bigquerydatapolicy/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/bigquerydatatransfer/v1_test.dart b/generated/googleapis/test/bigquerydatatransfer/v1_test.dart index 873546ec6..7db9d511d 100644 --- a/generated/googleapis/test/bigquerydatatransfer/v1_test.dart +++ b/generated/googleapis/test/bigquerydatatransfer/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/bigqueryreservation/v1_test.dart b/generated/googleapis/test/bigqueryreservation/v1_test.dart index 487c8bfed..73c0b71d6 100644 --- a/generated/googleapis/test/bigqueryreservation/v1_test.dart +++ b/generated/googleapis/test/bigqueryreservation/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/bigtableadmin/v2_test.dart b/generated/googleapis/test/bigtableadmin/v2_test.dart index 78844f3e3..54df13f7f 100644 --- a/generated/googleapis/test/bigtableadmin/v2_test.dart +++ b/generated/googleapis/test/bigtableadmin/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/billingbudgets/v1_test.dart b/generated/googleapis/test/billingbudgets/v1_test.dart index f00513a2f..aee250573 100644 --- a/generated/googleapis/test/billingbudgets/v1_test.dart +++ b/generated/googleapis/test/billingbudgets/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/binaryauthorization/v1_test.dart b/generated/googleapis/test/binaryauthorization/v1_test.dart index c72677fcd..8c1d849d3 100644 --- a/generated/googleapis/test/binaryauthorization/v1_test.dart +++ b/generated/googleapis/test/binaryauthorization/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/blockchainnodeengine/v1_test.dart b/generated/googleapis/test/blockchainnodeengine/v1_test.dart index e19bb5b94..9e43db8ce 100644 --- a/generated/googleapis/test/blockchainnodeengine/v1_test.dart +++ b/generated/googleapis/test/blockchainnodeengine/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/blogger/v3_test.dart b/generated/googleapis/test/blogger/v3_test.dart index 4b1f7d21b..ac7091270 100644 --- a/generated/googleapis/test/blogger/v3_test.dart +++ b/generated/googleapis/test/blogger/v3_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/books/v1_test.dart b/generated/googleapis/test/books/v1_test.dart index 2148ba63d..9cae21828 100644 --- a/generated/googleapis/test/books/v1_test.dart +++ b/generated/googleapis/test/books/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/businessprofileperformance/v1_test.dart b/generated/googleapis/test/businessprofileperformance/v1_test.dart index 251bc15ad..6e7d59791 100644 --- a/generated/googleapis/test/businessprofileperformance/v1_test.dart +++ b/generated/googleapis/test/businessprofileperformance/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/calendar/v3_test.dart b/generated/googleapis/test/calendar/v3_test.dart index 4cb5d30e8..0cd07f8c2 100644 --- a/generated/googleapis/test/calendar/v3_test.dart +++ b/generated/googleapis/test/calendar/v3_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/certificatemanager/v1_test.dart b/generated/googleapis/test/certificatemanager/v1_test.dart index 29aa366e6..d3f0d006b 100644 --- a/generated/googleapis/test/certificatemanager/v1_test.dart +++ b/generated/googleapis/test/certificatemanager/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/chat/v1_test.dart b/generated/googleapis/test/chat/v1_test.dart index b0a2f9e7b..6a84f703a 100644 --- a/generated/googleapis/test/chat/v1_test.dart +++ b/generated/googleapis/test/chat/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/chromemanagement/v1_test.dart b/generated/googleapis/test/chromemanagement/v1_test.dart index e3a8c9498..89638f7e2 100644 --- a/generated/googleapis/test/chromemanagement/v1_test.dart +++ b/generated/googleapis/test/chromemanagement/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -2925,6 +2926,118 @@ void checkGoogleChromeManagementV1StorageStatusReport( buildCounterGoogleChromeManagementV1StorageStatusReport--; } +core.int buildCounterGoogleChromeManagementV1TelemetryAppInstallEvent = 0; +api.GoogleChromeManagementV1TelemetryAppInstallEvent + buildGoogleChromeManagementV1TelemetryAppInstallEvent() { + final o = api.GoogleChromeManagementV1TelemetryAppInstallEvent(); + buildCounterGoogleChromeManagementV1TelemetryAppInstallEvent++; + if (buildCounterGoogleChromeManagementV1TelemetryAppInstallEvent < 3) { + o.appId = 'foo'; + o.appInstallReason = 'foo'; + o.appInstallSource = 'foo'; + o.appInstallTime = 'foo'; + o.appType = 'foo'; + } + buildCounterGoogleChromeManagementV1TelemetryAppInstallEvent--; + return o; +} + +void checkGoogleChromeManagementV1TelemetryAppInstallEvent( + api.GoogleChromeManagementV1TelemetryAppInstallEvent o) { + buildCounterGoogleChromeManagementV1TelemetryAppInstallEvent++; + if (buildCounterGoogleChromeManagementV1TelemetryAppInstallEvent < 3) { + unittest.expect( + o.appId!, + unittest.equals('foo'), + ); + unittest.expect( + o.appInstallReason!, + unittest.equals('foo'), + ); + unittest.expect( + o.appInstallSource!, + unittest.equals('foo'), + ); + unittest.expect( + o.appInstallTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.appType!, + unittest.equals('foo'), + ); + } + buildCounterGoogleChromeManagementV1TelemetryAppInstallEvent--; +} + +core.int buildCounterGoogleChromeManagementV1TelemetryAppLaunchEvent = 0; +api.GoogleChromeManagementV1TelemetryAppLaunchEvent + buildGoogleChromeManagementV1TelemetryAppLaunchEvent() { + final o = api.GoogleChromeManagementV1TelemetryAppLaunchEvent(); + buildCounterGoogleChromeManagementV1TelemetryAppLaunchEvent++; + if (buildCounterGoogleChromeManagementV1TelemetryAppLaunchEvent < 3) { + o.appId = 'foo'; + o.appLaunchSource = 'foo'; + o.appType = 'foo'; + } + buildCounterGoogleChromeManagementV1TelemetryAppLaunchEvent--; + return o; +} + +void checkGoogleChromeManagementV1TelemetryAppLaunchEvent( + api.GoogleChromeManagementV1TelemetryAppLaunchEvent o) { + buildCounterGoogleChromeManagementV1TelemetryAppLaunchEvent++; + if (buildCounterGoogleChromeManagementV1TelemetryAppLaunchEvent < 3) { + unittest.expect( + o.appId!, + unittest.equals('foo'), + ); + unittest.expect( + o.appLaunchSource!, + unittest.equals('foo'), + ); + unittest.expect( + o.appType!, + unittest.equals('foo'), + ); + } + buildCounterGoogleChromeManagementV1TelemetryAppLaunchEvent--; +} + +core.int buildCounterGoogleChromeManagementV1TelemetryAppUninstallEvent = 0; +api.GoogleChromeManagementV1TelemetryAppUninstallEvent + buildGoogleChromeManagementV1TelemetryAppUninstallEvent() { + final o = api.GoogleChromeManagementV1TelemetryAppUninstallEvent(); + buildCounterGoogleChromeManagementV1TelemetryAppUninstallEvent++; + if (buildCounterGoogleChromeManagementV1TelemetryAppUninstallEvent < 3) { + o.appId = 'foo'; + o.appType = 'foo'; + o.appUninstallSource = 'foo'; + } + buildCounterGoogleChromeManagementV1TelemetryAppUninstallEvent--; + return o; +} + +void checkGoogleChromeManagementV1TelemetryAppUninstallEvent( + api.GoogleChromeManagementV1TelemetryAppUninstallEvent o) { + buildCounterGoogleChromeManagementV1TelemetryAppUninstallEvent++; + if (buildCounterGoogleChromeManagementV1TelemetryAppUninstallEvent < 3) { + unittest.expect( + o.appId!, + unittest.equals('foo'), + ); + unittest.expect( + o.appType!, + unittest.equals('foo'), + ); + unittest.expect( + o.appUninstallSource!, + unittest.equals('foo'), + ); + } + buildCounterGoogleChromeManagementV1TelemetryAppUninstallEvent--; +} + core.int buildCounterGoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent = 0; api.GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent @@ -3286,6 +3399,10 @@ api.GoogleChromeManagementV1TelemetryEvent final o = api.GoogleChromeManagementV1TelemetryEvent(); buildCounterGoogleChromeManagementV1TelemetryEvent++; if (buildCounterGoogleChromeManagementV1TelemetryEvent < 3) { + o.appInstallEvent = buildGoogleChromeManagementV1TelemetryAppInstallEvent(); + o.appLaunchEvent = buildGoogleChromeManagementV1TelemetryAppLaunchEvent(); + o.appUninstallEvent = + buildGoogleChromeManagementV1TelemetryAppUninstallEvent(); o.audioSevereUnderrunEvent = buildGoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent(); o.device = buildGoogleChromeManagementV1TelemetryDeviceInfo(); @@ -3312,6 +3429,10 @@ void checkGoogleChromeManagementV1TelemetryEvent( api.GoogleChromeManagementV1TelemetryEvent o) { buildCounterGoogleChromeManagementV1TelemetryEvent++; if (buildCounterGoogleChromeManagementV1TelemetryEvent < 3) { + checkGoogleChromeManagementV1TelemetryAppInstallEvent(o.appInstallEvent!); + checkGoogleChromeManagementV1TelemetryAppLaunchEvent(o.appLaunchEvent!); + checkGoogleChromeManagementV1TelemetryAppUninstallEvent( + o.appUninstallEvent!); checkGoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent( o.audioSevereUnderrunEvent!); checkGoogleChromeManagementV1TelemetryDeviceInfo(o.device!); @@ -4891,6 +5012,40 @@ void main() { }); }); + unittest.group('obj-schema-GoogleChromeManagementV1TelemetryAppInstallEvent', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleChromeManagementV1TelemetryAppInstallEvent(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleChromeManagementV1TelemetryAppInstallEvent.fromJson( + oJson as core.Map); + checkGoogleChromeManagementV1TelemetryAppInstallEvent(od); + }); + }); + + unittest.group('obj-schema-GoogleChromeManagementV1TelemetryAppLaunchEvent', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleChromeManagementV1TelemetryAppLaunchEvent(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleChromeManagementV1TelemetryAppLaunchEvent.fromJson( + oJson as core.Map); + checkGoogleChromeManagementV1TelemetryAppLaunchEvent(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleChromeManagementV1TelemetryAppUninstallEvent', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleChromeManagementV1TelemetryAppUninstallEvent(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleChromeManagementV1TelemetryAppUninstallEvent.fromJson( + oJson as core.Map); + checkGoogleChromeManagementV1TelemetryAppUninstallEvent(od); + }); + }); + unittest.group( 'obj-schema-GoogleChromeManagementV1TelemetryAudioSevereUnderrunEvent', () { diff --git a/generated/googleapis/test/chromepolicy/v1_test.dart b/generated/googleapis/test/chromepolicy/v1_test.dart index 327e7f121..4a198178c 100644 --- a/generated/googleapis/test/chromepolicy/v1_test.dart +++ b/generated/googleapis/test/chromepolicy/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/chromeuxreport/v1_test.dart b/generated/googleapis/test/chromeuxreport/v1_test.dart index 4242d01c2..50b1177fd 100644 --- a/generated/googleapis/test/chromeuxreport/v1_test.dart +++ b/generated/googleapis/test/chromeuxreport/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/civicinfo/v2_test.dart b/generated/googleapis/test/civicinfo/v2_test.dart index c462a10fe..73ac5b764 100644 --- a/generated/googleapis/test/civicinfo/v2_test.dart +++ b/generated/googleapis/test/civicinfo/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/classroom/v1_test.dart b/generated/googleapis/test/classroom/v1_test.dart index 9df580812..646963a10 100644 --- a/generated/googleapis/test/classroom/v1_test.dart +++ b/generated/googleapis/test/classroom/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/cloudasset/v1_test.dart b/generated/googleapis/test/cloudasset/v1_test.dart index ea53e29ce..11284acd9 100644 --- a/generated/googleapis/test/cloudasset/v1_test.dart +++ b/generated/googleapis/test/cloudasset/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/cloudbilling/v1_test.dart b/generated/googleapis/test/cloudbilling/v1_test.dart index 09514b6a1..24709c71c 100644 --- a/generated/googleapis/test/cloudbilling/v1_test.dart +++ b/generated/googleapis/test/cloudbilling/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/cloudbuild/v1_test.dart b/generated/googleapis/test/cloudbuild/v1_test.dart index ab0f93dd0..c42e59ed0 100644 --- a/generated/googleapis/test/cloudbuild/v1_test.dart +++ b/generated/googleapis/test/cloudbuild/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -1544,6 +1545,38 @@ void checkFileHashes(api.FileHashes o) { buildCounterFileHashes--; } +core.int buildCounterGCSLocation = 0; +api.GCSLocation buildGCSLocation() { + final o = api.GCSLocation(); + buildCounterGCSLocation++; + if (buildCounterGCSLocation < 3) { + o.bucket = 'foo'; + o.generation = 'foo'; + o.object = 'foo'; + } + buildCounterGCSLocation--; + return o; +} + +void checkGCSLocation(api.GCSLocation o) { + buildCounterGCSLocation++; + if (buildCounterGCSLocation < 3) { + unittest.expect( + o.bucket!, + unittest.equals('foo'), + ); + unittest.expect( + o.generation!, + unittest.equals('foo'), + ); + unittest.expect( + o.object!, + unittest.equals('foo'), + ); + } + buildCounterGCSLocation--; +} + core.int buildCounterGitConfig = 0; api.GitConfig buildGitConfig() { final o = api.GitConfig(); @@ -2214,6 +2247,7 @@ api.HttpConfig buildHttpConfig() { buildCounterHttpConfig++; if (buildCounterHttpConfig < 3) { o.proxySecretVersionName = 'foo'; + o.proxySslCaInfo = buildGCSLocation(); } buildCounterHttpConfig--; return o; @@ -2226,6 +2260,7 @@ void checkHttpConfig(api.HttpConfig o) { o.proxySecretVersionName!, unittest.equals('foo'), ); + checkGCSLocation(o.proxySslCaInfo!); } buildCounterHttpConfig--; } @@ -4230,6 +4265,16 @@ void main() { }); }); + unittest.group('obj-schema-GCSLocation', () { + unittest.test('to-json--from-json', () async { + final o = buildGCSLocation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GCSLocation.fromJson( + oJson as core.Map); + checkGCSLocation(od); + }); + }); + unittest.group('obj-schema-GitConfig', () { unittest.test('to-json--from-json', () async { final o = buildGitConfig(); diff --git a/generated/googleapis/test/cloudbuild/v2_test.dart b/generated/googleapis/test/cloudbuild/v2_test.dart index 18f1f8c25..9a73963ac 100644 --- a/generated/googleapis/test/cloudbuild/v2_test.dart +++ b/generated/googleapis/test/cloudbuild/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/cloudchannel/v1_test.dart b/generated/googleapis/test/cloudchannel/v1_test.dart index aadc0c344..7260a4749 100644 --- a/generated/googleapis/test/cloudchannel/v1_test.dart +++ b/generated/googleapis/test/cloudchannel/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/cloudcontrolspartner/v1_test.dart b/generated/googleapis/test/cloudcontrolspartner/v1_test.dart index 960cd2d76..75ddcde5f 100644 --- a/generated/googleapis/test/cloudcontrolspartner/v1_test.dart +++ b/generated/googleapis/test/cloudcontrolspartner/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/clouddeploy/v1_test.dart b/generated/googleapis/test/clouddeploy/v1_test.dart index 0f9a077d8..8fb861f4f 100644 --- a/generated/googleapis/test/clouddeploy/v1_test.dart +++ b/generated/googleapis/test/clouddeploy/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -1815,6 +1816,7 @@ api.ExecutionConfig buildExecutionConfig() { o.privatePool = buildPrivatePool(); o.serviceAccount = 'foo'; o.usages = buildUnnamed28(); + o.verbose = true; o.workerPool = 'foo'; } buildCounterExecutionConfig--; @@ -1839,6 +1841,7 @@ void checkExecutionConfig(api.ExecutionConfig o) { unittest.equals('foo'), ); checkUnnamed28(o.usages!); + unittest.expect(o.verbose!, unittest.isTrue); unittest.expect( o.workerPool!, unittest.equals('foo'), diff --git a/generated/googleapis/test/cloudfunctions/v1_test.dart b/generated/googleapis/test/cloudfunctions/v1_test.dart index ffb3af239..7362fdbac 100644 --- a/generated/googleapis/test/cloudfunctions/v1_test.dart +++ b/generated/googleapis/test/cloudfunctions/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/cloudfunctions/v2_test.dart b/generated/googleapis/test/cloudfunctions/v2_test.dart index d7159539c..fe1cd04f9 100644 --- a/generated/googleapis/test/cloudfunctions/v2_test.dart +++ b/generated/googleapis/test/cloudfunctions/v2_test.dart @@ -1,6 +1,7 @@ // 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 @@ -1408,6 +1409,7 @@ api.ServiceConfig buildServiceConfig() { o.allTrafficOnLatestRevision = true; o.availableCpu = 'foo'; o.availableMemory = 'foo'; + o.binaryAuthorizationPolicy = 'foo'; o.environmentVariables = buildUnnamed20(); o.ingressSettings = 'foo'; o.maxInstanceCount = 42; @@ -1440,6 +1442,10 @@ void checkServiceConfig(api.ServiceConfig o) { o.availableMemory!, unittest.equals('foo'), ); + unittest.expect( + o.binaryAuthorizationPolicy!, + unittest.equals('foo'), + ); checkUnnamed20(o.environmentVariables!); unittest.expect( o.ingressSettings!, @@ -1680,6 +1686,7 @@ api.StorageSource buildStorageSource() { o.bucket = 'foo'; o.generation = 'foo'; o.object = 'foo'; + o.sourceUploadUrl = 'foo'; } buildCounterStorageSource--; return o; @@ -1700,6 +1707,10 @@ void checkStorageSource(api.StorageSource o) { o.object!, unittest.equals('foo'), ); + unittest.expect( + o.sourceUploadUrl!, + unittest.equals('foo'), + ); } buildCounterStorageSource--; } diff --git a/generated/googleapis/test/cloudidentity/v1_test.dart b/generated/googleapis/test/cloudidentity/v1_test.dart index de2028b31..8a5c9d7d9 100644 --- a/generated/googleapis/test/cloudidentity/v1_test.dart +++ b/generated/googleapis/test/cloudidentity/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/cloudkms/v1_test.dart b/generated/googleapis/test/cloudkms/v1_test.dart index 3a1336538..4885cae00 100644 --- a/generated/googleapis/test/cloudkms/v1_test.dart +++ b/generated/googleapis/test/cloudkms/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/cloudprofiler/v2_test.dart b/generated/googleapis/test/cloudprofiler/v2_test.dart index a41bcab38..755b92911 100644 --- a/generated/googleapis/test/cloudprofiler/v2_test.dart +++ b/generated/googleapis/test/cloudprofiler/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/cloudresourcemanager/v1_test.dart b/generated/googleapis/test/cloudresourcemanager/v1_test.dart index 76d7b9b8e..30e549f75 100644 --- a/generated/googleapis/test/cloudresourcemanager/v1_test.dart +++ b/generated/googleapis/test/cloudresourcemanager/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/cloudresourcemanager/v2_test.dart b/generated/googleapis/test/cloudresourcemanager/v2_test.dart index 7821b13a6..067b4037c 100644 --- a/generated/googleapis/test/cloudresourcemanager/v2_test.dart +++ b/generated/googleapis/test/cloudresourcemanager/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/cloudresourcemanager/v3_test.dart b/generated/googleapis/test/cloudresourcemanager/v3_test.dart index 6e408a829..1f62ee653 100644 --- a/generated/googleapis/test/cloudresourcemanager/v3_test.dart +++ b/generated/googleapis/test/cloudresourcemanager/v3_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/cloudscheduler/v1_test.dart b/generated/googleapis/test/cloudscheduler/v1_test.dart index 6352a78b5..d034164c6 100644 --- a/generated/googleapis/test/cloudscheduler/v1_test.dart +++ b/generated/googleapis/test/cloudscheduler/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/cloudsearch/v1_test.dart b/generated/googleapis/test/cloudsearch/v1_test.dart index e043716d1..a06b2f362 100644 --- a/generated/googleapis/test/cloudsearch/v1_test.dart +++ b/generated/googleapis/test/cloudsearch/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/cloudshell/v1_test.dart b/generated/googleapis/test/cloudshell/v1_test.dart index 12823c8bd..72d879b67 100644 --- a/generated/googleapis/test/cloudshell/v1_test.dart +++ b/generated/googleapis/test/cloudshell/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/cloudsupport/v2_test.dart b/generated/googleapis/test/cloudsupport/v2_test.dart index 43ddeb521..04621b90e 100644 --- a/generated/googleapis/test/cloudsupport/v2_test.dart +++ b/generated/googleapis/test/cloudsupport/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/cloudtasks/v2_test.dart b/generated/googleapis/test/cloudtasks/v2_test.dart index ce72d97ce..285ae6c9b 100644 --- a/generated/googleapis/test/cloudtasks/v2_test.dart +++ b/generated/googleapis/test/cloudtasks/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/cloudtrace/v2_test.dart b/generated/googleapis/test/cloudtrace/v2_test.dart index fff75d11a..df387b271 100644 --- a/generated/googleapis/test/cloudtrace/v2_test.dart +++ b/generated/googleapis/test/cloudtrace/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/composer/v1_test.dart b/generated/googleapis/test/composer/v1_test.dart index 55f73f7cd..1c563bf1e 100644 --- a/generated/googleapis/test/composer/v1_test.dart +++ b/generated/googleapis/test/composer/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -80,6 +81,28 @@ void checkAllowedIpRange(api.AllowedIpRange o) { buildCounterAllowedIpRange--; } +core.int buildCounterCheckUpgradeRequest = 0; +api.CheckUpgradeRequest buildCheckUpgradeRequest() { + final o = api.CheckUpgradeRequest(); + buildCounterCheckUpgradeRequest++; + if (buildCounterCheckUpgradeRequest < 3) { + o.imageVersion = 'foo'; + } + buildCounterCheckUpgradeRequest--; + return o; +} + +void checkCheckUpgradeRequest(api.CheckUpgradeRequest o) { + buildCounterCheckUpgradeRequest++; + if (buildCounterCheckUpgradeRequest < 3) { + unittest.expect( + o.imageVersion!, + unittest.equals('foo'), + ); + } + buildCounterCheckUpgradeRequest--; +} + core.int buildCounterCidrBlock = 0; api.CidrBlock buildCidrBlock() { final o = api.CidrBlock(); @@ -2158,6 +2181,16 @@ void main() { }); }); + unittest.group('obj-schema-CheckUpgradeRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildCheckUpgradeRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CheckUpgradeRequest.fromJson( + oJson as core.Map); + checkCheckUpgradeRequest(od); + }); + }); + unittest.group('obj-schema-CidrBlock', () { unittest.test('to-json--from-json', () async { final o = buildCidrBlock(); @@ -2699,6 +2732,64 @@ void main() { }); unittest.group('resource-ProjectsLocationsEnvironmentsResource', () { + unittest.test('method--checkUpgrade', () async { + final mock = HttpServerMock(); + final res = api.CloudComposerApi(mock).projects.locations.environments; + final arg_request = buildCheckUpgradeRequest(); + final arg_environment = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.CheckUpgradeRequest.fromJson( + json as core.Map); + checkCheckUpgradeRequest(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.checkUpgrade(arg_request, arg_environment, + $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + unittest.test('method--create', () async { final mock = HttpServerMock(); final res = api.CloudComposerApi(mock).projects.locations.environments; diff --git a/generated/googleapis/test/compute/v1_test.dart b/generated/googleapis/test/compute/v1_test.dart index c072bb7e0..f60c81ebd 100644 --- a/generated/googleapis/test/compute/v1_test.dart +++ b/generated/googleapis/test/compute/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -1822,28 +1823,6 @@ void checkAuditLogConfig(api.AuditLogConfig o) { buildCounterAuditLogConfig--; } -core.int buildCounterAuthorizationLoggingOptions = 0; -api.AuthorizationLoggingOptions buildAuthorizationLoggingOptions() { - final o = api.AuthorizationLoggingOptions(); - buildCounterAuthorizationLoggingOptions++; - if (buildCounterAuthorizationLoggingOptions < 3) { - o.permissionType = 'foo'; - } - buildCounterAuthorizationLoggingOptions--; - return o; -} - -void checkAuthorizationLoggingOptions(api.AuthorizationLoggingOptions o) { - buildCounterAuthorizationLoggingOptions++; - if (buildCounterAuthorizationLoggingOptions < 3) { - unittest.expect( - o.permissionType!, - unittest.equals('foo'), - ); - } - buildCounterAuthorizationLoggingOptions--; -} - core.Map buildUnnamed30() => { 'x': buildScalingScheduleStatus(), 'y': buildScalingScheduleStatus(), @@ -5897,6 +5876,7 @@ api.Disk buildDisk() { final o = api.Disk(); buildCounterDisk++; if (buildCounterDisk < 3) { + o.accessMode = 'foo'; o.architecture = 'foo'; o.asyncPrimaryDisk = buildDiskAsyncReplication(); o.asyncSecondaryDisks = buildUnnamed96(); @@ -5954,6 +5934,10 @@ api.Disk buildDisk() { void checkDisk(api.Disk o) { buildCounterDisk++; if (buildCounterDisk < 3) { + unittest.expect( + o.accessMode!, + unittest.equals('foo'), + ); unittest.expect( o.architecture!, unittest.equals('foo'), @@ -13439,6 +13423,8 @@ api.InstanceGroupManager buildInstanceGroupManager() { o.name = 'foo'; o.namedPorts = buildUnnamed236(); o.region = 'foo'; + o.satisfiesPzi = true; + o.satisfiesPzs = true; o.selfLink = 'foo'; o.statefulPolicy = buildStatefulPolicy(); o.status = buildInstanceGroupManagerStatus(); @@ -13506,6 +13492,8 @@ void checkInstanceGroupManager(api.InstanceGroupManager o) { o.region!, unittest.equals('foo'), ); + unittest.expect(o.satisfiesPzi!, unittest.isTrue); + unittest.expect(o.satisfiesPzs!, unittest.isTrue); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -20665,7 +20653,6 @@ api.LogConfigCloudAuditOptions buildLogConfigCloudAuditOptions() { final o = api.LogConfigCloudAuditOptions(); buildCounterLogConfigCloudAuditOptions++; if (buildCounterLogConfigCloudAuditOptions < 3) { - o.authorizationLoggingOptions = buildAuthorizationLoggingOptions(); o.logName = 'foo'; } buildCounterLogConfigCloudAuditOptions--; @@ -20675,7 +20662,6 @@ api.LogConfigCloudAuditOptions buildLogConfigCloudAuditOptions() { void checkLogConfigCloudAuditOptions(api.LogConfigCloudAuditOptions o) { buildCounterLogConfigCloudAuditOptions++; if (buildCounterLogConfigCloudAuditOptions < 3) { - checkAuthorizationLoggingOptions(o.authorizationLoggingOptions!); unittest.expect( o.logName!, unittest.equals('foo'), @@ -43091,6 +43077,7 @@ api.TargetHttpsProxy buildTargetHttpsProxy() { o.serverTlsPolicy = 'foo'; o.sslCertificates = buildUnnamed747(); o.sslPolicy = 'foo'; + o.tlsEarlyData = 'foo'; o.urlMap = 'foo'; } buildCounterTargetHttpsProxy--; @@ -43158,6 +43145,10 @@ void checkTargetHttpsProxy(api.TargetHttpsProxy o) { o.sslPolicy!, unittest.equals('foo'), ); + unittest.expect( + o.tlsEarlyData!, + unittest.equals('foo'), + ); unittest.expect( o.urlMap!, unittest.equals('foo'), @@ -49498,16 +49489,6 @@ void main() { }); }); - unittest.group('obj-schema-AuthorizationLoggingOptions', () { - unittest.test('to-json--from-json', () async { - final o = buildAuthorizationLoggingOptions(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = api.AuthorizationLoggingOptions.fromJson( - oJson as core.Map); - checkAuthorizationLoggingOptions(od); - }); - }); - unittest.group('obj-schema-Autoscaler', () { unittest.test('to-json--from-json', () async { final o = buildAutoscaler(); diff --git a/generated/googleapis/test/config/v1_test.dart b/generated/googleapis/test/config/v1_test.dart index 1ebe13ad4..ce7bf0570 100644 --- a/generated/googleapis/test/config/v1_test.dart +++ b/generated/googleapis/test/config/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/connectors/v1_test.dart b/generated/googleapis/test/connectors/v1_test.dart index abfad5d65..3a1738239 100644 --- a/generated/googleapis/test/connectors/v1_test.dart +++ b/generated/googleapis/test/connectors/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -1047,6 +1048,7 @@ api.ConnectorsLogConfig buildConnectorsLogConfig() { buildCounterConnectorsLogConfig++; if (buildCounterConnectorsLogConfig < 3) { o.enabled = true; + o.level = 'foo'; } buildCounterConnectorsLogConfig--; return o; @@ -1056,6 +1058,10 @@ void checkConnectorsLogConfig(api.ConnectorsLogConfig o) { buildCounterConnectorsLogConfig++; if (buildCounterConnectorsLogConfig < 3) { unittest.expect(o.enabled!, unittest.isTrue); + unittest.expect( + o.level!, + unittest.equals('foo'), + ); } buildCounterConnectorsLogConfig--; } @@ -1311,6 +1317,23 @@ void checkDeadLetterConfig(api.DeadLetterConfig o) { buildCounterDeadLetterConfig--; } +core.int buildCounterDeprecateCustomConnectorVersionRequest = 0; +api.DeprecateCustomConnectorVersionRequest + buildDeprecateCustomConnectorVersionRequest() { + final o = api.DeprecateCustomConnectorVersionRequest(); + buildCounterDeprecateCustomConnectorVersionRequest++; + if (buildCounterDeprecateCustomConnectorVersionRequest < 3) {} + buildCounterDeprecateCustomConnectorVersionRequest--; + return o; +} + +void checkDeprecateCustomConnectorVersionRequest( + api.DeprecateCustomConnectorVersionRequest o) { + buildCounterDeprecateCustomConnectorVersionRequest++; + if (buildCounterDeprecateCustomConnectorVersionRequest < 3) {} + buildCounterDeprecateCustomConnectorVersionRequest--; +} + core.int buildCounterDestination = 0; api.Destination buildDestination() { final o = api.Destination(); @@ -1608,6 +1631,7 @@ api.EndpointAttachment buildEndpointAttachment() { if (buildCounterEndpointAttachment < 3) { o.createTime = 'foo'; o.description = 'foo'; + o.endpointGlobalAccess = true; o.endpointIp = 'foo'; o.labels = buildUnnamed29(); o.name = 'foo'; @@ -1629,6 +1653,7 @@ void checkEndpointAttachment(api.EndpointAttachment o) { o.description!, unittest.equals('foo'), ); + unittest.expect(o.endpointGlobalAccess!, unittest.isTrue); unittest.expect( o.endpointIp!, unittest.equals('foo'), @@ -5462,6 +5487,16 @@ void main() { }); }); + unittest.group('obj-schema-DeprecateCustomConnectorVersionRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildDeprecateCustomConnectorVersionRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.DeprecateCustomConnectorVersionRequest.fromJson( + oJson as core.Map); + checkDeprecateCustomConnectorVersionRequest(od); + }); + }); + unittest.group('obj-schema-Destination', () { unittest.test('to-json--from-json', () async { final o = buildDestination(); @@ -8418,6 +8453,68 @@ void main() { final response = await res.delete(arg_name, $fields: arg_$fields); checkOperation(response as api.Operation); }); + + unittest.test('method--deprecate', () async { + final mock = HttpServerMock(); + final res = api.ConnectorsApi(mock) + .projects + .locations + .customConnectors + .customConnectorVersions; + final arg_request = buildDeprecateCustomConnectorVersionRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.DeprecateCustomConnectorVersionRequest.fromJson( + json as core.Map); + checkDeprecateCustomConnectorVersionRequest(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.deprecate(arg_request, arg_name, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); }); unittest.group('resource-ProjectsLocationsEndpointAttachmentsResource', () { diff --git a/generated/googleapis/test/connectors/v2_test.dart b/generated/googleapis/test/connectors/v2_test.dart index 7fc25fbc9..228954995 100644 --- a/generated/googleapis/test/connectors/v2_test.dart +++ b/generated/googleapis/test/connectors/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/contactcenterinsights/v1_test.dart b/generated/googleapis/test/contactcenterinsights/v1_test.dart index 6595c106a..e252ac576 100644 --- a/generated/googleapis/test/contactcenterinsights/v1_test.dart +++ b/generated/googleapis/test/contactcenterinsights/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/container/v1_test.dart b/generated/googleapis/test/container/v1_test.dart index c64a297a0..f96ae6f9e 100644 --- a/generated/googleapis/test/container/v1_test.dart +++ b/generated/googleapis/test/container/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/containeranalysis/v1_test.dart b/generated/googleapis/test/containeranalysis/v1_test.dart index 7e470869d..ce2924724 100644 --- a/generated/googleapis/test/containeranalysis/v1_test.dart +++ b/generated/googleapis/test/containeranalysis/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -1232,6 +1233,7 @@ api.ComplianceOccurrence buildComplianceOccurrence() { if (buildCounterComplianceOccurrence < 3) { o.nonComplianceReason = 'foo'; o.nonCompliantFiles = buildUnnamed22(); + o.version = buildComplianceVersion(); } buildCounterComplianceOccurrence--; return o; @@ -1245,6 +1247,7 @@ void checkComplianceOccurrence(api.ComplianceOccurrence o) { unittest.equals('foo'), ); checkUnnamed22(o.nonCompliantFiles!); + checkComplianceVersion(o.version!); } buildCounterComplianceOccurrence--; } diff --git a/generated/googleapis/test/content/v2_1_test.dart b/generated/googleapis/test/content/v2_1_test.dart index c966a393b..87ffba260 100644 --- a/generated/googleapis/test/content/v2_1_test.dart +++ b/generated/googleapis/test/content/v2_1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -12371,23 +12372,34 @@ void checkUnnamed159(core.List o) { ); } -core.List buildUnnamed160() => [ +core.List buildUnnamed160() => [ + buildLoyaltyProgram(), + buildLoyaltyProgram(), + ]; + +void checkUnnamed160(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkLoyaltyProgram(o[0]); + checkLoyaltyProgram(o[1]); +} + +core.List buildUnnamed161() => [ buildProductProductDetail(), buildProductProductDetail(), ]; -void checkUnnamed160(core.List o) { +void checkUnnamed161(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductProductDetail(o[0]); checkProductProductDetail(o[1]); } -core.List buildUnnamed161() => [ +core.List buildUnnamed162() => [ 'foo', 'foo', ]; -void checkUnnamed161(core.List o) { +void checkUnnamed162(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12399,12 +12411,12 @@ void checkUnnamed161(core.List o) { ); } -core.List buildUnnamed162() => [ +core.List buildUnnamed163() => [ 'foo', 'foo', ]; -void checkUnnamed162(core.List o) { +void checkUnnamed163(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12416,12 +12428,12 @@ void checkUnnamed162(core.List o) { ); } -core.List buildUnnamed163() => [ +core.List buildUnnamed164() => [ 'foo', 'foo', ]; -void checkUnnamed163(core.List o) { +void checkUnnamed164(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12433,23 +12445,23 @@ void checkUnnamed163(core.List o) { ); } -core.List buildUnnamed164() => [ +core.List buildUnnamed165() => [ buildProductShipping(), buildProductShipping(), ]; -void checkUnnamed164(core.List o) { +void checkUnnamed165(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductShipping(o[0]); checkProductShipping(o[1]); } -core.List buildUnnamed165() => [ +core.List buildUnnamed166() => [ 'foo', 'foo', ]; -void checkUnnamed165(core.List o) { +void checkUnnamed166(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12461,12 +12473,12 @@ void checkUnnamed165(core.List o) { ); } -core.List buildUnnamed166() => [ +core.List buildUnnamed167() => [ 'foo', 'foo', ]; -void checkUnnamed166(core.List o) { +void checkUnnamed167(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12478,12 +12490,12 @@ void checkUnnamed166(core.List o) { ); } -core.List buildUnnamed167() => [ +core.List buildUnnamed168() => [ buildProductTax(), buildProductTax(), ]; -void checkUnnamed167(core.List o) { +void checkUnnamed168(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductTax(o[0]); checkProductTax(o[1]); @@ -12547,6 +12559,7 @@ api.Product buildProduct() { o.link = 'foo'; o.linkTemplate = 'foo'; o.loyaltyProgram = buildLoyaltyProgram(); + o.loyaltyPrograms = buildUnnamed160(); o.material = 'foo'; o.maxEnergyEfficiencyClass = 'foo'; o.maxHandlingTime = 'foo'; @@ -12562,34 +12575,34 @@ api.Product buildProduct() { o.pickupMethod = 'foo'; o.pickupSla = 'foo'; o.price = buildPrice(); - o.productDetails = buildUnnamed160(); + o.productDetails = buildUnnamed161(); o.productHeight = buildProductDimension(); - o.productHighlights = buildUnnamed161(); + o.productHighlights = buildUnnamed162(); o.productLength = buildProductDimension(); - o.productTypes = buildUnnamed162(); + o.productTypes = buildUnnamed163(); o.productWeight = buildProductWeight(); o.productWidth = buildProductDimension(); - o.promotionIds = buildUnnamed163(); + o.promotionIds = buildUnnamed164(); o.salePrice = buildPrice(); o.salePriceEffectiveDate = 'foo'; o.sellOnGoogleQuantity = 'foo'; - o.shipping = buildUnnamed164(); + o.shipping = buildUnnamed165(); o.shippingHeight = buildProductShippingDimension(); o.shippingLabel = 'foo'; o.shippingLength = buildProductShippingDimension(); o.shippingWeight = buildProductShippingWeight(); o.shippingWidth = buildProductShippingDimension(); - o.shoppingAdsExcludedCountries = buildUnnamed165(); + o.shoppingAdsExcludedCountries = buildUnnamed166(); o.sizeSystem = 'foo'; o.sizeType = 'foo'; - o.sizes = buildUnnamed166(); + o.sizes = buildUnnamed167(); o.source = 'foo'; o.structuredDescription = buildProductStructuredDescription(); o.structuredTitle = buildProductStructuredTitle(); o.subscriptionCost = buildProductSubscriptionCost(); o.targetCountry = 'foo'; o.taxCategory = 'foo'; - o.taxes = buildUnnamed167(); + o.taxes = buildUnnamed168(); o.title = 'foo'; o.transitTimeLabel = 'foo'; o.unitPricingBaseMeasure = buildProductUnitPricingBaseMeasure(); @@ -12764,6 +12777,7 @@ void checkProduct(api.Product o) { unittest.equals('foo'), ); checkLoyaltyProgram(o.loyaltyProgram!); + checkUnnamed160(o.loyaltyPrograms!); unittest.expect( o.material!, unittest.equals('foo'), @@ -12821,14 +12835,14 @@ void checkProduct(api.Product o) { unittest.equals('foo'), ); checkPrice(o.price!); - checkUnnamed160(o.productDetails!); + checkUnnamed161(o.productDetails!); checkProductDimension(o.productHeight!); - checkUnnamed161(o.productHighlights!); + checkUnnamed162(o.productHighlights!); checkProductDimension(o.productLength!); - checkUnnamed162(o.productTypes!); + checkUnnamed163(o.productTypes!); checkProductWeight(o.productWeight!); checkProductDimension(o.productWidth!); - checkUnnamed163(o.promotionIds!); + checkUnnamed164(o.promotionIds!); checkPrice(o.salePrice!); unittest.expect( o.salePriceEffectiveDate!, @@ -12838,7 +12852,7 @@ void checkProduct(api.Product o) { o.sellOnGoogleQuantity!, unittest.equals('foo'), ); - checkUnnamed164(o.shipping!); + checkUnnamed165(o.shipping!); checkProductShippingDimension(o.shippingHeight!); unittest.expect( o.shippingLabel!, @@ -12847,7 +12861,7 @@ void checkProduct(api.Product o) { checkProductShippingDimension(o.shippingLength!); checkProductShippingWeight(o.shippingWeight!); checkProductShippingDimension(o.shippingWidth!); - checkUnnamed165(o.shoppingAdsExcludedCountries!); + checkUnnamed166(o.shoppingAdsExcludedCountries!); unittest.expect( o.sizeSystem!, unittest.equals('foo'), @@ -12856,7 +12870,7 @@ void checkProduct(api.Product o) { o.sizeType!, unittest.equals('foo'), ); - checkUnnamed166(o.sizes!); + checkUnnamed167(o.sizes!); unittest.expect( o.source!, unittest.equals('foo'), @@ -12872,7 +12886,7 @@ void checkProduct(api.Product o) { o.taxCategory!, unittest.equals('foo'), ); - checkUnnamed167(o.taxes!); + checkUnnamed168(o.taxes!); unittest.expect( o.title!, unittest.equals('foo'), @@ -12922,6 +12936,7 @@ api.ProductCertification buildProductCertification() { o.certificationAuthority = 'foo'; o.certificationCode = 'foo'; o.certificationName = 'foo'; + o.certificationValue = 'foo'; } buildCounterProductCertification--; return o; @@ -12942,16 +12957,20 @@ void checkProductCertification(api.ProductCertification o) { o.certificationName!, unittest.equals('foo'), ); + unittest.expect( + o.certificationValue!, + unittest.equals('foo'), + ); } buildCounterProductCertification--; } -core.List buildUnnamed168() => [ +core.List buildUnnamed169() => [ 'foo', 'foo', ]; -void checkUnnamed168(core.List o) { +void checkUnnamed169(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -12977,7 +12996,7 @@ api.ProductCluster buildProductCluster() { o.categoryL5 = 'foo'; o.inventoryStatus = 'foo'; o.title = 'foo'; - o.variantGtins = buildUnnamed168(); + o.variantGtins = buildUnnamed169(); } buildCounterProductCluster--; return o; @@ -13022,17 +13041,17 @@ void checkProductCluster(api.ProductCluster o) { o.title!, unittest.equals('foo'), ); - checkUnnamed168(o.variantGtins!); + checkUnnamed169(o.variantGtins!); } buildCounterProductCluster--; } -core.List buildUnnamed169() => [ +core.List buildUnnamed170() => [ buildProductDeliveryTimeAreaDeliveryTime(), buildProductDeliveryTimeAreaDeliveryTime(), ]; -void checkUnnamed169(core.List o) { +void checkUnnamed170(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductDeliveryTimeAreaDeliveryTime(o[0]); checkProductDeliveryTimeAreaDeliveryTime(o[1]); @@ -13043,7 +13062,7 @@ api.ProductDeliveryTime buildProductDeliveryTime() { final o = api.ProductDeliveryTime(); buildCounterProductDeliveryTime++; if (buildCounterProductDeliveryTime < 3) { - o.areaDeliveryTimes = buildUnnamed169(); + o.areaDeliveryTimes = buildUnnamed170(); o.productId = buildProductId(); } buildCounterProductDeliveryTime--; @@ -13053,7 +13072,7 @@ api.ProductDeliveryTime buildProductDeliveryTime() { void checkProductDeliveryTime(api.ProductDeliveryTime o) { buildCounterProductDeliveryTime++; if (buildCounterProductDeliveryTime < 3) { - checkUnnamed169(o.areaDeliveryTimes!); + checkUnnamed170(o.areaDeliveryTimes!); checkProductId(o.productId!); } buildCounterProductDeliveryTime--; @@ -13170,12 +13189,12 @@ void checkProductId(api.ProductId o) { buildCounterProductId--; } -core.List buildUnnamed170() => [ +core.List buildUnnamed171() => [ buildAction(), buildAction(), ]; -void checkUnnamed170(core.List o) { +void checkUnnamed171(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAction(o[0]); checkAction(o[1]); @@ -13186,7 +13205,7 @@ api.ProductIssue buildProductIssue() { final o = api.ProductIssue(); buildCounterProductIssue++; if (buildCounterProductIssue < 3) { - o.actions = buildUnnamed170(); + o.actions = buildUnnamed171(); o.impact = buildProductIssueImpact(); o.prerenderedContent = 'foo'; o.title = 'foo'; @@ -13198,7 +13217,7 @@ api.ProductIssue buildProductIssue() { void checkProductIssue(api.ProductIssue o) { buildCounterProductIssue++; if (buildCounterProductIssue < 3) { - checkUnnamed170(o.actions!); + checkUnnamed171(o.actions!); checkProductIssueImpact(o.impact!); unittest.expect( o.prerenderedContent!, @@ -13212,12 +13231,12 @@ void checkProductIssue(api.ProductIssue o) { buildCounterProductIssue--; } -core.List buildUnnamed171() => [ +core.List buildUnnamed172() => [ buildBreakdown(), buildBreakdown(), ]; -void checkUnnamed171(core.List o) { +void checkUnnamed172(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBreakdown(o[0]); checkBreakdown(o[1]); @@ -13228,7 +13247,7 @@ api.ProductIssueImpact buildProductIssueImpact() { final o = api.ProductIssueImpact(); buildCounterProductIssueImpact++; if (buildCounterProductIssueImpact < 3) { - o.breakdowns = buildUnnamed171(); + o.breakdowns = buildUnnamed172(); o.message = 'foo'; o.severity = 'foo'; } @@ -13239,7 +13258,7 @@ api.ProductIssueImpact buildProductIssueImpact() { void checkProductIssueImpact(api.ProductIssueImpact o) { buildCounterProductIssueImpact++; if (buildCounterProductIssueImpact < 3) { - checkUnnamed171(o.breakdowns!); + checkUnnamed172(o.breakdowns!); unittest.expect( o.message!, unittest.equals('foo'), @@ -13407,23 +13426,23 @@ void checkProductShippingWeight(api.ProductShippingWeight o) { buildCounterProductShippingWeight--; } -core.List buildUnnamed172() => [ +core.List buildUnnamed173() => [ buildProductStatusDestinationStatus(), buildProductStatusDestinationStatus(), ]; -void checkUnnamed172(core.List o) { +void checkUnnamed173(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductStatusDestinationStatus(o[0]); checkProductStatusDestinationStatus(o[1]); } -core.List buildUnnamed173() => [ +core.List buildUnnamed174() => [ buildProductStatusItemLevelIssue(), buildProductStatusItemLevelIssue(), ]; -void checkUnnamed173(core.List o) { +void checkUnnamed174(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductStatusItemLevelIssue(o[0]); checkProductStatusItemLevelIssue(o[1]); @@ -13435,9 +13454,9 @@ api.ProductStatus buildProductStatus() { buildCounterProductStatus++; if (buildCounterProductStatus < 3) { o.creationDate = 'foo'; - o.destinationStatuses = buildUnnamed172(); + o.destinationStatuses = buildUnnamed173(); o.googleExpirationDate = 'foo'; - o.itemLevelIssues = buildUnnamed173(); + o.itemLevelIssues = buildUnnamed174(); o.kind = 'foo'; o.lastUpdateDate = 'foo'; o.link = 'foo'; @@ -13455,12 +13474,12 @@ void checkProductStatus(api.ProductStatus o) { o.creationDate!, unittest.equals('foo'), ); - checkUnnamed172(o.destinationStatuses!); + checkUnnamed173(o.destinationStatuses!); unittest.expect( o.googleExpirationDate!, unittest.equals('foo'), ); - checkUnnamed173(o.itemLevelIssues!); + checkUnnamed174(o.itemLevelIssues!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -13485,12 +13504,12 @@ void checkProductStatus(api.ProductStatus o) { buildCounterProductStatus--; } -core.List buildUnnamed174() => [ +core.List buildUnnamed175() => [ 'foo', 'foo', ]; -void checkUnnamed174(core.List o) { +void checkUnnamed175(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13502,12 +13521,12 @@ void checkUnnamed174(core.List o) { ); } -core.List buildUnnamed175() => [ +core.List buildUnnamed176() => [ 'foo', 'foo', ]; -void checkUnnamed175(core.List o) { +void checkUnnamed176(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13519,12 +13538,12 @@ void checkUnnamed175(core.List o) { ); } -core.List buildUnnamed176() => [ +core.List buildUnnamed177() => [ 'foo', 'foo', ]; -void checkUnnamed176(core.List o) { +void checkUnnamed177(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13541,10 +13560,10 @@ api.ProductStatusDestinationStatus buildProductStatusDestinationStatus() { final o = api.ProductStatusDestinationStatus(); buildCounterProductStatusDestinationStatus++; if (buildCounterProductStatusDestinationStatus < 3) { - o.approvedCountries = buildUnnamed174(); + o.approvedCountries = buildUnnamed175(); o.destination = 'foo'; - o.disapprovedCountries = buildUnnamed175(); - o.pendingCountries = buildUnnamed176(); + o.disapprovedCountries = buildUnnamed176(); + o.pendingCountries = buildUnnamed177(); o.status = 'foo'; } buildCounterProductStatusDestinationStatus--; @@ -13554,13 +13573,13 @@ api.ProductStatusDestinationStatus buildProductStatusDestinationStatus() { void checkProductStatusDestinationStatus(api.ProductStatusDestinationStatus o) { buildCounterProductStatusDestinationStatus++; if (buildCounterProductStatusDestinationStatus < 3) { - checkUnnamed174(o.approvedCountries!); + checkUnnamed175(o.approvedCountries!); unittest.expect( o.destination!, unittest.equals('foo'), ); - checkUnnamed175(o.disapprovedCountries!); - checkUnnamed176(o.pendingCountries!); + checkUnnamed176(o.disapprovedCountries!); + checkUnnamed177(o.pendingCountries!); unittest.expect( o.status!, unittest.equals('foo'), @@ -13569,12 +13588,12 @@ void checkProductStatusDestinationStatus(api.ProductStatusDestinationStatus o) { buildCounterProductStatusDestinationStatus--; } -core.List buildUnnamed177() => [ +core.List buildUnnamed178() => [ 'foo', 'foo', ]; -void checkUnnamed177(core.List o) { +void checkUnnamed178(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13591,7 +13610,7 @@ api.ProductStatusItemLevelIssue buildProductStatusItemLevelIssue() { final o = api.ProductStatusItemLevelIssue(); buildCounterProductStatusItemLevelIssue++; if (buildCounterProductStatusItemLevelIssue < 3) { - o.applicableCountries = buildUnnamed177(); + o.applicableCountries = buildUnnamed178(); o.attributeName = 'foo'; o.code = 'foo'; o.description = 'foo'; @@ -13608,7 +13627,7 @@ api.ProductStatusItemLevelIssue buildProductStatusItemLevelIssue() { void checkProductStatusItemLevelIssue(api.ProductStatusItemLevelIssue o) { buildCounterProductStatusItemLevelIssue++; if (buildCounterProductStatusItemLevelIssue < 3) { - checkUnnamed177(o.applicableCountries!); + checkUnnamed178(o.applicableCountries!); unittest.expect( o.attributeName!, unittest.equals('foo'), @@ -13826,12 +13845,12 @@ void checkProductUnitPricingMeasure(api.ProductUnitPricingMeasure o) { buildCounterProductUnitPricingMeasure--; } -core.List buildUnnamed178() => [ +core.List buildUnnamed179() => [ 'foo', 'foo', ]; -void checkUnnamed178(core.List o) { +void checkUnnamed179(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -13843,12 +13862,12 @@ void checkUnnamed178(core.List o) { ); } -core.List buildUnnamed179() => [ +core.List buildUnnamed180() => [ buildProductViewItemIssue(), buildProductViewItemIssue(), ]; -void checkUnnamed179(core.List o) { +void checkUnnamed180(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductViewItemIssue(o[0]); checkProductViewItemIssue(o[1]); @@ -13874,10 +13893,10 @@ api.ProductView buildProductView() { o.creationTime = 'foo'; o.currencyCode = 'foo'; o.expirationDate = buildDate(); - o.gtin = buildUnnamed178(); + o.gtin = buildUnnamed179(); o.id = 'foo'; o.itemGroupId = 'foo'; - o.itemIssues = buildUnnamed179(); + o.itemIssues = buildUnnamed180(); o.languageCode = 'foo'; o.offerId = 'foo'; o.priceMicros = 'foo'; @@ -13953,7 +13972,7 @@ void checkProductView(api.ProductView o) { unittest.equals('foo'), ); checkDate(o.expirationDate!); - checkUnnamed178(o.gtin!); + checkUnnamed179(o.gtin!); unittest.expect( o.id!, unittest.equals('foo'), @@ -13962,7 +13981,7 @@ void checkProductView(api.ProductView o) { o.itemGroupId!, unittest.equals('foo'), ); - checkUnnamed179(o.itemIssues!); + checkUnnamed180(o.itemIssues!); unittest.expect( o.languageCode!, unittest.equals('foo'), @@ -14033,12 +14052,12 @@ void checkProductViewItemIssue(api.ProductViewItemIssue o) { buildCounterProductViewItemIssue--; } -core.List buildUnnamed180() => [ +core.List buildUnnamed181() => [ 'foo', 'foo', ]; -void checkUnnamed180(core.List o) { +void checkUnnamed181(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14050,12 +14069,12 @@ void checkUnnamed180(core.List o) { ); } -core.List buildUnnamed181() => [ +core.List buildUnnamed182() => [ 'foo', 'foo', ]; -void checkUnnamed181(core.List o) { +void checkUnnamed182(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14073,9 +14092,9 @@ api.ProductViewItemIssueIssueSeverityPerDestination final o = api.ProductViewItemIssueIssueSeverityPerDestination(); buildCounterProductViewItemIssueIssueSeverityPerDestination++; if (buildCounterProductViewItemIssueIssueSeverityPerDestination < 3) { - o.demotedCountries = buildUnnamed180(); + o.demotedCountries = buildUnnamed181(); o.destination = 'foo'; - o.disapprovedCountries = buildUnnamed181(); + o.disapprovedCountries = buildUnnamed182(); } buildCounterProductViewItemIssueIssueSeverityPerDestination--; return o; @@ -14085,23 +14104,23 @@ void checkProductViewItemIssueIssueSeverityPerDestination( api.ProductViewItemIssueIssueSeverityPerDestination o) { buildCounterProductViewItemIssueIssueSeverityPerDestination++; if (buildCounterProductViewItemIssueIssueSeverityPerDestination < 3) { - checkUnnamed180(o.demotedCountries!); + checkUnnamed181(o.demotedCountries!); unittest.expect( o.destination!, unittest.equals('foo'), ); - checkUnnamed181(o.disapprovedCountries!); + checkUnnamed182(o.disapprovedCountries!); } buildCounterProductViewItemIssueIssueSeverityPerDestination--; } core.List - buildUnnamed182() => [ + buildUnnamed183() => [ buildProductViewItemIssueIssueSeverityPerDestination(), buildProductViewItemIssueIssueSeverityPerDestination(), ]; -void checkUnnamed182( +void checkUnnamed183( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductViewItemIssueIssueSeverityPerDestination(o[0]); @@ -14115,7 +14134,7 @@ api.ProductViewItemIssueItemIssueSeverity buildCounterProductViewItemIssueItemIssueSeverity++; if (buildCounterProductViewItemIssueItemIssueSeverity < 3) { o.aggregatedSeverity = 'foo'; - o.severityPerDestination = buildUnnamed182(); + o.severityPerDestination = buildUnnamed183(); } buildCounterProductViewItemIssueItemIssueSeverity--; return o; @@ -14129,7 +14148,7 @@ void checkProductViewItemIssueItemIssueSeverity( o.aggregatedSeverity!, unittest.equals('foo'), ); - checkUnnamed182(o.severityPerDestination!); + checkUnnamed183(o.severityPerDestination!); } buildCounterProductViewItemIssueItemIssueSeverity--; } @@ -14189,12 +14208,12 @@ void checkProductWeight(api.ProductWeight o) { buildCounterProductWeight--; } -core.List buildUnnamed183() => [ +core.List buildUnnamed184() => [ buildProductsCustomBatchRequestEntry(), buildProductsCustomBatchRequestEntry(), ]; -void checkUnnamed183(core.List o) { +void checkUnnamed184(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductsCustomBatchRequestEntry(o[0]); checkProductsCustomBatchRequestEntry(o[1]); @@ -14205,7 +14224,7 @@ api.ProductsCustomBatchRequest buildProductsCustomBatchRequest() { final o = api.ProductsCustomBatchRequest(); buildCounterProductsCustomBatchRequest++; if (buildCounterProductsCustomBatchRequest < 3) { - o.entries = buildUnnamed183(); + o.entries = buildUnnamed184(); } buildCounterProductsCustomBatchRequest--; return o; @@ -14214,7 +14233,7 @@ api.ProductsCustomBatchRequest buildProductsCustomBatchRequest() { void checkProductsCustomBatchRequest(api.ProductsCustomBatchRequest o) { buildCounterProductsCustomBatchRequest++; if (buildCounterProductsCustomBatchRequest < 3) { - checkUnnamed183(o.entries!); + checkUnnamed184(o.entries!); } buildCounterProductsCustomBatchRequest--; } @@ -14269,12 +14288,12 @@ void checkProductsCustomBatchRequestEntry( buildCounterProductsCustomBatchRequestEntry--; } -core.List buildUnnamed184() => [ +core.List buildUnnamed185() => [ buildProductsCustomBatchResponseEntry(), buildProductsCustomBatchResponseEntry(), ]; -void checkUnnamed184(core.List o) { +void checkUnnamed185(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductsCustomBatchResponseEntry(o[0]); checkProductsCustomBatchResponseEntry(o[1]); @@ -14285,7 +14304,7 @@ api.ProductsCustomBatchResponse buildProductsCustomBatchResponse() { final o = api.ProductsCustomBatchResponse(); buildCounterProductsCustomBatchResponse++; if (buildCounterProductsCustomBatchResponse < 3) { - o.entries = buildUnnamed184(); + o.entries = buildUnnamed185(); o.kind = 'foo'; } buildCounterProductsCustomBatchResponse--; @@ -14295,7 +14314,7 @@ api.ProductsCustomBatchResponse buildProductsCustomBatchResponse() { void checkProductsCustomBatchResponse(api.ProductsCustomBatchResponse o) { buildCounterProductsCustomBatchResponse++; if (buildCounterProductsCustomBatchResponse < 3) { - checkUnnamed184(o.entries!); + checkUnnamed185(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -14336,12 +14355,12 @@ void checkProductsCustomBatchResponseEntry( buildCounterProductsCustomBatchResponseEntry--; } -core.List buildUnnamed185() => [ +core.List buildUnnamed186() => [ buildProduct(), buildProduct(), ]; -void checkUnnamed185(core.List o) { +void checkUnnamed186(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProduct(o[0]); checkProduct(o[1]); @@ -14354,7 +14373,7 @@ api.ProductsListResponse buildProductsListResponse() { if (buildCounterProductsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed185(); + o.resources = buildUnnamed186(); } buildCounterProductsListResponse--; return o; @@ -14371,17 +14390,17 @@ void checkProductsListResponse(api.ProductsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed185(o.resources!); + checkUnnamed186(o.resources!); } buildCounterProductsListResponse--; } -core.List buildUnnamed186() => [ +core.List buildUnnamed187() => [ buildProductstatusesCustomBatchRequestEntry(), buildProductstatusesCustomBatchRequestEntry(), ]; -void checkUnnamed186(core.List o) { +void checkUnnamed187(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductstatusesCustomBatchRequestEntry(o[0]); checkProductstatusesCustomBatchRequestEntry(o[1]); @@ -14392,7 +14411,7 @@ api.ProductstatusesCustomBatchRequest buildProductstatusesCustomBatchRequest() { final o = api.ProductstatusesCustomBatchRequest(); buildCounterProductstatusesCustomBatchRequest++; if (buildCounterProductstatusesCustomBatchRequest < 3) { - o.entries = buildUnnamed186(); + o.entries = buildUnnamed187(); } buildCounterProductstatusesCustomBatchRequest--; return o; @@ -14402,17 +14421,17 @@ void checkProductstatusesCustomBatchRequest( api.ProductstatusesCustomBatchRequest o) { buildCounterProductstatusesCustomBatchRequest++; if (buildCounterProductstatusesCustomBatchRequest < 3) { - checkUnnamed186(o.entries!); + checkUnnamed187(o.entries!); } buildCounterProductstatusesCustomBatchRequest--; } -core.List buildUnnamed187() => [ +core.List buildUnnamed188() => [ 'foo', 'foo', ]; -void checkUnnamed187(core.List o) { +void checkUnnamed188(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -14431,7 +14450,7 @@ api.ProductstatusesCustomBatchRequestEntry buildCounterProductstatusesCustomBatchRequestEntry++; if (buildCounterProductstatusesCustomBatchRequestEntry < 3) { o.batchId = 42; - o.destinations = buildUnnamed187(); + o.destinations = buildUnnamed188(); o.includeAttributes = true; o.merchantId = 'foo'; o.method = 'foo'; @@ -14449,7 +14468,7 @@ void checkProductstatusesCustomBatchRequestEntry( o.batchId!, unittest.equals(42), ); - checkUnnamed187(o.destinations!); + checkUnnamed188(o.destinations!); unittest.expect(o.includeAttributes!, unittest.isTrue); unittest.expect( o.merchantId!, @@ -14467,12 +14486,12 @@ void checkProductstatusesCustomBatchRequestEntry( buildCounterProductstatusesCustomBatchRequestEntry--; } -core.List buildUnnamed188() => [ +core.List buildUnnamed189() => [ buildProductstatusesCustomBatchResponseEntry(), buildProductstatusesCustomBatchResponseEntry(), ]; -void checkUnnamed188(core.List o) { +void checkUnnamed189(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductstatusesCustomBatchResponseEntry(o[0]); checkProductstatusesCustomBatchResponseEntry(o[1]); @@ -14484,7 +14503,7 @@ api.ProductstatusesCustomBatchResponse final o = api.ProductstatusesCustomBatchResponse(); buildCounterProductstatusesCustomBatchResponse++; if (buildCounterProductstatusesCustomBatchResponse < 3) { - o.entries = buildUnnamed188(); + o.entries = buildUnnamed189(); o.kind = 'foo'; } buildCounterProductstatusesCustomBatchResponse--; @@ -14495,7 +14514,7 @@ void checkProductstatusesCustomBatchResponse( api.ProductstatusesCustomBatchResponse o) { buildCounterProductstatusesCustomBatchResponse++; if (buildCounterProductstatusesCustomBatchResponse < 3) { - checkUnnamed188(o.entries!); + checkUnnamed189(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -14537,12 +14556,12 @@ void checkProductstatusesCustomBatchResponseEntry( buildCounterProductstatusesCustomBatchResponseEntry--; } -core.List buildUnnamed189() => [ +core.List buildUnnamed190() => [ buildProductStatus(), buildProductStatus(), ]; -void checkUnnamed189(core.List o) { +void checkUnnamed190(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductStatus(o[0]); checkProductStatus(o[1]); @@ -14555,7 +14574,7 @@ api.ProductstatusesListResponse buildProductstatusesListResponse() { if (buildCounterProductstatusesListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed189(); + o.resources = buildUnnamed190(); } buildCounterProductstatusesListResponse--; return o; @@ -14572,28 +14591,11 @@ void checkProductstatusesListResponse(api.ProductstatusesListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed189(o.resources!); + checkUnnamed190(o.resources!); } buildCounterProductstatusesListResponse--; } -core.List buildUnnamed190() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed190(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 buildUnnamed191() => [ 'foo', 'foo', @@ -14798,13 +14800,30 @@ void checkUnnamed202(core.List o) { ); } +core.List buildUnnamed203() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed203(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 buildCounterPromotion = 0; api.Promotion buildPromotion() { final o = api.Promotion(); buildCounterPromotion++; if (buildCounterPromotion < 3) { - o.brand = buildUnnamed190(); - o.brandExclusion = buildUnnamed191(); + o.brand = buildUnnamed191(); + o.brandExclusion = buildUnnamed192(); o.contentLanguage = 'foo'; o.couponValueType = 'foo'; o.freeGiftDescription = 'foo'; @@ -14813,10 +14832,10 @@ api.Promotion buildPromotion() { o.genericRedemptionCode = 'foo'; o.getThisQuantityDiscounted = 42; o.id = 'foo'; - o.itemGroupId = buildUnnamed192(); - o.itemGroupIdExclusion = buildUnnamed193(); - o.itemId = buildUnnamed194(); - o.itemIdExclusion = buildUnnamed195(); + o.itemGroupId = buildUnnamed193(); + o.itemGroupIdExclusion = buildUnnamed194(); + o.itemId = buildUnnamed195(); + o.itemIdExclusion = buildUnnamed196(); o.limitQuantity = 42; o.limitValue = buildPriceAmount(); o.longTitle = 'foo'; @@ -14828,9 +14847,9 @@ api.Promotion buildPromotion() { o.orderLimit = 42; o.percentOff = 42; o.productApplicability = 'foo'; - o.productType = buildUnnamed196(); - o.productTypeExclusion = buildUnnamed197(); - o.promotionDestinationIds = buildUnnamed198(); + o.productType = buildUnnamed197(); + o.productTypeExclusion = buildUnnamed198(); + o.promotionDestinationIds = buildUnnamed199(); o.promotionDisplayDates = 'foo'; o.promotionDisplayTimePeriod = buildTimePeriod(); o.promotionEffectiveDates = 'foo'; @@ -14838,11 +14857,11 @@ api.Promotion buildPromotion() { o.promotionId = 'foo'; o.promotionStatus = buildPromotionPromotionStatus(); o.promotionUrl = 'foo'; - o.redemptionChannel = buildUnnamed199(); - o.shippingServiceNames = buildUnnamed200(); + o.redemptionChannel = buildUnnamed200(); + o.shippingServiceNames = buildUnnamed201(); o.storeApplicability = 'foo'; - o.storeCode = buildUnnamed201(); - o.storeCodeExclusion = buildUnnamed202(); + o.storeCode = buildUnnamed202(); + o.storeCodeExclusion = buildUnnamed203(); o.targetCountry = 'foo'; } buildCounterPromotion--; @@ -14852,8 +14871,8 @@ api.Promotion buildPromotion() { void checkPromotion(api.Promotion o) { buildCounterPromotion++; if (buildCounterPromotion < 3) { - checkUnnamed190(o.brand!); - checkUnnamed191(o.brandExclusion!); + checkUnnamed191(o.brand!); + checkUnnamed192(o.brandExclusion!); unittest.expect( o.contentLanguage!, unittest.equals('foo'), @@ -14883,10 +14902,10 @@ void checkPromotion(api.Promotion o) { o.id!, unittest.equals('foo'), ); - checkUnnamed192(o.itemGroupId!); - checkUnnamed193(o.itemGroupIdExclusion!); - checkUnnamed194(o.itemId!); - checkUnnamed195(o.itemIdExclusion!); + checkUnnamed193(o.itemGroupId!); + checkUnnamed194(o.itemGroupIdExclusion!); + checkUnnamed195(o.itemId!); + checkUnnamed196(o.itemIdExclusion!); unittest.expect( o.limitQuantity!, unittest.equals(42), @@ -14919,9 +14938,9 @@ void checkPromotion(api.Promotion o) { o.productApplicability!, unittest.equals('foo'), ); - checkUnnamed196(o.productType!); - checkUnnamed197(o.productTypeExclusion!); - checkUnnamed198(o.promotionDestinationIds!); + checkUnnamed197(o.productType!); + checkUnnamed198(o.productTypeExclusion!); + checkUnnamed199(o.promotionDestinationIds!); unittest.expect( o.promotionDisplayDates!, unittest.equals('foo'), @@ -14941,14 +14960,14 @@ void checkPromotion(api.Promotion o) { o.promotionUrl!, unittest.equals('foo'), ); - checkUnnamed199(o.redemptionChannel!); - checkUnnamed200(o.shippingServiceNames!); + checkUnnamed200(o.redemptionChannel!); + checkUnnamed201(o.shippingServiceNames!); unittest.expect( o.storeApplicability!, unittest.equals('foo'), ); - checkUnnamed201(o.storeCode!); - checkUnnamed202(o.storeCodeExclusion!); + checkUnnamed202(o.storeCode!); + checkUnnamed203(o.storeCodeExclusion!); unittest.expect( o.targetCountry!, unittest.equals('foo'), @@ -14957,24 +14976,24 @@ void checkPromotion(api.Promotion o) { buildCounterPromotion--; } -core.List buildUnnamed203() => [ +core.List buildUnnamed204() => [ buildPromotionPromotionStatusDestinationStatus(), buildPromotionPromotionStatusDestinationStatus(), ]; -void checkUnnamed203( +void checkUnnamed204( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPromotionPromotionStatusDestinationStatus(o[0]); checkPromotionPromotionStatusDestinationStatus(o[1]); } -core.List buildUnnamed204() => [ +core.List buildUnnamed205() => [ buildPromotionPromotionStatusPromotionIssue(), buildPromotionPromotionStatusPromotionIssue(), ]; -void checkUnnamed204(core.List o) { +void checkUnnamed205(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPromotionPromotionStatusPromotionIssue(o[0]); checkPromotionPromotionStatusPromotionIssue(o[1]); @@ -14986,9 +15005,9 @@ api.PromotionPromotionStatus buildPromotionPromotionStatus() { buildCounterPromotionPromotionStatus++; if (buildCounterPromotionPromotionStatus < 3) { o.creationDate = 'foo'; - o.destinationStatuses = buildUnnamed203(); + o.destinationStatuses = buildUnnamed204(); o.lastUpdateDate = 'foo'; - o.promotionIssue = buildUnnamed204(); + o.promotionIssue = buildUnnamed205(); } buildCounterPromotionPromotionStatus--; return o; @@ -15001,12 +15020,12 @@ void checkPromotionPromotionStatus(api.PromotionPromotionStatus o) { o.creationDate!, unittest.equals('foo'), ); - checkUnnamed203(o.destinationStatuses!); + checkUnnamed204(o.destinationStatuses!); unittest.expect( o.lastUpdateDate!, unittest.equals('foo'), ); - checkUnnamed204(o.promotionIssue!); + checkUnnamed205(o.promotionIssue!); } buildCounterPromotionPromotionStatus--; } @@ -15069,12 +15088,12 @@ void checkPromotionPromotionStatusPromotionIssue( buildCounterPromotionPromotionStatusPromotionIssue--; } -core.List buildUnnamed205() => [ +core.List buildUnnamed206() => [ 'foo', 'foo', ]; -void checkUnnamed205(core.List o) { +void checkUnnamed206(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15093,7 +15112,7 @@ api.PubsubNotificationSettings buildPubsubNotificationSettings() { if (buildCounterPubsubNotificationSettings < 3) { o.cloudTopicName = 'foo'; o.kind = 'foo'; - o.registeredEvents = buildUnnamed205(); + o.registeredEvents = buildUnnamed206(); } buildCounterPubsubNotificationSettings--; return o; @@ -15110,17 +15129,17 @@ void checkPubsubNotificationSettings(api.PubsubNotificationSettings o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed205(o.registeredEvents!); + checkUnnamed206(o.registeredEvents!); } buildCounterPubsubNotificationSettings--; } -core.List buildUnnamed206() => [ +core.List buildUnnamed207() => [ 'foo', 'foo', ]; -void checkUnnamed206(core.List o) { +void checkUnnamed207(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15132,23 +15151,23 @@ void checkUnnamed206(core.List o) { ); } -core.List buildUnnamed207() => [ +core.List buildUnnamed208() => [ buildCarrierRate(), buildCarrierRate(), ]; -void checkUnnamed207(core.List o) { +void checkUnnamed208(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCarrierRate(o[0]); checkCarrierRate(o[1]); } -core.List buildUnnamed208() => [ +core.List buildUnnamed209() => [ buildTable(), buildTable(), ]; -void checkUnnamed208(core.List o) { +void checkUnnamed209(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTable(o[0]); checkTable(o[1]); @@ -15159,12 +15178,12 @@ api.RateGroup buildRateGroup() { final o = api.RateGroup(); buildCounterRateGroup++; if (buildCounterRateGroup < 3) { - o.applicableShippingLabels = buildUnnamed206(); - o.carrierRates = buildUnnamed207(); + o.applicableShippingLabels = buildUnnamed207(); + o.carrierRates = buildUnnamed208(); o.mainTable = buildTable(); o.name = 'foo'; o.singleValue = buildValue(); - o.subtables = buildUnnamed208(); + o.subtables = buildUnnamed209(); } buildCounterRateGroup--; return o; @@ -15173,47 +15192,47 @@ api.RateGroup buildRateGroup() { void checkRateGroup(api.RateGroup o) { buildCounterRateGroup++; if (buildCounterRateGroup < 3) { - checkUnnamed206(o.applicableShippingLabels!); - checkUnnamed207(o.carrierRates!); + checkUnnamed207(o.applicableShippingLabels!); + checkUnnamed208(o.carrierRates!); checkTable(o.mainTable!); unittest.expect( o.name!, unittest.equals('foo'), ); checkValue(o.singleValue!); - checkUnnamed208(o.subtables!); + checkUnnamed209(o.subtables!); } buildCounterRateGroup--; } -core.List buildUnnamed209() => [ +core.List buildUnnamed210() => [ buildRecommendationCallToAction(), buildRecommendationCallToAction(), ]; -void checkUnnamed209(core.List o) { +void checkUnnamed210(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRecommendationCallToAction(o[0]); checkRecommendationCallToAction(o[1]); } -core.List buildUnnamed210() => [ +core.List buildUnnamed211() => [ buildRecommendationDescription(), buildRecommendationDescription(), ]; -void checkUnnamed210(core.List o) { +void checkUnnamed211(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRecommendationDescription(o[0]); checkRecommendationDescription(o[1]); } -core.List buildUnnamed211() => [ +core.List buildUnnamed212() => [ buildRecommendationCreative(), buildRecommendationCreative(), ]; -void checkUnnamed211(core.List o) { +void checkUnnamed212(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRecommendationCreative(o[0]); checkRecommendationCreative(o[1]); @@ -15224,9 +15243,9 @@ api.Recommendation buildRecommendation() { final o = api.Recommendation(); buildCounterRecommendation++; if (buildCounterRecommendation < 3) { - o.additionalCallToAction = buildUnnamed209(); - o.additionalDescriptions = buildUnnamed210(); - o.creative = buildUnnamed211(); + o.additionalCallToAction = buildUnnamed210(); + o.additionalDescriptions = buildUnnamed211(); + o.creative = buildUnnamed212(); o.defaultCallToAction = buildRecommendationCallToAction(); o.defaultDescription = 'foo'; o.numericalImpact = 42; @@ -15243,9 +15262,9 @@ api.Recommendation buildRecommendation() { void checkRecommendation(api.Recommendation o) { buildCounterRecommendation++; if (buildCounterRecommendation < 3) { - checkUnnamed209(o.additionalCallToAction!); - checkUnnamed210(o.additionalDescriptions!); - checkUnnamed211(o.creative!); + checkUnnamed210(o.additionalCallToAction!); + checkUnnamed211(o.additionalDescriptions!); + checkUnnamed212(o.creative!); checkRecommendationCallToAction(o.defaultCallToAction!); unittest.expect( o.defaultDescription!, @@ -15429,12 +15448,12 @@ void checkRegion(api.Region o) { buildCounterRegion--; } -core.List buildUnnamed212() => [ +core.List buildUnnamed213() => [ 'foo', 'foo', ]; -void checkUnnamed212(core.List o) { +void checkUnnamed213(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -15451,7 +15470,7 @@ api.RegionGeoTargetArea buildRegionGeoTargetArea() { final o = api.RegionGeoTargetArea(); buildCounterRegionGeoTargetArea++; if (buildCounterRegionGeoTargetArea < 3) { - o.geotargetCriteriaIds = buildUnnamed212(); + o.geotargetCriteriaIds = buildUnnamed213(); } buildCounterRegionGeoTargetArea--; return o; @@ -15460,17 +15479,17 @@ api.RegionGeoTargetArea buildRegionGeoTargetArea() { void checkRegionGeoTargetArea(api.RegionGeoTargetArea o) { buildCounterRegionGeoTargetArea++; if (buildCounterRegionGeoTargetArea < 3) { - checkUnnamed212(o.geotargetCriteriaIds!); + checkUnnamed213(o.geotargetCriteriaIds!); } buildCounterRegionGeoTargetArea--; } -core.List buildUnnamed213() => [ +core.List buildUnnamed214() => [ buildRegionPostalCodeAreaPostalCodeRange(), buildRegionPostalCodeAreaPostalCodeRange(), ]; -void checkUnnamed213(core.List o) { +void checkUnnamed214(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegionPostalCodeAreaPostalCodeRange(o[0]); checkRegionPostalCodeAreaPostalCodeRange(o[1]); @@ -15481,7 +15500,7 @@ api.RegionPostalCodeArea buildRegionPostalCodeArea() { final o = api.RegionPostalCodeArea(); buildCounterRegionPostalCodeArea++; if (buildCounterRegionPostalCodeArea < 3) { - o.postalCodes = buildUnnamed213(); + o.postalCodes = buildUnnamed214(); o.regionCode = 'foo'; } buildCounterRegionPostalCodeArea--; @@ -15491,7 +15510,7 @@ api.RegionPostalCodeArea buildRegionPostalCodeArea() { void checkRegionPostalCodeArea(api.RegionPostalCodeArea o) { buildCounterRegionPostalCodeArea++; if (buildCounterRegionPostalCodeArea < 3) { - checkUnnamed213(o.postalCodes!); + checkUnnamed214(o.postalCodes!); unittest.expect( o.regionCode!, unittest.equals('foo'), @@ -15529,12 +15548,12 @@ void checkRegionPostalCodeAreaPostalCodeRange( buildCounterRegionPostalCodeAreaPostalCodeRange--; } -core.List buildUnnamed214() => [ +core.List buildUnnamed215() => [ buildCustomAttribute(), buildCustomAttribute(), ]; -void checkUnnamed214(core.List o) { +void checkUnnamed215(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCustomAttribute(o[0]); checkCustomAttribute(o[1]); @@ -15546,7 +15565,7 @@ api.RegionalInventory buildRegionalInventory() { buildCounterRegionalInventory++; if (buildCounterRegionalInventory < 3) { o.availability = 'foo'; - o.customAttributes = buildUnnamed214(); + o.customAttributes = buildUnnamed215(); o.kind = 'foo'; o.price = buildPrice(); o.regionId = 'foo'; @@ -15564,7 +15583,7 @@ void checkRegionalInventory(api.RegionalInventory o) { o.availability!, unittest.equals('foo'), ); - checkUnnamed214(o.customAttributes!); + checkUnnamed215(o.customAttributes!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -15583,12 +15602,12 @@ void checkRegionalInventory(api.RegionalInventory o) { buildCounterRegionalInventory--; } -core.List buildUnnamed215() => [ +core.List buildUnnamed216() => [ buildRegionalinventoryCustomBatchRequestEntry(), buildRegionalinventoryCustomBatchRequestEntry(), ]; -void checkUnnamed215( +void checkUnnamed216( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegionalinventoryCustomBatchRequestEntry(o[0]); @@ -15601,7 +15620,7 @@ api.RegionalinventoryCustomBatchRequest final o = api.RegionalinventoryCustomBatchRequest(); buildCounterRegionalinventoryCustomBatchRequest++; if (buildCounterRegionalinventoryCustomBatchRequest < 3) { - o.entries = buildUnnamed215(); + o.entries = buildUnnamed216(); } buildCounterRegionalinventoryCustomBatchRequest--; return o; @@ -15611,7 +15630,7 @@ void checkRegionalinventoryCustomBatchRequest( api.RegionalinventoryCustomBatchRequest o) { buildCounterRegionalinventoryCustomBatchRequest++; if (buildCounterRegionalinventoryCustomBatchRequest < 3) { - checkUnnamed215(o.entries!); + checkUnnamed216(o.entries!); } buildCounterRegionalinventoryCustomBatchRequest--; } @@ -15657,12 +15676,12 @@ void checkRegionalinventoryCustomBatchRequestEntry( buildCounterRegionalinventoryCustomBatchRequestEntry--; } -core.List buildUnnamed216() => [ +core.List buildUnnamed217() => [ buildRegionalinventoryCustomBatchResponseEntry(), buildRegionalinventoryCustomBatchResponseEntry(), ]; -void checkUnnamed216( +void checkUnnamed217( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegionalinventoryCustomBatchResponseEntry(o[0]); @@ -15675,7 +15694,7 @@ api.RegionalinventoryCustomBatchResponse final o = api.RegionalinventoryCustomBatchResponse(); buildCounterRegionalinventoryCustomBatchResponse++; if (buildCounterRegionalinventoryCustomBatchResponse < 3) { - o.entries = buildUnnamed216(); + o.entries = buildUnnamed217(); o.kind = 'foo'; } buildCounterRegionalinventoryCustomBatchResponse--; @@ -15686,7 +15705,7 @@ void checkRegionalinventoryCustomBatchResponse( api.RegionalinventoryCustomBatchResponse o) { buildCounterRegionalinventoryCustomBatchResponse++; if (buildCounterRegionalinventoryCustomBatchResponse < 3) { - checkUnnamed216(o.entries!); + checkUnnamed217(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -15756,12 +15775,12 @@ void checkRenderAccountIssuesRequestPayload( buildCounterRenderAccountIssuesRequestPayload--; } -core.List buildUnnamed217() => [ +core.List buildUnnamed218() => [ buildAccountIssue(), buildAccountIssue(), ]; -void checkUnnamed217(core.List o) { +void checkUnnamed218(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAccountIssue(o[0]); checkAccountIssue(o[1]); @@ -15773,7 +15792,7 @@ api.RenderAccountIssuesResponse buildRenderAccountIssuesResponse() { buildCounterRenderAccountIssuesResponse++; if (buildCounterRenderAccountIssuesResponse < 3) { o.alternateDisputeResolution = buildAlternateDisputeResolution(); - o.issues = buildUnnamed217(); + o.issues = buildUnnamed218(); } buildCounterRenderAccountIssuesResponse--; return o; @@ -15783,7 +15802,7 @@ void checkRenderAccountIssuesResponse(api.RenderAccountIssuesResponse o) { buildCounterRenderAccountIssuesResponse++; if (buildCounterRenderAccountIssuesResponse < 3) { checkAlternateDisputeResolution(o.alternateDisputeResolution!); - checkUnnamed217(o.issues!); + checkUnnamed218(o.issues!); } buildCounterRenderAccountIssuesResponse--; } @@ -15816,12 +15835,12 @@ void checkRenderProductIssuesRequestPayload( buildCounterRenderProductIssuesRequestPayload--; } -core.List buildUnnamed218() => [ +core.List buildUnnamed219() => [ buildProductIssue(), buildProductIssue(), ]; -void checkUnnamed218(core.List o) { +void checkUnnamed219(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProductIssue(o[0]); checkProductIssue(o[1]); @@ -15833,7 +15852,7 @@ api.RenderProductIssuesResponse buildRenderProductIssuesResponse() { buildCounterRenderProductIssuesResponse++; if (buildCounterRenderProductIssuesResponse < 3) { o.alternateDisputeResolution = buildAlternateDisputeResolution(); - o.issues = buildUnnamed218(); + o.issues = buildUnnamed219(); } buildCounterRenderProductIssuesResponse--; return o; @@ -15843,7 +15862,7 @@ void checkRenderProductIssuesResponse(api.RenderProductIssuesResponse o) { buildCounterRenderProductIssuesResponse++; if (buildCounterRenderProductIssuesResponse < 3) { checkAlternateDisputeResolution(o.alternateDisputeResolution!); - checkUnnamed218(o.issues!); + checkUnnamed219(o.issues!); } buildCounterRenderProductIssuesResponse--; } @@ -16090,12 +16109,12 @@ void checkReturnAddress(api.ReturnAddress o) { buildCounterReturnAddress--; } -core.List buildUnnamed219() => [ +core.List buildUnnamed220() => [ 'foo', 'foo', ]; -void checkUnnamed219(core.List o) { +void checkUnnamed220(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16117,7 +16136,7 @@ api.ReturnAddressAddress buildReturnAddressAddress() { o.postalCode = 'foo'; o.recipientName = 'foo'; o.region = 'foo'; - o.streetAddress = buildUnnamed219(); + o.streetAddress = buildUnnamed220(); } buildCounterReturnAddressAddress--; return o; @@ -16146,17 +16165,17 @@ void checkReturnAddressAddress(api.ReturnAddressAddress o) { o.region!, unittest.equals('foo'), ); - checkUnnamed219(o.streetAddress!); + checkUnnamed220(o.streetAddress!); } buildCounterReturnAddressAddress--; } -core.List buildUnnamed220() => [ +core.List buildUnnamed221() => [ 'foo', 'foo', ]; -void checkUnnamed220(core.List o) { +void checkUnnamed221(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16168,12 +16187,12 @@ void checkUnnamed220(core.List o) { ); } -core.List buildUnnamed221() => [ +core.List buildUnnamed222() => [ buildReturnPolicySeasonalOverride(), buildReturnPolicySeasonalOverride(), ]; -void checkUnnamed221(core.List o) { +void checkUnnamed222(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnPolicySeasonalOverride(o[0]); checkReturnPolicySeasonalOverride(o[1]); @@ -16188,11 +16207,11 @@ api.ReturnPolicy buildReturnPolicy() { o.kind = 'foo'; o.label = 'foo'; o.name = 'foo'; - o.nonFreeReturnReasons = buildUnnamed220(); + o.nonFreeReturnReasons = buildUnnamed221(); o.policy = buildReturnPolicyPolicy(); o.returnPolicyId = 'foo'; o.returnShippingFee = buildPrice(); - o.seasonalOverrides = buildUnnamed221(); + o.seasonalOverrides = buildUnnamed222(); } buildCounterReturnPolicy--; return o; @@ -16217,24 +16236,24 @@ void checkReturnPolicy(api.ReturnPolicy o) { o.name!, unittest.equals('foo'), ); - checkUnnamed220(o.nonFreeReturnReasons!); + checkUnnamed221(o.nonFreeReturnReasons!); checkReturnPolicyPolicy(o.policy!); unittest.expect( o.returnPolicyId!, unittest.equals('foo'), ); checkPrice(o.returnShippingFee!); - checkUnnamed221(o.seasonalOverrides!); + checkUnnamed222(o.seasonalOverrides!); } buildCounterReturnPolicy--; } -core.List buildUnnamed222() => [ +core.List buildUnnamed223() => [ 'foo', 'foo', ]; -void checkUnnamed222(core.List o) { +void checkUnnamed223(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16246,12 +16265,12 @@ void checkUnnamed222(core.List o) { ); } -core.List buildUnnamed223() => [ +core.List buildUnnamed224() => [ 'foo', 'foo', ]; -void checkUnnamed223(core.List o) { +void checkUnnamed224(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16263,12 +16282,12 @@ void checkUnnamed223(core.List o) { ); } -core.List buildUnnamed224() => [ +core.List buildUnnamed225() => [ 'foo', 'foo', ]; -void checkUnnamed224(core.List o) { +void checkUnnamed225(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -16280,12 +16299,12 @@ void checkUnnamed224(core.List o) { ); } -core.List buildUnnamed225() => [ +core.List buildUnnamed226() => [ buildReturnPolicyOnlineReturnReasonCategoryInfo(), buildReturnPolicyOnlineReturnReasonCategoryInfo(), ]; -void checkUnnamed225( +void checkUnnamed226( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnPolicyOnlineReturnReasonCategoryInfo(o[0]); @@ -16297,16 +16316,16 @@ api.ReturnPolicyOnline buildReturnPolicyOnline() { final o = api.ReturnPolicyOnline(); buildCounterReturnPolicyOnline++; if (buildCounterReturnPolicyOnline < 3) { - o.countries = buildUnnamed222(); - o.itemConditions = buildUnnamed223(); + o.countries = buildUnnamed223(); + o.itemConditions = buildUnnamed224(); o.label = 'foo'; o.name = 'foo'; o.policy = buildReturnPolicyOnlinePolicy(); o.restockingFee = buildReturnPolicyOnlineRestockingFee(); - o.returnMethods = buildUnnamed224(); + o.returnMethods = buildUnnamed225(); o.returnPolicyId = 'foo'; o.returnPolicyUri = 'foo'; - o.returnReasonCategoryInfo = buildUnnamed225(); + o.returnReasonCategoryInfo = buildUnnamed226(); } buildCounterReturnPolicyOnline--; return o; @@ -16315,8 +16334,8 @@ api.ReturnPolicyOnline buildReturnPolicyOnline() { void checkReturnPolicyOnline(api.ReturnPolicyOnline o) { buildCounterReturnPolicyOnline++; if (buildCounterReturnPolicyOnline < 3) { - checkUnnamed222(o.countries!); - checkUnnamed223(o.itemConditions!); + checkUnnamed223(o.countries!); + checkUnnamed224(o.itemConditions!); unittest.expect( o.label!, unittest.equals('foo'), @@ -16327,7 +16346,7 @@ void checkReturnPolicyOnline(api.ReturnPolicyOnline o) { ); checkReturnPolicyOnlinePolicy(o.policy!); checkReturnPolicyOnlineRestockingFee(o.restockingFee!); - checkUnnamed224(o.returnMethods!); + checkUnnamed225(o.returnMethods!); unittest.expect( o.returnPolicyId!, unittest.equals('foo'), @@ -16336,7 +16355,7 @@ void checkReturnPolicyOnline(api.ReturnPolicyOnline o) { o.returnPolicyUri!, unittest.equals('foo'), ); - checkUnnamed225(o.returnReasonCategoryInfo!); + checkUnnamed226(o.returnReasonCategoryInfo!); } buildCounterReturnPolicyOnline--; } @@ -16543,12 +16562,12 @@ void checkReturnPricingInfo(api.ReturnPricingInfo o) { buildCounterReturnPricingInfo--; } -core.List buildUnnamed226() => [ +core.List buildUnnamed227() => [ buildShipmentTrackingInfo(), buildShipmentTrackingInfo(), ]; -void checkUnnamed226(core.List o) { +void checkUnnamed227(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkShipmentTrackingInfo(o[0]); checkShipmentTrackingInfo(o[1]); @@ -16563,7 +16582,7 @@ api.ReturnShipment buildReturnShipment() { o.deliveryDate = 'foo'; o.returnMethodType = 'foo'; o.shipmentId = 'foo'; - o.shipmentTrackingInfos = buildUnnamed226(); + o.shipmentTrackingInfos = buildUnnamed227(); o.shippingDate = 'foo'; o.state = 'foo'; } @@ -16590,7 +16609,7 @@ void checkReturnShipment(api.ReturnShipment o) { o.shipmentId!, unittest.equals('foo'), ); - checkUnnamed226(o.shipmentTrackingInfos!); + checkUnnamed227(o.shipmentTrackingInfos!); unittest.expect( o.shippingDate!, unittest.equals('foo'), @@ -16635,12 +16654,12 @@ void checkReturnShippingLabel(api.ReturnShippingLabel o) { buildCounterReturnShippingLabel--; } -core.List buildUnnamed227() => [ +core.List buildUnnamed228() => [ buildReturnaddressCustomBatchRequestEntry(), buildReturnaddressCustomBatchRequestEntry(), ]; -void checkUnnamed227(core.List o) { +void checkUnnamed228(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnaddressCustomBatchRequestEntry(o[0]); checkReturnaddressCustomBatchRequestEntry(o[1]); @@ -16651,7 +16670,7 @@ api.ReturnaddressCustomBatchRequest buildReturnaddressCustomBatchRequest() { final o = api.ReturnaddressCustomBatchRequest(); buildCounterReturnaddressCustomBatchRequest++; if (buildCounterReturnaddressCustomBatchRequest < 3) { - o.entries = buildUnnamed227(); + o.entries = buildUnnamed228(); } buildCounterReturnaddressCustomBatchRequest--; return o; @@ -16661,7 +16680,7 @@ void checkReturnaddressCustomBatchRequest( api.ReturnaddressCustomBatchRequest o) { buildCounterReturnaddressCustomBatchRequest++; if (buildCounterReturnaddressCustomBatchRequest < 3) { - checkUnnamed227(o.entries!); + checkUnnamed228(o.entries!); } buildCounterReturnaddressCustomBatchRequest--; } @@ -16707,12 +16726,12 @@ void checkReturnaddressCustomBatchRequestEntry( buildCounterReturnaddressCustomBatchRequestEntry--; } -core.List buildUnnamed228() => [ +core.List buildUnnamed229() => [ buildReturnaddressCustomBatchResponseEntry(), buildReturnaddressCustomBatchResponseEntry(), ]; -void checkUnnamed228(core.List o) { +void checkUnnamed229(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnaddressCustomBatchResponseEntry(o[0]); checkReturnaddressCustomBatchResponseEntry(o[1]); @@ -16723,7 +16742,7 @@ api.ReturnaddressCustomBatchResponse buildReturnaddressCustomBatchResponse() { final o = api.ReturnaddressCustomBatchResponse(); buildCounterReturnaddressCustomBatchResponse++; if (buildCounterReturnaddressCustomBatchResponse < 3) { - o.entries = buildUnnamed228(); + o.entries = buildUnnamed229(); o.kind = 'foo'; } buildCounterReturnaddressCustomBatchResponse--; @@ -16734,7 +16753,7 @@ void checkReturnaddressCustomBatchResponse( api.ReturnaddressCustomBatchResponse o) { buildCounterReturnaddressCustomBatchResponse++; if (buildCounterReturnaddressCustomBatchResponse < 3) { - checkUnnamed228(o.entries!); + checkUnnamed229(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -16776,12 +16795,12 @@ void checkReturnaddressCustomBatchResponseEntry( buildCounterReturnaddressCustomBatchResponseEntry--; } -core.List buildUnnamed229() => [ +core.List buildUnnamed230() => [ buildReturnAddress(), buildReturnAddress(), ]; -void checkUnnamed229(core.List o) { +void checkUnnamed230(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnAddress(o[0]); checkReturnAddress(o[1]); @@ -16794,7 +16813,7 @@ api.ReturnaddressListResponse buildReturnaddressListResponse() { if (buildCounterReturnaddressListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed229(); + o.resources = buildUnnamed230(); } buildCounterReturnaddressListResponse--; return o; @@ -16811,17 +16830,17 @@ void checkReturnaddressListResponse(api.ReturnaddressListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed229(o.resources!); + checkUnnamed230(o.resources!); } buildCounterReturnaddressListResponse--; } -core.List buildUnnamed230() => [ +core.List buildUnnamed231() => [ buildReturnpolicyCustomBatchRequestEntry(), buildReturnpolicyCustomBatchRequestEntry(), ]; -void checkUnnamed230(core.List o) { +void checkUnnamed231(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnpolicyCustomBatchRequestEntry(o[0]); checkReturnpolicyCustomBatchRequestEntry(o[1]); @@ -16832,7 +16851,7 @@ api.ReturnpolicyCustomBatchRequest buildReturnpolicyCustomBatchRequest() { final o = api.ReturnpolicyCustomBatchRequest(); buildCounterReturnpolicyCustomBatchRequest++; if (buildCounterReturnpolicyCustomBatchRequest < 3) { - o.entries = buildUnnamed230(); + o.entries = buildUnnamed231(); } buildCounterReturnpolicyCustomBatchRequest--; return o; @@ -16841,7 +16860,7 @@ api.ReturnpolicyCustomBatchRequest buildReturnpolicyCustomBatchRequest() { void checkReturnpolicyCustomBatchRequest(api.ReturnpolicyCustomBatchRequest o) { buildCounterReturnpolicyCustomBatchRequest++; if (buildCounterReturnpolicyCustomBatchRequest < 3) { - checkUnnamed230(o.entries!); + checkUnnamed231(o.entries!); } buildCounterReturnpolicyCustomBatchRequest--; } @@ -16887,12 +16906,12 @@ void checkReturnpolicyCustomBatchRequestEntry( buildCounterReturnpolicyCustomBatchRequestEntry--; } -core.List buildUnnamed231() => [ +core.List buildUnnamed232() => [ buildReturnpolicyCustomBatchResponseEntry(), buildReturnpolicyCustomBatchResponseEntry(), ]; -void checkUnnamed231(core.List o) { +void checkUnnamed232(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnpolicyCustomBatchResponseEntry(o[0]); checkReturnpolicyCustomBatchResponseEntry(o[1]); @@ -16903,7 +16922,7 @@ api.ReturnpolicyCustomBatchResponse buildReturnpolicyCustomBatchResponse() { final o = api.ReturnpolicyCustomBatchResponse(); buildCounterReturnpolicyCustomBatchResponse++; if (buildCounterReturnpolicyCustomBatchResponse < 3) { - o.entries = buildUnnamed231(); + o.entries = buildUnnamed232(); o.kind = 'foo'; } buildCounterReturnpolicyCustomBatchResponse--; @@ -16914,7 +16933,7 @@ void checkReturnpolicyCustomBatchResponse( api.ReturnpolicyCustomBatchResponse o) { buildCounterReturnpolicyCustomBatchResponse++; if (buildCounterReturnpolicyCustomBatchResponse < 3) { - checkUnnamed231(o.entries!); + checkUnnamed232(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -16956,12 +16975,12 @@ void checkReturnpolicyCustomBatchResponseEntry( buildCounterReturnpolicyCustomBatchResponseEntry--; } -core.List buildUnnamed232() => [ +core.List buildUnnamed233() => [ buildReturnPolicy(), buildReturnPolicy(), ]; -void checkUnnamed232(core.List o) { +void checkUnnamed233(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReturnPolicy(o[0]); checkReturnPolicy(o[1]); @@ -16973,7 +16992,7 @@ api.ReturnpolicyListResponse buildReturnpolicyListResponse() { buildCounterReturnpolicyListResponse++; if (buildCounterReturnpolicyListResponse < 3) { o.kind = 'foo'; - o.resources = buildUnnamed232(); + o.resources = buildUnnamed233(); } buildCounterReturnpolicyListResponse--; return o; @@ -16986,17 +17005,17 @@ void checkReturnpolicyListResponse(api.ReturnpolicyListResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed232(o.resources!); + checkUnnamed233(o.resources!); } buildCounterReturnpolicyListResponse--; } -core.List buildUnnamed233() => [ +core.List buildUnnamed234() => [ buildValue(), buildValue(), ]; -void checkUnnamed233(core.List o) { +void checkUnnamed234(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkValue(o[0]); checkValue(o[1]); @@ -17007,7 +17026,7 @@ api.Row buildRow() { final o = api.Row(); buildCounterRow++; if (buildCounterRow < 3) { - o.cells = buildUnnamed233(); + o.cells = buildUnnamed234(); } buildCounterRow--; return o; @@ -17016,7 +17035,7 @@ api.Row buildRow() { void checkRow(api.Row o) { buildCounterRow++; if (buildCounterRow < 3) { - checkUnnamed233(o.cells!); + checkUnnamed234(o.cells!); } buildCounterRow--; } @@ -17053,12 +17072,12 @@ void checkSearchRequest(api.SearchRequest o) { buildCounterSearchRequest--; } -core.List buildUnnamed234() => [ +core.List buildUnnamed235() => [ buildReportRow(), buildReportRow(), ]; -void checkUnnamed234(core.List o) { +void checkUnnamed235(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkReportRow(o[0]); checkReportRow(o[1]); @@ -17070,7 +17089,7 @@ api.SearchResponse buildSearchResponse() { buildCounterSearchResponse++; if (buildCounterSearchResponse < 3) { o.nextPageToken = 'foo'; - o.results = buildUnnamed234(); + o.results = buildUnnamed235(); } buildCounterSearchResponse--; return o; @@ -17083,7 +17102,7 @@ void checkSearchResponse(api.SearchResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed234(o.results!); + checkUnnamed235(o.results!); } buildCounterSearchResponse--; } @@ -17214,12 +17233,12 @@ void checkSegments(api.Segments o) { buildCounterSegments--; } -core.List buildUnnamed235() => [ +core.List buildUnnamed236() => [ buildRateGroup(), buildRateGroup(), ]; -void checkUnnamed235(core.List o) { +void checkUnnamed236(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRateGroup(o[0]); checkRateGroup(o[1]); @@ -17239,7 +17258,7 @@ api.Service buildService() { o.minimumOrderValueTable = buildMinimumOrderValueTable(); o.name = 'foo'; o.pickupService = buildPickupCarrierService(); - o.rateGroups = buildUnnamed235(); + o.rateGroups = buildUnnamed236(); o.shipmentType = 'foo'; o.storeConfig = buildServiceStoreConfig(); } @@ -17271,7 +17290,7 @@ void checkService(api.Service o) { unittest.equals('foo'), ); checkPickupCarrierService(o.pickupService!); - checkUnnamed235(o.rateGroups!); + checkUnnamed236(o.rateGroups!); unittest.expect( o.shipmentType!, unittest.equals('foo'), @@ -17281,12 +17300,12 @@ void checkService(api.Service o) { buildCounterService--; } -core.List buildUnnamed236() => [ +core.List buildUnnamed237() => [ 'foo', 'foo', ]; -void checkUnnamed236(core.List o) { +void checkUnnamed237(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -17305,7 +17324,7 @@ api.ServiceStoreConfig buildServiceStoreConfig() { if (buildCounterServiceStoreConfig < 3) { o.cutoffConfig = buildServiceStoreConfigCutoffConfig(); o.serviceRadius = buildDistance(); - o.storeCodes = buildUnnamed236(); + o.storeCodes = buildUnnamed237(); o.storeServiceType = 'foo'; } buildCounterServiceStoreConfig--; @@ -17317,7 +17336,7 @@ void checkServiceStoreConfig(api.ServiceStoreConfig o) { if (buildCounterServiceStoreConfig < 3) { checkServiceStoreConfigCutoffConfig(o.cutoffConfig!); checkDistance(o.serviceRadius!); - checkUnnamed236(o.storeCodes!); + checkUnnamed237(o.storeCodes!); unittest.expect( o.storeServiceType!, unittest.equals('foo'), @@ -17381,12 +17400,12 @@ void checkServiceStoreConfigCutoffConfigLocalCutoffTime( buildCounterServiceStoreConfigCutoffConfigLocalCutoffTime--; } -core.List buildUnnamed237() => [ +core.List buildUnnamed238() => [ 'foo', 'foo', ]; -void checkUnnamed237(core.List o) { +void checkUnnamed238(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -17410,7 +17429,7 @@ api.SettlementReport buildSettlementReport() { o.startDate = 'foo'; o.transferAmount = buildPrice(); o.transferDate = 'foo'; - o.transferIds = buildUnnamed237(); + o.transferIds = buildUnnamed238(); } buildCounterSettlementReport--; return o; @@ -17441,7 +17460,7 @@ void checkSettlementReport(api.SettlementReport o) { o.transferDate!, unittest.equals('foo'), ); - checkUnnamed237(o.transferIds!); + checkUnnamed238(o.transferIds!); } buildCounterSettlementReport--; } @@ -17534,12 +17553,12 @@ void checkSettlementTransactionAmountCommission( buildCounterSettlementTransactionAmountCommission--; } -core.List buildUnnamed238() => [ +core.List buildUnnamed239() => [ 'foo', 'foo', ]; -void checkUnnamed238(core.List o) { +void checkUnnamed239(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -17560,7 +17579,7 @@ api.SettlementTransactionIdentifiers buildSettlementTransactionIdentifiers() { o.merchantOrderId = 'foo'; o.orderItemId = 'foo'; o.settlementEntryId = 'foo'; - o.shipmentIds = buildUnnamed238(); + o.shipmentIds = buildUnnamed239(); o.transactionId = 'foo'; } buildCounterSettlementTransactionIdentifiers--; @@ -17587,7 +17606,7 @@ void checkSettlementTransactionIdentifiers( o.settlementEntryId!, unittest.equals('foo'), ); - checkUnnamed238(o.shipmentIds!); + checkUnnamed239(o.shipmentIds!); unittest.expect( o.transactionId!, unittest.equals('foo'), @@ -17624,12 +17643,12 @@ void checkSettlementTransactionTransaction( buildCounterSettlementTransactionTransaction--; } -core.List buildUnnamed239() => [ +core.List buildUnnamed240() => [ buildSettlementReport(), buildSettlementReport(), ]; -void checkUnnamed239(core.List o) { +void checkUnnamed240(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSettlementReport(o[0]); checkSettlementReport(o[1]); @@ -17642,7 +17661,7 @@ api.SettlementreportsListResponse buildSettlementreportsListResponse() { if (buildCounterSettlementreportsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed239(); + o.resources = buildUnnamed240(); } buildCounterSettlementreportsListResponse--; return o; @@ -17659,17 +17678,17 @@ void checkSettlementreportsListResponse(api.SettlementreportsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed239(o.resources!); + checkUnnamed240(o.resources!); } buildCounterSettlementreportsListResponse--; } -core.List buildUnnamed240() => [ +core.List buildUnnamed241() => [ buildSettlementTransaction(), buildSettlementTransaction(), ]; -void checkUnnamed240(core.List o) { +void checkUnnamed241(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSettlementTransaction(o[0]); checkSettlementTransaction(o[1]); @@ -17683,7 +17702,7 @@ api.SettlementtransactionsListResponse if (buildCounterSettlementtransactionsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed240(); + o.resources = buildUnnamed241(); } buildCounterSettlementtransactionsListResponse--; return o; @@ -17701,17 +17720,17 @@ void checkSettlementtransactionsListResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed240(o.resources!); + checkUnnamed241(o.resources!); } buildCounterSettlementtransactionsListResponse--; } -core.List buildUnnamed241() => [ +core.List buildUnnamed242() => [ buildShipmentInvoiceLineItemInvoice(), buildShipmentInvoiceLineItemInvoice(), ]; -void checkUnnamed241(core.List o) { +void checkUnnamed242(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkShipmentInvoiceLineItemInvoice(o[0]); checkShipmentInvoiceLineItemInvoice(o[1]); @@ -17723,7 +17742,7 @@ api.ShipmentInvoice buildShipmentInvoice() { buildCounterShipmentInvoice++; if (buildCounterShipmentInvoice < 3) { o.invoiceSummary = buildInvoiceSummary(); - o.lineItemInvoices = buildUnnamed241(); + o.lineItemInvoices = buildUnnamed242(); o.shipmentGroupId = 'foo'; } buildCounterShipmentInvoice--; @@ -17734,7 +17753,7 @@ void checkShipmentInvoice(api.ShipmentInvoice o) { buildCounterShipmentInvoice++; if (buildCounterShipmentInvoice < 3) { checkInvoiceSummary(o.invoiceSummary!); - checkUnnamed241(o.lineItemInvoices!); + checkUnnamed242(o.lineItemInvoices!); unittest.expect( o.shipmentGroupId!, unittest.equals('foo'), @@ -17743,12 +17762,12 @@ void checkShipmentInvoice(api.ShipmentInvoice o) { buildCounterShipmentInvoice--; } -core.List buildUnnamed242() => [ +core.List buildUnnamed243() => [ 'foo', 'foo', ]; -void checkUnnamed242(core.List o) { +void checkUnnamed243(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -17767,7 +17786,7 @@ api.ShipmentInvoiceLineItemInvoice buildShipmentInvoiceLineItemInvoice() { if (buildCounterShipmentInvoiceLineItemInvoice < 3) { o.lineItemId = 'foo'; o.productId = 'foo'; - o.shipmentUnitIds = buildUnnamed242(); + o.shipmentUnitIds = buildUnnamed243(); o.unitInvoice = buildUnitInvoice(); } buildCounterShipmentInvoiceLineItemInvoice--; @@ -17785,7 +17804,7 @@ void checkShipmentInvoiceLineItemInvoice(api.ShipmentInvoiceLineItemInvoice o) { o.productId!, unittest.equals('foo'), ); - checkUnnamed242(o.shipmentUnitIds!); + checkUnnamed243(o.shipmentUnitIds!); checkUnitInvoice(o.unitInvoice!); } buildCounterShipmentInvoiceLineItemInvoice--; @@ -17818,34 +17837,34 @@ void checkShipmentTrackingInfo(api.ShipmentTrackingInfo o) { buildCounterShipmentTrackingInfo--; } -core.List buildUnnamed243() => [ +core.List buildUnnamed244() => [ buildPostalCodeGroup(), buildPostalCodeGroup(), ]; -void checkUnnamed243(core.List o) { +void checkUnnamed244(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPostalCodeGroup(o[0]); checkPostalCodeGroup(o[1]); } -core.List buildUnnamed244() => [ +core.List buildUnnamed245() => [ buildService(), buildService(), ]; -void checkUnnamed244(core.List o) { +void checkUnnamed245(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkService(o[0]); checkService(o[1]); } -core.List buildUnnamed245() => [ +core.List buildUnnamed246() => [ buildWarehouse(), buildWarehouse(), ]; -void checkUnnamed245(core.List o) { +void checkUnnamed246(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWarehouse(o[0]); checkWarehouse(o[1]); @@ -17857,9 +17876,9 @@ api.ShippingSettings buildShippingSettings() { buildCounterShippingSettings++; if (buildCounterShippingSettings < 3) { o.accountId = 'foo'; - o.postalCodeGroups = buildUnnamed243(); - o.services = buildUnnamed244(); - o.warehouses = buildUnnamed245(); + o.postalCodeGroups = buildUnnamed244(); + o.services = buildUnnamed245(); + o.warehouses = buildUnnamed246(); } buildCounterShippingSettings--; return o; @@ -17872,19 +17891,19 @@ void checkShippingSettings(api.ShippingSettings o) { o.accountId!, unittest.equals('foo'), ); - checkUnnamed243(o.postalCodeGroups!); - checkUnnamed244(o.services!); - checkUnnamed245(o.warehouses!); + checkUnnamed244(o.postalCodeGroups!); + checkUnnamed245(o.services!); + checkUnnamed246(o.warehouses!); } buildCounterShippingSettings--; } -core.List buildUnnamed246() => [ +core.List buildUnnamed247() => [ buildShippingsettingsCustomBatchRequestEntry(), buildShippingsettingsCustomBatchRequestEntry(), ]; -void checkUnnamed246(core.List o) { +void checkUnnamed247(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkShippingsettingsCustomBatchRequestEntry(o[0]); checkShippingsettingsCustomBatchRequestEntry(o[1]); @@ -17896,7 +17915,7 @@ api.ShippingsettingsCustomBatchRequest final o = api.ShippingsettingsCustomBatchRequest(); buildCounterShippingsettingsCustomBatchRequest++; if (buildCounterShippingsettingsCustomBatchRequest < 3) { - o.entries = buildUnnamed246(); + o.entries = buildUnnamed247(); } buildCounterShippingsettingsCustomBatchRequest--; return o; @@ -17906,7 +17925,7 @@ void checkShippingsettingsCustomBatchRequest( api.ShippingsettingsCustomBatchRequest o) { buildCounterShippingsettingsCustomBatchRequest++; if (buildCounterShippingsettingsCustomBatchRequest < 3) { - checkUnnamed246(o.entries!); + checkUnnamed247(o.entries!); } buildCounterShippingsettingsCustomBatchRequest--; } @@ -17952,12 +17971,12 @@ void checkShippingsettingsCustomBatchRequestEntry( buildCounterShippingsettingsCustomBatchRequestEntry--; } -core.List buildUnnamed247() => [ +core.List buildUnnamed248() => [ buildShippingsettingsCustomBatchResponseEntry(), buildShippingsettingsCustomBatchResponseEntry(), ]; -void checkUnnamed247( +void checkUnnamed248( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkShippingsettingsCustomBatchResponseEntry(o[0]); @@ -17970,7 +17989,7 @@ api.ShippingsettingsCustomBatchResponse final o = api.ShippingsettingsCustomBatchResponse(); buildCounterShippingsettingsCustomBatchResponse++; if (buildCounterShippingsettingsCustomBatchResponse < 3) { - o.entries = buildUnnamed247(); + o.entries = buildUnnamed248(); o.kind = 'foo'; } buildCounterShippingsettingsCustomBatchResponse--; @@ -17981,7 +18000,7 @@ void checkShippingsettingsCustomBatchResponse( api.ShippingsettingsCustomBatchResponse o) { buildCounterShippingsettingsCustomBatchResponse++; if (buildCounterShippingsettingsCustomBatchResponse < 3) { - checkUnnamed247(o.entries!); + checkUnnamed248(o.entries!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -18023,12 +18042,12 @@ void checkShippingsettingsCustomBatchResponseEntry( buildCounterShippingsettingsCustomBatchResponseEntry--; } -core.List buildUnnamed248() => [ +core.List buildUnnamed249() => [ buildCarriersCarrier(), buildCarriersCarrier(), ]; -void checkUnnamed248(core.List o) { +void checkUnnamed249(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkCarriersCarrier(o[0]); checkCarriersCarrier(o[1]); @@ -18040,7 +18059,7 @@ api.ShippingsettingsGetSupportedCarriersResponse final o = api.ShippingsettingsGetSupportedCarriersResponse(); buildCounterShippingsettingsGetSupportedCarriersResponse++; if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { - o.carriers = buildUnnamed248(); + o.carriers = buildUnnamed249(); o.kind = 'foo'; } buildCounterShippingsettingsGetSupportedCarriersResponse--; @@ -18051,7 +18070,7 @@ void checkShippingsettingsGetSupportedCarriersResponse( api.ShippingsettingsGetSupportedCarriersResponse o) { buildCounterShippingsettingsGetSupportedCarriersResponse++; if (buildCounterShippingsettingsGetSupportedCarriersResponse < 3) { - checkUnnamed248(o.carriers!); + checkUnnamed249(o.carriers!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -18060,12 +18079,12 @@ void checkShippingsettingsGetSupportedCarriersResponse( buildCounterShippingsettingsGetSupportedCarriersResponse--; } -core.List buildUnnamed249() => [ +core.List buildUnnamed250() => [ buildHolidaysHoliday(), buildHolidaysHoliday(), ]; -void checkUnnamed249(core.List o) { +void checkUnnamed250(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHolidaysHoliday(o[0]); checkHolidaysHoliday(o[1]); @@ -18077,7 +18096,7 @@ api.ShippingsettingsGetSupportedHolidaysResponse final o = api.ShippingsettingsGetSupportedHolidaysResponse(); buildCounterShippingsettingsGetSupportedHolidaysResponse++; if (buildCounterShippingsettingsGetSupportedHolidaysResponse < 3) { - o.holidays = buildUnnamed249(); + o.holidays = buildUnnamed250(); o.kind = 'foo'; } buildCounterShippingsettingsGetSupportedHolidaysResponse--; @@ -18088,7 +18107,7 @@ void checkShippingsettingsGetSupportedHolidaysResponse( api.ShippingsettingsGetSupportedHolidaysResponse o) { buildCounterShippingsettingsGetSupportedHolidaysResponse++; if (buildCounterShippingsettingsGetSupportedHolidaysResponse < 3) { - checkUnnamed249(o.holidays!); + checkUnnamed250(o.holidays!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -18097,12 +18116,12 @@ void checkShippingsettingsGetSupportedHolidaysResponse( buildCounterShippingsettingsGetSupportedHolidaysResponse--; } -core.List buildUnnamed250() => [ +core.List buildUnnamed251() => [ buildPickupServicesPickupService(), buildPickupServicesPickupService(), ]; -void checkUnnamed250(core.List o) { +void checkUnnamed251(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPickupServicesPickupService(o[0]); checkPickupServicesPickupService(o[1]); @@ -18115,7 +18134,7 @@ api.ShippingsettingsGetSupportedPickupServicesResponse buildCounterShippingsettingsGetSupportedPickupServicesResponse++; if (buildCounterShippingsettingsGetSupportedPickupServicesResponse < 3) { o.kind = 'foo'; - o.pickupServices = buildUnnamed250(); + o.pickupServices = buildUnnamed251(); } buildCounterShippingsettingsGetSupportedPickupServicesResponse--; return o; @@ -18129,17 +18148,17 @@ void checkShippingsettingsGetSupportedPickupServicesResponse( o.kind!, unittest.equals('foo'), ); - checkUnnamed250(o.pickupServices!); + checkUnnamed251(o.pickupServices!); } buildCounterShippingsettingsGetSupportedPickupServicesResponse--; } -core.List buildUnnamed251() => [ +core.List buildUnnamed252() => [ buildShippingSettings(), buildShippingSettings(), ]; -void checkUnnamed251(core.List o) { +void checkUnnamed252(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkShippingSettings(o[0]); checkShippingSettings(o[1]); @@ -18152,7 +18171,7 @@ api.ShippingsettingsListResponse buildShippingsettingsListResponse() { if (buildCounterShippingsettingsListResponse < 3) { o.kind = 'foo'; o.nextPageToken = 'foo'; - o.resources = buildUnnamed251(); + o.resources = buildUnnamed252(); } buildCounterShippingsettingsListResponse--; return o; @@ -18169,17 +18188,17 @@ void checkShippingsettingsListResponse(api.ShippingsettingsListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed251(o.resources!); + checkUnnamed252(o.resources!); } buildCounterShippingsettingsListResponse--; } -core.List buildUnnamed252() => [ +core.List buildUnnamed253() => [ buildShoppingAdsProgramStatusRegionStatus(), buildShoppingAdsProgramStatusRegionStatus(), ]; -void checkUnnamed252(core.List o) { +void checkUnnamed253(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkShoppingAdsProgramStatusRegionStatus(o[0]); checkShoppingAdsProgramStatusRegionStatus(o[1]); @@ -18191,7 +18210,7 @@ api.ShoppingAdsProgramStatus buildShoppingAdsProgramStatus() { buildCounterShoppingAdsProgramStatus++; if (buildCounterShoppingAdsProgramStatus < 3) { o.globalState = 'foo'; - o.regionStatuses = buildUnnamed252(); + o.regionStatuses = buildUnnamed253(); } buildCounterShoppingAdsProgramStatus--; return o; @@ -18204,17 +18223,17 @@ void checkShoppingAdsProgramStatus(api.ShoppingAdsProgramStatus o) { o.globalState!, unittest.equals('foo'), ); - checkUnnamed252(o.regionStatuses!); + checkUnnamed253(o.regionStatuses!); } buildCounterShoppingAdsProgramStatus--; } -core.List buildUnnamed253() => [ +core.List buildUnnamed254() => [ 'foo', 'foo', ]; -void checkUnnamed253(core.List o) { +void checkUnnamed254(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -18226,12 +18245,12 @@ void checkUnnamed253(core.List o) { ); } -core.List buildUnnamed254() => [ +core.List buildUnnamed255() => [ 'foo', 'foo', ]; -void checkUnnamed254(core.List o) { +void checkUnnamed255(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -18243,12 +18262,12 @@ void checkUnnamed254(core.List o) { ); } -core.List buildUnnamed255() => [ +core.List buildUnnamed256() => [ 'foo', 'foo', ]; -void checkUnnamed255(core.List o) { +void checkUnnamed256(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -18268,14 +18287,14 @@ api.ShoppingAdsProgramStatusRegionStatus if (buildCounterShoppingAdsProgramStatusRegionStatus < 3) { o.disapprovalDate = 'foo'; o.eligibilityStatus = 'foo'; - o.onboardingIssues = buildUnnamed253(); - o.regionCodes = buildUnnamed254(); + o.onboardingIssues = buildUnnamed254(); + o.regionCodes = buildUnnamed255(); o.reviewEligibilityStatus = 'foo'; o.reviewIneligibilityReason = 'foo'; o.reviewIneligibilityReasonDescription = 'foo'; o.reviewIneligibilityReasonDetails = buildShoppingAdsProgramStatusReviewIneligibilityReasonDetails(); - o.reviewIssues = buildUnnamed255(); + o.reviewIssues = buildUnnamed256(); } buildCounterShoppingAdsProgramStatusRegionStatus--; return o; @@ -18293,8 +18312,8 @@ void checkShoppingAdsProgramStatusRegionStatus( o.eligibilityStatus!, unittest.equals('foo'), ); - checkUnnamed253(o.onboardingIssues!); - checkUnnamed254(o.regionCodes!); + checkUnnamed254(o.onboardingIssues!); + checkUnnamed255(o.regionCodes!); unittest.expect( o.reviewEligibilityStatus!, unittest.equals('foo'), @@ -18309,7 +18328,7 @@ void checkShoppingAdsProgramStatusRegionStatus( ); checkShoppingAdsProgramStatusReviewIneligibilityReasonDetails( o.reviewIneligibilityReasonDetails!); - checkUnnamed255(o.reviewIssues!); + checkUnnamed256(o.reviewIssues!); } buildCounterShoppingAdsProgramStatusRegionStatus--; } @@ -18341,12 +18360,12 @@ void checkShoppingAdsProgramStatusReviewIneligibilityReasonDetails( buildCounterShoppingAdsProgramStatusReviewIneligibilityReasonDetails--; } -core.List buildUnnamed256() => [ +core.List buildUnnamed257() => [ buildRow(), buildRow(), ]; -void checkUnnamed256(core.List o) { +void checkUnnamed257(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); @@ -18360,7 +18379,7 @@ api.Table buildTable() { o.columnHeaders = buildHeaders(); o.name = 'foo'; o.rowHeaders = buildHeaders(); - o.rows = buildUnnamed256(); + o.rows = buildUnnamed257(); } buildCounterTable--; return o; @@ -18375,28 +18394,28 @@ void checkTable(api.Table o) { unittest.equals('foo'), ); checkHeaders(o.rowHeaders!); - checkUnnamed256(o.rows!); + checkUnnamed257(o.rows!); } buildCounterTable--; } -core.List buildUnnamed257() => [ +core.List buildUnnamed258() => [ buildTestOrderLineItem(), buildTestOrderLineItem(), ]; -void checkUnnamed257(core.List o) { +void checkUnnamed258(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTestOrderLineItem(o[0]); checkTestOrderLineItem(o[1]); } -core.List buildUnnamed258() => [ +core.List buildUnnamed259() => [ buildOrderPromotion(), buildOrderPromotion(), ]; -void checkUnnamed258(core.List o) { +void checkUnnamed259(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderPromotion(o[0]); checkOrderPromotion(o[1]); @@ -18410,14 +18429,14 @@ api.TestOrder buildTestOrder() { o.deliveryDetails = buildTestOrderDeliveryDetails(); o.enableOrderinvoices = true; o.kind = 'foo'; - o.lineItems = buildUnnamed257(); + o.lineItems = buildUnnamed258(); o.notificationMode = 'foo'; o.pickupDetails = buildTestOrderPickupDetails(); o.predefinedBillingAddress = 'foo'; o.predefinedDeliveryAddress = 'foo'; o.predefinedEmail = 'foo'; o.predefinedPickupDetails = 'foo'; - o.promotions = buildUnnamed258(); + o.promotions = buildUnnamed259(); o.shippingCost = buildPrice(); o.shippingOption = 'foo'; } @@ -18434,7 +18453,7 @@ void checkTestOrder(api.TestOrder o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed257(o.lineItems!); + checkUnnamed258(o.lineItems!); unittest.expect( o.notificationMode!, unittest.equals('foo'), @@ -18456,7 +18475,7 @@ void checkTestOrder(api.TestOrder o) { o.predefinedPickupDetails!, unittest.equals('foo'), ); - checkUnnamed258(o.promotions!); + checkUnnamed259(o.promotions!); checkPrice(o.shippingCost!); unittest.expect( o.shippingOption!, @@ -18466,12 +18485,12 @@ void checkTestOrder(api.TestOrder o) { buildCounterTestOrder--; } -core.List buildUnnamed259() => [ +core.List buildUnnamed260() => [ 'foo', 'foo', ]; -void checkUnnamed259(core.List o) { +void checkUnnamed260(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -18483,12 +18502,12 @@ void checkUnnamed259(core.List o) { ); } -core.List buildUnnamed260() => [ +core.List buildUnnamed261() => [ 'foo', 'foo', ]; -void checkUnnamed260(core.List o) { +void checkUnnamed261(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -18506,13 +18525,13 @@ api.TestOrderAddress buildTestOrderAddress() { buildCounterTestOrderAddress++; if (buildCounterTestOrderAddress < 3) { o.country = 'foo'; - o.fullAddress = buildUnnamed259(); + o.fullAddress = buildUnnamed260(); o.isPostOfficeBox = true; o.locality = 'foo'; o.postalCode = 'foo'; o.recipientName = 'foo'; o.region = 'foo'; - o.streetAddress = buildUnnamed260(); + o.streetAddress = buildUnnamed261(); } buildCounterTestOrderAddress--; return o; @@ -18525,7 +18544,7 @@ void checkTestOrderAddress(api.TestOrderAddress o) { o.country!, unittest.equals('foo'), ); - checkUnnamed259(o.fullAddress!); + checkUnnamed260(o.fullAddress!); unittest.expect(o.isPostOfficeBox!, unittest.isTrue); unittest.expect( o.locality!, @@ -18543,7 +18562,7 @@ void checkTestOrderAddress(api.TestOrderAddress o) { o.region!, unittest.equals('foo'), ); - checkUnnamed260(o.streetAddress!); + checkUnnamed261(o.streetAddress!); } buildCounterTestOrderAddress--; } @@ -18602,23 +18621,23 @@ void checkTestOrderLineItem(api.TestOrderLineItem o) { buildCounterTestOrderLineItem--; } -core.List buildUnnamed261() => [ +core.List buildUnnamed262() => [ buildOrderLineItemProductFee(), buildOrderLineItemProductFee(), ]; -void checkUnnamed261(core.List o) { +void checkUnnamed262(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderLineItemProductFee(o[0]); checkOrderLineItemProductFee(o[1]); } -core.List buildUnnamed262() => [ +core.List buildUnnamed263() => [ buildOrderLineItemProductVariantAttribute(), buildOrderLineItemProductVariantAttribute(), ]; -void checkUnnamed262(core.List o) { +void checkUnnamed263(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderLineItemProductVariantAttribute(o[0]); checkOrderLineItemProductVariantAttribute(o[1]); @@ -18632,7 +18651,7 @@ api.TestOrderLineItemProduct buildTestOrderLineItemProduct() { o.brand = 'foo'; o.condition = 'foo'; o.contentLanguage = 'foo'; - o.fees = buildUnnamed261(); + o.fees = buildUnnamed262(); o.gtin = 'foo'; o.imageLink = 'foo'; o.itemGroupId = 'foo'; @@ -18641,7 +18660,7 @@ api.TestOrderLineItemProduct buildTestOrderLineItemProduct() { o.price = buildPrice(); o.targetCountry = 'foo'; o.title = 'foo'; - o.variantAttributes = buildUnnamed262(); + o.variantAttributes = buildUnnamed263(); } buildCounterTestOrderLineItemProduct--; return o; @@ -18662,7 +18681,7 @@ void checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { o.contentLanguage!, unittest.equals('foo'), ); - checkUnnamed261(o.fees!); + checkUnnamed262(o.fees!); unittest.expect( o.gtin!, unittest.equals('foo'), @@ -18692,17 +18711,17 @@ void checkTestOrderLineItemProduct(api.TestOrderLineItemProduct o) { o.title!, unittest.equals('foo'), ); - checkUnnamed262(o.variantAttributes!); + checkUnnamed263(o.variantAttributes!); } buildCounterTestOrderLineItemProduct--; } -core.List buildUnnamed263() => [ +core.List buildUnnamed264() => [ buildTestOrderPickupDetailsPickupPerson(), buildTestOrderPickupDetailsPickupPerson(), ]; -void checkUnnamed263(core.List o) { +void checkUnnamed264(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTestOrderPickupDetailsPickupPerson(o[0]); checkTestOrderPickupDetailsPickupPerson(o[1]); @@ -18716,7 +18735,7 @@ api.TestOrderPickupDetails buildTestOrderPickupDetails() { o.locationCode = 'foo'; o.pickupLocationAddress = buildTestOrderAddress(); o.pickupLocationType = 'foo'; - o.pickupPersons = buildUnnamed263(); + o.pickupPersons = buildUnnamed264(); } buildCounterTestOrderPickupDetails--; return o; @@ -18734,7 +18753,7 @@ void checkTestOrderPickupDetails(api.TestOrderPickupDetails o) { o.pickupLocationType!, unittest.equals('foo'), ); - checkUnnamed263(o.pickupPersons!); + checkUnnamed264(o.pickupPersons!); } buildCounterTestOrderPickupDetails--; } @@ -18913,12 +18932,12 @@ void checkTopicTrends(api.TopicTrends o) { buildCounterTopicTrends--; } -core.List buildUnnamed264() => [ +core.List buildUnnamed265() => [ 'foo', 'foo', ]; -void checkUnnamed264(core.List o) { +void checkUnnamed265(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -18930,23 +18949,23 @@ void checkUnnamed264(core.List o) { ); } -core.List buildUnnamed265() => [ +core.List buildUnnamed266() => [ buildTransitTableTransitTimeRow(), buildTransitTableTransitTimeRow(), ]; -void checkUnnamed265(core.List o) { +void checkUnnamed266(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTransitTableTransitTimeRow(o[0]); checkTransitTableTransitTimeRow(o[1]); } -core.List buildUnnamed266() => [ +core.List buildUnnamed267() => [ 'foo', 'foo', ]; -void checkUnnamed266(core.List o) { +void checkUnnamed267(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -18963,9 +18982,9 @@ api.TransitTable buildTransitTable() { final o = api.TransitTable(); buildCounterTransitTable++; if (buildCounterTransitTable < 3) { - o.postalCodeGroupNames = buildUnnamed264(); - o.rows = buildUnnamed265(); - o.transitTimeLabels = buildUnnamed266(); + o.postalCodeGroupNames = buildUnnamed265(); + o.rows = buildUnnamed266(); + o.transitTimeLabels = buildUnnamed267(); } buildCounterTransitTable--; return o; @@ -18974,19 +18993,19 @@ api.TransitTable buildTransitTable() { void checkTransitTable(api.TransitTable o) { buildCounterTransitTable++; if (buildCounterTransitTable < 3) { - checkUnnamed264(o.postalCodeGroupNames!); - checkUnnamed265(o.rows!); - checkUnnamed266(o.transitTimeLabels!); + checkUnnamed265(o.postalCodeGroupNames!); + checkUnnamed266(o.rows!); + checkUnnamed267(o.transitTimeLabels!); } buildCounterTransitTable--; } -core.List buildUnnamed267() => [ +core.List buildUnnamed268() => [ buildTransitTableTransitTimeRowTransitTimeValue(), buildTransitTableTransitTimeRowTransitTimeValue(), ]; -void checkUnnamed267( +void checkUnnamed268( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTransitTableTransitTimeRowTransitTimeValue(o[0]); @@ -18998,7 +19017,7 @@ api.TransitTableTransitTimeRow buildTransitTableTransitTimeRow() { final o = api.TransitTableTransitTimeRow(); buildCounterTransitTableTransitTimeRow++; if (buildCounterTransitTableTransitTimeRow < 3) { - o.values = buildUnnamed267(); + o.values = buildUnnamed268(); } buildCounterTransitTableTransitTimeRow--; return o; @@ -19007,7 +19026,7 @@ api.TransitTableTransitTimeRow buildTransitTableTransitTimeRow() { void checkTransitTableTransitTimeRow(api.TransitTableTransitTimeRow o) { buildCounterTransitTableTransitTimeRow++; if (buildCounterTransitTableTransitTimeRow < 3) { - checkUnnamed267(o.values!); + checkUnnamed268(o.values!); } buildCounterTransitTableTransitTimeRow--; } @@ -19103,23 +19122,23 @@ void checkUndeleteConversionSourceRequest( buildCounterUndeleteConversionSourceRequest--; } -core.List buildUnnamed268() => [ +core.List buildUnnamed269() => [ buildUnitInvoiceAdditionalCharge(), buildUnitInvoiceAdditionalCharge(), ]; -void checkUnnamed268(core.List o) { +void checkUnnamed269(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUnitInvoiceAdditionalCharge(o[0]); checkUnitInvoiceAdditionalCharge(o[1]); } -core.List buildUnnamed269() => [ +core.List buildUnnamed270() => [ buildUnitInvoiceTaxLine(), buildUnitInvoiceTaxLine(), ]; -void checkUnnamed269(core.List o) { +void checkUnnamed270(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUnitInvoiceTaxLine(o[0]); checkUnitInvoiceTaxLine(o[1]); @@ -19130,9 +19149,9 @@ api.UnitInvoice buildUnitInvoice() { final o = api.UnitInvoice(); buildCounterUnitInvoice++; if (buildCounterUnitInvoice < 3) { - o.additionalCharges = buildUnnamed268(); + o.additionalCharges = buildUnnamed269(); o.unitPrice = buildPrice(); - o.unitPriceTaxes = buildUnnamed269(); + o.unitPriceTaxes = buildUnnamed270(); } buildCounterUnitInvoice--; return o; @@ -19141,9 +19160,9 @@ api.UnitInvoice buildUnitInvoice() { void checkUnitInvoice(api.UnitInvoice o) { buildCounterUnitInvoice++; if (buildCounterUnitInvoice < 3) { - checkUnnamed268(o.additionalCharges!); + checkUnnamed269(o.additionalCharges!); checkPrice(o.unitPrice!); - checkUnnamed269(o.unitPriceTaxes!); + checkUnnamed270(o.unitPriceTaxes!); } buildCounterUnitInvoice--; } @@ -19462,23 +19481,6 @@ void checkWeight(api.Weight o) { buildCounterWeight--; } -core.List buildUnnamed270() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed270(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 buildUnnamed271() => [ 'foo', 'foo', @@ -19683,6 +19685,23 @@ void checkUnnamed282(core.List o) { ); } +core.List buildUnnamed283() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed283(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + void main() { unittest.group('obj-schema-Account', () { unittest.test('to-json--from-json', () async { @@ -25842,7 +25861,7 @@ void main() { final res = api.ShoppingContentApi(mock).accountstatuses; final arg_merchantId = 'foo'; final arg_accountId = 'foo'; - final arg_destinations = buildUnnamed270(); + final arg_destinations = buildUnnamed271(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -25894,7 +25913,7 @@ void main() { final mock = HttpServerMock(); final res = api.ShoppingContentApi(mock).accountstatuses; final arg_merchantId = 'foo'; - final arg_destinations = buildUnnamed271(); + final arg_destinations = buildUnnamed272(); final arg_maxResults = 42; final arg_name = 'foo'; final arg_pageToken = 'foo'; @@ -28585,7 +28604,7 @@ void main() { final arg_accountId = 'foo'; final arg_country = 'foo'; final arg_lsfType = 'foo'; - final arg_pickupTypes = buildUnnamed272(); + final arg_pickupTypes = buildUnnamed273(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -29508,14 +29527,14 @@ void main() { final arg_acknowledged = true; final arg_createdEndDate = 'foo'; final arg_createdStartDate = 'foo'; - final arg_googleOrderIds = buildUnnamed273(); + final arg_googleOrderIds = buildUnnamed274(); final arg_maxResults = 42; final arg_orderBy = 'foo'; final arg_pageToken = 'foo'; - final arg_shipmentStates = buildUnnamed274(); - final arg_shipmentStatus = buildUnnamed275(); - final arg_shipmentTrackingNumbers = buildUnnamed276(); - final arg_shipmentTypes = buildUnnamed277(); + final arg_shipmentStates = buildUnnamed275(); + final arg_shipmentStatus = buildUnnamed276(); + final arg_shipmentTrackingNumbers = buildUnnamed277(); + final arg_shipmentTypes = buildUnnamed278(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -30378,7 +30397,7 @@ void main() { final arg_pageToken = 'foo'; final arg_placedDateEnd = 'foo'; final arg_placedDateStart = 'foo'; - final arg_statuses = buildUnnamed278(); + final arg_statuses = buildUnnamed279(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -31934,7 +31953,7 @@ void main() { final res = api.ShoppingContentApi(mock).productstatuses; final arg_merchantId = 'foo'; final arg_productId = 'foo'; - final arg_destinations = buildUnnamed279(); + final arg_destinations = buildUnnamed280(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -31986,7 +32005,7 @@ void main() { final mock = HttpServerMock(); final res = api.ShoppingContentApi(mock).productstatuses; final arg_merchantId = 'foo'; - final arg_destinations = buildUnnamed280(); + final arg_destinations = buildUnnamed281(); final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_$fields = 'foo'; @@ -32390,7 +32409,7 @@ void main() { final mock = HttpServerMock(); final res = api.ShoppingContentApi(mock).recommendations; final arg_merchantId = 'foo'; - final arg_allowedTag = buildUnnamed281(); + final arg_allowedTag = buildUnnamed282(); final arg_languageCode = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -33855,7 +33874,7 @@ void main() { final arg_settlementId = 'foo'; final arg_maxResults = 42; final arg_pageToken = 'foo'; - final arg_transactionIds = buildUnnamed282(); + final arg_transactionIds = buildUnnamed283(); final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; diff --git a/generated/googleapis/test/contentwarehouse/v1_test.dart b/generated/googleapis/test/contentwarehouse/v1_test.dart index 94b57ac92..a9c1e07ac 100644 --- a/generated/googleapis/test/contentwarehouse/v1_test.dart +++ b/generated/googleapis/test/contentwarehouse/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/customsearch/v1_test.dart b/generated/googleapis/test/customsearch/v1_test.dart index 50c2cea0e..656ef7833 100644 --- a/generated/googleapis/test/customsearch/v1_test.dart +++ b/generated/googleapis/test/customsearch/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/datacatalog/v1_test.dart b/generated/googleapis/test/datacatalog/v1_test.dart index f12a9ab52..4890ba1c4 100644 --- a/generated/googleapis/test/datacatalog/v1_test.dart +++ b/generated/googleapis/test/datacatalog/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/datafusion/v1_test.dart b/generated/googleapis/test/datafusion/v1_test.dart index 391240e0a..f2b76600d 100644 --- a/generated/googleapis/test/datafusion/v1_test.dart +++ b/generated/googleapis/test/datafusion/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/datalineage/v1_test.dart b/generated/googleapis/test/datalineage/v1_test.dart index a8694ea8a..17afcba34 100644 --- a/generated/googleapis/test/datalineage/v1_test.dart +++ b/generated/googleapis/test/datalineage/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/datamigration/v1_test.dart b/generated/googleapis/test/datamigration/v1_test.dart index 4fea0f93b..18a48d37d 100644 --- a/generated/googleapis/test/datamigration/v1_test.dart +++ b/generated/googleapis/test/datamigration/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/datapipelines/v1_test.dart b/generated/googleapis/test/datapipelines/v1_test.dart index adc1f7e5a..794f4411f 100644 --- a/generated/googleapis/test/datapipelines/v1_test.dart +++ b/generated/googleapis/test/datapipelines/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/dataplex/v1_test.dart b/generated/googleapis/test/dataplex/v1_test.dart index 42155ab3d..b3055796f 100644 --- a/generated/googleapis/test/dataplex/v1_test.dart +++ b/generated/googleapis/test/dataplex/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/dataportability/v1_test.dart b/generated/googleapis/test/dataportability/v1_test.dart index 6388464be..e93f63584 100644 --- a/generated/googleapis/test/dataportability/v1_test.dart +++ b/generated/googleapis/test/dataportability/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/dataproc/v1_test.dart b/generated/googleapis/test/dataproc/v1_test.dart index aabd983a0..19e7fbd41 100644 --- a/generated/googleapis/test/dataproc/v1_test.dart +++ b/generated/googleapis/test/dataproc/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/datastore/v1_test.dart b/generated/googleapis/test/datastore/v1_test.dart index b68b651d8..96663f707 100644 --- a/generated/googleapis/test/datastore/v1_test.dart +++ b/generated/googleapis/test/datastore/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/datastream/v1_test.dart b/generated/googleapis/test/datastream/v1_test.dart index 81ff120ad..7d7a81fe5 100644 --- a/generated/googleapis/test/datastream/v1_test.dart +++ b/generated/googleapis/test/datastream/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/deploymentmanager/v2_test.dart b/generated/googleapis/test/deploymentmanager/v2_test.dart index 87a92f44b..62aed95ac 100644 --- a/generated/googleapis/test/deploymentmanager/v2_test.dart +++ b/generated/googleapis/test/deploymentmanager/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/developerconnect/v1_test.dart b/generated/googleapis/test/developerconnect/v1_test.dart new file mode 100644 index 000000000..9c1b71c56 --- /dev/null +++ b/generated/googleapis/test/developerconnect/v1_test.dart @@ -0,0 +1,2644 @@ +// 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/developerconnect/v1.dart' as api; +import 'package:http/http.dart' as http; +import 'package:test/test.dart' as unittest; + +import '../test_shared.dart'; + +core.int buildCounterCancelOperationRequest = 0; +api.CancelOperationRequest buildCancelOperationRequest() { + final o = api.CancelOperationRequest(); + buildCounterCancelOperationRequest++; + if (buildCounterCancelOperationRequest < 3) {} + buildCounterCancelOperationRequest--; + return o; +} + +void checkCancelOperationRequest(api.CancelOperationRequest o) { + buildCounterCancelOperationRequest++; + if (buildCounterCancelOperationRequest < 3) {} + buildCounterCancelOperationRequest--; +} + +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.Map buildUnnamed1() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed1(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 buildCounterConnection = 0; +api.Connection buildConnection() { + final o = api.Connection(); + buildCounterConnection++; + if (buildCounterConnection < 3) { + o.annotations = buildUnnamed0(); + o.createTime = 'foo'; + o.deleteTime = 'foo'; + o.disabled = true; + o.etag = 'foo'; + o.githubConfig = buildGitHubConfig(); + o.installationState = buildInstallationState(); + o.labels = buildUnnamed1(); + o.name = 'foo'; + o.reconciling = true; + o.uid = 'foo'; + o.updateTime = 'foo'; + } + buildCounterConnection--; + return o; +} + +void checkConnection(api.Connection o) { + buildCounterConnection++; + if (buildCounterConnection < 3) { + checkUnnamed0(o.annotations!); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.deleteTime!, + unittest.equals('foo'), + ); + unittest.expect(o.disabled!, unittest.isTrue); + unittest.expect( + o.etag!, + unittest.equals('foo'), + ); + checkGitHubConfig(o.githubConfig!); + checkInstallationState(o.installationState!); + checkUnnamed1(o.labels!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect(o.reconciling!, unittest.isTrue); + unittest.expect( + o.uid!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterConnection--; +} + +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 buildUnnamed2() => [ + buildInstallation(), + buildInstallation(), + ]; + +void checkUnnamed2(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkInstallation(o[0]); + checkInstallation(o[1]); +} + +core.int buildCounterFetchGitHubInstallationsResponse = 0; +api.FetchGitHubInstallationsResponse buildFetchGitHubInstallationsResponse() { + final o = api.FetchGitHubInstallationsResponse(); + buildCounterFetchGitHubInstallationsResponse++; + if (buildCounterFetchGitHubInstallationsResponse < 3) { + o.installations = buildUnnamed2(); + } + buildCounterFetchGitHubInstallationsResponse--; + return o; +} + +void checkFetchGitHubInstallationsResponse( + api.FetchGitHubInstallationsResponse o) { + buildCounterFetchGitHubInstallationsResponse++; + if (buildCounterFetchGitHubInstallationsResponse < 3) { + checkUnnamed2(o.installations!); + } + buildCounterFetchGitHubInstallationsResponse--; +} + +core.List buildUnnamed3() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3(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 buildCounterFetchGitRefsResponse = 0; +api.FetchGitRefsResponse buildFetchGitRefsResponse() { + final o = api.FetchGitRefsResponse(); + buildCounterFetchGitRefsResponse++; + if (buildCounterFetchGitRefsResponse < 3) { + o.nextPageToken = 'foo'; + o.refNames = buildUnnamed3(); + } + buildCounterFetchGitRefsResponse--; + return o; +} + +void checkFetchGitRefsResponse(api.FetchGitRefsResponse o) { + buildCounterFetchGitRefsResponse++; + if (buildCounterFetchGitRefsResponse < 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed3(o.refNames!); + } + buildCounterFetchGitRefsResponse--; +} + +core.List buildUnnamed4() => [ + buildLinkableGitRepository(), + buildLinkableGitRepository(), + ]; + +void checkUnnamed4(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkLinkableGitRepository(o[0]); + checkLinkableGitRepository(o[1]); +} + +core.int buildCounterFetchLinkableGitRepositoriesResponse = 0; +api.FetchLinkableGitRepositoriesResponse + buildFetchLinkableGitRepositoriesResponse() { + final o = api.FetchLinkableGitRepositoriesResponse(); + buildCounterFetchLinkableGitRepositoriesResponse++; + if (buildCounterFetchLinkableGitRepositoriesResponse < 3) { + o.linkableGitRepositories = buildUnnamed4(); + o.nextPageToken = 'foo'; + } + buildCounterFetchLinkableGitRepositoriesResponse--; + return o; +} + +void checkFetchLinkableGitRepositoriesResponse( + api.FetchLinkableGitRepositoriesResponse o) { + buildCounterFetchLinkableGitRepositoriesResponse++; + if (buildCounterFetchLinkableGitRepositoriesResponse < 3) { + checkUnnamed4(o.linkableGitRepositories!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterFetchLinkableGitRepositoriesResponse--; +} + +core.int buildCounterFetchReadTokenRequest = 0; +api.FetchReadTokenRequest buildFetchReadTokenRequest() { + final o = api.FetchReadTokenRequest(); + buildCounterFetchReadTokenRequest++; + if (buildCounterFetchReadTokenRequest < 3) {} + buildCounterFetchReadTokenRequest--; + return o; +} + +void checkFetchReadTokenRequest(api.FetchReadTokenRequest o) { + buildCounterFetchReadTokenRequest++; + if (buildCounterFetchReadTokenRequest < 3) {} + buildCounterFetchReadTokenRequest--; +} + +core.int buildCounterFetchReadTokenResponse = 0; +api.FetchReadTokenResponse buildFetchReadTokenResponse() { + final o = api.FetchReadTokenResponse(); + buildCounterFetchReadTokenResponse++; + if (buildCounterFetchReadTokenResponse < 3) { + o.expirationTime = 'foo'; + o.gitUsername = 'foo'; + o.token = 'foo'; + } + buildCounterFetchReadTokenResponse--; + return o; +} + +void checkFetchReadTokenResponse(api.FetchReadTokenResponse o) { + buildCounterFetchReadTokenResponse++; + if (buildCounterFetchReadTokenResponse < 3) { + unittest.expect( + o.expirationTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.gitUsername!, + unittest.equals('foo'), + ); + unittest.expect( + o.token!, + unittest.equals('foo'), + ); + } + buildCounterFetchReadTokenResponse--; +} + +core.int buildCounterFetchReadWriteTokenRequest = 0; +api.FetchReadWriteTokenRequest buildFetchReadWriteTokenRequest() { + final o = api.FetchReadWriteTokenRequest(); + buildCounterFetchReadWriteTokenRequest++; + if (buildCounterFetchReadWriteTokenRequest < 3) {} + buildCounterFetchReadWriteTokenRequest--; + return o; +} + +void checkFetchReadWriteTokenRequest(api.FetchReadWriteTokenRequest o) { + buildCounterFetchReadWriteTokenRequest++; + if (buildCounterFetchReadWriteTokenRequest < 3) {} + buildCounterFetchReadWriteTokenRequest--; +} + +core.int buildCounterFetchReadWriteTokenResponse = 0; +api.FetchReadWriteTokenResponse buildFetchReadWriteTokenResponse() { + final o = api.FetchReadWriteTokenResponse(); + buildCounterFetchReadWriteTokenResponse++; + if (buildCounterFetchReadWriteTokenResponse < 3) { + o.expirationTime = 'foo'; + o.gitUsername = 'foo'; + o.token = 'foo'; + } + buildCounterFetchReadWriteTokenResponse--; + return o; +} + +void checkFetchReadWriteTokenResponse(api.FetchReadWriteTokenResponse o) { + buildCounterFetchReadWriteTokenResponse++; + if (buildCounterFetchReadWriteTokenResponse < 3) { + unittest.expect( + o.expirationTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.gitUsername!, + unittest.equals('foo'), + ); + unittest.expect( + o.token!, + unittest.equals('foo'), + ); + } + buildCounterFetchReadWriteTokenResponse--; +} + +core.int buildCounterGitHubConfig = 0; +api.GitHubConfig buildGitHubConfig() { + final o = api.GitHubConfig(); + buildCounterGitHubConfig++; + if (buildCounterGitHubConfig < 3) { + o.appInstallationId = 'foo'; + o.authorizerCredential = buildOAuthCredential(); + o.githubApp = 'foo'; + o.installationUri = 'foo'; + } + buildCounterGitHubConfig--; + return o; +} + +void checkGitHubConfig(api.GitHubConfig o) { + buildCounterGitHubConfig++; + if (buildCounterGitHubConfig < 3) { + unittest.expect( + o.appInstallationId!, + unittest.equals('foo'), + ); + checkOAuthCredential(o.authorizerCredential!); + unittest.expect( + o.githubApp!, + unittest.equals('foo'), + ); + unittest.expect( + o.installationUri!, + unittest.equals('foo'), + ); + } + buildCounterGitHubConfig--; +} + +core.Map buildUnnamed5() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed5(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.Map buildUnnamed6() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed6(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 buildCounterGitRepositoryLink = 0; +api.GitRepositoryLink buildGitRepositoryLink() { + final o = api.GitRepositoryLink(); + buildCounterGitRepositoryLink++; + if (buildCounterGitRepositoryLink < 3) { + o.annotations = buildUnnamed5(); + o.cloneUri = 'foo'; + o.createTime = 'foo'; + o.deleteTime = 'foo'; + o.etag = 'foo'; + o.labels = buildUnnamed6(); + o.name = 'foo'; + o.reconciling = true; + o.uid = 'foo'; + o.updateTime = 'foo'; + } + buildCounterGitRepositoryLink--; + return o; +} + +void checkGitRepositoryLink(api.GitRepositoryLink o) { + buildCounterGitRepositoryLink++; + if (buildCounterGitRepositoryLink < 3) { + checkUnnamed5(o.annotations!); + unittest.expect( + o.cloneUri!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.deleteTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.etag!, + unittest.equals('foo'), + ); + checkUnnamed6(o.labels!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect(o.reconciling!, unittest.isTrue); + unittest.expect( + o.uid!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterGitRepositoryLink--; +} + +core.int buildCounterInstallation = 0; +api.Installation buildInstallation() { + final o = api.Installation(); + buildCounterInstallation++; + if (buildCounterInstallation < 3) { + o.id = 'foo'; + o.name = 'foo'; + o.type = 'foo'; + } + buildCounterInstallation--; + return o; +} + +void checkInstallation(api.Installation o) { + buildCounterInstallation++; + if (buildCounterInstallation < 3) { + unittest.expect( + o.id!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + } + buildCounterInstallation--; +} + +core.int buildCounterInstallationState = 0; +api.InstallationState buildInstallationState() { + final o = api.InstallationState(); + buildCounterInstallationState++; + if (buildCounterInstallationState < 3) { + o.actionUri = 'foo'; + o.message = 'foo'; + o.stage = 'foo'; + } + buildCounterInstallationState--; + return o; +} + +void checkInstallationState(api.InstallationState o) { + buildCounterInstallationState++; + if (buildCounterInstallationState < 3) { + unittest.expect( + o.actionUri!, + unittest.equals('foo'), + ); + unittest.expect( + o.message!, + unittest.equals('foo'), + ); + unittest.expect( + o.stage!, + unittest.equals('foo'), + ); + } + buildCounterInstallationState--; +} + +core.int buildCounterLinkableGitRepository = 0; +api.LinkableGitRepository buildLinkableGitRepository() { + final o = api.LinkableGitRepository(); + buildCounterLinkableGitRepository++; + if (buildCounterLinkableGitRepository < 3) { + o.cloneUri = 'foo'; + } + buildCounterLinkableGitRepository--; + return o; +} + +void checkLinkableGitRepository(api.LinkableGitRepository o) { + buildCounterLinkableGitRepository++; + if (buildCounterLinkableGitRepository < 3) { + unittest.expect( + o.cloneUri!, + unittest.equals('foo'), + ); + } + buildCounterLinkableGitRepository--; +} + +core.List buildUnnamed7() => [ + buildConnection(), + buildConnection(), + ]; + +void checkUnnamed7(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkConnection(o[0]); + checkConnection(o[1]); +} + +core.List buildUnnamed8() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed8(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 buildCounterListConnectionsResponse = 0; +api.ListConnectionsResponse buildListConnectionsResponse() { + final o = api.ListConnectionsResponse(); + buildCounterListConnectionsResponse++; + if (buildCounterListConnectionsResponse < 3) { + o.connections = buildUnnamed7(); + o.nextPageToken = 'foo'; + o.unreachable = buildUnnamed8(); + } + buildCounterListConnectionsResponse--; + return o; +} + +void checkListConnectionsResponse(api.ListConnectionsResponse o) { + buildCounterListConnectionsResponse++; + if (buildCounterListConnectionsResponse < 3) { + checkUnnamed7(o.connections!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed8(o.unreachable!); + } + buildCounterListConnectionsResponse--; +} + +core.List buildUnnamed9() => [ + buildGitRepositoryLink(), + buildGitRepositoryLink(), + ]; + +void checkUnnamed9(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGitRepositoryLink(o[0]); + checkGitRepositoryLink(o[1]); +} + +core.List buildUnnamed10() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed10(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 buildCounterListGitRepositoryLinksResponse = 0; +api.ListGitRepositoryLinksResponse buildListGitRepositoryLinksResponse() { + final o = api.ListGitRepositoryLinksResponse(); + buildCounterListGitRepositoryLinksResponse++; + if (buildCounterListGitRepositoryLinksResponse < 3) { + o.gitRepositoryLinks = buildUnnamed9(); + o.nextPageToken = 'foo'; + o.unreachable = buildUnnamed10(); + } + buildCounterListGitRepositoryLinksResponse--; + return o; +} + +void checkListGitRepositoryLinksResponse(api.ListGitRepositoryLinksResponse o) { + buildCounterListGitRepositoryLinksResponse++; + if (buildCounterListGitRepositoryLinksResponse < 3) { + checkUnnamed9(o.gitRepositoryLinks!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed10(o.unreachable!); + } + buildCounterListGitRepositoryLinksResponse--; +} + +core.List buildUnnamed11() => [ + buildLocation(), + buildLocation(), + ]; + +void checkUnnamed11(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkLocation(o[0]); + checkLocation(o[1]); +} + +core.int buildCounterListLocationsResponse = 0; +api.ListLocationsResponse buildListLocationsResponse() { + final o = api.ListLocationsResponse(); + buildCounterListLocationsResponse++; + if (buildCounterListLocationsResponse < 3) { + o.locations = buildUnnamed11(); + o.nextPageToken = 'foo'; + } + buildCounterListLocationsResponse--; + return o; +} + +void checkListLocationsResponse(api.ListLocationsResponse o) { + buildCounterListLocationsResponse++; + if (buildCounterListLocationsResponse < 3) { + checkUnnamed11(o.locations!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterListLocationsResponse--; +} + +core.List buildUnnamed12() => [ + buildOperation(), + buildOperation(), + ]; + +void checkUnnamed12(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkOperation(o[0]); + checkOperation(o[1]); +} + +core.int buildCounterListOperationsResponse = 0; +api.ListOperationsResponse buildListOperationsResponse() { + final o = api.ListOperationsResponse(); + buildCounterListOperationsResponse++; + if (buildCounterListOperationsResponse < 3) { + o.nextPageToken = 'foo'; + o.operations = buildUnnamed12(); + } + buildCounterListOperationsResponse--; + return o; +} + +void checkListOperationsResponse(api.ListOperationsResponse o) { + buildCounterListOperationsResponse++; + if (buildCounterListOperationsResponse < 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed12(o.operations!); + } + buildCounterListOperationsResponse--; +} + +core.Map buildUnnamed13() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed13(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o['x']!, + unittest.equals('foo'), + ); + unittest.expect( + o['y']!, + unittest.equals('foo'), + ); +} + +core.Map buildUnnamed14() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed14(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 buildCounterLocation = 0; +api.Location buildLocation() { + final o = api.Location(); + buildCounterLocation++; + if (buildCounterLocation < 3) { + o.displayName = 'foo'; + o.labels = buildUnnamed13(); + o.locationId = 'foo'; + o.metadata = buildUnnamed14(); + o.name = 'foo'; + } + buildCounterLocation--; + return o; +} + +void checkLocation(api.Location o) { + buildCounterLocation++; + if (buildCounterLocation < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + checkUnnamed13(o.labels!); + unittest.expect( + o.locationId!, + unittest.equals('foo'), + ); + checkUnnamed14(o.metadata!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterLocation--; +} + +core.int buildCounterOAuthCredential = 0; +api.OAuthCredential buildOAuthCredential() { + final o = api.OAuthCredential(); + buildCounterOAuthCredential++; + if (buildCounterOAuthCredential < 3) { + o.oauthTokenSecretVersion = 'foo'; + o.username = 'foo'; + } + buildCounterOAuthCredential--; + return o; +} + +void checkOAuthCredential(api.OAuthCredential o) { + buildCounterOAuthCredential++; + if (buildCounterOAuthCredential < 3) { + unittest.expect( + o.oauthTokenSecretVersion!, + unittest.equals('foo'), + ); + unittest.expect( + o.username!, + unittest.equals('foo'), + ); + } + buildCounterOAuthCredential--; +} + +core.Map buildUnnamed15() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed15(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.Map buildUnnamed16() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed16(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted5 = (o['x']!) as core.Map; + unittest.expect(casted5, unittest.hasLength(3)); + unittest.expect( + casted5['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted5['bool'], + unittest.equals(true), + ); + unittest.expect( + casted5['string'], + unittest.equals('foo'), + ); + var casted6 = (o['y']!) as core.Map; + unittest.expect(casted6, unittest.hasLength(3)); + unittest.expect( + casted6['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted6['bool'], + unittest.equals(true), + ); + unittest.expect( + casted6['string'], + unittest.equals('foo'), + ); +} + +core.int buildCounterOperation = 0; +api.Operation buildOperation() { + final o = api.Operation(); + buildCounterOperation++; + if (buildCounterOperation < 3) { + o.done = true; + o.error = buildStatus(); + o.metadata = buildUnnamed15(); + o.name = 'foo'; + o.response = buildUnnamed16(); + } + buildCounterOperation--; + return o; +} + +void checkOperation(api.Operation o) { + buildCounterOperation++; + if (buildCounterOperation < 3) { + unittest.expect(o.done!, unittest.isTrue); + checkStatus(o.error!); + checkUnnamed15(o.metadata!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed16(o.response!); + } + buildCounterOperation--; +} + +core.Map buildUnnamed17() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed17(core.Map o) { + unittest.expect(o, unittest.hasLength(2)); + var casted7 = (o['x']!) as core.Map; + unittest.expect(casted7, unittest.hasLength(3)); + unittest.expect( + casted7['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted7['bool'], + unittest.equals(true), + ); + unittest.expect( + casted7['string'], + unittest.equals('foo'), + ); + var casted8 = (o['y']!) as core.Map; + unittest.expect(casted8, unittest.hasLength(3)); + unittest.expect( + casted8['list'], + unittest.equals([1, 2, 3]), + ); + unittest.expect( + casted8['bool'], + unittest.equals(true), + ); + unittest.expect( + casted8['string'], + unittest.equals('foo'), + ); +} + +core.List> buildUnnamed18() => [ + buildUnnamed17(), + buildUnnamed17(), + ]; + +void checkUnnamed18(core.List> o) { + unittest.expect(o, unittest.hasLength(2)); + checkUnnamed17(o[0]); + checkUnnamed17(o[1]); +} + +core.int buildCounterStatus = 0; +api.Status buildStatus() { + final o = api.Status(); + buildCounterStatus++; + if (buildCounterStatus < 3) { + o.code = 42; + o.details = buildUnnamed18(); + o.message = 'foo'; + } + buildCounterStatus--; + return o; +} + +void checkStatus(api.Status o) { + buildCounterStatus++; + if (buildCounterStatus < 3) { + unittest.expect( + o.code!, + unittest.equals(42), + ); + checkUnnamed18(o.details!); + unittest.expect( + o.message!, + unittest.equals('foo'), + ); + } + buildCounterStatus--; +} + +void main() { + unittest.group('obj-schema-CancelOperationRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildCancelOperationRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.CancelOperationRequest.fromJson( + oJson as core.Map); + checkCancelOperationRequest(od); + }); + }); + + unittest.group('obj-schema-Connection', () { + unittest.test('to-json--from-json', () async { + final o = buildConnection(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Connection.fromJson(oJson as core.Map); + checkConnection(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-FetchGitHubInstallationsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildFetchGitHubInstallationsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.FetchGitHubInstallationsResponse.fromJson( + oJson as core.Map); + checkFetchGitHubInstallationsResponse(od); + }); + }); + + unittest.group('obj-schema-FetchGitRefsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildFetchGitRefsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.FetchGitRefsResponse.fromJson( + oJson as core.Map); + checkFetchGitRefsResponse(od); + }); + }); + + unittest.group('obj-schema-FetchLinkableGitRepositoriesResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildFetchLinkableGitRepositoriesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.FetchLinkableGitRepositoriesResponse.fromJson( + oJson as core.Map); + checkFetchLinkableGitRepositoriesResponse(od); + }); + }); + + unittest.group('obj-schema-FetchReadTokenRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildFetchReadTokenRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.FetchReadTokenRequest.fromJson( + oJson as core.Map); + checkFetchReadTokenRequest(od); + }); + }); + + unittest.group('obj-schema-FetchReadTokenResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildFetchReadTokenResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.FetchReadTokenResponse.fromJson( + oJson as core.Map); + checkFetchReadTokenResponse(od); + }); + }); + + unittest.group('obj-schema-FetchReadWriteTokenRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildFetchReadWriteTokenRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.FetchReadWriteTokenRequest.fromJson( + oJson as core.Map); + checkFetchReadWriteTokenRequest(od); + }); + }); + + unittest.group('obj-schema-FetchReadWriteTokenResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildFetchReadWriteTokenResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.FetchReadWriteTokenResponse.fromJson( + oJson as core.Map); + checkFetchReadWriteTokenResponse(od); + }); + }); + + unittest.group('obj-schema-GitHubConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildGitHubConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GitHubConfig.fromJson( + oJson as core.Map); + checkGitHubConfig(od); + }); + }); + + unittest.group('obj-schema-GitRepositoryLink', () { + unittest.test('to-json--from-json', () async { + final o = buildGitRepositoryLink(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GitRepositoryLink.fromJson( + oJson as core.Map); + checkGitRepositoryLink(od); + }); + }); + + unittest.group('obj-schema-Installation', () { + unittest.test('to-json--from-json', () async { + final o = buildInstallation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.Installation.fromJson( + oJson as core.Map); + checkInstallation(od); + }); + }); + + unittest.group('obj-schema-InstallationState', () { + unittest.test('to-json--from-json', () async { + final o = buildInstallationState(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.InstallationState.fromJson( + oJson as core.Map); + checkInstallationState(od); + }); + }); + + unittest.group('obj-schema-LinkableGitRepository', () { + unittest.test('to-json--from-json', () async { + final o = buildLinkableGitRepository(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.LinkableGitRepository.fromJson( + oJson as core.Map); + checkLinkableGitRepository(od); + }); + }); + + unittest.group('obj-schema-ListConnectionsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListConnectionsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListConnectionsResponse.fromJson( + oJson as core.Map); + checkListConnectionsResponse(od); + }); + }); + + unittest.group('obj-schema-ListGitRepositoryLinksResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListGitRepositoryLinksResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListGitRepositoryLinksResponse.fromJson( + oJson as core.Map); + checkListGitRepositoryLinksResponse(od); + }); + }); + + unittest.group('obj-schema-ListLocationsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListLocationsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListLocationsResponse.fromJson( + oJson as core.Map); + checkListLocationsResponse(od); + }); + }); + + unittest.group('obj-schema-ListOperationsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildListOperationsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ListOperationsResponse.fromJson( + oJson as core.Map); + checkListOperationsResponse(od); + }); + }); + + unittest.group('obj-schema-Location', () { + unittest.test('to-json--from-json', () async { + final o = buildLocation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Location.fromJson(oJson as core.Map); + checkLocation(od); + }); + }); + + unittest.group('obj-schema-OAuthCredential', () { + unittest.test('to-json--from-json', () async { + final o = buildOAuthCredential(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.OAuthCredential.fromJson( + oJson as core.Map); + checkOAuthCredential(od); + }); + }); + + 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-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('resource-ProjectsLocationsResource', () { + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock).projects.locations; + 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(buildLocation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkLocation(response as api.Location); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock).projects.locations; + final arg_name = '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(buildListLocationsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_name, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkListLocationsResponse(response as api.ListLocationsResponse); + }); + }); + + unittest.group('resource-ProjectsLocationsConnectionsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock).projects.locations.connections; + final arg_request = buildConnection(); + final arg_parent = 'foo'; + final arg_connectionId = 'foo'; + final arg_requestId = 'foo'; + final arg_validateOnly = true; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.Connection.fromJson( + json as core.Map); + checkConnection(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['connectionId']!.first, + unittest.equals(arg_connectionId), + ); + unittest.expect( + queryMap['requestId']!.first, + unittest.equals(arg_requestId), + ); + unittest.expect( + queryMap['validateOnly']!.first, + unittest.equals('$arg_validateOnly'), + ); + 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.create(arg_request, arg_parent, + connectionId: arg_connectionId, + requestId: arg_requestId, + validateOnly: arg_validateOnly, + $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock).projects.locations.connections; + final arg_name = 'foo'; + final arg_etag = 'foo'; + final arg_requestId = 'foo'; + final arg_validateOnly = 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 + 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['etag']!.first, + unittest.equals(arg_etag), + ); + unittest.expect( + queryMap['requestId']!.first, + unittest.equals(arg_requestId), + ); + unittest.expect( + queryMap['validateOnly']!.first, + unittest.equals('$arg_validateOnly'), + ); + 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.delete(arg_name, + etag: arg_etag, + requestId: arg_requestId, + validateOnly: arg_validateOnly, + $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--fetchGitHubInstallations', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock).projects.locations.connections; + final arg_connection = '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(buildFetchGitHubInstallationsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.fetchGitHubInstallations(arg_connection, + $fields: arg_$fields); + checkFetchGitHubInstallationsResponse( + response as api.FetchGitHubInstallationsResponse); + }); + + unittest.test('method--fetchLinkableGitRepositories', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock).projects.locations.connections; + final arg_connection = '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(buildFetchLinkableGitRepositoriesResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.fetchLinkableGitRepositories(arg_connection, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkFetchLinkableGitRepositoriesResponse( + response as api.FetchLinkableGitRepositoriesResponse); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock).projects.locations.connections; + 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(buildConnection()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkConnection(response as api.Connection); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock).projects.locations.connections; + final arg_parent = 'foo'; + final arg_filter = 'foo'; + final arg_orderBy = '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( + queryMap['orderBy']!.first, + unittest.equals(arg_orderBy), + ); + 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(buildListConnectionsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + filter: arg_filter, + orderBy: arg_orderBy, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkListConnectionsResponse(response as api.ListConnectionsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock).projects.locations.connections; + final arg_request = buildConnection(); + final arg_name = 'foo'; + final arg_allowMissing = true; + final arg_requestId = 'foo'; + final arg_updateMask = 'foo'; + final arg_validateOnly = true; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.Connection.fromJson( + json as core.Map); + checkConnection(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['allowMissing']!.first, + unittest.equals('$arg_allowMissing'), + ); + unittest.expect( + queryMap['requestId']!.first, + unittest.equals(arg_requestId), + ); + unittest.expect( + queryMap['updateMask']!.first, + unittest.equals(arg_updateMask), + ); + unittest.expect( + queryMap['validateOnly']!.first, + unittest.equals('$arg_validateOnly'), + ); + 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.patch(arg_request, arg_name, + allowMissing: arg_allowMissing, + requestId: arg_requestId, + updateMask: arg_updateMask, + validateOnly: arg_validateOnly, + $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + }); + + unittest.group( + 'resource-ProjectsLocationsConnectionsGitRepositoryLinksResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock) + .projects + .locations + .connections + .gitRepositoryLinks; + final arg_request = buildGitRepositoryLink(); + final arg_parent = 'foo'; + final arg_gitRepositoryLinkId = 'foo'; + final arg_requestId = 'foo'; + final arg_validateOnly = true; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GitRepositoryLink.fromJson( + json as core.Map); + checkGitRepositoryLink(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['gitRepositoryLinkId']!.first, + unittest.equals(arg_gitRepositoryLinkId), + ); + unittest.expect( + queryMap['requestId']!.first, + unittest.equals(arg_requestId), + ); + unittest.expect( + queryMap['validateOnly']!.first, + unittest.equals('$arg_validateOnly'), + ); + 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.create(arg_request, arg_parent, + gitRepositoryLinkId: arg_gitRepositoryLinkId, + requestId: arg_requestId, + validateOnly: arg_validateOnly, + $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock) + .projects + .locations + .connections + .gitRepositoryLinks; + final arg_name = 'foo'; + final arg_etag = 'foo'; + final arg_requestId = 'foo'; + final arg_validateOnly = 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 + 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['etag']!.first, + unittest.equals(arg_etag), + ); + unittest.expect( + queryMap['requestId']!.first, + unittest.equals(arg_requestId), + ); + unittest.expect( + queryMap['validateOnly']!.first, + unittest.equals('$arg_validateOnly'), + ); + 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.delete(arg_name, + etag: arg_etag, + requestId: arg_requestId, + validateOnly: arg_validateOnly, + $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--fetchGitRefs', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock) + .projects + .locations + .connections + .gitRepositoryLinks; + final arg_gitRepositoryLink = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_refType = '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['refType']!.first, + unittest.equals(arg_refType), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildFetchGitRefsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.fetchGitRefs(arg_gitRepositoryLink, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + refType: arg_refType, + $fields: arg_$fields); + checkFetchGitRefsResponse(response as api.FetchGitRefsResponse); + }); + + unittest.test('method--fetchReadToken', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock) + .projects + .locations + .connections + .gitRepositoryLinks; + final arg_request = buildFetchReadTokenRequest(); + final arg_gitRepositoryLink = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.FetchReadTokenRequest.fromJson( + json as core.Map); + checkFetchReadTokenRequest(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(buildFetchReadTokenResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.fetchReadToken( + arg_request, arg_gitRepositoryLink, + $fields: arg_$fields); + checkFetchReadTokenResponse(response as api.FetchReadTokenResponse); + }); + + unittest.test('method--fetchReadWriteToken', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock) + .projects + .locations + .connections + .gitRepositoryLinks; + final arg_request = buildFetchReadWriteTokenRequest(); + final arg_gitRepositoryLink = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.FetchReadWriteTokenRequest.fromJson( + json as core.Map); + checkFetchReadWriteTokenRequest(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(buildFetchReadWriteTokenResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.fetchReadWriteToken( + arg_request, arg_gitRepositoryLink, + $fields: arg_$fields); + checkFetchReadWriteTokenResponse( + response as api.FetchReadWriteTokenResponse); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock) + .projects + .locations + .connections + .gitRepositoryLinks; + 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(buildGitRepositoryLink()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGitRepositoryLink(response as api.GitRepositoryLink); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock) + .projects + .locations + .connections + .gitRepositoryLinks; + final arg_parent = 'foo'; + final arg_filter = 'foo'; + final arg_orderBy = '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( + queryMap['orderBy']!.first, + unittest.equals(arg_orderBy), + ); + 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(buildListGitRepositoryLinksResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_parent, + filter: arg_filter, + orderBy: arg_orderBy, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkListGitRepositoryLinksResponse( + response as api.ListGitRepositoryLinksResponse); + }); + }); + + unittest.group('resource-ProjectsLocationsOperationsResource', () { + unittest.test('method--cancel', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock).projects.locations.operations; + final arg_request = buildCancelOperationRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.CancelOperationRequest.fromJson( + json as core.Map); + checkCancelOperationRequest(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.cancel(arg_request, arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock).projects.locations.operations; + 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(buildEmpty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkEmpty(response as api.Empty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock).projects.locations.operations; + 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(buildOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.DeveloperConnectApi(mock).projects.locations.operations; + final arg_name = '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(buildListOperationsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list(arg_name, + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkListOperationsResponse(response as api.ListOperationsResponse); + }); + }); +} diff --git a/generated/googleapis/test/dfareporting/v3_5_test.dart b/generated/googleapis/test/dfareporting/v3_5_test.dart index 5dfcf58dd..8b143647d 100644 --- a/generated/googleapis/test/dfareporting/v3_5_test.dart +++ b/generated/googleapis/test/dfareporting/v3_5_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/dfareporting/v4_test.dart b/generated/googleapis/test/dfareporting/v4_test.dart index 3780cce2f..3f2fa7634 100644 --- a/generated/googleapis/test/dfareporting/v4_test.dart +++ b/generated/googleapis/test/dfareporting/v4_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/dialogflow/v2_test.dart b/generated/googleapis/test/dialogflow/v2_test.dart index 534308d4f..6f1f2e45f 100644 --- a/generated/googleapis/test/dialogflow/v2_test.dart +++ b/generated/googleapis/test/dialogflow/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/dialogflow/v3_test.dart b/generated/googleapis/test/dialogflow/v3_test.dart index 537835751..5866052eb 100644 --- a/generated/googleapis/test/dialogflow/v3_test.dart +++ b/generated/googleapis/test/dialogflow/v3_test.dart @@ -1,6 +1,7 @@ // 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 @@ -64,7 +65,9 @@ api.GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings buildCounterGoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings++; if (buildCounterGoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings < 3) { o.enabled = true; + o.endpointingTimeoutDuration = 'foo'; o.finishDigit = 'foo'; + o.interdigitTimeoutDuration = 'foo'; o.maxDigits = 42; } buildCounterGoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings--; @@ -76,10 +79,18 @@ void checkGoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings( buildCounterGoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings++; if (buildCounterGoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings < 3) { unittest.expect(o.enabled!, unittest.isTrue); + unittest.expect( + o.endpointingTimeoutDuration!, + unittest.equals('foo'), + ); unittest.expect( o.finishDigit!, unittest.equals('foo'), ); + unittest.expect( + o.interdigitTimeoutDuration!, + unittest.equals('foo'), + ); unittest.expect( o.maxDigits!, unittest.equals(42), @@ -6776,6 +6787,7 @@ api.GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings o.audioFormat = 'foo'; o.enableAudioRedaction = true; o.gcsBucket = 'foo'; + o.storeTtsAudio = true; } buildCounterGoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings--; return o; @@ -6799,6 +6811,7 @@ void checkGoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings( o.gcsBucket!, unittest.equals('foo'), ); + unittest.expect(o.storeTtsAudio!, unittest.isTrue); } buildCounterGoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings--; } diff --git a/generated/googleapis/test/digitalassetlinks/v1_test.dart b/generated/googleapis/test/digitalassetlinks/v1_test.dart index f485f5ec9..391516a29 100644 --- a/generated/googleapis/test/digitalassetlinks/v1_test.dart +++ b/generated/googleapis/test/digitalassetlinks/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/discovery/v1_test.dart b/generated/googleapis/test/discovery/v1_test.dart index 5d844c943..cac1d4a13 100644 --- a/generated/googleapis/test/discovery/v1_test.dart +++ b/generated/googleapis/test/discovery/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/displayvideo/v2_test.dart b/generated/googleapis/test/displayvideo/v2_test.dart index c699a66a0..3dc6a1513 100644 --- a/generated/googleapis/test/displayvideo/v2_test.dart +++ b/generated/googleapis/test/displayvideo/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/displayvideo/v3_test.dart b/generated/googleapis/test/displayvideo/v3_test.dart index 29aa4cb63..313e0aa99 100644 --- a/generated/googleapis/test/displayvideo/v3_test.dart +++ b/generated/googleapis/test/displayvideo/v3_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/dlp/v2_test.dart b/generated/googleapis/test/dlp/v2_test.dart index c322e78e4..def756ecf 100644 --- a/generated/googleapis/test/dlp/v2_test.dart +++ b/generated/googleapis/test/dlp/v2_test.dart @@ -1,6 +1,7 @@ // 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 @@ -2073,6 +2074,8 @@ api.GooglePrivacyDlpV2DatabaseResourceReference final o = api.GooglePrivacyDlpV2DatabaseResourceReference(); buildCounterGooglePrivacyDlpV2DatabaseResourceReference++; if (buildCounterGooglePrivacyDlpV2DatabaseResourceReference < 3) { + o.database = 'foo'; + o.databaseResource = 'foo'; o.instance = 'foo'; o.projectId = 'foo'; } @@ -2084,6 +2087,14 @@ void checkGooglePrivacyDlpV2DatabaseResourceReference( api.GooglePrivacyDlpV2DatabaseResourceReference o) { buildCounterGooglePrivacyDlpV2DatabaseResourceReference++; if (buildCounterGooglePrivacyDlpV2DatabaseResourceReference < 3) { + unittest.expect( + o.database!, + unittest.equals('foo'), + ); + unittest.expect( + o.databaseResource!, + unittest.equals('foo'), + ); unittest.expect( o.instance!, unittest.equals('foo'), @@ -2786,6 +2797,7 @@ api.GooglePrivacyDlpV2DiscoveryBigQueryFilter buildCounterGooglePrivacyDlpV2DiscoveryBigQueryFilter++; if (buildCounterGooglePrivacyDlpV2DiscoveryBigQueryFilter < 3) { o.otherTables = buildGooglePrivacyDlpV2AllOtherBigQueryTables(); + o.tableReference = buildGooglePrivacyDlpV2TableReference(); o.tables = buildGooglePrivacyDlpV2BigQueryTableCollection(); } buildCounterGooglePrivacyDlpV2DiscoveryBigQueryFilter--; @@ -2797,6 +2809,7 @@ void checkGooglePrivacyDlpV2DiscoveryBigQueryFilter( buildCounterGooglePrivacyDlpV2DiscoveryBigQueryFilter++; if (buildCounterGooglePrivacyDlpV2DiscoveryBigQueryFilter < 3) { checkGooglePrivacyDlpV2AllOtherBigQueryTables(o.otherTables!); + checkGooglePrivacyDlpV2TableReference(o.tableReference!); checkGooglePrivacyDlpV2BigQueryTableCollection(o.tables!); } buildCounterGooglePrivacyDlpV2DiscoveryBigQueryFilter--; @@ -3169,6 +3182,7 @@ api.GooglePrivacyDlpV2DiscoveryTarget buildGooglePrivacyDlpV2DiscoveryTarget() { if (buildCounterGooglePrivacyDlpV2DiscoveryTarget < 3) { o.bigQueryTarget = buildGooglePrivacyDlpV2BigQueryDiscoveryTarget(); o.cloudSqlTarget = buildGooglePrivacyDlpV2CloudSqlDiscoveryTarget(); + o.secretsTarget = buildGooglePrivacyDlpV2SecretsDiscoveryTarget(); } buildCounterGooglePrivacyDlpV2DiscoveryTarget--; return o; @@ -3180,6 +3194,7 @@ void checkGooglePrivacyDlpV2DiscoveryTarget( if (buildCounterGooglePrivacyDlpV2DiscoveryTarget < 3) { checkGooglePrivacyDlpV2BigQueryDiscoveryTarget(o.bigQueryTarget!); checkGooglePrivacyDlpV2CloudSqlDiscoveryTarget(o.cloudSqlTarget!); + checkGooglePrivacyDlpV2SecretsDiscoveryTarget(o.secretsTarget!); } buildCounterGooglePrivacyDlpV2DiscoveryTarget--; } @@ -7480,6 +7495,23 @@ void checkGooglePrivacyDlpV2SecretManagerCredential( buildCounterGooglePrivacyDlpV2SecretManagerCredential--; } +core.int buildCounterGooglePrivacyDlpV2SecretsDiscoveryTarget = 0; +api.GooglePrivacyDlpV2SecretsDiscoveryTarget + buildGooglePrivacyDlpV2SecretsDiscoveryTarget() { + final o = api.GooglePrivacyDlpV2SecretsDiscoveryTarget(); + buildCounterGooglePrivacyDlpV2SecretsDiscoveryTarget++; + if (buildCounterGooglePrivacyDlpV2SecretsDiscoveryTarget < 3) {} + buildCounterGooglePrivacyDlpV2SecretsDiscoveryTarget--; + return o; +} + +void checkGooglePrivacyDlpV2SecretsDiscoveryTarget( + api.GooglePrivacyDlpV2SecretsDiscoveryTarget o) { + buildCounterGooglePrivacyDlpV2SecretsDiscoveryTarget++; + if (buildCounterGooglePrivacyDlpV2SecretsDiscoveryTarget < 3) {} + buildCounterGooglePrivacyDlpV2SecretsDiscoveryTarget--; +} + core.List buildUnnamed101() => [ buildGooglePrivacyDlpV2InfoType(), buildGooglePrivacyDlpV2InfoType(), @@ -8103,6 +8135,34 @@ void checkGooglePrivacyDlpV2TableOptions(api.GooglePrivacyDlpV2TableOptions o) { buildCounterGooglePrivacyDlpV2TableOptions--; } +core.int buildCounterGooglePrivacyDlpV2TableReference = 0; +api.GooglePrivacyDlpV2TableReference buildGooglePrivacyDlpV2TableReference() { + final o = api.GooglePrivacyDlpV2TableReference(); + buildCounterGooglePrivacyDlpV2TableReference++; + if (buildCounterGooglePrivacyDlpV2TableReference < 3) { + o.datasetId = 'foo'; + o.tableId = 'foo'; + } + buildCounterGooglePrivacyDlpV2TableReference--; + return o; +} + +void checkGooglePrivacyDlpV2TableReference( + api.GooglePrivacyDlpV2TableReference o) { + buildCounterGooglePrivacyDlpV2TableReference++; + if (buildCounterGooglePrivacyDlpV2TableReference < 3) { + unittest.expect( + o.datasetId!, + unittest.equals('foo'), + ); + unittest.expect( + o.tableId!, + unittest.equals('foo'), + ); + } + buildCounterGooglePrivacyDlpV2TableReference--; +} + core.int buildCounterGooglePrivacyDlpV2TaggedField = 0; api.GooglePrivacyDlpV2TaggedField buildGooglePrivacyDlpV2TaggedField() { final o = api.GooglePrivacyDlpV2TaggedField(); @@ -11223,6 +11283,16 @@ void main() { }); }); + unittest.group('obj-schema-GooglePrivacyDlpV2SecretsDiscoveryTarget', () { + unittest.test('to-json--from-json', () async { + final o = buildGooglePrivacyDlpV2SecretsDiscoveryTarget(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GooglePrivacyDlpV2SecretsDiscoveryTarget.fromJson( + oJson as core.Map); + checkGooglePrivacyDlpV2SecretsDiscoveryTarget(od); + }); + }); + unittest.group('obj-schema-GooglePrivacyDlpV2SelectedInfoTypes', () { unittest.test('to-json--from-json', () async { final o = buildGooglePrivacyDlpV2SelectedInfoTypes(); @@ -11383,6 +11453,16 @@ void main() { }); }); + unittest.group('obj-schema-GooglePrivacyDlpV2TableReference', () { + unittest.test('to-json--from-json', () async { + final o = buildGooglePrivacyDlpV2TableReference(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GooglePrivacyDlpV2TableReference.fromJson( + oJson as core.Map); + checkGooglePrivacyDlpV2TableReference(od); + }); + }); + unittest.group('obj-schema-GooglePrivacyDlpV2TaggedField', () { unittest.test('to-json--from-json', () async { final o = buildGooglePrivacyDlpV2TaggedField(); diff --git a/generated/googleapis/test/dns/v1_test.dart b/generated/googleapis/test/dns/v1_test.dart index 87fcd82cf..f847449d6 100644 --- a/generated/googleapis/test/dns/v1_test.dart +++ b/generated/googleapis/test/dns/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/docs/v1_test.dart b/generated/googleapis/test/docs/v1_test.dart index fa83f0ce6..065949c1c 100644 --- a/generated/googleapis/test/docs/v1_test.dart +++ b/generated/googleapis/test/docs/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/documentai/v1_test.dart b/generated/googleapis/test/documentai/v1_test.dart index 00710f1d2..1fb24829e 100644 --- a/generated/googleapis/test/documentai/v1_test.dart +++ b/generated/googleapis/test/documentai/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/domains/v1_test.dart b/generated/googleapis/test/domains/v1_test.dart index e23969ae4..b9fc9c5ff 100644 --- a/generated/googleapis/test/domains/v1_test.dart +++ b/generated/googleapis/test/domains/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/domainsrdap/v1_test.dart b/generated/googleapis/test/domainsrdap/v1_test.dart index 01943e934..237a5e02a 100644 --- a/generated/googleapis/test/domainsrdap/v1_test.dart +++ b/generated/googleapis/test/domainsrdap/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/doubleclickbidmanager/v2_test.dart b/generated/googleapis/test/doubleclickbidmanager/v2_test.dart index 23831e433..90b4e66a9 100644 --- a/generated/googleapis/test/doubleclickbidmanager/v2_test.dart +++ b/generated/googleapis/test/doubleclickbidmanager/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/doubleclicksearch/v2_test.dart b/generated/googleapis/test/doubleclicksearch/v2_test.dart index ecae3a125..18fc6ac5d 100644 --- a/generated/googleapis/test/doubleclicksearch/v2_test.dart +++ b/generated/googleapis/test/doubleclicksearch/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/drive/v2_test.dart b/generated/googleapis/test/drive/v2_test.dart index f6192476b..1cf9b2794 100644 --- a/generated/googleapis/test/drive/v2_test.dart +++ b/generated/googleapis/test/drive/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/drive/v3_test.dart b/generated/googleapis/test/drive/v3_test.dart index ac0c7bec9..a678d3a58 100644 --- a/generated/googleapis/test/drive/v3_test.dart +++ b/generated/googleapis/test/drive/v3_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/driveactivity/v2_test.dart b/generated/googleapis/test/driveactivity/v2_test.dart index 7b2b4611e..24b3de35f 100644 --- a/generated/googleapis/test/driveactivity/v2_test.dart +++ b/generated/googleapis/test/driveactivity/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/drivelabels/v2_test.dart b/generated/googleapis/test/drivelabels/v2_test.dart index 50dcde752..d89583f6f 100644 --- a/generated/googleapis/test/drivelabels/v2_test.dart +++ b/generated/googleapis/test/drivelabels/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/essentialcontacts/v1_test.dart b/generated/googleapis/test/essentialcontacts/v1_test.dart index c3dc2737f..86ac3753d 100644 --- a/generated/googleapis/test/essentialcontacts/v1_test.dart +++ b/generated/googleapis/test/essentialcontacts/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/eventarc/v1_test.dart b/generated/googleapis/test/eventarc/v1_test.dart index c221d07fb..9281099fc 100644 --- a/generated/googleapis/test/eventarc/v1_test.dart +++ b/generated/googleapis/test/eventarc/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/fcm/v1_test.dart b/generated/googleapis/test/fcm/v1_test.dart index eaa27f177..b7c53136d 100644 --- a/generated/googleapis/test/fcm/v1_test.dart +++ b/generated/googleapis/test/fcm/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/file/v1_test.dart b/generated/googleapis/test/file/v1_test.dart index a6887e970..34ef0773e 100644 --- a/generated/googleapis/test/file/v1_test.dart +++ b/generated/googleapis/test/file/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -263,6 +264,7 @@ api.Instance buildInstance() { o.labels = buildUnnamed3(); o.name = 'foo'; o.networks = buildUnnamed4(); + o.replication = buildReplication(); o.satisfiesPzi = true; o.satisfiesPzs = true; o.state = 'foo'; @@ -300,6 +302,7 @@ void checkInstance(api.Instance o) { unittest.equals('foo'), ); checkUnnamed4(o.networks!); + checkReplication(o.replication!); unittest.expect(o.satisfiesPzi!, unittest.isTrue); unittest.expect(o.satisfiesPzs!, unittest.isTrue); unittest.expect( @@ -876,6 +879,92 @@ void checkOperation(api.Operation o) { buildCounterOperation--; } +core.List buildUnnamed20() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed20(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 buildCounterReplicaConfig = 0; +api.ReplicaConfig buildReplicaConfig() { + final o = api.ReplicaConfig(); + buildCounterReplicaConfig++; + if (buildCounterReplicaConfig < 3) { + o.lastActiveSyncTime = 'foo'; + o.peerInstance = 'foo'; + o.state = 'foo'; + o.stateReasons = buildUnnamed20(); + } + buildCounterReplicaConfig--; + return o; +} + +void checkReplicaConfig(api.ReplicaConfig o) { + buildCounterReplicaConfig++; + if (buildCounterReplicaConfig < 3) { + unittest.expect( + o.lastActiveSyncTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.peerInstance!, + unittest.equals('foo'), + ); + unittest.expect( + o.state!, + unittest.equals('foo'), + ); + checkUnnamed20(o.stateReasons!); + } + buildCounterReplicaConfig--; +} + +core.List buildUnnamed21() => [ + buildReplicaConfig(), + buildReplicaConfig(), + ]; + +void checkUnnamed21(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkReplicaConfig(o[0]); + checkReplicaConfig(o[1]); +} + +core.int buildCounterReplication = 0; +api.Replication buildReplication() { + final o = api.Replication(); + buildCounterReplication++; + if (buildCounterReplication < 3) { + o.replicas = buildUnnamed21(); + o.role = 'foo'; + } + buildCounterReplication--; + return o; +} + +void checkReplication(api.Replication o) { + buildCounterReplication++; + if (buildCounterReplication < 3) { + checkUnnamed21(o.replicas!); + unittest.expect( + o.role!, + unittest.equals('foo'), + ); + } + buildCounterReplication--; +} + core.int buildCounterRestoreInstanceRequest = 0; api.RestoreInstanceRequest buildRestoreInstanceRequest() { final o = api.RestoreInstanceRequest(); @@ -925,12 +1014,12 @@ void checkRevertInstanceRequest(api.RevertInstanceRequest o) { buildCounterRevertInstanceRequest--; } -core.Map buildUnnamed20() => { +core.Map buildUnnamed22() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed20(core.Map o) { +void checkUnnamed22(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -950,7 +1039,7 @@ api.Snapshot buildSnapshot() { o.createTime = 'foo'; o.description = 'foo'; o.filesystemUsedBytes = 'foo'; - o.labels = buildUnnamed20(); + o.labels = buildUnnamed22(); o.name = 'foo'; o.state = 'foo'; } @@ -973,7 +1062,7 @@ void checkSnapshot(api.Snapshot o) { o.filesystemUsedBytes!, unittest.equals('foo'), ); - checkUnnamed20(o.labels!); + checkUnnamed22(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -986,7 +1075,7 @@ void checkSnapshot(api.Snapshot o) { buildCounterSnapshot--; } -core.Map buildUnnamed21() => { +core.Map buildUnnamed23() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -999,7 +1088,7 @@ core.Map buildUnnamed21() => { }, }; -void checkUnnamed21(core.Map o) { +void checkUnnamed23(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1031,15 +1120,15 @@ void checkUnnamed21(core.Map o) { ); } -core.List> buildUnnamed22() => [ - buildUnnamed21(), - buildUnnamed21(), +core.List> buildUnnamed24() => [ + buildUnnamed23(), + buildUnnamed23(), ]; -void checkUnnamed22(core.List> o) { +void checkUnnamed24(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed21(o[0]); - checkUnnamed21(o[1]); + checkUnnamed23(o[0]); + checkUnnamed23(o[1]); } core.int buildCounterStatus = 0; @@ -1048,7 +1137,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed22(); + o.details = buildUnnamed24(); o.message = 'foo'; } buildCounterStatus--; @@ -1062,7 +1151,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed22(o.details!); + checkUnnamed24(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1212,6 +1301,26 @@ void main() { }); }); + unittest.group('obj-schema-ReplicaConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildReplicaConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ReplicaConfig.fromJson( + oJson as core.Map); + checkReplicaConfig(od); + }); + }); + + unittest.group('obj-schema-Replication', () { + unittest.test('to-json--from-json', () async { + final o = buildReplication(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.Replication.fromJson( + oJson as core.Map); + checkReplication(od); + }); + }); + unittest.group('obj-schema-RestoreInstanceRequest', () { unittest.test('to-json--from-json', () async { final o = buildRestoreInstanceRequest(); diff --git a/generated/googleapis/test/firebaseappcheck/v1_test.dart b/generated/googleapis/test/firebaseappcheck/v1_test.dart index bcf05882a..6c9db36c0 100644 --- a/generated/googleapis/test/firebaseappcheck/v1_test.dart +++ b/generated/googleapis/test/firebaseappcheck/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -1800,6 +1801,259 @@ void main() { }); }); + unittest.group('resource-OauthClientsResource', () { + unittest.test('method--exchangeAppAttestAssertion', () async { + final mock = HttpServerMock(); + final res = api.FirebaseappcheckApi(mock).oauthClients; + final arg_request = + buildGoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest(); + final arg_app = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest + .fromJson(json as core.Map); + checkGoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest(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(buildGoogleFirebaseAppcheckV1AppCheckToken()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.exchangeAppAttestAssertion( + arg_request, arg_app, + $fields: arg_$fields); + checkGoogleFirebaseAppcheckV1AppCheckToken( + response as api.GoogleFirebaseAppcheckV1AppCheckToken); + }); + + unittest.test('method--exchangeAppAttestAttestation', () async { + final mock = HttpServerMock(); + final res = api.FirebaseappcheckApi(mock).oauthClients; + final arg_request = + buildGoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest(); + final arg_app = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest + .fromJson(json as core.Map); + checkGoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest(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( + buildGoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.exchangeAppAttestAttestation( + arg_request, arg_app, + $fields: arg_$fields); + checkGoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse(response + as api.GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse); + }); + + unittest.test('method--exchangeDebugToken', () async { + final mock = HttpServerMock(); + final res = api.FirebaseappcheckApi(mock).oauthClients; + final arg_request = + buildGoogleFirebaseAppcheckV1ExchangeDebugTokenRequest(); + final arg_app = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest.fromJson( + json as core.Map); + checkGoogleFirebaseAppcheckV1ExchangeDebugTokenRequest(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(buildGoogleFirebaseAppcheckV1AppCheckToken()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.exchangeDebugToken(arg_request, arg_app, + $fields: arg_$fields); + checkGoogleFirebaseAppcheckV1AppCheckToken( + response as api.GoogleFirebaseAppcheckV1AppCheckToken); + }); + + unittest.test('method--generateAppAttestChallenge', () async { + final mock = HttpServerMock(); + final res = api.FirebaseappcheckApi(mock).oauthClients; + final arg_request = + buildGoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest(); + final arg_app = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest + .fromJson(json as core.Map); + checkGoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest(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( + buildGoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.generateAppAttestChallenge( + arg_request, arg_app, + $fields: arg_$fields); + checkGoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse(response + as api.GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse); + }); + }); + unittest.group('resource-ProjectsAppsResource', () { unittest.test('method--exchangeAppAttestAssertion', () async { final mock = HttpServerMock(); diff --git a/generated/googleapis/test/firebaseappdistribution/v1_test.dart b/generated/googleapis/test/firebaseappdistribution/v1_test.dart index de58a3a85..2bcc0e4dd 100644 --- a/generated/googleapis/test/firebaseappdistribution/v1_test.dart +++ b/generated/googleapis/test/firebaseappdistribution/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/firebasedynamiclinks/v1_test.dart b/generated/googleapis/test/firebasedynamiclinks/v1_test.dart index 9634ccaca..03048f431 100644 --- a/generated/googleapis/test/firebasedynamiclinks/v1_test.dart +++ b/generated/googleapis/test/firebasedynamiclinks/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/firebasehosting/v1_test.dart b/generated/googleapis/test/firebasehosting/v1_test.dart index 9a46d583b..66248a6b7 100644 --- a/generated/googleapis/test/firebasehosting/v1_test.dart +++ b/generated/googleapis/test/firebasehosting/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/firebaseml/v1_test.dart b/generated/googleapis/test/firebaseml/v1_test.dart index d6bc5bd57..5e2b90187 100644 --- a/generated/googleapis/test/firebaseml/v1_test.dart +++ b/generated/googleapis/test/firebaseml/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/firebaseremoteconfig/v1_test.dart b/generated/googleapis/test/firebaseremoteconfig/v1_test.dart index 43bfb7dfb..be941903d 100644 --- a/generated/googleapis/test/firebaseremoteconfig/v1_test.dart +++ b/generated/googleapis/test/firebaseremoteconfig/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/firebaserules/v1_test.dart b/generated/googleapis/test/firebaserules/v1_test.dart index b925e037a..9fd138145 100644 --- a/generated/googleapis/test/firebaserules/v1_test.dart +++ b/generated/googleapis/test/firebaserules/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/firestore/v1_test.dart b/generated/googleapis/test/firestore/v1_test.dart index cad76be26..3e149bf46 100644 --- a/generated/googleapis/test/firestore/v1_test.dart +++ b/generated/googleapis/test/firestore/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -1073,7 +1074,9 @@ api.GoogleFirestoreAdminV1DailyRecurrence buildGoogleFirestoreAdminV1DailyRecurrence() { final o = api.GoogleFirestoreAdminV1DailyRecurrence(); buildCounterGoogleFirestoreAdminV1DailyRecurrence++; - if (buildCounterGoogleFirestoreAdminV1DailyRecurrence < 3) {} + if (buildCounterGoogleFirestoreAdminV1DailyRecurrence < 3) { + o.time = buildTimeOfDay(); + } buildCounterGoogleFirestoreAdminV1DailyRecurrence--; return o; } @@ -1081,7 +1084,9 @@ api.GoogleFirestoreAdminV1DailyRecurrence void checkGoogleFirestoreAdminV1DailyRecurrence( api.GoogleFirestoreAdminV1DailyRecurrence o) { buildCounterGoogleFirestoreAdminV1DailyRecurrence++; - if (buildCounterGoogleFirestoreAdminV1DailyRecurrence < 3) {} + if (buildCounterGoogleFirestoreAdminV1DailyRecurrence < 3) { + checkTimeOfDay(o.time!); + } buildCounterGoogleFirestoreAdminV1DailyRecurrence--; } @@ -1102,6 +1107,7 @@ api.GoogleFirestoreAdminV1Database buildGoogleFirestoreAdminV1Database() { o.locationId = 'foo'; o.name = 'foo'; o.pointInTimeRecoveryEnablement = 'foo'; + o.previousId = 'foo'; o.type = 'foo'; o.uid = 'foo'; o.updateTime = 'foo'; @@ -1159,6 +1165,10 @@ void checkGoogleFirestoreAdminV1Database(api.GoogleFirestoreAdminV1Database o) { o.pointInTimeRecoveryEnablement!, unittest.equals('foo'), ); + unittest.expect( + o.previousId!, + unittest.equals('foo'), + ); unittest.expect( o.type!, unittest.equals('foo'), @@ -1831,6 +1841,7 @@ api.GoogleFirestoreAdminV1WeeklyRecurrence buildCounterGoogleFirestoreAdminV1WeeklyRecurrence++; if (buildCounterGoogleFirestoreAdminV1WeeklyRecurrence < 3) { o.day = 'foo'; + o.time = buildTimeOfDay(); } buildCounterGoogleFirestoreAdminV1WeeklyRecurrence--; return o; @@ -1844,6 +1855,7 @@ void checkGoogleFirestoreAdminV1WeeklyRecurrence( o.day!, unittest.equals('foo'), ); + checkTimeOfDay(o.time!); } buildCounterGoogleFirestoreAdminV1WeeklyRecurrence--; } @@ -2975,6 +2987,43 @@ void checkSum(api.Sum o) { buildCounterSum--; } +core.int buildCounterTimeOfDay = 0; +api.TimeOfDay buildTimeOfDay() { + final o = api.TimeOfDay(); + buildCounterTimeOfDay++; + if (buildCounterTimeOfDay < 3) { + o.hours = 42; + o.minutes = 42; + o.nanos = 42; + o.seconds = 42; + } + buildCounterTimeOfDay--; + return o; +} + +void checkTimeOfDay(api.TimeOfDay o) { + buildCounterTimeOfDay++; + if (buildCounterTimeOfDay < 3) { + unittest.expect( + o.hours!, + unittest.equals(42), + ); + unittest.expect( + o.minutes!, + unittest.equals(42), + ); + unittest.expect( + o.nanos!, + unittest.equals(42), + ); + unittest.expect( + o.seconds!, + unittest.equals(42), + ); + } + buildCounterTimeOfDay--; +} + core.int buildCounterTransactionOptions = 0; api.TransactionOptions buildTransactionOptions() { final o = api.TransactionOptions(); @@ -4180,6 +4229,16 @@ void main() { }); }); + unittest.group('obj-schema-TimeOfDay', () { + unittest.test('to-json--from-json', () async { + final o = buildTimeOfDay(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.TimeOfDay.fromJson(oJson as core.Map); + checkTimeOfDay(od); + }); + }); + unittest.group('obj-schema-TransactionOptions', () { unittest.test('to-json--from-json', () async { final o = buildTransactionOptions(); diff --git a/generated/googleapis/test/fitness/v1_test.dart b/generated/googleapis/test/fitness/v1_test.dart index 8fc04de6f..83f2080f0 100644 --- a/generated/googleapis/test/fitness/v1_test.dart +++ b/generated/googleapis/test/fitness/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/forms/v1_test.dart b/generated/googleapis/test/forms/v1_test.dart index 58abefbf8..fc39b396a 100644 --- a/generated/googleapis/test/forms/v1_test.dart +++ b/generated/googleapis/test/forms/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/games/v1_test.dart b/generated/googleapis/test/games/v1_test.dart index 46338a18f..048c94747 100644 --- a/generated/googleapis/test/games/v1_test.dart +++ b/generated/googleapis/test/games/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart index 6457161ea..84a879778 100644 --- a/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart +++ b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/gamesmanagement/v1management_test.dart b/generated/googleapis/test/gamesmanagement/v1management_test.dart index 62c03a1a4..ef3a9f6eb 100644 --- a/generated/googleapis/test/gamesmanagement/v1management_test.dart +++ b/generated/googleapis/test/gamesmanagement/v1management_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/gkebackup/v1_test.dart b/generated/googleapis/test/gkebackup/v1_test.dart index 08aa76eb6..fdbc878f3 100644 --- a/generated/googleapis/test/gkebackup/v1_test.dart +++ b/generated/googleapis/test/gkebackup/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -137,6 +138,7 @@ api.Backup buildBackup() { o.labels = buildUnnamed2(); o.manual = true; o.name = 'foo'; + o.permissiveMode = true; o.podCount = 42; o.resourceCount = 42; o.retainDays = 42; @@ -196,6 +198,7 @@ void checkBackup(api.Backup o) { o.name!, unittest.equals('foo'), ); + unittest.expect(o.permissiveMode!, unittest.isTrue); unittest.expect( o.podCount!, unittest.equals(42), @@ -251,6 +254,7 @@ api.BackupConfig buildBackupConfig() { o.encryptionKey = buildEncryptionKey(); o.includeSecrets = true; o.includeVolumeData = true; + o.permissiveMode = true; o.selectedApplications = buildNamespacedNames(); o.selectedNamespaces = buildNamespaces(); } @@ -265,6 +269,7 @@ void checkBackupConfig(api.BackupConfig o) { checkEncryptionKey(o.encryptionKey!); unittest.expect(o.includeSecrets!, unittest.isTrue); unittest.expect(o.includeVolumeData!, unittest.isTrue); + unittest.expect(o.permissiveMode!, unittest.isTrue); checkNamespacedNames(o.selectedApplications!); checkNamespaces(o.selectedNamespaces!); } @@ -693,6 +698,49 @@ void checkExpr(api.Expr o) { buildCounterExpr--; } +core.List buildUnnamed9() => [ + buildResourceSelector(), + buildResourceSelector(), + ]; + +void checkUnnamed9(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkResourceSelector(o[0]); + checkResourceSelector(o[1]); +} + +core.List buildUnnamed10() => [ + buildResourceSelector(), + buildResourceSelector(), + ]; + +void checkUnnamed10(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkResourceSelector(o[0]); + checkResourceSelector(o[1]); +} + +core.int buildCounterFilter = 0; +api.Filter buildFilter() { + final o = api.Filter(); + buildCounterFilter++; + if (buildCounterFilter < 3) { + o.exclusionFilters = buildUnnamed9(); + o.inclusionFilters = buildUnnamed10(); + } + buildCounterFilter--; + return o; +} + +void checkFilter(api.Filter o) { + buildCounterFilter++; + if (buildCounterFilter < 3) { + checkUnnamed9(o.exclusionFilters!); + checkUnnamed10(o.inclusionFilters!); + } + buildCounterFilter--; +} + core.int buildCounterGetBackupIndexDownloadUrlResponse = 0; api.GetBackupIndexDownloadUrlResponse buildGetBackupIndexDownloadUrlResponse() { final o = api.GetBackupIndexDownloadUrlResponse(); @@ -733,12 +781,12 @@ void checkGoogleLongrunningCancelOperationRequest( buildCounterGoogleLongrunningCancelOperationRequest--; } -core.List buildUnnamed9() => [ +core.List buildUnnamed11() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed9(core.List o) { +void checkUnnamed11(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -751,7 +799,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed9(); + o.operations = buildUnnamed11(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -765,12 +813,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed9(o.operations!); + checkUnnamed11(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed10() => { +core.Map buildUnnamed12() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -783,7 +831,7 @@ core.Map buildUnnamed10() => { }, }; -void checkUnnamed10(core.Map o) { +void checkUnnamed12(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -815,7 +863,7 @@ void checkUnnamed10(core.Map o) { ); } -core.Map buildUnnamed11() => { +core.Map buildUnnamed13() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -828,7 +876,7 @@ core.Map buildUnnamed11() => { }, }; -void checkUnnamed11(core.Map o) { +void checkUnnamed13(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -867,9 +915,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed10(); + o.metadata = buildUnnamed12(); o.name = 'foo'; - o.response = buildUnnamed11(); + o.response = buildUnnamed13(); } buildCounterGoogleLongrunningOperation--; return o; @@ -880,17 +928,17 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed10(o.metadata!); + checkUnnamed12(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed11(o.response!); + checkUnnamed13(o.response!); } buildCounterGoogleLongrunningOperation--; } -core.Map buildUnnamed12() => { +core.Map buildUnnamed14() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -903,7 +951,7 @@ core.Map buildUnnamed12() => { }, }; -void checkUnnamed12(core.Map o) { +void checkUnnamed14(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -935,15 +983,15 @@ void checkUnnamed12(core.Map o) { ); } -core.List> buildUnnamed13() => [ - buildUnnamed12(), - buildUnnamed12(), +core.List> buildUnnamed15() => [ + buildUnnamed14(), + buildUnnamed14(), ]; -void checkUnnamed13(core.List> o) { +void checkUnnamed15(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed12(o[0]); - checkUnnamed12(o[1]); + checkUnnamed14(o[0]); + checkUnnamed14(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -952,7 +1000,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed13(); + o.details = buildUnnamed15(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -966,7 +1014,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed13(o.details!); + checkUnnamed15(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1002,23 +1050,44 @@ void checkGroupKind(api.GroupKind o) { buildCounterGroupKind--; } -core.List buildUnnamed14() => [ +core.int buildCounterGroupKindDependency = 0; +api.GroupKindDependency buildGroupKindDependency() { + final o = api.GroupKindDependency(); + buildCounterGroupKindDependency++; + if (buildCounterGroupKindDependency < 3) { + o.requiring = buildGroupKind(); + o.satisfying = buildGroupKind(); + } + buildCounterGroupKindDependency--; + return o; +} + +void checkGroupKindDependency(api.GroupKindDependency o) { + buildCounterGroupKindDependency++; + if (buildCounterGroupKindDependency < 3) { + checkGroupKind(o.requiring!); + checkGroupKind(o.satisfying!); + } + buildCounterGroupKindDependency--; +} + +core.List buildUnnamed16() => [ buildBackupPlan(), buildBackupPlan(), ]; -void checkUnnamed14(core.List o) { +void checkUnnamed16(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackupPlan(o[0]); checkBackupPlan(o[1]); } -core.List buildUnnamed15() => [ +core.List buildUnnamed17() => [ 'foo', 'foo', ]; -void checkUnnamed15(core.List o) { +void checkUnnamed17(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1035,9 +1104,9 @@ api.ListBackupPlansResponse buildListBackupPlansResponse() { final o = api.ListBackupPlansResponse(); buildCounterListBackupPlansResponse++; if (buildCounterListBackupPlansResponse < 3) { - o.backupPlans = buildUnnamed14(); + o.backupPlans = buildUnnamed16(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed15(); + o.unreachable = buildUnnamed17(); } buildCounterListBackupPlansResponse--; return o; @@ -1046,22 +1115,22 @@ api.ListBackupPlansResponse buildListBackupPlansResponse() { void checkListBackupPlansResponse(api.ListBackupPlansResponse o) { buildCounterListBackupPlansResponse++; if (buildCounterListBackupPlansResponse < 3) { - checkUnnamed14(o.backupPlans!); + checkUnnamed16(o.backupPlans!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed15(o.unreachable!); + checkUnnamed17(o.unreachable!); } buildCounterListBackupPlansResponse--; } -core.List buildUnnamed16() => [ +core.List buildUnnamed18() => [ buildBackup(), buildBackup(), ]; -void checkUnnamed16(core.List o) { +void checkUnnamed18(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBackup(o[0]); checkBackup(o[1]); @@ -1072,7 +1141,7 @@ api.ListBackupsResponse buildListBackupsResponse() { final o = api.ListBackupsResponse(); buildCounterListBackupsResponse++; if (buildCounterListBackupsResponse < 3) { - o.backups = buildUnnamed16(); + o.backups = buildUnnamed18(); o.nextPageToken = 'foo'; } buildCounterListBackupsResponse--; @@ -1082,7 +1151,7 @@ api.ListBackupsResponse buildListBackupsResponse() { void checkListBackupsResponse(api.ListBackupsResponse o) { buildCounterListBackupsResponse++; if (buildCounterListBackupsResponse < 3) { - checkUnnamed16(o.backups!); + checkUnnamed18(o.backups!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1091,12 +1160,12 @@ void checkListBackupsResponse(api.ListBackupsResponse o) { buildCounterListBackupsResponse--; } -core.List buildUnnamed17() => [ +core.List buildUnnamed19() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed17(core.List o) { +void checkUnnamed19(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1107,7 +1176,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed17(); + o.locations = buildUnnamed19(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -1117,7 +1186,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed17(o.locations!); + checkUnnamed19(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1126,23 +1195,23 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed18() => [ +core.List buildUnnamed20() => [ buildRestorePlan(), buildRestorePlan(), ]; -void checkUnnamed18(core.List o) { +void checkUnnamed20(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRestorePlan(o[0]); checkRestorePlan(o[1]); } -core.List buildUnnamed19() => [ +core.List buildUnnamed21() => [ 'foo', 'foo', ]; -void checkUnnamed19(core.List o) { +void checkUnnamed21(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1160,8 +1229,8 @@ api.ListRestorePlansResponse buildListRestorePlansResponse() { buildCounterListRestorePlansResponse++; if (buildCounterListRestorePlansResponse < 3) { o.nextPageToken = 'foo'; - o.restorePlans = buildUnnamed18(); - o.unreachable = buildUnnamed19(); + o.restorePlans = buildUnnamed20(); + o.unreachable = buildUnnamed21(); } buildCounterListRestorePlansResponse--; return o; @@ -1174,29 +1243,29 @@ void checkListRestorePlansResponse(api.ListRestorePlansResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed18(o.restorePlans!); - checkUnnamed19(o.unreachable!); + checkUnnamed20(o.restorePlans!); + checkUnnamed21(o.unreachable!); } buildCounterListRestorePlansResponse--; } -core.List buildUnnamed20() => [ +core.List buildUnnamed22() => [ buildRestore(), buildRestore(), ]; -void checkUnnamed20(core.List o) { +void checkUnnamed22(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRestore(o[0]); checkRestore(o[1]); } -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], @@ -1214,8 +1283,8 @@ api.ListRestoresResponse buildListRestoresResponse() { buildCounterListRestoresResponse++; if (buildCounterListRestoresResponse < 3) { o.nextPageToken = 'foo'; - o.restores = buildUnnamed20(); - o.unreachable = buildUnnamed21(); + o.restores = buildUnnamed22(); + o.unreachable = buildUnnamed23(); } buildCounterListRestoresResponse--; return o; @@ -1228,18 +1297,18 @@ void checkListRestoresResponse(api.ListRestoresResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed20(o.restores!); - checkUnnamed21(o.unreachable!); + checkUnnamed22(o.restores!); + checkUnnamed23(o.unreachable!); } buildCounterListRestoresResponse--; } -core.List buildUnnamed22() => [ +core.List buildUnnamed24() => [ buildVolumeBackup(), buildVolumeBackup(), ]; -void checkUnnamed22(core.List o) { +void checkUnnamed24(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolumeBackup(o[0]); checkVolumeBackup(o[1]); @@ -1251,7 +1320,7 @@ api.ListVolumeBackupsResponse buildListVolumeBackupsResponse() { buildCounterListVolumeBackupsResponse++; if (buildCounterListVolumeBackupsResponse < 3) { o.nextPageToken = 'foo'; - o.volumeBackups = buildUnnamed22(); + o.volumeBackups = buildUnnamed24(); } buildCounterListVolumeBackupsResponse--; return o; @@ -1264,17 +1333,17 @@ void checkListVolumeBackupsResponse(api.ListVolumeBackupsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed22(o.volumeBackups!); + checkUnnamed24(o.volumeBackups!); } buildCounterListVolumeBackupsResponse--; } -core.List buildUnnamed23() => [ +core.List buildUnnamed25() => [ buildVolumeRestore(), buildVolumeRestore(), ]; -void checkUnnamed23(core.List o) { +void checkUnnamed25(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkVolumeRestore(o[0]); checkVolumeRestore(o[1]); @@ -1286,7 +1355,7 @@ api.ListVolumeRestoresResponse buildListVolumeRestoresResponse() { buildCounterListVolumeRestoresResponse++; if (buildCounterListVolumeRestoresResponse < 3) { o.nextPageToken = 'foo'; - o.volumeRestores = buildUnnamed23(); + o.volumeRestores = buildUnnamed25(); } buildCounterListVolumeRestoresResponse--; return o; @@ -1299,17 +1368,17 @@ void checkListVolumeRestoresResponse(api.ListVolumeRestoresResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed23(o.volumeRestores!); + checkUnnamed25(o.volumeRestores!); } buildCounterListVolumeRestoresResponse--; } -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']!, @@ -1321,7 +1390,7 @@ void checkUnnamed24(core.Map o) { ); } -core.Map buildUnnamed25() => { +core.Map buildUnnamed27() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1334,7 +1403,7 @@ core.Map buildUnnamed25() => { }, }; -void checkUnnamed25(core.Map o) { +void checkUnnamed27(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1372,9 +1441,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed24(); + o.labels = buildUnnamed26(); o.locationId = 'foo'; - o.metadata = buildUnnamed25(); + o.metadata = buildUnnamed27(); o.name = 'foo'; } buildCounterLocation--; @@ -1388,12 +1457,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed24(o.labels!); + checkUnnamed26(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed25(o.metadata!); + checkUnnamed27(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1429,12 +1498,12 @@ void checkNamespacedName(api.NamespacedName o) { buildCounterNamespacedName--; } -core.List buildUnnamed26() => [ +core.List buildUnnamed28() => [ buildNamespacedName(), buildNamespacedName(), ]; -void checkUnnamed26(core.List o) { +void checkUnnamed28(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNamespacedName(o[0]); checkNamespacedName(o[1]); @@ -1445,7 +1514,7 @@ api.NamespacedNames buildNamespacedNames() { final o = api.NamespacedNames(); buildCounterNamespacedNames++; if (buildCounterNamespacedNames < 3) { - o.namespacedNames = buildUnnamed26(); + o.namespacedNames = buildUnnamed28(); } buildCounterNamespacedNames--; return o; @@ -1454,17 +1523,17 @@ api.NamespacedNames buildNamespacedNames() { void checkNamespacedNames(api.NamespacedNames o) { buildCounterNamespacedNames++; if (buildCounterNamespacedNames < 3) { - checkUnnamed26(o.namespacedNames!); + checkUnnamed28(o.namespacedNames!); } buildCounterNamespacedNames--; } -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], @@ -1481,7 +1550,7 @@ api.Namespaces buildNamespaces() { final o = api.Namespaces(); buildCounterNamespaces++; if (buildCounterNamespaces < 3) { - o.namespaces = buildUnnamed27(); + o.namespaces = buildUnnamed29(); } buildCounterNamespaces--; return o; @@ -1490,28 +1559,28 @@ api.Namespaces buildNamespaces() { void checkNamespaces(api.Namespaces o) { buildCounterNamespaces++; if (buildCounterNamespaces < 3) { - checkUnnamed27(o.namespaces!); + checkUnnamed29(o.namespaces!); } buildCounterNamespaces--; } -core.List buildUnnamed28() => [ +core.List buildUnnamed30() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed28(core.List o) { +void checkUnnamed30(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed29() => [ +core.List buildUnnamed31() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed29(core.List o) { +void checkUnnamed31(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -1522,8 +1591,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed28(); - o.bindings = buildUnnamed29(); + o.auditConfigs = buildUnnamed30(); + o.bindings = buildUnnamed31(); o.etag = 'foo'; o.version = 42; } @@ -1534,8 +1603,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed28(o.auditConfigs!); - checkUnnamed29(o.bindings!); + checkUnnamed30(o.auditConfigs!); + checkUnnamed31(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -1548,23 +1617,23 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.List buildUnnamed30() => [ +core.List buildUnnamed32() => [ buildGroupKind(), buildGroupKind(), ]; -void checkUnnamed30(core.List o) { +void checkUnnamed32(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroupKind(o[0]); checkGroupKind(o[1]); } -core.List buildUnnamed31() => [ +core.List buildUnnamed33() => [ 'foo', 'foo', ]; -void checkUnnamed31(core.List o) { +void checkUnnamed33(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1581,9 +1650,9 @@ api.ResourceFilter buildResourceFilter() { final o = api.ResourceFilter(); buildCounterResourceFilter++; if (buildCounterResourceFilter < 3) { - o.groupKinds = buildUnnamed30(); + o.groupKinds = buildUnnamed32(); o.jsonPath = 'foo'; - o.namespaces = buildUnnamed31(); + o.namespaces = buildUnnamed33(); } buildCounterResourceFilter--; return o; @@ -1592,22 +1661,70 @@ api.ResourceFilter buildResourceFilter() { void checkResourceFilter(api.ResourceFilter o) { buildCounterResourceFilter++; if (buildCounterResourceFilter < 3) { - checkUnnamed30(o.groupKinds!); + checkUnnamed32(o.groupKinds!); unittest.expect( o.jsonPath!, unittest.equals('foo'), ); - checkUnnamed31(o.namespaces!); + checkUnnamed33(o.namespaces!); } buildCounterResourceFilter--; } -core.Map buildUnnamed32() => { +core.Map buildUnnamed34() => { + 'x': 'foo', + 'y': 'foo', + }; + +void checkUnnamed34(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 buildCounterResourceSelector = 0; +api.ResourceSelector buildResourceSelector() { + final o = api.ResourceSelector(); + buildCounterResourceSelector++; + if (buildCounterResourceSelector < 3) { + o.groupKind = buildGroupKind(); + o.labels = buildUnnamed34(); + o.name = 'foo'; + o.namespace = 'foo'; + } + buildCounterResourceSelector--; + return o; +} + +void checkResourceSelector(api.ResourceSelector o) { + buildCounterResourceSelector++; + if (buildCounterResourceSelector < 3) { + checkGroupKind(o.groupKind!); + checkUnnamed34(o.labels!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.namespace!, + unittest.equals('foo'), + ); + } + buildCounterResourceSelector--; +} + +core.Map buildUnnamed35() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed32(core.Map o) { +void checkUnnamed35(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1619,6 +1736,17 @@ void checkUnnamed32(core.Map o) { ); } +core.List buildUnnamed36() => [ + buildVolumeDataRestorePolicyOverride(), + buildVolumeDataRestorePolicyOverride(), + ]; + +void checkUnnamed36(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkVolumeDataRestorePolicyOverride(o[0]); + checkVolumeDataRestorePolicyOverride(o[1]); +} + core.int buildCounterRestore = 0; api.Restore buildRestore() { final o = api.Restore(); @@ -1630,7 +1758,8 @@ api.Restore buildRestore() { o.createTime = 'foo'; o.description = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed32(); + o.filter = buildFilter(); + o.labels = buildUnnamed35(); o.name = 'foo'; o.resourcesExcludedCount = 42; o.resourcesFailedCount = 42; @@ -1640,6 +1769,7 @@ api.Restore buildRestore() { o.stateReason = 'foo'; o.uid = 'foo'; o.updateTime = 'foo'; + o.volumeDataRestorePolicyOverrides = buildUnnamed36(); o.volumesRestoredCount = 42; } buildCounterRestore--; @@ -1673,7 +1803,8 @@ void checkRestore(api.Restore o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed32(o.labels!); + checkFilter(o.filter!); + checkUnnamed35(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1707,6 +1838,7 @@ void checkRestore(api.Restore o) { o.updateTime!, unittest.equals('foo'), ); + checkUnnamed36(o.volumeDataRestorePolicyOverrides!); unittest.expect( o.volumesRestoredCount!, unittest.equals(42), @@ -1715,28 +1847,39 @@ void checkRestore(api.Restore o) { buildCounterRestore--; } -core.List buildUnnamed33() => [ +core.List buildUnnamed37() => [ buildSubstitutionRule(), buildSubstitutionRule(), ]; -void checkUnnamed33(core.List o) { +void checkUnnamed37(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSubstitutionRule(o[0]); checkSubstitutionRule(o[1]); } -core.List buildUnnamed34() => [ +core.List buildUnnamed38() => [ buildTransformationRule(), buildTransformationRule(), ]; -void checkUnnamed34(core.List o) { +void checkUnnamed38(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTransformationRule(o[0]); checkTransformationRule(o[1]); } +core.List buildUnnamed39() => [ + buildVolumeDataRestorePolicyBinding(), + buildVolumeDataRestorePolicyBinding(), + ]; + +void checkUnnamed39(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkVolumeDataRestorePolicyBinding(o[0]); + checkVolumeDataRestorePolicyBinding(o[1]); +} + core.int buildCounterRestoreConfig = 0; api.RestoreConfig buildRestoreConfig() { final o = api.RestoreConfig(); @@ -1748,11 +1891,13 @@ api.RestoreConfig buildRestoreConfig() { o.excludedNamespaces = buildNamespaces(); o.namespacedResourceRestoreMode = 'foo'; o.noNamespaces = true; + o.restoreOrder = buildRestoreOrder(); o.selectedApplications = buildNamespacedNames(); o.selectedNamespaces = buildNamespaces(); - o.substitutionRules = buildUnnamed33(); - o.transformationRules = buildUnnamed34(); + o.substitutionRules = buildUnnamed37(); + o.transformationRules = buildUnnamed38(); o.volumeDataRestorePolicy = 'foo'; + o.volumeDataRestorePolicyBindings = buildUnnamed39(); } buildCounterRestoreConfig--; return o; @@ -1773,24 +1918,56 @@ void checkRestoreConfig(api.RestoreConfig o) { unittest.equals('foo'), ); unittest.expect(o.noNamespaces!, unittest.isTrue); + checkRestoreOrder(o.restoreOrder!); checkNamespacedNames(o.selectedApplications!); checkNamespaces(o.selectedNamespaces!); - checkUnnamed33(o.substitutionRules!); - checkUnnamed34(o.transformationRules!); + checkUnnamed37(o.substitutionRules!); + checkUnnamed38(o.transformationRules!); unittest.expect( o.volumeDataRestorePolicy!, unittest.equals('foo'), ); + checkUnnamed39(o.volumeDataRestorePolicyBindings!); } buildCounterRestoreConfig--; } -core.Map buildUnnamed35() => { +core.List buildUnnamed40() => [ + buildGroupKindDependency(), + buildGroupKindDependency(), + ]; + +void checkUnnamed40(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGroupKindDependency(o[0]); + checkGroupKindDependency(o[1]); +} + +core.int buildCounterRestoreOrder = 0; +api.RestoreOrder buildRestoreOrder() { + final o = api.RestoreOrder(); + buildCounterRestoreOrder++; + if (buildCounterRestoreOrder < 3) { + o.groupKindDependencies = buildUnnamed40(); + } + buildCounterRestoreOrder--; + return o; +} + +void checkRestoreOrder(api.RestoreOrder o) { + buildCounterRestoreOrder++; + if (buildCounterRestoreOrder < 3) { + checkUnnamed40(o.groupKindDependencies!); + } + buildCounterRestoreOrder--; +} + +core.Map buildUnnamed41() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed35(core.Map o) { +void checkUnnamed41(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1812,7 +1989,7 @@ api.RestorePlan buildRestorePlan() { o.createTime = 'foo'; o.description = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed35(); + o.labels = buildUnnamed41(); o.name = 'foo'; o.restoreConfig = buildRestoreConfig(); o.state = 'foo'; @@ -1847,7 +2024,7 @@ void checkRestorePlan(api.RestorePlan o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed35(o.labels!); + checkUnnamed41(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1902,12 +2079,12 @@ void checkRetentionPolicy(api.RetentionPolicy o) { buildCounterRetentionPolicy--; } -core.List buildUnnamed36() => [ +core.List buildUnnamed42() => [ buildExclusionWindow(), buildExclusionWindow(), ]; -void checkUnnamed36(core.List o) { +void checkUnnamed42(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExclusionWindow(o[0]); checkExclusionWindow(o[1]); @@ -1918,7 +2095,7 @@ api.RpoConfig buildRpoConfig() { final o = api.RpoConfig(); buildCounterRpoConfig++; if (buildCounterRpoConfig < 3) { - o.exclusionWindows = buildUnnamed36(); + o.exclusionWindows = buildUnnamed42(); o.targetRpoMinutes = 42; } buildCounterRpoConfig--; @@ -1928,7 +2105,7 @@ api.RpoConfig buildRpoConfig() { void checkRpoConfig(api.RpoConfig o) { buildCounterRpoConfig++; if (buildCounterRpoConfig < 3) { - checkUnnamed36(o.exclusionWindows!); + checkUnnamed42(o.exclusionWindows!); unittest.expect( o.targetRpoMinutes!, unittest.equals(42), @@ -1992,23 +2169,23 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.List buildUnnamed37() => [ +core.List buildUnnamed43() => [ buildGroupKind(), buildGroupKind(), ]; -void checkUnnamed37(core.List o) { +void checkUnnamed43(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroupKind(o[0]); checkGroupKind(o[1]); } -core.List buildUnnamed38() => [ +core.List buildUnnamed44() => [ 'foo', 'foo', ]; -void checkUnnamed38(core.List o) { +void checkUnnamed44(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2027,9 +2204,9 @@ api.SubstitutionRule buildSubstitutionRule() { if (buildCounterSubstitutionRule < 3) { o.newValue = 'foo'; o.originalValuePattern = 'foo'; - o.targetGroupKinds = buildUnnamed37(); + o.targetGroupKinds = buildUnnamed43(); o.targetJsonPath = 'foo'; - o.targetNamespaces = buildUnnamed38(); + o.targetNamespaces = buildUnnamed44(); } buildCounterSubstitutionRule--; return o; @@ -2046,22 +2223,22 @@ void checkSubstitutionRule(api.SubstitutionRule o) { o.originalValuePattern!, unittest.equals('foo'), ); - checkUnnamed37(o.targetGroupKinds!); + checkUnnamed43(o.targetGroupKinds!); unittest.expect( o.targetJsonPath!, unittest.equals('foo'), ); - checkUnnamed38(o.targetNamespaces!); + checkUnnamed44(o.targetNamespaces!); } buildCounterSubstitutionRule--; } -core.List buildUnnamed39() => [ +core.List buildUnnamed45() => [ 'foo', 'foo', ]; -void checkUnnamed39(core.List o) { +void checkUnnamed45(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2078,7 +2255,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed39(); + o.permissions = buildUnnamed45(); } buildCounterTestIamPermissionsRequest--; return o; @@ -2087,17 +2264,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed39(o.permissions!); + checkUnnamed45(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed40() => [ +core.List buildUnnamed46() => [ 'foo', 'foo', ]; -void checkUnnamed40(core.List o) { +void checkUnnamed46(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2114,7 +2291,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed40(); + o.permissions = buildUnnamed46(); } buildCounterTestIamPermissionsResponse--; return o; @@ -2123,7 +2300,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed40(o.permissions!); + checkUnnamed46(o.permissions!); } buildCounterTestIamPermissionsResponse--; } @@ -2165,12 +2342,12 @@ void checkTimeOfDay(api.TimeOfDay o) { buildCounterTimeOfDay--; } -core.List buildUnnamed41() => [ +core.List buildUnnamed47() => [ buildTransformationRuleAction(), buildTransformationRuleAction(), ]; -void checkUnnamed41(core.List o) { +void checkUnnamed47(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTransformationRuleAction(o[0]); checkTransformationRuleAction(o[1]); @@ -2182,7 +2359,7 @@ api.TransformationRule buildTransformationRule() { buildCounterTransformationRule++; if (buildCounterTransformationRule < 3) { o.description = 'foo'; - o.fieldActions = buildUnnamed41(); + o.fieldActions = buildUnnamed47(); o.resourceFilter = buildResourceFilter(); } buildCounterTransformationRule--; @@ -2196,7 +2373,7 @@ void checkTransformationRule(api.TransformationRule o) { o.description!, unittest.equals('foo'), ); - checkUnnamed41(o.fieldActions!); + checkUnnamed47(o.fieldActions!); checkResourceFilter(o.resourceFilter!); } buildCounterTransformationRule--; @@ -2318,6 +2495,58 @@ void checkVolumeBackup(api.VolumeBackup o) { buildCounterVolumeBackup--; } +core.int buildCounterVolumeDataRestorePolicyBinding = 0; +api.VolumeDataRestorePolicyBinding buildVolumeDataRestorePolicyBinding() { + final o = api.VolumeDataRestorePolicyBinding(); + buildCounterVolumeDataRestorePolicyBinding++; + if (buildCounterVolumeDataRestorePolicyBinding < 3) { + o.policy = 'foo'; + o.volumeType = 'foo'; + } + buildCounterVolumeDataRestorePolicyBinding--; + return o; +} + +void checkVolumeDataRestorePolicyBinding(api.VolumeDataRestorePolicyBinding o) { + buildCounterVolumeDataRestorePolicyBinding++; + if (buildCounterVolumeDataRestorePolicyBinding < 3) { + unittest.expect( + o.policy!, + unittest.equals('foo'), + ); + unittest.expect( + o.volumeType!, + unittest.equals('foo'), + ); + } + buildCounterVolumeDataRestorePolicyBinding--; +} + +core.int buildCounterVolumeDataRestorePolicyOverride = 0; +api.VolumeDataRestorePolicyOverride buildVolumeDataRestorePolicyOverride() { + final o = api.VolumeDataRestorePolicyOverride(); + buildCounterVolumeDataRestorePolicyOverride++; + if (buildCounterVolumeDataRestorePolicyOverride < 3) { + o.policy = 'foo'; + o.selectedPvcs = buildNamespacedNames(); + } + buildCounterVolumeDataRestorePolicyOverride--; + return o; +} + +void checkVolumeDataRestorePolicyOverride( + api.VolumeDataRestorePolicyOverride o) { + buildCounterVolumeDataRestorePolicyOverride++; + if (buildCounterVolumeDataRestorePolicyOverride < 3) { + unittest.expect( + o.policy!, + unittest.equals('foo'), + ); + checkNamespacedNames(o.selectedPvcs!); + } + buildCounterVolumeDataRestorePolicyOverride--; +} + core.int buildCounterVolumeRestore = 0; api.VolumeRestore buildVolumeRestore() { final o = api.VolumeRestore(); @@ -2533,6 +2762,16 @@ void main() { }); }); + unittest.group('obj-schema-Filter', () { + unittest.test('to-json--from-json', () async { + final o = buildFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Filter.fromJson(oJson as core.Map); + checkFilter(od); + }); + }); + unittest.group('obj-schema-GetBackupIndexDownloadUrlResponse', () { unittest.test('to-json--from-json', () async { final o = buildGetBackupIndexDownloadUrlResponse(); @@ -2593,6 +2832,16 @@ void main() { }); }); + unittest.group('obj-schema-GroupKindDependency', () { + unittest.test('to-json--from-json', () async { + final o = buildGroupKindDependency(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GroupKindDependency.fromJson( + oJson as core.Map); + checkGroupKindDependency(od); + }); + }); + unittest.group('obj-schema-ListBackupPlansResponse', () { unittest.test('to-json--from-json', () async { final o = buildListBackupPlansResponse(); @@ -2723,6 +2972,16 @@ void main() { }); }); + unittest.group('obj-schema-ResourceSelector', () { + unittest.test('to-json--from-json', () async { + final o = buildResourceSelector(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ResourceSelector.fromJson( + oJson as core.Map); + checkResourceSelector(od); + }); + }); + unittest.group('obj-schema-Restore', () { unittest.test('to-json--from-json', () async { final o = buildRestore(); @@ -2743,6 +3002,16 @@ void main() { }); }); + unittest.group('obj-schema-RestoreOrder', () { + unittest.test('to-json--from-json', () async { + final o = buildRestoreOrder(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.RestoreOrder.fromJson( + oJson as core.Map); + checkRestoreOrder(od); + }); + }); + unittest.group('obj-schema-RestorePlan', () { unittest.test('to-json--from-json', () async { final o = buildRestorePlan(); @@ -2863,6 +3132,26 @@ void main() { }); }); + unittest.group('obj-schema-VolumeDataRestorePolicyBinding', () { + unittest.test('to-json--from-json', () async { + final o = buildVolumeDataRestorePolicyBinding(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.VolumeDataRestorePolicyBinding.fromJson( + oJson as core.Map); + checkVolumeDataRestorePolicyBinding(od); + }); + }); + + unittest.group('obj-schema-VolumeDataRestorePolicyOverride', () { + unittest.test('to-json--from-json', () async { + final o = buildVolumeDataRestorePolicyOverride(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.VolumeDataRestorePolicyOverride.fromJson( + oJson as core.Map); + checkVolumeDataRestorePolicyOverride(od); + }); + }); + unittest.group('obj-schema-VolumeRestore', () { unittest.test('to-json--from-json', () async { final o = buildVolumeRestore(); diff --git a/generated/googleapis/test/gkehub/v1_test.dart b/generated/googleapis/test/gkehub/v1_test.dart index a94d8623d..0067f357f 100644 --- a/generated/googleapis/test/gkehub/v1_test.dart +++ b/generated/googleapis/test/gkehub/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -3289,6 +3290,23 @@ void checkUnnamed38(core.List o) { checkMembershipBinding(o[1]); } +core.List buildUnnamed39() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed39(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 buildCounterListMembershipBindingsResponse = 0; api.ListMembershipBindingsResponse buildListMembershipBindingsResponse() { final o = api.ListMembershipBindingsResponse(); @@ -3296,6 +3314,7 @@ api.ListMembershipBindingsResponse buildListMembershipBindingsResponse() { if (buildCounterListMembershipBindingsResponse < 3) { o.membershipBindings = buildUnnamed38(); o.nextPageToken = 'foo'; + o.unreachable = buildUnnamed39(); } buildCounterListMembershipBindingsResponse--; return o; @@ -3309,27 +3328,28 @@ void checkListMembershipBindingsResponse(api.ListMembershipBindingsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); + checkUnnamed39(o.unreachable!); } buildCounterListMembershipBindingsResponse--; } -core.List buildUnnamed39() => [ +core.List buildUnnamed40() => [ buildMembership(), buildMembership(), ]; -void checkUnnamed39(core.List o) { +void checkUnnamed40(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMembership(o[0]); checkMembership(o[1]); } -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], @@ -3347,8 +3367,8 @@ api.ListMembershipsResponse buildListMembershipsResponse() { buildCounterListMembershipsResponse++; if (buildCounterListMembershipsResponse < 3) { o.nextPageToken = 'foo'; - o.resources = buildUnnamed39(); - o.unreachable = buildUnnamed40(); + o.resources = buildUnnamed40(); + o.unreachable = buildUnnamed41(); } buildCounterListMembershipsResponse--; return o; @@ -3361,18 +3381,18 @@ void checkListMembershipsResponse(api.ListMembershipsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed39(o.resources!); - checkUnnamed40(o.unreachable!); + checkUnnamed40(o.resources!); + checkUnnamed41(o.unreachable!); } buildCounterListMembershipsResponse--; } -core.List buildUnnamed41() => [ +core.List buildUnnamed42() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed41(core.List o) { +void checkUnnamed42(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -3384,7 +3404,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed41(); + o.operations = buildUnnamed42(); } buildCounterListOperationsResponse--; return o; @@ -3397,17 +3417,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed41(o.operations!); + checkUnnamed42(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed42() => [ +core.List buildUnnamed43() => [ buildScope(), buildScope(), ]; -void checkUnnamed42(core.List o) { +void checkUnnamed43(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScope(o[0]); checkScope(o[1]); @@ -3419,7 +3439,7 @@ api.ListPermittedScopesResponse buildListPermittedScopesResponse() { buildCounterListPermittedScopesResponse++; if (buildCounterListPermittedScopesResponse < 3) { o.nextPageToken = 'foo'; - o.scopes = buildUnnamed42(); + o.scopes = buildUnnamed43(); } buildCounterListPermittedScopesResponse--; return o; @@ -3432,17 +3452,17 @@ void checkListPermittedScopesResponse(api.ListPermittedScopesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed42(o.scopes!); + checkUnnamed43(o.scopes!); } buildCounterListPermittedScopesResponse--; } -core.List buildUnnamed43() => [ +core.List buildUnnamed44() => [ buildNamespace(), buildNamespace(), ]; -void checkUnnamed43(core.List o) { +void checkUnnamed44(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNamespace(o[0]); checkNamespace(o[1]); @@ -3454,7 +3474,7 @@ api.ListScopeNamespacesResponse buildListScopeNamespacesResponse() { buildCounterListScopeNamespacesResponse++; if (buildCounterListScopeNamespacesResponse < 3) { o.nextPageToken = 'foo'; - o.scopeNamespaces = buildUnnamed43(); + o.scopeNamespaces = buildUnnamed44(); } buildCounterListScopeNamespacesResponse--; return o; @@ -3467,17 +3487,17 @@ void checkListScopeNamespacesResponse(api.ListScopeNamespacesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed43(o.scopeNamespaces!); + checkUnnamed44(o.scopeNamespaces!); } buildCounterListScopeNamespacesResponse--; } -core.List buildUnnamed44() => [ +core.List buildUnnamed45() => [ buildRBACRoleBinding(), buildRBACRoleBinding(), ]; -void checkUnnamed44(core.List o) { +void checkUnnamed45(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRBACRoleBinding(o[0]); checkRBACRoleBinding(o[1]); @@ -3489,7 +3509,7 @@ api.ListScopeRBACRoleBindingsResponse buildListScopeRBACRoleBindingsResponse() { buildCounterListScopeRBACRoleBindingsResponse++; if (buildCounterListScopeRBACRoleBindingsResponse < 3) { o.nextPageToken = 'foo'; - o.rbacrolebindings = buildUnnamed44(); + o.rbacrolebindings = buildUnnamed45(); } buildCounterListScopeRBACRoleBindingsResponse--; return o; @@ -3503,17 +3523,17 @@ void checkListScopeRBACRoleBindingsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed44(o.rbacrolebindings!); + checkUnnamed45(o.rbacrolebindings!); } buildCounterListScopeRBACRoleBindingsResponse--; } -core.List buildUnnamed45() => [ +core.List buildUnnamed46() => [ buildScope(), buildScope(), ]; -void checkUnnamed45(core.List o) { +void checkUnnamed46(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScope(o[0]); checkScope(o[1]); @@ -3525,7 +3545,7 @@ api.ListScopesResponse buildListScopesResponse() { buildCounterListScopesResponse++; if (buildCounterListScopesResponse < 3) { o.nextPageToken = 'foo'; - o.scopes = buildUnnamed45(); + o.scopes = buildUnnamed46(); } buildCounterListScopesResponse--; return o; @@ -3538,17 +3558,17 @@ void checkListScopesResponse(api.ListScopesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed45(o.scopes!); + checkUnnamed46(o.scopes!); } buildCounterListScopesResponse--; } -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']!, @@ -3560,7 +3580,7 @@ void checkUnnamed46(core.Map o) { ); } -core.Map buildUnnamed47() => { +core.Map buildUnnamed48() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3573,7 +3593,7 @@ core.Map buildUnnamed47() => { }, }; -void checkUnnamed47(core.Map o) { +void checkUnnamed48(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -3611,9 +3631,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed46(); + o.labels = buildUnnamed47(); o.locationId = 'foo'; - o.metadata = buildUnnamed47(); + o.metadata = buildUnnamed48(); o.name = 'foo'; } buildCounterLocation--; @@ -3627,12 +3647,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed46(o.labels!); + checkUnnamed47(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed47(o.metadata!); + checkUnnamed48(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -3641,12 +3661,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.Map buildUnnamed48() => { +core.Map buildUnnamed49() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed48(core.Map o) { +void checkUnnamed49(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3669,7 +3689,7 @@ api.Membership buildMembership() { o.description = 'foo'; o.endpoint = buildMembershipEndpoint(); o.externalId = 'foo'; - o.labels = buildUnnamed48(); + o.labels = buildUnnamed49(); o.lastConnectionTime = 'foo'; o.monitoringConfig = buildMonitoringConfig(); o.name = 'foo'; @@ -3702,7 +3722,7 @@ void checkMembership(api.Membership o) { o.externalId!, unittest.equals('foo'), ); - checkUnnamed48(o.labels!); + checkUnnamed49(o.labels!); unittest.expect( o.lastConnectionTime!, unittest.equals('foo'), @@ -3725,12 +3745,12 @@ void checkMembership(api.Membership o) { buildCounterMembership--; } -core.Map buildUnnamed49() => { +core.Map buildUnnamed50() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed49(core.Map o) { +void checkUnnamed50(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3749,7 +3769,7 @@ api.MembershipBinding buildMembershipBinding() { if (buildCounterMembershipBinding < 3) { o.createTime = 'foo'; o.deleteTime = 'foo'; - o.labels = buildUnnamed49(); + o.labels = buildUnnamed50(); o.name = 'foo'; o.scope = 'foo'; o.state = buildMembershipBindingLifecycleState(); @@ -3771,7 +3791,7 @@ void checkMembershipBinding(api.MembershipBinding o) { o.deleteTime!, unittest.equals('foo'), ); - checkUnnamed49(o.labels!); + checkUnnamed50(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -4021,12 +4041,12 @@ void checkMultiClusterIngressFeatureSpec(api.MultiClusterIngressFeatureSpec o) { buildCounterMultiClusterIngressFeatureSpec--; } -core.Map buildUnnamed50() => { +core.Map buildUnnamed51() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed50(core.Map o) { +void checkUnnamed51(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4038,12 +4058,12 @@ void checkUnnamed50(core.Map o) { ); } -core.Map buildUnnamed51() => { +core.Map buildUnnamed52() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed51(core.Map o) { +void checkUnnamed52(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4062,9 +4082,9 @@ api.Namespace buildNamespace() { if (buildCounterNamespace < 3) { o.createTime = 'foo'; o.deleteTime = 'foo'; - o.labels = buildUnnamed50(); + o.labels = buildUnnamed51(); o.name = 'foo'; - o.namespaceLabels = buildUnnamed51(); + o.namespaceLabels = buildUnnamed52(); o.scope = 'foo'; o.state = buildNamespaceLifecycleState(); o.uid = 'foo'; @@ -4085,12 +4105,12 @@ void checkNamespace(api.Namespace o) { o.deleteTime!, unittest.equals('foo'), ); - checkUnnamed50(o.labels!); + checkUnnamed51(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed51(o.namespaceLabels!); + checkUnnamed52(o.namespaceLabels!); unittest.expect( o.scope!, unittest.equals('foo'), @@ -4161,7 +4181,7 @@ void checkOnPremCluster(api.OnPremCluster o) { buildCounterOnPremCluster--; } -core.Map buildUnnamed52() => { +core.Map buildUnnamed53() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4174,7 +4194,7 @@ core.Map buildUnnamed52() => { }, }; -void checkUnnamed52(core.Map o) { +void checkUnnamed53(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -4206,7 +4226,7 @@ void checkUnnamed52(core.Map o) { ); } -core.Map buildUnnamed53() => { +core.Map buildUnnamed54() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -4219,7 +4239,7 @@ core.Map buildUnnamed53() => { }, }; -void checkUnnamed53(core.Map o) { +void checkUnnamed54(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -4258,9 +4278,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed52(); + o.metadata = buildUnnamed53(); o.name = 'foo'; - o.response = buildUnnamed53(); + o.response = buildUnnamed54(); } buildCounterOperation--; return o; @@ -4271,12 +4291,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed52(o.metadata!); + checkUnnamed53(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed53(o.response!); + checkUnnamed54(o.response!); } buildCounterOperation--; } @@ -4303,23 +4323,23 @@ void checkOrigin(api.Origin o) { buildCounterOrigin--; } -core.List buildUnnamed54() => [ +core.List buildUnnamed55() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed54(core.List o) { +void checkUnnamed55(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed55() => [ +core.List buildUnnamed56() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed55(core.List o) { +void checkUnnamed56(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -4330,8 +4350,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed54(); - o.bindings = buildUnnamed55(); + o.auditConfigs = buildUnnamed55(); + o.bindings = buildUnnamed56(); o.etag = 'foo'; o.version = 42; } @@ -4342,8 +4362,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed54(o.auditConfigs!); - checkUnnamed55(o.bindings!); + checkUnnamed55(o.auditConfigs!); + checkUnnamed56(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -4378,12 +4398,12 @@ void checkPolicyBinding(api.PolicyBinding o) { buildCounterPolicyBinding--; } -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], @@ -4400,7 +4420,7 @@ api.PolicyControllerBundleInstallSpec buildPolicyControllerBundleInstallSpec() { final o = api.PolicyControllerBundleInstallSpec(); buildCounterPolicyControllerBundleInstallSpec++; if (buildCounterPolicyControllerBundleInstallSpec < 3) { - o.exemptedNamespaces = buildUnnamed56(); + o.exemptedNamespaces = buildUnnamed57(); } buildCounterPolicyControllerBundleInstallSpec--; return o; @@ -4410,18 +4430,18 @@ void checkPolicyControllerBundleInstallSpec( api.PolicyControllerBundleInstallSpec o) { buildCounterPolicyControllerBundleInstallSpec++; if (buildCounterPolicyControllerBundleInstallSpec < 3) { - checkUnnamed56(o.exemptedNamespaces!); + checkUnnamed57(o.exemptedNamespaces!); } buildCounterPolicyControllerBundleInstallSpec--; } core.Map - buildUnnamed57() => { + buildUnnamed58() => { 'x': buildPolicyControllerPolicyControllerDeploymentConfig(), 'y': buildPolicyControllerPolicyControllerDeploymentConfig(), }; -void checkUnnamed57( +void checkUnnamed58( core.Map o) { unittest.expect(o, unittest.hasLength(2)); @@ -4429,12 +4449,12 @@ void checkUnnamed57( checkPolicyControllerPolicyControllerDeploymentConfig(o['y']!); } -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], @@ -4453,8 +4473,8 @@ api.PolicyControllerHubConfig buildPolicyControllerHubConfig() { if (buildCounterPolicyControllerHubConfig < 3) { o.auditIntervalSeconds = 'foo'; o.constraintViolationLimit = 'foo'; - o.deploymentConfigs = buildUnnamed57(); - o.exemptableNamespaces = buildUnnamed58(); + o.deploymentConfigs = buildUnnamed58(); + o.exemptableNamespaces = buildUnnamed59(); o.installSpec = 'foo'; o.logDeniesEnabled = true; o.monitoring = buildPolicyControllerMonitoringConfig(); @@ -4477,8 +4497,8 @@ void checkPolicyControllerHubConfig(api.PolicyControllerHubConfig o) { o.constraintViolationLimit!, unittest.equals('foo'), ); - checkUnnamed57(o.deploymentConfigs!); - checkUnnamed58(o.exemptableNamespaces!); + checkUnnamed58(o.deploymentConfigs!); + checkUnnamed59(o.exemptableNamespaces!); unittest.expect( o.installSpec!, unittest.equals('foo'), @@ -4516,12 +4536,12 @@ void checkPolicyControllerMembershipSpec(api.PolicyControllerMembershipSpec o) { buildCounterPolicyControllerMembershipSpec--; } -core.Map buildUnnamed59() => { +core.Map buildUnnamed60() => { 'x': buildPolicyControllerOnClusterState(), 'y': buildPolicyControllerOnClusterState(), }; -void checkUnnamed59( +void checkUnnamed60( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkPolicyControllerOnClusterState(o['x']!); @@ -4533,7 +4553,7 @@ api.PolicyControllerMembershipState buildPolicyControllerMembershipState() { final o = api.PolicyControllerMembershipState(); buildCounterPolicyControllerMembershipState++; if (buildCounterPolicyControllerMembershipState < 3) { - o.componentStates = buildUnnamed59(); + o.componentStates = buildUnnamed60(); o.policyContentState = buildPolicyControllerPolicyContentState(); o.state = 'foo'; } @@ -4545,7 +4565,7 @@ void checkPolicyControllerMembershipState( api.PolicyControllerMembershipState o) { buildCounterPolicyControllerMembershipState++; if (buildCounterPolicyControllerMembershipState < 3) { - checkUnnamed59(o.componentStates!); + checkUnnamed60(o.componentStates!); checkPolicyControllerPolicyContentState(o.policyContentState!); unittest.expect( o.state!, @@ -4555,12 +4575,12 @@ void checkPolicyControllerMembershipState( buildCounterPolicyControllerMembershipState--; } -core.List buildUnnamed60() => [ +core.List buildUnnamed61() => [ 'foo', 'foo', ]; -void checkUnnamed60(core.List o) { +void checkUnnamed61(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -4577,7 +4597,7 @@ api.PolicyControllerMonitoringConfig buildPolicyControllerMonitoringConfig() { final o = api.PolicyControllerMonitoringConfig(); buildCounterPolicyControllerMonitoringConfig++; if (buildCounterPolicyControllerMonitoringConfig < 3) { - o.backends = buildUnnamed60(); + o.backends = buildUnnamed61(); } buildCounterPolicyControllerMonitoringConfig--; return o; @@ -4587,7 +4607,7 @@ void checkPolicyControllerMonitoringConfig( api.PolicyControllerMonitoringConfig o) { buildCounterPolicyControllerMonitoringConfig++; if (buildCounterPolicyControllerMonitoringConfig < 3) { - checkUnnamed60(o.backends!); + checkUnnamed61(o.backends!); } buildCounterPolicyControllerMonitoringConfig--; } @@ -4619,13 +4639,13 @@ void checkPolicyControllerOnClusterState(api.PolicyControllerOnClusterState o) { buildCounterPolicyControllerOnClusterState--; } -core.Map buildUnnamed61() => +core.Map buildUnnamed62() => { 'x': buildPolicyControllerBundleInstallSpec(), 'y': buildPolicyControllerBundleInstallSpec(), }; -void checkUnnamed61( +void checkUnnamed62( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkPolicyControllerBundleInstallSpec(o['x']!); @@ -4637,7 +4657,7 @@ api.PolicyControllerPolicyContentSpec buildPolicyControllerPolicyContentSpec() { final o = api.PolicyControllerPolicyContentSpec(); buildCounterPolicyControllerPolicyContentSpec++; if (buildCounterPolicyControllerPolicyContentSpec < 3) { - o.bundles = buildUnnamed61(); + o.bundles = buildUnnamed62(); o.templateLibrary = buildPolicyControllerTemplateLibraryConfig(); } buildCounterPolicyControllerPolicyContentSpec--; @@ -4648,18 +4668,18 @@ void checkPolicyControllerPolicyContentSpec( api.PolicyControllerPolicyContentSpec o) { buildCounterPolicyControllerPolicyContentSpec++; if (buildCounterPolicyControllerPolicyContentSpec < 3) { - checkUnnamed61(o.bundles!); + checkUnnamed62(o.bundles!); checkPolicyControllerTemplateLibraryConfig(o.templateLibrary!); } buildCounterPolicyControllerPolicyContentSpec--; } -core.Map buildUnnamed62() => { +core.Map buildUnnamed63() => { 'x': buildPolicyControllerOnClusterState(), 'y': buildPolicyControllerOnClusterState(), }; -void checkUnnamed62( +void checkUnnamed63( core.Map o) { unittest.expect(o, unittest.hasLength(2)); checkPolicyControllerOnClusterState(o['x']!); @@ -4672,7 +4692,7 @@ api.PolicyControllerPolicyContentState final o = api.PolicyControllerPolicyContentState(); buildCounterPolicyControllerPolicyContentState++; if (buildCounterPolicyControllerPolicyContentState < 3) { - o.bundleStates = buildUnnamed62(); + o.bundleStates = buildUnnamed63(); o.referentialSyncConfigState = buildPolicyControllerOnClusterState(); o.templateLibraryState = buildPolicyControllerOnClusterState(); } @@ -4684,19 +4704,19 @@ void checkPolicyControllerPolicyContentState( api.PolicyControllerPolicyContentState o) { buildCounterPolicyControllerPolicyContentState++; if (buildCounterPolicyControllerPolicyContentState < 3) { - checkUnnamed62(o.bundleStates!); + checkUnnamed63(o.bundleStates!); checkPolicyControllerOnClusterState(o.referentialSyncConfigState!); checkPolicyControllerOnClusterState(o.templateLibraryState!); } buildCounterPolicyControllerPolicyContentState--; } -core.List buildUnnamed63() => [ +core.List buildUnnamed64() => [ buildPolicyControllerToleration(), buildPolicyControllerToleration(), ]; -void checkUnnamed63(core.List o) { +void checkUnnamed64(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPolicyControllerToleration(o[0]); checkPolicyControllerToleration(o[1]); @@ -4711,7 +4731,7 @@ api.PolicyControllerPolicyControllerDeploymentConfig o.containerResources = buildPolicyControllerResourceRequirements(); o.podAffinity = 'foo'; o.podAntiAffinity = true; - o.podTolerations = buildUnnamed63(); + o.podTolerations = buildUnnamed64(); o.replicaCount = 'foo'; } buildCounterPolicyControllerPolicyControllerDeploymentConfig--; @@ -4728,7 +4748,7 @@ void checkPolicyControllerPolicyControllerDeploymentConfig( unittest.equals('foo'), ); unittest.expect(o.podAntiAffinity!, unittest.isTrue); - checkUnnamed63(o.podTolerations!); + checkUnnamed64(o.podTolerations!); unittest.expect( o.replicaCount!, unittest.equals('foo'), @@ -4848,12 +4868,12 @@ void checkPolicyControllerToleration(api.PolicyControllerToleration o) { buildCounterPolicyControllerToleration--; } -core.Map buildUnnamed64() => { +core.Map buildUnnamed65() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed64(core.Map o) { +void checkUnnamed65(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -4873,7 +4893,7 @@ api.RBACRoleBinding buildRBACRoleBinding() { o.createTime = 'foo'; o.deleteTime = 'foo'; o.group = 'foo'; - o.labels = buildUnnamed64(); + o.labels = buildUnnamed65(); o.name = 'foo'; o.role = buildRole(); o.state = buildRBACRoleBindingLifecycleState(); @@ -4900,7 +4920,7 @@ void checkRBACRoleBinding(api.RBACRoleBinding o) { o.group!, unittest.equals('foo'), ); - checkUnnamed64(o.labels!); + checkUnnamed65(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -5020,12 +5040,12 @@ void checkRole(api.Role o) { buildCounterRole--; } -core.Map buildUnnamed65() => { +core.Map buildUnnamed66() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed65(core.Map o) { +void checkUnnamed66(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -5037,12 +5057,12 @@ void checkUnnamed65(core.Map o) { ); } -core.Map buildUnnamed66() => { +core.Map buildUnnamed67() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed66(core.Map o) { +void checkUnnamed67(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -5061,9 +5081,9 @@ api.Scope buildScope() { if (buildCounterScope < 3) { o.createTime = 'foo'; o.deleteTime = 'foo'; - o.labels = buildUnnamed65(); + o.labels = buildUnnamed66(); o.name = 'foo'; - o.namespaceLabels = buildUnnamed66(); + o.namespaceLabels = buildUnnamed67(); o.state = buildScopeLifecycleState(); o.uid = 'foo'; o.updateTime = 'foo'; @@ -5083,12 +5103,12 @@ void checkScope(api.Scope o) { o.deleteTime!, unittest.equals('foo'), ); - checkUnnamed65(o.labels!); + checkUnnamed66(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed66(o.namespaceLabels!); + checkUnnamed67(o.namespaceLabels!); checkScopeLifecycleState(o.state!); unittest.expect( o.uid!, @@ -5222,12 +5242,12 @@ void checkServiceMeshCondition(api.ServiceMeshCondition o) { buildCounterServiceMeshCondition--; } -core.List buildUnnamed67() => [ +core.List buildUnnamed68() => [ buildServiceMeshStatusDetails(), buildServiceMeshStatusDetails(), ]; -void checkUnnamed67(core.List o) { +void checkUnnamed68(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceMeshStatusDetails(o[0]); checkServiceMeshStatusDetails(o[1]); @@ -5238,7 +5258,7 @@ api.ServiceMeshControlPlaneManagement buildServiceMeshControlPlaneManagement() { final o = api.ServiceMeshControlPlaneManagement(); buildCounterServiceMeshControlPlaneManagement++; if (buildCounterServiceMeshControlPlaneManagement < 3) { - o.details = buildUnnamed67(); + o.details = buildUnnamed68(); o.implementation = 'foo'; o.state = 'foo'; } @@ -5250,7 +5270,7 @@ void checkServiceMeshControlPlaneManagement( api.ServiceMeshControlPlaneManagement o) { buildCounterServiceMeshControlPlaneManagement++; if (buildCounterServiceMeshControlPlaneManagement < 3) { - checkUnnamed67(o.details!); + checkUnnamed68(o.details!); unittest.expect( o.implementation!, unittest.equals('foo'), @@ -5263,12 +5283,12 @@ void checkServiceMeshControlPlaneManagement( buildCounterServiceMeshControlPlaneManagement--; } -core.List buildUnnamed68() => [ +core.List buildUnnamed69() => [ buildServiceMeshStatusDetails(), buildServiceMeshStatusDetails(), ]; -void checkUnnamed68(core.List o) { +void checkUnnamed69(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceMeshStatusDetails(o[0]); checkServiceMeshStatusDetails(o[1]); @@ -5279,7 +5299,7 @@ api.ServiceMeshDataPlaneManagement buildServiceMeshDataPlaneManagement() { final o = api.ServiceMeshDataPlaneManagement(); buildCounterServiceMeshDataPlaneManagement++; if (buildCounterServiceMeshDataPlaneManagement < 3) { - o.details = buildUnnamed68(); + o.details = buildUnnamed69(); o.state = 'foo'; } buildCounterServiceMeshDataPlaneManagement--; @@ -5289,7 +5309,7 @@ api.ServiceMeshDataPlaneManagement buildServiceMeshDataPlaneManagement() { void checkServiceMeshDataPlaneManagement(api.ServiceMeshDataPlaneManagement o) { buildCounterServiceMeshDataPlaneManagement++; if (buildCounterServiceMeshDataPlaneManagement < 3) { - checkUnnamed68(o.details!); + checkUnnamed69(o.details!); unittest.expect( o.state!, unittest.equals('foo'), @@ -5325,12 +5345,12 @@ void checkServiceMeshMembershipSpec(api.ServiceMeshMembershipSpec o) { buildCounterServiceMeshMembershipSpec--; } -core.List buildUnnamed69() => [ +core.List buildUnnamed70() => [ buildServiceMeshCondition(), buildServiceMeshCondition(), ]; -void checkUnnamed69(core.List o) { +void checkUnnamed70(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceMeshCondition(o[0]); checkServiceMeshCondition(o[1]); @@ -5341,7 +5361,7 @@ api.ServiceMeshMembershipState buildServiceMeshMembershipState() { final o = api.ServiceMeshMembershipState(); buildCounterServiceMeshMembershipState++; if (buildCounterServiceMeshMembershipState < 3) { - o.conditions = buildUnnamed69(); + o.conditions = buildUnnamed70(); o.controlPlaneManagement = buildServiceMeshControlPlaneManagement(); o.dataPlaneManagement = buildServiceMeshDataPlaneManagement(); } @@ -5352,7 +5372,7 @@ api.ServiceMeshMembershipState buildServiceMeshMembershipState() { void checkServiceMeshMembershipState(api.ServiceMeshMembershipState o) { buildCounterServiceMeshMembershipState++; if (buildCounterServiceMeshMembershipState < 3) { - checkUnnamed69(o.conditions!); + checkUnnamed70(o.conditions!); checkServiceMeshControlPlaneManagement(o.controlPlaneManagement!); checkServiceMeshDataPlaneManagement(o.dataPlaneManagement!); } @@ -5437,12 +5457,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -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], @@ -5459,7 +5479,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed70(); + o.permissions = buildUnnamed71(); } buildCounterTestIamPermissionsRequest--; return o; @@ -5468,17 +5488,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed70(o.permissions!); + checkUnnamed71(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed71() => [ +core.List buildUnnamed72() => [ 'foo', 'foo', ]; -void checkUnnamed71(core.List o) { +void checkUnnamed72(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -5495,7 +5515,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed71(); + o.permissions = buildUnnamed72(); } buildCounterTestIamPermissionsResponse--; return o; @@ -5504,7 +5524,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed71(o.permissions!); + checkUnnamed72(o.permissions!); } buildCounterTestIamPermissionsResponse--; } diff --git a/generated/googleapis/test/gkeonprem/v1_test.dart b/generated/googleapis/test/gkeonprem/v1_test.dart index 1921c08a0..fa3121f07 100644 --- a/generated/googleapis/test/gkeonprem/v1_test.dart +++ b/generated/googleapis/test/gkeonprem/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/gmail/v1_test.dart b/generated/googleapis/test/gmail/v1_test.dart index 2812e6017..e87cb212d 100644 --- a/generated/googleapis/test/gmail/v1_test.dart +++ b/generated/googleapis/test/gmail/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -2698,7 +2699,6 @@ void main() { final mock = HttpServerMock(); final res = api.GmailApi(mock).users; final arg_userId = 'foo'; - final arg_temporaryEeccBypass = true; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -2745,10 +2745,6 @@ void main() { ); } } - unittest.expect( - queryMap['temporaryEeccBypass']!.first, - unittest.equals('$arg_temporaryEeccBypass'), - ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -2760,8 +2756,7 @@ void main() { final resp = convert.json.encode(buildProfile()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.getProfile(arg_userId, - temporaryEeccBypass: arg_temporaryEeccBypass, $fields: arg_$fields); + final response = await res.getProfile(arg_userId, $fields: arg_$fields); checkProfile(response as api.Profile); }); @@ -4123,7 +4118,6 @@ void main() { final arg_id = 'foo'; final arg_format = 'foo'; final arg_metadataHeaders = buildUnnamed37(); - final arg_temporaryEeccBypass = true; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -4184,10 +4178,6 @@ void main() { queryMap['metadataHeaders']!, unittest.equals(arg_metadataHeaders), ); - unittest.expect( - queryMap['temporaryEeccBypass']!.first, - unittest.equals('$arg_temporaryEeccBypass'), - ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -4202,7 +4192,6 @@ void main() { final response = await res.get(arg_userId, arg_id, format: arg_format, metadataHeaders: arg_metadataHeaders, - temporaryEeccBypass: arg_temporaryEeccBypass, $fields: arg_$fields); checkMessage(response as api.Message); }); @@ -4400,7 +4389,6 @@ void main() { final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_q = 'foo'; - final arg_temporaryEeccBypass = true; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -4467,10 +4455,6 @@ void main() { queryMap['q']!.first, unittest.equals(arg_q), ); - unittest.expect( - queryMap['temporaryEeccBypass']!.first, - unittest.equals('$arg_temporaryEeccBypass'), - ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -4488,7 +4472,6 @@ void main() { maxResults: arg_maxResults, pageToken: arg_pageToken, q: arg_q, - temporaryEeccBypass: arg_temporaryEeccBypass, $fields: arg_$fields); checkListMessagesResponse(response as api.ListMessagesResponse); }); @@ -4823,7 +4806,6 @@ void main() { final arg_userId = 'foo'; final arg_messageId = 'foo'; final arg_id = 'foo'; - final arg_temporaryEeccBypass = true; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -4890,10 +4872,6 @@ void main() { ); } } - unittest.expect( - queryMap['temporaryEeccBypass']!.first, - unittest.equals('$arg_temporaryEeccBypass'), - ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -4906,7 +4884,7 @@ void main() { return async.Future.value(stringResponse(200, h, resp)); }), true); final response = await res.get(arg_userId, arg_messageId, arg_id, - temporaryEeccBypass: arg_temporaryEeccBypass, $fields: arg_$fields); + $fields: arg_$fields); checkMessagePartBody(response as api.MessagePartBody); }); }); @@ -8333,7 +8311,6 @@ void main() { final arg_id = 'foo'; final arg_format = 'foo'; final arg_metadataHeaders = buildUnnamed39(); - final arg_temporaryEeccBypass = true; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -8394,10 +8371,6 @@ void main() { queryMap['metadataHeaders']!, unittest.equals(arg_metadataHeaders), ); - unittest.expect( - queryMap['temporaryEeccBypass']!.first, - unittest.equals('$arg_temporaryEeccBypass'), - ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -8412,7 +8385,6 @@ void main() { final response = await res.get(arg_userId, arg_id, format: arg_format, metadataHeaders: arg_metadataHeaders, - temporaryEeccBypass: arg_temporaryEeccBypass, $fields: arg_$fields); checkThread(response as api.Thread); }); @@ -8426,7 +8398,6 @@ void main() { final arg_maxResults = 42; final arg_pageToken = 'foo'; final arg_q = 'foo'; - final arg_temporaryEeccBypass = true; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -8493,10 +8464,6 @@ void main() { queryMap['q']!.first, unittest.equals(arg_q), ); - unittest.expect( - queryMap['temporaryEeccBypass']!.first, - unittest.equals('$arg_temporaryEeccBypass'), - ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -8514,7 +8481,6 @@ void main() { maxResults: arg_maxResults, pageToken: arg_pageToken, q: arg_q, - temporaryEeccBypass: arg_temporaryEeccBypass, $fields: arg_$fields); checkListThreadsResponse(response as api.ListThreadsResponse); }); diff --git a/generated/googleapis/test/gmailpostmastertools/v1_test.dart b/generated/googleapis/test/gmailpostmastertools/v1_test.dart index 2d4b78fc7..75d82aec2 100644 --- a/generated/googleapis/test/gmailpostmastertools/v1_test.dart +++ b/generated/googleapis/test/gmailpostmastertools/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/groupsmigration/v1_test.dart b/generated/googleapis/test/groupsmigration/v1_test.dart index 4a3938588..5c85d39c9 100644 --- a/generated/googleapis/test/groupsmigration/v1_test.dart +++ b/generated/googleapis/test/groupsmigration/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/groupssettings/v1_test.dart b/generated/googleapis/test/groupssettings/v1_test.dart index 94192a6cb..df7607ca6 100644 --- a/generated/googleapis/test/groupssettings/v1_test.dart +++ b/generated/googleapis/test/groupssettings/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/healthcare/v1_test.dart b/generated/googleapis/test/healthcare/v1_test.dart index 10a70da61..2c05edb85 100644 --- a/generated/googleapis/test/healthcare/v1_test.dart +++ b/generated/googleapis/test/healthcare/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/homegraph/v1_test.dart b/generated/googleapis/test/homegraph/v1_test.dart index 663b315f8..006e51759 100644 --- a/generated/googleapis/test/homegraph/v1_test.dart +++ b/generated/googleapis/test/homegraph/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/iam/v1_test.dart b/generated/googleapis/test/iam/v1_test.dart index e72d44629..e4dca59bb 100644 --- a/generated/googleapis/test/iam/v1_test.dart +++ b/generated/googleapis/test/iam/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/iam/v2_test.dart b/generated/googleapis/test/iam/v2_test.dart index 7ad0a8965..a1a0a3cf9 100644 --- a/generated/googleapis/test/iam/v2_test.dart +++ b/generated/googleapis/test/iam/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/iamcredentials/v1_test.dart b/generated/googleapis/test/iamcredentials/v1_test.dart index df4302085..f1ec062aa 100644 --- a/generated/googleapis/test/iamcredentials/v1_test.dart +++ b/generated/googleapis/test/iamcredentials/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/iap/v1_test.dart b/generated/googleapis/test/iap/v1_test.dart index e788fc052..22fe7ae50 100644 --- a/generated/googleapis/test/iap/v1_test.dart +++ b/generated/googleapis/test/iap/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/identitytoolkit/v1_test.dart b/generated/googleapis/test/identitytoolkit/v1_test.dart index 0ef2dbb8c..c96fbdf7d 100644 --- a/generated/googleapis/test/identitytoolkit/v1_test.dart +++ b/generated/googleapis/test/identitytoolkit/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/identitytoolkit/v2_test.dart b/generated/googleapis/test/identitytoolkit/v2_test.dart index 785fcfed8..556c81b32 100644 --- a/generated/googleapis/test/identitytoolkit/v2_test.dart +++ b/generated/googleapis/test/identitytoolkit/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/identitytoolkit/v3_test.dart b/generated/googleapis/test/identitytoolkit/v3_test.dart index 020c5c161..032a89802 100644 --- a/generated/googleapis/test/identitytoolkit/v3_test.dart +++ b/generated/googleapis/test/identitytoolkit/v3_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/ids/v1_test.dart b/generated/googleapis/test/ids/v1_test.dart index d87d03581..3534605cc 100644 --- a/generated/googleapis/test/ids/v1_test.dart +++ b/generated/googleapis/test/ids/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -219,6 +220,8 @@ api.Endpoint buildEndpoint() { o.labels = buildUnnamed3(); o.name = 'foo'; o.network = 'foo'; + o.satisfiesPzi = true; + o.satisfiesPzs = true; o.severity = 'foo'; o.state = 'foo'; o.threatExceptions = buildUnnamed4(); @@ -257,6 +260,8 @@ void checkEndpoint(api.Endpoint o) { o.network!, unittest.equals('foo'), ); + unittest.expect(o.satisfiesPzi!, unittest.isTrue); + unittest.expect(o.satisfiesPzs!, unittest.isTrue); unittest.expect( o.severity!, unittest.equals('foo'), diff --git a/generated/googleapis/test/indexing/v3_test.dart b/generated/googleapis/test/indexing/v3_test.dart index 3a9573e08..ba711be5a 100644 --- a/generated/googleapis/test/indexing/v3_test.dart +++ b/generated/googleapis/test/indexing/v3_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/integrations/v1_test.dart b/generated/googleapis/test/integrations/v1_test.dart index 54664898c..fea1e324c 100644 --- a/generated/googleapis/test/integrations/v1_test.dart +++ b/generated/googleapis/test/integrations/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -1017,6 +1018,7 @@ api.EnterpriseCrmEventbusProtoFailurePolicy if (buildCounterEnterpriseCrmEventbusProtoFailurePolicy < 3) { o.intervalInSeconds = 'foo'; o.maxNumRetries = 42; + o.retryCondition = 'foo'; o.retryStrategy = 'foo'; } buildCounterEnterpriseCrmEventbusProtoFailurePolicy--; @@ -1035,6 +1037,10 @@ void checkEnterpriseCrmEventbusProtoFailurePolicy( o.maxNumRetries!, unittest.equals(42), ); + unittest.expect( + o.retryCondition!, + unittest.equals('foo'), + ); unittest.expect( o.retryStrategy!, unittest.equals('foo'), @@ -7147,6 +7153,7 @@ api.GoogleCloudIntegrationsV1alphaFailurePolicy final o = api.GoogleCloudIntegrationsV1alphaFailurePolicy(); buildCounterGoogleCloudIntegrationsV1alphaFailurePolicy++; if (buildCounterGoogleCloudIntegrationsV1alphaFailurePolicy < 3) { + o.condition = 'foo'; o.intervalTime = 'foo'; o.maxRetries = 42; o.retryStrategy = 'foo'; @@ -7159,6 +7166,10 @@ void checkGoogleCloudIntegrationsV1alphaFailurePolicy( api.GoogleCloudIntegrationsV1alphaFailurePolicy o) { buildCounterGoogleCloudIntegrationsV1alphaFailurePolicy++; if (buildCounterGoogleCloudIntegrationsV1alphaFailurePolicy < 3) { + unittest.expect( + o.condition!, + unittest.equals('foo'), + ); unittest.expect( o.intervalTime!, unittest.equals('foo'), diff --git a/generated/googleapis/test/jobs/v3_test.dart b/generated/googleapis/test/jobs/v3_test.dart index 37c3c09f2..8c81a2e6d 100644 --- a/generated/googleapis/test/jobs/v3_test.dart +++ b/generated/googleapis/test/jobs/v3_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/jobs/v4_test.dart b/generated/googleapis/test/jobs/v4_test.dart index 06a29fb9d..f4e704b09 100644 --- a/generated/googleapis/test/jobs/v4_test.dart +++ b/generated/googleapis/test/jobs/v4_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/keep/v1_test.dart b/generated/googleapis/test/keep/v1_test.dart index cfcd72190..763f186e0 100644 --- a/generated/googleapis/test/keep/v1_test.dart +++ b/generated/googleapis/test/keep/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/kgsearch/v1_test.dart b/generated/googleapis/test/kgsearch/v1_test.dart index 166c3e669..e72fa9575 100644 --- a/generated/googleapis/test/kgsearch/v1_test.dart +++ b/generated/googleapis/test/kgsearch/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/kmsinventory/v1_test.dart b/generated/googleapis/test/kmsinventory/v1_test.dart index 570b239b9..8a9527c75 100644 --- a/generated/googleapis/test/kmsinventory/v1_test.dart +++ b/generated/googleapis/test/kmsinventory/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/language/v1_test.dart b/generated/googleapis/test/language/v1_test.dart index 2aa0b5b48..b295a3000 100644 --- a/generated/googleapis/test/language/v1_test.dart +++ b/generated/googleapis/test/language/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/language/v2_test.dart b/generated/googleapis/test/language/v2_test.dart index 5a168d53d..7ecfc130e 100644 --- a/generated/googleapis/test/language/v2_test.dart +++ b/generated/googleapis/test/language/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/libraryagent/v1_test.dart b/generated/googleapis/test/libraryagent/v1_test.dart index 11281633c..0ad9cd73c 100644 --- a/generated/googleapis/test/libraryagent/v1_test.dart +++ b/generated/googleapis/test/libraryagent/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/licensing/v1_test.dart b/generated/googleapis/test/licensing/v1_test.dart index 607b50684..7d180e3b3 100644 --- a/generated/googleapis/test/licensing/v1_test.dart +++ b/generated/googleapis/test/licensing/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/localservices/v1_test.dart b/generated/googleapis/test/localservices/v1_test.dart index ede66a6fe..0fd180eb5 100644 --- a/generated/googleapis/test/localservices/v1_test.dart +++ b/generated/googleapis/test/localservices/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/logging/v2_test.dart b/generated/googleapis/test/logging/v2_test.dart index 4496bc926..5282f4694 100644 --- a/generated/googleapis/test/logging/v2_test.dart +++ b/generated/googleapis/test/logging/v2_test.dart @@ -1,6 +1,7 @@ // 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 @@ -1828,6 +1829,7 @@ api.LogMetric buildLogMetric() { o.labelExtractors = buildUnnamed30(); o.metricDescriptor = buildMetricDescriptor(); o.name = 'foo'; + o.resourceName = 'foo'; o.updateTime = 'foo'; o.valueExtractor = 'foo'; o.version = 'foo'; @@ -1863,6 +1865,10 @@ void checkLogMetric(api.LogMetric o) { o.name!, unittest.equals('foo'), ); + unittest.expect( + o.resourceName!, + unittest.equals('foo'), + ); unittest.expect( o.updateTime!, unittest.equals('foo'), diff --git a/generated/googleapis/test/looker/v1_test.dart b/generated/googleapis/test/looker/v1_test.dart index 183e6abc1..51cb55b38 100644 --- a/generated/googleapis/test/looker/v1_test.dart +++ b/generated/googleapis/test/looker/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/managedidentities/v1_test.dart b/generated/googleapis/test/managedidentities/v1_test.dart index 5be86ab6a..9b1fdc96e 100644 --- a/generated/googleapis/test/managedidentities/v1_test.dart +++ b/generated/googleapis/test/managedidentities/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/manufacturers/v1_test.dart b/generated/googleapis/test/manufacturers/v1_test.dart index a91ba4489..f095ed04f 100644 --- a/generated/googleapis/test/manufacturers/v1_test.dart +++ b/generated/googleapis/test/manufacturers/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/memcache/v1_test.dart b/generated/googleapis/test/memcache/v1_test.dart index 904c4450d..2ae4d2bb8 100644 --- a/generated/googleapis/test/memcache/v1_test.dart +++ b/generated/googleapis/test/memcache/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/metastore/v1_test.dart b/generated/googleapis/test/metastore/v1_test.dart index 862506e53..aa8fb72b5 100644 --- a/generated/googleapis/test/metastore/v1_test.dart +++ b/generated/googleapis/test/metastore/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -1801,6 +1802,7 @@ api.Service buildService() { o.artifactGcsUri = 'foo'; o.createTime = 'foo'; o.databaseType = 'foo'; + o.deletionProtection = true; o.encryptionConfig = buildEncryptionConfig(); o.endpointUri = 'foo'; o.hiveMetastoreConfig = buildHiveMetastoreConfig(); @@ -1841,6 +1843,7 @@ void checkService(api.Service o) { o.databaseType!, unittest.equals('foo'), ); + unittest.expect(o.deletionProtection!, unittest.isTrue); checkEncryptionConfig(o.encryptionConfig!); unittest.expect( o.endpointUri!, @@ -4679,6 +4682,257 @@ void main() { }); }); + unittest.group('resource-ProjectsLocationsServicesDatabasesResource', () { + unittest.test('method--getIamPolicy', () async { + final mock = HttpServerMock(); + final res = + api.DataprocMetastoreApi(mock).projects.locations.services.databases; + final arg_resource = 'foo'; + final arg_options_requestedPolicyVersion = 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 + 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['options.requestedPolicyVersion']!.first), + unittest.equals(arg_options_requestedPolicyVersion), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildPolicy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.getIamPolicy(arg_resource, + options_requestedPolicyVersion: arg_options_requestedPolicyVersion, + $fields: arg_$fields); + checkPolicy(response as api.Policy); + }); + + unittest.test('method--setIamPolicy', () async { + final mock = HttpServerMock(); + final res = + api.DataprocMetastoreApi(mock).projects.locations.services.databases; + final arg_request = buildSetIamPolicyRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.SetIamPolicyRequest.fromJson( + json as core.Map); + checkSetIamPolicyRequest(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(buildPolicy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.setIamPolicy(arg_request, arg_resource, + $fields: arg_$fields); + checkPolicy(response as api.Policy); + }); + }); + + unittest.group('resource-ProjectsLocationsServicesDatabasesTablesResource', + () { + unittest.test('method--getIamPolicy', () async { + final mock = HttpServerMock(); + final res = api.DataprocMetastoreApi(mock) + .projects + .locations + .services + .databases + .tables; + final arg_resource = 'foo'; + final arg_options_requestedPolicyVersion = 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 + 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['options.requestedPolicyVersion']!.first), + unittest.equals(arg_options_requestedPolicyVersion), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildPolicy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.getIamPolicy(arg_resource, + options_requestedPolicyVersion: arg_options_requestedPolicyVersion, + $fields: arg_$fields); + checkPolicy(response as api.Policy); + }); + + unittest.test('method--setIamPolicy', () async { + final mock = HttpServerMock(); + final res = api.DataprocMetastoreApi(mock) + .projects + .locations + .services + .databases + .tables; + final arg_request = buildSetIamPolicyRequest(); + final arg_resource = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.SetIamPolicyRequest.fromJson( + json as core.Map); + checkSetIamPolicyRequest(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(buildPolicy()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.setIamPolicy(arg_request, arg_resource, + $fields: arg_$fields); + checkPolicy(response as api.Policy); + }); + }); + unittest.group('resource-ProjectsLocationsServicesMetadataImportsResource', () { unittest.test('method--create', () async { diff --git a/generated/googleapis/test/migrationcenter/v1_test.dart b/generated/googleapis/test/migrationcenter/v1_test.dart index 8c5465a93..f44997df4 100644 --- a/generated/googleapis/test/migrationcenter/v1_test.dart +++ b/generated/googleapis/test/migrationcenter/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/ml/v1_test.dart b/generated/googleapis/test/ml/v1_test.dart index d3ecbe355..4957ba588 100644 --- a/generated/googleapis/test/ml/v1_test.dart +++ b/generated/googleapis/test/ml/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/monitoring/v3_test.dart b/generated/googleapis/test/monitoring/v3_test.dart index 281dcf436..75370877d 100644 --- a/generated/googleapis/test/monitoring/v3_test.dart +++ b/generated/googleapis/test/monitoring/v3_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/mybusinessaccountmanagement/v1_test.dart b/generated/googleapis/test/mybusinessaccountmanagement/v1_test.dart index 779489f8b..bda3523f8 100644 --- a/generated/googleapis/test/mybusinessaccountmanagement/v1_test.dart +++ b/generated/googleapis/test/mybusinessaccountmanagement/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/mybusinessbusinessinformation/v1_test.dart b/generated/googleapis/test/mybusinessbusinessinformation/v1_test.dart index c429cf99b..410fed7f3 100644 --- a/generated/googleapis/test/mybusinessbusinessinformation/v1_test.dart +++ b/generated/googleapis/test/mybusinessbusinessinformation/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/mybusinesslodging/v1_test.dart b/generated/googleapis/test/mybusinesslodging/v1_test.dart index fa884fd92..8b6134e35 100644 --- a/generated/googleapis/test/mybusinesslodging/v1_test.dart +++ b/generated/googleapis/test/mybusinesslodging/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/mybusinessnotifications/v1_test.dart b/generated/googleapis/test/mybusinessnotifications/v1_test.dart index 76a228ea2..33074710d 100644 --- a/generated/googleapis/test/mybusinessnotifications/v1_test.dart +++ b/generated/googleapis/test/mybusinessnotifications/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/mybusinessplaceactions/v1_test.dart b/generated/googleapis/test/mybusinessplaceactions/v1_test.dart index e86de7c4e..738bb2046 100644 --- a/generated/googleapis/test/mybusinessplaceactions/v1_test.dart +++ b/generated/googleapis/test/mybusinessplaceactions/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/mybusinessqanda/v1_test.dart b/generated/googleapis/test/mybusinessqanda/v1_test.dart index 9f52afb5b..7261b316f 100644 --- a/generated/googleapis/test/mybusinessqanda/v1_test.dart +++ b/generated/googleapis/test/mybusinessqanda/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/mybusinessverifications/v1_test.dart b/generated/googleapis/test/mybusinessverifications/v1_test.dart index 29a125d4b..4307dc83a 100644 --- a/generated/googleapis/test/mybusinessverifications/v1_test.dart +++ b/generated/googleapis/test/mybusinessverifications/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/networkconnectivity/v1_test.dart b/generated/googleapis/test/networkconnectivity/v1_test.dart index 989b6c407..4fa3d33a0 100644 --- a/generated/googleapis/test/networkconnectivity/v1_test.dart +++ b/generated/googleapis/test/networkconnectivity/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -144,13 +145,49 @@ void checkUnnamed2(core.List o) { ); } +core.int buildCounterAutoAccept = 0; +api.AutoAccept buildAutoAccept() { + final o = api.AutoAccept(); + buildCounterAutoAccept++; + if (buildCounterAutoAccept < 3) { + o.autoAcceptProjects = buildUnnamed2(); + } + buildCounterAutoAccept--; + return o; +} + +void checkAutoAccept(api.AutoAccept o) { + buildCounterAutoAccept++; + if (buildCounterAutoAccept < 3) { + checkUnnamed2(o.autoAcceptProjects!); + } + buildCounterAutoAccept--; +} + +core.List buildUnnamed3() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed3(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 buildCounterBinding = 0; api.Binding buildBinding() { final o = api.Binding(); buildCounterBinding++; if (buildCounterBinding < 3) { o.condition = buildExpr(); - o.members = buildUnnamed2(); + o.members = buildUnnamed3(); o.role = 'foo'; } buildCounterBinding--; @@ -161,7 +198,7 @@ void checkBinding(api.Binding o) { buildCounterBinding++; if (buildCounterBinding < 3) { checkExpr(o.condition!); - checkUnnamed2(o.members!); + checkUnnamed3(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -391,12 +428,12 @@ void checkGoogleLongrunningCancelOperationRequest( buildCounterGoogleLongrunningCancelOperationRequest--; } -core.List buildUnnamed3() => [ +core.List buildUnnamed4() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed3(core.List o) { +void checkUnnamed4(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -409,7 +446,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed3(); + o.operations = buildUnnamed4(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -423,12 +460,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed3(o.operations!); + checkUnnamed4(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed4() => { +core.Map buildUnnamed5() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -441,7 +478,7 @@ core.Map buildUnnamed4() => { }, }; -void checkUnnamed4(core.Map o) { +void checkUnnamed5(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -473,7 +510,7 @@ void checkUnnamed4(core.Map o) { ); } -core.Map buildUnnamed5() => { +core.Map buildUnnamed6() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -486,7 +523,7 @@ core.Map buildUnnamed5() => { }, }; -void checkUnnamed5(core.Map o) { +void checkUnnamed6(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -525,9 +562,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed4(); + o.metadata = buildUnnamed5(); o.name = 'foo'; - o.response = buildUnnamed5(); + o.response = buildUnnamed6(); } buildCounterGoogleLongrunningOperation--; return o; @@ -538,22 +575,22 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed4(o.metadata!); + checkUnnamed5(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed5(o.response!); + checkUnnamed6(o.response!); } buildCounterGoogleLongrunningOperation--; } -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']!, @@ -571,7 +608,7 @@ api.GoogleRpcErrorInfo buildGoogleRpcErrorInfo() { buildCounterGoogleRpcErrorInfo++; if (buildCounterGoogleRpcErrorInfo < 3) { o.domain = 'foo'; - o.metadata = buildUnnamed6(); + o.metadata = buildUnnamed7(); o.reason = 'foo'; } buildCounterGoogleRpcErrorInfo--; @@ -585,7 +622,7 @@ void checkGoogleRpcErrorInfo(api.GoogleRpcErrorInfo o) { o.domain!, unittest.equals('foo'), ); - checkUnnamed6(o.metadata!); + checkUnnamed7(o.metadata!); unittest.expect( o.reason!, unittest.equals('foo'), @@ -594,7 +631,7 @@ void checkGoogleRpcErrorInfo(api.GoogleRpcErrorInfo o) { buildCounterGoogleRpcErrorInfo--; } -core.Map buildUnnamed7() => { +core.Map buildUnnamed8() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -607,7 +644,7 @@ core.Map buildUnnamed7() => { }, }; -void checkUnnamed7(core.Map o) { +void checkUnnamed8(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -639,15 +676,15 @@ void checkUnnamed7(core.Map o) { ); } -core.List> buildUnnamed8() => [ - buildUnnamed7(), - buildUnnamed7(), +core.List> buildUnnamed9() => [ + buildUnnamed8(), + buildUnnamed8(), ]; -void checkUnnamed8(core.List> o) { +void checkUnnamed9(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed7(o[0]); - checkUnnamed7(o[1]); + checkUnnamed8(o[0]); + checkUnnamed8(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -656,7 +693,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed8(); + o.details = buildUnnamed9(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -670,7 +707,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed8(o.details!); + checkUnnamed9(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -679,12 +716,12 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { buildCounterGoogleRpcStatus--; } -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']!, @@ -701,10 +738,12 @@ api.Group buildGroup() { final o = api.Group(); buildCounterGroup++; if (buildCounterGroup < 3) { + o.autoAccept = buildAutoAccept(); o.createTime = 'foo'; o.description = 'foo'; - o.labels = buildUnnamed9(); + o.labels = buildUnnamed10(); o.name = 'foo'; + o.routeTable = 'foo'; o.state = 'foo'; o.uid = 'foo'; o.updateTime = 'foo'; @@ -716,6 +755,7 @@ api.Group buildGroup() { void checkGroup(api.Group o) { buildCounterGroup++; if (buildCounterGroup < 3) { + checkAutoAccept(o.autoAccept!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -724,11 +764,15 @@ void checkGroup(api.Group o) { o.description!, unittest.equals('foo'), ); - checkUnnamed9(o.labels!); + checkUnnamed10(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); + unittest.expect( + o.routeTable!, + unittest.equals('foo'), + ); unittest.expect( o.state!, unittest.equals('foo'), @@ -745,12 +789,12 @@ void checkGroup(api.Group o) { buildCounterGroup--; } -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']!, @@ -762,12 +806,12 @@ void checkUnnamed10(core.Map o) { ); } -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], @@ -779,12 +823,12 @@ void checkUnnamed11(core.List o) { ); } -core.List buildUnnamed12() => [ +core.List buildUnnamed13() => [ buildRoutingVPC(), buildRoutingVPC(), ]; -void checkUnnamed12(core.List o) { +void checkUnnamed13(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoutingVPC(o[0]); checkRoutingVPC(o[1]); @@ -797,10 +841,13 @@ api.Hub buildHub() { if (buildCounterHub < 3) { o.createTime = 'foo'; o.description = 'foo'; - o.labels = buildUnnamed10(); + o.exportPsc = true; + o.labels = buildUnnamed11(); o.name = 'foo'; - o.routeTables = buildUnnamed11(); - o.routingVpcs = buildUnnamed12(); + o.policyMode = 'foo'; + o.presetTopology = 'foo'; + o.routeTables = buildUnnamed12(); + o.routingVpcs = buildUnnamed13(); o.spokeSummary = buildSpokeSummary(); o.state = 'foo'; o.uniqueId = 'foo'; @@ -821,13 +868,22 @@ void checkHub(api.Hub o) { o.description!, unittest.equals('foo'), ); - checkUnnamed10(o.labels!); + unittest.expect(o.exportPsc!, unittest.isTrue); + checkUnnamed11(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed11(o.routeTables!); - checkUnnamed12(o.routingVpcs!); + unittest.expect( + o.policyMode!, + unittest.equals('foo'), + ); + unittest.expect( + o.presetTopology!, + unittest.equals('foo'), + ); + checkUnnamed12(o.routeTables!); + checkUnnamed13(o.routingVpcs!); checkSpokeSummary(o.spokeSummary!); unittest.expect( o.state!, @@ -867,12 +923,12 @@ void checkInterconnectAttachment(api.InterconnectAttachment o) { buildCounterInterconnectAttachment--; } -core.Map buildUnnamed13() => { +core.Map buildUnnamed14() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed13(core.Map o) { +void checkUnnamed14(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -884,12 +940,12 @@ void checkUnnamed13(core.Map o) { ); } -core.List buildUnnamed14() => [ +core.List buildUnnamed15() => [ 'foo', 'foo', ]; -void checkUnnamed14(core.List o) { +void checkUnnamed15(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -901,12 +957,12 @@ void checkUnnamed14(core.List 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], @@ -918,12 +974,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], @@ -943,16 +999,16 @@ api.InternalRange buildInternalRange() { o.createTime = 'foo'; o.description = 'foo'; o.ipCidrRange = 'foo'; - o.labels = buildUnnamed13(); + o.labels = buildUnnamed14(); o.name = 'foo'; o.network = 'foo'; - o.overlaps = buildUnnamed14(); + o.overlaps = buildUnnamed15(); o.peering = 'foo'; o.prefixLength = 42; - o.targetCidrRange = buildUnnamed15(); + o.targetCidrRange = buildUnnamed16(); o.updateTime = 'foo'; o.usage = 'foo'; - o.users = buildUnnamed16(); + o.users = buildUnnamed17(); } buildCounterInternalRange--; return o; @@ -973,7 +1029,7 @@ void checkInternalRange(api.InternalRange o) { o.ipCidrRange!, unittest.equals('foo'), ); - checkUnnamed13(o.labels!); + checkUnnamed14(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -982,7 +1038,7 @@ void checkInternalRange(api.InternalRange o) { o.network!, unittest.equals('foo'), ); - checkUnnamed14(o.overlaps!); + checkUnnamed15(o.overlaps!); unittest.expect( o.peering!, unittest.equals('foo'), @@ -991,7 +1047,7 @@ void checkInternalRange(api.InternalRange o) { o.prefixLength!, unittest.equals(42), ); - checkUnnamed15(o.targetCidrRange!); + checkUnnamed16(o.targetCidrRange!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -1000,17 +1056,17 @@ void checkInternalRange(api.InternalRange o) { o.usage!, unittest.equals('foo'), ); - checkUnnamed16(o.users!); + checkUnnamed17(o.users!); } buildCounterInternalRange--; } -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], @@ -1028,7 +1084,7 @@ api.LinkedInterconnectAttachments buildLinkedInterconnectAttachments() { buildCounterLinkedInterconnectAttachments++; if (buildCounterLinkedInterconnectAttachments < 3) { o.siteToSiteDataTransfer = true; - o.uris = buildUnnamed17(); + o.uris = buildUnnamed18(); o.vpcNetwork = 'foo'; } buildCounterLinkedInterconnectAttachments--; @@ -1039,7 +1095,7 @@ void checkLinkedInterconnectAttachments(api.LinkedInterconnectAttachments o) { buildCounterLinkedInterconnectAttachments++; if (buildCounterLinkedInterconnectAttachments < 3) { unittest.expect(o.siteToSiteDataTransfer!, unittest.isTrue); - checkUnnamed17(o.uris!); + checkUnnamed18(o.uris!); unittest.expect( o.vpcNetwork!, unittest.equals('foo'), @@ -1048,12 +1104,12 @@ void checkLinkedInterconnectAttachments(api.LinkedInterconnectAttachments o) { buildCounterLinkedInterconnectAttachments--; } -core.List buildUnnamed18() => [ +core.List buildUnnamed19() => [ buildRouterApplianceInstance(), buildRouterApplianceInstance(), ]; -void checkUnnamed18(core.List o) { +void checkUnnamed19(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouterApplianceInstance(o[0]); checkRouterApplianceInstance(o[1]); @@ -1064,7 +1120,7 @@ api.LinkedRouterApplianceInstances buildLinkedRouterApplianceInstances() { final o = api.LinkedRouterApplianceInstances(); buildCounterLinkedRouterApplianceInstances++; if (buildCounterLinkedRouterApplianceInstances < 3) { - o.instances = buildUnnamed18(); + o.instances = buildUnnamed19(); o.siteToSiteDataTransfer = true; o.vpcNetwork = 'foo'; } @@ -1075,7 +1131,7 @@ api.LinkedRouterApplianceInstances buildLinkedRouterApplianceInstances() { void checkLinkedRouterApplianceInstances(api.LinkedRouterApplianceInstances o) { buildCounterLinkedRouterApplianceInstances++; if (buildCounterLinkedRouterApplianceInstances < 3) { - checkUnnamed18(o.instances!); + checkUnnamed19(o.instances!); unittest.expect(o.siteToSiteDataTransfer!, unittest.isTrue); unittest.expect( o.vpcNetwork!, @@ -1085,12 +1141,12 @@ void checkLinkedRouterApplianceInstances(api.LinkedRouterApplianceInstances o) { buildCounterLinkedRouterApplianceInstances--; } -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], @@ -1107,7 +1163,7 @@ api.LinkedVpcNetwork buildLinkedVpcNetwork() { final o = api.LinkedVpcNetwork(); buildCounterLinkedVpcNetwork++; if (buildCounterLinkedVpcNetwork < 3) { - o.excludeExportRanges = buildUnnamed19(); + o.excludeExportRanges = buildUnnamed20(); o.uri = 'foo'; } buildCounterLinkedVpcNetwork--; @@ -1117,7 +1173,7 @@ api.LinkedVpcNetwork buildLinkedVpcNetwork() { void checkLinkedVpcNetwork(api.LinkedVpcNetwork o) { buildCounterLinkedVpcNetwork++; if (buildCounterLinkedVpcNetwork < 3) { - checkUnnamed19(o.excludeExportRanges!); + checkUnnamed20(o.excludeExportRanges!); unittest.expect( o.uri!, unittest.equals('foo'), @@ -1126,12 +1182,12 @@ void checkLinkedVpcNetwork(api.LinkedVpcNetwork o) { buildCounterLinkedVpcNetwork--; } -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], @@ -1149,7 +1205,7 @@ api.LinkedVpnTunnels buildLinkedVpnTunnels() { buildCounterLinkedVpnTunnels++; if (buildCounterLinkedVpnTunnels < 3) { o.siteToSiteDataTransfer = true; - o.uris = buildUnnamed20(); + o.uris = buildUnnamed21(); o.vpcNetwork = 'foo'; } buildCounterLinkedVpnTunnels--; @@ -1160,7 +1216,7 @@ void checkLinkedVpnTunnels(api.LinkedVpnTunnels o) { buildCounterLinkedVpnTunnels++; if (buildCounterLinkedVpnTunnels < 3) { unittest.expect(o.siteToSiteDataTransfer!, unittest.isTrue); - checkUnnamed20(o.uris!); + checkUnnamed21(o.uris!); unittest.expect( o.vpcNetwork!, unittest.equals('foo'), @@ -1169,23 +1225,23 @@ void checkLinkedVpnTunnels(api.LinkedVpnTunnels o) { buildCounterLinkedVpnTunnels--; } -core.List buildUnnamed21() => [ +core.List buildUnnamed22() => [ buildGroup(), buildGroup(), ]; -void checkUnnamed21(core.List o) { +void checkUnnamed22(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGroup(o[0]); checkGroup(o[1]); } -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], @@ -1202,9 +1258,9 @@ api.ListGroupsResponse buildListGroupsResponse() { final o = api.ListGroupsResponse(); buildCounterListGroupsResponse++; if (buildCounterListGroupsResponse < 3) { - o.groups = buildUnnamed21(); + o.groups = buildUnnamed22(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed22(); + o.unreachable = buildUnnamed23(); } buildCounterListGroupsResponse--; return o; @@ -1213,33 +1269,33 @@ api.ListGroupsResponse buildListGroupsResponse() { void checkListGroupsResponse(api.ListGroupsResponse o) { buildCounterListGroupsResponse++; if (buildCounterListGroupsResponse < 3) { - checkUnnamed21(o.groups!); + checkUnnamed22(o.groups!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed22(o.unreachable!); + checkUnnamed23(o.unreachable!); } buildCounterListGroupsResponse--; } -core.List buildUnnamed23() => [ +core.List buildUnnamed24() => [ buildSpoke(), buildSpoke(), ]; -void checkUnnamed23(core.List o) { +void checkUnnamed24(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpoke(o[0]); checkSpoke(o[1]); } -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], @@ -1257,8 +1313,8 @@ api.ListHubSpokesResponse buildListHubSpokesResponse() { buildCounterListHubSpokesResponse++; if (buildCounterListHubSpokesResponse < 3) { o.nextPageToken = 'foo'; - o.spokes = buildUnnamed23(); - o.unreachable = buildUnnamed24(); + o.spokes = buildUnnamed24(); + o.unreachable = buildUnnamed25(); } buildCounterListHubSpokesResponse--; return o; @@ -1271,29 +1327,29 @@ void checkListHubSpokesResponse(api.ListHubSpokesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed23(o.spokes!); - checkUnnamed24(o.unreachable!); + checkUnnamed24(o.spokes!); + checkUnnamed25(o.unreachable!); } buildCounterListHubSpokesResponse--; } -core.List buildUnnamed25() => [ +core.List buildUnnamed26() => [ buildHub(), buildHub(), ]; -void checkUnnamed25(core.List o) { +void checkUnnamed26(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHub(o[0]); checkHub(o[1]); } -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], @@ -1310,9 +1366,9 @@ api.ListHubsResponse buildListHubsResponse() { final o = api.ListHubsResponse(); buildCounterListHubsResponse++; if (buildCounterListHubsResponse < 3) { - o.hubs = buildUnnamed25(); + o.hubs = buildUnnamed26(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed26(); + o.unreachable = buildUnnamed27(); } buildCounterListHubsResponse--; return o; @@ -1321,33 +1377,33 @@ api.ListHubsResponse buildListHubsResponse() { void checkListHubsResponse(api.ListHubsResponse o) { buildCounterListHubsResponse++; if (buildCounterListHubsResponse < 3) { - checkUnnamed25(o.hubs!); + checkUnnamed26(o.hubs!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed26(o.unreachable!); + checkUnnamed27(o.unreachable!); } buildCounterListHubsResponse--; } -core.List buildUnnamed27() => [ +core.List buildUnnamed28() => [ buildInternalRange(), buildInternalRange(), ]; -void checkUnnamed27(core.List o) { +void checkUnnamed28(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkInternalRange(o[0]); checkInternalRange(o[1]); } -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], @@ -1364,9 +1420,9 @@ api.ListInternalRangesResponse buildListInternalRangesResponse() { final o = api.ListInternalRangesResponse(); buildCounterListInternalRangesResponse++; if (buildCounterListInternalRangesResponse < 3) { - o.internalRanges = buildUnnamed27(); + o.internalRanges = buildUnnamed28(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed28(); + o.unreachable = buildUnnamed29(); } buildCounterListInternalRangesResponse--; return o; @@ -1375,22 +1431,22 @@ api.ListInternalRangesResponse buildListInternalRangesResponse() { void checkListInternalRangesResponse(api.ListInternalRangesResponse o) { buildCounterListInternalRangesResponse++; if (buildCounterListInternalRangesResponse < 3) { - checkUnnamed27(o.internalRanges!); + checkUnnamed28(o.internalRanges!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed28(o.unreachable!); + checkUnnamed29(o.unreachable!); } buildCounterListInternalRangesResponse--; } -core.List buildUnnamed29() => [ +core.List buildUnnamed30() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed29(core.List o) { +void checkUnnamed30(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -1401,7 +1457,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed29(); + o.locations = buildUnnamed30(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -1411,7 +1467,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed29(o.locations!); + checkUnnamed30(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -1420,23 +1476,23 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed30() => [ +core.List buildUnnamed31() => [ buildPolicyBasedRoute(), buildPolicyBasedRoute(), ]; -void checkUnnamed30(core.List o) { +void checkUnnamed31(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPolicyBasedRoute(o[0]); checkPolicyBasedRoute(o[1]); } -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], @@ -1454,8 +1510,8 @@ api.ListPolicyBasedRoutesResponse buildListPolicyBasedRoutesResponse() { buildCounterListPolicyBasedRoutesResponse++; if (buildCounterListPolicyBasedRoutesResponse < 3) { o.nextPageToken = 'foo'; - o.policyBasedRoutes = buildUnnamed30(); - o.unreachable = buildUnnamed31(); + o.policyBasedRoutes = buildUnnamed31(); + o.unreachable = buildUnnamed32(); } buildCounterListPolicyBasedRoutesResponse--; return o; @@ -1468,29 +1524,29 @@ void checkListPolicyBasedRoutesResponse(api.ListPolicyBasedRoutesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed30(o.policyBasedRoutes!); - checkUnnamed31(o.unreachable!); + checkUnnamed31(o.policyBasedRoutes!); + checkUnnamed32(o.unreachable!); } buildCounterListPolicyBasedRoutesResponse--; } -core.List buildUnnamed32() => [ +core.List buildUnnamed33() => [ buildRegionalEndpoint(), buildRegionalEndpoint(), ]; -void checkUnnamed32(core.List o) { +void checkUnnamed33(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRegionalEndpoint(o[0]); checkRegionalEndpoint(o[1]); } -core.List buildUnnamed33() => [ +core.List buildUnnamed34() => [ 'foo', 'foo', ]; -void checkUnnamed33(core.List o) { +void checkUnnamed34(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1508,8 +1564,8 @@ api.ListRegionalEndpointsResponse buildListRegionalEndpointsResponse() { buildCounterListRegionalEndpointsResponse++; if (buildCounterListRegionalEndpointsResponse < 3) { o.nextPageToken = 'foo'; - o.regionalEndpoints = buildUnnamed32(); - o.unreachable = buildUnnamed33(); + o.regionalEndpoints = buildUnnamed33(); + o.unreachable = buildUnnamed34(); } buildCounterListRegionalEndpointsResponse--; return o; @@ -1522,29 +1578,29 @@ void checkListRegionalEndpointsResponse(api.ListRegionalEndpointsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed32(o.regionalEndpoints!); - checkUnnamed33(o.unreachable!); + checkUnnamed33(o.regionalEndpoints!); + checkUnnamed34(o.unreachable!); } buildCounterListRegionalEndpointsResponse--; } -core.List buildUnnamed34() => [ +core.List buildUnnamed35() => [ buildRouteTable(), buildRouteTable(), ]; -void checkUnnamed34(core.List o) { +void checkUnnamed35(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRouteTable(o[0]); checkRouteTable(o[1]); } -core.List buildUnnamed35() => [ +core.List buildUnnamed36() => [ 'foo', 'foo', ]; -void checkUnnamed35(core.List o) { +void checkUnnamed36(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1562,8 +1618,8 @@ api.ListRouteTablesResponse buildListRouteTablesResponse() { buildCounterListRouteTablesResponse++; if (buildCounterListRouteTablesResponse < 3) { o.nextPageToken = 'foo'; - o.routeTables = buildUnnamed34(); - o.unreachable = buildUnnamed35(); + o.routeTables = buildUnnamed35(); + o.unreachable = buildUnnamed36(); } buildCounterListRouteTablesResponse--; return o; @@ -1576,29 +1632,29 @@ void checkListRouteTablesResponse(api.ListRouteTablesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed34(o.routeTables!); - checkUnnamed35(o.unreachable!); + checkUnnamed35(o.routeTables!); + checkUnnamed36(o.unreachable!); } buildCounterListRouteTablesResponse--; } -core.List buildUnnamed36() => [ +core.List buildUnnamed37() => [ buildRoute(), buildRoute(), ]; -void checkUnnamed36(core.List o) { +void checkUnnamed37(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRoute(o[0]); checkRoute(o[1]); } -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], @@ -1616,8 +1672,8 @@ api.ListRoutesResponse buildListRoutesResponse() { buildCounterListRoutesResponse++; if (buildCounterListRoutesResponse < 3) { o.nextPageToken = 'foo'; - o.routes = buildUnnamed36(); - o.unreachable = buildUnnamed37(); + o.routes = buildUnnamed37(); + o.unreachable = buildUnnamed38(); } buildCounterListRoutesResponse--; return o; @@ -1630,29 +1686,29 @@ void checkListRoutesResponse(api.ListRoutesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed36(o.routes!); - checkUnnamed37(o.unreachable!); + checkUnnamed37(o.routes!); + checkUnnamed38(o.unreachable!); } buildCounterListRoutesResponse--; } -core.List buildUnnamed38() => [ +core.List buildUnnamed39() => [ buildServiceClass(), buildServiceClass(), ]; -void checkUnnamed38(core.List o) { +void checkUnnamed39(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceClass(o[0]); checkServiceClass(o[1]); } -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], @@ -1670,8 +1726,8 @@ api.ListServiceClassesResponse buildListServiceClassesResponse() { buildCounterListServiceClassesResponse++; if (buildCounterListServiceClassesResponse < 3) { o.nextPageToken = 'foo'; - o.serviceClasses = buildUnnamed38(); - o.unreachable = buildUnnamed39(); + o.serviceClasses = buildUnnamed39(); + o.unreachable = buildUnnamed40(); } buildCounterListServiceClassesResponse--; return o; @@ -1684,29 +1740,29 @@ void checkListServiceClassesResponse(api.ListServiceClassesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed38(o.serviceClasses!); - checkUnnamed39(o.unreachable!); + checkUnnamed39(o.serviceClasses!); + checkUnnamed40(o.unreachable!); } buildCounterListServiceClassesResponse--; } -core.List buildUnnamed40() => [ +core.List buildUnnamed41() => [ buildServiceConnectionMap(), buildServiceConnectionMap(), ]; -void checkUnnamed40(core.List o) { +void checkUnnamed41(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceConnectionMap(o[0]); checkServiceConnectionMap(o[1]); } -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], @@ -1724,8 +1780,8 @@ api.ListServiceConnectionMapsResponse buildListServiceConnectionMapsResponse() { buildCounterListServiceConnectionMapsResponse++; if (buildCounterListServiceConnectionMapsResponse < 3) { o.nextPageToken = 'foo'; - o.serviceConnectionMaps = buildUnnamed40(); - o.unreachable = buildUnnamed41(); + o.serviceConnectionMaps = buildUnnamed41(); + o.unreachable = buildUnnamed42(); } buildCounterListServiceConnectionMapsResponse--; return o; @@ -1739,29 +1795,29 @@ void checkListServiceConnectionMapsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed40(o.serviceConnectionMaps!); - checkUnnamed41(o.unreachable!); + checkUnnamed41(o.serviceConnectionMaps!); + checkUnnamed42(o.unreachable!); } buildCounterListServiceConnectionMapsResponse--; } -core.List buildUnnamed42() => [ +core.List buildUnnamed43() => [ buildServiceConnectionPolicy(), buildServiceConnectionPolicy(), ]; -void checkUnnamed42(core.List o) { +void checkUnnamed43(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceConnectionPolicy(o[0]); checkServiceConnectionPolicy(o[1]); } -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], @@ -1780,8 +1836,8 @@ api.ListServiceConnectionPoliciesResponse buildCounterListServiceConnectionPoliciesResponse++; if (buildCounterListServiceConnectionPoliciesResponse < 3) { o.nextPageToken = 'foo'; - o.serviceConnectionPolicies = buildUnnamed42(); - o.unreachable = buildUnnamed43(); + o.serviceConnectionPolicies = buildUnnamed43(); + o.unreachable = buildUnnamed44(); } buildCounterListServiceConnectionPoliciesResponse--; return o; @@ -1795,29 +1851,29 @@ void checkListServiceConnectionPoliciesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed42(o.serviceConnectionPolicies!); - checkUnnamed43(o.unreachable!); + checkUnnamed43(o.serviceConnectionPolicies!); + checkUnnamed44(o.unreachable!); } buildCounterListServiceConnectionPoliciesResponse--; } -core.List buildUnnamed44() => [ +core.List buildUnnamed45() => [ buildServiceConnectionToken(), buildServiceConnectionToken(), ]; -void checkUnnamed44(core.List o) { +void checkUnnamed45(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceConnectionToken(o[0]); checkServiceConnectionToken(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], @@ -1836,8 +1892,8 @@ api.ListServiceConnectionTokensResponse buildCounterListServiceConnectionTokensResponse++; if (buildCounterListServiceConnectionTokensResponse < 3) { o.nextPageToken = 'foo'; - o.serviceConnectionTokens = buildUnnamed44(); - o.unreachable = buildUnnamed45(); + o.serviceConnectionTokens = buildUnnamed45(); + o.unreachable = buildUnnamed46(); } buildCounterListServiceConnectionTokensResponse--; return o; @@ -1851,29 +1907,29 @@ void checkListServiceConnectionTokensResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed44(o.serviceConnectionTokens!); - checkUnnamed45(o.unreachable!); + checkUnnamed45(o.serviceConnectionTokens!); + checkUnnamed46(o.unreachable!); } buildCounterListServiceConnectionTokensResponse--; } -core.List buildUnnamed46() => [ +core.List buildUnnamed47() => [ buildSpoke(), buildSpoke(), ]; -void checkUnnamed46(core.List o) { +void checkUnnamed47(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpoke(o[0]); checkSpoke(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], @@ -1891,8 +1947,8 @@ api.ListSpokesResponse buildListSpokesResponse() { buildCounterListSpokesResponse++; if (buildCounterListSpokesResponse < 3) { o.nextPageToken = 'foo'; - o.spokes = buildUnnamed46(); - o.unreachable = buildUnnamed47(); + o.spokes = buildUnnamed47(); + o.unreachable = buildUnnamed48(); } buildCounterListSpokesResponse--; return o; @@ -1905,18 +1961,18 @@ void checkListSpokesResponse(api.ListSpokesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed46(o.spokes!); - checkUnnamed47(o.unreachable!); + checkUnnamed47(o.spokes!); + checkUnnamed48(o.unreachable!); } buildCounterListSpokesResponse--; } -core.Map buildUnnamed48() => { +core.Map buildUnnamed49() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed48(core.Map o) { +void checkUnnamed49(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1928,7 +1984,7 @@ void checkUnnamed48(core.Map o) { ); } -core.Map buildUnnamed49() => { +core.Map buildUnnamed50() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1941,7 +1997,7 @@ core.Map buildUnnamed49() => { }, }; -void checkUnnamed49(core.Map o) { +void checkUnnamed50(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1979,9 +2035,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed48(); + o.labels = buildUnnamed49(); o.locationId = 'foo'; - o.metadata = buildUnnamed49(); + o.metadata = buildUnnamed50(); o.name = 'foo'; } buildCounterLocation--; @@ -1995,12 +2051,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed48(o.labels!); + checkUnnamed49(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed49(o.metadata!); + checkUnnamed50(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2031,23 +2087,23 @@ void checkNextHopVpcNetwork(api.NextHopVpcNetwork o) { buildCounterNextHopVpcNetwork--; } -core.List buildUnnamed50() => [ +core.List buildUnnamed51() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed50(core.List o) { +void checkUnnamed51(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed51() => [ +core.List buildUnnamed52() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed51(core.List o) { +void checkUnnamed52(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -2058,8 +2114,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed50(); - o.bindings = buildUnnamed51(); + o.auditConfigs = buildUnnamed51(); + o.bindings = buildUnnamed52(); o.etag = 'foo'; o.version = 42; } @@ -2070,8 +2126,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed50(o.auditConfigs!); - checkUnnamed51(o.bindings!); + checkUnnamed51(o.auditConfigs!); + checkUnnamed52(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -2084,12 +2140,12 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -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']!, @@ -2101,12 +2157,12 @@ void checkUnnamed52(core.Map o) { ); } -core.List buildUnnamed53() => [ +core.List buildUnnamed54() => [ buildWarnings(), buildWarnings(), ]; -void checkUnnamed53(core.List o) { +void checkUnnamed54(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWarnings(o[0]); checkWarnings(o[1]); @@ -2122,7 +2178,7 @@ api.PolicyBasedRoute buildPolicyBasedRoute() { o.filter = buildFilter(); o.interconnectAttachment = buildInterconnectAttachment(); o.kind = 'foo'; - o.labels = buildUnnamed52(); + o.labels = buildUnnamed53(); o.name = 'foo'; o.network = 'foo'; o.nextHopIlbIp = 'foo'; @@ -2131,7 +2187,7 @@ api.PolicyBasedRoute buildPolicyBasedRoute() { o.selfLink = 'foo'; o.updateTime = 'foo'; o.virtualMachine = buildVirtualMachine(); - o.warnings = buildUnnamed53(); + o.warnings = buildUnnamed54(); } buildCounterPolicyBasedRoute--; return o; @@ -2154,7 +2210,7 @@ void checkPolicyBasedRoute(api.PolicyBasedRoute o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed52(o.labels!); + checkUnnamed53(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2184,7 +2240,7 @@ void checkPolicyBasedRoute(api.PolicyBasedRoute o) { unittest.equals('foo'), ); checkVirtualMachine(o.virtualMachine!); - checkUnnamed53(o.warnings!); + checkUnnamed54(o.warnings!); } buildCounterPolicyBasedRoute--; } @@ -2211,12 +2267,12 @@ void checkProducerPscConfig(api.ProducerPscConfig o) { buildCounterProducerPscConfig--; } -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], @@ -2234,7 +2290,7 @@ api.PscConfig buildPscConfig() { buildCounterPscConfig++; if (buildCounterPscConfig < 3) { o.limit = 'foo'; - o.subnetworks = buildUnnamed54(); + o.subnetworks = buildUnnamed55(); } buildCounterPscConfig--; return o; @@ -2247,7 +2303,7 @@ void checkPscConfig(api.PscConfig o) { o.limit!, unittest.equals('foo'), ); - checkUnnamed54(o.subnetworks!); + checkUnnamed55(o.subnetworks!); } buildCounterPscConfig--; } @@ -2318,12 +2374,12 @@ void checkPscConnection(api.PscConnection o) { buildCounterPscConnection--; } -core.Map buildUnnamed55() => { +core.Map buildUnnamed56() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed55(core.Map o) { +void checkUnnamed56(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2345,7 +2401,7 @@ api.RegionalEndpoint buildRegionalEndpoint() { o.createTime = 'foo'; o.description = 'foo'; o.ipAddress = 'foo'; - o.labels = buildUnnamed55(); + o.labels = buildUnnamed56(); o.name = 'foo'; o.network = 'foo'; o.pscForwardingRule = 'foo'; @@ -2380,7 +2436,7 @@ void checkRegionalEndpoint(api.RegionalEndpoint o) { o.ipAddress!, unittest.equals('foo'), ); - checkUnnamed55(o.labels!); + checkUnnamed56(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2441,12 +2497,12 @@ void checkRejectHubSpokeRequest(api.RejectHubSpokeRequest o) { buildCounterRejectHubSpokeRequest--; } -core.Map buildUnnamed56() => { +core.Map buildUnnamed57() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed56(core.Map o) { +void checkUnnamed57(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2466,7 +2522,7 @@ api.Route buildRoute() { o.createTime = 'foo'; o.description = 'foo'; o.ipCidrRange = 'foo'; - o.labels = buildUnnamed56(); + o.labels = buildUnnamed57(); o.location = 'foo'; o.name = 'foo'; o.nextHopVpcNetwork = buildNextHopVpcNetwork(); @@ -2495,7 +2551,7 @@ void checkRoute(api.Route o) { o.ipCidrRange!, unittest.equals('foo'), ); - checkUnnamed56(o.labels!); + checkUnnamed57(o.labels!); unittest.expect( o.location!, unittest.equals('foo'), @@ -2529,12 +2585,12 @@ void checkRoute(api.Route o) { buildCounterRoute--; } -core.Map buildUnnamed57() => { +core.Map buildUnnamed58() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed57(core.Map o) { +void checkUnnamed58(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2553,7 +2609,7 @@ api.RouteTable buildRouteTable() { if (buildCounterRouteTable < 3) { o.createTime = 'foo'; o.description = 'foo'; - o.labels = buildUnnamed57(); + o.labels = buildUnnamed58(); o.name = 'foo'; o.state = 'foo'; o.uid = 'foo'; @@ -2574,7 +2630,7 @@ void checkRouteTable(api.RouteTable o) { o.description!, unittest.equals('foo'), ); - checkUnnamed57(o.labels!); + checkUnnamed58(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2647,12 +2703,12 @@ void checkRoutingVPC(api.RoutingVPC o) { buildCounterRoutingVPC--; } -core.Map buildUnnamed58() => { +core.Map buildUnnamed59() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed58(core.Map o) { +void checkUnnamed59(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2672,7 +2728,7 @@ api.ServiceClass buildServiceClass() { o.createTime = 'foo'; o.description = 'foo'; o.etag = 'foo'; - o.labels = buildUnnamed58(); + o.labels = buildUnnamed59(); o.name = 'foo'; o.serviceClass = 'foo'; o.updateTime = 'foo'; @@ -2696,7 +2752,7 @@ void checkServiceClass(api.ServiceClass o) { o.etag!, unittest.equals('foo'), ); - checkUnnamed58(o.labels!); + checkUnnamed59(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2713,34 +2769,34 @@ void checkServiceClass(api.ServiceClass o) { buildCounterServiceClass--; } -core.List buildUnnamed59() => [ +core.List buildUnnamed60() => [ buildConsumerPscConfig(), buildConsumerPscConfig(), ]; -void checkUnnamed59(core.List o) { +void checkUnnamed60(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConsumerPscConfig(o[0]); checkConsumerPscConfig(o[1]); } -core.List buildUnnamed60() => [ +core.List buildUnnamed61() => [ buildConsumerPscConnection(), buildConsumerPscConnection(), ]; -void checkUnnamed60(core.List o) { +void checkUnnamed61(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkConsumerPscConnection(o[0]); checkConsumerPscConnection(o[1]); } -core.Map buildUnnamed61() => { +core.Map buildUnnamed62() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed61(core.Map o) { +void checkUnnamed62(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2752,12 +2808,12 @@ void checkUnnamed61(core.Map o) { ); } -core.List buildUnnamed62() => [ +core.List buildUnnamed63() => [ buildProducerPscConfig(), buildProducerPscConfig(), ]; -void checkUnnamed62(core.List o) { +void checkUnnamed63(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkProducerPscConfig(o[0]); checkProducerPscConfig(o[1]); @@ -2768,15 +2824,15 @@ api.ServiceConnectionMap buildServiceConnectionMap() { final o = api.ServiceConnectionMap(); buildCounterServiceConnectionMap++; if (buildCounterServiceConnectionMap < 3) { - o.consumerPscConfigs = buildUnnamed59(); - o.consumerPscConnections = buildUnnamed60(); + o.consumerPscConfigs = buildUnnamed60(); + o.consumerPscConnections = buildUnnamed61(); o.createTime = 'foo'; o.description = 'foo'; o.etag = 'foo'; o.infrastructure = 'foo'; - o.labels = buildUnnamed61(); + o.labels = buildUnnamed62(); o.name = 'foo'; - o.producerPscConfigs = buildUnnamed62(); + o.producerPscConfigs = buildUnnamed63(); o.serviceClass = 'foo'; o.serviceClassUri = 'foo'; o.token = 'foo'; @@ -2789,8 +2845,8 @@ api.ServiceConnectionMap buildServiceConnectionMap() { void checkServiceConnectionMap(api.ServiceConnectionMap o) { buildCounterServiceConnectionMap++; if (buildCounterServiceConnectionMap < 3) { - checkUnnamed59(o.consumerPscConfigs!); - checkUnnamed60(o.consumerPscConnections!); + checkUnnamed60(o.consumerPscConfigs!); + checkUnnamed61(o.consumerPscConnections!); unittest.expect( o.createTime!, unittest.equals('foo'), @@ -2807,12 +2863,12 @@ void checkServiceConnectionMap(api.ServiceConnectionMap o) { o.infrastructure!, unittest.equals('foo'), ); - checkUnnamed61(o.labels!); + checkUnnamed62(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed62(o.producerPscConfigs!); + checkUnnamed63(o.producerPscConfigs!); unittest.expect( o.serviceClass!, unittest.equals('foo'), @@ -2833,12 +2889,12 @@ void checkServiceConnectionMap(api.ServiceConnectionMap o) { buildCounterServiceConnectionMap--; } -core.Map buildUnnamed63() => { +core.Map buildUnnamed64() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed63(core.Map o) { +void checkUnnamed64(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2850,12 +2906,12 @@ void checkUnnamed63(core.Map o) { ); } -core.List buildUnnamed64() => [ +core.List buildUnnamed65() => [ buildPscConnection(), buildPscConnection(), ]; -void checkUnnamed64(core.List o) { +void checkUnnamed65(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPscConnection(o[0]); checkPscConnection(o[1]); @@ -2870,11 +2926,11 @@ api.ServiceConnectionPolicy buildServiceConnectionPolicy() { o.description = 'foo'; o.etag = 'foo'; o.infrastructure = 'foo'; - o.labels = buildUnnamed63(); + o.labels = buildUnnamed64(); o.name = 'foo'; o.network = 'foo'; o.pscConfig = buildPscConfig(); - o.pscConnections = buildUnnamed64(); + o.pscConnections = buildUnnamed65(); o.serviceClass = 'foo'; o.updateTime = 'foo'; } @@ -2901,7 +2957,7 @@ void checkServiceConnectionPolicy(api.ServiceConnectionPolicy o) { o.infrastructure!, unittest.equals('foo'), ); - checkUnnamed63(o.labels!); + checkUnnamed64(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2911,7 +2967,7 @@ void checkServiceConnectionPolicy(api.ServiceConnectionPolicy o) { unittest.equals('foo'), ); checkPscConfig(o.pscConfig!); - checkUnnamed64(o.pscConnections!); + checkUnnamed65(o.pscConnections!); unittest.expect( o.serviceClass!, unittest.equals('foo'), @@ -2924,12 +2980,12 @@ void checkServiceConnectionPolicy(api.ServiceConnectionPolicy o) { buildCounterServiceConnectionPolicy--; } -core.Map buildUnnamed65() => { +core.Map buildUnnamed66() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed65(core.Map o) { +void checkUnnamed66(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2950,7 +3006,7 @@ api.ServiceConnectionToken buildServiceConnectionToken() { o.description = 'foo'; o.etag = 'foo'; o.expireTime = 'foo'; - o.labels = buildUnnamed65(); + o.labels = buildUnnamed66(); o.name = 'foo'; o.network = 'foo'; o.token = 'foo'; @@ -2979,7 +3035,7 @@ void checkServiceConnectionToken(api.ServiceConnectionToken o) { o.expireTime!, unittest.equals('foo'), ); - checkUnnamed65(o.labels!); + checkUnnamed66(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -3024,12 +3080,12 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.Map buildUnnamed66() => { +core.Map buildUnnamed67() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed66(core.Map o) { +void checkUnnamed67(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3041,12 +3097,12 @@ void checkUnnamed66(core.Map o) { ); } -core.List buildUnnamed67() => [ +core.List buildUnnamed68() => [ buildStateReason(), buildStateReason(), ]; -void checkUnnamed67(core.List o) { +void checkUnnamed68(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkStateReason(o[0]); checkStateReason(o[1]); @@ -3061,13 +3117,13 @@ api.Spoke buildSpoke() { o.description = 'foo'; o.group = 'foo'; o.hub = 'foo'; - o.labels = buildUnnamed66(); + o.labels = buildUnnamed67(); o.linkedInterconnectAttachments = buildLinkedInterconnectAttachments(); o.linkedRouterApplianceInstances = buildLinkedRouterApplianceInstances(); o.linkedVpcNetwork = buildLinkedVpcNetwork(); o.linkedVpnTunnels = buildLinkedVpnTunnels(); o.name = 'foo'; - o.reasons = buildUnnamed67(); + o.reasons = buildUnnamed68(); o.spokeType = 'foo'; o.state = 'foo'; o.uniqueId = 'foo'; @@ -3096,7 +3152,7 @@ void checkSpoke(api.Spoke o) { o.hub!, unittest.equals('foo'), ); - checkUnnamed66(o.labels!); + checkUnnamed67(o.labels!); checkLinkedInterconnectAttachments(o.linkedInterconnectAttachments!); checkLinkedRouterApplianceInstances(o.linkedRouterApplianceInstances!); checkLinkedVpcNetwork(o.linkedVpcNetwork!); @@ -3105,7 +3161,7 @@ void checkSpoke(api.Spoke o) { o.name!, unittest.equals('foo'), ); - checkUnnamed67(o.reasons!); + checkUnnamed68(o.reasons!); unittest.expect( o.spokeType!, unittest.equals('foo'), @@ -3180,34 +3236,34 @@ void checkSpokeStateReasonCount(api.SpokeStateReasonCount o) { buildCounterSpokeStateReasonCount--; } -core.List buildUnnamed68() => [ +core.List buildUnnamed69() => [ buildSpokeStateCount(), buildSpokeStateCount(), ]; -void checkUnnamed68(core.List o) { +void checkUnnamed69(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpokeStateCount(o[0]); checkSpokeStateCount(o[1]); } -core.List buildUnnamed69() => [ +core.List buildUnnamed70() => [ buildSpokeStateReasonCount(), buildSpokeStateReasonCount(), ]; -void checkUnnamed69(core.List o) { +void checkUnnamed70(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpokeStateReasonCount(o[0]); checkSpokeStateReasonCount(o[1]); } -core.List buildUnnamed70() => [ +core.List buildUnnamed71() => [ buildSpokeTypeCount(), buildSpokeTypeCount(), ]; -void checkUnnamed70(core.List o) { +void checkUnnamed71(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSpokeTypeCount(o[0]); checkSpokeTypeCount(o[1]); @@ -3218,9 +3274,9 @@ api.SpokeSummary buildSpokeSummary() { final o = api.SpokeSummary(); buildCounterSpokeSummary++; if (buildCounterSpokeSummary < 3) { - o.spokeStateCounts = buildUnnamed68(); - o.spokeStateReasonCounts = buildUnnamed69(); - o.spokeTypeCounts = buildUnnamed70(); + o.spokeStateCounts = buildUnnamed69(); + o.spokeStateReasonCounts = buildUnnamed70(); + o.spokeTypeCounts = buildUnnamed71(); } buildCounterSpokeSummary--; return o; @@ -3229,9 +3285,9 @@ api.SpokeSummary buildSpokeSummary() { void checkSpokeSummary(api.SpokeSummary o) { buildCounterSpokeSummary++; if (buildCounterSpokeSummary < 3) { - checkUnnamed68(o.spokeStateCounts!); - checkUnnamed69(o.spokeStateReasonCounts!); - checkUnnamed70(o.spokeTypeCounts!); + checkUnnamed69(o.spokeStateCounts!); + checkUnnamed70(o.spokeStateReasonCounts!); + checkUnnamed71(o.spokeTypeCounts!); } buildCounterSpokeSummary--; } @@ -3295,12 +3351,12 @@ void checkStateReason(api.StateReason o) { buildCounterStateReason--; } -core.List buildUnnamed71() => [ +core.List buildUnnamed72() => [ 'foo', 'foo', ]; -void checkUnnamed71(core.List o) { +void checkUnnamed72(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3317,7 +3373,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed71(); + o.permissions = buildUnnamed72(); } buildCounterTestIamPermissionsRequest--; return o; @@ -3326,17 +3382,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed71(o.permissions!); + checkUnnamed72(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed72() => [ +core.List buildUnnamed73() => [ 'foo', 'foo', ]; -void checkUnnamed72(core.List o) { +void checkUnnamed73(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3353,7 +3409,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed72(); + o.permissions = buildUnnamed73(); } buildCounterTestIamPermissionsResponse--; return o; @@ -3362,17 +3418,17 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed72(o.permissions!); + checkUnnamed73(o.permissions!); } buildCounterTestIamPermissionsResponse--; } -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], @@ -3389,7 +3445,7 @@ api.VirtualMachine buildVirtualMachine() { final o = api.VirtualMachine(); buildCounterVirtualMachine++; if (buildCounterVirtualMachine < 3) { - o.tags = buildUnnamed73(); + o.tags = buildUnnamed74(); } buildCounterVirtualMachine--; return o; @@ -3398,17 +3454,17 @@ api.VirtualMachine buildVirtualMachine() { void checkVirtualMachine(api.VirtualMachine o) { buildCounterVirtualMachine++; if (buildCounterVirtualMachine < 3) { - checkUnnamed73(o.tags!); + checkUnnamed74(o.tags!); } buildCounterVirtualMachine--; } -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']!, @@ -3426,7 +3482,7 @@ api.Warnings buildWarnings() { buildCounterWarnings++; if (buildCounterWarnings < 3) { o.code = 'foo'; - o.data = buildUnnamed74(); + o.data = buildUnnamed75(); o.warningMessage = 'foo'; } buildCounterWarnings--; @@ -3440,7 +3496,7 @@ void checkWarnings(api.Warnings o) { o.code!, unittest.equals('foo'), ); - checkUnnamed74(o.data!); + checkUnnamed75(o.data!); unittest.expect( o.warningMessage!, unittest.equals('foo'), @@ -3449,12 +3505,12 @@ void checkWarnings(api.Warnings o) { buildCounterWarnings--; } -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], @@ -3497,6 +3553,16 @@ void main() { }); }); + unittest.group('obj-schema-AutoAccept', () { + unittest.test('to-json--from-json', () async { + final o = buildAutoAccept(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.AutoAccept.fromJson(oJson as core.Map); + checkAutoAccept(od); + }); + }); + unittest.group('obj-schema-Binding', () { unittest.test('to-json--from-json', () async { final o = buildBinding(); @@ -4622,7 +4688,7 @@ void main() { final arg_orderBy = 'foo'; final arg_pageSize = 42; final arg_pageToken = 'foo'; - final arg_spokeLocations = buildUnnamed75(); + final arg_spokeLocations = buildUnnamed76(); final arg_view = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -5159,6 +5225,82 @@ void main() { checkListGroupsResponse(response as api.ListGroupsResponse); }); + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.NetworkconnectivityApi(mock) + .projects + .locations + .global + .hubs + .groups; + final arg_request = buildGroup(); + final arg_name = 'foo'; + final arg_requestId = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.Group.fromJson(json as core.Map); + checkGroup(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['requestId']!.first, + unittest.equals(arg_requestId), + ); + 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(buildGoogleLongrunningOperation()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + requestId: arg_requestId, + updateMask: arg_updateMask, + $fields: arg_$fields); + checkGoogleLongrunningOperation( + response as api.GoogleLongrunningOperation); + }); + unittest.test('method--setIamPolicy', () async { final mock = HttpServerMock(); final res = api.NetworkconnectivityApi(mock) diff --git a/generated/googleapis/test/networkmanagement/v1_test.dart b/generated/googleapis/test/networkmanagement/v1_test.dart index 6300a9c79..917eaee86 100644 --- a/generated/googleapis/test/networkmanagement/v1_test.dart +++ b/generated/googleapis/test/networkmanagement/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -534,7 +535,9 @@ api.DeliverInfo buildDeliverInfo() { buildCounterDeliverInfo++; if (buildCounterDeliverInfo < 3) { o.ipAddress = 'foo'; + o.pscGoogleApiTarget = 'foo'; o.resourceUri = 'foo'; + o.storageBucket = 'foo'; o.target = 'foo'; } buildCounterDeliverInfo--; @@ -548,10 +551,18 @@ void checkDeliverInfo(api.DeliverInfo o) { o.ipAddress!, unittest.equals('foo'), ); + unittest.expect( + o.pscGoogleApiTarget!, + unittest.equals('foo'), + ); unittest.expect( o.resourceUri!, unittest.equals('foo'), ); + unittest.expect( + o.storageBucket!, + unittest.equals('foo'), + ); unittest.expect( o.target!, unittest.equals('foo'), @@ -949,9 +960,13 @@ api.ForwardingRuleInfo buildForwardingRuleInfo() { buildCounterForwardingRuleInfo++; if (buildCounterForwardingRuleInfo < 3) { o.displayName = 'foo'; + o.loadBalancerName = 'foo'; o.matchedPortRange = 'foo'; o.matchedProtocol = 'foo'; o.networkUri = 'foo'; + o.pscGoogleApiTarget = 'foo'; + o.pscServiceAttachmentUri = 'foo'; + o.region = 'foo'; o.target = 'foo'; o.uri = 'foo'; o.vip = 'foo'; @@ -967,6 +982,10 @@ void checkForwardingRuleInfo(api.ForwardingRuleInfo o) { o.displayName!, unittest.equals('foo'), ); + unittest.expect( + o.loadBalancerName!, + unittest.equals('foo'), + ); unittest.expect( o.matchedPortRange!, unittest.equals('foo'), @@ -979,6 +998,18 @@ void checkForwardingRuleInfo(api.ForwardingRuleInfo o) { o.networkUri!, unittest.equals('foo'), ); + unittest.expect( + o.pscGoogleApiTarget!, + unittest.equals('foo'), + ); + unittest.expect( + o.pscServiceAttachmentUri!, + unittest.equals('foo'), + ); + unittest.expect( + o.region!, + unittest.equals('foo'), + ); unittest.expect( o.target!, unittest.equals('foo'), @@ -2215,6 +2246,28 @@ void checkRouteInfo(api.RouteInfo o) { buildCounterRouteInfo--; } +core.int buildCounterServerlessNegInfo = 0; +api.ServerlessNegInfo buildServerlessNegInfo() { + final o = api.ServerlessNegInfo(); + buildCounterServerlessNegInfo++; + if (buildCounterServerlessNegInfo < 3) { + o.negUri = 'foo'; + } + buildCounterServerlessNegInfo--; + return o; +} + +void checkServerlessNegInfo(api.ServerlessNegInfo o) { + buildCounterServerlessNegInfo++; + if (buildCounterServerlessNegInfo < 3) { + unittest.expect( + o.negUri!, + unittest.equals('foo'), + ); + } + buildCounterServerlessNegInfo--; +} + core.int buildCounterSetIamPolicyRequest = 0; api.SetIamPolicyRequest buildSetIamPolicyRequest() { final o = api.SetIamPolicyRequest(); @@ -2352,6 +2405,7 @@ api.Step buildStep() { o.projectId = 'foo'; o.proxyConnection = buildProxyConnectionInfo(); o.route = buildRouteInfo(); + o.serverlessNeg = buildServerlessNegInfo(); o.state = 'foo'; o.storageBucket = buildStorageBucketInfo(); o.vpcConnector = buildVpcConnectorInfo(); @@ -2394,6 +2448,7 @@ void checkStep(api.Step o) { ); checkProxyConnectionInfo(o.proxyConnection!); checkRouteInfo(o.route!); + checkServerlessNegInfo(o.serverlessNeg!); unittest.expect( o.state!, unittest.equals('foo'), @@ -3119,6 +3174,16 @@ void main() { }); }); + unittest.group('obj-schema-ServerlessNegInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildServerlessNegInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ServerlessNegInfo.fromJson( + oJson as core.Map); + checkServerlessNegInfo(od); + }); + }); + unittest.group('obj-schema-SetIamPolicyRequest', () { unittest.test('to-json--from-json', () async { final o = buildSetIamPolicyRequest(); diff --git a/generated/googleapis/test/networksecurity/v1_test.dart b/generated/googleapis/test/networksecurity/v1_test.dart index 20764aa2e..edafd080e 100644 --- a/generated/googleapis/test/networksecurity/v1_test.dart +++ b/generated/googleapis/test/networksecurity/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/networkservices/v1_test.dart b/generated/googleapis/test/networkservices/v1_test.dart index 362a44fd5..decce3435 100644 --- a/generated/googleapis/test/networkservices/v1_test.dart +++ b/generated/googleapis/test/networkservices/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -2091,6 +2092,51 @@ void checkUnnamed41(core.Map o) { ); } +core.Map buildUnnamed42() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed42(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 buildCounterLbRouteExtension = 0; api.LbRouteExtension buildLbRouteExtension() { final o = api.LbRouteExtension(); @@ -2102,6 +2148,7 @@ api.LbRouteExtension buildLbRouteExtension() { o.forwardingRules = buildUnnamed40(); o.labels = buildUnnamed41(); o.loadBalancingScheme = 'foo'; + o.metadata = buildUnnamed42(); o.name = 'foo'; o.updateTime = 'foo'; } @@ -2127,6 +2174,7 @@ void checkLbRouteExtension(api.LbRouteExtension o) { o.loadBalancingScheme!, unittest.equals('foo'), ); + checkUnnamed42(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2139,23 +2187,23 @@ void checkLbRouteExtension(api.LbRouteExtension o) { buildCounterLbRouteExtension--; } -core.List buildUnnamed42() => [ +core.List buildUnnamed43() => [ buildExtensionChain(), buildExtensionChain(), ]; -void checkUnnamed42(core.List o) { +void checkUnnamed43(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExtensionChain(o[0]); checkExtensionChain(o[1]); } -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], @@ -2167,12 +2215,12 @@ void checkUnnamed43(core.List o) { ); } -core.Map buildUnnamed44() => { +core.Map buildUnnamed45() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed44(core.Map o) { +void checkUnnamed45(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2184,6 +2232,51 @@ void checkUnnamed44(core.Map o) { ); } +core.Map buildUnnamed46() => { + 'x': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + 'y': { + 'list': [1, 2, 3], + 'bool': true, + 'string': 'foo' + }, + }; + +void checkUnnamed46(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 buildCounterLbTrafficExtension = 0; api.LbTrafficExtension buildLbTrafficExtension() { final o = api.LbTrafficExtension(); @@ -2191,10 +2284,11 @@ api.LbTrafficExtension buildLbTrafficExtension() { if (buildCounterLbTrafficExtension < 3) { o.createTime = 'foo'; o.description = 'foo'; - o.extensionChains = buildUnnamed42(); - o.forwardingRules = buildUnnamed43(); - o.labels = buildUnnamed44(); + o.extensionChains = buildUnnamed43(); + o.forwardingRules = buildUnnamed44(); + o.labels = buildUnnamed45(); o.loadBalancingScheme = 'foo'; + o.metadata = buildUnnamed46(); o.name = 'foo'; o.updateTime = 'foo'; } @@ -2213,13 +2307,14 @@ void checkLbTrafficExtension(api.LbTrafficExtension o) { o.description!, unittest.equals('foo'), ); - checkUnnamed42(o.extensionChains!); - checkUnnamed43(o.forwardingRules!); - checkUnnamed44(o.labels!); + checkUnnamed43(o.extensionChains!); + checkUnnamed44(o.forwardingRules!); + checkUnnamed45(o.labels!); unittest.expect( o.loadBalancingScheme!, unittest.equals('foo'), ); + checkUnnamed46(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2232,12 +2327,12 @@ void checkLbTrafficExtension(api.LbTrafficExtension o) { buildCounterLbTrafficExtension--; } -core.List buildUnnamed45() => [ +core.List buildUnnamed47() => [ buildEndpointPolicy(), buildEndpointPolicy(), ]; -void checkUnnamed45(core.List o) { +void checkUnnamed47(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEndpointPolicy(o[0]); checkEndpointPolicy(o[1]); @@ -2248,7 +2343,7 @@ api.ListEndpointPoliciesResponse buildListEndpointPoliciesResponse() { final o = api.ListEndpointPoliciesResponse(); buildCounterListEndpointPoliciesResponse++; if (buildCounterListEndpointPoliciesResponse < 3) { - o.endpointPolicies = buildUnnamed45(); + o.endpointPolicies = buildUnnamed47(); o.nextPageToken = 'foo'; } buildCounterListEndpointPoliciesResponse--; @@ -2258,7 +2353,7 @@ api.ListEndpointPoliciesResponse buildListEndpointPoliciesResponse() { void checkListEndpointPoliciesResponse(api.ListEndpointPoliciesResponse o) { buildCounterListEndpointPoliciesResponse++; if (buildCounterListEndpointPoliciesResponse < 3) { - checkUnnamed45(o.endpointPolicies!); + checkUnnamed47(o.endpointPolicies!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2267,23 +2362,23 @@ void checkListEndpointPoliciesResponse(api.ListEndpointPoliciesResponse o) { buildCounterListEndpointPoliciesResponse--; } -core.List buildUnnamed46() => [ +core.List buildUnnamed48() => [ buildGateway(), buildGateway(), ]; -void checkUnnamed46(core.List o) { +void checkUnnamed48(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGateway(o[0]); checkGateway(o[1]); } -core.List buildUnnamed47() => [ +core.List buildUnnamed49() => [ 'foo', 'foo', ]; -void checkUnnamed47(core.List o) { +void checkUnnamed49(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2300,9 +2395,9 @@ api.ListGatewaysResponse buildListGatewaysResponse() { final o = api.ListGatewaysResponse(); buildCounterListGatewaysResponse++; if (buildCounterListGatewaysResponse < 3) { - o.gateways = buildUnnamed46(); + o.gateways = buildUnnamed48(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed47(); + o.unreachable = buildUnnamed49(); } buildCounterListGatewaysResponse--; return o; @@ -2311,22 +2406,22 @@ api.ListGatewaysResponse buildListGatewaysResponse() { void checkListGatewaysResponse(api.ListGatewaysResponse o) { buildCounterListGatewaysResponse++; if (buildCounterListGatewaysResponse < 3) { - checkUnnamed46(o.gateways!); + checkUnnamed48(o.gateways!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed47(o.unreachable!); + checkUnnamed49(o.unreachable!); } buildCounterListGatewaysResponse--; } -core.List buildUnnamed48() => [ +core.List buildUnnamed50() => [ buildGrpcRoute(), buildGrpcRoute(), ]; -void checkUnnamed48(core.List o) { +void checkUnnamed50(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGrpcRoute(o[0]); checkGrpcRoute(o[1]); @@ -2337,7 +2432,7 @@ api.ListGrpcRoutesResponse buildListGrpcRoutesResponse() { final o = api.ListGrpcRoutesResponse(); buildCounterListGrpcRoutesResponse++; if (buildCounterListGrpcRoutesResponse < 3) { - o.grpcRoutes = buildUnnamed48(); + o.grpcRoutes = buildUnnamed50(); o.nextPageToken = 'foo'; } buildCounterListGrpcRoutesResponse--; @@ -2347,7 +2442,7 @@ api.ListGrpcRoutesResponse buildListGrpcRoutesResponse() { void checkListGrpcRoutesResponse(api.ListGrpcRoutesResponse o) { buildCounterListGrpcRoutesResponse++; if (buildCounterListGrpcRoutesResponse < 3) { - checkUnnamed48(o.grpcRoutes!); + checkUnnamed50(o.grpcRoutes!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2356,12 +2451,12 @@ void checkListGrpcRoutesResponse(api.ListGrpcRoutesResponse o) { buildCounterListGrpcRoutesResponse--; } -core.List buildUnnamed49() => [ +core.List buildUnnamed51() => [ buildHttpRoute(), buildHttpRoute(), ]; -void checkUnnamed49(core.List o) { +void checkUnnamed51(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHttpRoute(o[0]); checkHttpRoute(o[1]); @@ -2372,7 +2467,7 @@ api.ListHttpRoutesResponse buildListHttpRoutesResponse() { final o = api.ListHttpRoutesResponse(); buildCounterListHttpRoutesResponse++; if (buildCounterListHttpRoutesResponse < 3) { - o.httpRoutes = buildUnnamed49(); + o.httpRoutes = buildUnnamed51(); o.nextPageToken = 'foo'; } buildCounterListHttpRoutesResponse--; @@ -2382,7 +2477,7 @@ api.ListHttpRoutesResponse buildListHttpRoutesResponse() { void checkListHttpRoutesResponse(api.ListHttpRoutesResponse o) { buildCounterListHttpRoutesResponse++; if (buildCounterListHttpRoutesResponse < 3) { - checkUnnamed49(o.httpRoutes!); + checkUnnamed51(o.httpRoutes!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2391,23 +2486,23 @@ void checkListHttpRoutesResponse(api.ListHttpRoutesResponse o) { buildCounterListHttpRoutesResponse--; } -core.List buildUnnamed50() => [ +core.List buildUnnamed52() => [ buildLbRouteExtension(), buildLbRouteExtension(), ]; -void checkUnnamed50(core.List o) { +void checkUnnamed52(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLbRouteExtension(o[0]); checkLbRouteExtension(o[1]); } -core.List buildUnnamed51() => [ +core.List buildUnnamed53() => [ 'foo', 'foo', ]; -void checkUnnamed51(core.List o) { +void checkUnnamed53(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2424,9 +2519,9 @@ api.ListLbRouteExtensionsResponse buildListLbRouteExtensionsResponse() { final o = api.ListLbRouteExtensionsResponse(); buildCounterListLbRouteExtensionsResponse++; if (buildCounterListLbRouteExtensionsResponse < 3) { - o.lbRouteExtensions = buildUnnamed50(); + o.lbRouteExtensions = buildUnnamed52(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed51(); + o.unreachable = buildUnnamed53(); } buildCounterListLbRouteExtensionsResponse--; return o; @@ -2435,33 +2530,33 @@ api.ListLbRouteExtensionsResponse buildListLbRouteExtensionsResponse() { void checkListLbRouteExtensionsResponse(api.ListLbRouteExtensionsResponse o) { buildCounterListLbRouteExtensionsResponse++; if (buildCounterListLbRouteExtensionsResponse < 3) { - checkUnnamed50(o.lbRouteExtensions!); + checkUnnamed52(o.lbRouteExtensions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed51(o.unreachable!); + checkUnnamed53(o.unreachable!); } buildCounterListLbRouteExtensionsResponse--; } -core.List buildUnnamed52() => [ +core.List buildUnnamed54() => [ buildLbTrafficExtension(), buildLbTrafficExtension(), ]; -void checkUnnamed52(core.List o) { +void checkUnnamed54(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLbTrafficExtension(o[0]); checkLbTrafficExtension(o[1]); } -core.List buildUnnamed53() => [ +core.List buildUnnamed55() => [ 'foo', 'foo', ]; -void checkUnnamed53(core.List o) { +void checkUnnamed55(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2478,9 +2573,9 @@ api.ListLbTrafficExtensionsResponse buildListLbTrafficExtensionsResponse() { final o = api.ListLbTrafficExtensionsResponse(); buildCounterListLbTrafficExtensionsResponse++; if (buildCounterListLbTrafficExtensionsResponse < 3) { - o.lbTrafficExtensions = buildUnnamed52(); + o.lbTrafficExtensions = buildUnnamed54(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed53(); + o.unreachable = buildUnnamed55(); } buildCounterListLbTrafficExtensionsResponse--; return o; @@ -2490,22 +2585,22 @@ void checkListLbTrafficExtensionsResponse( api.ListLbTrafficExtensionsResponse o) { buildCounterListLbTrafficExtensionsResponse++; if (buildCounterListLbTrafficExtensionsResponse < 3) { - checkUnnamed52(o.lbTrafficExtensions!); + checkUnnamed54(o.lbTrafficExtensions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed53(o.unreachable!); + checkUnnamed55(o.unreachable!); } buildCounterListLbTrafficExtensionsResponse--; } -core.List buildUnnamed54() => [ +core.List buildUnnamed56() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed54(core.List o) { +void checkUnnamed56(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -2516,7 +2611,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed54(); + o.locations = buildUnnamed56(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -2526,7 +2621,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed54(o.locations!); + checkUnnamed56(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2535,12 +2630,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed55() => [ +core.List buildUnnamed57() => [ buildMesh(), buildMesh(), ]; -void checkUnnamed55(core.List o) { +void checkUnnamed57(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMesh(o[0]); checkMesh(o[1]); @@ -2551,7 +2646,7 @@ api.ListMeshesResponse buildListMeshesResponse() { final o = api.ListMeshesResponse(); buildCounterListMeshesResponse++; if (buildCounterListMeshesResponse < 3) { - o.meshes = buildUnnamed55(); + o.meshes = buildUnnamed57(); o.nextPageToken = 'foo'; } buildCounterListMeshesResponse--; @@ -2561,7 +2656,7 @@ api.ListMeshesResponse buildListMeshesResponse() { void checkListMeshesResponse(api.ListMeshesResponse o) { buildCounterListMeshesResponse++; if (buildCounterListMeshesResponse < 3) { - checkUnnamed55(o.meshes!); + checkUnnamed57(o.meshes!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -2570,12 +2665,12 @@ void checkListMeshesResponse(api.ListMeshesResponse o) { buildCounterListMeshesResponse--; } -core.List buildUnnamed56() => [ +core.List buildUnnamed58() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed56(core.List o) { +void checkUnnamed58(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -2587,7 +2682,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed56(); + o.operations = buildUnnamed58(); } buildCounterListOperationsResponse--; return o; @@ -2600,17 +2695,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed56(o.operations!); + checkUnnamed58(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed57() => [ +core.List buildUnnamed59() => [ buildServiceBinding(), buildServiceBinding(), ]; -void checkUnnamed57(core.List o) { +void checkUnnamed59(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceBinding(o[0]); checkServiceBinding(o[1]); @@ -2622,7 +2717,7 @@ api.ListServiceBindingsResponse buildListServiceBindingsResponse() { buildCounterListServiceBindingsResponse++; if (buildCounterListServiceBindingsResponse < 3) { o.nextPageToken = 'foo'; - o.serviceBindings = buildUnnamed57(); + o.serviceBindings = buildUnnamed59(); } buildCounterListServiceBindingsResponse--; return o; @@ -2635,17 +2730,17 @@ void checkListServiceBindingsResponse(api.ListServiceBindingsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed57(o.serviceBindings!); + checkUnnamed59(o.serviceBindings!); } buildCounterListServiceBindingsResponse--; } -core.List buildUnnamed58() => [ +core.List buildUnnamed60() => [ buildServiceLbPolicy(), buildServiceLbPolicy(), ]; -void checkUnnamed58(core.List o) { +void checkUnnamed60(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkServiceLbPolicy(o[0]); checkServiceLbPolicy(o[1]); @@ -2657,7 +2752,7 @@ api.ListServiceLbPoliciesResponse buildListServiceLbPoliciesResponse() { buildCounterListServiceLbPoliciesResponse++; if (buildCounterListServiceLbPoliciesResponse < 3) { o.nextPageToken = 'foo'; - o.serviceLbPolicies = buildUnnamed58(); + o.serviceLbPolicies = buildUnnamed60(); } buildCounterListServiceLbPoliciesResponse--; return o; @@ -2670,17 +2765,17 @@ void checkListServiceLbPoliciesResponse(api.ListServiceLbPoliciesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed58(o.serviceLbPolicies!); + checkUnnamed60(o.serviceLbPolicies!); } buildCounterListServiceLbPoliciesResponse--; } -core.List buildUnnamed59() => [ +core.List buildUnnamed61() => [ buildTcpRoute(), buildTcpRoute(), ]; -void checkUnnamed59(core.List o) { +void checkUnnamed61(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTcpRoute(o[0]); checkTcpRoute(o[1]); @@ -2692,7 +2787,7 @@ api.ListTcpRoutesResponse buildListTcpRoutesResponse() { buildCounterListTcpRoutesResponse++; if (buildCounterListTcpRoutesResponse < 3) { o.nextPageToken = 'foo'; - o.tcpRoutes = buildUnnamed59(); + o.tcpRoutes = buildUnnamed61(); } buildCounterListTcpRoutesResponse--; return o; @@ -2705,17 +2800,17 @@ void checkListTcpRoutesResponse(api.ListTcpRoutesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed59(o.tcpRoutes!); + checkUnnamed61(o.tcpRoutes!); } buildCounterListTcpRoutesResponse--; } -core.List buildUnnamed60() => [ +core.List buildUnnamed62() => [ buildTlsRoute(), buildTlsRoute(), ]; -void checkUnnamed60(core.List o) { +void checkUnnamed62(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTlsRoute(o[0]); checkTlsRoute(o[1]); @@ -2727,7 +2822,7 @@ api.ListTlsRoutesResponse buildListTlsRoutesResponse() { buildCounterListTlsRoutesResponse++; if (buildCounterListTlsRoutesResponse < 3) { o.nextPageToken = 'foo'; - o.tlsRoutes = buildUnnamed60(); + o.tlsRoutes = buildUnnamed62(); } buildCounterListTlsRoutesResponse--; return o; @@ -2740,17 +2835,17 @@ void checkListTlsRoutesResponse(api.ListTlsRoutesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed60(o.tlsRoutes!); + checkUnnamed62(o.tlsRoutes!); } buildCounterListTlsRoutesResponse--; } -core.Map buildUnnamed61() => { +core.Map buildUnnamed63() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed61(core.Map o) { +void checkUnnamed63(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2762,7 +2857,7 @@ void checkUnnamed61(core.Map o) { ); } -core.Map buildUnnamed62() => { +core.Map buildUnnamed64() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2775,34 +2870,34 @@ core.Map buildUnnamed62() => { }, }; -void checkUnnamed62(core.Map o) { +void checkUnnamed64(core.Map o) { unittest.expect(o, unittest.hasLength(2)); - var casted1 = (o['x']!) as core.Map; - unittest.expect(casted1, unittest.hasLength(3)); + var casted5 = (o['x']!) as core.Map; + unittest.expect(casted5, unittest.hasLength(3)); unittest.expect( - casted1['list'], + casted5['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted1['bool'], + casted5['bool'], unittest.equals(true), ); unittest.expect( - casted1['string'], + casted5['string'], unittest.equals('foo'), ); - var casted2 = (o['y']!) as core.Map; - unittest.expect(casted2, unittest.hasLength(3)); + var casted6 = (o['y']!) as core.Map; + unittest.expect(casted6, unittest.hasLength(3)); unittest.expect( - casted2['list'], + casted6['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted2['bool'], + casted6['bool'], unittest.equals(true), ); unittest.expect( - casted2['string'], + casted6['string'], unittest.equals('foo'), ); } @@ -2813,9 +2908,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed61(); + o.labels = buildUnnamed63(); o.locationId = 'foo'; - o.metadata = buildUnnamed62(); + o.metadata = buildUnnamed64(); o.name = 'foo'; } buildCounterLocation--; @@ -2829,12 +2924,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed61(o.labels!); + checkUnnamed63(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed62(o.metadata!); + checkUnnamed64(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2843,12 +2938,12 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -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']!, @@ -2869,7 +2964,7 @@ api.Mesh buildMesh() { o.description = 'foo'; o.envoyHeaders = 'foo'; o.interceptionPort = 42; - o.labels = buildUnnamed63(); + o.labels = buildUnnamed65(); o.name = 'foo'; o.selfLink = 'foo'; o.updateTime = 'foo'; @@ -2897,7 +2992,7 @@ void checkMesh(api.Mesh o) { o.interceptionPort!, unittest.equals(42), ); - checkUnnamed63(o.labels!); + checkUnnamed65(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -2914,7 +3009,7 @@ void checkMesh(api.Mesh o) { buildCounterMesh--; } -core.Map buildUnnamed64() => { +core.Map buildUnnamed66() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2927,39 +3022,39 @@ core.Map buildUnnamed64() => { }, }; -void checkUnnamed64(core.Map o) { +void checkUnnamed66(core.Map o) { unittest.expect(o, unittest.hasLength(2)); - var casted3 = (o['x']!) as core.Map; - unittest.expect(casted3, unittest.hasLength(3)); + var casted7 = (o['x']!) as core.Map; + unittest.expect(casted7, unittest.hasLength(3)); unittest.expect( - casted3['list'], + casted7['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted3['bool'], + casted7['bool'], unittest.equals(true), ); unittest.expect( - casted3['string'], + casted7['string'], unittest.equals('foo'), ); - var casted4 = (o['y']!) as core.Map; - unittest.expect(casted4, unittest.hasLength(3)); + var casted8 = (o['y']!) as core.Map; + unittest.expect(casted8, unittest.hasLength(3)); unittest.expect( - casted4['list'], + casted8['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted4['bool'], + casted8['bool'], unittest.equals(true), ); unittest.expect( - casted4['string'], + casted8['string'], unittest.equals('foo'), ); } -core.Map buildUnnamed65() => { +core.Map buildUnnamed67() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2972,34 +3067,34 @@ core.Map buildUnnamed65() => { }, }; -void checkUnnamed65(core.Map o) { +void checkUnnamed67(core.Map o) { unittest.expect(o, unittest.hasLength(2)); - var casted5 = (o['x']!) as core.Map; - unittest.expect(casted5, unittest.hasLength(3)); + var casted9 = (o['x']!) as core.Map; + unittest.expect(casted9, unittest.hasLength(3)); unittest.expect( - casted5['list'], + casted9['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted5['bool'], + casted9['bool'], unittest.equals(true), ); unittest.expect( - casted5['string'], + casted9['string'], unittest.equals('foo'), ); - var casted6 = (o['y']!) as core.Map; - unittest.expect(casted6, unittest.hasLength(3)); + var casted10 = (o['y']!) as core.Map; + unittest.expect(casted10, unittest.hasLength(3)); unittest.expect( - casted6['list'], + casted10['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted6['bool'], + casted10['bool'], unittest.equals(true), ); unittest.expect( - casted6['string'], + casted10['string'], unittest.equals('foo'), ); } @@ -3011,9 +3106,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed64(); + o.metadata = buildUnnamed66(); o.name = 'foo'; - o.response = buildUnnamed65(); + o.response = buildUnnamed67(); } buildCounterOperation--; return o; @@ -3024,33 +3119,33 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed64(o.metadata!); + checkUnnamed66(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed65(o.response!); + checkUnnamed67(o.response!); } buildCounterOperation--; } -core.List buildUnnamed66() => [ +core.List buildUnnamed68() => [ buildAuditConfig(), buildAuditConfig(), ]; -void checkUnnamed66(core.List o) { +void checkUnnamed68(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAuditConfig(o[0]); checkAuditConfig(o[1]); } -core.List buildUnnamed67() => [ +core.List buildUnnamed69() => [ buildBinding(), buildBinding(), ]; -void checkUnnamed67(core.List o) { +void checkUnnamed69(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBinding(o[0]); checkBinding(o[1]); @@ -3061,8 +3156,8 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.auditConfigs = buildUnnamed66(); - o.bindings = buildUnnamed67(); + o.auditConfigs = buildUnnamed68(); + o.bindings = buildUnnamed69(); o.etag = 'foo'; o.version = 42; } @@ -3073,8 +3168,8 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed66(o.auditConfigs!); - checkUnnamed67(o.bindings!); + checkUnnamed68(o.auditConfigs!); + checkUnnamed69(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -3087,12 +3182,12 @@ void checkPolicy(api.Policy o) { buildCounterPolicy--; } -core.Map buildUnnamed68() => { +core.Map buildUnnamed70() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed68(core.Map o) { +void checkUnnamed70(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3111,7 +3206,7 @@ api.ServiceBinding buildServiceBinding() { if (buildCounterServiceBinding < 3) { o.createTime = 'foo'; o.description = 'foo'; - o.labels = buildUnnamed68(); + o.labels = buildUnnamed70(); o.name = 'foo'; o.service = 'foo'; o.serviceId = 'foo'; @@ -3132,7 +3227,7 @@ void checkServiceBinding(api.ServiceBinding o) { o.description!, unittest.equals('foo'), ); - checkUnnamed68(o.labels!); + checkUnnamed70(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -3153,12 +3248,12 @@ void checkServiceBinding(api.ServiceBinding o) { buildCounterServiceBinding--; } -core.Map buildUnnamed69() => { +core.Map buildUnnamed71() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed69(core.Map o) { +void checkUnnamed71(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3179,7 +3274,7 @@ api.ServiceLbPolicy buildServiceLbPolicy() { o.createTime = 'foo'; o.description = 'foo'; o.failoverConfig = buildServiceLbPolicyFailoverConfig(); - o.labels = buildUnnamed69(); + o.labels = buildUnnamed71(); o.loadBalancingAlgorithm = 'foo'; o.name = 'foo'; o.updateTime = 'foo'; @@ -3201,7 +3296,7 @@ void checkServiceLbPolicy(api.ServiceLbPolicy o) { unittest.equals('foo'), ); checkServiceLbPolicyFailoverConfig(o.failoverConfig!); - checkUnnamed69(o.labels!); + checkUnnamed71(o.labels!); unittest.expect( o.loadBalancingAlgorithm!, unittest.equals('foo'), @@ -3284,7 +3379,7 @@ void checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { buildCounterSetIamPolicyRequest--; } -core.Map buildUnnamed70() => { +core.Map buildUnnamed72() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -3297,47 +3392,47 @@ core.Map buildUnnamed70() => { }, }; -void checkUnnamed70(core.Map o) { +void checkUnnamed72(core.Map o) { unittest.expect(o, unittest.hasLength(2)); - var casted7 = (o['x']!) as core.Map; - unittest.expect(casted7, unittest.hasLength(3)); + var casted11 = (o['x']!) as core.Map; + unittest.expect(casted11, unittest.hasLength(3)); unittest.expect( - casted7['list'], + casted11['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted7['bool'], + casted11['bool'], unittest.equals(true), ); unittest.expect( - casted7['string'], + casted11['string'], unittest.equals('foo'), ); - var casted8 = (o['y']!) as core.Map; - unittest.expect(casted8, unittest.hasLength(3)); + var casted12 = (o['y']!) as core.Map; + unittest.expect(casted12, unittest.hasLength(3)); unittest.expect( - casted8['list'], + casted12['list'], unittest.equals([1, 2, 3]), ); unittest.expect( - casted8['bool'], + casted12['bool'], unittest.equals(true), ); unittest.expect( - casted8['string'], + casted12['string'], unittest.equals('foo'), ); } -core.List> buildUnnamed71() => [ - buildUnnamed70(), - buildUnnamed70(), +core.List> buildUnnamed73() => [ + buildUnnamed72(), + buildUnnamed72(), ]; -void checkUnnamed71(core.List> o) { +void checkUnnamed73(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed70(o[0]); - checkUnnamed70(o[1]); + checkUnnamed72(o[0]); + checkUnnamed72(o[1]); } core.int buildCounterStatus = 0; @@ -3346,7 +3441,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed71(); + o.details = buildUnnamed73(); o.message = 'foo'; } buildCounterStatus--; @@ -3360,7 +3455,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed71(o.details!); + checkUnnamed73(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -3369,12 +3464,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -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], @@ -3386,12 +3481,12 @@ void checkUnnamed72(core.List o) { ); } -core.Map buildUnnamed73() => { +core.Map buildUnnamed75() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed73(core.Map o) { +void checkUnnamed75(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3403,12 +3498,12 @@ void checkUnnamed73(core.Map 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], @@ -3420,12 +3515,12 @@ void checkUnnamed74(core.List o) { ); } -core.List buildUnnamed75() => [ +core.List buildUnnamed77() => [ buildTcpRouteRouteRule(), buildTcpRouteRouteRule(), ]; -void checkUnnamed75(core.List o) { +void checkUnnamed77(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTcpRouteRouteRule(o[0]); checkTcpRouteRouteRule(o[1]); @@ -3438,11 +3533,11 @@ api.TcpRoute buildTcpRoute() { if (buildCounterTcpRoute < 3) { o.createTime = 'foo'; o.description = 'foo'; - o.gateways = buildUnnamed72(); - o.labels = buildUnnamed73(); - o.meshes = buildUnnamed74(); + o.gateways = buildUnnamed74(); + o.labels = buildUnnamed75(); + o.meshes = buildUnnamed76(); o.name = 'foo'; - o.rules = buildUnnamed75(); + o.rules = buildUnnamed77(); o.selfLink = 'foo'; o.updateTime = 'foo'; } @@ -3461,14 +3556,14 @@ void checkTcpRoute(api.TcpRoute o) { o.description!, unittest.equals('foo'), ); - checkUnnamed72(o.gateways!); - checkUnnamed73(o.labels!); - checkUnnamed74(o.meshes!); + checkUnnamed74(o.gateways!); + checkUnnamed75(o.labels!); + checkUnnamed76(o.meshes!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed75(o.rules!); + checkUnnamed77(o.rules!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -3481,12 +3576,12 @@ void checkTcpRoute(api.TcpRoute o) { buildCounterTcpRoute--; } -core.List buildUnnamed76() => [ +core.List buildUnnamed78() => [ buildTcpRouteRouteDestination(), buildTcpRouteRouteDestination(), ]; -void checkUnnamed76(core.List o) { +void checkUnnamed78(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTcpRouteRouteDestination(o[0]); checkTcpRouteRouteDestination(o[1]); @@ -3497,7 +3592,7 @@ api.TcpRouteRouteAction buildTcpRouteRouteAction() { final o = api.TcpRouteRouteAction(); buildCounterTcpRouteRouteAction++; if (buildCounterTcpRouteRouteAction < 3) { - o.destinations = buildUnnamed76(); + o.destinations = buildUnnamed78(); o.idleTimeout = 'foo'; o.originalDestination = true; } @@ -3508,7 +3603,7 @@ api.TcpRouteRouteAction buildTcpRouteRouteAction() { void checkTcpRouteRouteAction(api.TcpRouteRouteAction o) { buildCounterTcpRouteRouteAction++; if (buildCounterTcpRouteRouteAction < 3) { - checkUnnamed76(o.destinations!); + checkUnnamed78(o.destinations!); unittest.expect( o.idleTimeout!, unittest.equals('foo'), @@ -3572,12 +3667,12 @@ void checkTcpRouteRouteMatch(api.TcpRouteRouteMatch o) { buildCounterTcpRouteRouteMatch--; } -core.List buildUnnamed77() => [ +core.List buildUnnamed79() => [ buildTcpRouteRouteMatch(), buildTcpRouteRouteMatch(), ]; -void checkUnnamed77(core.List o) { +void checkUnnamed79(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTcpRouteRouteMatch(o[0]); checkTcpRouteRouteMatch(o[1]); @@ -3589,7 +3684,7 @@ api.TcpRouteRouteRule buildTcpRouteRouteRule() { buildCounterTcpRouteRouteRule++; if (buildCounterTcpRouteRouteRule < 3) { o.action = buildTcpRouteRouteAction(); - o.matches = buildUnnamed77(); + o.matches = buildUnnamed79(); } buildCounterTcpRouteRouteRule--; return o; @@ -3599,17 +3694,17 @@ void checkTcpRouteRouteRule(api.TcpRouteRouteRule o) { buildCounterTcpRouteRouteRule++; if (buildCounterTcpRouteRouteRule < 3) { checkTcpRouteRouteAction(o.action!); - checkUnnamed77(o.matches!); + checkUnnamed79(o.matches!); } buildCounterTcpRouteRouteRule--; } -core.List buildUnnamed78() => [ +core.List buildUnnamed80() => [ 'foo', 'foo', ]; -void checkUnnamed78(core.List o) { +void checkUnnamed80(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3626,7 +3721,7 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { final o = api.TestIamPermissionsRequest(); buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - o.permissions = buildUnnamed78(); + o.permissions = buildUnnamed80(); } buildCounterTestIamPermissionsRequest--; return o; @@ -3635,17 +3730,17 @@ api.TestIamPermissionsRequest buildTestIamPermissionsRequest() { void checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { buildCounterTestIamPermissionsRequest++; if (buildCounterTestIamPermissionsRequest < 3) { - checkUnnamed78(o.permissions!); + checkUnnamed80(o.permissions!); } buildCounterTestIamPermissionsRequest--; } -core.List buildUnnamed79() => [ +core.List buildUnnamed81() => [ 'foo', 'foo', ]; -void checkUnnamed79(core.List o) { +void checkUnnamed81(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3662,7 +3757,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { final o = api.TestIamPermissionsResponse(); buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - o.permissions = buildUnnamed79(); + o.permissions = buildUnnamed81(); } buildCounterTestIamPermissionsResponse--; return o; @@ -3671,17 +3766,17 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { - checkUnnamed79(o.permissions!); + checkUnnamed81(o.permissions!); } buildCounterTestIamPermissionsResponse--; } -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], @@ -3693,12 +3788,12 @@ void checkUnnamed80(core.List o) { ); } -core.Map buildUnnamed81() => { +core.Map buildUnnamed83() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed81(core.Map o) { +void checkUnnamed83(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3710,12 +3805,12 @@ void checkUnnamed81(core.Map o) { ); } -core.List buildUnnamed82() => [ +core.List buildUnnamed84() => [ 'foo', 'foo', ]; -void checkUnnamed82(core.List o) { +void checkUnnamed84(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3727,12 +3822,12 @@ void checkUnnamed82(core.List o) { ); } -core.List buildUnnamed83() => [ +core.List buildUnnamed85() => [ buildTlsRouteRouteRule(), buildTlsRouteRouteRule(), ]; -void checkUnnamed83(core.List o) { +void checkUnnamed85(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTlsRouteRouteRule(o[0]); checkTlsRouteRouteRule(o[1]); @@ -3745,11 +3840,11 @@ api.TlsRoute buildTlsRoute() { if (buildCounterTlsRoute < 3) { o.createTime = 'foo'; o.description = 'foo'; - o.gateways = buildUnnamed80(); - o.labels = buildUnnamed81(); - o.meshes = buildUnnamed82(); + o.gateways = buildUnnamed82(); + o.labels = buildUnnamed83(); + o.meshes = buildUnnamed84(); o.name = 'foo'; - o.rules = buildUnnamed83(); + o.rules = buildUnnamed85(); o.selfLink = 'foo'; o.updateTime = 'foo'; } @@ -3768,14 +3863,14 @@ void checkTlsRoute(api.TlsRoute o) { o.description!, unittest.equals('foo'), ); - checkUnnamed80(o.gateways!); - checkUnnamed81(o.labels!); - checkUnnamed82(o.meshes!); + checkUnnamed82(o.gateways!); + checkUnnamed83(o.labels!); + checkUnnamed84(o.meshes!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed83(o.rules!); + checkUnnamed85(o.rules!); unittest.expect( o.selfLink!, unittest.equals('foo'), @@ -3788,12 +3883,12 @@ void checkTlsRoute(api.TlsRoute o) { buildCounterTlsRoute--; } -core.List buildUnnamed84() => [ +core.List buildUnnamed86() => [ buildTlsRouteRouteDestination(), buildTlsRouteRouteDestination(), ]; -void checkUnnamed84(core.List o) { +void checkUnnamed86(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTlsRouteRouteDestination(o[0]); checkTlsRouteRouteDestination(o[1]); @@ -3804,7 +3899,7 @@ api.TlsRouteRouteAction buildTlsRouteRouteAction() { final o = api.TlsRouteRouteAction(); buildCounterTlsRouteRouteAction++; if (buildCounterTlsRouteRouteAction < 3) { - o.destinations = buildUnnamed84(); + o.destinations = buildUnnamed86(); o.idleTimeout = 'foo'; } buildCounterTlsRouteRouteAction--; @@ -3814,7 +3909,7 @@ api.TlsRouteRouteAction buildTlsRouteRouteAction() { void checkTlsRouteRouteAction(api.TlsRouteRouteAction o) { buildCounterTlsRouteRouteAction++; if (buildCounterTlsRouteRouteAction < 3) { - checkUnnamed84(o.destinations!); + checkUnnamed86(o.destinations!); unittest.expect( o.idleTimeout!, unittest.equals('foo'), @@ -3850,12 +3945,12 @@ void checkTlsRouteRouteDestination(api.TlsRouteRouteDestination o) { buildCounterTlsRouteRouteDestination--; } -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], @@ -3867,12 +3962,12 @@ void checkUnnamed85(core.List o) { ); } -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], @@ -3889,8 +3984,8 @@ api.TlsRouteRouteMatch buildTlsRouteRouteMatch() { final o = api.TlsRouteRouteMatch(); buildCounterTlsRouteRouteMatch++; if (buildCounterTlsRouteRouteMatch < 3) { - o.alpn = buildUnnamed85(); - o.sniHost = buildUnnamed86(); + o.alpn = buildUnnamed87(); + o.sniHost = buildUnnamed88(); } buildCounterTlsRouteRouteMatch--; return o; @@ -3899,18 +3994,18 @@ api.TlsRouteRouteMatch buildTlsRouteRouteMatch() { void checkTlsRouteRouteMatch(api.TlsRouteRouteMatch o) { buildCounterTlsRouteRouteMatch++; if (buildCounterTlsRouteRouteMatch < 3) { - checkUnnamed85(o.alpn!); - checkUnnamed86(o.sniHost!); + checkUnnamed87(o.alpn!); + checkUnnamed88(o.sniHost!); } buildCounterTlsRouteRouteMatch--; } -core.List buildUnnamed87() => [ +core.List buildUnnamed89() => [ buildTlsRouteRouteMatch(), buildTlsRouteRouteMatch(), ]; -void checkUnnamed87(core.List o) { +void checkUnnamed89(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTlsRouteRouteMatch(o[0]); checkTlsRouteRouteMatch(o[1]); @@ -3922,7 +4017,7 @@ api.TlsRouteRouteRule buildTlsRouteRouteRule() { buildCounterTlsRouteRouteRule++; if (buildCounterTlsRouteRouteRule < 3) { o.action = buildTlsRouteRouteAction(); - o.matches = buildUnnamed87(); + o.matches = buildUnnamed89(); } buildCounterTlsRouteRouteRule--; return o; @@ -3932,17 +4027,17 @@ void checkTlsRouteRouteRule(api.TlsRouteRouteRule o) { buildCounterTlsRouteRouteRule++; if (buildCounterTlsRouteRouteRule < 3) { checkTlsRouteRouteAction(o.action!); - checkUnnamed87(o.matches!); + checkUnnamed89(o.matches!); } buildCounterTlsRouteRouteRule--; } -core.List buildUnnamed88() => [ +core.List buildUnnamed90() => [ 'foo', 'foo', ]; -void checkUnnamed88(core.List o) { +void checkUnnamed90(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -3959,7 +4054,7 @@ api.TrafficPortSelector buildTrafficPortSelector() { final o = api.TrafficPortSelector(); buildCounterTrafficPortSelector++; if (buildCounterTrafficPortSelector < 3) { - o.ports = buildUnnamed88(); + o.ports = buildUnnamed90(); } buildCounterTrafficPortSelector--; return o; @@ -3968,7 +4063,7 @@ api.TrafficPortSelector buildTrafficPortSelector() { void checkTrafficPortSelector(api.TrafficPortSelector o) { buildCounterTrafficPortSelector++; if (buildCounterTrafficPortSelector < 3) { - checkUnnamed88(o.ports!); + checkUnnamed90(o.ports!); } buildCounterTrafficPortSelector--; } diff --git a/generated/googleapis/test/notebooks/v1_test.dart b/generated/googleapis/test/notebooks/v1_test.dart index 30153bfdc..4a2916d5a 100644 --- a/generated/googleapis/test/notebooks/v1_test.dart +++ b/generated/googleapis/test/notebooks/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/notebooks/v2_test.dart b/generated/googleapis/test/notebooks/v2_test.dart index 94d0b0119..3f1730dd4 100644 --- a/generated/googleapis/test/notebooks/v2_test.dart +++ b/generated/googleapis/test/notebooks/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/oauth2/v2_test.dart b/generated/googleapis/test/oauth2/v2_test.dart index b9e4572c3..b0f4c9ba7 100644 --- a/generated/googleapis/test/oauth2/v2_test.dart +++ b/generated/googleapis/test/oauth2/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/ondemandscanning/v1_test.dart b/generated/googleapis/test/ondemandscanning/v1_test.dart index 7f49d6b09..7c38701c0 100644 --- a/generated/googleapis/test/ondemandscanning/v1_test.dart +++ b/generated/googleapis/test/ondemandscanning/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/orgpolicy/v2_test.dart b/generated/googleapis/test/orgpolicy/v2_test.dart index 14208ed0a..e197aa0a9 100644 --- a/generated/googleapis/test/orgpolicy/v2_test.dart +++ b/generated/googleapis/test/orgpolicy/v2_test.dart @@ -1,6 +1,7 @@ // 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 @@ -60,8 +61,6 @@ api.GoogleCloudOrgpolicyV2Constraint buildGoogleCloudOrgpolicyV2Constraint() { o.constraintDefault = 'foo'; o.description = 'foo'; o.displayName = 'foo'; - o.googleManagedConstraint = - buildGoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint(); o.listConstraint = buildGoogleCloudOrgpolicyV2ConstraintListConstraint(); o.name = 'foo'; o.supportsDryRun = true; @@ -88,8 +87,6 @@ void checkGoogleCloudOrgpolicyV2Constraint( o.displayName!, unittest.equals('foo'), ); - checkGoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint( - o.googleManagedConstraint!); checkGoogleCloudOrgpolicyV2ConstraintListConstraint(o.listConstraint!); unittest.expect( o.name!, @@ -117,74 +114,6 @@ void checkGoogleCloudOrgpolicyV2ConstraintBooleanConstraint( buildCounterGoogleCloudOrgpolicyV2ConstraintBooleanConstraint--; } -core.List buildUnnamed0() => [ - 'foo', - 'foo', - ]; - -void checkUnnamed0(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 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 buildCounterGoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint = - 0; -api.GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint - buildGoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint() { - final o = api.GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint(); - buildCounterGoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint++; - if (buildCounterGoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint < 3) { - o.actionType = 'foo'; - o.condition = 'foo'; - o.methodTypes = buildUnnamed0(); - o.resourceTypes = buildUnnamed1(); - } - buildCounterGoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint--; - return o; -} - -void checkGoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint( - api.GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint o) { - buildCounterGoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint++; - if (buildCounterGoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint < 3) { - unittest.expect( - o.actionType!, - unittest.equals('foo'), - ); - unittest.expect( - o.condition!, - unittest.equals('foo'), - ); - checkUnnamed0(o.methodTypes!); - checkUnnamed1(o.resourceTypes!); - } - buildCounterGoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint--; -} - core.int buildCounterGoogleCloudOrgpolicyV2ConstraintListConstraint = 0; api.GoogleCloudOrgpolicyV2ConstraintListConstraint buildGoogleCloudOrgpolicyV2ConstraintListConstraint() { @@ -208,12 +137,12 @@ void checkGoogleCloudOrgpolicyV2ConstraintListConstraint( buildCounterGoogleCloudOrgpolicyV2ConstraintListConstraint--; } -core.List buildUnnamed2() => [ +core.List buildUnnamed0() => [ 'foo', 'foo', ]; -void checkUnnamed2(core.List o) { +void checkUnnamed0(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -225,12 +154,12 @@ void checkUnnamed2(core.List o) { ); } -core.List buildUnnamed3() => [ +core.List buildUnnamed1() => [ 'foo', 'foo', ]; -void checkUnnamed3(core.List o) { +void checkUnnamed1(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -252,9 +181,9 @@ api.GoogleCloudOrgpolicyV2CustomConstraint o.condition = 'foo'; o.description = 'foo'; o.displayName = 'foo'; - o.methodTypes = buildUnnamed2(); + o.methodTypes = buildUnnamed0(); o.name = 'foo'; - o.resourceTypes = buildUnnamed3(); + o.resourceTypes = buildUnnamed1(); o.updateTime = 'foo'; } buildCounterGoogleCloudOrgpolicyV2CustomConstraint--; @@ -281,12 +210,12 @@ void checkGoogleCloudOrgpolicyV2CustomConstraint( o.displayName!, unittest.equals('foo'), ); - checkUnnamed2(o.methodTypes!); + checkUnnamed0(o.methodTypes!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed3(o.resourceTypes!); + checkUnnamed1(o.resourceTypes!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -295,12 +224,12 @@ void checkGoogleCloudOrgpolicyV2CustomConstraint( buildCounterGoogleCloudOrgpolicyV2CustomConstraint--; } -core.List buildUnnamed4() => [ +core.List buildUnnamed2() => [ buildGoogleCloudOrgpolicyV2Constraint(), buildGoogleCloudOrgpolicyV2Constraint(), ]; -void checkUnnamed4(core.List o) { +void checkUnnamed2(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudOrgpolicyV2Constraint(o[0]); checkGoogleCloudOrgpolicyV2Constraint(o[1]); @@ -312,7 +241,7 @@ api.GoogleCloudOrgpolicyV2ListConstraintsResponse final o = api.GoogleCloudOrgpolicyV2ListConstraintsResponse(); buildCounterGoogleCloudOrgpolicyV2ListConstraintsResponse++; if (buildCounterGoogleCloudOrgpolicyV2ListConstraintsResponse < 3) { - o.constraints = buildUnnamed4(); + o.constraints = buildUnnamed2(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudOrgpolicyV2ListConstraintsResponse--; @@ -323,7 +252,7 @@ void checkGoogleCloudOrgpolicyV2ListConstraintsResponse( api.GoogleCloudOrgpolicyV2ListConstraintsResponse o) { buildCounterGoogleCloudOrgpolicyV2ListConstraintsResponse++; if (buildCounterGoogleCloudOrgpolicyV2ListConstraintsResponse < 3) { - checkUnnamed4(o.constraints!); + checkUnnamed2(o.constraints!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -332,12 +261,12 @@ void checkGoogleCloudOrgpolicyV2ListConstraintsResponse( buildCounterGoogleCloudOrgpolicyV2ListConstraintsResponse--; } -core.List buildUnnamed5() => [ +core.List buildUnnamed3() => [ buildGoogleCloudOrgpolicyV2CustomConstraint(), buildGoogleCloudOrgpolicyV2CustomConstraint(), ]; -void checkUnnamed5(core.List o) { +void checkUnnamed3(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudOrgpolicyV2CustomConstraint(o[0]); checkGoogleCloudOrgpolicyV2CustomConstraint(o[1]); @@ -349,7 +278,7 @@ api.GoogleCloudOrgpolicyV2ListCustomConstraintsResponse final o = api.GoogleCloudOrgpolicyV2ListCustomConstraintsResponse(); buildCounterGoogleCloudOrgpolicyV2ListCustomConstraintsResponse++; if (buildCounterGoogleCloudOrgpolicyV2ListCustomConstraintsResponse < 3) { - o.customConstraints = buildUnnamed5(); + o.customConstraints = buildUnnamed3(); o.nextPageToken = 'foo'; } buildCounterGoogleCloudOrgpolicyV2ListCustomConstraintsResponse--; @@ -360,7 +289,7 @@ void checkGoogleCloudOrgpolicyV2ListCustomConstraintsResponse( api.GoogleCloudOrgpolicyV2ListCustomConstraintsResponse o) { buildCounterGoogleCloudOrgpolicyV2ListCustomConstraintsResponse++; if (buildCounterGoogleCloudOrgpolicyV2ListCustomConstraintsResponse < 3) { - checkUnnamed5(o.customConstraints!); + checkUnnamed3(o.customConstraints!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -369,12 +298,12 @@ void checkGoogleCloudOrgpolicyV2ListCustomConstraintsResponse( buildCounterGoogleCloudOrgpolicyV2ListCustomConstraintsResponse--; } -core.List buildUnnamed6() => [ +core.List buildUnnamed4() => [ buildGoogleCloudOrgpolicyV2Policy(), buildGoogleCloudOrgpolicyV2Policy(), ]; -void checkUnnamed6(core.List o) { +void checkUnnamed4(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudOrgpolicyV2Policy(o[0]); checkGoogleCloudOrgpolicyV2Policy(o[1]); @@ -387,7 +316,7 @@ api.GoogleCloudOrgpolicyV2ListPoliciesResponse buildCounterGoogleCloudOrgpolicyV2ListPoliciesResponse++; if (buildCounterGoogleCloudOrgpolicyV2ListPoliciesResponse < 3) { o.nextPageToken = 'foo'; - o.policies = buildUnnamed6(); + o.policies = buildUnnamed4(); } buildCounterGoogleCloudOrgpolicyV2ListPoliciesResponse--; return o; @@ -401,7 +330,7 @@ void checkGoogleCloudOrgpolicyV2ListPoliciesResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6(o.policies!); + checkUnnamed4(o.policies!); } buildCounterGoogleCloudOrgpolicyV2ListPoliciesResponse--; } @@ -439,12 +368,12 @@ void checkGoogleCloudOrgpolicyV2Policy(api.GoogleCloudOrgpolicyV2Policy o) { buildCounterGoogleCloudOrgpolicyV2Policy--; } -core.List buildUnnamed7() => [ +core.List buildUnnamed5() => [ buildGoogleCloudOrgpolicyV2PolicySpecPolicyRule(), buildGoogleCloudOrgpolicyV2PolicySpecPolicyRule(), ]; -void checkUnnamed7( +void checkUnnamed5( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudOrgpolicyV2PolicySpecPolicyRule(o[0]); @@ -459,7 +388,7 @@ api.GoogleCloudOrgpolicyV2PolicySpec buildGoogleCloudOrgpolicyV2PolicySpec() { o.etag = 'foo'; o.inheritFromParent = true; o.reset = true; - o.rules = buildUnnamed7(); + o.rules = buildUnnamed5(); o.updateTime = 'foo'; } buildCounterGoogleCloudOrgpolicyV2PolicySpec--; @@ -476,7 +405,7 @@ void checkGoogleCloudOrgpolicyV2PolicySpec( ); unittest.expect(o.inheritFromParent!, unittest.isTrue); unittest.expect(o.reset!, unittest.isTrue); - checkUnnamed7(o.rules!); + checkUnnamed5(o.rules!); unittest.expect( o.updateTime!, unittest.equals('foo'), @@ -514,12 +443,12 @@ void checkGoogleCloudOrgpolicyV2PolicySpecPolicyRule( buildCounterGoogleCloudOrgpolicyV2PolicySpecPolicyRule--; } -core.List buildUnnamed8() => [ +core.List buildUnnamed6() => [ 'foo', 'foo', ]; -void checkUnnamed8(core.List o) { +void checkUnnamed6(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -531,12 +460,12 @@ void checkUnnamed8(core.List o) { ); } -core.List buildUnnamed9() => [ +core.List buildUnnamed7() => [ 'foo', 'foo', ]; -void checkUnnamed9(core.List o) { +void checkUnnamed7(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -554,8 +483,8 @@ api.GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues final o = api.GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues(); buildCounterGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues++; if (buildCounterGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues < 3) { - o.allowedValues = buildUnnamed8(); - o.deniedValues = buildUnnamed9(); + o.allowedValues = buildUnnamed6(); + o.deniedValues = buildUnnamed7(); } buildCounterGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues--; return o; @@ -565,8 +494,8 @@ void checkGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues( api.GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues o) { buildCounterGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues++; if (buildCounterGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues < 3) { - checkUnnamed8(o.allowedValues!); - checkUnnamed9(o.deniedValues!); + checkUnnamed6(o.allowedValues!); + checkUnnamed7(o.deniedValues!); } buildCounterGoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues--; } @@ -655,18 +584,6 @@ void main() { }); }); - unittest.group( - 'obj-schema-GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint', () { - unittest.test('to-json--from-json', () async { - final o = buildGoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint(); - final oJson = convert.jsonDecode(convert.jsonEncode(o)); - final od = - api.GoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint.fromJson( - oJson as core.Map); - checkGoogleCloudOrgpolicyV2ConstraintGoogleManagedConstraint(od); - }); - }); - unittest.group('obj-schema-GoogleCloudOrgpolicyV2ConstraintListConstraint', () { unittest.test('to-json--from-json', () async { diff --git a/generated/googleapis/test/osconfig/v1_test.dart b/generated/googleapis/test/osconfig/v1_test.dart index 03ef4e2c0..5a28f8dc2 100644 --- a/generated/googleapis/test/osconfig/v1_test.dart +++ b/generated/googleapis/test/osconfig/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -5299,6 +5300,7 @@ void main() { final arg_request = buildOSPolicyAssignment(); final arg_parent = 'foo'; final arg_osPolicyAssignmentId = 'foo'; + final arg_requestId = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final obj = api.OSPolicyAssignment.fromJson( @@ -5340,6 +5342,10 @@ void main() { queryMap['osPolicyAssignmentId']!.first, unittest.equals(arg_osPolicyAssignmentId), ); + unittest.expect( + queryMap['requestId']!.first, + unittest.equals(arg_requestId), + ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -5352,7 +5358,9 @@ void main() { return async.Future.value(stringResponse(200, h, resp)); }), true); final response = await res.create(arg_request, arg_parent, - osPolicyAssignmentId: arg_osPolicyAssignmentId, $fields: arg_$fields); + osPolicyAssignmentId: arg_osPolicyAssignmentId, + requestId: arg_requestId, + $fields: arg_$fields); checkOperation(response as api.Operation); }); @@ -5360,6 +5368,7 @@ void main() { final mock = HttpServerMock(); final res = api.OSConfigApi(mock).projects.locations.osPolicyAssignments; final arg_name = 'foo'; + final arg_requestId = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { final path = req.url.path; @@ -5393,6 +5402,10 @@ void main() { ); } } + unittest.expect( + queryMap['requestId']!.first, + unittest.equals(arg_requestId), + ); unittest.expect( queryMap['fields']!.first, unittest.equals(arg_$fields), @@ -5404,7 +5417,8 @@ void main() { final resp = convert.json.encode(buildOperation()); return async.Future.value(stringResponse(200, h, resp)); }), true); - final response = await res.delete(arg_name, $fields: arg_$fields); + final response = await res.delete(arg_name, + requestId: arg_requestId, $fields: arg_$fields); checkOperation(response as api.Operation); }); @@ -5599,6 +5613,8 @@ void main() { final res = api.OSConfigApi(mock).projects.locations.osPolicyAssignments; final arg_request = buildOSPolicyAssignment(); final arg_name = 'foo'; + final arg_allowMissing = true; + final arg_requestId = 'foo'; final arg_updateMask = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -5637,6 +5653,14 @@ void main() { ); } } + unittest.expect( + queryMap['allowMissing']!.first, + unittest.equals('$arg_allowMissing'), + ); + unittest.expect( + queryMap['requestId']!.first, + unittest.equals(arg_requestId), + ); unittest.expect( queryMap['updateMask']!.first, unittest.equals(arg_updateMask), @@ -5653,7 +5677,10 @@ void main() { return async.Future.value(stringResponse(200, h, resp)); }), true); final response = await res.patch(arg_request, arg_name, - updateMask: arg_updateMask, $fields: arg_$fields); + allowMissing: arg_allowMissing, + requestId: arg_requestId, + updateMask: arg_updateMask, + $fields: arg_$fields); checkOperation(response as api.Operation); }); }); diff --git a/generated/googleapis/test/oslogin/v1_test.dart b/generated/googleapis/test/oslogin/v1_test.dart index 86a0ee2d4..a47e2fbe3 100644 --- a/generated/googleapis/test/oslogin/v1_test.dart +++ b/generated/googleapis/test/oslogin/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/pagespeedonline/v5_test.dart b/generated/googleapis/test/pagespeedonline/v5_test.dart index 92b0a8e2c..28c2e7da4 100644 --- a/generated/googleapis/test/pagespeedonline/v5_test.dart +++ b/generated/googleapis/test/pagespeedonline/v5_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/paymentsresellersubscription/v1_test.dart b/generated/googleapis/test/paymentsresellersubscription/v1_test.dart index 2e683daec..71e8d1325 100644 --- a/generated/googleapis/test/paymentsresellersubscription/v1_test.dart +++ b/generated/googleapis/test/paymentsresellersubscription/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/people/v1_test.dart b/generated/googleapis/test/people/v1_test.dart index cc15ca0d5..b0d08940e 100644 --- a/generated/googleapis/test/people/v1_test.dart +++ b/generated/googleapis/test/people/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/photoslibrary/v1_test.dart b/generated/googleapis/test/photoslibrary/v1_test.dart index 66cccbc68..e9abddc92 100644 --- a/generated/googleapis/test/photoslibrary/v1_test.dart +++ b/generated/googleapis/test/photoslibrary/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/places/v1_test.dart b/generated/googleapis/test/places/v1_test.dart index d0bd546d6..0b5337593 100644 --- a/generated/googleapis/test/places/v1_test.dart +++ b/generated/googleapis/test/places/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -525,13 +526,274 @@ void checkGoogleMapsPlacesV1Circle(api.GoogleMapsPlacesV1Circle o) { buildCounterGoogleMapsPlacesV1Circle--; } -core.List +core.int buildCounterGoogleMapsPlacesV1ContentBlock = 0; +api.GoogleMapsPlacesV1ContentBlock buildGoogleMapsPlacesV1ContentBlock() { + final o = api.GoogleMapsPlacesV1ContentBlock(); + buildCounterGoogleMapsPlacesV1ContentBlock++; + if (buildCounterGoogleMapsPlacesV1ContentBlock < 3) { + o.content = buildGoogleTypeLocalizedText(); + o.references = buildGoogleMapsPlacesV1References(); + o.topic = 'foo'; + } + buildCounterGoogleMapsPlacesV1ContentBlock--; + return o; +} + +void checkGoogleMapsPlacesV1ContentBlock(api.GoogleMapsPlacesV1ContentBlock o) { + buildCounterGoogleMapsPlacesV1ContentBlock++; + if (buildCounterGoogleMapsPlacesV1ContentBlock < 3) { + checkGoogleTypeLocalizedText(o.content!); + checkGoogleMapsPlacesV1References(o.references!); + unittest.expect( + o.topic!, + unittest.equals('foo'), + ); + } + buildCounterGoogleMapsPlacesV1ContentBlock--; +} + +core.List buildUnnamed5() => [ + buildGoogleMapsPlacesV1ContextualContentJustification(), + buildGoogleMapsPlacesV1ContextualContentJustification(), + ]; + +void checkUnnamed5( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleMapsPlacesV1ContextualContentJustification(o[0]); + checkGoogleMapsPlacesV1ContextualContentJustification(o[1]); +} + +core.List buildUnnamed6() => [ + buildGoogleMapsPlacesV1Photo(), + buildGoogleMapsPlacesV1Photo(), + ]; + +void checkUnnamed6(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleMapsPlacesV1Photo(o[0]); + checkGoogleMapsPlacesV1Photo(o[1]); +} + +core.List buildUnnamed7() => [ + buildGoogleMapsPlacesV1Review(), + buildGoogleMapsPlacesV1Review(), + ]; + +void checkUnnamed7(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleMapsPlacesV1Review(o[0]); + checkGoogleMapsPlacesV1Review(o[1]); +} + +core.int buildCounterGoogleMapsPlacesV1ContextualContent = 0; +api.GoogleMapsPlacesV1ContextualContent + buildGoogleMapsPlacesV1ContextualContent() { + final o = api.GoogleMapsPlacesV1ContextualContent(); + buildCounterGoogleMapsPlacesV1ContextualContent++; + if (buildCounterGoogleMapsPlacesV1ContextualContent < 3) { + o.justifications = buildUnnamed5(); + o.photos = buildUnnamed6(); + o.reviews = buildUnnamed7(); + } + buildCounterGoogleMapsPlacesV1ContextualContent--; + return o; +} + +void checkGoogleMapsPlacesV1ContextualContent( + api.GoogleMapsPlacesV1ContextualContent o) { + buildCounterGoogleMapsPlacesV1ContextualContent++; + if (buildCounterGoogleMapsPlacesV1ContextualContent < 3) { + checkUnnamed5(o.justifications!); + checkUnnamed6(o.photos!); + checkUnnamed7(o.reviews!); + } + buildCounterGoogleMapsPlacesV1ContextualContent--; +} + +core.int buildCounterGoogleMapsPlacesV1ContextualContentJustification = 0; +api.GoogleMapsPlacesV1ContextualContentJustification + buildGoogleMapsPlacesV1ContextualContentJustification() { + final o = api.GoogleMapsPlacesV1ContextualContentJustification(); + buildCounterGoogleMapsPlacesV1ContextualContentJustification++; + if (buildCounterGoogleMapsPlacesV1ContextualContentJustification < 3) { + o.businessAvailabilityAttributesJustification = + buildGoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification(); + o.reviewJustification = + buildGoogleMapsPlacesV1ContextualContentJustificationReviewJustification(); + } + buildCounterGoogleMapsPlacesV1ContextualContentJustification--; + return o; +} + +void checkGoogleMapsPlacesV1ContextualContentJustification( + api.GoogleMapsPlacesV1ContextualContentJustification o) { + buildCounterGoogleMapsPlacesV1ContextualContentJustification++; + if (buildCounterGoogleMapsPlacesV1ContextualContentJustification < 3) { + checkGoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification( + o.businessAvailabilityAttributesJustification!); + checkGoogleMapsPlacesV1ContextualContentJustificationReviewJustification( + o.reviewJustification!); + } + buildCounterGoogleMapsPlacesV1ContextualContentJustification--; +} + +core.int + buildCounterGoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification = + 0; +api.GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification + buildGoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification() { + final o = api + .GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification(); + buildCounterGoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification++; + if (buildCounterGoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification < + 3) { + o.delivery = true; + o.dineIn = true; + o.takeout = true; + } + buildCounterGoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification--; + return o; +} + +void checkGoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification( + api.GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification + o) { + buildCounterGoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification++; + if (buildCounterGoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification < + 3) { + unittest.expect(o.delivery!, unittest.isTrue); + unittest.expect(o.dineIn!, unittest.isTrue); + unittest.expect(o.takeout!, unittest.isTrue); + } + buildCounterGoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification--; +} + +core.int + buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustification = + 0; +api.GoogleMapsPlacesV1ContextualContentJustificationReviewJustification + buildGoogleMapsPlacesV1ContextualContentJustificationReviewJustification() { + final o = + api.GoogleMapsPlacesV1ContextualContentJustificationReviewJustification(); + buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustification++; + if (buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustification < + 3) { + o.highlightedText = + buildGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText(); + o.review = buildGoogleMapsPlacesV1Review(); + } + buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustification--; + return o; +} + +void checkGoogleMapsPlacesV1ContextualContentJustificationReviewJustification( + api.GoogleMapsPlacesV1ContextualContentJustificationReviewJustification o) { + buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustification++; + if (buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustification < + 3) { + checkGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText( + o.highlightedText!); + checkGoogleMapsPlacesV1Review(o.review!); + } + buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustification--; +} + +core.List< + api + .GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange> + buildUnnamed8() => [ + buildGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange(), + buildGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange(), + ]; + +void checkUnnamed8( + core.List< + api + .GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange> + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange( + o[0]); + checkGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange( + o[1]); +} + +core.int + buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText = + 0; +api.GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText + buildGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText() { + final o = api + .GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText(); + buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText++; + if (buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText < + 3) { + o.highlightedTextRanges = buildUnnamed8(); + o.text = 'foo'; + } + buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText--; + return o; +} + +void checkGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText( + api.GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText + o) { + buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText++; + if (buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText < + 3) { + checkUnnamed8(o.highlightedTextRanges!); + unittest.expect( + o.text!, + unittest.equals('foo'), + ); + } + buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText--; +} + +core.int + buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange = + 0; +api.GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange + buildGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange() { + final o = api + .GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange(); + buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange++; + if (buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange < + 3) { + o.endIndex = 42; + o.startIndex = 42; + } + buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange--; + return o; +} + +void checkGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange( + api.GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange + o) { + buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange++; + if (buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange < + 3) { + unittest.expect( + o.endIndex!, + unittest.equals(42), + ); + unittest.expect( + o.startIndex!, + unittest.equals(42), + ); + } + buildCounterGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange--; +} + +core.List + buildUnnamed9() => [ buildGoogleMapsPlacesV1EVChargeOptionsConnectorAggregation(), buildGoogleMapsPlacesV1EVChargeOptionsConnectorAggregation(), ]; -void checkUnnamed5( +void checkUnnamed9( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlacesV1EVChargeOptionsConnectorAggregation(o[0]); @@ -543,7 +805,7 @@ api.GoogleMapsPlacesV1EVChargeOptions buildGoogleMapsPlacesV1EVChargeOptions() { final o = api.GoogleMapsPlacesV1EVChargeOptions(); buildCounterGoogleMapsPlacesV1EVChargeOptions++; if (buildCounterGoogleMapsPlacesV1EVChargeOptions < 3) { - o.connectorAggregation = buildUnnamed5(); + o.connectorAggregation = buildUnnamed9(); o.connectorCount = 42; } buildCounterGoogleMapsPlacesV1EVChargeOptions--; @@ -554,7 +816,7 @@ void checkGoogleMapsPlacesV1EVChargeOptions( api.GoogleMapsPlacesV1EVChargeOptions o) { buildCounterGoogleMapsPlacesV1EVChargeOptions++; if (buildCounterGoogleMapsPlacesV1EVChargeOptions < 3) { - checkUnnamed5(o.connectorAggregation!); + checkUnnamed9(o.connectorAggregation!); unittest.expect( o.connectorCount!, unittest.equals(42), @@ -612,12 +874,12 @@ void checkGoogleMapsPlacesV1EVChargeOptionsConnectorAggregation( buildCounterGoogleMapsPlacesV1EVChargeOptionsConnectorAggregation--; } -core.List buildUnnamed6() => [ +core.List buildUnnamed10() => [ buildGoogleMapsPlacesV1FuelOptionsFuelPrice(), buildGoogleMapsPlacesV1FuelOptionsFuelPrice(), ]; -void checkUnnamed6(core.List o) { +void checkUnnamed10(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlacesV1FuelOptionsFuelPrice(o[0]); checkGoogleMapsPlacesV1FuelOptionsFuelPrice(o[1]); @@ -628,7 +890,7 @@ api.GoogleMapsPlacesV1FuelOptions buildGoogleMapsPlacesV1FuelOptions() { final o = api.GoogleMapsPlacesV1FuelOptions(); buildCounterGoogleMapsPlacesV1FuelOptions++; if (buildCounterGoogleMapsPlacesV1FuelOptions < 3) { - o.fuelPrices = buildUnnamed6(); + o.fuelPrices = buildUnnamed10(); } buildCounterGoogleMapsPlacesV1FuelOptions--; return o; @@ -637,7 +899,7 @@ api.GoogleMapsPlacesV1FuelOptions buildGoogleMapsPlacesV1FuelOptions() { void checkGoogleMapsPlacesV1FuelOptions(api.GoogleMapsPlacesV1FuelOptions o) { buildCounterGoogleMapsPlacesV1FuelOptions++; if (buildCounterGoogleMapsPlacesV1FuelOptions < 3) { - checkUnnamed6(o.fuelPrices!); + checkUnnamed10(o.fuelPrices!); } buildCounterGoogleMapsPlacesV1FuelOptions--; } @@ -673,12 +935,12 @@ void checkGoogleMapsPlacesV1FuelOptionsFuelPrice( buildCounterGoogleMapsPlacesV1FuelOptionsFuelPrice--; } -core.List buildUnnamed7() => [ +core.List buildUnnamed11() => [ buildGoogleMapsPlacesV1AuthorAttribution(), buildGoogleMapsPlacesV1AuthorAttribution(), ]; -void checkUnnamed7(core.List o) { +void checkUnnamed11(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlacesV1AuthorAttribution(o[0]); checkGoogleMapsPlacesV1AuthorAttribution(o[1]); @@ -689,7 +951,7 @@ api.GoogleMapsPlacesV1Photo buildGoogleMapsPlacesV1Photo() { final o = api.GoogleMapsPlacesV1Photo(); buildCounterGoogleMapsPlacesV1Photo++; if (buildCounterGoogleMapsPlacesV1Photo < 3) { - o.authorAttributions = buildUnnamed7(); + o.authorAttributions = buildUnnamed11(); o.heightPx = 42; o.name = 'foo'; o.widthPx = 42; @@ -701,7 +963,7 @@ api.GoogleMapsPlacesV1Photo buildGoogleMapsPlacesV1Photo() { void checkGoogleMapsPlacesV1Photo(api.GoogleMapsPlacesV1Photo o) { buildCounterGoogleMapsPlacesV1Photo++; if (buildCounterGoogleMapsPlacesV1Photo < 3) { - checkUnnamed7(o.authorAttributions!); + checkUnnamed11(o.authorAttributions!); unittest.expect( o.heightPx!, unittest.equals(42), @@ -745,89 +1007,89 @@ void checkGoogleMapsPlacesV1PhotoMedia(api.GoogleMapsPlacesV1PhotoMedia o) { buildCounterGoogleMapsPlacesV1PhotoMedia--; } -core.List buildUnnamed8() => [ +core.List buildUnnamed12() => [ buildGoogleMapsPlacesV1PlaceAddressComponent(), buildGoogleMapsPlacesV1PlaceAddressComponent(), ]; -void checkUnnamed8(core.List o) { +void checkUnnamed12(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlacesV1PlaceAddressComponent(o[0]); checkGoogleMapsPlacesV1PlaceAddressComponent(o[1]); } -core.List buildUnnamed9() => [ +core.List buildUnnamed13() => [ buildGoogleMapsPlacesV1PlaceAttribution(), buildGoogleMapsPlacesV1PlaceAttribution(), ]; -void checkUnnamed9(core.List o) { +void checkUnnamed13(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlacesV1PlaceAttribution(o[0]); checkGoogleMapsPlacesV1PlaceAttribution(o[1]); } -core.List buildUnnamed10() => [ +core.List buildUnnamed14() => [ buildGoogleMapsPlacesV1PlaceOpeningHours(), buildGoogleMapsPlacesV1PlaceOpeningHours(), ]; -void checkUnnamed10(core.List o) { +void checkUnnamed14(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlacesV1PlaceOpeningHours(o[0]); checkGoogleMapsPlacesV1PlaceOpeningHours(o[1]); } -core.List buildUnnamed11() => [ +core.List buildUnnamed15() => [ buildGoogleMapsPlacesV1Photo(), buildGoogleMapsPlacesV1Photo(), ]; -void checkUnnamed11(core.List o) { +void checkUnnamed15(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlacesV1Photo(o[0]); checkGoogleMapsPlacesV1Photo(o[1]); } -core.List buildUnnamed12() => [ +core.List buildUnnamed16() => [ buildGoogleMapsPlacesV1PlaceOpeningHours(), buildGoogleMapsPlacesV1PlaceOpeningHours(), ]; -void checkUnnamed12(core.List o) { +void checkUnnamed16(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlacesV1PlaceOpeningHours(o[0]); checkGoogleMapsPlacesV1PlaceOpeningHours(o[1]); } -core.List buildUnnamed13() => [ +core.List buildUnnamed17() => [ buildGoogleMapsPlacesV1Review(), buildGoogleMapsPlacesV1Review(), ]; -void checkUnnamed13(core.List o) { +void checkUnnamed17(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlacesV1Review(o[0]); checkGoogleMapsPlacesV1Review(o[1]); } -core.List buildUnnamed14() => [ +core.List buildUnnamed18() => [ buildGoogleMapsPlacesV1PlaceSubDestination(), buildGoogleMapsPlacesV1PlaceSubDestination(), ]; -void checkUnnamed14(core.List o) { +void checkUnnamed18(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlacesV1PlaceSubDestination(o[0]); checkGoogleMapsPlacesV1PlaceSubDestination(o[1]); } -core.List buildUnnamed15() => [ +core.List buildUnnamed19() => [ 'foo', 'foo', ]; -void checkUnnamed15(core.List o) { +void checkUnnamed19(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -845,14 +1107,15 @@ api.GoogleMapsPlacesV1Place buildGoogleMapsPlacesV1Place() { buildCounterGoogleMapsPlacesV1Place++; if (buildCounterGoogleMapsPlacesV1Place < 3) { o.accessibilityOptions = buildGoogleMapsPlacesV1PlaceAccessibilityOptions(); - o.addressComponents = buildUnnamed8(); + o.addressComponents = buildUnnamed12(); o.adrFormatAddress = 'foo'; o.allowsDogs = true; - o.attributions = buildUnnamed9(); + o.areaSummary = buildGoogleMapsPlacesV1PlaceAreaSummary(); + o.attributions = buildUnnamed13(); o.businessStatus = 'foo'; o.curbsidePickup = true; o.currentOpeningHours = buildGoogleMapsPlacesV1PlaceOpeningHours(); - o.currentSecondaryOpeningHours = buildUnnamed10(); + o.currentSecondaryOpeningHours = buildUnnamed14(); o.delivery = true; o.dineIn = true; o.displayName = buildGoogleTypeLocalizedText(); @@ -860,6 +1123,7 @@ api.GoogleMapsPlacesV1Place buildGoogleMapsPlacesV1Place() { o.evChargeOptions = buildGoogleMapsPlacesV1EVChargeOptions(); o.formattedAddress = 'foo'; o.fuelOptions = buildGoogleMapsPlacesV1FuelOptions(); + o.generativeSummary = buildGoogleMapsPlacesV1PlaceGenerativeSummary(); o.goodForChildren = true; o.goodForGroups = true; o.goodForWatchingSports = true; @@ -876,17 +1140,17 @@ api.GoogleMapsPlacesV1Place buildGoogleMapsPlacesV1Place() { o.outdoorSeating = true; o.parkingOptions = buildGoogleMapsPlacesV1PlaceParkingOptions(); o.paymentOptions = buildGoogleMapsPlacesV1PlacePaymentOptions(); - o.photos = buildUnnamed11(); + o.photos = buildUnnamed15(); o.plusCode = buildGoogleMapsPlacesV1PlacePlusCode(); o.priceLevel = 'foo'; o.primaryType = 'foo'; o.primaryTypeDisplayName = buildGoogleTypeLocalizedText(); o.rating = 42.0; o.regularOpeningHours = buildGoogleMapsPlacesV1PlaceOpeningHours(); - o.regularSecondaryOpeningHours = buildUnnamed12(); + o.regularSecondaryOpeningHours = buildUnnamed16(); o.reservable = true; o.restroom = true; - o.reviews = buildUnnamed13(); + o.reviews = buildUnnamed17(); o.servesBeer = true; o.servesBreakfast = true; o.servesBrunch = true; @@ -898,9 +1162,9 @@ api.GoogleMapsPlacesV1Place buildGoogleMapsPlacesV1Place() { o.servesVegetarianFood = true; o.servesWine = true; o.shortFormattedAddress = 'foo'; - o.subDestinations = buildUnnamed14(); + o.subDestinations = buildUnnamed18(); o.takeout = true; - o.types = buildUnnamed15(); + o.types = buildUnnamed19(); o.userRatingCount = 42; o.utcOffsetMinutes = 42; o.viewport = buildGoogleGeoTypeViewport(); @@ -914,20 +1178,21 @@ void checkGoogleMapsPlacesV1Place(api.GoogleMapsPlacesV1Place o) { buildCounterGoogleMapsPlacesV1Place++; if (buildCounterGoogleMapsPlacesV1Place < 3) { checkGoogleMapsPlacesV1PlaceAccessibilityOptions(o.accessibilityOptions!); - checkUnnamed8(o.addressComponents!); + checkUnnamed12(o.addressComponents!); unittest.expect( o.adrFormatAddress!, unittest.equals('foo'), ); unittest.expect(o.allowsDogs!, unittest.isTrue); - checkUnnamed9(o.attributions!); + checkGoogleMapsPlacesV1PlaceAreaSummary(o.areaSummary!); + checkUnnamed13(o.attributions!); unittest.expect( o.businessStatus!, unittest.equals('foo'), ); unittest.expect(o.curbsidePickup!, unittest.isTrue); checkGoogleMapsPlacesV1PlaceOpeningHours(o.currentOpeningHours!); - checkUnnamed10(o.currentSecondaryOpeningHours!); + checkUnnamed14(o.currentSecondaryOpeningHours!); unittest.expect(o.delivery!, unittest.isTrue); unittest.expect(o.dineIn!, unittest.isTrue); checkGoogleTypeLocalizedText(o.displayName!); @@ -938,6 +1203,7 @@ void checkGoogleMapsPlacesV1Place(api.GoogleMapsPlacesV1Place o) { unittest.equals('foo'), ); checkGoogleMapsPlacesV1FuelOptions(o.fuelOptions!); + checkGoogleMapsPlacesV1PlaceGenerativeSummary(o.generativeSummary!); unittest.expect(o.goodForChildren!, unittest.isTrue); unittest.expect(o.goodForGroups!, unittest.isTrue); unittest.expect(o.goodForWatchingSports!, unittest.isTrue); @@ -975,7 +1241,7 @@ void checkGoogleMapsPlacesV1Place(api.GoogleMapsPlacesV1Place o) { unittest.expect(o.outdoorSeating!, unittest.isTrue); checkGoogleMapsPlacesV1PlaceParkingOptions(o.parkingOptions!); checkGoogleMapsPlacesV1PlacePaymentOptions(o.paymentOptions!); - checkUnnamed11(o.photos!); + checkUnnamed15(o.photos!); checkGoogleMapsPlacesV1PlacePlusCode(o.plusCode!); unittest.expect( o.priceLevel!, @@ -991,10 +1257,10 @@ void checkGoogleMapsPlacesV1Place(api.GoogleMapsPlacesV1Place o) { unittest.equals(42.0), ); checkGoogleMapsPlacesV1PlaceOpeningHours(o.regularOpeningHours!); - checkUnnamed12(o.regularSecondaryOpeningHours!); + checkUnnamed16(o.regularSecondaryOpeningHours!); unittest.expect(o.reservable!, unittest.isTrue); unittest.expect(o.restroom!, unittest.isTrue); - checkUnnamed13(o.reviews!); + checkUnnamed17(o.reviews!); unittest.expect(o.servesBeer!, unittest.isTrue); unittest.expect(o.servesBreakfast!, unittest.isTrue); unittest.expect(o.servesBrunch!, unittest.isTrue); @@ -1009,9 +1275,9 @@ void checkGoogleMapsPlacesV1Place(api.GoogleMapsPlacesV1Place o) { o.shortFormattedAddress!, unittest.equals('foo'), ); - checkUnnamed14(o.subDestinations!); + checkUnnamed18(o.subDestinations!); unittest.expect(o.takeout!, unittest.isTrue); - checkUnnamed15(o.types!); + checkUnnamed19(o.types!); unittest.expect( o.userRatingCount!, unittest.equals(42), @@ -1056,12 +1322,12 @@ void checkGoogleMapsPlacesV1PlaceAccessibilityOptions( buildCounterGoogleMapsPlacesV1PlaceAccessibilityOptions--; } -core.List buildUnnamed16() => [ +core.List buildUnnamed20() => [ 'foo', 'foo', ]; -void checkUnnamed16(core.List o) { +void checkUnnamed20(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1082,7 +1348,7 @@ api.GoogleMapsPlacesV1PlaceAddressComponent o.languageCode = 'foo'; o.longText = 'foo'; o.shortText = 'foo'; - o.types = buildUnnamed16(); + o.types = buildUnnamed20(); } buildCounterGoogleMapsPlacesV1PlaceAddressComponent--; return o; @@ -1104,11 +1370,43 @@ void checkGoogleMapsPlacesV1PlaceAddressComponent( o.shortText!, unittest.equals('foo'), ); - checkUnnamed16(o.types!); + checkUnnamed20(o.types!); } buildCounterGoogleMapsPlacesV1PlaceAddressComponent--; } +core.List buildUnnamed21() => [ + buildGoogleMapsPlacesV1ContentBlock(), + buildGoogleMapsPlacesV1ContentBlock(), + ]; + +void checkUnnamed21(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleMapsPlacesV1ContentBlock(o[0]); + checkGoogleMapsPlacesV1ContentBlock(o[1]); +} + +core.int buildCounterGoogleMapsPlacesV1PlaceAreaSummary = 0; +api.GoogleMapsPlacesV1PlaceAreaSummary + buildGoogleMapsPlacesV1PlaceAreaSummary() { + final o = api.GoogleMapsPlacesV1PlaceAreaSummary(); + buildCounterGoogleMapsPlacesV1PlaceAreaSummary++; + if (buildCounterGoogleMapsPlacesV1PlaceAreaSummary < 3) { + o.contentBlocks = buildUnnamed21(); + } + buildCounterGoogleMapsPlacesV1PlaceAreaSummary--; + return o; +} + +void checkGoogleMapsPlacesV1PlaceAreaSummary( + api.GoogleMapsPlacesV1PlaceAreaSummary o) { + buildCounterGoogleMapsPlacesV1PlaceAreaSummary++; + if (buildCounterGoogleMapsPlacesV1PlaceAreaSummary < 3) { + checkUnnamed21(o.contentBlocks!); + } + buildCounterGoogleMapsPlacesV1PlaceAreaSummary--; +} + core.int buildCounterGoogleMapsPlacesV1PlaceAttribution = 0; api.GoogleMapsPlacesV1PlaceAttribution buildGoogleMapsPlacesV1PlaceAttribution() { @@ -1138,37 +1436,62 @@ void checkGoogleMapsPlacesV1PlaceAttribution( buildCounterGoogleMapsPlacesV1PlaceAttribution--; } -core.List buildUnnamed17() => [ +core.int buildCounterGoogleMapsPlacesV1PlaceGenerativeSummary = 0; +api.GoogleMapsPlacesV1PlaceGenerativeSummary + buildGoogleMapsPlacesV1PlaceGenerativeSummary() { + final o = api.GoogleMapsPlacesV1PlaceGenerativeSummary(); + buildCounterGoogleMapsPlacesV1PlaceGenerativeSummary++; + if (buildCounterGoogleMapsPlacesV1PlaceGenerativeSummary < 3) { + o.description = buildGoogleTypeLocalizedText(); + o.overview = buildGoogleTypeLocalizedText(); + o.references = buildGoogleMapsPlacesV1References(); + } + buildCounterGoogleMapsPlacesV1PlaceGenerativeSummary--; + return o; +} + +void checkGoogleMapsPlacesV1PlaceGenerativeSummary( + api.GoogleMapsPlacesV1PlaceGenerativeSummary o) { + buildCounterGoogleMapsPlacesV1PlaceGenerativeSummary++; + if (buildCounterGoogleMapsPlacesV1PlaceGenerativeSummary < 3) { + checkGoogleTypeLocalizedText(o.description!); + checkGoogleTypeLocalizedText(o.overview!); + checkGoogleMapsPlacesV1References(o.references!); + } + buildCounterGoogleMapsPlacesV1PlaceGenerativeSummary--; +} + +core.List buildUnnamed22() => [ buildGoogleMapsPlacesV1PlaceOpeningHoursPeriod(), buildGoogleMapsPlacesV1PlaceOpeningHoursPeriod(), ]; -void checkUnnamed17( +void checkUnnamed22( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlacesV1PlaceOpeningHoursPeriod(o[0]); checkGoogleMapsPlacesV1PlaceOpeningHoursPeriod(o[1]); } -core.List buildUnnamed18() => +core.List buildUnnamed23() => [ buildGoogleMapsPlacesV1PlaceOpeningHoursSpecialDay(), buildGoogleMapsPlacesV1PlaceOpeningHoursSpecialDay(), ]; -void checkUnnamed18( +void checkUnnamed23( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlacesV1PlaceOpeningHoursSpecialDay(o[0]); checkGoogleMapsPlacesV1PlaceOpeningHoursSpecialDay(o[1]); } -core.List buildUnnamed19() => [ +core.List buildUnnamed24() => [ 'foo', 'foo', ]; -void checkUnnamed19(core.List o) { +void checkUnnamed24(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1187,10 +1510,10 @@ api.GoogleMapsPlacesV1PlaceOpeningHours buildCounterGoogleMapsPlacesV1PlaceOpeningHours++; if (buildCounterGoogleMapsPlacesV1PlaceOpeningHours < 3) { o.openNow = true; - o.periods = buildUnnamed17(); + o.periods = buildUnnamed22(); o.secondaryHoursType = 'foo'; - o.specialDays = buildUnnamed18(); - o.weekdayDescriptions = buildUnnamed19(); + o.specialDays = buildUnnamed23(); + o.weekdayDescriptions = buildUnnamed24(); } buildCounterGoogleMapsPlacesV1PlaceOpeningHours--; return o; @@ -1201,13 +1524,13 @@ void checkGoogleMapsPlacesV1PlaceOpeningHours( buildCounterGoogleMapsPlacesV1PlaceOpeningHours++; if (buildCounterGoogleMapsPlacesV1PlaceOpeningHours < 3) { unittest.expect(o.openNow!, unittest.isTrue); - checkUnnamed17(o.periods!); + checkUnnamed22(o.periods!); unittest.expect( o.secondaryHoursType!, unittest.equals('foo'), ); - checkUnnamed18(o.specialDays!); - checkUnnamed19(o.weekdayDescriptions!); + checkUnnamed23(o.specialDays!); + checkUnnamed24(o.weekdayDescriptions!); } buildCounterGoogleMapsPlacesV1PlaceOpeningHours--; } @@ -1411,6 +1734,55 @@ void checkGoogleMapsPlacesV1PlaceSubDestination( buildCounterGoogleMapsPlacesV1PlaceSubDestination--; } +core.List buildUnnamed25() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed25(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 buildUnnamed26() => [ + buildGoogleMapsPlacesV1Review(), + buildGoogleMapsPlacesV1Review(), + ]; + +void checkUnnamed26(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleMapsPlacesV1Review(o[0]); + checkGoogleMapsPlacesV1Review(o[1]); +} + +core.int buildCounterGoogleMapsPlacesV1References = 0; +api.GoogleMapsPlacesV1References buildGoogleMapsPlacesV1References() { + final o = api.GoogleMapsPlacesV1References(); + buildCounterGoogleMapsPlacesV1References++; + if (buildCounterGoogleMapsPlacesV1References < 3) { + o.places = buildUnnamed25(); + o.reviews = buildUnnamed26(); + } + buildCounterGoogleMapsPlacesV1References--; + return o; +} + +void checkGoogleMapsPlacesV1References(api.GoogleMapsPlacesV1References o) { + buildCounterGoogleMapsPlacesV1References++; + if (buildCounterGoogleMapsPlacesV1References < 3) { + checkUnnamed25(o.places!); + checkUnnamed26(o.reviews!); + } + buildCounterGoogleMapsPlacesV1References--; +} + core.int buildCounterGoogleMapsPlacesV1Review = 0; api.GoogleMapsPlacesV1Review buildGoogleMapsPlacesV1Review() { final o = api.GoogleMapsPlacesV1Review(); @@ -1454,12 +1826,12 @@ void checkGoogleMapsPlacesV1Review(api.GoogleMapsPlacesV1Review o) { buildCounterGoogleMapsPlacesV1Review--; } -core.List buildUnnamed20() => [ +core.List buildUnnamed27() => [ 'foo', 'foo', ]; -void checkUnnamed20(core.List o) { +void checkUnnamed27(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1471,12 +1843,12 @@ void checkUnnamed20(core.List o) { ); } -core.List buildUnnamed21() => [ +core.List buildUnnamed28() => [ 'foo', 'foo', ]; -void checkUnnamed21(core.List o) { +void checkUnnamed28(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1488,12 +1860,12 @@ void checkUnnamed21(core.List o) { ); } -core.List buildUnnamed22() => [ +core.List buildUnnamed29() => [ 'foo', 'foo', ]; -void checkUnnamed22(core.List o) { +void checkUnnamed29(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1505,12 +1877,12 @@ void checkUnnamed22(core.List o) { ); } -core.List buildUnnamed23() => [ +core.List buildUnnamed30() => [ 'foo', 'foo', ]; -void checkUnnamed23(core.List o) { +void checkUnnamed30(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1528,10 +1900,10 @@ api.GoogleMapsPlacesV1SearchNearbyRequest final o = api.GoogleMapsPlacesV1SearchNearbyRequest(); buildCounterGoogleMapsPlacesV1SearchNearbyRequest++; if (buildCounterGoogleMapsPlacesV1SearchNearbyRequest < 3) { - o.excludedPrimaryTypes = buildUnnamed20(); - o.excludedTypes = buildUnnamed21(); - o.includedPrimaryTypes = buildUnnamed22(); - o.includedTypes = buildUnnamed23(); + o.excludedPrimaryTypes = buildUnnamed27(); + o.excludedTypes = buildUnnamed28(); + o.includedPrimaryTypes = buildUnnamed29(); + o.includedTypes = buildUnnamed30(); o.languageCode = 'foo'; o.locationRestriction = buildGoogleMapsPlacesV1SearchNearbyRequestLocationRestriction(); @@ -1547,10 +1919,10 @@ void checkGoogleMapsPlacesV1SearchNearbyRequest( api.GoogleMapsPlacesV1SearchNearbyRequest o) { buildCounterGoogleMapsPlacesV1SearchNearbyRequest++; if (buildCounterGoogleMapsPlacesV1SearchNearbyRequest < 3) { - checkUnnamed20(o.excludedPrimaryTypes!); - checkUnnamed21(o.excludedTypes!); - checkUnnamed22(o.includedPrimaryTypes!); - checkUnnamed23(o.includedTypes!); + checkUnnamed27(o.excludedPrimaryTypes!); + checkUnnamed28(o.excludedTypes!); + checkUnnamed29(o.includedPrimaryTypes!); + checkUnnamed30(o.includedTypes!); unittest.expect( o.languageCode!, unittest.equals('foo'), @@ -1597,12 +1969,12 @@ void checkGoogleMapsPlacesV1SearchNearbyRequestLocationRestriction( buildCounterGoogleMapsPlacesV1SearchNearbyRequestLocationRestriction--; } -core.List buildUnnamed24() => [ +core.List buildUnnamed31() => [ buildGoogleMapsPlacesV1Place(), buildGoogleMapsPlacesV1Place(), ]; -void checkUnnamed24(core.List o) { +void checkUnnamed31(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlacesV1Place(o[0]); checkGoogleMapsPlacesV1Place(o[1]); @@ -1614,7 +1986,7 @@ api.GoogleMapsPlacesV1SearchNearbyResponse final o = api.GoogleMapsPlacesV1SearchNearbyResponse(); buildCounterGoogleMapsPlacesV1SearchNearbyResponse++; if (buildCounterGoogleMapsPlacesV1SearchNearbyResponse < 3) { - o.places = buildUnnamed24(); + o.places = buildUnnamed31(); } buildCounterGoogleMapsPlacesV1SearchNearbyResponse--; return o; @@ -1624,17 +1996,17 @@ void checkGoogleMapsPlacesV1SearchNearbyResponse( api.GoogleMapsPlacesV1SearchNearbyResponse o) { buildCounterGoogleMapsPlacesV1SearchNearbyResponse++; if (buildCounterGoogleMapsPlacesV1SearchNearbyResponse < 3) { - checkUnnamed24(o.places!); + checkUnnamed31(o.places!); } buildCounterGoogleMapsPlacesV1SearchNearbyResponse--; } -core.List buildUnnamed25() => [ +core.List buildUnnamed32() => [ 'foo', 'foo', ]; -void checkUnnamed25(core.List o) { +void checkUnnamed32(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1661,7 +2033,9 @@ api.GoogleMapsPlacesV1SearchTextRequest o.maxResultCount = 42; o.minRating = 42.0; o.openNow = true; - o.priceLevels = buildUnnamed25(); + o.pageSize = 42; + o.pageToken = 'foo'; + o.priceLevels = buildUnnamed32(); o.rankPreference = 'foo'; o.regionCode = 'foo'; o.strictTypeFiltering = true; @@ -1696,7 +2070,15 @@ void checkGoogleMapsPlacesV1SearchTextRequest( unittest.equals(42.0), ); unittest.expect(o.openNow!, unittest.isTrue); - checkUnnamed25(o.priceLevels!); + unittest.expect( + o.pageSize!, + unittest.equals(42), + ); + unittest.expect( + o.pageToken!, + unittest.equals('foo'), + ); + checkUnnamed32(o.priceLevels!); unittest.expect( o.rankPreference!, unittest.equals('foo'), @@ -1714,12 +2096,12 @@ void checkGoogleMapsPlacesV1SearchTextRequest( buildCounterGoogleMapsPlacesV1SearchTextRequest--; } -core.List buildUnnamed26() => [ +core.List buildUnnamed33() => [ 'foo', 'foo', ]; -void checkUnnamed26(core.List o) { +void checkUnnamed33(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1737,7 +2119,7 @@ api.GoogleMapsPlacesV1SearchTextRequestEVOptions final o = api.GoogleMapsPlacesV1SearchTextRequestEVOptions(); buildCounterGoogleMapsPlacesV1SearchTextRequestEVOptions++; if (buildCounterGoogleMapsPlacesV1SearchTextRequestEVOptions < 3) { - o.connectorTypes = buildUnnamed26(); + o.connectorTypes = buildUnnamed33(); o.minimumChargingRateKw = 42.0; } buildCounterGoogleMapsPlacesV1SearchTextRequestEVOptions--; @@ -1748,7 +2130,7 @@ void checkGoogleMapsPlacesV1SearchTextRequestEVOptions( api.GoogleMapsPlacesV1SearchTextRequestEVOptions o) { buildCounterGoogleMapsPlacesV1SearchTextRequestEVOptions++; if (buildCounterGoogleMapsPlacesV1SearchTextRequestEVOptions < 3) { - checkUnnamed26(o.connectorTypes!); + checkUnnamed33(o.connectorTypes!); unittest.expect( o.minimumChargingRateKw!, unittest.equals(42.0), @@ -1801,12 +2183,23 @@ void checkGoogleMapsPlacesV1SearchTextRequestLocationRestriction( buildCounterGoogleMapsPlacesV1SearchTextRequestLocationRestriction--; } -core.List buildUnnamed27() => [ +core.List buildUnnamed34() => [ + buildGoogleMapsPlacesV1ContextualContent(), + buildGoogleMapsPlacesV1ContextualContent(), + ]; + +void checkUnnamed34(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleMapsPlacesV1ContextualContent(o[0]); + checkGoogleMapsPlacesV1ContextualContent(o[1]); +} + +core.List buildUnnamed35() => [ buildGoogleMapsPlacesV1Place(), buildGoogleMapsPlacesV1Place(), ]; -void checkUnnamed27(core.List o) { +void checkUnnamed35(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleMapsPlacesV1Place(o[0]); checkGoogleMapsPlacesV1Place(o[1]); @@ -1818,7 +2211,9 @@ api.GoogleMapsPlacesV1SearchTextResponse final o = api.GoogleMapsPlacesV1SearchTextResponse(); buildCounterGoogleMapsPlacesV1SearchTextResponse++; if (buildCounterGoogleMapsPlacesV1SearchTextResponse < 3) { - o.places = buildUnnamed27(); + o.contextualContents = buildUnnamed34(); + o.nextPageToken = 'foo'; + o.places = buildUnnamed35(); } buildCounterGoogleMapsPlacesV1SearchTextResponse--; return o; @@ -1828,7 +2223,12 @@ void checkGoogleMapsPlacesV1SearchTextResponse( api.GoogleMapsPlacesV1SearchTextResponse o) { buildCounterGoogleMapsPlacesV1SearchTextResponse++; if (buildCounterGoogleMapsPlacesV1SearchTextResponse < 3) { - checkUnnamed27(o.places!); + checkUnnamed34(o.contextualContents!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed35(o.places!); } buildCounterGoogleMapsPlacesV1SearchTextResponse--; } @@ -2115,6 +2515,97 @@ void main() { }); }); + unittest.group('obj-schema-GoogleMapsPlacesV1ContentBlock', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleMapsPlacesV1ContentBlock(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleMapsPlacesV1ContentBlock.fromJson( + oJson as core.Map); + checkGoogleMapsPlacesV1ContentBlock(od); + }); + }); + + unittest.group('obj-schema-GoogleMapsPlacesV1ContextualContent', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleMapsPlacesV1ContextualContent(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleMapsPlacesV1ContextualContent.fromJson( + oJson as core.Map); + checkGoogleMapsPlacesV1ContextualContent(od); + }); + }); + + unittest.group('obj-schema-GoogleMapsPlacesV1ContextualContentJustification', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleMapsPlacesV1ContextualContentJustification(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleMapsPlacesV1ContextualContentJustification.fromJson( + oJson as core.Map); + checkGoogleMapsPlacesV1ContextualContentJustification(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification + .fromJson(oJson as core.Map); + checkGoogleMapsPlacesV1ContextualContentJustificationBusinessAvailabilityAttributesJustification( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleMapsPlacesV1ContextualContentJustificationReviewJustification', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleMapsPlacesV1ContextualContentJustificationReviewJustification(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleMapsPlacesV1ContextualContentJustificationReviewJustification + .fromJson(oJson as core.Map); + checkGoogleMapsPlacesV1ContextualContentJustificationReviewJustification( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText + .fromJson(oJson as core.Map); + checkGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedText( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange + .fromJson(oJson as core.Map); + checkGoogleMapsPlacesV1ContextualContentJustificationReviewJustificationHighlightedTextHighlightedTextRange( + od); + }); + }); + unittest.group('obj-schema-GoogleMapsPlacesV1EVChargeOptions', () { unittest.test('to-json--from-json', () async { final o = buildGoogleMapsPlacesV1EVChargeOptions(); @@ -2207,6 +2698,16 @@ void main() { }); }); + unittest.group('obj-schema-GoogleMapsPlacesV1PlaceAreaSummary', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleMapsPlacesV1PlaceAreaSummary(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleMapsPlacesV1PlaceAreaSummary.fromJson( + oJson as core.Map); + checkGoogleMapsPlacesV1PlaceAreaSummary(od); + }); + }); + unittest.group('obj-schema-GoogleMapsPlacesV1PlaceAttribution', () { unittest.test('to-json--from-json', () async { final o = buildGoogleMapsPlacesV1PlaceAttribution(); @@ -2217,6 +2718,16 @@ void main() { }); }); + unittest.group('obj-schema-GoogleMapsPlacesV1PlaceGenerativeSummary', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleMapsPlacesV1PlaceGenerativeSummary(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleMapsPlacesV1PlaceGenerativeSummary.fromJson( + oJson as core.Map); + checkGoogleMapsPlacesV1PlaceGenerativeSummary(od); + }); + }); + unittest.group('obj-schema-GoogleMapsPlacesV1PlaceOpeningHours', () { unittest.test('to-json--from-json', () async { final o = buildGoogleMapsPlacesV1PlaceOpeningHours(); @@ -2299,6 +2810,16 @@ void main() { }); }); + unittest.group('obj-schema-GoogleMapsPlacesV1References', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleMapsPlacesV1References(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleMapsPlacesV1References.fromJson( + oJson as core.Map); + checkGoogleMapsPlacesV1References(od); + }); + }); + unittest.group('obj-schema-GoogleMapsPlacesV1Review', () { unittest.test('to-json--from-json', () async { final o = buildGoogleMapsPlacesV1Review(); diff --git a/generated/googleapis/test/playcustomapp/v1_test.dart b/generated/googleapis/test/playcustomapp/v1_test.dart index de16006d9..9485c55fb 100644 --- a/generated/googleapis/test/playcustomapp/v1_test.dart +++ b/generated/googleapis/test/playcustomapp/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/playintegrity/v1_test.dart b/generated/googleapis/test/playintegrity/v1_test.dart index 1893183c4..88d16ec11 100644 --- a/generated/googleapis/test/playintegrity/v1_test.dart +++ b/generated/googleapis/test/playintegrity/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/policyanalyzer/v1_test.dart b/generated/googleapis/test/policyanalyzer/v1_test.dart index dd3472d80..9effbe02f 100644 --- a/generated/googleapis/test/policyanalyzer/v1_test.dart +++ b/generated/googleapis/test/policyanalyzer/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/policysimulator/v1_test.dart b/generated/googleapis/test/policysimulator/v1_test.dart index 0d4597761..f32fc7dc6 100644 --- a/generated/googleapis/test/policysimulator/v1_test.dart +++ b/generated/googleapis/test/policysimulator/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/policytroubleshooter/v1_test.dart b/generated/googleapis/test/policytroubleshooter/v1_test.dart index 06477b232..04d5ab179 100644 --- a/generated/googleapis/test/policytroubleshooter/v1_test.dart +++ b/generated/googleapis/test/policytroubleshooter/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/privateca/v1_test.dart b/generated/googleapis/test/privateca/v1_test.dart index f409800ec..af1556e7b 100644 --- a/generated/googleapis/test/privateca/v1_test.dart +++ b/generated/googleapis/test/privateca/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/publicca/v1_test.dart b/generated/googleapis/test/publicca/v1_test.dart index 9153e259b..304830181 100644 --- a/generated/googleapis/test/publicca/v1_test.dart +++ b/generated/googleapis/test/publicca/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/pubsub/v1_test.dart b/generated/googleapis/test/pubsub/v1_test.dart index 57ab13ce4..274dc1089 100644 --- a/generated/googleapis/test/pubsub/v1_test.dart +++ b/generated/googleapis/test/pubsub/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/pubsublite/v1_test.dart b/generated/googleapis/test/pubsublite/v1_test.dart index 8e556b92a..5dddd68a5 100644 --- a/generated/googleapis/test/pubsublite/v1_test.dart +++ b/generated/googleapis/test/pubsublite/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/rapidmigrationassessment/v1_test.dart b/generated/googleapis/test/rapidmigrationassessment/v1_test.dart index 326500258..59f13099f 100644 --- a/generated/googleapis/test/rapidmigrationassessment/v1_test.dart +++ b/generated/googleapis/test/rapidmigrationassessment/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/readerrevenuesubscriptionlinking/v1_test.dart b/generated/googleapis/test/readerrevenuesubscriptionlinking/v1_test.dart index 93316110b..f2ca281cf 100644 --- a/generated/googleapis/test/readerrevenuesubscriptionlinking/v1_test.dart +++ b/generated/googleapis/test/readerrevenuesubscriptionlinking/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/realtimebidding/v1_test.dart b/generated/googleapis/test/realtimebidding/v1_test.dart index 9b6535f2e..fef2235a0 100644 --- a/generated/googleapis/test/realtimebidding/v1_test.dart +++ b/generated/googleapis/test/realtimebidding/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/recaptchaenterprise/v1_test.dart b/generated/googleapis/test/recaptchaenterprise/v1_test.dart index 5a5230fd9..61d0a2c34 100644 --- a/generated/googleapis/test/recaptchaenterprise/v1_test.dart +++ b/generated/googleapis/test/recaptchaenterprise/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -287,6 +288,8 @@ api.GoogleCloudRecaptchaenterpriseV1Assessment buildGoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment(); o.fraudSignals = buildGoogleCloudRecaptchaenterpriseV1FraudSignals(); o.name = 'foo'; + o.phoneFraudAssessment = + buildGoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment(); o.privatePasswordLeakVerification = buildGoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification(); o.riskAnalysis = buildGoogleCloudRecaptchaenterpriseV1RiskAnalysis(); @@ -314,6 +317,8 @@ void checkGoogleCloudRecaptchaenterpriseV1Assessment( o.name!, unittest.equals('foo'), ); + checkGoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment( + o.phoneFraudAssessment!); checkGoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification( o.privatePasswordLeakVerification!); checkGoogleCloudRecaptchaenterpriseV1RiskAnalysis(o.riskAnalysis!); @@ -1343,6 +1348,29 @@ void checkGoogleCloudRecaptchaenterpriseV1MigrateKeyRequest( buildCounterGoogleCloudRecaptchaenterpriseV1MigrateKeyRequest--; } +core.int buildCounterGoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment = 0; +api.GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment + buildGoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment() { + final o = api.GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment(); + buildCounterGoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment++; + if (buildCounterGoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment < 3) { + o.smsTollFraudVerdict = + buildGoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict(); + } + buildCounterGoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment--; + return o; +} + +void checkGoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment( + api.GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment o) { + buildCounterGoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment++; + if (buildCounterGoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment < 3) { + checkGoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict( + o.smsTollFraudVerdict!); + } + buildCounterGoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment--; +} + core.List buildUnnamed15() => [ 'foo', 'foo', @@ -1785,6 +1813,49 @@ void checkGoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRe buildCounterGoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsResponse--; } +core.List buildUnnamed22() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed22(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 buildCounterGoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict = 0; +api.GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict + buildGoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict() { + final o = api.GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict(); + buildCounterGoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict++; + if (buildCounterGoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict < 3) { + o.reasons = buildUnnamed22(); + o.risk = 42.0; + } + buildCounterGoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict--; + return o; +} + +void checkGoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict( + api.GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict o) { + buildCounterGoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict++; + if (buildCounterGoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict < 3) { + checkUnnamed22(o.reasons!); + unittest.expect( + o.risk!, + unittest.equals(42.0), + ); + } + buildCounterGoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict--; +} + core.int buildCounterGoogleCloudRecaptchaenterpriseV1TestingOptions = 0; api.GoogleCloudRecaptchaenterpriseV1TestingOptions buildGoogleCloudRecaptchaenterpriseV1TestingOptions() { @@ -1866,12 +1937,12 @@ void checkGoogleCloudRecaptchaenterpriseV1TokenProperties( } core.List - buildUnnamed22() => [ + buildUnnamed23() => [ buildGoogleCloudRecaptchaenterpriseV1TransactionDataItem(), buildGoogleCloudRecaptchaenterpriseV1TransactionDataItem(), ]; -void checkUnnamed22( +void checkUnnamed23( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecaptchaenterpriseV1TransactionDataItem(o[0]); @@ -1879,12 +1950,12 @@ void checkUnnamed22( } core.List - buildUnnamed23() => [ + buildUnnamed24() => [ buildGoogleCloudRecaptchaenterpriseV1TransactionDataUser(), buildGoogleCloudRecaptchaenterpriseV1TransactionDataUser(), ]; -void checkUnnamed23( +void checkUnnamed24( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecaptchaenterpriseV1TransactionDataUser(o[0]); @@ -1904,8 +1975,8 @@ api.GoogleCloudRecaptchaenterpriseV1TransactionData o.currencyCode = 'foo'; o.gatewayInfo = buildGoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo(); - o.items = buildUnnamed22(); - o.merchants = buildUnnamed23(); + o.items = buildUnnamed23(); + o.merchants = buildUnnamed24(); o.paymentMethod = 'foo'; o.shippingAddress = buildGoogleCloudRecaptchaenterpriseV1TransactionDataAddress(); @@ -1938,8 +2009,8 @@ void checkGoogleCloudRecaptchaenterpriseV1TransactionData( ); checkGoogleCloudRecaptchaenterpriseV1TransactionDataGatewayInfo( o.gatewayInfo!); - checkUnnamed22(o.items!); - checkUnnamed23(o.merchants!); + checkUnnamed23(o.items!); + checkUnnamed24(o.merchants!); unittest.expect( o.paymentMethod!, unittest.equals('foo'), @@ -1963,12 +2034,12 @@ void checkGoogleCloudRecaptchaenterpriseV1TransactionData( buildCounterGoogleCloudRecaptchaenterpriseV1TransactionData--; } -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], @@ -1986,7 +2057,7 @@ api.GoogleCloudRecaptchaenterpriseV1TransactionDataAddress final o = api.GoogleCloudRecaptchaenterpriseV1TransactionDataAddress(); buildCounterGoogleCloudRecaptchaenterpriseV1TransactionDataAddress++; if (buildCounterGoogleCloudRecaptchaenterpriseV1TransactionDataAddress < 3) { - o.address = buildUnnamed24(); + o.address = buildUnnamed25(); o.administrativeArea = 'foo'; o.locality = 'foo'; o.postalCode = 'foo'; @@ -2001,7 +2072,7 @@ void checkGoogleCloudRecaptchaenterpriseV1TransactionDataAddress( api.GoogleCloudRecaptchaenterpriseV1TransactionDataAddress o) { buildCounterGoogleCloudRecaptchaenterpriseV1TransactionDataAddress++; if (buildCounterGoogleCloudRecaptchaenterpriseV1TransactionDataAddress < 3) { - checkUnnamed24(o.address!); + checkUnnamed25(o.address!); unittest.expect( o.administrativeArea!, unittest.equals('foo'), @@ -2223,12 +2294,12 @@ void checkGoogleCloudRecaptchaenterpriseV1UserId( buildCounterGoogleCloudRecaptchaenterpriseV1UserId--; } -core.List buildUnnamed25() => [ +core.List buildUnnamed26() => [ buildGoogleCloudRecaptchaenterpriseV1UserId(), buildGoogleCloudRecaptchaenterpriseV1UserId(), ]; -void checkUnnamed25(core.List o) { +void checkUnnamed26(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleCloudRecaptchaenterpriseV1UserId(o[0]); checkGoogleCloudRecaptchaenterpriseV1UserId(o[1]); @@ -2242,7 +2313,7 @@ api.GoogleCloudRecaptchaenterpriseV1UserInfo if (buildCounterGoogleCloudRecaptchaenterpriseV1UserInfo < 3) { o.accountId = 'foo'; o.createAccountTime = 'foo'; - o.userIds = buildUnnamed25(); + o.userIds = buildUnnamed26(); } buildCounterGoogleCloudRecaptchaenterpriseV1UserInfo--; return o; @@ -2260,7 +2331,7 @@ void checkGoogleCloudRecaptchaenterpriseV1UserInfo( o.createAccountTime!, unittest.equals('foo'), ); - checkUnnamed25(o.userIds!); + checkUnnamed26(o.userIds!); } buildCounterGoogleCloudRecaptchaenterpriseV1UserInfo--; } @@ -2294,12 +2365,12 @@ void checkGoogleCloudRecaptchaenterpriseV1WafSettings( buildCounterGoogleCloudRecaptchaenterpriseV1WafSettings--; } -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], @@ -2319,7 +2390,7 @@ api.GoogleCloudRecaptchaenterpriseV1WebKeySettings if (buildCounterGoogleCloudRecaptchaenterpriseV1WebKeySettings < 3) { o.allowAllDomains = true; o.allowAmpTraffic = true; - o.allowedDomains = buildUnnamed26(); + o.allowedDomains = buildUnnamed27(); o.challengeSecurityPreference = 'foo'; o.integrationType = 'foo'; } @@ -2333,7 +2404,7 @@ void checkGoogleCloudRecaptchaenterpriseV1WebKeySettings( if (buildCounterGoogleCloudRecaptchaenterpriseV1WebKeySettings < 3) { unittest.expect(o.allowAllDomains!, unittest.isTrue); unittest.expect(o.allowAmpTraffic!, unittest.isTrue); - checkUnnamed26(o.allowedDomains!); + checkUnnamed27(o.allowedDomains!); unittest.expect( o.challengeSecurityPreference!, unittest.equals('foo'), @@ -2361,7 +2432,7 @@ void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { buildCounterGoogleProtobufEmpty--; } -core.Map buildUnnamed27() => { +core.Map buildUnnamed28() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2374,7 +2445,7 @@ core.Map buildUnnamed27() => { }, }; -void checkUnnamed27(core.Map o) { +void checkUnnamed28(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -2406,15 +2477,15 @@ void checkUnnamed27(core.Map o) { ); } -core.List> buildUnnamed28() => [ - buildUnnamed27(), - buildUnnamed27(), +core.List> buildUnnamed29() => [ + buildUnnamed28(), + buildUnnamed28(), ]; -void checkUnnamed28(core.List> o) { +void checkUnnamed29(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed27(o[0]); - checkUnnamed27(o[1]); + checkUnnamed28(o[0]); + checkUnnamed28(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -2423,7 +2494,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed28(); + o.details = buildUnnamed29(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -2437,7 +2508,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed28(o.details!); + checkUnnamed29(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2871,6 +2942,18 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment.fromJson( + oJson as core.Map); + checkGoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment(od); + }); + }); + unittest.group( 'obj-schema-GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification', () { @@ -3014,6 +3097,18 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict.fromJson( + oJson as core.Map); + checkGoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict(od); + }); + }); + unittest.group('obj-schema-GoogleCloudRecaptchaenterpriseV1TestingOptions', () { unittest.test('to-json--from-json', () async { diff --git a/generated/googleapis/test/recommender/v1_test.dart b/generated/googleapis/test/recommender/v1_test.dart index 09dfa35a3..228b5002d 100644 --- a/generated/googleapis/test/recommender/v1_test.dart +++ b/generated/googleapis/test/recommender/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/redis/v1_test.dart b/generated/googleapis/test/redis/v1_test.dart index 084064536..99e492f0e 100644 --- a/generated/googleapis/test/redis/v1_test.dart +++ b/generated/googleapis/test/redis/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/reseller/v1_test.dart b/generated/googleapis/test/reseller/v1_test.dart index fb39fb211..8b31f8545 100644 --- a/generated/googleapis/test/reseller/v1_test.dart +++ b/generated/googleapis/test/reseller/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/resourcesettings/v1_test.dart b/generated/googleapis/test/resourcesettings/v1_test.dart index 2fd839a7c..0d8a60062 100644 --- a/generated/googleapis/test/resourcesettings/v1_test.dart +++ b/generated/googleapis/test/resourcesettings/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/retail/v2_test.dart b/generated/googleapis/test/retail/v2_test.dart index 28e2f519d..a448286a5 100644 --- a/generated/googleapis/test/retail/v2_test.dart +++ b/generated/googleapis/test/retail/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/run/v1_test.dart b/generated/googleapis/test/run/v1_test.dart index b2139db55..82dd0d362 100644 --- a/generated/googleapis/test/run/v1_test.dart +++ b/generated/googleapis/test/run/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/run/v2_test.dart b/generated/googleapis/test/run/v2_test.dart index a61d37df1..3f01a0684 100644 --- a/generated/googleapis/test/run/v2_test.dart +++ b/generated/googleapis/test/run/v2_test.dart @@ -1,6 +1,7 @@ // 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 @@ -1064,6 +1065,7 @@ api.GoogleCloudRunV2Job buildGoogleCloudRunV2Job() { o.name = 'foo'; o.observedGeneration = 'foo'; o.reconciling = true; + o.runExecutionToken = 'foo'; o.satisfiesPzs = true; o.startExecutionToken = 'foo'; o.template = buildGoogleCloudRunV2ExecutionTemplate(); @@ -1136,6 +1138,10 @@ void checkGoogleCloudRunV2Job(api.GoogleCloudRunV2Job o) { unittest.equals('foo'), ); unittest.expect(o.reconciling!, unittest.isTrue); + unittest.expect( + o.runExecutionToken!, + unittest.equals('foo'), + ); unittest.expect(o.satisfiesPzs!, unittest.isTrue); unittest.expect( o.startExecutionToken!, diff --git a/generated/googleapis/test/runtimeconfig/v1_test.dart b/generated/googleapis/test/runtimeconfig/v1_test.dart index 8ef553a51..85ee2eac7 100644 --- a/generated/googleapis/test/runtimeconfig/v1_test.dart +++ b/generated/googleapis/test/runtimeconfig/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/safebrowsing/v4_test.dart b/generated/googleapis/test/safebrowsing/v4_test.dart index f86e38767..f4150e108 100644 --- a/generated/googleapis/test/safebrowsing/v4_test.dart +++ b/generated/googleapis/test/safebrowsing/v4_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/safebrowsing/v5_test.dart b/generated/googleapis/test/safebrowsing/v5_test.dart index eff7dc08d..a8fc20b07 100644 --- a/generated/googleapis/test/safebrowsing/v5_test.dart +++ b/generated/googleapis/test/safebrowsing/v5_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/script/v1_test.dart b/generated/googleapis/test/script/v1_test.dart index e1f782faf..2e44778d7 100644 --- a/generated/googleapis/test/script/v1_test.dart +++ b/generated/googleapis/test/script/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/searchconsole/v1_test.dart b/generated/googleapis/test/searchconsole/v1_test.dart index 5aa463062..da730f071 100644 --- a/generated/googleapis/test/searchconsole/v1_test.dart +++ b/generated/googleapis/test/searchconsole/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/secretmanager/v1_test.dart b/generated/googleapis/test/secretmanager/v1_test.dart index aed5fd8be..0c14d9000 100644 --- a/generated/googleapis/test/secretmanager/v1_test.dart +++ b/generated/googleapis/test/secretmanager/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/securitycenter/v1_test.dart b/generated/googleapis/test/securitycenter/v1_test.dart index 52c8cbe57..58d35dba5 100644 --- a/generated/googleapis/test/securitycenter/v1_test.dart +++ b/generated/googleapis/test/securitycenter/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -9206,6 +9207,72 @@ void main() { }); unittest.group('resource-FoldersLocationsMuteConfigsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = + api.SecurityCommandCenterApi(mock).folders.locations.muteConfigs; + final arg_request = buildGoogleCloudSecuritycenterV1MuteConfig(); + final arg_parent = 'foo'; + final arg_muteConfigId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudSecuritycenterV1MuteConfig.fromJson( + json as core.Map); + checkGoogleCloudSecuritycenterV1MuteConfig(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['muteConfigId']!.first, + unittest.equals(arg_muteConfigId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleCloudSecuritycenterV1MuteConfig()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, arg_parent, + muteConfigId: arg_muteConfigId, $fields: arg_$fields); + checkGoogleCloudSecuritycenterV1MuteConfig( + response as api.GoogleCloudSecuritycenterV1MuteConfig); + }); + unittest.test('method--delete', () async { final mock = HttpServerMock(); final res = @@ -9314,6 +9381,72 @@ void main() { response as api.GoogleCloudSecuritycenterV1MuteConfig); }); + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = + api.SecurityCommandCenterApi(mock).folders.locations.muteConfigs; + 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(buildListMuteConfigsResponse()); + 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); + checkListMuteConfigsResponse(response as api.ListMuteConfigsResponse); + }); + unittest.test('method--patch', () async { final mock = HttpServerMock(); final res = @@ -12480,6 +12613,74 @@ void main() { }); unittest.group('resource-OrganizationsLocationsMuteConfigsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.SecurityCommandCenterApi(mock) + .organizations + .locations + .muteConfigs; + final arg_request = buildGoogleCloudSecuritycenterV1MuteConfig(); + final arg_parent = 'foo'; + final arg_muteConfigId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudSecuritycenterV1MuteConfig.fromJson( + json as core.Map); + checkGoogleCloudSecuritycenterV1MuteConfig(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['muteConfigId']!.first, + unittest.equals(arg_muteConfigId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleCloudSecuritycenterV1MuteConfig()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, arg_parent, + muteConfigId: arg_muteConfigId, $fields: arg_$fields); + checkGoogleCloudSecuritycenterV1MuteConfig( + response as api.GoogleCloudSecuritycenterV1MuteConfig); + }); + unittest.test('method--delete', () async { final mock = HttpServerMock(); final res = api.SecurityCommandCenterApi(mock) @@ -12592,6 +12793,74 @@ void main() { response as api.GoogleCloudSecuritycenterV1MuteConfig); }); + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.SecurityCommandCenterApi(mock) + .organizations + .locations + .muteConfigs; + 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(buildListMuteConfigsResponse()); + 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); + checkListMuteConfigsResponse(response as api.ListMuteConfigsResponse); + }); + unittest.test('method--patch', () async { final mock = HttpServerMock(); final res = api.SecurityCommandCenterApi(mock) @@ -17042,6 +17311,72 @@ void main() { }); unittest.group('resource-ProjectsLocationsMuteConfigsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = + api.SecurityCommandCenterApi(mock).projects.locations.muteConfigs; + final arg_request = buildGoogleCloudSecuritycenterV1MuteConfig(); + final arg_parent = 'foo'; + final arg_muteConfigId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleCloudSecuritycenterV1MuteConfig.fromJson( + json as core.Map); + checkGoogleCloudSecuritycenterV1MuteConfig(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['muteConfigId']!.first, + unittest.equals(arg_muteConfigId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = + convert.json.encode(buildGoogleCloudSecuritycenterV1MuteConfig()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, arg_parent, + muteConfigId: arg_muteConfigId, $fields: arg_$fields); + checkGoogleCloudSecuritycenterV1MuteConfig( + response as api.GoogleCloudSecuritycenterV1MuteConfig); + }); + unittest.test('method--delete', () async { final mock = HttpServerMock(); final res = @@ -17150,6 +17485,72 @@ void main() { response as api.GoogleCloudSecuritycenterV1MuteConfig); }); + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = + api.SecurityCommandCenterApi(mock).projects.locations.muteConfigs; + 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(buildListMuteConfigsResponse()); + 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); + checkListMuteConfigsResponse(response as api.ListMuteConfigsResponse); + }); + unittest.test('method--patch', () async { final mock = HttpServerMock(); final res = diff --git a/generated/googleapis/test/serviceconsumermanagement/v1_test.dart b/generated/googleapis/test/serviceconsumermanagement/v1_test.dart index 7650ee728..a46d532ea 100644 --- a/generated/googleapis/test/serviceconsumermanagement/v1_test.dart +++ b/generated/googleapis/test/serviceconsumermanagement/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/servicecontrol/v1_test.dart b/generated/googleapis/test/servicecontrol/v1_test.dart index 05c6c9e0c..01b3049be 100644 --- a/generated/googleapis/test/servicecontrol/v1_test.dart +++ b/generated/googleapis/test/servicecontrol/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/servicecontrol/v2_test.dart b/generated/googleapis/test/servicecontrol/v2_test.dart index 027e84e60..5b1687f18 100644 --- a/generated/googleapis/test/servicecontrol/v2_test.dart +++ b/generated/googleapis/test/servicecontrol/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/servicedirectory/v1_test.dart b/generated/googleapis/test/servicedirectory/v1_test.dart index 257ab079e..a54c505f1 100644 --- a/generated/googleapis/test/servicedirectory/v1_test.dart +++ b/generated/googleapis/test/servicedirectory/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/servicemanagement/v1_test.dart b/generated/googleapis/test/servicemanagement/v1_test.dart index 66b2ffe33..1e2ce00ba 100644 --- a/generated/googleapis/test/servicemanagement/v1_test.dart +++ b/generated/googleapis/test/servicemanagement/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/servicenetworking/v1_test.dart b/generated/googleapis/test/servicenetworking/v1_test.dart index fa8dbfe95..36f870965 100644 --- a/generated/googleapis/test/servicenetworking/v1_test.dart +++ b/generated/googleapis/test/servicenetworking/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/serviceusage/v1_test.dart b/generated/googleapis/test/serviceusage/v1_test.dart index 669e957b1..08c8f1079 100644 --- a/generated/googleapis/test/serviceusage/v1_test.dart +++ b/generated/googleapis/test/serviceusage/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/sheets/v4_test.dart b/generated/googleapis/test/sheets/v4_test.dart index bf2272502..cf8150bb2 100644 --- a/generated/googleapis/test/sheets/v4_test.dart +++ b/generated/googleapis/test/sheets/v4_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/siteverification/v1_test.dart b/generated/googleapis/test/siteverification/v1_test.dart index c8c4c1835..340df5af0 100644 --- a/generated/googleapis/test/siteverification/v1_test.dart +++ b/generated/googleapis/test/siteverification/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/slides/v1_test.dart b/generated/googleapis/test/slides/v1_test.dart index 9f24d3d04..cb26535a8 100644 --- a/generated/googleapis/test/slides/v1_test.dart +++ b/generated/googleapis/test/slides/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/smartdevicemanagement/v1_test.dart b/generated/googleapis/test/smartdevicemanagement/v1_test.dart index 997ca2da7..c4f438011 100644 --- a/generated/googleapis/test/smartdevicemanagement/v1_test.dart +++ b/generated/googleapis/test/smartdevicemanagement/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/solar/v1_test.dart b/generated/googleapis/test/solar/v1_test.dart index e307e81f5..a8984c76a 100644 --- a/generated/googleapis/test/solar/v1_test.dart +++ b/generated/googleapis/test/solar/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/sourcerepo/v1_test.dart b/generated/googleapis/test/sourcerepo/v1_test.dart index 2aa5e0d23..ad0d0a463 100644 --- a/generated/googleapis/test/sourcerepo/v1_test.dart +++ b/generated/googleapis/test/sourcerepo/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/spanner/v1_test.dart b/generated/googleapis/test/spanner/v1_test.dart index bec4a4460..15819fbd6 100644 --- a/generated/googleapis/test/spanner/v1_test.dart +++ b/generated/googleapis/test/spanner/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -456,6 +457,35 @@ void checkBinding(api.Binding o) { buildCounterBinding--; } +core.int buildCounterChangeQuorumRequest = 0; +api.ChangeQuorumRequest buildChangeQuorumRequest() { + final o = api.ChangeQuorumRequest(); + buildCounterChangeQuorumRequest++; + if (buildCounterChangeQuorumRequest < 3) { + o.etag = 'foo'; + o.name = 'foo'; + o.quorumType = buildQuorumType(); + } + buildCounterChangeQuorumRequest--; + return o; +} + +void checkChangeQuorumRequest(api.ChangeQuorumRequest o) { + buildCounterChangeQuorumRequest++; + if (buildCounterChangeQuorumRequest < 3) { + unittest.expect( + o.etag!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkQuorumType(o.quorumType!); + } + buildCounterChangeQuorumRequest--; +} + core.int buildCounterChildLink = 0; api.ChildLink buildChildLink() { final o = api.ChildLink(); @@ -864,6 +894,7 @@ api.Database buildDatabase() { o.encryptionConfig = buildEncryptionConfig(); o.encryptionInfo = buildUnnamed10(); o.name = 'foo'; + o.quorumInfo = buildQuorumInfo(); o.reconciling = true; o.restoreInfo = buildRestoreInfo(); o.state = 'foo'; @@ -899,6 +930,7 @@ void checkDatabase(api.Database o) { o.name!, unittest.equals('foo'), ); + checkQuorumInfo(o.quorumInfo!); unittest.expect(o.reconciling!, unittest.isTrue); checkRestoreInfo(o.restoreInfo!); unittest.expect( @@ -1031,6 +1063,21 @@ void checkDirectedReadOptions(api.DirectedReadOptions o) { buildCounterDirectedReadOptions--; } +core.int buildCounterDualRegionQuorum = 0; +api.DualRegionQuorum buildDualRegionQuorum() { + final o = api.DualRegionQuorum(); + buildCounterDualRegionQuorum++; + if (buildCounterDualRegionQuorum < 3) {} + buildCounterDualRegionQuorum--; + return o; +} + +void checkDualRegionQuorum(api.DualRegionQuorum o) { + buildCounterDualRegionQuorum++; + if (buildCounterDualRegionQuorum < 3) {} + buildCounterDualRegionQuorum--; +} + core.int buildCounterEmpty = 0; api.Empty buildEmpty() { final o = api.Empty(); @@ -1817,6 +1864,7 @@ api.InstanceConfig buildInstanceConfig() { o.leaderOptions = buildUnnamed25(); o.name = 'foo'; o.optionalReplicas = buildUnnamed26(); + o.quorumType = 'foo'; o.reconciling = true; o.replicas = buildUnnamed27(); o.state = 'foo'; @@ -1856,6 +1904,10 @@ void checkInstanceConfig(api.InstanceConfig o) { unittest.equals('foo'), ); checkUnnamed26(o.optionalReplicas!); + unittest.expect( + o.quorumType!, + unittest.equals('foo'), + ); unittest.expect(o.reconciling!, unittest.isTrue); checkUnnamed27(o.replicas!); unittest.expect( @@ -3875,6 +3927,61 @@ void checkQueryPlan(api.QueryPlan o) { buildCounterQueryPlan--; } +core.int buildCounterQuorumInfo = 0; +api.QuorumInfo buildQuorumInfo() { + final o = api.QuorumInfo(); + buildCounterQuorumInfo++; + if (buildCounterQuorumInfo < 3) { + o.etag = 'foo'; + o.initiator = 'foo'; + o.quorumType = buildQuorumType(); + o.startTime = 'foo'; + } + buildCounterQuorumInfo--; + return o; +} + +void checkQuorumInfo(api.QuorumInfo o) { + buildCounterQuorumInfo++; + if (buildCounterQuorumInfo < 3) { + unittest.expect( + o.etag!, + unittest.equals('foo'), + ); + unittest.expect( + o.initiator!, + unittest.equals('foo'), + ); + checkQuorumType(o.quorumType!); + unittest.expect( + o.startTime!, + unittest.equals('foo'), + ); + } + buildCounterQuorumInfo--; +} + +core.int buildCounterQuorumType = 0; +api.QuorumType buildQuorumType() { + final o = api.QuorumType(); + buildCounterQuorumType++; + if (buildCounterQuorumType < 3) { + o.dualRegion = buildDualRegionQuorum(); + o.singleRegion = buildSingleRegionQuorum(); + } + buildCounterQuorumType--; + return o; +} + +void checkQuorumType(api.QuorumType o) { + buildCounterQuorumType++; + if (buildCounterQuorumType < 3) { + checkDualRegionQuorum(o.dualRegion!); + checkSingleRegionQuorum(o.singleRegion!); + } + buildCounterQuorumType--; +} + core.int buildCounterReadOnly = 0; api.ReadOnly buildReadOnly() { final o = api.ReadOnly(); @@ -4625,6 +4732,28 @@ void checkShortRepresentation(api.ShortRepresentation o) { buildCounterShortRepresentation--; } +core.int buildCounterSingleRegionQuorum = 0; +api.SingleRegionQuorum buildSingleRegionQuorum() { + final o = api.SingleRegionQuorum(); + buildCounterSingleRegionQuorum++; + if (buildCounterSingleRegionQuorum < 3) { + o.servingLocation = 'foo'; + } + buildCounterSingleRegionQuorum--; + return o; +} + +void checkSingleRegionQuorum(api.SingleRegionQuorum o) { + buildCounterSingleRegionQuorum++; + if (buildCounterSingleRegionQuorum < 3) { + unittest.expect( + o.servingLocation!, + unittest.equals('foo'), + ); + } + buildCounterSingleRegionQuorum--; +} + core.Map buildUnnamed82() => { 'x': buildType(), 'y': buildType(), @@ -5471,6 +5600,16 @@ void main() { }); }); + unittest.group('obj-schema-ChangeQuorumRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildChangeQuorumRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ChangeQuorumRequest.fromJson( + oJson as core.Map); + checkChangeQuorumRequest(od); + }); + }); + unittest.group('obj-schema-ChildLink', () { unittest.test('to-json--from-json', () async { final o = buildChildLink(); @@ -5651,6 +5790,16 @@ void main() { }); }); + unittest.group('obj-schema-DualRegionQuorum', () { + unittest.test('to-json--from-json', () async { + final o = buildDualRegionQuorum(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.DualRegionQuorum.fromJson( + oJson as core.Map); + checkDualRegionQuorum(od); + }); + }); + unittest.group('obj-schema-Empty', () { unittest.test('to-json--from-json', () async { final o = buildEmpty(); @@ -6231,6 +6380,26 @@ void main() { }); }); + unittest.group('obj-schema-QuorumInfo', () { + unittest.test('to-json--from-json', () async { + final o = buildQuorumInfo(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.QuorumInfo.fromJson(oJson as core.Map); + checkQuorumInfo(od); + }); + }); + + unittest.group('obj-schema-QuorumType', () { + unittest.test('to-json--from-json', () async { + final o = buildQuorumType(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.QuorumType.fromJson(oJson as core.Map); + checkQuorumType(od); + }); + }); + unittest.group('obj-schema-ReadOnly', () { unittest.test('to-json--from-json', () async { final o = buildReadOnly(); @@ -6411,6 +6580,16 @@ void main() { }); }); + unittest.group('obj-schema-SingleRegionQuorum', () { + unittest.test('to-json--from-json', () async { + final o = buildSingleRegionQuorum(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.SingleRegionQuorum.fromJson( + oJson as core.Map); + checkSingleRegionQuorum(od); + }); + }); + unittest.group('obj-schema-Statement', () { unittest.test('to-json--from-json', () async { final o = buildStatement(); @@ -8869,6 +9048,64 @@ void main() { }); unittest.group('resource-ProjectsInstancesDatabasesResource', () { + unittest.test('method--changequorum', () async { + final mock = HttpServerMock(); + final res = api.SpannerApi(mock).projects.instances.databases; + final arg_request = buildChangeQuorumRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.ChangeQuorumRequest.fromJson( + json as core.Map); + checkChangeQuorumRequest(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.changequorum(arg_request, arg_name, $fields: arg_$fields); + checkOperation(response as api.Operation); + }); + unittest.test('method--create', () async { final mock = HttpServerMock(); final res = api.SpannerApi(mock).projects.instances.databases; diff --git a/generated/googleapis/test/speech/v1_test.dart b/generated/googleapis/test/speech/v1_test.dart index 73b7079a8..929a37347 100644 --- a/generated/googleapis/test/speech/v1_test.dart +++ b/generated/googleapis/test/speech/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/speech/v2_test.dart b/generated/googleapis/test/speech/v2_test.dart index f73ab75db..0e0964d5d 100644 --- a/generated/googleapis/test/speech/v2_test.dart +++ b/generated/googleapis/test/speech/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/storage/v1_test.dart b/generated/googleapis/test/storage/v1_test.dart index a0d18452e..29efebdef 100644 --- a/generated/googleapis/test/storage/v1_test.dart +++ b/generated/googleapis/test/storage/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -1103,12 +1104,112 @@ void checkBucketAccessControls(api.BucketAccessControls o) { buildCounterBucketAccessControls--; } -core.List buildUnnamed14() => [ +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 buildCounterBucketStorageLayoutCustomPlacementConfig = 0; +api.BucketStorageLayoutCustomPlacementConfig + buildBucketStorageLayoutCustomPlacementConfig() { + final o = api.BucketStorageLayoutCustomPlacementConfig(); + buildCounterBucketStorageLayoutCustomPlacementConfig++; + if (buildCounterBucketStorageLayoutCustomPlacementConfig < 3) { + o.dataLocations = buildUnnamed14(); + } + buildCounterBucketStorageLayoutCustomPlacementConfig--; + return o; +} + +void checkBucketStorageLayoutCustomPlacementConfig( + api.BucketStorageLayoutCustomPlacementConfig o) { + buildCounterBucketStorageLayoutCustomPlacementConfig++; + if (buildCounterBucketStorageLayoutCustomPlacementConfig < 3) { + checkUnnamed14(o.dataLocations!); + } + buildCounterBucketStorageLayoutCustomPlacementConfig--; +} + +core.int buildCounterBucketStorageLayoutHierarchicalNamespace = 0; +api.BucketStorageLayoutHierarchicalNamespace + buildBucketStorageLayoutHierarchicalNamespace() { + final o = api.BucketStorageLayoutHierarchicalNamespace(); + buildCounterBucketStorageLayoutHierarchicalNamespace++; + if (buildCounterBucketStorageLayoutHierarchicalNamespace < 3) { + o.enabled = true; + } + buildCounterBucketStorageLayoutHierarchicalNamespace--; + return o; +} + +void checkBucketStorageLayoutHierarchicalNamespace( + api.BucketStorageLayoutHierarchicalNamespace o) { + buildCounterBucketStorageLayoutHierarchicalNamespace++; + if (buildCounterBucketStorageLayoutHierarchicalNamespace < 3) { + unittest.expect(o.enabled!, unittest.isTrue); + } + buildCounterBucketStorageLayoutHierarchicalNamespace--; +} + +core.int buildCounterBucketStorageLayout = 0; +api.BucketStorageLayout buildBucketStorageLayout() { + final o = api.BucketStorageLayout(); + buildCounterBucketStorageLayout++; + if (buildCounterBucketStorageLayout < 3) { + o.bucket = 'foo'; + o.customPlacementConfig = buildBucketStorageLayoutCustomPlacementConfig(); + o.hierarchicalNamespace = buildBucketStorageLayoutHierarchicalNamespace(); + o.kind = 'foo'; + o.location = 'foo'; + o.locationType = 'foo'; + } + buildCounterBucketStorageLayout--; + return o; +} + +void checkBucketStorageLayout(api.BucketStorageLayout o) { + buildCounterBucketStorageLayout++; + if (buildCounterBucketStorageLayout < 3) { + unittest.expect( + o.bucket!, + unittest.equals('foo'), + ); + checkBucketStorageLayoutCustomPlacementConfig(o.customPlacementConfig!); + checkBucketStorageLayoutHierarchicalNamespace(o.hierarchicalNamespace!); + unittest.expect( + o.kind!, + unittest.equals('foo'), + ); + unittest.expect( + o.location!, + unittest.equals('foo'), + ); + unittest.expect( + o.locationType!, + unittest.equals('foo'), + ); + } + buildCounterBucketStorageLayout--; +} + +core.List buildUnnamed15() => [ buildBucket(), buildBucket(), ]; -void checkUnnamed14(core.List o) { +void checkUnnamed15(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkBucket(o[0]); checkBucket(o[1]); @@ -1119,7 +1220,7 @@ api.Buckets buildBuckets() { final o = api.Buckets(); buildCounterBuckets++; if (buildCounterBuckets < 3) { - o.items = buildUnnamed14(); + o.items = buildUnnamed15(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1130,7 +1231,7 @@ api.Buckets buildBuckets() { void checkBuckets(api.Buckets o) { buildCounterBuckets++; if (buildCounterBuckets < 3) { - checkUnnamed14(o.items!); + checkUnnamed15(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1143,12 +1244,12 @@ void checkBuckets(api.Buckets o) { buildCounterBuckets--; } -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], @@ -1167,7 +1268,7 @@ api.BulkRestoreObjectsRequest buildBulkRestoreObjectsRequest() { if (buildCounterBulkRestoreObjectsRequest < 3) { o.allowOverwrite = true; o.copySourceAcl = true; - o.matchGlobs = buildUnnamed15(); + o.matchGlobs = buildUnnamed16(); o.softDeletedAfterTime = core.DateTime.parse('2002-02-27T14:01:02Z'); o.softDeletedBeforeTime = core.DateTime.parse('2002-02-27T14:01:02Z'); } @@ -1180,7 +1281,7 @@ void checkBulkRestoreObjectsRequest(api.BulkRestoreObjectsRequest o) { if (buildCounterBulkRestoreObjectsRequest < 3) { unittest.expect(o.allowOverwrite!, unittest.isTrue); unittest.expect(o.copySourceAcl!, unittest.isTrue); - checkUnnamed15(o.matchGlobs!); + checkUnnamed16(o.matchGlobs!); unittest.expect( o.softDeletedAfterTime!, unittest.equals(core.DateTime.parse('2002-02-27T14:01:02Z')), @@ -1193,12 +1294,12 @@ void checkBulkRestoreObjectsRequest(api.BulkRestoreObjectsRequest o) { buildCounterBulkRestoreObjectsRequest--; } -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']!, @@ -1219,7 +1320,7 @@ api.Channel buildChannel() { o.expiration = 'foo'; o.id = 'foo'; o.kind = 'foo'; - o.params = buildUnnamed16(); + o.params = buildUnnamed17(); o.payload = true; o.resourceId = 'foo'; o.resourceUri = 'foo'; @@ -1249,7 +1350,7 @@ void checkChannel(api.Channel o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed16(o.params!); + checkUnnamed17(o.params!); unittest.expect(o.payload!, unittest.isTrue); unittest.expect( o.resourceId!, @@ -1325,12 +1426,12 @@ void checkComposeRequestSourceObjects(api.ComposeRequestSourceObjects o) { buildCounterComposeRequestSourceObjects--; } -core.List buildUnnamed17() => [ +core.List buildUnnamed18() => [ buildComposeRequestSourceObjects(), buildComposeRequestSourceObjects(), ]; -void checkUnnamed17(core.List o) { +void checkUnnamed18(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkComposeRequestSourceObjects(o[0]); checkComposeRequestSourceObjects(o[1]); @@ -1343,7 +1444,7 @@ api.ComposeRequest buildComposeRequest() { if (buildCounterComposeRequest < 3) { o.destination = buildObject(); o.kind = 'foo'; - o.sourceObjects = buildUnnamed17(); + o.sourceObjects = buildUnnamed18(); } buildCounterComposeRequest--; return o; @@ -1357,7 +1458,7 @@ void checkComposeRequest(api.ComposeRequest o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed17(o.sourceObjects!); + checkUnnamed18(o.sourceObjects!); } buildCounterComposeRequest--; } @@ -1480,12 +1581,12 @@ void checkFolder(api.Folder o) { buildCounterFolder--; } -core.List buildUnnamed18() => [ +core.List buildUnnamed19() => [ buildFolder(), buildFolder(), ]; -void checkUnnamed18(core.List o) { +void checkUnnamed19(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFolder(o[0]); checkFolder(o[1]); @@ -1496,7 +1597,7 @@ api.Folders buildFolders() { final o = api.Folders(); buildCounterFolders++; if (buildCounterFolders < 3) { - o.items = buildUnnamed18(); + o.items = buildUnnamed19(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1507,7 +1608,7 @@ api.Folders buildFolders() { void checkFolders(api.Folders o) { buildCounterFolders++; if (buildCounterFolders < 3) { - checkUnnamed18(o.items!); + checkUnnamed19(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1520,12 +1621,12 @@ void checkFolders(api.Folders o) { buildCounterFolders--; } -core.List buildUnnamed19() => [ +core.List buildUnnamed20() => [ buildGoogleLongrunningOperation(), buildGoogleLongrunningOperation(), ]; -void checkUnnamed19(core.List o) { +void checkUnnamed20(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkGoogleLongrunningOperation(o[0]); checkGoogleLongrunningOperation(o[1]); @@ -1538,7 +1639,7 @@ api.GoogleLongrunningListOperationsResponse buildCounterGoogleLongrunningListOperationsResponse++; if (buildCounterGoogleLongrunningListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed19(); + o.operations = buildUnnamed20(); } buildCounterGoogleLongrunningListOperationsResponse--; return o; @@ -1552,12 +1653,12 @@ void checkGoogleLongrunningListOperationsResponse( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed19(o.operations!); + checkUnnamed20(o.operations!); } buildCounterGoogleLongrunningListOperationsResponse--; } -core.Map buildUnnamed20() => { +core.Map buildUnnamed21() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1570,7 +1671,7 @@ core.Map buildUnnamed20() => { }, }; -void checkUnnamed20(core.Map o) { +void checkUnnamed21(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1602,7 +1703,7 @@ void checkUnnamed20(core.Map o) { ); } -core.Map buildUnnamed21() => { +core.Map buildUnnamed22() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1615,7 +1716,7 @@ core.Map buildUnnamed21() => { }, }; -void checkUnnamed21(core.Map o) { +void checkUnnamed22(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1654,9 +1755,9 @@ api.GoogleLongrunningOperation buildGoogleLongrunningOperation() { if (buildCounterGoogleLongrunningOperation < 3) { o.done = true; o.error = buildGoogleRpcStatus(); - o.metadata = buildUnnamed20(); + o.metadata = buildUnnamed21(); o.name = 'foo'; - o.response = buildUnnamed21(); + o.response = buildUnnamed22(); } buildCounterGoogleLongrunningOperation--; return o; @@ -1667,17 +1768,17 @@ void checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { if (buildCounterGoogleLongrunningOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkGoogleRpcStatus(o.error!); - checkUnnamed20(o.metadata!); + checkUnnamed21(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed21(o.response!); + checkUnnamed22(o.response!); } buildCounterGoogleLongrunningOperation--; } -core.Map buildUnnamed22() => { +core.Map buildUnnamed23() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1690,7 +1791,7 @@ core.Map buildUnnamed22() => { }, }; -void checkUnnamed22(core.Map o) { +void checkUnnamed23(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -1722,15 +1823,15 @@ void checkUnnamed22(core.Map o) { ); } -core.List> buildUnnamed23() => [ - buildUnnamed22(), - buildUnnamed22(), +core.List> buildUnnamed24() => [ + buildUnnamed23(), + buildUnnamed23(), ]; -void checkUnnamed23(core.List> o) { +void checkUnnamed24(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed22(o[0]); - checkUnnamed22(o[1]); + checkUnnamed23(o[0]); + checkUnnamed23(o[1]); } core.int buildCounterGoogleRpcStatus = 0; @@ -1739,7 +1840,7 @@ api.GoogleRpcStatus buildGoogleRpcStatus() { buildCounterGoogleRpcStatus++; if (buildCounterGoogleRpcStatus < 3) { o.code = 42; - o.details = buildUnnamed23(); + o.details = buildUnnamed24(); o.message = 'foo'; } buildCounterGoogleRpcStatus--; @@ -1753,7 +1854,7 @@ void checkGoogleRpcStatus(api.GoogleRpcStatus o) { o.code!, unittest.equals(42), ); - checkUnnamed23(o.details!); + checkUnnamed24(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1858,12 +1959,12 @@ void checkHmacKeyMetadata(api.HmacKeyMetadata o) { buildCounterHmacKeyMetadata--; } -core.List buildUnnamed24() => [ +core.List buildUnnamed25() => [ buildHmacKeyMetadata(), buildHmacKeyMetadata(), ]; -void checkUnnamed24(core.List o) { +void checkUnnamed25(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkHmacKeyMetadata(o[0]); checkHmacKeyMetadata(o[1]); @@ -1874,7 +1975,7 @@ api.HmacKeysMetadata buildHmacKeysMetadata() { final o = api.HmacKeysMetadata(); buildCounterHmacKeysMetadata++; if (buildCounterHmacKeysMetadata < 3) { - o.items = buildUnnamed24(); + o.items = buildUnnamed25(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1885,7 +1986,7 @@ api.HmacKeysMetadata buildHmacKeysMetadata() { void checkHmacKeysMetadata(api.HmacKeysMetadata o) { buildCounterHmacKeysMetadata++; if (buildCounterHmacKeysMetadata < 3) { - checkUnnamed24(o.items!); + checkUnnamed25(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1955,12 +2056,12 @@ void checkManagedFolder(api.ManagedFolder o) { buildCounterManagedFolder--; } -core.List buildUnnamed25() => [ +core.List buildUnnamed26() => [ buildManagedFolder(), buildManagedFolder(), ]; -void checkUnnamed25(core.List o) { +void checkUnnamed26(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkManagedFolder(o[0]); checkManagedFolder(o[1]); @@ -1971,7 +2072,7 @@ api.ManagedFolders buildManagedFolders() { final o = api.ManagedFolders(); buildCounterManagedFolders++; if (buildCounterManagedFolders < 3) { - o.items = buildUnnamed25(); + o.items = buildUnnamed26(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -1982,7 +2083,7 @@ api.ManagedFolders buildManagedFolders() { void checkManagedFolders(api.ManagedFolders o) { buildCounterManagedFolders++; if (buildCounterManagedFolders < 3) { - checkUnnamed25(o.items!); + checkUnnamed26(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1995,12 +2096,12 @@ void checkManagedFolders(api.ManagedFolders o) { buildCounterManagedFolders--; } -core.Map buildUnnamed26() => { +core.Map buildUnnamed27() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed26(core.Map o) { +void checkUnnamed27(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -2012,12 +2113,12 @@ void checkUnnamed26(core.Map 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], @@ -2034,9 +2135,9 @@ api.Notification buildNotification() { final o = api.Notification(); buildCounterNotification++; if (buildCounterNotification < 3) { - o.customAttributes = buildUnnamed26(); + o.customAttributes = buildUnnamed27(); o.etag = 'foo'; - o.eventTypes = buildUnnamed27(); + o.eventTypes = buildUnnamed28(); o.id = 'foo'; o.kind = 'foo'; o.objectNamePrefix = 'foo'; @@ -2051,12 +2152,12 @@ api.Notification buildNotification() { void checkNotification(api.Notification o) { buildCounterNotification++; if (buildCounterNotification < 3) { - checkUnnamed26(o.customAttributes!); + checkUnnamed27(o.customAttributes!); unittest.expect( o.etag!, unittest.equals('foo'), ); - checkUnnamed27(o.eventTypes!); + checkUnnamed28(o.eventTypes!); unittest.expect( o.id!, unittest.equals('foo'), @@ -2085,12 +2186,12 @@ void checkNotification(api.Notification o) { buildCounterNotification--; } -core.List buildUnnamed28() => [ +core.List buildUnnamed29() => [ buildNotification(), buildNotification(), ]; -void checkUnnamed28(core.List o) { +void checkUnnamed29(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkNotification(o[0]); checkNotification(o[1]); @@ -2101,7 +2202,7 @@ api.Notifications buildNotifications() { final o = api.Notifications(); buildCounterNotifications++; if (buildCounterNotifications < 3) { - o.items = buildUnnamed28(); + o.items = buildUnnamed29(); o.kind = 'foo'; } buildCounterNotifications--; @@ -2111,7 +2212,7 @@ api.Notifications buildNotifications() { void checkNotifications(api.Notifications o) { buildCounterNotifications++; if (buildCounterNotifications < 3) { - checkUnnamed28(o.items!); + checkUnnamed29(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2120,12 +2221,12 @@ void checkNotifications(api.Notifications o) { buildCounterNotifications--; } -core.List buildUnnamed29() => [ +core.List buildUnnamed30() => [ buildObjectAccessControl(), buildObjectAccessControl(), ]; -void checkUnnamed29(core.List o) { +void checkUnnamed30(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkObjectAccessControl(o[0]); checkObjectAccessControl(o[1]); @@ -2158,12 +2259,12 @@ void checkObjectCustomerEncryption(api.ObjectCustomerEncryption o) { buildCounterObjectCustomerEncryption--; } -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']!, @@ -2234,7 +2335,7 @@ api.Object buildObject() { final o = api.Object(); buildCounterObject++; if (buildCounterObject < 3) { - o.acl = buildUnnamed29(); + o.acl = buildUnnamed30(); o.bucket = 'foo'; o.cacheControl = 'foo'; o.componentCount = 42; @@ -2254,7 +2355,7 @@ api.Object buildObject() { o.kmsKeyName = 'foo'; o.md5Hash = 'foo'; o.mediaLink = 'foo'; - o.metadata = buildUnnamed30(); + o.metadata = buildUnnamed31(); o.metageneration = 'foo'; o.name = 'foo'; o.owner = buildObjectOwner(); @@ -2277,7 +2378,7 @@ api.Object buildObject() { void checkObject(api.Object o) { buildCounterObject++; if (buildCounterObject < 3) { - checkUnnamed29(o.acl!); + checkUnnamed30(o.acl!); unittest.expect( o.bucket!, unittest.equals('foo'), @@ -2348,7 +2449,7 @@ void checkObject(api.Object o) { o.mediaLink!, unittest.equals('foo'), ); - checkUnnamed30(o.metadata!); + checkUnnamed31(o.metadata!); unittest.expect( o.metageneration!, unittest.equals('foo'), @@ -2506,12 +2607,12 @@ void checkObjectAccessControl(api.ObjectAccessControl o) { buildCounterObjectAccessControl--; } -core.List buildUnnamed31() => [ +core.List buildUnnamed32() => [ buildObjectAccessControl(), buildObjectAccessControl(), ]; -void checkUnnamed31(core.List o) { +void checkUnnamed32(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkObjectAccessControl(o[0]); checkObjectAccessControl(o[1]); @@ -2522,7 +2623,7 @@ api.ObjectAccessControls buildObjectAccessControls() { final o = api.ObjectAccessControls(); buildCounterObjectAccessControls++; if (buildCounterObjectAccessControls < 3) { - o.items = buildUnnamed31(); + o.items = buildUnnamed32(); o.kind = 'foo'; } buildCounterObjectAccessControls--; @@ -2532,7 +2633,7 @@ api.ObjectAccessControls buildObjectAccessControls() { void checkObjectAccessControls(api.ObjectAccessControls o) { buildCounterObjectAccessControls++; if (buildCounterObjectAccessControls < 3) { - checkUnnamed31(o.items!); + checkUnnamed32(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2541,23 +2642,23 @@ void checkObjectAccessControls(api.ObjectAccessControls o) { buildCounterObjectAccessControls--; } -core.List buildUnnamed32() => [ +core.List buildUnnamed33() => [ buildObject(), buildObject(), ]; -void checkUnnamed32(core.List o) { +void checkUnnamed33(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkObject(o[0]); checkObject(o[1]); } -core.List buildUnnamed33() => [ +core.List buildUnnamed34() => [ 'foo', 'foo', ]; -void checkUnnamed33(core.List o) { +void checkUnnamed34(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2574,10 +2675,10 @@ api.Objects buildObjects() { final o = api.Objects(); buildCounterObjects++; if (buildCounterObjects < 3) { - o.items = buildUnnamed32(); + o.items = buildUnnamed33(); o.kind = 'foo'; o.nextPageToken = 'foo'; - o.prefixes = buildUnnamed33(); + o.prefixes = buildUnnamed34(); } buildCounterObjects--; return o; @@ -2586,7 +2687,7 @@ api.Objects buildObjects() { void checkObjects(api.Objects o) { buildCounterObjects++; if (buildCounterObjects < 3) { - checkUnnamed32(o.items!); + checkUnnamed33(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2595,17 +2696,17 @@ void checkObjects(api.Objects o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed33(o.prefixes!); + checkUnnamed34(o.prefixes!); } buildCounterObjects--; } -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], @@ -2623,7 +2724,7 @@ api.PolicyBindings buildPolicyBindings() { buildCounterPolicyBindings++; if (buildCounterPolicyBindings < 3) { o.condition = buildExpr(); - o.members = buildUnnamed34(); + o.members = buildUnnamed35(); o.role = 'foo'; } buildCounterPolicyBindings--; @@ -2634,7 +2735,7 @@ void checkPolicyBindings(api.PolicyBindings o) { buildCounterPolicyBindings++; if (buildCounterPolicyBindings < 3) { checkExpr(o.condition!); - checkUnnamed34(o.members!); + checkUnnamed35(o.members!); unittest.expect( o.role!, unittest.equals('foo'), @@ -2643,12 +2744,12 @@ void checkPolicyBindings(api.PolicyBindings o) { buildCounterPolicyBindings--; } -core.List buildUnnamed35() => [ +core.List buildUnnamed36() => [ buildPolicyBindings(), buildPolicyBindings(), ]; -void checkUnnamed35(core.List o) { +void checkUnnamed36(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPolicyBindings(o[0]); checkPolicyBindings(o[1]); @@ -2659,7 +2760,7 @@ api.Policy buildPolicy() { final o = api.Policy(); buildCounterPolicy++; if (buildCounterPolicy < 3) { - o.bindings = buildUnnamed35(); + o.bindings = buildUnnamed36(); o.etag = 'foo'; o.kind = 'foo'; o.resourceId = 'foo'; @@ -2672,7 +2773,7 @@ api.Policy buildPolicy() { void checkPolicy(api.Policy o) { buildCounterPolicy++; if (buildCounterPolicy < 3) { - checkUnnamed35(o.bindings!); + checkUnnamed36(o.bindings!); unittest.expect( o.etag!, unittest.equals('foo'), @@ -2761,12 +2862,12 @@ void checkServiceAccount(api.ServiceAccount o) { buildCounterServiceAccount--; } -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], @@ -2784,7 +2885,7 @@ api.TestIamPermissionsResponse buildTestIamPermissionsResponse() { buildCounterTestIamPermissionsResponse++; if (buildCounterTestIamPermissionsResponse < 3) { o.kind = 'foo'; - o.permissions = buildUnnamed36(); + o.permissions = buildUnnamed37(); } buildCounterTestIamPermissionsResponse--; return o; @@ -2797,17 +2898,17 @@ void checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed36(o.permissions!); + checkUnnamed37(o.permissions!); } buildCounterTestIamPermissionsResponse--; } -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], @@ -2819,12 +2920,12 @@ void checkUnnamed37(core.List o) { ); } -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], @@ -2836,12 +2937,12 @@ void checkUnnamed38(core.List o) { ); } -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], @@ -3115,6 +3216,36 @@ void main() { }); }); + unittest.group('obj-schema-BucketStorageLayoutCustomPlacementConfig', () { + unittest.test('to-json--from-json', () async { + final o = buildBucketStorageLayoutCustomPlacementConfig(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.BucketStorageLayoutCustomPlacementConfig.fromJson( + oJson as core.Map); + checkBucketStorageLayoutCustomPlacementConfig(od); + }); + }); + + unittest.group('obj-schema-BucketStorageLayoutHierarchicalNamespace', () { + unittest.test('to-json--from-json', () async { + final o = buildBucketStorageLayoutHierarchicalNamespace(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.BucketStorageLayoutHierarchicalNamespace.fromJson( + oJson as core.Map); + checkBucketStorageLayoutHierarchicalNamespace(od); + }); + }); + + unittest.group('obj-schema-BucketStorageLayout', () { + unittest.test('to-json--from-json', () async { + final o = buildBucketStorageLayout(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.BucketStorageLayout.fromJson( + oJson as core.Map); + checkBucketStorageLayout(od); + }); + }); + unittest.group('obj-schema-Buckets', () { unittest.test('to-json--from-json', () async { final o = buildBuckets(); @@ -4780,6 +4911,82 @@ void main() { checkPolicy(response as api.Policy); }); + unittest.test('method--getStorageLayout', () async { + final mock = HttpServerMock(); + final res = api.StorageApi(mock).buckets; + final arg_bucket = 'foo'; + final arg_prefix = '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 + 11), + unittest.equals('storage/v1/'), + ); + pathOffset += 11; + unittest.expect( + path.substring(pathOffset, pathOffset + 2), + unittest.equals('b/'), + ); + pathOffset += 2; + index = path.indexOf('/storageLayout', pathOffset); + unittest.expect(index >= 0, unittest.isTrue); + subPart = + core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); + pathOffset = index; + unittest.expect( + subPart, + unittest.equals('$arg_bucket'), + ); + unittest.expect( + path.substring(pathOffset, pathOffset + 14), + unittest.equals('/storageLayout'), + ); + pathOffset += 14; + + 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['prefix']!.first, + unittest.equals(arg_prefix), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildBucketStorageLayout()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.getStorageLayout(arg_bucket, + prefix: arg_prefix, $fields: arg_$fields); + checkBucketStorageLayout(response as api.BucketStorageLayout); + }); + unittest.test('method--insert', () async { final mock = HttpServerMock(); final res = api.StorageApi(mock).buckets; @@ -5238,7 +5445,7 @@ void main() { final mock = HttpServerMock(); final res = api.StorageApi(mock).buckets; final arg_bucket = 'foo'; - final arg_permissions = buildUnnamed37(); + final arg_permissions = buildUnnamed38(); final arg_userProject = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -7022,7 +7229,7 @@ void main() { final res = api.StorageApi(mock).managedFolders; final arg_bucket = 'foo'; final arg_managedFolder = 'foo'; - final arg_permissions = buildUnnamed38(); + final arg_permissions = buildUnnamed39(); final arg_userProject = 'foo'; final arg_$fields = 'foo'; mock.register(unittest.expectAsync2((http.BaseRequest req, json) { @@ -9677,7 +9884,7 @@ void main() { final res = api.StorageApi(mock).objects; final arg_bucket = 'foo'; final arg_object = 'foo'; - final arg_permissions = buildUnnamed39(); + final arg_permissions = buildUnnamed40(); final arg_generation = 'foo'; final arg_userProject = 'foo'; final arg_$fields = 'foo'; diff --git a/generated/googleapis/test/storagetransfer/v1_test.dart b/generated/googleapis/test/storagetransfer/v1_test.dart index 873ddf4e7..6a7daa11a 100644 --- a/generated/googleapis/test/storagetransfer/v1_test.dart +++ b/generated/googleapis/test/storagetransfer/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/streetviewpublish/v1_test.dart b/generated/googleapis/test/streetviewpublish/v1_test.dart index 23657dae2..8cd1305e7 100644 --- a/generated/googleapis/test/streetviewpublish/v1_test.dart +++ b/generated/googleapis/test/streetviewpublish/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/sts/v1_test.dart b/generated/googleapis/test/sts/v1_test.dart index 135c5e15d..d02d33b25 100644 --- a/generated/googleapis/test/sts/v1_test.dart +++ b/generated/googleapis/test/sts/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/tagmanager/v1_test.dart b/generated/googleapis/test/tagmanager/v1_test.dart index b6a6794b6..94a5e5e8c 100644 --- a/generated/googleapis/test/tagmanager/v1_test.dart +++ b/generated/googleapis/test/tagmanager/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/tagmanager/v2_test.dart b/generated/googleapis/test/tagmanager/v2_test.dart index 98c7dbed2..4136d6b38 100644 --- a/generated/googleapis/test/tagmanager/v2_test.dart +++ b/generated/googleapis/test/tagmanager/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/tasks/v1_test.dart b/generated/googleapis/test/tasks/v1_test.dart index 6ca9359af..128fac8c9 100644 --- a/generated/googleapis/test/tasks/v1_test.dart +++ b/generated/googleapis/test/tasks/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/testing/v1_test.dart b/generated/googleapis/test/testing/v1_test.dart index ffbe3b51f..e2fa57899 100644 --- a/generated/googleapis/test/testing/v1_test.dart +++ b/generated/googleapis/test/testing/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/texttospeech/v1_test.dart b/generated/googleapis/test/texttospeech/v1_test.dart index af3698d9f..3876a48c9 100644 --- a/generated/googleapis/test/texttospeech/v1_test.dart +++ b/generated/googleapis/test/texttospeech/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/tpu/v1_test.dart b/generated/googleapis/test/tpu/v1_test.dart index c3fcdbb71..d6d1d981d 100644 --- a/generated/googleapis/test/tpu/v1_test.dart +++ b/generated/googleapis/test/tpu/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/tpu/v2_test.dart b/generated/googleapis/test/tpu/v2_test.dart index a1e41f86f..4d17d2508 100644 --- a/generated/googleapis/test/tpu/v2_test.dart +++ b/generated/googleapis/test/tpu/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/trafficdirector/v2_test.dart b/generated/googleapis/test/trafficdirector/v2_test.dart index 5a15da351..8f90c1578 100644 --- a/generated/googleapis/test/trafficdirector/v2_test.dart +++ b/generated/googleapis/test/trafficdirector/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/trafficdirector/v3_test.dart b/generated/googleapis/test/trafficdirector/v3_test.dart index 531a08a9a..69d4f0f2e 100644 --- a/generated/googleapis/test/trafficdirector/v3_test.dart +++ b/generated/googleapis/test/trafficdirector/v3_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/transcoder/v1_test.dart b/generated/googleapis/test/transcoder/v1_test.dart index 4869c0460..f54e0c752 100644 --- a/generated/googleapis/test/transcoder/v1_test.dart +++ b/generated/googleapis/test/transcoder/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/translate/v3_test.dart b/generated/googleapis/test/translate/v3_test.dart index 859cdaec3..2d884cf3d 100644 --- a/generated/googleapis/test/translate/v3_test.dart +++ b/generated/googleapis/test/translate/v3_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/travelimpactmodel/v1_test.dart b/generated/googleapis/test/travelimpactmodel/v1_test.dart index 39c26621d..129cdc3b2 100644 --- a/generated/googleapis/test/travelimpactmodel/v1_test.dart +++ b/generated/googleapis/test/travelimpactmodel/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/vault/v1_test.dart b/generated/googleapis/test/vault/v1_test.dart index 47a778571..b93fdd03e 100644 --- a/generated/googleapis/test/vault/v1_test.dart +++ b/generated/googleapis/test/vault/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/verifiedaccess/v1_test.dart b/generated/googleapis/test/verifiedaccess/v1_test.dart index eb57d8edf..204ab6b7e 100644 --- a/generated/googleapis/test/verifiedaccess/v1_test.dart +++ b/generated/googleapis/test/verifiedaccess/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/verifiedaccess/v2_test.dart b/generated/googleapis/test/verifiedaccess/v2_test.dart index cc266eb7f..406d2a1b9 100644 --- a/generated/googleapis/test/verifiedaccess/v2_test.dart +++ b/generated/googleapis/test/verifiedaccess/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/versionhistory/v1_test.dart b/generated/googleapis/test/versionhistory/v1_test.dart index 20180d31c..4fb13294b 100644 --- a/generated/googleapis/test/versionhistory/v1_test.dart +++ b/generated/googleapis/test/versionhistory/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -253,6 +254,7 @@ api.Release buildRelease() { o.fraction = 42.0; o.fractionGroup = 'foo'; o.name = 'foo'; + o.pinnable = true; o.serving = buildInterval(); o.version = 'foo'; } @@ -275,6 +277,7 @@ void checkRelease(api.Release o) { o.name!, unittest.equals('foo'), ); + unittest.expect(o.pinnable!, unittest.isTrue); checkInterval(o.serving!); unittest.expect( o.version!, diff --git a/generated/googleapis/test/videointelligence/v1_test.dart b/generated/googleapis/test/videointelligence/v1_test.dart index 1b7999014..a57b93a3c 100644 --- a/generated/googleapis/test/videointelligence/v1_test.dart +++ b/generated/googleapis/test/videointelligence/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/vision/v1_test.dart b/generated/googleapis/test/vision/v1_test.dart index 65525baa8..de58cc429 100644 --- a/generated/googleapis/test/vision/v1_test.dart +++ b/generated/googleapis/test/vision/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/vmmigration/v1_test.dart b/generated/googleapis/test/vmmigration/v1_test.dart index 366970b99..b6f755df1 100644 --- a/generated/googleapis/test/vmmigration/v1_test.dart +++ b/generated/googleapis/test/vmmigration/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/vmwareengine/v1_test.dart b/generated/googleapis/test/vmwareengine/v1_test.dart index 51e5b08a3..cad913351 100644 --- a/generated/googleapis/test/vmwareengine/v1_test.dart +++ b/generated/googleapis/test/vmwareengine/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/vpcaccess/v1_test.dart b/generated/googleapis/test/vpcaccess/v1_test.dart index f242c61e2..b64be2431 100644 --- a/generated/googleapis/test/vpcaccess/v1_test.dart +++ b/generated/googleapis/test/vpcaccess/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/walletobjects/v1_test.dart b/generated/googleapis/test/walletobjects/v1_test.dart index 18d77f7dc..afb0c0ede 100644 --- a/generated/googleapis/test/walletobjects/v1_test.dart +++ b/generated/googleapis/test/walletobjects/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -1221,6 +1222,7 @@ api.EventTicketClass buildEventTicketClass() { buildCounterEventTicketClass++; if (buildCounterEventTicketClass < 3) { o.allowMultipleUsersPerObject = true; + o.appLinkData = buildAppLinkData(); o.callbackOptions = buildCallbackOptions(); o.classTemplateInfo = buildClassTemplateInfo(); o.confirmationCodeLabel = 'foo'; @@ -1272,6 +1274,7 @@ void checkEventTicketClass(api.EventTicketClass o) { buildCounterEventTicketClass++; if (buildCounterEventTicketClass < 3) { unittest.expect(o.allowMultipleUsersPerObject!, unittest.isTrue); + checkAppLinkData(o.appLinkData!); checkCallbackOptions(o.callbackOptions!); checkClassTemplateInfo(o.classTemplateInfo!); unittest.expect( @@ -1869,6 +1872,7 @@ api.FlightClass buildFlightClass() { buildCounterFlightClass++; if (buildCounterFlightClass < 3) { o.allowMultipleUsersPerObject = true; + o.appLinkData = buildAppLinkData(); o.boardingAndSeatingPolicy = buildBoardingAndSeatingPolicy(); o.callbackOptions = buildCallbackOptions(); o.classTemplateInfo = buildClassTemplateInfo(); @@ -1915,6 +1919,7 @@ void checkFlightClass(api.FlightClass o) { buildCounterFlightClass++; if (buildCounterFlightClass < 3) { unittest.expect(o.allowMultipleUsersPerObject!, unittest.isTrue); + checkAppLinkData(o.appLinkData!); checkBoardingAndSeatingPolicy(o.boardingAndSeatingPolicy!); checkCallbackOptions(o.callbackOptions!); checkClassTemplateInfo(o.classTemplateInfo!); @@ -2375,6 +2380,7 @@ api.GenericClass buildGenericClass() { final o = api.GenericClass(); buildCounterGenericClass++; if (buildCounterGenericClass < 3) { + o.appLinkData = buildAppLinkData(); o.callbackOptions = buildCallbackOptions(); o.classTemplateInfo = buildClassTemplateInfo(); o.enableSmartTap = true; @@ -2395,6 +2401,7 @@ api.GenericClass buildGenericClass() { void checkGenericClass(api.GenericClass o) { buildCounterGenericClass++; if (buildCounterGenericClass < 3) { + checkAppLinkData(o.appLinkData!); checkCallbackOptions(o.callbackOptions!); checkClassTemplateInfo(o.classTemplateInfo!); unittest.expect(o.enableSmartTap!, unittest.isTrue); @@ -2694,6 +2701,7 @@ api.GiftCardClass buildGiftCardClass() { if (buildCounterGiftCardClass < 3) { o.allowBarcodeRedemption = true; o.allowMultipleUsersPerObject = true; + o.appLinkData = buildAppLinkData(); o.callbackOptions = buildCallbackOptions(); o.cardNumberLabel = 'foo'; o.classTemplateInfo = buildClassTemplateInfo(); @@ -2739,6 +2747,7 @@ void checkGiftCardClass(api.GiftCardClass o) { if (buildCounterGiftCardClass < 3) { unittest.expect(o.allowBarcodeRedemption!, unittest.isTrue); unittest.expect(o.allowMultipleUsersPerObject!, unittest.isTrue); + checkAppLinkData(o.appLinkData!); checkCallbackOptions(o.callbackOptions!); unittest.expect( o.cardNumberLabel!, @@ -3654,6 +3663,7 @@ api.LoyaltyClass buildLoyaltyClass() { o.accountIdLabel = 'foo'; o.accountNameLabel = 'foo'; o.allowMultipleUsersPerObject = true; + o.appLinkData = buildAppLinkData(); o.callbackOptions = buildCallbackOptions(); o.classTemplateInfo = buildClassTemplateInfo(); o.countryCode = 'foo'; @@ -3711,6 +3721,7 @@ void checkLoyaltyClass(api.LoyaltyClass o) { unittest.equals('foo'), ); unittest.expect(o.allowMultipleUsersPerObject!, unittest.isTrue); + checkAppLinkData(o.appLinkData!); checkCallbackOptions(o.callbackOptions!); checkClassTemplateInfo(o.classTemplateInfo!); unittest.expect( @@ -4594,6 +4605,7 @@ api.OfferClass buildOfferClass() { buildCounterOfferClass++; if (buildCounterOfferClass < 3) { o.allowMultipleUsersPerObject = true; + o.appLinkData = buildAppLinkData(); o.callbackOptions = buildCallbackOptions(); o.classTemplateInfo = buildClassTemplateInfo(); o.countryCode = 'foo'; @@ -4642,6 +4654,7 @@ void checkOfferClass(api.OfferClass o) { buildCounterOfferClass++; if (buildCounterOfferClass < 3) { unittest.expect(o.allowMultipleUsersPerObject!, unittest.isTrue); + checkAppLinkData(o.appLinkData!); checkCallbackOptions(o.callbackOptions!); checkClassTemplateInfo(o.classTemplateInfo!); unittest.expect( @@ -5959,6 +5972,7 @@ api.TransitClass buildTransitClass() { if (buildCounterTransitClass < 3) { o.activationOptions = buildActivationOptions(); o.allowMultipleUsersPerObject = true; + o.appLinkData = buildAppLinkData(); o.callbackOptions = buildCallbackOptions(); o.classTemplateInfo = buildClassTemplateInfo(); o.countryCode = 'foo'; @@ -6019,6 +6033,7 @@ void checkTransitClass(api.TransitClass o) { if (buildCounterTransitClass < 3) { checkActivationOptions(o.activationOptions!); unittest.expect(o.allowMultipleUsersPerObject!, unittest.isTrue); + checkAppLinkData(o.appLinkData!); checkCallbackOptions(o.callbackOptions!); checkClassTemplateInfo(o.classTemplateInfo!); unittest.expect( diff --git a/generated/googleapis/test/webfonts/v1_test.dart b/generated/googleapis/test/webfonts/v1_test.dart index dd1e47c76..fb0123509 100644 --- a/generated/googleapis/test/webfonts/v1_test.dart +++ b/generated/googleapis/test/webfonts/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -67,12 +68,29 @@ void checkUnnamed0(core.List o) { checkAxis(o[1]); } -core.Map buildUnnamed1() => { +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.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']!, @@ -84,12 +102,12 @@ void checkUnnamed1(core.Map o) { ); } -core.List buildUnnamed2() => [ +core.List buildUnnamed3() => [ 'foo', 'foo', ]; -void checkUnnamed2(core.List o) { +void checkUnnamed3(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -101,12 +119,12 @@ void checkUnnamed2(core.List o) { ); } -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], @@ -125,13 +143,14 @@ api.Webfont buildWebfont() { if (buildCounterWebfont < 3) { o.axes = buildUnnamed0(); o.category = 'foo'; + o.colorCapabilities = buildUnnamed1(); o.family = 'foo'; - o.files = buildUnnamed1(); + o.files = buildUnnamed2(); o.kind = 'foo'; o.lastModified = 'foo'; o.menu = 'foo'; - o.subsets = buildUnnamed2(); - o.variants = buildUnnamed3(); + o.subsets = buildUnnamed3(); + o.variants = buildUnnamed4(); o.version = 'foo'; } buildCounterWebfont--; @@ -146,11 +165,12 @@ void checkWebfont(api.Webfont o) { o.category!, unittest.equals('foo'), ); + checkUnnamed1(o.colorCapabilities!); unittest.expect( o.family!, unittest.equals('foo'), ); - checkUnnamed1(o.files!); + checkUnnamed2(o.files!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -163,8 +183,8 @@ void checkWebfont(api.Webfont o) { o.menu!, unittest.equals('foo'), ); - checkUnnamed2(o.subsets!); - checkUnnamed3(o.variants!); + checkUnnamed3(o.subsets!); + checkUnnamed4(o.variants!); unittest.expect( o.version!, unittest.equals('foo'), @@ -173,12 +193,12 @@ void checkWebfont(api.Webfont o) { buildCounterWebfont--; } -core.List buildUnnamed4() => [ +core.List buildUnnamed5() => [ buildWebfont(), buildWebfont(), ]; -void checkUnnamed4(core.List o) { +void checkUnnamed5(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkWebfont(o[0]); checkWebfont(o[1]); @@ -189,7 +209,7 @@ api.WebfontList buildWebfontList() { final o = api.WebfontList(); buildCounterWebfontList++; if (buildCounterWebfontList < 3) { - o.items = buildUnnamed4(); + o.items = buildUnnamed5(); o.kind = 'foo'; } buildCounterWebfontList--; @@ -199,7 +219,7 @@ api.WebfontList buildWebfontList() { void checkWebfontList(api.WebfontList o) { buildCounterWebfontList++; if (buildCounterWebfontList < 3) { - checkUnnamed4(o.items!); + checkUnnamed5(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -208,12 +228,12 @@ void checkWebfontList(api.WebfontList o) { buildCounterWebfontList--; } -core.List buildUnnamed5() => [ +core.List buildUnnamed6() => [ 'foo', 'foo', ]; -void checkUnnamed5(core.List o) { +void checkUnnamed6(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -225,12 +245,12 @@ void checkUnnamed5(core.List o) { ); } -core.List buildUnnamed6() => [ +core.List buildUnnamed7() => [ 'foo', 'foo', ]; -void checkUnnamed6(core.List o) { +void checkUnnamed7(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -277,8 +297,8 @@ void main() { unittest.test('method--list', () async { final mock = HttpServerMock(); final res = api.WebfontsApi(mock).webfonts; - final arg_capability = buildUnnamed5(); - final arg_family = buildUnnamed6(); + final arg_capability = buildUnnamed6(); + final arg_family = buildUnnamed7(); final arg_sort = 'foo'; final arg_subset = 'foo'; final arg_$fields = 'foo'; diff --git a/generated/googleapis/test/webrisk/v1_test.dart b/generated/googleapis/test/webrisk/v1_test.dart index 715575d7b..6f2800107 100644 --- a/generated/googleapis/test/webrisk/v1_test.dart +++ b/generated/googleapis/test/webrisk/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/websecurityscanner/v1_test.dart b/generated/googleapis/test/websecurityscanner/v1_test.dart index 474f29596..a1e7f4e0e 100644 --- a/generated/googleapis/test/websecurityscanner/v1_test.dart +++ b/generated/googleapis/test/websecurityscanner/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/workflowexecutions/v1_test.dart b/generated/googleapis/test/workflowexecutions/v1_test.dart index d7135aeb8..6cc13faad 100644 --- a/generated/googleapis/test/workflowexecutions/v1_test.dart +++ b/generated/googleapis/test/workflowexecutions/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/workflows/v1_test.dart b/generated/googleapis/test/workflows/v1_test.dart index f20656287..a37b11ad8 100644 --- a/generated/googleapis/test/workflows/v1_test.dart +++ b/generated/googleapis/test/workflows/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -528,12 +529,46 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.Map buildUnnamed11() => { +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.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.Map buildUnnamed13() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed11(core.Map o) { +void checkUnnamed13(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -545,12 +580,12 @@ void checkUnnamed11(core.Map o) { ); } -core.Map buildUnnamed12() => { +core.Map buildUnnamed14() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed12(core.Map o) { +void checkUnnamed14(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -567,11 +602,14 @@ api.Workflow buildWorkflow() { final o = api.Workflow(); buildCounterWorkflow++; if (buildCounterWorkflow < 3) { + o.allKmsKeys = buildUnnamed11(); + o.allKmsKeysVersions = buildUnnamed12(); o.callLogLevel = 'foo'; o.createTime = 'foo'; o.cryptoKeyName = 'foo'; + o.cryptoKeyVersion = 'foo'; o.description = 'foo'; - o.labels = buildUnnamed11(); + o.labels = buildUnnamed13(); o.name = 'foo'; o.revisionCreateTime = 'foo'; o.revisionId = 'foo'; @@ -580,7 +618,7 @@ api.Workflow buildWorkflow() { o.state = 'foo'; o.stateError = buildStateError(); o.updateTime = 'foo'; - o.userEnvVars = buildUnnamed12(); + o.userEnvVars = buildUnnamed14(); } buildCounterWorkflow--; return o; @@ -589,6 +627,8 @@ api.Workflow buildWorkflow() { void checkWorkflow(api.Workflow o) { buildCounterWorkflow++; if (buildCounterWorkflow < 3) { + checkUnnamed11(o.allKmsKeys!); + checkUnnamed12(o.allKmsKeysVersions!); unittest.expect( o.callLogLevel!, unittest.equals('foo'), @@ -601,11 +641,15 @@ void checkWorkflow(api.Workflow o) { o.cryptoKeyName!, unittest.equals('foo'), ); + unittest.expect( + o.cryptoKeyVersion!, + unittest.equals('foo'), + ); unittest.expect( o.description!, unittest.equals('foo'), ); - checkUnnamed11(o.labels!); + checkUnnamed13(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -635,7 +679,7 @@ void checkWorkflow(api.Workflow o) { o.updateTime!, unittest.equals('foo'), ); - checkUnnamed12(o.userEnvVars!); + checkUnnamed14(o.userEnvVars!); } buildCounterWorkflow--; } diff --git a/generated/googleapis/test/workloadmanager/v1_test.dart b/generated/googleapis/test/workloadmanager/v1_test.dart index 46de862b5..05db25ab5 100644 --- a/generated/googleapis/test/workloadmanager/v1_test.dart +++ b/generated/googleapis/test/workloadmanager/v1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -188,12 +189,23 @@ void checkEvaluation(api.Evaluation o) { buildCounterEvaluation--; } -core.Map buildUnnamed3() => { +core.List buildUnnamed3() => [ + buildExternalDataSources(), + buildExternalDataSources(), + ]; + +void checkUnnamed3(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkExternalDataSources(o[0]); + checkExternalDataSources(o[1]); +} + +core.Map buildUnnamed4() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed3(core.Map o) { +void checkUnnamed4(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -212,8 +224,9 @@ api.Execution buildExecution() { if (buildCounterExecution < 3) { o.endTime = 'foo'; o.evaluationId = 'foo'; + o.externalDataSources = buildUnnamed3(); o.inventoryTime = 'foo'; - o.labels = buildUnnamed3(); + o.labels = buildUnnamed4(); o.name = 'foo'; o.runType = 'foo'; o.startTime = 'foo'; @@ -234,11 +247,12 @@ void checkExecution(api.Execution o) { o.evaluationId!, unittest.equals('foo'), ); + checkUnnamed3(o.externalDataSources!); unittest.expect( o.inventoryTime!, unittest.equals('foo'), ); - checkUnnamed3(o.labels!); + checkUnnamed4(o.labels!); unittest.expect( o.name!, unittest.equals('foo'), @@ -300,12 +314,44 @@ void checkExecutionResult(api.ExecutionResult o) { buildCounterExecutionResult--; } -core.List buildUnnamed4() => [ +core.int buildCounterExternalDataSources = 0; +api.ExternalDataSources buildExternalDataSources() { + final o = api.ExternalDataSources(); + buildCounterExternalDataSources++; + if (buildCounterExternalDataSources < 3) { + o.name = 'foo'; + o.type = 'foo'; + o.uri = 'foo'; + } + buildCounterExternalDataSources--; + return o; +} + +void checkExternalDataSources(api.ExternalDataSources o) { + buildCounterExternalDataSources++; + if (buildCounterExternalDataSources < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + unittest.expect( + o.uri!, + unittest.equals('foo'), + ); + } + buildCounterExternalDataSources--; +} + +core.List buildUnnamed5() => [ 'foo', 'foo', ]; -void checkUnnamed4(core.List o) { +void checkUnnamed5(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -322,7 +368,7 @@ api.GceInstanceFilter buildGceInstanceFilter() { final o = api.GceInstanceFilter(); buildCounterGceInstanceFilter++; if (buildCounterGceInstanceFilter < 3) { - o.serviceAccounts = buildUnnamed4(); + o.serviceAccounts = buildUnnamed5(); } buildCounterGceInstanceFilter--; return o; @@ -331,7 +377,7 @@ api.GceInstanceFilter buildGceInstanceFilter() { void checkGceInstanceFilter(api.GceInstanceFilter o) { buildCounterGceInstanceFilter++; if (buildCounterGceInstanceFilter < 3) { - checkUnnamed4(o.serviceAccounts!); + checkUnnamed5(o.serviceAccounts!); } buildCounterGceInstanceFilter--; } @@ -369,23 +415,23 @@ void checkInsight(api.Insight o) { buildCounterInsight--; } -core.List buildUnnamed5() => [ +core.List buildUnnamed6() => [ buildEvaluation(), buildEvaluation(), ]; -void checkUnnamed5(core.List o) { +void checkUnnamed6(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkEvaluation(o[0]); checkEvaluation(o[1]); } -core.List buildUnnamed6() => [ +core.List buildUnnamed7() => [ 'foo', 'foo', ]; -void checkUnnamed6(core.List o) { +void checkUnnamed7(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -402,9 +448,9 @@ api.ListEvaluationsResponse buildListEvaluationsResponse() { final o = api.ListEvaluationsResponse(); buildCounterListEvaluationsResponse++; if (buildCounterListEvaluationsResponse < 3) { - o.evaluations = buildUnnamed5(); + o.evaluations = buildUnnamed6(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed6(); + o.unreachable = buildUnnamed7(); } buildCounterListEvaluationsResponse--; return o; @@ -413,22 +459,22 @@ api.ListEvaluationsResponse buildListEvaluationsResponse() { void checkListEvaluationsResponse(api.ListEvaluationsResponse o) { buildCounterListEvaluationsResponse++; if (buildCounterListEvaluationsResponse < 3) { - checkUnnamed5(o.evaluations!); + checkUnnamed6(o.evaluations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed6(o.unreachable!); + checkUnnamed7(o.unreachable!); } buildCounterListEvaluationsResponse--; } -core.List buildUnnamed7() => [ +core.List buildUnnamed8() => [ buildExecutionResult(), buildExecutionResult(), ]; -void checkUnnamed7(core.List o) { +void checkUnnamed8(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExecutionResult(o[0]); checkExecutionResult(o[1]); @@ -439,7 +485,7 @@ api.ListExecutionResultsResponse buildListExecutionResultsResponse() { final o = api.ListExecutionResultsResponse(); buildCounterListExecutionResultsResponse++; if (buildCounterListExecutionResultsResponse < 3) { - o.executionResults = buildUnnamed7(); + o.executionResults = buildUnnamed8(); o.nextPageToken = 'foo'; } buildCounterListExecutionResultsResponse--; @@ -449,7 +495,7 @@ api.ListExecutionResultsResponse buildListExecutionResultsResponse() { void checkListExecutionResultsResponse(api.ListExecutionResultsResponse o) { buildCounterListExecutionResultsResponse++; if (buildCounterListExecutionResultsResponse < 3) { - checkUnnamed7(o.executionResults!); + checkUnnamed8(o.executionResults!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -458,23 +504,23 @@ void checkListExecutionResultsResponse(api.ListExecutionResultsResponse o) { buildCounterListExecutionResultsResponse--; } -core.List buildUnnamed8() => [ +core.List buildUnnamed9() => [ buildExecution(), buildExecution(), ]; -void checkUnnamed8(core.List o) { +void checkUnnamed9(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkExecution(o[0]); checkExecution(o[1]); } -core.List buildUnnamed9() => [ +core.List buildUnnamed10() => [ 'foo', 'foo', ]; -void checkUnnamed9(core.List o) { +void checkUnnamed10(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -491,9 +537,9 @@ api.ListExecutionsResponse buildListExecutionsResponse() { final o = api.ListExecutionsResponse(); buildCounterListExecutionsResponse++; if (buildCounterListExecutionsResponse < 3) { - o.executions = buildUnnamed8(); + o.executions = buildUnnamed9(); o.nextPageToken = 'foo'; - o.unreachable = buildUnnamed9(); + o.unreachable = buildUnnamed10(); } buildCounterListExecutionsResponse--; return o; @@ -502,22 +548,22 @@ api.ListExecutionsResponse buildListExecutionsResponse() { void checkListExecutionsResponse(api.ListExecutionsResponse o) { buildCounterListExecutionsResponse++; if (buildCounterListExecutionsResponse < 3) { - checkUnnamed8(o.executions!); + checkUnnamed9(o.executions!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed9(o.unreachable!); + checkUnnamed10(o.unreachable!); } buildCounterListExecutionsResponse--; } -core.List buildUnnamed10() => [ +core.List buildUnnamed11() => [ buildLocation(), buildLocation(), ]; -void checkUnnamed10(core.List o) { +void checkUnnamed11(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkLocation(o[0]); checkLocation(o[1]); @@ -528,7 +574,7 @@ api.ListLocationsResponse buildListLocationsResponse() { final o = api.ListLocationsResponse(); buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - o.locations = buildUnnamed10(); + o.locations = buildUnnamed11(); o.nextPageToken = 'foo'; } buildCounterListLocationsResponse--; @@ -538,7 +584,7 @@ api.ListLocationsResponse buildListLocationsResponse() { void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse++; if (buildCounterListLocationsResponse < 3) { - checkUnnamed10(o.locations!); + checkUnnamed11(o.locations!); unittest.expect( o.nextPageToken!, unittest.equals('foo'), @@ -547,12 +593,12 @@ void checkListLocationsResponse(api.ListLocationsResponse o) { buildCounterListLocationsResponse--; } -core.List buildUnnamed11() => [ +core.List buildUnnamed12() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed11(core.List o) { +void checkUnnamed12(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -564,7 +610,7 @@ api.ListOperationsResponse buildListOperationsResponse() { buildCounterListOperationsResponse++; if (buildCounterListOperationsResponse < 3) { o.nextPageToken = 'foo'; - o.operations = buildUnnamed11(); + o.operations = buildUnnamed12(); } buildCounterListOperationsResponse--; return o; @@ -577,17 +623,17 @@ void checkListOperationsResponse(api.ListOperationsResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed11(o.operations!); + checkUnnamed12(o.operations!); } buildCounterListOperationsResponse--; } -core.List buildUnnamed12() => [ +core.List buildUnnamed13() => [ buildRule(), buildRule(), ]; -void checkUnnamed12(core.List o) { +void checkUnnamed13(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRule(o[0]); checkRule(o[1]); @@ -599,7 +645,7 @@ api.ListRulesResponse buildListRulesResponse() { buildCounterListRulesResponse++; if (buildCounterListRulesResponse < 3) { o.nextPageToken = 'foo'; - o.rules = buildUnnamed12(); + o.rules = buildUnnamed13(); } buildCounterListRulesResponse--; return o; @@ -612,17 +658,17 @@ void checkListRulesResponse(api.ListRulesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed12(o.rules!); + checkUnnamed13(o.rules!); } buildCounterListRulesResponse--; } -core.List buildUnnamed13() => [ +core.List buildUnnamed14() => [ buildScannedResource(), buildScannedResource(), ]; -void checkUnnamed13(core.List o) { +void checkUnnamed14(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkScannedResource(o[0]); checkScannedResource(o[1]); @@ -634,7 +680,7 @@ api.ListScannedResourcesResponse buildListScannedResourcesResponse() { buildCounterListScannedResourcesResponse++; if (buildCounterListScannedResourcesResponse < 3) { o.nextPageToken = 'foo'; - o.scannedResources = buildUnnamed13(); + o.scannedResources = buildUnnamed14(); } buildCounterListScannedResourcesResponse--; return o; @@ -647,17 +693,17 @@ void checkListScannedResourcesResponse(api.ListScannedResourcesResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed13(o.scannedResources!); + checkUnnamed14(o.scannedResources!); } buildCounterListScannedResourcesResponse--; } -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']!, @@ -669,7 +715,7 @@ void checkUnnamed14(core.Map o) { ); } -core.Map buildUnnamed15() => { +core.Map buildUnnamed16() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -682,7 +728,7 @@ core.Map buildUnnamed15() => { }, }; -void checkUnnamed15(core.Map o) { +void checkUnnamed16(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -720,9 +766,9 @@ api.Location buildLocation() { buildCounterLocation++; if (buildCounterLocation < 3) { o.displayName = 'foo'; - o.labels = buildUnnamed14(); + o.labels = buildUnnamed15(); o.locationId = 'foo'; - o.metadata = buildUnnamed15(); + o.metadata = buildUnnamed16(); o.name = 'foo'; } buildCounterLocation--; @@ -736,12 +782,12 @@ void checkLocation(api.Location o) { o.displayName!, unittest.equals('foo'), ); - checkUnnamed14(o.labels!); + checkUnnamed15(o.labels!); unittest.expect( o.locationId!, unittest.equals('foo'), ); - checkUnnamed15(o.metadata!); + checkUnnamed16(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), @@ -750,7 +796,7 @@ void checkLocation(api.Location o) { buildCounterLocation--; } -core.Map buildUnnamed16() => { +core.Map buildUnnamed17() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -763,7 +809,7 @@ core.Map buildUnnamed16() => { }, }; -void checkUnnamed16(core.Map o) { +void checkUnnamed17(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -795,7 +841,7 @@ void checkUnnamed16(core.Map o) { ); } -core.Map buildUnnamed17() => { +core.Map buildUnnamed18() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -808,7 +854,7 @@ core.Map buildUnnamed17() => { }, }; -void checkUnnamed17(core.Map o) { +void checkUnnamed18(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -847,9 +893,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed16(); + o.metadata = buildUnnamed17(); o.name = 'foo'; - o.response = buildUnnamed17(); + o.response = buildUnnamed18(); } buildCounterOperation--; return o; @@ -860,12 +906,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed16(o.metadata!); + checkUnnamed17(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed17(o.response!); + checkUnnamed18(o.response!); } buildCounterOperation--; } @@ -902,12 +948,12 @@ void checkResource(api.Resource o) { buildCounterResource--; } -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']!, @@ -919,12 +965,12 @@ void checkUnnamed18(core.Map o) { ); } -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], @@ -936,12 +982,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], @@ -959,9 +1005,9 @@ api.ResourceFilter buildResourceFilter() { buildCounterResourceFilter++; if (buildCounterResourceFilter < 3) { o.gceInstanceFilter = buildGceInstanceFilter(); - o.inclusionLabels = buildUnnamed18(); - o.resourceIdPatterns = buildUnnamed19(); - o.scopes = buildUnnamed20(); + o.inclusionLabels = buildUnnamed19(); + o.resourceIdPatterns = buildUnnamed20(); + o.scopes = buildUnnamed21(); } buildCounterResourceFilter--; return o; @@ -971,19 +1017,19 @@ void checkResourceFilter(api.ResourceFilter o) { buildCounterResourceFilter++; if (buildCounterResourceFilter < 3) { checkGceInstanceFilter(o.gceInstanceFilter!); - checkUnnamed18(o.inclusionLabels!); - checkUnnamed19(o.resourceIdPatterns!); - checkUnnamed20(o.scopes!); + checkUnnamed19(o.inclusionLabels!); + checkUnnamed20(o.resourceIdPatterns!); + checkUnnamed21(o.scopes!); } buildCounterResourceFilter--; } -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], @@ -1000,7 +1046,7 @@ api.ResourceStatus buildResourceStatus() { final o = api.ResourceStatus(); buildCounterResourceStatus++; if (buildCounterResourceStatus < 3) { - o.rulesNewerVersions = buildUnnamed21(); + o.rulesNewerVersions = buildUnnamed22(); o.state = 'foo'; } buildCounterResourceStatus--; @@ -1010,7 +1056,7 @@ api.ResourceStatus buildResourceStatus() { void checkResourceStatus(api.ResourceStatus o) { buildCounterResourceStatus++; if (buildCounterResourceStatus < 3) { - checkUnnamed21(o.rulesNewerVersions!); + checkUnnamed22(o.rulesNewerVersions!); unittest.expect( o.state!, unittest.equals('foo'), @@ -1019,12 +1065,12 @@ void checkResourceStatus(api.ResourceStatus o) { buildCounterResourceStatus--; } -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], @@ -1050,7 +1096,7 @@ api.Rule buildRule() { o.revisionId = 'foo'; o.secondaryCategory = 'foo'; o.severity = 'foo'; - o.tags = buildUnnamed22(); + o.tags = buildUnnamed23(); o.uri = 'foo'; } buildCounterRule--; @@ -1096,7 +1142,7 @@ void checkRule(api.Rule o) { o.severity!, unittest.equals('foo'), ); - checkUnnamed22(o.tags!); + checkUnnamed23(o.tags!); unittest.expect( o.uri!, unittest.equals('foo'), @@ -1174,12 +1220,12 @@ void checkSapDiscovery(api.SapDiscovery o) { buildCounterSapDiscovery--; } -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], @@ -1191,12 +1237,12 @@ void checkUnnamed23(core.List o) { ); } -core.List buildUnnamed24() => [ +core.List buildUnnamed25() => [ buildSapDiscoveryResource(), buildSapDiscoveryResource(), ]; -void checkUnnamed24(core.List o) { +void checkUnnamed25(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSapDiscoveryResource(o[0]); checkSapDiscoveryResource(o[1]); @@ -1209,9 +1255,9 @@ api.SapDiscoveryComponent buildSapDiscoveryComponent() { if (buildCounterSapDiscoveryComponent < 3) { o.applicationProperties = buildSapDiscoveryComponentApplicationProperties(); o.databaseProperties = buildSapDiscoveryComponentDatabaseProperties(); - o.haHosts = buildUnnamed23(); + o.haHosts = buildUnnamed24(); o.hostProject = 'foo'; - o.resources = buildUnnamed24(); + o.resources = buildUnnamed25(); o.sid = 'foo'; o.topologyType = 'foo'; } @@ -1224,12 +1270,12 @@ void checkSapDiscoveryComponent(api.SapDiscoveryComponent o) { if (buildCounterSapDiscoveryComponent < 3) { checkSapDiscoveryComponentApplicationProperties(o.applicationProperties!); checkSapDiscoveryComponentDatabaseProperties(o.databaseProperties!); - checkUnnamed23(o.haHosts!); + checkUnnamed24(o.haHosts!); unittest.expect( o.hostProject!, unittest.equals('foo'), ); - checkUnnamed24(o.resources!); + checkUnnamed25(o.resources!); unittest.expect( o.sid!, unittest.equals('foo'), @@ -1253,6 +1299,7 @@ api.SapDiscoveryComponentApplicationProperties o.applicationType = 'foo'; o.ascsInstanceNumber = 'foo'; o.ascsUri = 'foo'; + o.ersInstanceNumber = 'foo'; o.kernelVersion = 'foo'; o.nfsUri = 'foo'; } @@ -1281,6 +1328,10 @@ void checkSapDiscoveryComponentApplicationProperties( o.ascsUri!, unittest.equals('foo'), ); + unittest.expect( + o.ersInstanceNumber!, + unittest.equals('foo'), + ); unittest.expect( o.kernelVersion!, unittest.equals('foo'), @@ -1379,12 +1430,12 @@ void checkSapDiscoveryMetadata(api.SapDiscoveryMetadata o) { buildCounterSapDiscoveryMetadata--; } -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], @@ -1402,7 +1453,7 @@ api.SapDiscoveryResource buildSapDiscoveryResource() { buildCounterSapDiscoveryResource++; if (buildCounterSapDiscoveryResource < 3) { o.instanceProperties = buildSapDiscoveryResourceInstanceProperties(); - o.relatedResources = buildUnnamed25(); + o.relatedResources = buildUnnamed26(); o.resourceKind = 'foo'; o.resourceType = 'foo'; o.resourceUri = 'foo'; @@ -1416,7 +1467,7 @@ void checkSapDiscoveryResource(api.SapDiscoveryResource o) { buildCounterSapDiscoveryResource++; if (buildCounterSapDiscoveryResource < 3) { checkSapDiscoveryResourceInstanceProperties(o.instanceProperties!); - checkUnnamed25(o.relatedResources!); + checkUnnamed26(o.relatedResources!); unittest.expect( o.resourceKind!, unittest.equals('foo'), @@ -1437,12 +1488,25 @@ void checkSapDiscoveryResource(api.SapDiscoveryResource o) { buildCounterSapDiscoveryResource--; } -core.List buildUnnamed26() => [ +core.List + buildUnnamed27() => [ + buildSapDiscoveryResourceInstancePropertiesAppInstance(), + buildSapDiscoveryResourceInstancePropertiesAppInstance(), + ]; + +void checkUnnamed27( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkSapDiscoveryResourceInstancePropertiesAppInstance(o[0]); + checkSapDiscoveryResourceInstancePropertiesAppInstance(o[1]); +} + +core.List buildUnnamed28() => [ 'foo', 'foo', ]; -void checkUnnamed26(core.List o) { +void checkUnnamed28(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1460,8 +1524,10 @@ api.SapDiscoveryResourceInstanceProperties final o = api.SapDiscoveryResourceInstanceProperties(); buildCounterSapDiscoveryResourceInstanceProperties++; if (buildCounterSapDiscoveryResourceInstanceProperties < 3) { - o.clusterInstances = buildUnnamed26(); + o.appInstances = buildUnnamed27(); + o.clusterInstances = buildUnnamed28(); o.instanceNumber = 'foo'; + o.instanceRole = 'foo'; o.virtualHostname = 'foo'; } buildCounterSapDiscoveryResourceInstanceProperties--; @@ -1472,11 +1538,16 @@ void checkSapDiscoveryResourceInstanceProperties( api.SapDiscoveryResourceInstanceProperties o) { buildCounterSapDiscoveryResourceInstanceProperties++; if (buildCounterSapDiscoveryResourceInstanceProperties < 3) { - checkUnnamed26(o.clusterInstances!); + checkUnnamed27(o.appInstances!); + checkUnnamed28(o.clusterInstances!); unittest.expect( o.instanceNumber!, unittest.equals('foo'), ); + unittest.expect( + o.instanceRole!, + unittest.equals('foo'), + ); unittest.expect( o.virtualHostname!, unittest.equals('foo'), @@ -1485,13 +1556,42 @@ void checkSapDiscoveryResourceInstanceProperties( buildCounterSapDiscoveryResourceInstanceProperties--; } -core.List buildUnnamed27() => +core.int buildCounterSapDiscoveryResourceInstancePropertiesAppInstance = 0; +api.SapDiscoveryResourceInstancePropertiesAppInstance + buildSapDiscoveryResourceInstancePropertiesAppInstance() { + final o = api.SapDiscoveryResourceInstancePropertiesAppInstance(); + buildCounterSapDiscoveryResourceInstancePropertiesAppInstance++; + if (buildCounterSapDiscoveryResourceInstancePropertiesAppInstance < 3) { + o.name = 'foo'; + o.number = 'foo'; + } + buildCounterSapDiscoveryResourceInstancePropertiesAppInstance--; + return o; +} + +void checkSapDiscoveryResourceInstancePropertiesAppInstance( + api.SapDiscoveryResourceInstancePropertiesAppInstance o) { + buildCounterSapDiscoveryResourceInstancePropertiesAppInstance++; + if (buildCounterSapDiscoveryResourceInstancePropertiesAppInstance < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.number!, + unittest.equals('foo'), + ); + } + buildCounterSapDiscoveryResourceInstancePropertiesAppInstance--; +} + +core.List buildUnnamed29() => [ buildSapDiscoveryWorkloadPropertiesProductVersion(), buildSapDiscoveryWorkloadPropertiesProductVersion(), ]; -void checkUnnamed27( +void checkUnnamed29( core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSapDiscoveryWorkloadPropertiesProductVersion(o[0]); @@ -1499,12 +1599,12 @@ void checkUnnamed27( } core.List - buildUnnamed28() => [ + buildUnnamed30() => [ buildSapDiscoveryWorkloadPropertiesSoftwareComponentProperties(), buildSapDiscoveryWorkloadPropertiesSoftwareComponentProperties(), ]; -void checkUnnamed28( +void checkUnnamed30( core.List o) { unittest.expect(o, unittest.hasLength(2)); @@ -1517,8 +1617,8 @@ api.SapDiscoveryWorkloadProperties buildSapDiscoveryWorkloadProperties() { final o = api.SapDiscoveryWorkloadProperties(); buildCounterSapDiscoveryWorkloadProperties++; if (buildCounterSapDiscoveryWorkloadProperties < 3) { - o.productVersions = buildUnnamed27(); - o.softwareComponentVersions = buildUnnamed28(); + o.productVersions = buildUnnamed29(); + o.softwareComponentVersions = buildUnnamed30(); } buildCounterSapDiscoveryWorkloadProperties--; return o; @@ -1527,8 +1627,8 @@ api.SapDiscoveryWorkloadProperties buildSapDiscoveryWorkloadProperties() { void checkSapDiscoveryWorkloadProperties(api.SapDiscoveryWorkloadProperties o) { buildCounterSapDiscoveryWorkloadProperties++; if (buildCounterSapDiscoveryWorkloadProperties < 3) { - checkUnnamed27(o.productVersions!); - checkUnnamed28(o.softwareComponentVersions!); + checkUnnamed29(o.productVersions!); + checkUnnamed30(o.softwareComponentVersions!); } buildCounterSapDiscoveryWorkloadProperties--; } @@ -1604,12 +1704,12 @@ void checkSapDiscoveryWorkloadPropertiesSoftwareComponentProperties( buildCounterSapDiscoveryWorkloadPropertiesSoftwareComponentProperties--; } -core.List buildUnnamed29() => [ +core.List buildUnnamed31() => [ buildSapValidationValidationDetail(), buildSapValidationValidationDetail(), ]; -void checkUnnamed29(core.List o) { +void checkUnnamed31(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSapValidationValidationDetail(o[0]); checkSapValidationValidationDetail(o[1]); @@ -1621,7 +1721,7 @@ api.SapValidation buildSapValidation() { buildCounterSapValidation++; if (buildCounterSapValidation < 3) { o.projectId = 'foo'; - o.validationDetails = buildUnnamed29(); + o.validationDetails = buildUnnamed31(); o.zone = 'foo'; } buildCounterSapValidation--; @@ -1635,7 +1735,7 @@ void checkSapValidation(api.SapValidation o) { o.projectId!, unittest.equals('foo'), ); - checkUnnamed29(o.validationDetails!); + checkUnnamed31(o.validationDetails!); unittest.expect( o.zone!, unittest.equals('foo'), @@ -1644,12 +1744,12 @@ void checkSapValidation(api.SapValidation o) { buildCounterSapValidation--; } -core.Map buildUnnamed30() => { +core.Map buildUnnamed32() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed30(core.Map o) { +void checkUnnamed32(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1666,7 +1766,7 @@ api.SapValidationValidationDetail buildSapValidationValidationDetail() { final o = api.SapValidationValidationDetail(); buildCounterSapValidationValidationDetail++; if (buildCounterSapValidationValidationDetail < 3) { - o.details = buildUnnamed30(); + o.details = buildUnnamed32(); o.isPresent = true; o.sapValidationType = 'foo'; } @@ -1677,7 +1777,7 @@ api.SapValidationValidationDetail buildSapValidationValidationDetail() { void checkSapValidationValidationDetail(api.SapValidationValidationDetail o) { buildCounterSapValidationValidationDetail++; if (buildCounterSapValidationValidationDetail < 3) { - checkUnnamed30(o.details!); + checkUnnamed32(o.details!); unittest.expect(o.isPresent!, unittest.isTrue); unittest.expect( o.sapValidationType!, @@ -1714,12 +1814,12 @@ void checkScannedResource(api.ScannedResource o) { buildCounterScannedResource--; } -core.List buildUnnamed31() => [ +core.List buildUnnamed33() => [ buildSqlserverValidationValidationDetail(), buildSqlserverValidationValidationDetail(), ]; -void checkUnnamed31(core.List o) { +void checkUnnamed33(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSqlserverValidationValidationDetail(o[0]); checkSqlserverValidationValidationDetail(o[1]); @@ -1733,7 +1833,7 @@ api.SqlserverValidation buildSqlserverValidation() { o.agentVersion = 'foo'; o.instance = 'foo'; o.projectId = 'foo'; - o.validationDetails = buildUnnamed31(); + o.validationDetails = buildUnnamed33(); } buildCounterSqlserverValidation--; return o; @@ -1754,17 +1854,17 @@ void checkSqlserverValidation(api.SqlserverValidation o) { o.projectId!, unittest.equals('foo'), ); - checkUnnamed31(o.validationDetails!); + checkUnnamed33(o.validationDetails!); } buildCounterSqlserverValidation--; } -core.Map buildUnnamed32() => { +core.Map buildUnnamed34() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed32(core.Map o) { +void checkUnnamed34(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1781,7 +1881,7 @@ api.SqlserverValidationDetails buildSqlserverValidationDetails() { final o = api.SqlserverValidationDetails(); buildCounterSqlserverValidationDetails++; if (buildCounterSqlserverValidationDetails < 3) { - o.fields = buildUnnamed32(); + o.fields = buildUnnamed34(); } buildCounterSqlserverValidationDetails--; return o; @@ -1790,17 +1890,17 @@ api.SqlserverValidationDetails buildSqlserverValidationDetails() { void checkSqlserverValidationDetails(api.SqlserverValidationDetails o) { buildCounterSqlserverValidationDetails++; if (buildCounterSqlserverValidationDetails < 3) { - checkUnnamed32(o.fields!); + checkUnnamed34(o.fields!); } buildCounterSqlserverValidationDetails--; } -core.List buildUnnamed33() => [ +core.List buildUnnamed35() => [ buildSqlserverValidationDetails(), buildSqlserverValidationDetails(), ]; -void checkUnnamed33(core.List o) { +void checkUnnamed35(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSqlserverValidationDetails(o[0]); checkSqlserverValidationDetails(o[1]); @@ -1812,7 +1912,7 @@ api.SqlserverValidationValidationDetail final o = api.SqlserverValidationValidationDetail(); buildCounterSqlserverValidationValidationDetail++; if (buildCounterSqlserverValidationValidationDetail < 3) { - o.details = buildUnnamed33(); + o.details = buildUnnamed35(); o.type = 'foo'; } buildCounterSqlserverValidationValidationDetail--; @@ -1823,7 +1923,7 @@ void checkSqlserverValidationValidationDetail( api.SqlserverValidationValidationDetail o) { buildCounterSqlserverValidationValidationDetail++; if (buildCounterSqlserverValidationValidationDetail < 3) { - checkUnnamed33(o.details!); + checkUnnamed35(o.details!); unittest.expect( o.type!, unittest.equals('foo'), @@ -1832,7 +1932,7 @@ void checkSqlserverValidationValidationDetail( buildCounterSqlserverValidationValidationDetail--; } -core.Map buildUnnamed34() => { +core.Map buildUnnamed36() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1845,7 +1945,7 @@ core.Map buildUnnamed34() => { }, }; -void checkUnnamed34(core.Map o) { +void checkUnnamed36(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted7 = (o['x']!) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); @@ -1877,15 +1977,15 @@ void checkUnnamed34(core.Map o) { ); } -core.List> buildUnnamed35() => [ - buildUnnamed34(), - buildUnnamed34(), +core.List> buildUnnamed37() => [ + buildUnnamed36(), + buildUnnamed36(), ]; -void checkUnnamed35(core.List> o) { +void checkUnnamed37(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed34(o[0]); - checkUnnamed34(o[1]); + checkUnnamed36(o[0]); + checkUnnamed36(o[1]); } core.int buildCounterStatus = 0; @@ -1894,7 +1994,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed35(); + o.details = buildUnnamed37(); o.message = 'foo'; } buildCounterStatus--; @@ -1908,7 +2008,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed35(o.details!); + checkUnnamed37(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -1917,12 +2017,12 @@ void checkStatus(api.Status o) { buildCounterStatus--; } -core.Map buildUnnamed36() => { +core.Map buildUnnamed38() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed36(core.Map o) { +void checkUnnamed38(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -1940,7 +2040,7 @@ api.ViolationDetails buildViolationDetails() { buildCounterViolationDetails++; if (buildCounterViolationDetails < 3) { o.asset = 'foo'; - o.observed = buildUnnamed36(); + o.observed = buildUnnamed38(); o.serviceAccount = 'foo'; } buildCounterViolationDetails--; @@ -1954,7 +2054,7 @@ void checkViolationDetails(api.ViolationDetails o) { o.asset!, unittest.equals('foo'), ); - checkUnnamed36(o.observed!); + checkUnnamed38(o.observed!); unittest.expect( o.serviceAccount!, unittest.equals('foo'), @@ -2068,6 +2168,16 @@ void main() { }); }); + unittest.group('obj-schema-ExternalDataSources', () { + unittest.test('to-json--from-json', () async { + final o = buildExternalDataSources(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ExternalDataSources.fromJson( + oJson as core.Map); + checkExternalDataSources(od); + }); + }); + unittest.group('obj-schema-GceInstanceFilter', () { unittest.test('to-json--from-json', () async { final o = buildGceInstanceFilter(); @@ -2298,6 +2408,17 @@ void main() { }); }); + unittest.group('obj-schema-SapDiscoveryResourceInstancePropertiesAppInstance', + () { + unittest.test('to-json--from-json', () async { + final o = buildSapDiscoveryResourceInstancePropertiesAppInstance(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.SapDiscoveryResourceInstancePropertiesAppInstance.fromJson( + oJson as core.Map); + checkSapDiscoveryResourceInstancePropertiesAppInstance(od); + }); + }); + unittest.group('obj-schema-SapDiscoveryWorkloadProperties', () { unittest.test('to-json--from-json', () async { final o = buildSapDiscoveryWorkloadProperties(); diff --git a/generated/googleapis/test/workspaceevents/v1_test.dart b/generated/googleapis/test/workspaceevents/v1_test.dart index 27d91db10..902524bb5 100644 --- a/generated/googleapis/test/workspaceevents/v1_test.dart +++ b/generated/googleapis/test/workspaceevents/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/workstations/v1_test.dart b/generated/googleapis/test/workstations/v1_test.dart index 74c87cda4..d20fccb11 100644 --- a/generated/googleapis/test/workstations/v1_test.dart +++ b/generated/googleapis/test/workstations/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/youtube/v3_test.dart b/generated/googleapis/test/youtube/v3_test.dart index 3140ef1cf..6e42a51e8 100644 --- a/generated/googleapis/test/youtube/v3_test.dart +++ b/generated/googleapis/test/youtube/v3_test.dart @@ -1,6 +1,7 @@ // 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 @@ -14199,6 +14200,67 @@ void main() { checkLiveChatMessageListResponse( response as api.LiveChatMessageListResponse); }); + + unittest.test('method--transition', () async { + final mock = HttpServerMock(); + final res = api.YouTubeApi(mock).liveChatMessages; + final arg_id = 'foo'; + final arg_status = '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 + 39), + unittest.equals('youtube/v3/liveChat/messages/transition'), + ); + pathOffset += 39; + + 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['id']!.first, + unittest.equals(arg_id), + ); + unittest.expect( + queryMap['status']!.first, + unittest.equals(arg_status), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode(buildLiveChatMessage()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.transition( + id: arg_id, status: arg_status, $fields: arg_$fields); + checkLiveChatMessage(response as api.LiveChatMessage); + }); }); unittest.group('resource-LiveChatModeratorsResource', () { @@ -17579,67 +17641,4 @@ void main() { checkCommentThread(response as api.CommentThread); }); }); - - unittest.group('resource-YoutubeV3LiveChatMessagesResource', () { - unittest.test('method--transition', () async { - final mock = HttpServerMock(); - final res = api.YouTubeApi(mock).youtube.v3.liveChat.messages; - final arg_id = 'foo'; - final arg_status = '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 + 39), - unittest.equals('youtube/v3/liveChat/messages/transition'), - ); - pathOffset += 39; - - 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['id']!.first, - unittest.equals(arg_id), - ); - unittest.expect( - queryMap['status']!.first, - unittest.equals(arg_status), - ); - unittest.expect( - queryMap['fields']!.first, - unittest.equals(arg_$fields), - ); - - final h = { - 'content-type': 'application/json; charset=utf-8', - }; - final resp = convert.json.encode(buildLiveChatMessage()); - return async.Future.value(stringResponse(200, h, resp)); - }), true); - final response = await res.transition( - id: arg_id, status: arg_status, $fields: arg_$fields); - checkLiveChatMessage(response as api.LiveChatMessage); - }); - }); } diff --git a/generated/googleapis/test/youtubeanalytics/v2_test.dart b/generated/googleapis/test/youtubeanalytics/v2_test.dart index 182182331..46a008f57 100644 --- a/generated/googleapis/test/youtubeanalytics/v2_test.dart +++ b/generated/googleapis/test/youtubeanalytics/v2_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis/test/youtubereporting/v1_test.dart b/generated/googleapis/test/youtubereporting/v1_test.dart index dc4676a13..cab4a3997 100644 --- a/generated/googleapis/test/youtubereporting/v1_test.dart +++ b/generated/googleapis/test/youtubereporting/v1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/README.md b/generated/googleapis_beta/README.md index 97542fcbb..bc3257562 100644 --- a/generated/googleapis_beta/README.md +++ b/generated/googleapis_beta/README.md @@ -27,6 +27,13 @@ Manages alerts on issues affecting your domain. Note: The current version of thi - [Original documentation](https://developers.google.com/admin-sdk/alertcenter/) - [Dart package details](https://pub.dev/documentation/googleapis_beta/9.1.0-wip/alertcenter_v1beta1/alertcenter_v1beta1-library.html) +#### Google Analytics Admin API - `analyticsadmin/v1alpha` + +Manage properties in Google Analytics. Warning: Creating multiple Customer Applications, Accounts, or Projects to simulate or act as a single Customer Application, Account, or Project (respectively) or to circumvent Service-specific usage limits or quotas is a direct violation of Google Cloud Platform Terms of Service as well as Google APIs Terms of Service. These actions can result in immediate termination of your GCP project(s) without any warning. + +- [Original documentation](http://code.google.com/apis/analytics/docs/mgmt/home.html) +- [Dart package details](https://pub.dev/documentation/googleapis_beta/9.1.0-wip/analyticsadmin_v1alpha/analyticsadmin_v1alpha-library.html) + #### Google Analytics Admin API - `analyticsadmin/v1beta` Manage properties in Google Analytics. Warning: Creating multiple Customer Applications, Accounts, or Projects to simulate or act as a single Customer Application, Account, or Project (respectively) or to circumvent Service-specific usage limits or quotas is a direct violation of Google Cloud Platform Terms of Service as well as Google APIs Terms of Service. These actions can result in immediate termination of your GCP project(s) without any warning. diff --git a/generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart b/generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart index 61ae5e0ca..49853dc20 100644 --- a/generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart +++ b/generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/alertcenter/v1beta1.dart b/generated/googleapis_beta/lib/alertcenter/v1beta1.dart index 0d9a1d33c..b99e74727 100644 --- a/generated/googleapis_beta/lib/alertcenter/v1beta1.dart +++ b/generated/googleapis_beta/lib/alertcenter/v1beta1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/analyticsadmin/v1alpha.dart b/generated/googleapis_beta/lib/analyticsadmin/v1alpha.dart new file mode 100644 index 000000000..d44e194b7 --- /dev/null +++ b/generated/googleapis_beta/lib/analyticsadmin/v1alpha.dart @@ -0,0 +1,14018 @@ +// 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 + +/// Google Analytics Admin API - v1alpha +/// +/// Manage properties in Google Analytics. Warning: Creating multiple Customer +/// Applications, Accounts, or Projects to simulate or act as a single Customer +/// Application, Account, or Project (respectively) or to circumvent +/// Service-specific usage limits or quotas is a direct violation of Google +/// Cloud Platform Terms of Service as well as Google APIs Terms of Service. +/// These actions can result in immediate termination of your GCP project(s) +/// without any warning. +/// +/// For more information, see +/// +/// +/// Create an instance of [GoogleAnalyticsAdminApi] to access these resources: +/// +/// - [AccountSummariesResource] +/// - [AccountsResource] +/// - [AccountsAccessBindingsResource] +/// - [PropertiesResource] +/// - [PropertiesAccessBindingsResource] +/// - [PropertiesAdSenseLinksResource] +/// - [PropertiesAudiencesResource] +/// - [PropertiesBigQueryLinksResource] +/// - [PropertiesCalculatedMetricsResource] +/// - [PropertiesChannelGroupsResource] +/// - [PropertiesConversionEventsResource] +/// - [PropertiesCustomDimensionsResource] +/// - [PropertiesCustomMetricsResource] +/// - [PropertiesDataStreamsResource] +/// - [PropertiesDataStreamsEventCreateRulesResource] +/// - [PropertiesDataStreamsMeasurementProtocolSecretsResource] +/// - [PropertiesDataStreamsSKAdNetworkConversionValueSchemaResource] +/// - [PropertiesDisplayVideo360AdvertiserLinkProposalsResource] +/// - [PropertiesDisplayVideo360AdvertiserLinksResource] +/// - [PropertiesExpandedDataSetsResource] +/// - [PropertiesFirebaseLinksResource] +/// - [PropertiesGoogleAdsLinksResource] +/// - [PropertiesKeyEventsResource] +/// - [PropertiesRollupPropertySourceLinksResource] +/// - [PropertiesSearchAds360LinksResource] +/// - [PropertiesSubpropertyEventFiltersResource] +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; + +/// Manage properties in Google Analytics. +/// +/// Warning: Creating multiple Customer Applications, Accounts, or Projects to +/// simulate or act as a single Customer Application, Account, or Project +/// (respectively) or to circumvent Service-specific usage limits or quotas is a +/// direct violation of Google Cloud Platform Terms of Service as well as Google +/// APIs Terms of Service. These actions can result in immediate termination of +/// your GCP project(s) without any warning. +class GoogleAnalyticsAdminApi { + /// Edit Google Analytics management entities + static const analyticsEditScope = + 'https://www.googleapis.com/auth/analytics.edit'; + + /// Manage Google Analytics Account users by email address + static const analyticsManageUsersScope = + 'https://www.googleapis.com/auth/analytics.manage.users'; + + /// View Google Analytics user permissions + static const analyticsManageUsersReadonlyScope = + 'https://www.googleapis.com/auth/analytics.manage.users.readonly'; + + /// See and download your Google Analytics data + static const analyticsReadonlyScope = + 'https://www.googleapis.com/auth/analytics.readonly'; + + final commons.ApiRequester _requester; + + AccountSummariesResource get accountSummaries => + AccountSummariesResource(_requester); + AccountsResource get accounts => AccountsResource(_requester); + PropertiesResource get properties => PropertiesResource(_requester); + + GoogleAnalyticsAdminApi(http.Client client, + {core.String rootUrl = 'https://analyticsadmin.googleapis.com/', + core.String servicePath = ''}) + : _requester = + commons.ApiRequester(client, rootUrl, servicePath, requestHeaders); +} + +class AccountSummariesResource { + final commons.ApiRequester _requester; + + AccountSummariesResource(commons.ApiRequester client) : _requester = client; + + /// Returns summaries of all accounts accessible by the caller. + /// + /// Request parameters: + /// + /// [pageSize] - The maximum number of AccountSummary resources to return. The + /// service may return fewer than this value, even if there are additional + /// pages. If unspecified, at most 50 resources will be returned. The maximum + /// value is 200; (higher values will be coerced to the maximum) + /// + /// [pageToken] - A page token, received from a previous + /// `ListAccountSummaries` call. Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListAccountSummaries` + /// must match the call that provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaListAccountSummariesResponse]. + /// + /// 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.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], + }; + + const url_ = 'v1alpha/accountSummaries'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListAccountSummariesResponse.fromJson( + response_ as core.Map); + } +} + +class AccountsResource { + final commons.ApiRequester _requester; + + AccountsAccessBindingsResource get accessBindings => + AccountsAccessBindingsResource(_requester); + + AccountsResource(commons.ApiRequester client) : _requester = client; + + /// Marks target Account as soft-deleted (ie: "trashed") and returns it. + /// + /// This API does not have a method to restore soft-deleted accounts. However, + /// they can be restored using the Trash Can UI. If the accounts are not + /// restored before the expiration time, the account and all child resources + /// (eg: Properties, GoogleAdsLinks, Streams, AccessBindings) will be + /// permanently purged. https://support.google.com/analytics/answer/6154772 + /// Returns an error if the target is not found. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the Account to soft-delete. Format: + /// accounts/{account} Example: "accounts/100" + /// Value must have pattern `^accounts/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Lookup for a single Account. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the account to lookup. Format: + /// accounts/{account} Example: "accounts/100" + /// Value must have pattern `^accounts/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaAccount]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaAccount.fromJson( + response_ as core.Map); + } + + /// Get data sharing settings on an account. + /// + /// Data sharing settings are singletons. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the settings to lookup. Format: + /// accounts/{account}/dataSharingSettings Example: + /// "accounts/1000/dataSharingSettings" + /// Value must have pattern `^accounts/\[^/\]+/dataSharingSettings$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaDataSharingSettings]. + /// + /// 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 + getDataSharingSettings( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaDataSharingSettings.fromJson( + response_ as core.Map); + } + + /// Returns all accounts accessible by the caller. + /// + /// Note that these accounts might not currently have GA4 properties. + /// Soft-deleted (ie: "trashed") accounts are excluded by default. Returns an + /// empty list if no relevant accounts are found. + /// + /// Request parameters: + /// + /// [pageSize] - The maximum number of resources to return. The service may + /// return fewer than this value, even if there are additional pages. If + /// unspecified, at most 50 resources will be returned. The maximum value is + /// 200; (higher values will be coerced to the maximum) + /// + /// [pageToken] - A page token, received from a previous `ListAccounts` call. + /// Provide this to retrieve the subsequent page. When paginating, all other + /// parameters provided to `ListAccounts` must match the call that provided + /// the page token. + /// + /// [showDeleted] - Whether to include soft-deleted (ie: "trashed") Accounts + /// in the results. Accounts can be inspected to determine whether they are + /// deleted or not. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaListAccountsResponse]. + /// + /// 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.int? pageSize, + core.String? pageToken, + core.bool? showDeleted, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if (showDeleted != null) 'showDeleted': ['${showDeleted}'], + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1alpha/accounts'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListAccountsResponse.fromJson( + response_ as core.Map); + } + + /// Updates an account. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name of this account. Format: + /// accounts/{account} Example: "accounts/100" + /// Value must have pattern `^accounts/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Field names + /// must be in snake case (for example, "field_to_update"). Omitted fields + /// will not be updated. To replace the entire entity, use one path with the + /// string "*" to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaAccount]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaAccount 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaAccount.fromJson( + response_ as core.Map); + } + + /// Requests a ticket for creating an account. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse]. + /// + /// 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 + provisionAccountTicket( + GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest request, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1alpha/accounts:provisionAccountTicket'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse.fromJson( + response_ as core.Map); + } + + /// Returns a customized report of data access records. + /// + /// The report provides records of each time a user reads Google Analytics + /// reporting data. Access records are retained for up to 2 years. Data Access + /// Reports can be requested for a property. Reports may be requested for any + /// property, but dimensions that aren't related to quota can only be + /// requested on Google Analytics 360 properties. This method is only + /// available to Administrators. These data access records include GA4 UI + /// Reporting, GA4 UI Explorations, GA4 Data API, and other products like + /// Firebase & Admob that can retrieve data from Google Analytics through a + /// linkage. These records don't include property configuration changes like + /// adding a stream or changing a property's time zone. For configuration + /// change history, see + /// [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [entity] - The Data Access Report supports requesting at the property + /// level or account level. If requested at the account level, Data Access + /// Reports include all access for all properties under that account. To + /// request at the property level, entity should be for example + /// 'properties/123' if "123" is your GA4 property ID. To request at the + /// account level, entity should be for example 'accounts/1234' if "1234" is + /// your GA4 Account ID. + /// Value must have pattern `^accounts/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaRunAccessReportResponse]. + /// + /// 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 + runAccessReport( + GoogleAnalyticsAdminV1alphaRunAccessReportRequest request, + core.String entity, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1alpha/' + core.Uri.encodeFull('$entity') + ':runAccessReport'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaRunAccessReportResponse.fromJson( + response_ as core.Map); + } + + /// Searches through all changes to an account or its children given the + /// specified set of filters. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [account] - Required. The account resource for which to return change + /// history resources. Format: accounts/{account} Example: "accounts/100" + /// Value must have pattern `^accounts/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse]. + /// + /// 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 + searchChangeHistoryEvents( + GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest request, + core.String account, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + + core.Uri.encodeFull('$account') + + ':searchChangeHistoryEvents'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse + .fromJson(response_ as core.Map); + } +} + +class AccountsAccessBindingsResource { + final commons.ApiRequester _requester; + + AccountsAccessBindingsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates information about multiple access bindings to an account or + /// property. + /// + /// This method is transactional. If any AccessBinding cannot be created, none + /// of the AccessBindings will be created. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The account or property that owns the access + /// bindings. The parent field in the CreateAccessBindingRequest messages must + /// either be empty or match this field. Formats: - accounts/{account} - + /// properties/{property} + /// Value must have pattern `^accounts/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse]. + /// + /// 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 + batchCreate( + GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest 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') + + '/accessBindings:batchCreate'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse + .fromJson(response_ as core.Map); + } + + /// Deletes information about multiple users' links to an account or property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The account or property that owns the access + /// bindings. The parent of all provided values for the 'names' field in + /// DeleteAccessBindingRequest messages must match this field. Formats: - + /// accounts/{account} - properties/{property} + /// Value must have pattern `^accounts/\[^/\]+$`. + /// + /// [$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 batchDelete( + GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest 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') + + '/accessBindings:batchDelete'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Gets information about multiple access bindings to an account or property. + /// + /// Request parameters: + /// + /// [parent] - Required. The account or property that owns the access + /// bindings. The parent of all provided values for the 'names' field must + /// match this field. Formats: - accounts/{account} - properties/{property} + /// Value must have pattern `^accounts/\[^/\]+$`. + /// + /// [names] - Required. The names of the access bindings to retrieve. A + /// maximum of 1000 access bindings can be retrieved in a batch. Formats: - + /// accounts/{account}/accessBindings/{accessBinding} - + /// properties/{property}/accessBindings/{accessBinding} + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse]. + /// + /// 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 + batchGet( + core.String parent, { + core.List? names, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (names != null) 'names': names, + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + + core.Uri.encodeFull('$parent') + + '/accessBindings:batchGet'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse.fromJson( + response_ as core.Map); + } + + /// Updates information about multiple access bindings to an account or + /// property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The account or property that owns the access + /// bindings. The parent of all provided AccessBinding in + /// UpdateAccessBindingRequest messages must match this field. Formats: - + /// accounts/{account} - properties/{property} + /// Value must have pattern `^accounts/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse]. + /// + /// 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 + batchUpdate( + GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest 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') + + '/accessBindings:batchUpdate'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse + .fromJson(response_ as core.Map); + } + + /// Creates an access binding on an account or property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Formats: - accounts/{account} - properties/{property} + /// Value must have pattern `^accounts/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaAccessBinding]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaAccessBinding 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') + '/accessBindings'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaAccessBinding.fromJson( + response_ as core.Map); + } + + /// Deletes an access binding on an account or property. + /// + /// Request parameters: + /// + /// [name] - Required. Formats: - + /// accounts/{account}/accessBindings/{accessBinding} - + /// properties/{property}/accessBindings/{accessBinding} + /// Value must have pattern `^accounts/\[^/\]+/accessBindings/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Gets information about an access binding. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the access binding to retrieve. Formats: - + /// accounts/{account}/accessBindings/{accessBinding} - + /// properties/{property}/accessBindings/{accessBinding} + /// Value must have pattern `^accounts/\[^/\]+/accessBindings/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaAccessBinding]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaAccessBinding.fromJson( + response_ as core.Map); + } + + /// Lists all access bindings on an account or property. + /// + /// Request parameters: + /// + /// [parent] - Required. Formats: - accounts/{account} - properties/{property} + /// Value must have pattern `^accounts/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of access bindings to return. The service + /// may return fewer than this value. If unspecified, at most 200 access + /// bindings will be returned. The maximum value is 500; values above 500 will + /// be coerced to 500. + /// + /// [pageToken] - A page token, received from a previous `ListAccessBindings` + /// call. Provide this to retrieve the subsequent page. When paginating, all + /// other parameters provided to `ListAccessBindings` must match the call that + /// provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaListAccessBindingsResponse]. + /// + /// 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_ = + 'v1alpha/' + core.Uri.encodeFull('$parent') + '/accessBindings'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListAccessBindingsResponse.fromJson( + response_ as core.Map); + } + + /// Updates an access binding on an account or property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name of this binding. Format: + /// accounts/{account}/accessBindings/{access_binding} or + /// properties/{property}/accessBindings/{access_binding} Example: + /// "accounts/100/accessBindings/200" + /// Value must have pattern `^accounts/\[^/\]+/accessBindings/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaAccessBinding]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaAccessBinding request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaAccessBinding.fromJson( + response_ as core.Map); + } +} + +class PropertiesResource { + final commons.ApiRequester _requester; + + PropertiesAccessBindingsResource get accessBindings => + PropertiesAccessBindingsResource(_requester); + PropertiesAdSenseLinksResource get adSenseLinks => + PropertiesAdSenseLinksResource(_requester); + PropertiesAudiencesResource get audiences => + PropertiesAudiencesResource(_requester); + PropertiesBigQueryLinksResource get bigQueryLinks => + PropertiesBigQueryLinksResource(_requester); + PropertiesCalculatedMetricsResource get calculatedMetrics => + PropertiesCalculatedMetricsResource(_requester); + PropertiesChannelGroupsResource get channelGroups => + PropertiesChannelGroupsResource(_requester); + PropertiesConversionEventsResource get conversionEvents => + PropertiesConversionEventsResource(_requester); + PropertiesCustomDimensionsResource get customDimensions => + PropertiesCustomDimensionsResource(_requester); + PropertiesCustomMetricsResource get customMetrics => + PropertiesCustomMetricsResource(_requester); + PropertiesDataStreamsResource get dataStreams => + PropertiesDataStreamsResource(_requester); + PropertiesDisplayVideo360AdvertiserLinkProposalsResource + get displayVideo360AdvertiserLinkProposals => + PropertiesDisplayVideo360AdvertiserLinkProposalsResource(_requester); + PropertiesDisplayVideo360AdvertiserLinksResource + get displayVideo360AdvertiserLinks => + PropertiesDisplayVideo360AdvertiserLinksResource(_requester); + PropertiesExpandedDataSetsResource get expandedDataSets => + PropertiesExpandedDataSetsResource(_requester); + PropertiesFirebaseLinksResource get firebaseLinks => + PropertiesFirebaseLinksResource(_requester); + PropertiesGoogleAdsLinksResource get googleAdsLinks => + PropertiesGoogleAdsLinksResource(_requester); + PropertiesKeyEventsResource get keyEvents => + PropertiesKeyEventsResource(_requester); + PropertiesRollupPropertySourceLinksResource get rollupPropertySourceLinks => + PropertiesRollupPropertySourceLinksResource(_requester); + PropertiesSearchAds360LinksResource get searchAds360Links => + PropertiesSearchAds360LinksResource(_requester); + PropertiesSubpropertyEventFiltersResource get subpropertyEventFilters => + PropertiesSubpropertyEventFiltersResource(_requester); + + PropertiesResource(commons.ApiRequester client) : _requester = client; + + /// Acknowledges the terms of user data collection for the specified property. + /// + /// This acknowledgement must be completed (either in the Google Analytics UI + /// or through this API) before MeasurementProtocolSecret resources may be + /// created. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [property] - Required. The property for which to acknowledge user data + /// collection. + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse]. + /// + /// 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 + acknowledgeUserDataCollection( + GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest request, + core.String property, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + + core.Uri.encodeFull('$property') + + ':acknowledgeUserDataCollection'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse + .fromJson(response_ as core.Map); + } + + /// Creates an "GA4" property with the specified location and attributes. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaProperty]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaProperty request, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1alpha/properties'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaProperty.fromJson( + response_ as core.Map); + } + + /// Creates a connected site tag for a Universal Analytics property. + /// + /// You can create a maximum of 20 connected site tags per property. Note: + /// This API cannot be used on GA4 properties. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse]. + /// + /// 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 + createConnectedSiteTag( + GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest request, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1alpha/properties:createConnectedSiteTag'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse.fromJson( + response_ as core.Map); + } + + /// Create a roll-up property and all roll-up property source links. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse]. + /// + /// 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 + createRollupProperty( + GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest request, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1alpha/properties:createRollupProperty'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse.fromJson( + response_ as core.Map); + } + + /// Create a subproperty and a subproperty event filter that applies to the + /// created subproperty. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse]. + /// + /// 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 + createSubproperty( + GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest request, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1alpha/properties:createSubproperty'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse.fromJson( + response_ as core.Map); + } + + /// Marks target Property as soft-deleted (ie: "trashed") and returns it. + /// + /// This API does not have a method to restore soft-deleted properties. + /// However, they can be restored using the Trash Can UI. If the properties + /// are not restored before the expiration time, the Property and all child + /// resources (eg: GoogleAdsLinks, Streams, AccessBindings) will be + /// permanently purged. https://support.google.com/analytics/answer/6154772 + /// Returns an error if the target is not found, or is not a GA4 Property. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the Property to soft-delete. Format: + /// properties/{property_id} Example: "properties/1000" + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaProperty]. + /// + /// 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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaProperty.fromJson( + response_ as core.Map); + } + + /// Deletes a connected site tag for a Universal Analytics property. + /// + /// Note: this has no effect on GA4 properties. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [$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 deleteConnectedSiteTag( + GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest request, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1alpha/properties:deleteConnectedSiteTag'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Fetches the opt out status for the automated GA4 setup process for a UA + /// property. + /// + /// Note: this has no effect on GA4 property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse]. + /// + /// 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< + GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse> + fetchAutomatedGa4ConfigurationOptOut( + GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest + request, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse + .fromJson(response_ as core.Map); + } + + /// Given a specified UA property, looks up the GA4 property connected to it. + /// + /// Note: this cannot be used with GA4 properties. + /// + /// Request parameters: + /// + /// [property] - Required. The UA property for which to look up the connected + /// GA4 property. Note this request uses the internal property ID, not the + /// tracking ID of the form UA-XXXXXX-YY. Format: + /// properties/{internal_web_property_id} Example: properties/1234 + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse]. + /// + /// 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 + fetchConnectedGa4Property({ + core.String? property, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (property != null) 'property': [property], + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1alpha/properties:fetchConnectedGa4Property'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse + .fromJson(response_ as core.Map); + } + + /// Lookup for a single "GA4" Property. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the property to lookup. Format: + /// properties/{property_id} Example: "properties/1000" + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaProperty]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaProperty.fromJson( + response_ as core.Map); + } + + /// Lookup for a AttributionSettings singleton. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the attribution settings to retrieve. + /// Format: properties/{property}/attributionSettings + /// Value must have pattern `^properties/\[^/\]+/attributionSettings$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaAttributionSettings]. + /// + /// 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 + getAttributionSettings( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaAttributionSettings.fromJson( + response_ as core.Map); + } + + /// Returns the singleton data retention settings for this property. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the settings to lookup. Format: + /// properties/{property}/dataRetentionSettings Example: + /// "properties/1000/dataRetentionSettings" + /// Value must have pattern `^properties/\[^/\]+/dataRetentionSettings$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaDataRetentionSettings]. + /// + /// 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 + getDataRetentionSettings( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaDataRetentionSettings.fromJson( + response_ as core.Map); + } + + /// Lookup for Google Signals settings for a property. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the google signals settings to retrieve. + /// Format: properties/{property}/googleSignalsSettings + /// Value must have pattern `^properties/\[^/\]+/googleSignalsSettings$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaGoogleSignalsSettings]. + /// + /// 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 + getGoogleSignalsSettings( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaGoogleSignalsSettings.fromJson( + response_ as core.Map); + } + + /// Returns child Properties under the specified parent Account. + /// + /// Only "GA4" properties will be returned. Properties will be excluded if the + /// caller does not have access. Soft-deleted (ie: "trashed") properties are + /// excluded by default. Returns an empty list if no relevant properties are + /// found. + /// + /// Request parameters: + /// + /// [filter] - Required. An expression for filtering the results of the + /// request. Fields eligible for filtering are: `parent:`(The resource name of + /// the parent account/property) or `ancestor:`(The resource name of the + /// parent account) or `firebase_project:`(The id or number of the linked + /// firebase project). Some examples of filters: ``` | Filter | Description | + /// |-----------------------------|-------------------------------------------| + /// | parent:accounts/123 | The account with account id: 123. | | + /// parent:properties/123 | The property with property id: 123. | | + /// ancestor:accounts/123 | The account with account id: 123. | | + /// firebase_project:project-id | The firebase project with id: project-id. | + /// | firebase_project:123 | The firebase project with number: 123. | ``` + /// + /// [pageSize] - The maximum number of resources to return. The service may + /// return fewer than this value, even if there are additional pages. If + /// unspecified, at most 50 resources will be returned. The maximum value is + /// 200; (higher values will be coerced to the maximum) + /// + /// [pageToken] - A page token, received from a previous `ListProperties` + /// call. Provide this to retrieve the subsequent page. When paginating, all + /// other parameters provided to `ListProperties` must match the call that + /// provided the page token. + /// + /// [showDeleted] - Whether to include soft-deleted (ie: "trashed") Properties + /// in the results. Properties can be inspected to determine whether they are + /// deleted or not. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaListPropertiesResponse]. + /// + /// 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? filter, + core.int? pageSize, + core.String? pageToken, + core.bool? showDeleted, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (filter != null) 'filter': [filter], + if (pageSize != null) 'pageSize': ['${pageSize}'], + if (pageToken != null) 'pageToken': [pageToken], + if (showDeleted != null) 'showDeleted': ['${showDeleted}'], + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1alpha/properties'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListPropertiesResponse.fromJson( + response_ as core.Map); + } + + /// Lists the connected site tags for a Universal Analytics property. + /// + /// A maximum of 20 connected site tags will be returned. Note: this has no + /// effect on GA4 property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse]. + /// + /// 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 + listConnectedSiteTags( + GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest request, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1alpha/properties:listConnectedSiteTags'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse.fromJson( + response_ as core.Map); + } + + /// Updates a property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name of this property. Format: + /// properties/{property_id} Example: "properties/1000" + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Field names + /// must be in snake case (e.g., "field_to_update"). Omitted fields will not + /// be updated. To replace the entire entity, use one path with the string "*" + /// to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaProperty]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaProperty 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaProperty.fromJson( + response_ as core.Map); + } + + /// Returns a customized report of data access records. + /// + /// The report provides records of each time a user reads Google Analytics + /// reporting data. Access records are retained for up to 2 years. Data Access + /// Reports can be requested for a property. Reports may be requested for any + /// property, but dimensions that aren't related to quota can only be + /// requested on Google Analytics 360 properties. This method is only + /// available to Administrators. These data access records include GA4 UI + /// Reporting, GA4 UI Explorations, GA4 Data API, and other products like + /// Firebase & Admob that can retrieve data from Google Analytics through a + /// linkage. These records don't include property configuration changes like + /// adding a stream or changing a property's time zone. For configuration + /// change history, see + /// [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [entity] - The Data Access Report supports requesting at the property + /// level or account level. If requested at the account level, Data Access + /// Reports include all access for all properties under that account. To + /// request at the property level, entity should be for example + /// 'properties/123' if "123" is your GA4 property ID. To request at the + /// account level, entity should be for example 'accounts/1234' if "1234" is + /// your GA4 Account ID. + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaRunAccessReportResponse]. + /// + /// 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 + runAccessReport( + GoogleAnalyticsAdminV1alphaRunAccessReportRequest request, + core.String entity, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1alpha/' + core.Uri.encodeFull('$entity') + ':runAccessReport'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaRunAccessReportResponse.fromJson( + response_ as core.Map); + } + + /// Sets the opt out status for the automated GA4 setup process for a UA + /// property. + /// + /// Note: this has no effect on GA4 property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse]. + /// + /// 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< + GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse> + setAutomatedGa4ConfigurationOptOut( + GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest + request, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + const url_ = 'v1alpha/properties:setAutomatedGa4ConfigurationOptOut'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse + .fromJson(response_ as core.Map); + } + + /// Updates attribution settings on a property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name of this attribution settings resource. + /// Format: properties/{property_id}/attributionSettings Example: + /// "properties/1000/attributionSettings" + /// Value must have pattern `^properties/\[^/\]+/attributionSettings$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Field names + /// must be in snake case (e.g., "field_to_update"). Omitted fields will not + /// be updated. To replace the entire entity, use one path with the string "*" + /// to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaAttributionSettings]. + /// + /// 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 + updateAttributionSettings( + GoogleAnalyticsAdminV1alphaAttributionSettings 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaAttributionSettings.fromJson( + response_ as core.Map); + } + + /// Updates the singleton data retention settings for this property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name for this DataRetentionSetting + /// resource. Format: properties/{property}/dataRetentionSettings + /// Value must have pattern `^properties/\[^/\]+/dataRetentionSettings$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Field names + /// must be in snake case (e.g., "field_to_update"). Omitted fields will not + /// be updated. To replace the entire entity, use one path with the string "*" + /// to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaDataRetentionSettings]. + /// + /// 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 + updateDataRetentionSettings( + GoogleAnalyticsAdminV1alphaDataRetentionSettings 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaDataRetentionSettings.fromJson( + response_ as core.Map); + } + + /// Updates Google Signals settings for a property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name of this setting. Format: + /// properties/{property_id}/googleSignalsSettings Example: + /// "properties/1000/googleSignalsSettings" + /// Value must have pattern `^properties/\[^/\]+/googleSignalsSettings$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Field names + /// must be in snake case (e.g., "field_to_update"). Omitted fields will not + /// be updated. To replace the entire entity, use one path with the string "*" + /// to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaGoogleSignalsSettings]. + /// + /// 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 + updateGoogleSignalsSettings( + GoogleAnalyticsAdminV1alphaGoogleSignalsSettings 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaGoogleSignalsSettings.fromJson( + response_ as core.Map); + } +} + +class PropertiesAccessBindingsResource { + final commons.ApiRequester _requester; + + PropertiesAccessBindingsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates information about multiple access bindings to an account or + /// property. + /// + /// This method is transactional. If any AccessBinding cannot be created, none + /// of the AccessBindings will be created. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The account or property that owns the access + /// bindings. The parent field in the CreateAccessBindingRequest messages must + /// either be empty or match this field. Formats: - accounts/{account} - + /// properties/{property} + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse]. + /// + /// 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 + batchCreate( + GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest 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') + + '/accessBindings:batchCreate'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse + .fromJson(response_ as core.Map); + } + + /// Deletes information about multiple users' links to an account or property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The account or property that owns the access + /// bindings. The parent of all provided values for the 'names' field in + /// DeleteAccessBindingRequest messages must match this field. Formats: - + /// accounts/{account} - properties/{property} + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$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 batchDelete( + GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest 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') + + '/accessBindings:batchDelete'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Gets information about multiple access bindings to an account or property. + /// + /// Request parameters: + /// + /// [parent] - Required. The account or property that owns the access + /// bindings. The parent of all provided values for the 'names' field must + /// match this field. Formats: - accounts/{account} - properties/{property} + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [names] - Required. The names of the access bindings to retrieve. A + /// maximum of 1000 access bindings can be retrieved in a batch. Formats: - + /// accounts/{account}/accessBindings/{accessBinding} - + /// properties/{property}/accessBindings/{accessBinding} + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse]. + /// + /// 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 + batchGet( + core.String parent, { + core.List? names, + core.String? $fields, + }) async { + final queryParams_ = >{ + if (names != null) 'names': names, + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + + core.Uri.encodeFull('$parent') + + '/accessBindings:batchGet'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse.fromJson( + response_ as core.Map); + } + + /// Updates information about multiple access bindings to an account or + /// property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The account or property that owns the access + /// bindings. The parent of all provided AccessBinding in + /// UpdateAccessBindingRequest messages must match this field. Formats: - + /// accounts/{account} - properties/{property} + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse]. + /// + /// 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 + batchUpdate( + GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest 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') + + '/accessBindings:batchUpdate'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse + .fromJson(response_ as core.Map); + } + + /// Creates an access binding on an account or property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Formats: - accounts/{account} - properties/{property} + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaAccessBinding]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaAccessBinding 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') + '/accessBindings'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaAccessBinding.fromJson( + response_ as core.Map); + } + + /// Deletes an access binding on an account or property. + /// + /// Request parameters: + /// + /// [name] - Required. Formats: - + /// accounts/{account}/accessBindings/{accessBinding} - + /// properties/{property}/accessBindings/{accessBinding} + /// Value must have pattern `^properties/\[^/\]+/accessBindings/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Gets information about an access binding. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the access binding to retrieve. Formats: - + /// accounts/{account}/accessBindings/{accessBinding} - + /// properties/{property}/accessBindings/{accessBinding} + /// Value must have pattern `^properties/\[^/\]+/accessBindings/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaAccessBinding]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaAccessBinding.fromJson( + response_ as core.Map); + } + + /// Lists all access bindings on an account or property. + /// + /// Request parameters: + /// + /// [parent] - Required. Formats: - accounts/{account} - properties/{property} + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of access bindings to return. The service + /// may return fewer than this value. If unspecified, at most 200 access + /// bindings will be returned. The maximum value is 500; values above 500 will + /// be coerced to 500. + /// + /// [pageToken] - A page token, received from a previous `ListAccessBindings` + /// call. Provide this to retrieve the subsequent page. When paginating, all + /// other parameters provided to `ListAccessBindings` must match the call that + /// provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaListAccessBindingsResponse]. + /// + /// 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_ = + 'v1alpha/' + core.Uri.encodeFull('$parent') + '/accessBindings'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListAccessBindingsResponse.fromJson( + response_ as core.Map); + } + + /// Updates an access binding on an account or property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name of this binding. Format: + /// accounts/{account}/accessBindings/{access_binding} or + /// properties/{property}/accessBindings/{access_binding} Example: + /// "accounts/100/accessBindings/200" + /// Value must have pattern `^properties/\[^/\]+/accessBindings/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaAccessBinding]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaAccessBinding request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaAccessBinding.fromJson( + response_ as core.Map); + } +} + +class PropertiesAdSenseLinksResource { + final commons.ApiRequester _requester; + + PropertiesAdSenseLinksResource(commons.ApiRequester client) + : _requester = client; + + /// Creates an AdSenseLink. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The property for which to create an AdSense Link. + /// Format: properties/{propertyId} Example: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaAdSenseLink]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaAdSenseLink 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') + '/adSenseLinks'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaAdSenseLink.fromJson( + response_ as core.Map); + } + + /// Deletes an AdSenseLink. + /// + /// Request parameters: + /// + /// [name] - Required. Unique identifier for the AdSense Link to be deleted. + /// Format: properties/{propertyId}/adSenseLinks/{linkId} Example: + /// properties/1234/adSenseLinks/5678 + /// Value must have pattern `^properties/\[^/\]+/adSenseLinks/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Looks up a single AdSenseLink. + /// + /// Request parameters: + /// + /// [name] - Required. Unique identifier for the AdSense Link requested. + /// Format: properties/{propertyId}/adSenseLinks/{linkId} Example: + /// properties/1234/adSenseLinks/5678 + /// Value must have pattern `^properties/\[^/\]+/adSenseLinks/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaAdSenseLink]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaAdSenseLink.fromJson( + response_ as core.Map); + } + + /// Lists AdSenseLinks on a property. + /// + /// Request parameters: + /// + /// [parent] - Required. Resource name of the parent property. Format: + /// properties/{propertyId} Example: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. If unspecified, at + /// most 50 resources will be returned. The maximum value is 200 (higher + /// values will be coerced to the maximum). + /// + /// [pageToken] - A page token received from a previous `ListAdSenseLinks` + /// call. Provide this to retrieve the subsequent page. When paginating, all + /// other parameters provided to `ListAdSenseLinks` must match the call that + /// provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$parent') + '/adSenseLinks'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse.fromJson( + response_ as core.Map); + } +} + +class PropertiesAudiencesResource { + final commons.ApiRequester _requester; + + PropertiesAudiencesResource(commons.ApiRequester client) + : _requester = client; + + /// Archives an Audience on a property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. Example format: properties/1234/audiences/5678 + /// Value must have pattern `^properties/\[^/\]+/audiences/\[^/\]+$`. + /// + /// [$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 archive( + GoogleAnalyticsAdminV1alphaArchiveAudienceRequest request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name') + ':archive'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Creates an Audience. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaAudience]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaAudience 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') + '/audiences'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaAudience.fromJson( + response_ as core.Map); + } + + /// Lookup for a single Audience. + /// + /// Audiences created before 2020 may not be supported. Default audiences will + /// not show filter definitions. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the Audience to get. Example format: + /// properties/1234/audiences/5678 + /// Value must have pattern `^properties/\[^/\]+/audiences/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaAudience]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaAudience.fromJson( + response_ as core.Map); + } + + /// Lists Audiences on a property. + /// + /// Audiences created before 2020 may not be supported. Default audiences will + /// not show filter definitions. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. If unspecified, at + /// most 50 resources will be returned. The maximum value is 200 (higher + /// values will be coerced to the maximum). + /// + /// [pageToken] - A page token, received from a previous `ListAudiences` call. + /// Provide this to retrieve the subsequent page. When paginating, all other + /// parameters provided to `ListAudiences` must match the call that provided + /// the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaListAudiencesResponse]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$parent') + '/audiences'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListAudiencesResponse.fromJson( + response_ as core.Map); + } + + /// Updates an Audience on a property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. The resource name for this Audience resource. + /// Format: properties/{propertyId}/audiences/{audienceId} + /// Value must have pattern `^properties/\[^/\]+/audiences/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Field names + /// must be in snake case (e.g., "field_to_update"). Omitted fields will not + /// be updated. To replace the entire entity, use one path with the string "*" + /// to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaAudience]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaAudience 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaAudience.fromJson( + response_ as core.Map); + } +} + +class PropertiesBigQueryLinksResource { + final commons.ApiRequester _requester; + + PropertiesBigQueryLinksResource(commons.ApiRequester client) + : _requester = client; + + /// Lookup for a single BigQuery Link. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the BigQuery link to lookup. Format: + /// properties/{property_id}/bigQueryLinks/{bigquery_link_id} Example: + /// properties/123/bigQueryLinks/456 + /// Value must have pattern `^properties/\[^/\]+/bigQueryLinks/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaBigQueryLink]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaBigQueryLink.fromJson( + response_ as core.Map); + } + + /// Lists BigQuery Links on a property. + /// + /// Request parameters: + /// + /// [parent] - Required. The name of the property to list BigQuery links + /// under. Format: properties/{property_id} Example: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. The service may + /// return fewer than this value, even if there are additional pages. If + /// unspecified, at most 50 resources will be returned. The maximum value is + /// 200; (higher values will be coerced to the maximum) + /// + /// [pageToken] - A page token, received from a previous `ListBigQueryLinks` + /// call. Provide this to retrieve the subsequent page. When paginating, all + /// other parameters provided to `ListBigQueryLinks` must match the call that + /// provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$parent') + '/bigQueryLinks'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse.fromJson( + response_ as core.Map); + } +} + +class PropertiesCalculatedMetricsResource { + final commons.ApiRequester _requester; + + PropertiesCalculatedMetricsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a CalculatedMetric. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Format: properties/{property_id} Example: + /// properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [calculatedMetricId] - Required. The ID to use for the calculated metric + /// which will become the final component of the calculated metric's resource + /// name. This value should be 1-80 characters and valid characters are + /// /\[a-zA-Z0-9_\]/, no spaces allowed. calculated_metric_id must be unique + /// between all calculated metrics under a property. The calculated_metric_id + /// is used when referencing this calculated metric from external APIs, for + /// example, "calcMetric:{calculated_metric_id}". + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaCalculatedMetric]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaCalculatedMetric request, + core.String parent, { + core.String? calculatedMetricId, + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if (calculatedMetricId != null) + 'calculatedMetricId': [calculatedMetricId], + if ($fields != null) 'fields': [$fields], + }; + + final url_ = + 'v1alpha/' + core.Uri.encodeFull('$parent') + '/calculatedMetrics'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaCalculatedMetric.fromJson( + response_ as core.Map); + } + + /// Deletes a CalculatedMetric on a property. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the CalculatedMetric to delete. Format: + /// properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: + /// properties/1234/calculatedMetrics/Metric01 + /// Value must have pattern `^properties/\[^/\]+/calculatedMetrics/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Lookup for a single CalculatedMetric. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the CalculatedMetric to get. Format: + /// properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: + /// properties/1234/calculatedMetrics/Metric01 + /// Value must have pattern `^properties/\[^/\]+/calculatedMetrics/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaCalculatedMetric]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaCalculatedMetric.fromJson( + response_ as core.Map); + } + + /// Lists CalculatedMetrics on a property. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - Optional. The maximum number of resources to return. If + /// unspecified, at most 50 resources will be returned. The maximum value is + /// 200 (higher values will be coerced to the maximum). + /// + /// [pageToken] - Optional. A page token, received from a previous + /// `ListCalculatedMetrics` call. Provide this to retrieve the subsequent + /// page. When paginating, all other parameters provided to + /// `ListCalculatedMetrics` must match the call that provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse]. + /// + /// 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_ = + 'v1alpha/' + core.Uri.encodeFull('$parent') + '/calculatedMetrics'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse.fromJson( + response_ as core.Map); + } + + /// Updates a CalculatedMetric on a property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name for this CalculatedMetric. Format: + /// 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' + /// Value must have pattern `^properties/\[^/\]+/calculatedMetrics/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Omitted fields + /// will not be updated. To replace the entire entity, use one path with the + /// string "*" to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaCalculatedMetric]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaCalculatedMetric 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaCalculatedMetric.fromJson( + response_ as core.Map); + } +} + +class PropertiesChannelGroupsResource { + final commons.ApiRequester _requester; + + PropertiesChannelGroupsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a ChannelGroup. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The property for which to create a ChannelGroup. + /// Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaChannelGroup]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaChannelGroup 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') + '/channelGroups'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaChannelGroup.fromJson( + response_ as core.Map); + } + + /// Deletes a ChannelGroup on a property. + /// + /// Request parameters: + /// + /// [name] - Required. The ChannelGroup to delete. Example format: + /// properties/1234/channelGroups/5678 + /// Value must have pattern `^properties/\[^/\]+/channelGroups/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Lookup for a single ChannelGroup. + /// + /// Request parameters: + /// + /// [name] - Required. The ChannelGroup to get. Example format: + /// properties/1234/channelGroups/5678 + /// Value must have pattern `^properties/\[^/\]+/channelGroups/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaChannelGroup]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaChannelGroup.fromJson( + response_ as core.Map); + } + + /// Lists ChannelGroups on a property. + /// + /// Request parameters: + /// + /// [parent] - Required. The property for which to list ChannelGroups. Example + /// format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. If unspecified, at + /// most 50 resources will be returned. The maximum value is 200 (higher + /// values will be coerced to the maximum). + /// + /// [pageToken] - A page token, received from a previous `ListChannelGroups` + /// call. Provide this to retrieve the subsequent page. When paginating, all + /// other parameters provided to `ListChannelGroups` must match the call that + /// provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaListChannelGroupsResponse]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$parent') + '/channelGroups'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListChannelGroupsResponse.fromJson( + response_ as core.Map); + } + + /// Updates a ChannelGroup. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. The resource name for this Channel Group resource. + /// Format: properties/{property}/channelGroups/{channel_group} + /// Value must have pattern `^properties/\[^/\]+/channelGroups/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Field names + /// must be in snake case (e.g., "field_to_update"). Omitted fields will not + /// be updated. To replace the entire entity, use one path with the string "*" + /// to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaChannelGroup]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaChannelGroup 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaChannelGroup.fromJson( + response_ as core.Map); + } +} + +@core.Deprecated( + 'Not supported. Member documentation may have more information.', +) +class PropertiesConversionEventsResource { + final commons.ApiRequester _requester; + + PropertiesConversionEventsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a conversion event with the specified attributes. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The resource name of the parent property where this + /// conversion event will be created. Format: properties/123 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaConversionEvent]. + /// + /// 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. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) + async.Future create( + GoogleAnalyticsAdminV1alphaConversionEvent 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') + '/conversionEvents'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaConversionEvent.fromJson( + response_ as core.Map); + } + + /// Deletes a conversion event in a property. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the conversion event to delete. + /// Format: properties/{property}/conversionEvents/{conversion_event} Example: + /// "properties/123/conversionEvents/456" + /// Value must have pattern `^properties/\[^/\]+/conversionEvents/\[^/\]+$`. + /// + /// [$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. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) + async.Future delete( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Retrieve a single conversion event. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the conversion event to retrieve. + /// Format: properties/{property}/conversionEvents/{conversion_event} Example: + /// "properties/123/conversionEvents/456" + /// Value must have pattern `^properties/\[^/\]+/conversionEvents/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaConversionEvent]. + /// + /// 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. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) + async.Future get( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaConversionEvent.fromJson( + response_ as core.Map); + } + + /// Returns a list of conversion events in the specified parent property. + /// + /// Returns an empty list if no conversion events are found. + /// + /// Request parameters: + /// + /// [parent] - Required. The resource name of the parent property. Example: + /// 'properties/123' + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. If unspecified, at + /// most 50 resources will be returned. The maximum value is 200; (higher + /// values will be coerced to the maximum) + /// + /// [pageToken] - A page token, received from a previous + /// `ListConversionEvents` call. Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListConversionEvents` + /// must match the call that provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaListConversionEventsResponse]. + /// + /// 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. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) + 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_ = + 'v1alpha/' + core.Uri.encodeFull('$parent') + '/conversionEvents'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListConversionEventsResponse.fromJson( + response_ as core.Map); + } + + /// Updates a conversion event with the specified attributes. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name of this conversion event. Format: + /// properties/{property}/conversionEvents/{conversion_event} + /// Value must have pattern `^properties/\[^/\]+/conversionEvents/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Field names + /// must be in snake case (e.g., "field_to_update"). Omitted fields will not + /// be updated. To replace the entire entity, use one path with the string "*" + /// to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaConversionEvent]. + /// + /// 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. + @core.Deprecated( + 'Not supported. Member documentation may have more information.', + ) + async.Future patch( + GoogleAnalyticsAdminV1alphaConversionEvent 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaConversionEvent.fromJson( + response_ as core.Map); + } +} + +class PropertiesCustomDimensionsResource { + final commons.ApiRequester _requester; + + PropertiesCustomDimensionsResource(commons.ApiRequester client) + : _requester = client; + + /// Archives a CustomDimension on a property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the CustomDimension to archive. Example + /// format: properties/1234/customDimensions/5678 + /// Value must have pattern `^properties/\[^/\]+/customDimensions/\[^/\]+$`. + /// + /// [$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 archive( + GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name') + ':archive'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Creates a CustomDimension. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaCustomDimension]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaCustomDimension 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') + '/customDimensions'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaCustomDimension.fromJson( + response_ as core.Map); + } + + /// Lookup for a single CustomDimension. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the CustomDimension to get. Example format: + /// properties/1234/customDimensions/5678 + /// Value must have pattern `^properties/\[^/\]+/customDimensions/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaCustomDimension]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaCustomDimension.fromJson( + response_ as core.Map); + } + + /// Lists CustomDimensions on a property. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. If unspecified, at + /// most 50 resources will be returned. The maximum value is 200 (higher + /// values will be coerced to the maximum). + /// + /// [pageToken] - A page token, received from a previous + /// `ListCustomDimensions` call. Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListCustomDimensions` + /// must match the call that provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse]. + /// + /// 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_ = + 'v1alpha/' + core.Uri.encodeFull('$parent') + '/customDimensions'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse.fromJson( + response_ as core.Map); + } + + /// Updates a CustomDimension on a property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name for this CustomDimension resource. + /// Format: properties/{property}/customDimensions/{customDimension} + /// Value must have pattern `^properties/\[^/\]+/customDimensions/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Omitted fields + /// will not be updated. To replace the entire entity, use one path with the + /// string "*" to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaCustomDimension]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaCustomDimension 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaCustomDimension.fromJson( + response_ as core.Map); + } +} + +class PropertiesCustomMetricsResource { + final commons.ApiRequester _requester; + + PropertiesCustomMetricsResource(commons.ApiRequester client) + : _requester = client; + + /// Archives a CustomMetric on a property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the CustomMetric to archive. Example + /// format: properties/1234/customMetrics/5678 + /// Value must have pattern `^properties/\[^/\]+/customMetrics/\[^/\]+$`. + /// + /// [$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 archive( + GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name') + ':archive'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Creates a CustomMetric. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaCustomMetric]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaCustomMetric 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') + '/customMetrics'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaCustomMetric.fromJson( + response_ as core.Map); + } + + /// Lookup for a single CustomMetric. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the CustomMetric to get. Example format: + /// properties/1234/customMetrics/5678 + /// Value must have pattern `^properties/\[^/\]+/customMetrics/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaCustomMetric]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaCustomMetric.fromJson( + response_ as core.Map); + } + + /// Lists CustomMetrics on a property. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. If unspecified, at + /// most 50 resources will be returned. The maximum value is 200 (higher + /// values will be coerced to the maximum). + /// + /// [pageToken] - A page token, received from a previous `ListCustomMetrics` + /// call. Provide this to retrieve the subsequent page. When paginating, all + /// other parameters provided to `ListCustomMetrics` must match the call that + /// provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaListCustomMetricsResponse]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$parent') + '/customMetrics'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListCustomMetricsResponse.fromJson( + response_ as core.Map); + } + + /// Updates a CustomMetric on a property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name for this CustomMetric resource. + /// Format: properties/{property}/customMetrics/{customMetric} + /// Value must have pattern `^properties/\[^/\]+/customMetrics/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Omitted fields + /// will not be updated. To replace the entire entity, use one path with the + /// string "*" to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaCustomMetric]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaCustomMetric 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaCustomMetric.fromJson( + response_ as core.Map); + } +} + +class PropertiesDataStreamsResource { + final commons.ApiRequester _requester; + + PropertiesDataStreamsEventCreateRulesResource get eventCreateRules => + PropertiesDataStreamsEventCreateRulesResource(_requester); + PropertiesDataStreamsMeasurementProtocolSecretsResource + get measurementProtocolSecrets => + PropertiesDataStreamsMeasurementProtocolSecretsResource(_requester); + PropertiesDataStreamsSKAdNetworkConversionValueSchemaResource + get sKAdNetworkConversionValueSchema => + PropertiesDataStreamsSKAdNetworkConversionValueSchemaResource( + _requester); + + PropertiesDataStreamsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a DataStream. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaDataStream]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaDataStream 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') + '/dataStreams'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaDataStream.fromJson( + response_ as core.Map); + } + + /// Deletes a DataStream on a property. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the DataStream to delete. Example format: + /// properties/1234/dataStreams/5678 + /// 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 delete( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Lookup for a single DataStream. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the DataStream to get. Example format: + /// properties/1234/dataStreams/5678 + /// Value must have pattern `^properties/\[^/\]+/dataStreams/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaDataStream]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaDataStream.fromJson( + response_ as core.Map); + } + + /// Lookup for a single DataRedactionSettings. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the settings to lookup. Format: + /// properties/{property}/dataStreams/{data_stream}/dataRedactionSettings + /// Example: "properties/1000/dataStreams/2000/dataRedactionSettings" + /// Value must have pattern + /// `^properties/\[^/\]+/dataStreams/\[^/\]+/dataRedactionSettings$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaDataRedactionSettings]. + /// + /// 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 + getDataRedactionSettings( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaDataRedactionSettings.fromJson( + response_ as core.Map); + } + + /// Returns the enhanced measurement settings for this data stream. + /// + /// Note that the stream must enable enhanced measurement for these settings + /// to take effect. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the settings to lookup. Format: + /// properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings + /// Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" + /// Value must have pattern + /// `^properties/\[^/\]+/dataStreams/\[^/\]+/enhancedMeasurementSettings$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings]. + /// + /// 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 + getEnhancedMeasurementSettings( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.fromJson( + response_ as core.Map); + } + + /// Returns the Site Tag for the specified web stream. + /// + /// Site Tags are immutable singletons. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the site tag to lookup. Note that site tags + /// are singletons and do not have unique IDs. Format: + /// properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: + /// "properties/123/dataStreams/456/globalSiteTag" + /// Value must have pattern + /// `^properties/\[^/\]+/dataStreams/\[^/\]+/globalSiteTag$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaGlobalSiteTag]. + /// + /// 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 getGlobalSiteTag( + core.String name, { + core.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaGlobalSiteTag.fromJson( + response_ as core.Map); + } + + /// Lists DataStreams on a property. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. If unspecified, at + /// most 50 resources will be returned. The maximum value is 200 (higher + /// values will be coerced to the maximum). + /// + /// [pageToken] - A page token, received from a previous `ListDataStreams` + /// call. Provide this to retrieve the subsequent page. When paginating, all + /// other parameters provided to `ListDataStreams` must match the call that + /// provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaListDataStreamsResponse]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$parent') + '/dataStreams'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListDataStreamsResponse.fromJson( + response_ as core.Map); + } + + /// Updates a DataStream on a property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name of this Data Stream. Format: + /// properties/{property_id}/dataStreams/{stream_id} Example: + /// "properties/1000/dataStreams/2000" + /// Value must have pattern `^properties/\[^/\]+/dataStreams/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Omitted fields + /// will not be updated. To replace the entire entity, use one path with the + /// string "*" to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaDataStream]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaDataStream 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaDataStream.fromJson( + response_ as core.Map); + } + + /// Updates a DataRedactionSettings on a property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Name of this Data Redaction Settings resource. + /// Format: + /// properties/{property_id}/dataStreams/{data_stream}/dataRedactionSettings + /// Example: "properties/1000/dataStreams/2000/dataRedactionSettings" + /// Value must have pattern + /// `^properties/\[^/\]+/dataStreams/\[^/\]+/dataRedactionSettings$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Field names + /// must be in snake case (e.g., "field_to_update"). Omitted fields will not + /// be updated. To replace the entire entity, use one path with the string "*" + /// to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaDataRedactionSettings]. + /// + /// 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 + updateDataRedactionSettings( + GoogleAnalyticsAdminV1alphaDataRedactionSettings 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaDataRedactionSettings.fromJson( + response_ as core.Map); + } + + /// Updates the enhanced measurement settings for this data stream. + /// + /// Note that the stream must enable enhanced measurement for these settings + /// to take effect. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name of the Enhanced Measurement Settings. + /// Format: + /// properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings + /// Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" + /// Value must have pattern + /// `^properties/\[^/\]+/dataStreams/\[^/\]+/enhancedMeasurementSettings$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Field names + /// must be in snake case (e.g., "field_to_update"). Omitted fields will not + /// be updated. To replace the entire entity, use one path with the string "*" + /// to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings]. + /// + /// 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 + updateEnhancedMeasurementSettings( + GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.fromJson( + response_ as core.Map); + } +} + +class PropertiesDataStreamsEventCreateRulesResource { + final commons.ApiRequester _requester; + + PropertiesDataStreamsEventCreateRulesResource(commons.ApiRequester client) + : _requester = client; + + /// Creates an EventCreateRule. + /// + /// [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 [GoogleAnalyticsAdminV1alphaEventCreateRule]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaEventCreateRule 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') + '/eventCreateRules'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaEventCreateRule.fromJson( + response_ as core.Map); + } + + /// Deletes an EventCreateRule. + /// + /// Request parameters: + /// + /// [name] - Required. Example format: + /// properties/123/dataStreams/456/eventCreateRules/789 + /// Value must have pattern + /// `^properties/\[^/\]+/dataStreams/\[^/\]+/eventCreateRules/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Lookup for a single EventCreateRule. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the EventCreateRule to get. Example format: + /// properties/123/dataStreams/456/eventCreateRules/789 + /// Value must have pattern + /// `^properties/\[^/\]+/dataStreams/\[^/\]+/eventCreateRules/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaEventCreateRule]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaEventCreateRule.fromJson( + response_ as core.Map); + } + + /// Lists EventCreateRules on a web data stream. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/123/dataStreams/456 + /// Value must have pattern `^properties/\[^/\]+/dataStreams/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. If unspecified, at + /// most 50 resources will be returned. The maximum value is 200 (higher + /// values will be coerced to the maximum). + /// + /// [pageToken] - A page token, received from a previous + /// `ListEventCreateRules` call. Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListEventCreateRules` + /// must match the call that provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse]. + /// + /// 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_ = + 'v1alpha/' + core.Uri.encodeFull('$parent') + '/eventCreateRules'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse.fromJson( + response_ as core.Map); + } + + /// Updates an EventCreateRule. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name for this EventCreateRule resource. + /// Format: + /// properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule} + /// Value must have pattern + /// `^properties/\[^/\]+/dataStreams/\[^/\]+/eventCreateRules/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Field names + /// must be in snake case (e.g., "field_to_update"). Omitted fields will not + /// be updated. To replace the entire entity, use one path with the string "*" + /// to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaEventCreateRule]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaEventCreateRule 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaEventCreateRule.fromJson( + response_ as core.Map); + } +} + +class PropertiesDataStreamsMeasurementProtocolSecretsResource { + final commons.ApiRequester _requester; + + PropertiesDataStreamsMeasurementProtocolSecretsResource( + commons.ApiRequester client) + : _requester = client; + + /// Creates a measurement protocol secret. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource where this secret will be + /// created. Format: properties/{property}/dataStreams/{dataStream} + /// Value must have pattern `^properties/\[^/\]+/dataStreams/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret 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') + + '/measurementProtocolSecrets'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret.fromJson( + response_ as core.Map); + } + + /// Deletes target MeasurementProtocolSecret. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the MeasurementProtocolSecret to delete. + /// Format: + /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + /// Value must have pattern + /// `^properties/\[^/\]+/dataStreams/\[^/\]+/measurementProtocolSecrets/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Lookup for a single "GA4" MeasurementProtocolSecret. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the measurement protocol secret to lookup. + /// Format: + /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + /// Value must have pattern + /// `^properties/\[^/\]+/dataStreams/\[^/\]+/measurementProtocolSecrets/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret.fromJson( + response_ as core.Map); + } + + /// Returns child MeasurementProtocolSecrets under the specified parent + /// Property. + /// + /// Request parameters: + /// + /// [parent] - Required. The resource name of the parent stream. Format: + /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets + /// Value must have pattern `^properties/\[^/\]+/dataStreams/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. If unspecified, at + /// most 10 resources will be returned. The maximum value is 10. Higher values + /// will be coerced to the maximum. + /// + /// [pageToken] - A page token, received from a previous + /// `ListMeasurementProtocolSecrets` call. Provide this to retrieve the + /// subsequent page. When paginating, all other parameters provided to + /// `ListMeasurementProtocolSecrets` must match the call that provided the + /// page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse]. + /// + /// 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_ = 'v1alpha/' + + core.Uri.encodeFull('$parent') + + '/measurementProtocolSecrets'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse + .fromJson(response_ as core.Map); + } + + /// Updates a measurement protocol secret. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name of this secret. This secret may be a + /// child of any type of stream. Format: + /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + /// Value must have pattern + /// `^properties/\[^/\]+/dataStreams/\[^/\]+/measurementProtocolSecrets/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Omitted fields + /// will not be updated. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret.fromJson( + response_ as core.Map); + } +} + +class PropertiesDataStreamsSKAdNetworkConversionValueSchemaResource { + final commons.ApiRequester _requester; + + PropertiesDataStreamsSKAdNetworkConversionValueSchemaResource( + commons.ApiRequester client) + : _requester = client; + + /// Creates a SKAdNetworkConversionValueSchema. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The parent resource where this schema will be + /// created. Format: properties/{property}/dataStreams/{dataStream} + /// Value must have pattern `^properties/\[^/\]+/dataStreams/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema 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') + + '/sKAdNetworkConversionValueSchema'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema.fromJson( + response_ as core.Map); + } + + /// Deletes target SKAdNetworkConversionValueSchema. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the SKAdNetworkConversionValueSchema to + /// delete. Format: + /// properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} + /// Value must have pattern + /// `^properties/\[^/\]+/dataStreams/\[^/\]+/sKAdNetworkConversionValueSchema/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Looks up a single SKAdNetworkConversionValueSchema. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of SKAdNetwork conversion value + /// schema to look up. Format: + /// properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} + /// Value must have pattern + /// `^properties/\[^/\]+/dataStreams/\[^/\]+/sKAdNetworkConversionValueSchema/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema.fromJson( + response_ as core.Map); + } + + /// Lists SKAdNetworkConversionValueSchema on a stream. + /// + /// Properties can have at most one SKAdNetworkConversionValueSchema. + /// + /// Request parameters: + /// + /// [parent] - Required. The DataStream resource to list schemas for. Format: + /// properties/{property_id}/dataStreams/{dataStream} Example: + /// properties/1234/dataStreams/5678 + /// Value must have pattern `^properties/\[^/\]+/dataStreams/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. The service may + /// return fewer than this value, even if there are additional pages. If + /// unspecified, at most 50 resources will be returned. The maximum value is + /// 200; (higher values will be coerced to the maximum) + /// + /// [pageToken] - A page token, received from a previous + /// `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the + /// subsequent page. When paginating, all other parameters provided to + /// `ListSKAdNetworkConversionValueSchema` must match the call that provided + /// the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse]. + /// + /// 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< + GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse> + 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_ = 'v1alpha/' + + core.Uri.encodeFull('$parent') + + '/sKAdNetworkConversionValueSchema'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse + .fromJson(response_ as core.Map); + } + + /// Updates a SKAdNetworkConversionValueSchema. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name of the schema. This will be child of + /// ONLY an iOS stream, and there can be at most one such child under an iOS + /// stream. Format: + /// properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema + /// Value must have pattern + /// `^properties/\[^/\]+/dataStreams/\[^/\]+/sKAdNetworkConversionValueSchema/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Omitted fields + /// will not be updated. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema.fromJson( + response_ as core.Map); + } +} + +class PropertiesDisplayVideo360AdvertiserLinkProposalsResource { + final commons.ApiRequester _requester; + + PropertiesDisplayVideo360AdvertiserLinkProposalsResource( + commons.ApiRequester client) + : _requester = client; + + /// Approves a DisplayVideo360AdvertiserLinkProposal. + /// + /// The DisplayVideo360AdvertiserLinkProposal will be deleted and a new + /// DisplayVideo360AdvertiserLink will be created. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the DisplayVideo360AdvertiserLinkProposal + /// to approve. Example format: + /// properties/1234/displayVideo360AdvertiserLinkProposals/5678 + /// Value must have pattern + /// `^properties/\[^/\]+/displayVideo360AdvertiserLinkProposals/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse]. + /// + /// 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< + GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse> + approve( + GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest + request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name') + ':approve'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse + .fromJson(response_ as core.Map); + } + + /// Cancels a DisplayVideo360AdvertiserLinkProposal. + /// + /// Cancelling can mean either: - Declining a proposal initiated from Display + /// & Video 360 - Withdrawing a proposal initiated from Google Analytics After + /// being cancelled, a proposal will eventually be deleted automatically. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the DisplayVideo360AdvertiserLinkProposal + /// to cancel. Example format: + /// properties/1234/displayVideo360AdvertiserLinkProposals/5678 + /// Value must have pattern + /// `^properties/\[^/\]+/displayVideo360AdvertiserLinkProposals/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal]. + /// + /// 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 + cancel( + GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest + request, + core.String name, { + core.String? $fields, + }) async { + final body_ = convert.json.encode(request); + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name') + ':cancel'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal + .fromJson(response_ as core.Map); + } + + /// Creates a DisplayVideo360AdvertiserLinkProposal. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal 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') + + '/displayVideo360AdvertiserLinkProposals'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal + .fromJson(response_ as core.Map); + } + + /// Deletes a DisplayVideo360AdvertiserLinkProposal on a property. + /// + /// This can only be used on cancelled proposals. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the DisplayVideo360AdvertiserLinkProposal + /// to delete. Example format: + /// properties/1234/displayVideo360AdvertiserLinkProposals/5678 + /// Value must have pattern + /// `^properties/\[^/\]+/displayVideo360AdvertiserLinkProposals/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Lookup for a single DisplayVideo360AdvertiserLinkProposal. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the DisplayVideo360AdvertiserLinkProposal + /// to get. Example format: + /// properties/1234/displayVideo360AdvertiserLinkProposals/5678 + /// Value must have pattern + /// `^properties/\[^/\]+/displayVideo360AdvertiserLinkProposals/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal + .fromJson(response_ as core.Map); + } + + /// Lists DisplayVideo360AdvertiserLinkProposals on a property. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. If unspecified, at + /// most 50 resources will be returned. The maximum value is 200 (higher + /// values will be coerced to the maximum). + /// + /// [pageToken] - A page token, received from a previous + /// `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to + /// retrieve the subsequent page. When paginating, all other parameters + /// provided to `ListDisplayVideo360AdvertiserLinkProposals` must match the + /// call that provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse]. + /// + /// 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< + GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse> + 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_ = 'v1alpha/' + + core.Uri.encodeFull('$parent') + + '/displayVideo360AdvertiserLinkProposals'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse + .fromJson(response_ as core.Map); + } +} + +class PropertiesDisplayVideo360AdvertiserLinksResource { + final commons.ApiRequester _requester; + + PropertiesDisplayVideo360AdvertiserLinksResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a DisplayVideo360AdvertiserLink. + /// + /// This can only be utilized by users who have proper authorization both on + /// the Google Analytics property and on the Display & Video 360 advertiser. + /// Users who do not have access to the Display & Video 360 advertiser should + /// instead seek to create a DisplayVideo360LinkProposal. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink 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') + + '/displayVideo360AdvertiserLinks'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink.fromJson( + response_ as core.Map); + } + + /// Deletes a DisplayVideo360AdvertiserLink on a property. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the DisplayVideo360AdvertiserLink to + /// delete. Example format: + /// properties/1234/displayVideo360AdvertiserLinks/5678 + /// Value must have pattern + /// `^properties/\[^/\]+/displayVideo360AdvertiserLinks/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Look up a single DisplayVideo360AdvertiserLink + /// + /// Request parameters: + /// + /// [name] - Required. The name of the DisplayVideo360AdvertiserLink to get. + /// Example format: properties/1234/displayVideo360AdvertiserLink/5678 + /// Value must have pattern + /// `^properties/\[^/\]+/displayVideo360AdvertiserLinks/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink.fromJson( + response_ as core.Map); + } + + /// Lists all DisplayVideo360AdvertiserLinks on a property. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. If unspecified, at + /// most 50 resources will be returned. The maximum value is 200 (higher + /// values will be coerced to the maximum). + /// + /// [pageToken] - A page token, received from a previous + /// `ListDisplayVideo360AdvertiserLinks` call. Provide this to retrieve the + /// subsequent page. When paginating, all other parameters provided to + /// `ListDisplayVideo360AdvertiserLinks` must match the call that provided the + /// page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse]. + /// + /// 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< + GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse> + 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_ = 'v1alpha/' + + core.Uri.encodeFull('$parent') + + '/displayVideo360AdvertiserLinks'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse + .fromJson(response_ as core.Map); + } + + /// Updates a DisplayVideo360AdvertiserLink on a property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. The resource name for this + /// DisplayVideo360AdvertiserLink resource. Format: + /// properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} Note: + /// linkId is not the Display & Video 360 Advertiser ID + /// Value must have pattern + /// `^properties/\[^/\]+/displayVideo360AdvertiserLinks/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Omitted fields + /// will not be updated. To replace the entire entity, use one path with the + /// string "*" to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink.fromJson( + response_ as core.Map); + } +} + +class PropertiesExpandedDataSetsResource { + final commons.ApiRequester _requester; + + PropertiesExpandedDataSetsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a ExpandedDataSet. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaExpandedDataSet]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaExpandedDataSet 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') + '/expandedDataSets'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaExpandedDataSet.fromJson( + response_ as core.Map); + } + + /// Deletes a ExpandedDataSet on a property. + /// + /// Request parameters: + /// + /// [name] - Required. Example format: properties/1234/expandedDataSets/5678 + /// Value must have pattern `^properties/\[^/\]+/expandedDataSets/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Lookup for a single ExpandedDataSet. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the ExpandedDataSet to get. Example format: + /// properties/1234/expandedDataSets/5678 + /// Value must have pattern `^properties/\[^/\]+/expandedDataSets/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaExpandedDataSet]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaExpandedDataSet.fromJson( + response_ as core.Map); + } + + /// Lists ExpandedDataSets on a property. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. If unspecified, at + /// most 50 resources will be returned. The maximum value is 200 (higher + /// values will be coerced to the maximum). + /// + /// [pageToken] - A page token, received from a previous + /// `ListExpandedDataSets` call. Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListExpandedDataSet` + /// must match the call that provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse]. + /// + /// 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_ = + 'v1alpha/' + core.Uri.encodeFull('$parent') + '/expandedDataSets'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse.fromJson( + response_ as core.Map); + } + + /// Updates a ExpandedDataSet on a property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. The resource name for this ExpandedDataSet resource. + /// Format: properties/{property_id}/expandedDataSets/{expanded_data_set} + /// Value must have pattern `^properties/\[^/\]+/expandedDataSets/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Field names + /// must be in snake case (e.g., "field_to_update"). Omitted fields will not + /// be updated. To replace the entire entity, use one path with the string "*" + /// to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaExpandedDataSet]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaExpandedDataSet 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaExpandedDataSet.fromJson( + response_ as core.Map); + } +} + +class PropertiesFirebaseLinksResource { + final commons.ApiRequester _requester; + + PropertiesFirebaseLinksResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a FirebaseLink. + /// + /// Properties can have at most one FirebaseLink. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Format: properties/{property_id} Example: + /// properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaFirebaseLink]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaFirebaseLink 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') + '/firebaseLinks'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaFirebaseLink.fromJson( + response_ as core.Map); + } + + /// Deletes a FirebaseLink on a property + /// + /// Request parameters: + /// + /// [name] - Required. Format: + /// properties/{property_id}/firebaseLinks/{firebase_link_id} Example: + /// properties/1234/firebaseLinks/5678 + /// Value must have pattern `^properties/\[^/\]+/firebaseLinks/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Lists FirebaseLinks on a property. + /// + /// Properties can have at most one FirebaseLink. + /// + /// Request parameters: + /// + /// [parent] - Required. Format: properties/{property_id} Example: + /// properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. The service may + /// return fewer than this value, even if there are additional pages. If + /// unspecified, at most 50 resources will be returned. The maximum value is + /// 200; (higher values will be coerced to the maximum) + /// + /// [pageToken] - A page token, received from a previous `ListFirebaseLinks` + /// call. Provide this to retrieve the subsequent page. When paginating, all + /// other parameters provided to `ListFirebaseLinks` must match the call that + /// provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$parent') + '/firebaseLinks'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse.fromJson( + response_ as core.Map); + } +} + +class PropertiesGoogleAdsLinksResource { + final commons.ApiRequester _requester; + + PropertiesGoogleAdsLinksResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a GoogleAdsLink. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaGoogleAdsLink]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaGoogleAdsLink 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') + '/googleAdsLinks'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaGoogleAdsLink.fromJson( + response_ as core.Map); + } + + /// Deletes a GoogleAdsLink on a property + /// + /// Request parameters: + /// + /// [name] - Required. Example format: properties/1234/googleAdsLinks/5678 + /// Value must have pattern `^properties/\[^/\]+/googleAdsLinks/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Lists GoogleAdsLinks on a property. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. If unspecified, at + /// most 50 resources will be returned. The maximum value is 200 (higher + /// values will be coerced to the maximum). + /// + /// [pageToken] - A page token, received from a previous `ListGoogleAdsLinks` + /// call. Provide this to retrieve the subsequent page. When paginating, all + /// other parameters provided to `ListGoogleAdsLinks` must match the call that + /// provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse]. + /// + /// 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_ = + 'v1alpha/' + core.Uri.encodeFull('$parent') + '/googleAdsLinks'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse.fromJson( + response_ as core.Map); + } + + /// Updates a GoogleAdsLink on a property + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Format: + /// properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: + /// googleAdsLinkId is not the Google Ads customer ID. + /// Value must have pattern `^properties/\[^/\]+/googleAdsLinks/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Field names + /// must be in snake case (e.g., "field_to_update"). Omitted fields will not + /// be updated. To replace the entire entity, use one path with the string "*" + /// to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaGoogleAdsLink]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaGoogleAdsLink 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaGoogleAdsLink.fromJson( + response_ as core.Map); + } +} + +class PropertiesKeyEventsResource { + final commons.ApiRequester _requester; + + PropertiesKeyEventsResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a Key Event. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The resource name of the parent property where this + /// Key Event will be created. Format: properties/123 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaKeyEvent]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaKeyEvent 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') + '/keyEvents'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaKeyEvent.fromJson( + response_ as core.Map); + } + + /// Deletes a Key Event. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the Key Event to delete. Format: + /// properties/{property}/keyEvents/{key_event} Example: + /// "properties/123/keyEvents/456" + /// Value must have pattern `^properties/\[^/\]+/keyEvents/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Retrieve a single Key Event. + /// + /// Request parameters: + /// + /// [name] - Required. The resource name of the Key Event to retrieve. Format: + /// properties/{property}/keyEvents/{key_event} Example: + /// "properties/123/keyEvents/456" + /// Value must have pattern `^properties/\[^/\]+/keyEvents/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaKeyEvent]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaKeyEvent.fromJson( + response_ as core.Map); + } + + /// Returns a list of Key Events in the specified parent property. + /// + /// Returns an empty list if no Key Events are found. + /// + /// Request parameters: + /// + /// [parent] - Required. The resource name of the parent property. Example: + /// 'properties/123' + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. If unspecified, at + /// most 50 resources will be returned. The maximum value is 200; (higher + /// values will be coerced to the maximum) + /// + /// [pageToken] - A page token, received from a previous `ListKeyEvents` call. + /// Provide this to retrieve the subsequent page. When paginating, all other + /// parameters provided to `ListKeyEvents` must match the call that provided + /// the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaListKeyEventsResponse]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$parent') + '/keyEvents'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListKeyEventsResponse.fromJson( + response_ as core.Map); + } + + /// Updates a Key Event. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Resource name of this key event. Format: + /// properties/{property}/keyEvents/{key_event} + /// Value must have pattern `^properties/\[^/\]+/keyEvents/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Field names + /// must be in snake case (e.g., "field_to_update"). Omitted fields will not + /// be updated. To replace the entire entity, use one path with the string "*" + /// to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaKeyEvent]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaKeyEvent 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaKeyEvent.fromJson( + response_ as core.Map); + } +} + +class PropertiesRollupPropertySourceLinksResource { + final commons.ApiRequester _requester; + + PropertiesRollupPropertySourceLinksResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a roll-up property source link. + /// + /// Only roll-up properties can have source links, so this method will throw + /// an error if used on other types of properties. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Format: properties/{property_id} Example: + /// properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaRollupPropertySourceLink]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaRollupPropertySourceLink 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') + + '/rollupPropertySourceLinks'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaRollupPropertySourceLink.fromJson( + response_ as core.Map); + } + + /// Deletes a roll-up property source link. + /// + /// Only roll-up properties can have source links, so this method will throw + /// an error if used on other types of properties. + /// + /// Request parameters: + /// + /// [name] - Required. Format: + /// properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} + /// Example: properties/1234/rollupPropertySourceLinks/5678 + /// Value must have pattern + /// `^properties/\[^/\]+/rollupPropertySourceLinks/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Lookup for a single roll-up property source Link. + /// + /// Only roll-up properties can have source links, so this method will throw + /// an error if used on other types of properties. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the roll-up property source link to lookup. + /// Format: + /// properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} + /// Example: properties/123/rollupPropertySourceLinks/456 + /// Value must have pattern + /// `^properties/\[^/\]+/rollupPropertySourceLinks/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaRollupPropertySourceLink]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaRollupPropertySourceLink.fromJson( + response_ as core.Map); + } + + /// Lists roll-up property source Links on a property. + /// + /// Only roll-up properties can have source links, so this method will throw + /// an error if used on other types of properties. + /// + /// Request parameters: + /// + /// [parent] - Required. The name of the roll-up property to list roll-up + /// property source links under. Format: properties/{property_id} Example: + /// properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - Optional. The maximum number of resources to return. The + /// service may return fewer than this value, even if there are additional + /// pages. If unspecified, at most 50 resources will be returned. The maximum + /// value is 200; (higher values will be coerced to the maximum) + /// + /// [pageToken] - Optional. A page token, received from a previous + /// `ListRollupPropertySourceLinks` call. Provide this to retrieve the + /// subsequent page. When paginating, all other parameters provided to + /// `ListRollupPropertySourceLinks` must match the call that provided the page + /// token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse]. + /// + /// 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_ = 'v1alpha/' + + core.Uri.encodeFull('$parent') + + '/rollupPropertySourceLinks'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse + .fromJson(response_ as core.Map); + } +} + +class PropertiesSearchAds360LinksResource { + final commons.ApiRequester _requester; + + PropertiesSearchAds360LinksResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a SearchAds360Link. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaSearchAds360Link]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaSearchAds360Link 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') + '/searchAds360Links'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaSearchAds360Link.fromJson( + response_ as core.Map); + } + + /// Deletes a SearchAds360Link on a property. + /// + /// Request parameters: + /// + /// [name] - Required. The name of the SearchAds360Link to delete. Example + /// format: properties/1234/SearchAds360Links/5678 + /// Value must have pattern `^properties/\[^/\]+/searchAds360Links/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Look up a single SearchAds360Link + /// + /// Request parameters: + /// + /// [name] - Required. The name of the SearchAds360Link to get. Example + /// format: properties/1234/SearchAds360Link/5678 + /// Value must have pattern `^properties/\[^/\]+/searchAds360Links/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaSearchAds360Link]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaSearchAds360Link.fromJson( + response_ as core.Map); + } + + /// Lists all SearchAds360Links on a property. + /// + /// Request parameters: + /// + /// [parent] - Required. Example format: properties/1234 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - The maximum number of resources to return. If unspecified, at + /// most 50 resources will be returned. The maximum value is 200 (higher + /// values will be coerced to the maximum). + /// + /// [pageToken] - A page token, received from a previous + /// `ListSearchAds360Links` call. Provide this to retrieve the subsequent + /// page. When paginating, all other parameters provided to + /// `ListSearchAds360Links` must match the call that provided the page token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse]. + /// + /// 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_ = + 'v1alpha/' + core.Uri.encodeFull('$parent') + '/searchAds360Links'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse.fromJson( + response_ as core.Map); + } + + /// Updates a SearchAds360Link on a property. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. The resource name for this SearchAds360Link + /// resource. Format: properties/{propertyId}/searchAds360Links/{linkId} Note: + /// linkId is not the Search Ads 360 advertiser ID + /// Value must have pattern `^properties/\[^/\]+/searchAds360Links/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to be updated. Omitted fields + /// will not be updated. To replace the entire entity, use one path with the + /// string "*" to match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaSearchAds360Link]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaSearchAds360Link 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaSearchAds360Link.fromJson( + response_ as core.Map); + } +} + +class PropertiesSubpropertyEventFiltersResource { + final commons.ApiRequester _requester; + + PropertiesSubpropertyEventFiltersResource(commons.ApiRequester client) + : _requester = client; + + /// Creates a subproperty Event Filter. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [parent] - Required. The ordinary property for which to create a + /// subproperty event filter. Format: properties/property_id Example: + /// properties/123 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaSubpropertyEventFilter]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaSubpropertyEventFilter 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') + + '/subpropertyEventFilters'; + + final response_ = await _requester.request( + url_, + 'POST', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaSubpropertyEventFilter.fromJson( + response_ as core.Map); + } + + /// Deletes a subproperty event filter. + /// + /// Request parameters: + /// + /// [name] - Required. Resource name of the subproperty event filter to + /// delete. Format: + /// properties/property_id/subpropertyEventFilters/subproperty_event_filter + /// Example: properties/123/subpropertyEventFilters/456 + /// Value must have pattern + /// `^properties/\[^/\]+/subpropertyEventFilters/\[^/\]+$`. + /// + /// [$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.String? $fields, + }) async { + final queryParams_ = >{ + if ($fields != null) 'fields': [$fields], + }; + + final url_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'DELETE', + queryParams: queryParams_, + ); + return GoogleProtobufEmpty.fromJson( + response_ as core.Map); + } + + /// Lookup for a single subproperty Event Filter. + /// + /// Request parameters: + /// + /// [name] - Required. Resource name of the subproperty event filter to + /// lookup. Format: + /// properties/property_id/subpropertyEventFilters/subproperty_event_filter + /// Example: properties/123/subpropertyEventFilters/456 + /// Value must have pattern + /// `^properties/\[^/\]+/subpropertyEventFilters/\[^/\]+$`. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaSubpropertyEventFilter]. + /// + /// 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaSubpropertyEventFilter.fromJson( + response_ as core.Map); + } + + /// List all subproperty Event Filters on a property. + /// + /// Request parameters: + /// + /// [parent] - Required. Resource name of the ordinary property. Format: + /// properties/property_id Example: properties/123 + /// Value must have pattern `^properties/\[^/\]+$`. + /// + /// [pageSize] - Optional. The maximum number of resources to return. The + /// service may return fewer than this value, even if there are additional + /// pages. If unspecified, at most 50 resources will be returned. The maximum + /// value is 200; (higher values will be coerced to the maximum) + /// + /// [pageToken] - Optional. A page token, received from a previous + /// `ListSubpropertyEventFilters` call. Provide this to retrieve the + /// subsequent page. When paginating, all other parameters provided to + /// `ListSubpropertyEventFilters` must match the call that provided the page + /// token. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a + /// [GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse]. + /// + /// 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_ = 'v1alpha/' + + core.Uri.encodeFull('$parent') + + '/subpropertyEventFilters'; + + final response_ = await _requester.request( + url_, + 'GET', + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse + .fromJson(response_ as core.Map); + } + + /// Updates a subproperty Event Filter. + /// + /// [request] - The metadata request object. + /// + /// Request parameters: + /// + /// [name] - Output only. Format: + /// properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} + /// Example: properties/1234/subpropertyEventFilters/5678 + /// Value must have pattern + /// `^properties/\[^/\]+/subpropertyEventFilters/\[^/\]+$`. + /// + /// [updateMask] - Required. The list of fields to update. Field names must be + /// in snake case (for example, "field_to_update"). Omitted fields will not be + /// updated. To replace the entire entity, use one path with the string "*" to + /// match all fields. + /// + /// [$fields] - Selector specifying which fields to include in a partial + /// response. + /// + /// Completes with a [GoogleAnalyticsAdminV1alphaSubpropertyEventFilter]. + /// + /// 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( + GoogleAnalyticsAdminV1alphaSubpropertyEventFilter 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_ = 'v1alpha/' + core.Uri.encodeFull('$name'); + + final response_ = await _requester.request( + url_, + 'PATCH', + body: body_, + queryParams: queryParams_, + ); + return GoogleAnalyticsAdminV1alphaSubpropertyEventFilter.fromJson( + response_ as core.Map); + } +} + +/// To express that the result needs to be between two numbers (inclusive). +class GoogleAnalyticsAdminV1alphaAccessBetweenFilter { + /// Begins with this number. + GoogleAnalyticsAdminV1alphaNumericValue? fromValue; + + /// Ends with this number. + GoogleAnalyticsAdminV1alphaNumericValue? toValue; + + GoogleAnalyticsAdminV1alphaAccessBetweenFilter({ + this.fromValue, + this.toValue, + }); + + GoogleAnalyticsAdminV1alphaAccessBetweenFilter.fromJson(core.Map json_) + : this( + fromValue: json_.containsKey('fromValue') + ? GoogleAnalyticsAdminV1alphaNumericValue.fromJson( + json_['fromValue'] as core.Map) + : null, + toValue: json_.containsKey('toValue') + ? GoogleAnalyticsAdminV1alphaNumericValue.fromJson( + json_['toValue'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (fromValue != null) 'fromValue': fromValue!, + if (toValue != null) 'toValue': toValue!, + }; +} + +/// A binding of a user to a set of roles. +class GoogleAnalyticsAdminV1alphaAccessBinding { + /// Resource name of this binding. + /// + /// Format: accounts/{account}/accessBindings/{access_binding} or + /// properties/{property}/accessBindings/{access_binding} Example: + /// "accounts/100/accessBindings/200" + /// + /// Output only. + core.String? name; + + /// A list of roles for to grant to the parent resource. + /// + /// Valid values: predefinedRoles/viewer predefinedRoles/analyst + /// predefinedRoles/editor predefinedRoles/admin predefinedRoles/no-cost-data + /// predefinedRoles/no-revenue-data For users, if an empty list of roles is + /// set, this AccessBinding will be deleted. + core.List? roles; + + /// If set, the email address of the user to set roles for. + /// + /// Format: "someuser@gmail.com" + core.String? user; + + GoogleAnalyticsAdminV1alphaAccessBinding({ + this.name, + this.roles, + this.user, + }); + + GoogleAnalyticsAdminV1alphaAccessBinding.fromJson(core.Map json_) + : this( + name: json_.containsKey('name') ? json_['name'] as core.String : null, + roles: json_.containsKey('roles') + ? (json_['roles'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + user: json_.containsKey('user') ? json_['user'] as core.String : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + if (roles != null) 'roles': roles!, + if (user != null) 'user': user!, + }; +} + +/// A contiguous range of days: startDate, startDate + 1, ..., endDate. +typedef GoogleAnalyticsAdminV1alphaAccessDateRange = $AccessDateRange; + +/// Dimensions are attributes of your data. +/// +/// For example, the dimension `userEmail` indicates the email of the user that +/// accessed reporting data. Dimension values in report responses are strings. +typedef GoogleAnalyticsAdminV1alphaAccessDimension = $AccessDimension; + +/// Describes a dimension column in the report. +/// +/// Dimensions requested in a report produce column entries within rows and +/// DimensionHeaders. However, dimensions used exclusively within filters or +/// expressions do not produce columns in a report; correspondingly, those +/// dimensions do not produce headers. +typedef GoogleAnalyticsAdminV1alphaAccessDimensionHeader + = $AccessDimensionHeader; + +/// The value of a dimension. +typedef GoogleAnalyticsAdminV1alphaAccessDimensionValue = $AccessDimensionValue; + +/// An expression to filter dimension or metric values. +class GoogleAnalyticsAdminV1alphaAccessFilter { + /// A filter for two values. + GoogleAnalyticsAdminV1alphaAccessBetweenFilter? betweenFilter; + + /// The dimension name or metric name. + core.String? fieldName; + + /// A filter for in list values. + GoogleAnalyticsAdminV1alphaAccessInListFilter? inListFilter; + + /// A filter for numeric or date values. + GoogleAnalyticsAdminV1alphaAccessNumericFilter? numericFilter; + + /// Strings related filter. + GoogleAnalyticsAdminV1alphaAccessStringFilter? stringFilter; + + GoogleAnalyticsAdminV1alphaAccessFilter({ + this.betweenFilter, + this.fieldName, + this.inListFilter, + this.numericFilter, + this.stringFilter, + }); + + GoogleAnalyticsAdminV1alphaAccessFilter.fromJson(core.Map json_) + : this( + betweenFilter: json_.containsKey('betweenFilter') + ? GoogleAnalyticsAdminV1alphaAccessBetweenFilter.fromJson( + json_['betweenFilter'] as core.Map) + : null, + fieldName: json_.containsKey('fieldName') + ? json_['fieldName'] as core.String + : null, + inListFilter: json_.containsKey('inListFilter') + ? GoogleAnalyticsAdminV1alphaAccessInListFilter.fromJson( + json_['inListFilter'] as core.Map) + : null, + numericFilter: json_.containsKey('numericFilter') + ? GoogleAnalyticsAdminV1alphaAccessNumericFilter.fromJson( + json_['numericFilter'] as core.Map) + : null, + stringFilter: json_.containsKey('stringFilter') + ? GoogleAnalyticsAdminV1alphaAccessStringFilter.fromJson( + json_['stringFilter'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (betweenFilter != null) 'betweenFilter': betweenFilter!, + if (fieldName != null) 'fieldName': fieldName!, + if (inListFilter != null) 'inListFilter': inListFilter!, + if (numericFilter != null) 'numericFilter': numericFilter!, + if (stringFilter != null) 'stringFilter': stringFilter!, + }; +} + +/// Expresses dimension or metric filters. +/// +/// The fields in the same expression need to be either all dimensions or all +/// metrics. +class GoogleAnalyticsAdminV1alphaAccessFilterExpression { + /// A primitive filter. + /// + /// In the same FilterExpression, all of the filter's field names need to be + /// either all dimensions or all metrics. + GoogleAnalyticsAdminV1alphaAccessFilter? accessFilter; + + /// Each of the FilterExpressions in the and_group has an AND relationship. + GoogleAnalyticsAdminV1alphaAccessFilterExpressionList? andGroup; + + /// The FilterExpression is NOT of not_expression. + GoogleAnalyticsAdminV1alphaAccessFilterExpression? notExpression; + + /// Each of the FilterExpressions in the or_group has an OR relationship. + GoogleAnalyticsAdminV1alphaAccessFilterExpressionList? orGroup; + + GoogleAnalyticsAdminV1alphaAccessFilterExpression({ + this.accessFilter, + this.andGroup, + this.notExpression, + this.orGroup, + }); + + GoogleAnalyticsAdminV1alphaAccessFilterExpression.fromJson(core.Map json_) + : this( + accessFilter: json_.containsKey('accessFilter') + ? GoogleAnalyticsAdminV1alphaAccessFilter.fromJson( + json_['accessFilter'] as core.Map) + : null, + andGroup: json_.containsKey('andGroup') + ? GoogleAnalyticsAdminV1alphaAccessFilterExpressionList.fromJson( + json_['andGroup'] as core.Map) + : null, + notExpression: json_.containsKey('notExpression') + ? GoogleAnalyticsAdminV1alphaAccessFilterExpression.fromJson( + json_['notExpression'] as core.Map) + : null, + orGroup: json_.containsKey('orGroup') + ? GoogleAnalyticsAdminV1alphaAccessFilterExpressionList.fromJson( + json_['orGroup'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (accessFilter != null) 'accessFilter': accessFilter!, + if (andGroup != null) 'andGroup': andGroup!, + if (notExpression != null) 'notExpression': notExpression!, + if (orGroup != null) 'orGroup': orGroup!, + }; +} + +/// A list of filter expressions. +class GoogleAnalyticsAdminV1alphaAccessFilterExpressionList { + /// A list of filter expressions. + core.List? expressions; + + GoogleAnalyticsAdminV1alphaAccessFilterExpressionList({ + this.expressions, + }); + + GoogleAnalyticsAdminV1alphaAccessFilterExpressionList.fromJson(core.Map json_) + : this( + expressions: json_.containsKey('expressions') + ? (json_['expressions'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAccessFilterExpression + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (expressions != null) 'expressions': expressions!, + }; +} + +/// The result needs to be in a list of string values. +typedef GoogleAnalyticsAdminV1alphaAccessInListFilter = $InListFilter; + +/// The quantitative measurements of a report. +/// +/// For example, the metric `accessCount` is the total number of data access +/// records. +typedef GoogleAnalyticsAdminV1alphaAccessMetric = $AccessMetric; + +/// Describes a metric column in the report. +/// +/// Visible metrics requested in a report produce column entries within rows and +/// MetricHeaders. However, metrics used exclusively within filters or +/// expressions do not produce columns in a report; correspondingly, those +/// metrics do not produce headers. +typedef GoogleAnalyticsAdminV1alphaAccessMetricHeader = $AccessMetricHeader; + +/// The value of a metric. +typedef GoogleAnalyticsAdminV1alphaAccessMetricValue = $AccessMetricValue; + +/// Filters for numeric or date values. +class GoogleAnalyticsAdminV1alphaAccessNumericFilter { + /// The operation type for this filter. + /// Possible string values are: + /// - "OPERATION_UNSPECIFIED" : Unspecified. + /// - "EQUAL" : Equal + /// - "LESS_THAN" : Less than + /// - "LESS_THAN_OR_EQUAL" : Less than or equal + /// - "GREATER_THAN" : Greater than + /// - "GREATER_THAN_OR_EQUAL" : Greater than or equal + core.String? operation; + + /// A numeric value or a date value. + GoogleAnalyticsAdminV1alphaNumericValue? value; + + GoogleAnalyticsAdminV1alphaAccessNumericFilter({ + this.operation, + this.value, + }); + + GoogleAnalyticsAdminV1alphaAccessNumericFilter.fromJson(core.Map json_) + : this( + operation: json_.containsKey('operation') + ? json_['operation'] as core.String + : null, + value: json_.containsKey('value') + ? GoogleAnalyticsAdminV1alphaNumericValue.fromJson( + json_['value'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (operation != null) 'operation': operation!, + if (value != null) 'value': value!, + }; +} + +/// Order bys define how rows will be sorted in the response. +/// +/// For example, ordering rows by descending access count is one ordering, and +/// ordering rows by the country string is a different ordering. +class GoogleAnalyticsAdminV1alphaAccessOrderBy { + /// If true, sorts by descending order. + /// + /// If false or unspecified, sorts in ascending order. + core.bool? desc; + + /// Sorts results by a dimension's values. + GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy? dimension; + + /// Sorts results by a metric's values. + GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy? metric; + + GoogleAnalyticsAdminV1alphaAccessOrderBy({ + this.desc, + this.dimension, + this.metric, + }); + + GoogleAnalyticsAdminV1alphaAccessOrderBy.fromJson(core.Map json_) + : this( + desc: json_.containsKey('desc') ? json_['desc'] as core.bool : null, + dimension: json_.containsKey('dimension') + ? GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy + .fromJson( + json_['dimension'] as core.Map) + : null, + metric: json_.containsKey('metric') + ? GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy.fromJson( + json_['metric'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (desc != null) 'desc': desc!, + if (dimension != null) 'dimension': dimension!, + if (metric != null) 'metric': metric!, + }; +} + +/// Sorts by dimension values. +typedef GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy + = $DimensionOrderBy; + +/// Sorts by metric values. +typedef GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy = $MetricOrderBy; + +/// Current state of all quotas for this Analytics property. +/// +/// If any quota for a property is exhausted, all requests to that property will +/// return Resource Exhausted errors. +class GoogleAnalyticsAdminV1alphaAccessQuota { + /// Properties can use up to 50 concurrent requests. + GoogleAnalyticsAdminV1alphaAccessQuotaStatus? concurrentRequests; + + /// Properties and cloud project pairs can have up to 50 server errors per + /// hour. + GoogleAnalyticsAdminV1alphaAccessQuotaStatus? serverErrorsPerProjectPerHour; + + /// Properties can use 250,000 tokens per day. + /// + /// Most requests consume fewer than 10 tokens. + GoogleAnalyticsAdminV1alphaAccessQuotaStatus? tokensPerDay; + + /// Properties can use 50,000 tokens per hour. + /// + /// An API request consumes a single number of tokens, and that number is + /// deducted from all of the hourly, daily, and per project hourly quotas. + GoogleAnalyticsAdminV1alphaAccessQuotaStatus? tokensPerHour; + + /// Properties can use up to 25% of their tokens per project per hour. + /// + /// This amounts to Analytics 360 Properties can use 12,500 tokens per project + /// per hour. An API request consumes a single number of tokens, and that + /// number is deducted from all of the hourly, daily, and per project hourly + /// quotas. + GoogleAnalyticsAdminV1alphaAccessQuotaStatus? tokensPerProjectPerHour; + + GoogleAnalyticsAdminV1alphaAccessQuota({ + this.concurrentRequests, + this.serverErrorsPerProjectPerHour, + this.tokensPerDay, + this.tokensPerHour, + this.tokensPerProjectPerHour, + }); + + GoogleAnalyticsAdminV1alphaAccessQuota.fromJson(core.Map json_) + : this( + concurrentRequests: json_.containsKey('concurrentRequests') + ? GoogleAnalyticsAdminV1alphaAccessQuotaStatus.fromJson( + json_['concurrentRequests'] + as core.Map) + : null, + serverErrorsPerProjectPerHour: + json_.containsKey('serverErrorsPerProjectPerHour') + ? GoogleAnalyticsAdminV1alphaAccessQuotaStatus.fromJson( + json_['serverErrorsPerProjectPerHour'] + as core.Map) + : null, + tokensPerDay: json_.containsKey('tokensPerDay') + ? GoogleAnalyticsAdminV1alphaAccessQuotaStatus.fromJson( + json_['tokensPerDay'] as core.Map) + : null, + tokensPerHour: json_.containsKey('tokensPerHour') + ? GoogleAnalyticsAdminV1alphaAccessQuotaStatus.fromJson( + json_['tokensPerHour'] as core.Map) + : null, + tokensPerProjectPerHour: json_.containsKey('tokensPerProjectPerHour') + ? GoogleAnalyticsAdminV1alphaAccessQuotaStatus.fromJson( + json_['tokensPerProjectPerHour'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (concurrentRequests != null) + 'concurrentRequests': concurrentRequests!, + if (serverErrorsPerProjectPerHour != null) + 'serverErrorsPerProjectPerHour': serverErrorsPerProjectPerHour!, + if (tokensPerDay != null) 'tokensPerDay': tokensPerDay!, + if (tokensPerHour != null) 'tokensPerHour': tokensPerHour!, + if (tokensPerProjectPerHour != null) + 'tokensPerProjectPerHour': tokensPerProjectPerHour!, + }; +} + +/// Current state for a particular quota group. +typedef GoogleAnalyticsAdminV1alphaAccessQuotaStatus = $QuotaStatus; + +/// Access report data for each row. +class GoogleAnalyticsAdminV1alphaAccessRow { + /// List of dimension values. + /// + /// These values are in the same order as specified in the request. + core.List? dimensionValues; + + /// List of metric values. + /// + /// These values are in the same order as specified in the request. + core.List? metricValues; + + GoogleAnalyticsAdminV1alphaAccessRow({ + this.dimensionValues, + this.metricValues, + }); + + GoogleAnalyticsAdminV1alphaAccessRow.fromJson(core.Map json_) + : this( + dimensionValues: json_.containsKey('dimensionValues') + ? (json_['dimensionValues'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAccessDimensionValue.fromJson( + value as core.Map)) + .toList() + : null, + metricValues: json_.containsKey('metricValues') + ? (json_['metricValues'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAccessMetricValue.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (dimensionValues != null) 'dimensionValues': dimensionValues!, + if (metricValues != null) 'metricValues': metricValues!, + }; +} + +/// The filter for strings. +typedef GoogleAnalyticsAdminV1alphaAccessStringFilter = $StringFilter; + +/// A resource message representing a Google Analytics account. +typedef GoogleAnalyticsAdminV1alphaAccount = $Account; + +/// A virtual resource representing an overview of an account and all its child +/// GA4 properties. +class GoogleAnalyticsAdminV1alphaAccountSummary { + /// Resource name of account referred to by this account summary Format: + /// accounts/{account_id} Example: "accounts/1000" + core.String? account; + + /// Display name for the account referred to in this account summary. + core.String? displayName; + + /// Resource name for this account summary. + /// + /// Format: accountSummaries/{account_id} Example: "accountSummaries/1000" + core.String? name; + + /// List of summaries for child accounts of this account. + core.List? propertySummaries; + + GoogleAnalyticsAdminV1alphaAccountSummary({ + this.account, + this.displayName, + this.name, + this.propertySummaries, + }); + + GoogleAnalyticsAdminV1alphaAccountSummary.fromJson(core.Map json_) + : this( + account: json_.containsKey('account') + ? json_['account'] as core.String + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + propertySummaries: json_.containsKey('propertySummaries') + ? (json_['propertySummaries'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaPropertySummary.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (account != null) 'account': account!, + if (displayName != null) 'displayName': displayName!, + if (name != null) 'name': name!, + if (propertySummaries != null) 'propertySummaries': propertySummaries!, + }; +} + +/// Request message for AcknowledgeUserDataCollection RPC. +typedef GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest + = $AcknowledgeUserDataCollectionRequest; + +/// Response message for AcknowledgeUserDataCollection RPC. +typedef GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse + = $Empty; + +/// A link between a GA4 Property and an AdSense for Content ad client. +class GoogleAnalyticsAdminV1alphaAdSenseLink { + /// The AdSense ad client code that the GA4 property is linked to. + /// + /// Example format: "ca-pub-1234567890" + /// + /// Immutable. + core.String? adClientCode; + + /// The resource name for this AdSense Link resource. + /// + /// Format: properties/{propertyId}/adSenseLinks/{linkId} Example: + /// properties/1234/adSenseLinks/6789 + /// + /// Output only. + core.String? name; + + GoogleAnalyticsAdminV1alphaAdSenseLink({ + this.adClientCode, + this.name, + }); + + GoogleAnalyticsAdminV1alphaAdSenseLink.fromJson(core.Map json_) + : this( + adClientCode: json_.containsKey('adClientCode') + ? json_['adClientCode'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + ); + + core.Map toJson() => { + if (adClientCode != null) 'adClientCode': adClientCode!, + if (name != null) 'name': name!, + }; +} + +/// Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC. +typedef GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest + = $Empty; + +/// Response message for ApproveDisplayVideo360AdvertiserLinkProposal RPC. +class GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse { + /// The DisplayVideo360AdvertiserLink created as a result of approving the + /// proposal. + GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink? + displayVideo360AdvertiserLink; + + GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse({ + this.displayVideo360AdvertiserLink, + }); + + GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse.fromJson( + core.Map json_) + : this( + displayVideo360AdvertiserLink: + json_.containsKey('displayVideo360AdvertiserLink') + ? GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink + .fromJson(json_['displayVideo360AdvertiserLink'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (displayVideo360AdvertiserLink != null) + 'displayVideo360AdvertiserLink': displayVideo360AdvertiserLink!, + }; +} + +/// Request message for ArchiveAudience RPC. +typedef GoogleAnalyticsAdminV1alphaArchiveAudienceRequest = $Empty; + +/// Request message for ArchiveCustomDimension RPC. +typedef GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest = $Empty; + +/// Request message for ArchiveCustomMetric RPC. +typedef GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest = $Empty; + +/// The attribution settings used for a given property. +/// +/// This is a singleton resource. +class GoogleAnalyticsAdminV1alphaAttributionSettings { + /// The lookback window configuration for acquisition conversion events. + /// + /// The default window size is 30 days. + /// + /// Required. + /// Possible string values are: + /// - "ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED" : Lookback + /// window size unspecified. + /// - "ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS" : 7-day lookback + /// window. + /// - "ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS" : 30-day lookback + /// window. + core.String? acquisitionConversionEventLookbackWindow; + + /// The Conversion Export Scope for data exported to linked Ads Accounts. + /// + /// Required. + /// Possible string values are: + /// - "ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED" : Default value. This + /// value is unused. + /// - "NOT_SELECTED_YET" : No data export scope selected yet. Export scope can + /// never be changed back to this value. + /// - "PAID_AND_ORGANIC_CHANNELS" : Paid and organic channels are eligible to + /// receive conversion credit, but only credit assigned to Google Ads channels + /// will appear in your Ads accounts. To learn more, see + /// [Paid and Organic channels](https://support.google.com/analytics/answer/10632359). + /// - "GOOGLE_PAID_CHANNELS" : Only Google Ads paid channels are eligible to + /// receive conversion credit. To learn more, see + /// [Google Paid channels](https://support.google.com/analytics/answer/10632359). + core.String? adsWebConversionDataExportScope; + + /// Resource name of this attribution settings resource. + /// + /// Format: properties/{property_id}/attributionSettings Example: + /// "properties/1000/attributionSettings" + /// + /// Output only. + core.String? name; + + /// The lookback window for all other, non-acquisition conversion events. + /// + /// The default window size is 90 days. + /// + /// Required. + /// Possible string values are: + /// - "OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED" : Lookback window + /// size unspecified. + /// - "OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS" : 30-day lookback + /// window. + /// - "OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS" : 60-day lookback + /// window. + /// - "OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_DAYS" : 90-day lookback + /// window. + core.String? otherConversionEventLookbackWindow; + + /// The reporting attribution model used to calculate conversion credit in + /// this property's reports. + /// + /// Changing the attribution model will apply to both historical and future + /// data. These changes will be reflected in reports with conversion and + /// revenue data. User and session data will be unaffected. + /// + /// Required. + /// Possible string values are: + /// - "REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED" : Reporting attribution model + /// unspecified. + /// - "PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN" : Data-driven attribution + /// distributes credit for the conversion based on data for each conversion + /// event. Each Data-driven model is specific to each advertiser and each + /// conversion event. Previously CROSS_CHANNEL_DATA_DRIVEN + /// - "PAID_AND_ORGANIC_CHANNELS_LAST_CLICK" : Ignores direct traffic and + /// attributes 100% of the conversion value to the last channel that the + /// customer clicked through (or engaged view through for YouTube) before + /// converting. Previously CROSS_CHANNEL_LAST_CLICK + /// - "GOOGLE_PAID_CHANNELS_LAST_CLICK" : Attributes 100% of the conversion + /// value to the last Google Paid channel that the customer clicked through + /// before converting. Previously ADS_PREFERRED_LAST_CLICK + core.String? reportingAttributionModel; + + GoogleAnalyticsAdminV1alphaAttributionSettings({ + this.acquisitionConversionEventLookbackWindow, + this.adsWebConversionDataExportScope, + this.name, + this.otherConversionEventLookbackWindow, + this.reportingAttributionModel, + }); + + GoogleAnalyticsAdminV1alphaAttributionSettings.fromJson(core.Map json_) + : this( + acquisitionConversionEventLookbackWindow: json_ + .containsKey('acquisitionConversionEventLookbackWindow') + ? json_['acquisitionConversionEventLookbackWindow'] as core.String + : null, + adsWebConversionDataExportScope: + json_.containsKey('adsWebConversionDataExportScope') + ? json_['adsWebConversionDataExportScope'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + otherConversionEventLookbackWindow: + json_.containsKey('otherConversionEventLookbackWindow') + ? json_['otherConversionEventLookbackWindow'] as core.String + : null, + reportingAttributionModel: + json_.containsKey('reportingAttributionModel') + ? json_['reportingAttributionModel'] as core.String + : null, + ); + + core.Map toJson() => { + if (acquisitionConversionEventLookbackWindow != null) + 'acquisitionConversionEventLookbackWindow': + acquisitionConversionEventLookbackWindow!, + if (adsWebConversionDataExportScope != null) + 'adsWebConversionDataExportScope': adsWebConversionDataExportScope!, + if (name != null) 'name': name!, + if (otherConversionEventLookbackWindow != null) + 'otherConversionEventLookbackWindow': + otherConversionEventLookbackWindow!, + if (reportingAttributionModel != null) + 'reportingAttributionModel': reportingAttributionModel!, + }; +} + +/// A resource message representing a GA4 Audience. +class GoogleAnalyticsAdminV1alphaAudience { + /// It is automatically set by GA to false if this is an NPA Audience and is + /// excluded from ads personalization. + /// + /// Output only. + core.bool? adsPersonalizationEnabled; + + /// Time when the Audience was created. + /// + /// Output only. + core.String? createTime; + + /// The description of the Audience. + /// + /// Required. + core.String? description; + + /// The display name of the Audience. + /// + /// Required. + core.String? displayName; + + /// Specifies an event to log when a user joins the Audience. + /// + /// If not set, no event is logged when a user joins the Audience. + /// + /// Optional. + GoogleAnalyticsAdminV1alphaAudienceEventTrigger? eventTrigger; + + /// Specifies how long an exclusion lasts for users that meet the exclusion + /// filter. + /// + /// It is applied to all EXCLUDE filter clauses and is ignored when there is + /// no EXCLUDE filter clause in the Audience. + /// + /// Immutable. + /// Possible string values are: + /// - "AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED" : Not specified. + /// - "EXCLUDE_TEMPORARILY" : Exclude users from the Audience during periods + /// when they meet the filter clause. + /// - "EXCLUDE_PERMANENTLY" : Exclude users from the Audience if they've ever + /// met the filter clause. + core.String? exclusionDurationMode; + + /// Unordered list. + /// + /// Filter clauses that define the Audience. All clauses will be AND’ed + /// together. + /// + /// Required. Immutable. + core.List? filterClauses; + + /// The duration a user should stay in an Audience. + /// + /// It cannot be set to more than 540 days. + /// + /// Required. Immutable. + core.int? membershipDurationDays; + + /// The resource name for this Audience resource. + /// + /// Format: properties/{propertyId}/audiences/{audienceId} + /// + /// Output only. + core.String? name; + + GoogleAnalyticsAdminV1alphaAudience({ + this.adsPersonalizationEnabled, + this.createTime, + this.description, + this.displayName, + this.eventTrigger, + this.exclusionDurationMode, + this.filterClauses, + this.membershipDurationDays, + this.name, + }); + + GoogleAnalyticsAdminV1alphaAudience.fromJson(core.Map json_) + : this( + adsPersonalizationEnabled: + json_.containsKey('adsPersonalizationEnabled') + ? json_['adsPersonalizationEnabled'] as core.bool + : null, + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + description: json_.containsKey('description') + ? json_['description'] as core.String + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + eventTrigger: json_.containsKey('eventTrigger') + ? GoogleAnalyticsAdminV1alphaAudienceEventTrigger.fromJson( + json_['eventTrigger'] as core.Map) + : null, + exclusionDurationMode: json_.containsKey('exclusionDurationMode') + ? json_['exclusionDurationMode'] as core.String + : null, + filterClauses: json_.containsKey('filterClauses') + ? (json_['filterClauses'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAudienceFilterClause.fromJson( + value as core.Map)) + .toList() + : null, + membershipDurationDays: json_.containsKey('membershipDurationDays') + ? json_['membershipDurationDays'] as core.int + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + ); + + core.Map toJson() => { + if (adsPersonalizationEnabled != null) + 'adsPersonalizationEnabled': adsPersonalizationEnabled!, + if (createTime != null) 'createTime': createTime!, + if (description != null) 'description': description!, + if (displayName != null) 'displayName': displayName!, + if (eventTrigger != null) 'eventTrigger': eventTrigger!, + if (exclusionDurationMode != null) + 'exclusionDurationMode': exclusionDurationMode!, + if (filterClauses != null) 'filterClauses': filterClauses!, + if (membershipDurationDays != null) + 'membershipDurationDays': membershipDurationDays!, + if (name != null) 'name': name!, + }; +} + +/// A specific filter for a single dimension or metric. +class GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter { + /// Indicates whether this filter needs dynamic evaluation or not. + /// + /// If set to true, users join the Audience if they ever met the condition + /// (static evaluation). If unset or set to false, user evaluation for an + /// Audience is dynamic; users are added to an Audience when they meet the + /// conditions and then removed when they no longer meet them. This can only + /// be set when Audience scope is ACROSS_ALL_SESSIONS. + /// + /// Optional. + core.bool? atAnyPointInTime; + + /// A filter for numeric or date values between certain values on a dimension + /// or metric. + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter? + betweenFilter; + + /// The dimension name or metric name to filter. + /// + /// If the field name refers to a custom dimension or metric, a scope prefix + /// will be added to the front of the custom dimensions or metric name. For + /// more on scope prefixes or custom dimensions/metrics, reference the + /// [Google Analytics Data API documentation](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions). + /// + /// Required. Immutable. + core.String? fieldName; + + /// If set, specifies the time window for which to evaluate data in number of + /// days. + /// + /// If not set, then audience data is evaluated against lifetime data (For + /// example, infinite time window). For example, if set to 1 day, only the + /// current day's data is evaluated. The reference point is the current day + /// when at_any_point_in_time is unset or false. It can only be set when + /// Audience scope is ACROSS_ALL_SESSIONS and cannot be greater than 60 days. + /// + /// Optional. + core.int? inAnyNDayPeriod; + + /// A filter for a string dimension that matches a particular list of options. + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter? + inListFilter; + + /// A filter for numeric or date values on a dimension or metric. + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter? + numericFilter; + + /// A filter for a string-type dimension that matches a particular pattern. + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter? + stringFilter; + + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter({ + this.atAnyPointInTime, + this.betweenFilter, + this.fieldName, + this.inAnyNDayPeriod, + this.inListFilter, + this.numericFilter, + this.stringFilter, + }); + + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter.fromJson( + core.Map json_) + : this( + atAnyPointInTime: json_.containsKey('atAnyPointInTime') + ? json_['atAnyPointInTime'] as core.bool + : null, + betweenFilter: json_.containsKey('betweenFilter') + ? GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter + .fromJson(json_['betweenFilter'] + as core.Map) + : null, + fieldName: json_.containsKey('fieldName') + ? json_['fieldName'] as core.String + : null, + inAnyNDayPeriod: json_.containsKey('inAnyNDayPeriod') + ? json_['inAnyNDayPeriod'] as core.int + : null, + inListFilter: json_.containsKey('inListFilter') + ? GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter + .fromJson(json_['inListFilter'] + as core.Map) + : null, + numericFilter: json_.containsKey('numericFilter') + ? GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter + .fromJson(json_['numericFilter'] + as core.Map) + : null, + stringFilter: json_.containsKey('stringFilter') + ? GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter + .fromJson(json_['stringFilter'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (atAnyPointInTime != null) 'atAnyPointInTime': atAnyPointInTime!, + if (betweenFilter != null) 'betweenFilter': betweenFilter!, + if (fieldName != null) 'fieldName': fieldName!, + if (inAnyNDayPeriod != null) 'inAnyNDayPeriod': inAnyNDayPeriod!, + if (inListFilter != null) 'inListFilter': inListFilter!, + if (numericFilter != null) 'numericFilter': numericFilter!, + if (stringFilter != null) 'stringFilter': stringFilter!, + }; +} + +/// A filter for numeric or date values between certain values on a dimension or +/// metric. +class GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter { + /// Begins with this number, inclusive. + /// + /// Required. + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue? + fromValue; + + /// Ends with this number, inclusive. + /// + /// Required. + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue? + toValue; + + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter({ + this.fromValue, + this.toValue, + }); + + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter.fromJson( + core.Map json_) + : this( + fromValue: json_.containsKey('fromValue') + ? GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue + .fromJson( + json_['fromValue'] as core.Map) + : null, + toValue: json_.containsKey('toValue') + ? GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue + .fromJson( + json_['toValue'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (fromValue != null) 'fromValue': fromValue!, + if (toValue != null) 'toValue': toValue!, + }; +} + +/// A filter for a string dimension that matches a particular list of options. +class GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter { + /// If true, the match is case-sensitive. + /// + /// If false, the match is case-insensitive. + /// + /// Optional. + core.bool? caseSensitive; + + /// The list of possible string values to match against. + /// + /// Must be non-empty. + /// + /// Required. + core.List? values; + + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter({ + this.caseSensitive, + this.values, + }); + + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter.fromJson( + core.Map json_) + : this( + caseSensitive: json_.containsKey('caseSensitive') + ? json_['caseSensitive'] as core.bool + : null, + values: json_.containsKey('values') + ? (json_['values'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (caseSensitive != null) 'caseSensitive': caseSensitive!, + if (values != null) 'values': values!, + }; +} + +/// A filter for numeric or date values on a dimension or metric. +class GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter { + /// The operation applied to a numeric filter. + /// + /// Required. + /// Possible string values are: + /// - "OPERATION_UNSPECIFIED" : Unspecified. + /// - "EQUAL" : Equal. + /// - "LESS_THAN" : Less than. + /// - "GREATER_THAN" : Greater than. + core.String? operation; + + /// The numeric or date value to match against. + /// + /// Required. + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue? value; + + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter({ + this.operation, + this.value, + }); + + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter.fromJson( + core.Map json_) + : this( + operation: json_.containsKey('operation') + ? json_['operation'] as core.String + : null, + value: json_.containsKey('value') + ? GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue + .fromJson( + json_['value'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (operation != null) 'operation': operation!, + if (value != null) 'value': value!, + }; +} + +/// To represent a number. +class GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue { + /// Double value. + core.double? doubleValue; + + /// Integer value. + core.String? int64Value; + + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue({ + this.doubleValue, + this.int64Value, + }); + + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue.fromJson( + core.Map json_) + : this( + doubleValue: json_.containsKey('doubleValue') + ? (json_['doubleValue'] as core.num).toDouble() + : null, + int64Value: json_.containsKey('int64Value') + ? json_['int64Value'] as core.String + : null, + ); + + core.Map toJson() => { + if (doubleValue != null) 'doubleValue': doubleValue!, + if (int64Value != null) 'int64Value': int64Value!, + }; +} + +/// A filter for a string-type dimension that matches a particular pattern. +class GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter { + /// If true, the match is case-sensitive. + /// + /// If false, the match is case-insensitive. + /// + /// Optional. + core.bool? caseSensitive; + + /// The match type for the string filter. + /// + /// Required. + /// Possible string values are: + /// - "MATCH_TYPE_UNSPECIFIED" : Unspecified + /// - "EXACT" : Exact match of the string value. + /// - "BEGINS_WITH" : Begins with the string value. + /// - "ENDS_WITH" : Ends with the string value. + /// - "CONTAINS" : Contains the string value. + /// - "FULL_REGEXP" : Full regular expression matches with the string value. + core.String? matchType; + + /// The string value to be matched against. + /// + /// Required. + core.String? value; + + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter({ + this.caseSensitive, + this.matchType, + this.value, + }); + + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter.fromJson( + core.Map json_) + : this( + caseSensitive: json_.containsKey('caseSensitive') + ? json_['caseSensitive'] as core.bool + : null, + matchType: json_.containsKey('matchType') + ? json_['matchType'] as core.String + : null, + value: + json_.containsKey('value') ? json_['value'] as core.String : null, + ); + + core.Map toJson() => { + if (caseSensitive != null) 'caseSensitive': caseSensitive!, + if (matchType != null) 'matchType': matchType!, + if (value != null) 'value': value!, + }; +} + +/// A filter that matches events of a single event name. +/// +/// If an event parameter is specified, only the subset of events that match +/// both the single event name and the parameter filter expressions match this +/// event filter. +class GoogleAnalyticsAdminV1alphaAudienceEventFilter { + /// The name of the event to match against. + /// + /// Required. Immutable. + core.String? eventName; + + /// If specified, this filter matches events that match both the single event + /// name and the parameter filter expressions. + /// + /// AudienceEventFilter inside the parameter filter expression cannot be set + /// (For example, nested event filters are not supported). This should be a + /// single and_group of dimension_or_metric_filter or not_expression; ANDs of + /// ORs are not supported. Also, if it includes a filter for "eventCount", + /// only that one will be considered; all the other filters will be ignored. + /// + /// Optional. + GoogleAnalyticsAdminV1alphaAudienceFilterExpression? + eventParameterFilterExpression; + + GoogleAnalyticsAdminV1alphaAudienceEventFilter({ + this.eventName, + this.eventParameterFilterExpression, + }); + + GoogleAnalyticsAdminV1alphaAudienceEventFilter.fromJson(core.Map json_) + : this( + eventName: json_.containsKey('eventName') + ? json_['eventName'] as core.String + : null, + eventParameterFilterExpression: json_ + .containsKey('eventParameterFilterExpression') + ? GoogleAnalyticsAdminV1alphaAudienceFilterExpression.fromJson( + json_['eventParameterFilterExpression'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (eventName != null) 'eventName': eventName!, + if (eventParameterFilterExpression != null) + 'eventParameterFilterExpression': eventParameterFilterExpression!, + }; +} + +/// Specifies an event to log when a user joins the Audience. +class GoogleAnalyticsAdminV1alphaAudienceEventTrigger { + /// The event name that will be logged. + /// + /// Required. + core.String? eventName; + + /// When to log the event. + /// + /// Required. + /// Possible string values are: + /// - "LOG_CONDITION_UNSPECIFIED" : Log condition is not specified. + /// - "AUDIENCE_JOINED" : The event should be logged only when a user is + /// joined. + /// - "AUDIENCE_MEMBERSHIP_RENEWED" : The event should be logged whenever the + /// Audience condition is met, even if the user is already a member of the + /// Audience. + core.String? logCondition; + + GoogleAnalyticsAdminV1alphaAudienceEventTrigger({ + this.eventName, + this.logCondition, + }); + + GoogleAnalyticsAdminV1alphaAudienceEventTrigger.fromJson(core.Map json_) + : this( + eventName: json_.containsKey('eventName') + ? json_['eventName'] as core.String + : null, + logCondition: json_.containsKey('logCondition') + ? json_['logCondition'] as core.String + : null, + ); + + core.Map toJson() => { + if (eventName != null) 'eventName': eventName!, + if (logCondition != null) 'logCondition': logCondition!, + }; +} + +/// A clause for defining either a simple or sequence filter. +/// +/// A filter can be inclusive (For example, users satisfying the filter clause +/// are included in the Audience) or exclusive (For example, users satisfying +/// the filter clause are excluded from the Audience). +class GoogleAnalyticsAdminV1alphaAudienceFilterClause { + /// Specifies whether this is an include or exclude filter clause. + /// + /// Required. + /// Possible string values are: + /// - "AUDIENCE_CLAUSE_TYPE_UNSPECIFIED" : Unspecified clause type. + /// - "INCLUDE" : Users will be included in the Audience if the filter clause + /// is met. + /// - "EXCLUDE" : Users will be excluded from the Audience if the filter + /// clause is met. + core.String? clauseType; + + /// Filters that must occur in a specific order for the user to be a member of + /// the Audience. + GoogleAnalyticsAdminV1alphaAudienceSequenceFilter? sequenceFilter; + + /// A simple filter that a user must satisfy to be a member of the Audience. + GoogleAnalyticsAdminV1alphaAudienceSimpleFilter? simpleFilter; + + GoogleAnalyticsAdminV1alphaAudienceFilterClause({ + this.clauseType, + this.sequenceFilter, + this.simpleFilter, + }); + + GoogleAnalyticsAdminV1alphaAudienceFilterClause.fromJson(core.Map json_) + : this( + clauseType: json_.containsKey('clauseType') + ? json_['clauseType'] as core.String + : null, + sequenceFilter: json_.containsKey('sequenceFilter') + ? GoogleAnalyticsAdminV1alphaAudienceSequenceFilter.fromJson( + json_['sequenceFilter'] + as core.Map) + : null, + simpleFilter: json_.containsKey('simpleFilter') + ? GoogleAnalyticsAdminV1alphaAudienceSimpleFilter.fromJson( + json_['simpleFilter'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (clauseType != null) 'clauseType': clauseType!, + if (sequenceFilter != null) 'sequenceFilter': sequenceFilter!, + if (simpleFilter != null) 'simpleFilter': simpleFilter!, + }; +} + +/// A logical expression of Audience dimension, metric, or event filters. +class GoogleAnalyticsAdminV1alphaAudienceFilterExpression { + /// A list of expressions to be AND’ed together. + /// + /// It can only contain AudienceFilterExpressions with or_group. This must be + /// set for the top level AudienceFilterExpression. + GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList? andGroup; + + /// A filter on a single dimension or metric. + /// + /// This cannot be set on the top level AudienceFilterExpression. + GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter? + dimensionOrMetricFilter; + + /// Creates a filter that matches a specific event. + /// + /// This cannot be set on the top level AudienceFilterExpression. + GoogleAnalyticsAdminV1alphaAudienceEventFilter? eventFilter; + + /// A filter expression to be NOT'ed (For example, inverted, complemented). + /// + /// It can only include a dimension_or_metric_filter. This cannot be set on + /// the top level AudienceFilterExpression. + GoogleAnalyticsAdminV1alphaAudienceFilterExpression? notExpression; + + /// A list of expressions to OR’ed together. + /// + /// It cannot contain AudienceFilterExpressions with and_group or or_group. + GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList? orGroup; + + GoogleAnalyticsAdminV1alphaAudienceFilterExpression({ + this.andGroup, + this.dimensionOrMetricFilter, + this.eventFilter, + this.notExpression, + this.orGroup, + }); + + GoogleAnalyticsAdminV1alphaAudienceFilterExpression.fromJson(core.Map json_) + : this( + andGroup: json_.containsKey('andGroup') + ? GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList + .fromJson( + json_['andGroup'] as core.Map) + : null, + dimensionOrMetricFilter: json_.containsKey('dimensionOrMetricFilter') + ? GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter + .fromJson(json_['dimensionOrMetricFilter'] + as core.Map) + : null, + eventFilter: json_.containsKey('eventFilter') + ? GoogleAnalyticsAdminV1alphaAudienceEventFilter.fromJson( + json_['eventFilter'] as core.Map) + : null, + notExpression: json_.containsKey('notExpression') + ? GoogleAnalyticsAdminV1alphaAudienceFilterExpression.fromJson( + json_['notExpression'] as core.Map) + : null, + orGroup: json_.containsKey('orGroup') + ? GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList + .fromJson( + json_['orGroup'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (andGroup != null) 'andGroup': andGroup!, + if (dimensionOrMetricFilter != null) + 'dimensionOrMetricFilter': dimensionOrMetricFilter!, + if (eventFilter != null) 'eventFilter': eventFilter!, + if (notExpression != null) 'notExpression': notExpression!, + if (orGroup != null) 'orGroup': orGroup!, + }; +} + +/// A list of Audience filter expressions. +class GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList { + /// A list of Audience filter expressions. + core.List? + filterExpressions; + + GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList({ + this.filterExpressions, + }); + + GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList.fromJson( + core.Map json_) + : this( + filterExpressions: json_.containsKey('filterExpressions') + ? (json_['filterExpressions'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAudienceFilterExpression + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (filterExpressions != null) 'filterExpressions': filterExpressions!, + }; +} + +/// Defines filters that must occur in a specific order for the user to be a +/// member of the Audience. +class GoogleAnalyticsAdminV1alphaAudienceSequenceFilter { + /// Specifies the scope for this filter. + /// + /// Required. Immutable. + /// Possible string values are: + /// - "AUDIENCE_FILTER_SCOPE_UNSPECIFIED" : Scope is not specified. + /// - "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT" : User joins the Audience if + /// the filter condition is met within one event. + /// - "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION" : User joins the Audience if + /// the filter condition is met within one session. + /// - "AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS" : User joins the Audience if + /// the filter condition is met by any event across any session. + core.String? scope; + + /// Defines the time period in which the whole sequence must occur. + /// + /// Optional. + core.String? sequenceMaximumDuration; + + /// An ordered sequence of steps. + /// + /// A user must complete each step in order to join the sequence filter. + /// + /// Required. + core.List< + GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep>? + sequenceSteps; + + GoogleAnalyticsAdminV1alphaAudienceSequenceFilter({ + this.scope, + this.sequenceMaximumDuration, + this.sequenceSteps, + }); + + GoogleAnalyticsAdminV1alphaAudienceSequenceFilter.fromJson(core.Map json_) + : this( + scope: + json_.containsKey('scope') ? json_['scope'] as core.String : null, + sequenceMaximumDuration: json_.containsKey('sequenceMaximumDuration') + ? json_['sequenceMaximumDuration'] as core.String + : null, + sequenceSteps: json_.containsKey('sequenceSteps') + ? (json_['sequenceSteps'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (scope != null) 'scope': scope!, + if (sequenceMaximumDuration != null) + 'sequenceMaximumDuration': sequenceMaximumDuration!, + if (sequenceSteps != null) 'sequenceSteps': sequenceSteps!, + }; +} + +/// A condition that must occur in the specified step order for this user to +/// match the sequence. +class GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep { + /// When set, this step must be satisfied within the constraint_duration of + /// the previous step (For example, t\[i\] - t\[i-1\] \<= + /// constraint_duration). + /// + /// If not set, there is no duration requirement (the duration is effectively + /// unlimited). It is ignored for the first step. + /// + /// Optional. + core.String? constraintDuration; + + /// A logical expression of Audience dimension, metric, or event filters in + /// each step. + /// + /// Required. Immutable. + GoogleAnalyticsAdminV1alphaAudienceFilterExpression? filterExpression; + + /// If true, the event satisfying this step must be the very next event after + /// the event satisfying the last step. + /// + /// If unset or false, this step indirectly follows the prior step; for + /// example, there may be events between the prior step and this step. It is + /// ignored for the first step. + /// + /// Optional. + core.bool? immediatelyFollows; + + /// Specifies the scope for this step. + /// + /// Required. Immutable. + /// Possible string values are: + /// - "AUDIENCE_FILTER_SCOPE_UNSPECIFIED" : Scope is not specified. + /// - "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT" : User joins the Audience if + /// the filter condition is met within one event. + /// - "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION" : User joins the Audience if + /// the filter condition is met within one session. + /// - "AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS" : User joins the Audience if + /// the filter condition is met by any event across any session. + core.String? scope; + + GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep({ + this.constraintDuration, + this.filterExpression, + this.immediatelyFollows, + this.scope, + }); + + GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep.fromJson( + core.Map json_) + : this( + constraintDuration: json_.containsKey('constraintDuration') + ? json_['constraintDuration'] as core.String + : null, + filterExpression: json_.containsKey('filterExpression') + ? GoogleAnalyticsAdminV1alphaAudienceFilterExpression.fromJson( + json_['filterExpression'] + as core.Map) + : null, + immediatelyFollows: json_.containsKey('immediatelyFollows') + ? json_['immediatelyFollows'] as core.bool + : null, + scope: + json_.containsKey('scope') ? json_['scope'] as core.String : null, + ); + + core.Map toJson() => { + if (constraintDuration != null) + 'constraintDuration': constraintDuration!, + if (filterExpression != null) 'filterExpression': filterExpression!, + if (immediatelyFollows != null) + 'immediatelyFollows': immediatelyFollows!, + if (scope != null) 'scope': scope!, + }; +} + +/// Defines a simple filter that a user must satisfy to be a member of the +/// Audience. +class GoogleAnalyticsAdminV1alphaAudienceSimpleFilter { + /// A logical expression of Audience dimension, metric, or event filters. + /// + /// Required. Immutable. + GoogleAnalyticsAdminV1alphaAudienceFilterExpression? filterExpression; + + /// Specifies the scope for this filter. + /// + /// Required. Immutable. + /// Possible string values are: + /// - "AUDIENCE_FILTER_SCOPE_UNSPECIFIED" : Scope is not specified. + /// - "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_EVENT" : User joins the Audience if + /// the filter condition is met within one event. + /// - "AUDIENCE_FILTER_SCOPE_WITHIN_SAME_SESSION" : User joins the Audience if + /// the filter condition is met within one session. + /// - "AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS" : User joins the Audience if + /// the filter condition is met by any event across any session. + core.String? scope; + + GoogleAnalyticsAdminV1alphaAudienceSimpleFilter({ + this.filterExpression, + this.scope, + }); + + GoogleAnalyticsAdminV1alphaAudienceSimpleFilter.fromJson(core.Map json_) + : this( + filterExpression: json_.containsKey('filterExpression') + ? GoogleAnalyticsAdminV1alphaAudienceFilterExpression.fromJson( + json_['filterExpression'] + as core.Map) + : null, + scope: + json_.containsKey('scope') ? json_['scope'] as core.String : null, + ); + + core.Map toJson() => { + if (filterExpression != null) 'filterExpression': filterExpression!, + if (scope != null) 'scope': scope!, + }; +} + +/// Request message for BatchCreateAccessBindings RPC. +class GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest { + /// The requests specifying the access bindings to create. + /// + /// A maximum of 1000 access bindings can be created in a batch. + /// + /// Required. + core.List? requests; + + GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest({ + this.requests, + }); + + GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest.fromJson( + core.Map json_) + : this( + requests: json_.containsKey('requests') + ? (json_['requests'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (requests != null) 'requests': requests!, + }; +} + +/// Response message for BatchCreateAccessBindings RPC. +class GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse { + /// The access bindings created. + core.List? accessBindings; + + GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse({ + this.accessBindings, + }); + + GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse.fromJson( + core.Map json_) + : this( + accessBindings: json_.containsKey('accessBindings') + ? (json_['accessBindings'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAccessBinding.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (accessBindings != null) 'accessBindings': accessBindings!, + }; +} + +/// Request message for BatchDeleteAccessBindings RPC. +class GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest { + /// The requests specifying the access bindings to delete. + /// + /// A maximum of 1000 access bindings can be deleted in a batch. + /// + /// Required. + core.List? requests; + + GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest({ + this.requests, + }); + + GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest.fromJson( + core.Map json_) + : this( + requests: json_.containsKey('requests') + ? (json_['requests'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (requests != null) 'requests': requests!, + }; +} + +/// Response message for BatchGetAccessBindings RPC. +class GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse { + /// The requested access bindings. + core.List? accessBindings; + + GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse({ + this.accessBindings, + }); + + GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse.fromJson( + core.Map json_) + : this( + accessBindings: json_.containsKey('accessBindings') + ? (json_['accessBindings'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAccessBinding.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (accessBindings != null) 'accessBindings': accessBindings!, + }; +} + +/// Request message for BatchUpdateAccessBindings RPC. +class GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest { + /// The requests specifying the access bindings to update. + /// + /// A maximum of 1000 access bindings can be updated in a batch. + /// + /// Required. + core.List? requests; + + GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest({ + this.requests, + }); + + GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest.fromJson( + core.Map json_) + : this( + requests: json_.containsKey('requests') + ? (json_['requests'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (requests != null) 'requests': requests!, + }; +} + +/// Response message for BatchUpdateAccessBindings RPC. +class GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse { + /// The access bindings updated. + core.List? accessBindings; + + GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse({ + this.accessBindings, + }); + + GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse.fromJson( + core.Map json_) + : this( + accessBindings: json_.containsKey('accessBindings') + ? (json_['accessBindings'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAccessBinding.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (accessBindings != null) 'accessBindings': accessBindings!, + }; +} + +/// A link between a GA4 Property and BigQuery project. +class GoogleAnalyticsAdminV1alphaBigQueryLink { + /// Time when the link was created. + /// + /// Output only. + core.String? createTime; + + /// If set true, enables daily data export to the linked Google Cloud project. + core.bool? dailyExportEnabled; + + /// The list of event names that will be excluded from exports. + core.List? excludedEvents; + + /// The list of streams under the parent property for which data will be + /// exported. + /// + /// Format: properties/{property_id}/dataStreams/{stream_id} Example: + /// \['properties/1000/dataStreams/2000'\] + core.List? exportStreams; + + /// If set true, enables fresh daily export to the linked Google Cloud + /// project. + core.bool? freshDailyExportEnabled; + + /// If set true, exported data will include advertising identifiers for mobile + /// app streams. + core.bool? includeAdvertisingId; + + /// Resource name of this BigQuery link. + /// + /// Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}' + /// Format: 'properties/1234/bigQueryLinks/abc567' + /// + /// Output only. + core.String? name; + + /// The linked Google Cloud project. + /// + /// When creating a BigQueryLink, you may provide this resource name using + /// either a project number or project ID. Once this resource has been + /// created, the returned project will always have a project that contains a + /// project number. Format: 'projects/{project number}' Example: + /// 'projects/1234' + /// + /// Immutable. + core.String? project; + + /// If set true, enables streaming export to the linked Google Cloud project. + core.bool? streamingExportEnabled; + + GoogleAnalyticsAdminV1alphaBigQueryLink({ + this.createTime, + this.dailyExportEnabled, + this.excludedEvents, + this.exportStreams, + this.freshDailyExportEnabled, + this.includeAdvertisingId, + this.name, + this.project, + this.streamingExportEnabled, + }); + + GoogleAnalyticsAdminV1alphaBigQueryLink.fromJson(core.Map json_) + : this( + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + dailyExportEnabled: json_.containsKey('dailyExportEnabled') + ? json_['dailyExportEnabled'] as core.bool + : null, + excludedEvents: json_.containsKey('excludedEvents') + ? (json_['excludedEvents'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + exportStreams: json_.containsKey('exportStreams') + ? (json_['exportStreams'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + freshDailyExportEnabled: json_.containsKey('freshDailyExportEnabled') + ? json_['freshDailyExportEnabled'] as core.bool + : null, + includeAdvertisingId: json_.containsKey('includeAdvertisingId') + ? json_['includeAdvertisingId'] as core.bool + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + project: json_.containsKey('project') + ? json_['project'] as core.String + : null, + streamingExportEnabled: json_.containsKey('streamingExportEnabled') + ? json_['streamingExportEnabled'] as core.bool + : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (dailyExportEnabled != null) + 'dailyExportEnabled': dailyExportEnabled!, + if (excludedEvents != null) 'excludedEvents': excludedEvents!, + if (exportStreams != null) 'exportStreams': exportStreams!, + if (freshDailyExportEnabled != null) + 'freshDailyExportEnabled': freshDailyExportEnabled!, + if (includeAdvertisingId != null) + 'includeAdvertisingId': includeAdvertisingId!, + if (name != null) 'name': name!, + if (project != null) 'project': project!, + if (streamingExportEnabled != null) + 'streamingExportEnabled': streamingExportEnabled!, + }; +} + +/// A definition for a calculated metric. +class GoogleAnalyticsAdminV1alphaCalculatedMetric { + /// The ID to use for the calculated metric. + /// + /// In the UI, this is referred to as the "API name." The calculated_metric_id + /// is used when referencing this calculated metric from external APIs. For + /// example, "calcMetric:{calculated_metric_id}". + /// + /// Output only. + core.String? calculatedMetricId; + + /// Description for this calculated metric. + /// + /// Max length of 4096 characters. + /// + /// Optional. + core.String? description; + + /// Display name for this calculated metric as shown in the Google Analytics + /// UI. + /// + /// Max length 82 characters. + /// + /// Required. + core.String? displayName; + + /// The calculated metric's definition. + /// + /// Maximum number of unique referenced custom metrics is 5. Formulas supports + /// the following operations: + (addition), - (subtraction), - (negative), * + /// (multiplication), / (division), () (parenthesis). Any valid real numbers + /// are acceptable that fit in a Long (64bit integer) or a Double (64 bit + /// floating point number). Example formula: "( customEvent:parameter_name + + /// cartPurchaseQuantity ) / 2.0" + /// + /// Required. + core.String? formula; + + /// If true, this calculated metric has a invalid metric reference. + /// + /// Anything using a calculated metric with invalid_metric_reference set to + /// true may fail, produce warnings, or produce unexpected results. + /// + /// Output only. + core.bool? invalidMetricReference; + + /// The type for the calculated metric's value. + /// + /// Required. + /// Possible string values are: + /// - "METRIC_UNIT_UNSPECIFIED" : MetricUnit unspecified or missing. + /// - "STANDARD" : This metric uses default units. + /// - "CURRENCY" : This metric measures a currency. + /// - "FEET" : This metric measures feet. + /// - "MILES" : This metric measures miles. + /// - "METERS" : This metric measures meters. + /// - "KILOMETERS" : This metric measures kilometers. + /// - "MILLISECONDS" : This metric measures milliseconds. + /// - "SECONDS" : This metric measures seconds. + /// - "MINUTES" : This metric measures minutes. + /// - "HOURS" : This metric measures hours. + core.String? metricUnit; + + /// Resource name for this CalculatedMetric. + /// + /// Format: + /// 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' + /// + /// Output only. + core.String? name; + + /// Types of restricted data that this metric contains. + /// + /// Output only. + core.List? restrictedMetricType; + + GoogleAnalyticsAdminV1alphaCalculatedMetric({ + this.calculatedMetricId, + this.description, + this.displayName, + this.formula, + this.invalidMetricReference, + this.metricUnit, + this.name, + this.restrictedMetricType, + }); + + GoogleAnalyticsAdminV1alphaCalculatedMetric.fromJson(core.Map json_) + : this( + calculatedMetricId: json_.containsKey('calculatedMetricId') + ? json_['calculatedMetricId'] as core.String + : null, + description: json_.containsKey('description') + ? json_['description'] as core.String + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + formula: json_.containsKey('formula') + ? json_['formula'] as core.String + : null, + invalidMetricReference: json_.containsKey('invalidMetricReference') + ? json_['invalidMetricReference'] as core.bool + : null, + metricUnit: json_.containsKey('metricUnit') + ? json_['metricUnit'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + restrictedMetricType: json_.containsKey('restrictedMetricType') + ? (json_['restrictedMetricType'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (calculatedMetricId != null) + 'calculatedMetricId': calculatedMetricId!, + if (description != null) 'description': description!, + if (displayName != null) 'displayName': displayName!, + if (formula != null) 'formula': formula!, + if (invalidMetricReference != null) + 'invalidMetricReference': invalidMetricReference!, + if (metricUnit != null) 'metricUnit': metricUnit!, + if (name != null) 'name': name!, + if (restrictedMetricType != null) + 'restrictedMetricType': restrictedMetricType!, + }; +} + +/// Request message for CancelDisplayVideo360AdvertiserLinkProposal RPC. +typedef GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest + = $Empty; + +/// A description of a change to a single Google Analytics resource. +class GoogleAnalyticsAdminV1alphaChangeHistoryChange { + /// The type of action that changed this resource. + /// Possible string values are: + /// - "ACTION_TYPE_UNSPECIFIED" : Action type unknown or not specified. + /// - "CREATED" : Resource was created in this change. + /// - "UPDATED" : Resource was updated in this change. + /// - "DELETED" : Resource was deleted in this change. + core.String? action; + + /// Resource name of the resource whose changes are described by this entry. + core.String? resource; + + /// Resource contents from after the change was made. + /// + /// If this resource was deleted in this change, this field will be missing. + GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource? + resourceAfterChange; + + /// Resource contents from before the change was made. + /// + /// If this resource was created in this change, this field will be missing. + GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource? + resourceBeforeChange; + + GoogleAnalyticsAdminV1alphaChangeHistoryChange({ + this.action, + this.resource, + this.resourceAfterChange, + this.resourceBeforeChange, + }); + + GoogleAnalyticsAdminV1alphaChangeHistoryChange.fromJson(core.Map json_) + : this( + action: json_.containsKey('action') + ? json_['action'] as core.String + : null, + resource: json_.containsKey('resource') + ? json_['resource'] as core.String + : null, + resourceAfterChange: json_.containsKey('resourceAfterChange') + ? GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource + .fromJson(json_['resourceAfterChange'] + as core.Map) + : null, + resourceBeforeChange: json_.containsKey('resourceBeforeChange') + ? GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource + .fromJson(json_['resourceBeforeChange'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (action != null) 'action': action!, + if (resource != null) 'resource': resource!, + if (resourceAfterChange != null) + 'resourceAfterChange': resourceAfterChange!, + if (resourceBeforeChange != null) + 'resourceBeforeChange': resourceBeforeChange!, + }; +} + +/// A snapshot of a resource as before or after the result of a change in change +/// history. +class GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource { + /// A snapshot of an Account resource in change history. + GoogleAnalyticsAdminV1alphaAccount? account; + + /// A snapshot of an AdSenseLink resource in change history. + GoogleAnalyticsAdminV1alphaAdSenseLink? adsenseLink; + + /// A snapshot of AttributionSettings resource in change history. + GoogleAnalyticsAdminV1alphaAttributionSettings? attributionSettings; + + /// A snapshot of an Audience resource in change history. + GoogleAnalyticsAdminV1alphaAudience? audience; + + /// A snapshot of a BigQuery link resource in change history. + GoogleAnalyticsAdminV1alphaBigQueryLink? bigqueryLink; + + /// A snapshot of a CalculatedMetric resource in change history. + GoogleAnalyticsAdminV1alphaCalculatedMetric? calculatedMetric; + + /// A snapshot of a ChannelGroup resource in change history. + GoogleAnalyticsAdminV1alphaChannelGroup? channelGroup; + + /// A snapshot of a ConversionEvent resource in change history. + GoogleAnalyticsAdminV1alphaConversionEvent? conversionEvent; + + /// A snapshot of a CustomDimension resource in change history. + GoogleAnalyticsAdminV1alphaCustomDimension? customDimension; + + /// A snapshot of a CustomMetric resource in change history. + GoogleAnalyticsAdminV1alphaCustomMetric? customMetric; + + /// A snapshot of DataRedactionSettings resource in change history. + GoogleAnalyticsAdminV1alphaDataRedactionSettings? dataRedactionSettings; + + /// A snapshot of a data retention settings resource in change history. + GoogleAnalyticsAdminV1alphaDataRetentionSettings? dataRetentionSettings; + + /// A snapshot of a DataStream resource in change history. + GoogleAnalyticsAdminV1alphaDataStream? dataStream; + + /// A snapshot of a DisplayVideo360AdvertiserLink resource in change history. + GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink? + displayVideo360AdvertiserLink; + + /// A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in change + /// history. + GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal? + displayVideo360AdvertiserLinkProposal; + + /// A snapshot of EnhancedMeasurementSettings resource in change history. + GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings? + enhancedMeasurementSettings; + + /// A snapshot of an EventCreateRule resource in change history. + GoogleAnalyticsAdminV1alphaEventCreateRule? eventCreateRule; + + /// A snapshot of an ExpandedDataSet resource in change history. + GoogleAnalyticsAdminV1alphaExpandedDataSet? expandedDataSet; + + /// A snapshot of a FirebaseLink resource in change history. + GoogleAnalyticsAdminV1alphaFirebaseLink? firebaseLink; + + /// A snapshot of a GoogleAdsLink resource in change history. + GoogleAnalyticsAdminV1alphaGoogleAdsLink? googleAdsLink; + + /// A snapshot of a GoogleSignalsSettings resource in change history. + GoogleAnalyticsAdminV1alphaGoogleSignalsSettings? googleSignalsSettings; + + /// A snapshot of a MeasurementProtocolSecret resource in change history. + GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret? + measurementProtocolSecret; + + /// A snapshot of a Property resource in change history. + GoogleAnalyticsAdminV1alphaProperty? property; + + /// A snapshot of a SearchAds360Link resource in change history. + GoogleAnalyticsAdminV1alphaSearchAds360Link? searchAds360Link; + + /// A snapshot of SKAdNetworkConversionValueSchema resource in change history. + GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema? + skadnetworkConversionValueSchema; + + GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource({ + this.account, + this.adsenseLink, + this.attributionSettings, + this.audience, + this.bigqueryLink, + this.calculatedMetric, + this.channelGroup, + this.conversionEvent, + this.customDimension, + this.customMetric, + this.dataRedactionSettings, + this.dataRetentionSettings, + this.dataStream, + this.displayVideo360AdvertiserLink, + this.displayVideo360AdvertiserLinkProposal, + this.enhancedMeasurementSettings, + this.eventCreateRule, + this.expandedDataSet, + this.firebaseLink, + this.googleAdsLink, + this.googleSignalsSettings, + this.measurementProtocolSecret, + this.property, + this.searchAds360Link, + this.skadnetworkConversionValueSchema, + }); + + GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource.fromJson( + core.Map json_) + : this( + account: json_.containsKey('account') + ? GoogleAnalyticsAdminV1alphaAccount.fromJson( + json_['account'] as core.Map) + : null, + adsenseLink: json_.containsKey('adsenseLink') + ? GoogleAnalyticsAdminV1alphaAdSenseLink.fromJson( + json_['adsenseLink'] as core.Map) + : null, + attributionSettings: json_.containsKey('attributionSettings') + ? GoogleAnalyticsAdminV1alphaAttributionSettings.fromJson( + json_['attributionSettings'] + as core.Map) + : null, + audience: json_.containsKey('audience') + ? GoogleAnalyticsAdminV1alphaAudience.fromJson( + json_['audience'] as core.Map) + : null, + bigqueryLink: json_.containsKey('bigqueryLink') + ? GoogleAnalyticsAdminV1alphaBigQueryLink.fromJson( + json_['bigqueryLink'] as core.Map) + : null, + calculatedMetric: json_.containsKey('calculatedMetric') + ? GoogleAnalyticsAdminV1alphaCalculatedMetric.fromJson( + json_['calculatedMetric'] + as core.Map) + : null, + channelGroup: json_.containsKey('channelGroup') + ? GoogleAnalyticsAdminV1alphaChannelGroup.fromJson( + json_['channelGroup'] as core.Map) + : null, + conversionEvent: json_.containsKey('conversionEvent') + ? GoogleAnalyticsAdminV1alphaConversionEvent.fromJson( + json_['conversionEvent'] + as core.Map) + : null, + customDimension: json_.containsKey('customDimension') + ? GoogleAnalyticsAdminV1alphaCustomDimension.fromJson( + json_['customDimension'] + as core.Map) + : null, + customMetric: json_.containsKey('customMetric') + ? GoogleAnalyticsAdminV1alphaCustomMetric.fromJson( + json_['customMetric'] as core.Map) + : null, + dataRedactionSettings: json_.containsKey('dataRedactionSettings') + ? GoogleAnalyticsAdminV1alphaDataRedactionSettings.fromJson( + json_['dataRedactionSettings'] + as core.Map) + : null, + dataRetentionSettings: json_.containsKey('dataRetentionSettings') + ? GoogleAnalyticsAdminV1alphaDataRetentionSettings.fromJson( + json_['dataRetentionSettings'] + as core.Map) + : null, + dataStream: json_.containsKey('dataStream') + ? GoogleAnalyticsAdminV1alphaDataStream.fromJson( + json_['dataStream'] as core.Map) + : null, + displayVideo360AdvertiserLink: + json_.containsKey('displayVideo360AdvertiserLink') + ? GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink + .fromJson(json_['displayVideo360AdvertiserLink'] + as core.Map) + : null, + displayVideo360AdvertiserLinkProposal: json_ + .containsKey('displayVideo360AdvertiserLinkProposal') + ? GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal + .fromJson(json_['displayVideo360AdvertiserLinkProposal'] + as core.Map) + : null, + enhancedMeasurementSettings: json_ + .containsKey('enhancedMeasurementSettings') + ? GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.fromJson( + json_['enhancedMeasurementSettings'] + as core.Map) + : null, + eventCreateRule: json_.containsKey('eventCreateRule') + ? GoogleAnalyticsAdminV1alphaEventCreateRule.fromJson( + json_['eventCreateRule'] + as core.Map) + : null, + expandedDataSet: json_.containsKey('expandedDataSet') + ? GoogleAnalyticsAdminV1alphaExpandedDataSet.fromJson( + json_['expandedDataSet'] + as core.Map) + : null, + firebaseLink: json_.containsKey('firebaseLink') + ? GoogleAnalyticsAdminV1alphaFirebaseLink.fromJson( + json_['firebaseLink'] as core.Map) + : null, + googleAdsLink: json_.containsKey('googleAdsLink') + ? GoogleAnalyticsAdminV1alphaGoogleAdsLink.fromJson( + json_['googleAdsLink'] as core.Map) + : null, + googleSignalsSettings: json_.containsKey('googleSignalsSettings') + ? GoogleAnalyticsAdminV1alphaGoogleSignalsSettings.fromJson( + json_['googleSignalsSettings'] + as core.Map) + : null, + measurementProtocolSecret: json_ + .containsKey('measurementProtocolSecret') + ? GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret.fromJson( + json_['measurementProtocolSecret'] + as core.Map) + : null, + property: json_.containsKey('property') + ? GoogleAnalyticsAdminV1alphaProperty.fromJson( + json_['property'] as core.Map) + : null, + searchAds360Link: json_.containsKey('searchAds360Link') + ? GoogleAnalyticsAdminV1alphaSearchAds360Link.fromJson( + json_['searchAds360Link'] + as core.Map) + : null, + skadnetworkConversionValueSchema: + json_.containsKey('skadnetworkConversionValueSchema') + ? GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema + .fromJson(json_['skadnetworkConversionValueSchema'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (account != null) 'account': account!, + if (adsenseLink != null) 'adsenseLink': adsenseLink!, + if (attributionSettings != null) + 'attributionSettings': attributionSettings!, + if (audience != null) 'audience': audience!, + if (bigqueryLink != null) 'bigqueryLink': bigqueryLink!, + if (calculatedMetric != null) 'calculatedMetric': calculatedMetric!, + if (channelGroup != null) 'channelGroup': channelGroup!, + if (conversionEvent != null) 'conversionEvent': conversionEvent!, + if (customDimension != null) 'customDimension': customDimension!, + if (customMetric != null) 'customMetric': customMetric!, + if (dataRedactionSettings != null) + 'dataRedactionSettings': dataRedactionSettings!, + if (dataRetentionSettings != null) + 'dataRetentionSettings': dataRetentionSettings!, + if (dataStream != null) 'dataStream': dataStream!, + if (displayVideo360AdvertiserLink != null) + 'displayVideo360AdvertiserLink': displayVideo360AdvertiserLink!, + if (displayVideo360AdvertiserLinkProposal != null) + 'displayVideo360AdvertiserLinkProposal': + displayVideo360AdvertiserLinkProposal!, + if (enhancedMeasurementSettings != null) + 'enhancedMeasurementSettings': enhancedMeasurementSettings!, + if (eventCreateRule != null) 'eventCreateRule': eventCreateRule!, + if (expandedDataSet != null) 'expandedDataSet': expandedDataSet!, + if (firebaseLink != null) 'firebaseLink': firebaseLink!, + if (googleAdsLink != null) 'googleAdsLink': googleAdsLink!, + if (googleSignalsSettings != null) + 'googleSignalsSettings': googleSignalsSettings!, + if (measurementProtocolSecret != null) + 'measurementProtocolSecret': measurementProtocolSecret!, + if (property != null) 'property': property!, + if (searchAds360Link != null) 'searchAds360Link': searchAds360Link!, + if (skadnetworkConversionValueSchema != null) + 'skadnetworkConversionValueSchema': skadnetworkConversionValueSchema!, + }; +} + +/// A set of changes within a Google Analytics account or its child properties +/// that resulted from the same cause. +/// +/// Common causes would be updates made in the Google Analytics UI, changes from +/// customer support, or automatic Google Analytics system changes. +class GoogleAnalyticsAdminV1alphaChangeHistoryEvent { + /// The type of actor that made this change. + /// Possible string values are: + /// - "ACTOR_TYPE_UNSPECIFIED" : Unknown or unspecified actor type. + /// - "USER" : Changes made by the user specified in actor_email. + /// - "SYSTEM" : Changes made by the Google Analytics system. + /// - "SUPPORT" : Changes made by Google Analytics support team staff. + core.String? actorType; + + /// Time when change was made. + core.String? changeTime; + + /// A list of changes made in this change history event that fit the filters + /// specified in SearchChangeHistoryEventsRequest. + core.List? changes; + + /// If true, then the list of changes returned was filtered, and does not + /// represent all changes that occurred in this event. + core.bool? changesFiltered; + + /// ID of this change history event. + /// + /// This ID is unique across Google Analytics. + core.String? id; + + /// Email address of the Google account that made the change. + /// + /// This will be a valid email address if the actor field is set to USER, and + /// empty otherwise. Google accounts that have been deleted will cause an + /// error. + core.String? userActorEmail; + + GoogleAnalyticsAdminV1alphaChangeHistoryEvent({ + this.actorType, + this.changeTime, + this.changes, + this.changesFiltered, + this.id, + this.userActorEmail, + }); + + GoogleAnalyticsAdminV1alphaChangeHistoryEvent.fromJson(core.Map json_) + : this( + actorType: json_.containsKey('actorType') + ? json_['actorType'] as core.String + : null, + changeTime: json_.containsKey('changeTime') + ? json_['changeTime'] as core.String + : null, + changes: json_.containsKey('changes') + ? (json_['changes'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaChangeHistoryChange.fromJson( + value as core.Map)) + .toList() + : null, + changesFiltered: json_.containsKey('changesFiltered') + ? json_['changesFiltered'] as core.bool + : null, + id: json_.containsKey('id') ? json_['id'] as core.String : null, + userActorEmail: json_.containsKey('userActorEmail') + ? json_['userActorEmail'] as core.String + : null, + ); + + core.Map toJson() => { + if (actorType != null) 'actorType': actorType!, + if (changeTime != null) 'changeTime': changeTime!, + if (changes != null) 'changes': changes!, + if (changesFiltered != null) 'changesFiltered': changesFiltered!, + if (id != null) 'id': id!, + if (userActorEmail != null) 'userActorEmail': userActorEmail!, + }; +} + +/// A resource message representing a Channel Group. +class GoogleAnalyticsAdminV1alphaChannelGroup { + /// The description of the Channel Group. + /// + /// Max length of 256 characters. + core.String? description; + + /// The display name of the Channel Group. + /// + /// Max length of 80 characters. + /// + /// Required. + core.String? displayName; + + /// The grouping rules of channels. + /// + /// Maximum number of rules is 50. + /// + /// Required. + core.List? groupingRule; + + /// The resource name for this Channel Group resource. + /// + /// Format: properties/{property}/channelGroups/{channel_group} + /// + /// Output only. + core.String? name; + + /// If true, this channel group will be used as the default channel group for + /// reports. + /// + /// Only one channel group can be set as `primary` at any time. If the + /// `primary` field gets set on a channel group, it will get unset on the + /// previous primary channel group. The Google Analytics predefined channel + /// group is the primary by default. + /// + /// Optional. + core.bool? primary; + + /// If true, then this channel group is the Default Channel Group predefined + /// by Google Analytics. + /// + /// Display name and grouping rules cannot be updated for this channel group. + /// + /// Output only. + core.bool? systemDefined; + + GoogleAnalyticsAdminV1alphaChannelGroup({ + this.description, + this.displayName, + this.groupingRule, + this.name, + this.primary, + this.systemDefined, + }); + + GoogleAnalyticsAdminV1alphaChannelGroup.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, + groupingRule: json_.containsKey('groupingRule') + ? (json_['groupingRule'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaGroupingRule.fromJson( + value as core.Map)) + .toList() + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + primary: json_.containsKey('primary') + ? json_['primary'] as core.bool + : null, + systemDefined: json_.containsKey('systemDefined') + ? json_['systemDefined'] as core.bool + : null, + ); + + core.Map toJson() => { + if (description != null) 'description': description!, + if (displayName != null) 'displayName': displayName!, + if (groupingRule != null) 'groupingRule': groupingRule!, + if (name != null) 'name': name!, + if (primary != null) 'primary': primary!, + if (systemDefined != null) 'systemDefined': systemDefined!, + }; +} + +/// A specific filter for a single dimension. +class GoogleAnalyticsAdminV1alphaChannelGroupFilter { + /// The dimension name to filter. + /// + /// Required. Immutable. + core.String? fieldName; + + /// A filter for a string dimension that matches a particular list of options. + GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter? inListFilter; + + /// A filter for a string-type dimension that matches a particular pattern. + GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter? stringFilter; + + GoogleAnalyticsAdminV1alphaChannelGroupFilter({ + this.fieldName, + this.inListFilter, + this.stringFilter, + }); + + GoogleAnalyticsAdminV1alphaChannelGroupFilter.fromJson(core.Map json_) + : this( + fieldName: json_.containsKey('fieldName') + ? json_['fieldName'] as core.String + : null, + inListFilter: json_.containsKey('inListFilter') + ? GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter + .fromJson(json_['inListFilter'] + as core.Map) + : null, + stringFilter: json_.containsKey('stringFilter') + ? GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter + .fromJson(json_['stringFilter'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (fieldName != null) 'fieldName': fieldName!, + if (inListFilter != null) 'inListFilter': inListFilter!, + if (stringFilter != null) 'stringFilter': stringFilter!, + }; +} + +/// A logical expression of Channel Group dimension filters. +class GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression { + /// A list of expressions to be AND’ed together. + /// + /// It can only contain ChannelGroupFilterExpressions with or_group. This must + /// be set for the top level ChannelGroupFilterExpression. + GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList? andGroup; + + /// A filter on a single dimension. + /// + /// This cannot be set on the top level ChannelGroupFilterExpression. + GoogleAnalyticsAdminV1alphaChannelGroupFilter? filter; + + /// A filter expression to be NOT'ed (that is inverted, complemented). + /// + /// It can only include a dimension_or_metric_filter. This cannot be set on + /// the top level ChannelGroupFilterExpression. + GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression? notExpression; + + /// A list of expressions to OR’ed together. + /// + /// It cannot contain ChannelGroupFilterExpressions with and_group or + /// or_group. + GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList? orGroup; + + GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression({ + this.andGroup, + this.filter, + this.notExpression, + this.orGroup, + }); + + GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression.fromJson( + core.Map json_) + : this( + andGroup: json_.containsKey('andGroup') + ? GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList + .fromJson( + json_['andGroup'] as core.Map) + : null, + filter: json_.containsKey('filter') + ? GoogleAnalyticsAdminV1alphaChannelGroupFilter.fromJson( + json_['filter'] as core.Map) + : null, + notExpression: json_.containsKey('notExpression') + ? GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression + .fromJson(json_['notExpression'] + as core.Map) + : null, + orGroup: json_.containsKey('orGroup') + ? GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList + .fromJson( + json_['orGroup'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (andGroup != null) 'andGroup': andGroup!, + if (filter != null) 'filter': filter!, + if (notExpression != null) 'notExpression': notExpression!, + if (orGroup != null) 'orGroup': orGroup!, + }; +} + +/// A list of Channel Group filter expressions. +class GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList { + /// A list of Channel Group filter expressions. + core.List? + filterExpressions; + + GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList({ + this.filterExpressions, + }); + + GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList.fromJson( + core.Map json_) + : this( + filterExpressions: json_.containsKey('filterExpressions') + ? (json_['filterExpressions'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (filterExpressions != null) 'filterExpressions': filterExpressions!, + }; +} + +/// A filter for a string dimension that matches a particular list of options. +/// +/// The match is case insensitive. +class GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter { + /// The list of possible string values to match against. + /// + /// Must be non-empty. + /// + /// Required. + core.List? values; + + GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter({ + this.values, + }); + + GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter.fromJson( + core.Map json_) + : this( + values: json_.containsKey('values') + ? (json_['values'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (values != null) 'values': values!, + }; +} + +/// Filter where the field value is a String. +/// +/// The match is case insensitive. +class GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter { + /// The match type for the string filter. + /// + /// Required. + /// Possible string values are: + /// - "MATCH_TYPE_UNSPECIFIED" : Default match type. + /// - "EXACT" : Exact match of the string value. + /// - "BEGINS_WITH" : Begins with the string value. + /// - "ENDS_WITH" : Ends with the string value. + /// - "CONTAINS" : Contains the string value. + /// - "FULL_REGEXP" : Full regular expression match with the string value. + /// - "PARTIAL_REGEXP" : Partial regular expression match with the string + /// value. + core.String? matchType; + + /// The string value to be matched against. + /// + /// Required. + core.String? value; + + GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter({ + this.matchType, + this.value, + }); + + GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter.fromJson( + core.Map json_) + : this( + matchType: json_.containsKey('matchType') + ? json_['matchType'] as core.String + : null, + value: + json_.containsKey('value') ? json_['value'] as core.String : null, + ); + + core.Map toJson() => { + if (matchType != null) 'matchType': matchType!, + if (value != null) 'value': value!, + }; +} + +/// Configuration for a specific Connected Site Tag. +class GoogleAnalyticsAdminV1alphaConnectedSiteTag { + /// User-provided display name for the connected site tag. + /// + /// Must be less than 256 characters. + /// + /// Required. + core.String? displayName; + + /// "Tag ID to forward events to. + /// + /// Also known as the Measurement ID, or the "G-ID" (For example: G-12345). + /// + /// Required. + core.String? tagId; + + GoogleAnalyticsAdminV1alphaConnectedSiteTag({ + this.displayName, + this.tagId, + }); + + GoogleAnalyticsAdminV1alphaConnectedSiteTag.fromJson(core.Map json_) + : this( + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + tagId: + json_.containsKey('tagId') ? json_['tagId'] as core.String : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (tagId != null) 'tagId': tagId!, + }; +} + +/// A conversion event in a Google Analytics property. +class GoogleAnalyticsAdminV1alphaConversionEvent { + /// The method by which conversions will be counted across multiple events + /// within a session. + /// + /// If this value is not provided, it will be set to `ONCE_PER_EVENT`. + /// + /// Optional. + /// Possible string values are: + /// - "CONVERSION_COUNTING_METHOD_UNSPECIFIED" : Counting method not + /// specified. + /// - "ONCE_PER_EVENT" : Each Event instance is considered a Conversion. + /// - "ONCE_PER_SESSION" : An Event instance is considered a Conversion at + /// most once per session per user. + core.String? countingMethod; + + /// Time when this conversion event was created in the property. + /// + /// Output only. + core.String? createTime; + + /// If set to true, this conversion event refers to a custom event. + /// + /// If set to false, this conversion event refers to a default event in GA. + /// Default events typically have special meaning in GA. Default events are + /// usually created for you by the GA system, but in some cases can be created + /// by property admins. Custom events count towards the maximum number of + /// custom conversion events that may be created per property. + /// + /// Output only. + core.bool? custom; + + /// Defines a default value/currency for a conversion event. + /// + /// Optional. + GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue? + defaultConversionValue; + + /// If set, this event can currently be deleted with DeleteConversionEvent. + /// + /// Output only. + core.bool? deletable; + + /// The event name for this conversion event. + /// + /// Examples: 'click', 'purchase' + /// + /// Immutable. + core.String? eventName; + + /// Resource name of this conversion event. + /// + /// Format: properties/{property}/conversionEvents/{conversion_event} + /// + /// Output only. + core.String? name; + + GoogleAnalyticsAdminV1alphaConversionEvent({ + this.countingMethod, + this.createTime, + this.custom, + this.defaultConversionValue, + this.deletable, + this.eventName, + this.name, + }); + + GoogleAnalyticsAdminV1alphaConversionEvent.fromJson(core.Map json_) + : this( + countingMethod: json_.containsKey('countingMethod') + ? json_['countingMethod'] as core.String + : null, + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + custom: + json_.containsKey('custom') ? json_['custom'] as core.bool : null, + defaultConversionValue: json_.containsKey('defaultConversionValue') + ? GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue + .fromJson(json_['defaultConversionValue'] + as core.Map) + : null, + deletable: json_.containsKey('deletable') + ? json_['deletable'] as core.bool + : null, + eventName: json_.containsKey('eventName') + ? json_['eventName'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + ); + + core.Map toJson() => { + if (countingMethod != null) 'countingMethod': countingMethod!, + if (createTime != null) 'createTime': createTime!, + if (custom != null) 'custom': custom!, + if (defaultConversionValue != null) + 'defaultConversionValue': defaultConversionValue!, + if (deletable != null) 'deletable': deletable!, + if (eventName != null) 'eventName': eventName!, + if (name != null) 'name': name!, + }; +} + +/// Defines a default value/currency for a conversion event. +/// +/// Both value and currency must be provided. +typedef GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue + = $ConversionEventDefaultConversionValue; + +/// Conversion value settings for a postback window for SKAdNetwork conversion +/// value schema. +class GoogleAnalyticsAdminV1alphaConversionValues { + /// A coarse grained conversion value. + /// + /// This value is not guaranteed to be unique. + /// + /// Required. + /// Possible string values are: + /// - "COARSE_VALUE_UNSPECIFIED" : Coarse value not specified. + /// - "COARSE_VALUE_LOW" : Coarse value of low. + /// - "COARSE_VALUE_MEDIUM" : Coarse value of medium. + /// - "COARSE_VALUE_HIGH" : Coarse value of high. + core.String? coarseValue; + + /// Display name of the SKAdNetwork conversion value. + /// + /// The max allowed display name length is 50 UTF-16 code units. + core.String? displayName; + + /// Event conditions that must be met for this Conversion Value to be + /// achieved. + /// + /// The conditions in this list are ANDed together. It must have minimum of 1 + /// entry and maximum of 3 entries, if the postback window is enabled. + core.List? eventMappings; + + /// The fine-grained conversion value. + /// + /// This is applicable only to the first postback window. Its valid values are + /// \[0,63\], both inclusive. It must be set for postback window 1, and must + /// not be set for postback window 2 & 3. This value is not guaranteed to be + /// unique. If the configuration for the first postback window is re-used for + /// second or third postback windows this field has no effect. + core.int? fineValue; + + /// If true, the SDK should lock to this conversion value for the current + /// postback window. + core.bool? lockEnabled; + + GoogleAnalyticsAdminV1alphaConversionValues({ + this.coarseValue, + this.displayName, + this.eventMappings, + this.fineValue, + this.lockEnabled, + }); + + GoogleAnalyticsAdminV1alphaConversionValues.fromJson(core.Map json_) + : this( + coarseValue: json_.containsKey('coarseValue') + ? json_['coarseValue'] as core.String + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + eventMappings: json_.containsKey('eventMappings') + ? (json_['eventMappings'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaEventMapping.fromJson( + value as core.Map)) + .toList() + : null, + fineValue: json_.containsKey('fineValue') + ? json_['fineValue'] as core.int + : null, + lockEnabled: json_.containsKey('lockEnabled') + ? json_['lockEnabled'] as core.bool + : null, + ); + + core.Map toJson() => { + if (coarseValue != null) 'coarseValue': coarseValue!, + if (displayName != null) 'displayName': displayName!, + if (eventMappings != null) 'eventMappings': eventMappings!, + if (fineValue != null) 'fineValue': fineValue!, + if (lockEnabled != null) 'lockEnabled': lockEnabled!, + }; +} + +/// Request message for CreateAccessBinding RPC. +class GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest { + /// The access binding to create. + /// + /// Required. + GoogleAnalyticsAdminV1alphaAccessBinding? accessBinding; + + /// Formats: - accounts/{account} - properties/{property} + /// + /// Required. + core.String? parent; + + GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest({ + this.accessBinding, + this.parent, + }); + + GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest.fromJson(core.Map json_) + : this( + accessBinding: json_.containsKey('accessBinding') + ? GoogleAnalyticsAdminV1alphaAccessBinding.fromJson( + json_['accessBinding'] as core.Map) + : null, + parent: json_.containsKey('parent') + ? json_['parent'] as core.String + : null, + ); + + core.Map toJson() => { + if (accessBinding != null) 'accessBinding': accessBinding!, + if (parent != null) 'parent': parent!, + }; +} + +/// Request message for CreateConnectedSiteTag RPC. +class GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest { + /// The tag to add to the Universal Analytics property + /// + /// Required. + GoogleAnalyticsAdminV1alphaConnectedSiteTag? connectedSiteTag; + + /// The Universal Analytics property to create connected site tags for. + /// + /// This API does not support GA4 properties. Format: + /// properties/{universalAnalyticsPropertyId} Example: properties/1234 + core.String? property; + + GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest({ + this.connectedSiteTag, + this.property, + }); + + GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest.fromJson( + core.Map json_) + : this( + connectedSiteTag: json_.containsKey('connectedSiteTag') + ? GoogleAnalyticsAdminV1alphaConnectedSiteTag.fromJson( + json_['connectedSiteTag'] + as core.Map) + : null, + property: json_.containsKey('property') + ? json_['property'] as core.String + : null, + ); + + core.Map toJson() => { + if (connectedSiteTag != null) 'connectedSiteTag': connectedSiteTag!, + if (property != null) 'property': property!, + }; +} + +/// Response message for CreateConnectedSiteTag RPC. +typedef GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse = $Empty; + +/// Request message for CreateRollupProperty RPC. +class GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest { + /// The roll-up property to create. + /// + /// Required. + GoogleAnalyticsAdminV1alphaProperty? rollupProperty; + + /// The resource names of properties that will be sources to the created + /// roll-up property. + /// + /// Optional. + core.List? sourceProperties; + + GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest({ + this.rollupProperty, + this.sourceProperties, + }); + + GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest.fromJson( + core.Map json_) + : this( + rollupProperty: json_.containsKey('rollupProperty') + ? GoogleAnalyticsAdminV1alphaProperty.fromJson( + json_['rollupProperty'] + as core.Map) + : null, + sourceProperties: json_.containsKey('sourceProperties') + ? (json_['sourceProperties'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (rollupProperty != null) 'rollupProperty': rollupProperty!, + if (sourceProperties != null) 'sourceProperties': sourceProperties!, + }; +} + +/// Response message for CreateRollupProperty RPC. +class GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse { + /// The created roll-up property. + GoogleAnalyticsAdminV1alphaProperty? rollupProperty; + + /// The created roll-up property source links. + core.List? + rollupPropertySourceLinks; + + GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse({ + this.rollupProperty, + this.rollupPropertySourceLinks, + }); + + GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse.fromJson( + core.Map json_) + : this( + rollupProperty: json_.containsKey('rollupProperty') + ? GoogleAnalyticsAdminV1alphaProperty.fromJson( + json_['rollupProperty'] + as core.Map) + : null, + rollupPropertySourceLinks: + json_.containsKey('rollupPropertySourceLinks') + ? (json_['rollupPropertySourceLinks'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaRollupPropertySourceLink + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (rollupProperty != null) 'rollupProperty': rollupProperty!, + if (rollupPropertySourceLinks != null) + 'rollupPropertySourceLinks': rollupPropertySourceLinks!, + }; +} + +/// Request message for CreateSubproperty RPC. +class GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest { + /// The subproperty to create. + /// + /// Required. + GoogleAnalyticsAdminV1alphaProperty? subproperty; + + /// The subproperty event filter to create on an ordinary property. + /// + /// Optional. + GoogleAnalyticsAdminV1alphaSubpropertyEventFilter? subpropertyEventFilter; + + GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest({ + this.subproperty, + this.subpropertyEventFilter, + }); + + GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest.fromJson(core.Map json_) + : this( + subproperty: json_.containsKey('subproperty') + ? GoogleAnalyticsAdminV1alphaProperty.fromJson( + json_['subproperty'] as core.Map) + : null, + subpropertyEventFilter: json_.containsKey('subpropertyEventFilter') + ? GoogleAnalyticsAdminV1alphaSubpropertyEventFilter.fromJson( + json_['subpropertyEventFilter'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (subproperty != null) 'subproperty': subproperty!, + if (subpropertyEventFilter != null) + 'subpropertyEventFilter': subpropertyEventFilter!, + }; +} + +/// Response message for CreateSubproperty RPC. +class GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse { + /// The created subproperty. + GoogleAnalyticsAdminV1alphaProperty? subproperty; + + /// The created subproperty event filter. + GoogleAnalyticsAdminV1alphaSubpropertyEventFilter? subpropertyEventFilter; + + GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse({ + this.subproperty, + this.subpropertyEventFilter, + }); + + GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse.fromJson(core.Map json_) + : this( + subproperty: json_.containsKey('subproperty') + ? GoogleAnalyticsAdminV1alphaProperty.fromJson( + json_['subproperty'] as core.Map) + : null, + subpropertyEventFilter: json_.containsKey('subpropertyEventFilter') + ? GoogleAnalyticsAdminV1alphaSubpropertyEventFilter.fromJson( + json_['subpropertyEventFilter'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (subproperty != null) 'subproperty': subproperty!, + if (subpropertyEventFilter != null) + 'subpropertyEventFilter': subpropertyEventFilter!, + }; +} + +/// A definition for a CustomDimension. +typedef GoogleAnalyticsAdminV1alphaCustomDimension = $CustomDimension; + +/// A definition for a custom metric. +typedef GoogleAnalyticsAdminV1alphaCustomMetric = $CustomMetric; + +/// Settings for client-side data redaction. +/// +/// Singleton resource under a Web Stream. +class GoogleAnalyticsAdminV1alphaDataRedactionSettings { + /// If enabled, any event parameter or user property values that look like an + /// email will be redacted. + core.bool? emailRedactionEnabled; + + /// Name of this Data Redaction Settings resource. + /// + /// Format: + /// properties/{property_id}/dataStreams/{data_stream}/dataRedactionSettings + /// Example: "properties/1000/dataStreams/2000/dataRedactionSettings" + /// + /// Output only. + core.String? name; + + /// The query parameter keys to apply redaction logic to if present in the + /// URL. + /// + /// Query parameter matching is case-insensitive. Must contain at least one + /// element if query_parameter_replacement_enabled is true. Keys cannot + /// contain commas. + core.List? queryParameterKeys; + + /// Query Parameter redaction removes the key and value portions of a query + /// parameter if it is in the configured set of query parameters. + /// + /// If enabled, URL query replacement logic will be run for the Stream. Any + /// query parameters defined in query_parameter_keys will be redacted. + core.bool? queryParameterRedactionEnabled; + + GoogleAnalyticsAdminV1alphaDataRedactionSettings({ + this.emailRedactionEnabled, + this.name, + this.queryParameterKeys, + this.queryParameterRedactionEnabled, + }); + + GoogleAnalyticsAdminV1alphaDataRedactionSettings.fromJson(core.Map json_) + : this( + emailRedactionEnabled: json_.containsKey('emailRedactionEnabled') + ? json_['emailRedactionEnabled'] as core.bool + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + queryParameterKeys: json_.containsKey('queryParameterKeys') + ? (json_['queryParameterKeys'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + queryParameterRedactionEnabled: + json_.containsKey('queryParameterRedactionEnabled') + ? json_['queryParameterRedactionEnabled'] as core.bool + : null, + ); + + core.Map toJson() => { + if (emailRedactionEnabled != null) + 'emailRedactionEnabled': emailRedactionEnabled!, + if (name != null) 'name': name!, + if (queryParameterKeys != null) + 'queryParameterKeys': queryParameterKeys!, + if (queryParameterRedactionEnabled != null) + 'queryParameterRedactionEnabled': queryParameterRedactionEnabled!, + }; +} + +/// Settings values for data retention. +/// +/// This is a singleton resource. +typedef GoogleAnalyticsAdminV1alphaDataRetentionSettings + = $DataRetentionSettings; + +/// A resource message representing data sharing settings of a Google Analytics +/// account. +typedef GoogleAnalyticsAdminV1alphaDataSharingSettings = $DataSharingSettings; + +/// A resource message representing a data stream. +class GoogleAnalyticsAdminV1alphaDataStream { + /// Data specific to Android app streams. + /// + /// Must be populated if type is ANDROID_APP_DATA_STREAM. + GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData? + androidAppStreamData; + + /// Time when this stream was originally created. + /// + /// Output only. + core.String? createTime; + + /// Human-readable display name for the Data Stream. + /// + /// Required for web data streams. The max allowed display name length is 255 + /// UTF-16 code units. + core.String? displayName; + + /// Data specific to iOS app streams. + /// + /// Must be populated if type is IOS_APP_DATA_STREAM. + GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData? iosAppStreamData; + + /// Resource name of this Data Stream. + /// + /// Format: properties/{property_id}/dataStreams/{stream_id} Example: + /// "properties/1000/dataStreams/2000" + /// + /// Output only. + core.String? name; + + /// The type of this DataStream resource. + /// + /// Required. Immutable. + /// Possible string values are: + /// - "DATA_STREAM_TYPE_UNSPECIFIED" : Type unknown or not specified. + /// - "WEB_DATA_STREAM" : Web data stream. + /// - "ANDROID_APP_DATA_STREAM" : Android app data stream. + /// - "IOS_APP_DATA_STREAM" : iOS app data stream. + core.String? type; + + /// Time when stream payload fields were last updated. + /// + /// Output only. + core.String? updateTime; + + /// Data specific to web streams. + /// + /// Must be populated if type is WEB_DATA_STREAM. + GoogleAnalyticsAdminV1alphaDataStreamWebStreamData? webStreamData; + + GoogleAnalyticsAdminV1alphaDataStream({ + this.androidAppStreamData, + this.createTime, + this.displayName, + this.iosAppStreamData, + this.name, + this.type, + this.updateTime, + this.webStreamData, + }); + + GoogleAnalyticsAdminV1alphaDataStream.fromJson(core.Map json_) + : this( + androidAppStreamData: json_.containsKey('androidAppStreamData') + ? GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData + .fromJson(json_['androidAppStreamData'] + as core.Map) + : null, + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + iosAppStreamData: json_.containsKey('iosAppStreamData') + ? GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData.fromJson( + json_['iosAppStreamData'] + as core.Map) + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + type: json_.containsKey('type') ? json_['type'] as core.String : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + webStreamData: json_.containsKey('webStreamData') + ? GoogleAnalyticsAdminV1alphaDataStreamWebStreamData.fromJson( + json_['webStreamData'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (androidAppStreamData != null) + 'androidAppStreamData': androidAppStreamData!, + if (createTime != null) 'createTime': createTime!, + if (displayName != null) 'displayName': displayName!, + if (iosAppStreamData != null) 'iosAppStreamData': iosAppStreamData!, + if (name != null) 'name': name!, + if (type != null) 'type': type!, + if (updateTime != null) 'updateTime': updateTime!, + if (webStreamData != null) 'webStreamData': webStreamData!, + }; +} + +/// Data specific to Android app streams. +typedef GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData + = $DataStreamAndroidAppStreamData; + +/// Data specific to iOS app streams. +typedef GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData + = $DataStreamIosAppStreamData; + +/// Data specific to web streams. +typedef GoogleAnalyticsAdminV1alphaDataStreamWebStreamData + = $DataStreamWebStreamData; + +/// Request message for DeleteAccessBinding RPC. +class GoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest { + /// Formats: - accounts/{account}/accessBindings/{accessBinding} - + /// properties/{property}/accessBindings/{accessBinding} + /// + /// Required. + core.String? name; + + GoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest({ + this.name, + }); + + GoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest.fromJson(core.Map json_) + : this( + name: json_.containsKey('name') ? json_['name'] as core.String : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + }; +} + +/// Request message for DeleteConnectedSiteTag RPC. +class GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest { + /// The Universal Analytics property to delete connected site tags for. + /// + /// This API does not support GA4 properties. Format: + /// properties/{universalAnalyticsPropertyId} Example: properties/1234 + core.String? property; + + /// Tag ID to forward events to. + /// + /// Also known as the Measurement ID, or the "G-ID" (For example: G-12345). + core.String? tagId; + + GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest({ + this.property, + this.tagId, + }); + + GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest.fromJson( + core.Map json_) + : this( + property: json_.containsKey('property') + ? json_['property'] as core.String + : null, + tagId: + json_.containsKey('tagId') ? json_['tagId'] as core.String : null, + ); + + core.Map toJson() => { + if (property != null) 'property': property!, + if (tagId != null) 'tagId': tagId!, + }; +} + +/// A link between a GA4 property and a Display & Video 360 advertiser. +class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink { + /// Enables personalized advertising features with this integration. + /// + /// If this field is not set on create/update, it will be defaulted to true. + core.bool? adsPersonalizationEnabled; + + /// The display name of the Display & Video 360 Advertiser. + /// + /// Output only. + core.String? advertiserDisplayName; + + /// The Display & Video 360 Advertiser's advertiser ID. + /// + /// Immutable. + core.String? advertiserId; + + /// Enables the import of campaign data from Display & Video 360 into the GA4 + /// property. + /// + /// After link creation, this can only be updated from the Display & Video 360 + /// product. If this field is not set on create, it will be defaulted to true. + /// + /// Immutable. + core.bool? campaignDataSharingEnabled; + + /// Enables the import of cost data from Display & Video 360 into the GA4 + /// property. + /// + /// This can only be enabled if campaign_data_sharing_enabled is enabled. + /// After link creation, this can only be updated from the Display & Video 360 + /// product. If this field is not set on create, it will be defaulted to true. + /// + /// Immutable. + core.bool? costDataSharingEnabled; + + /// The resource name for this DisplayVideo360AdvertiserLink resource. + /// + /// Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} + /// Note: linkId is not the Display & Video 360 Advertiser ID + /// + /// Output only. + core.String? name; + + GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink({ + this.adsPersonalizationEnabled, + this.advertiserDisplayName, + this.advertiserId, + this.campaignDataSharingEnabled, + this.costDataSharingEnabled, + this.name, + }); + + GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink.fromJson( + core.Map json_) + : this( + adsPersonalizationEnabled: + json_.containsKey('adsPersonalizationEnabled') + ? json_['adsPersonalizationEnabled'] as core.bool + : null, + advertiserDisplayName: json_.containsKey('advertiserDisplayName') + ? json_['advertiserDisplayName'] as core.String + : null, + advertiserId: json_.containsKey('advertiserId') + ? json_['advertiserId'] as core.String + : null, + campaignDataSharingEnabled: + json_.containsKey('campaignDataSharingEnabled') + ? json_['campaignDataSharingEnabled'] as core.bool + : null, + costDataSharingEnabled: json_.containsKey('costDataSharingEnabled') + ? json_['costDataSharingEnabled'] as core.bool + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + ); + + core.Map toJson() => { + if (adsPersonalizationEnabled != null) + 'adsPersonalizationEnabled': adsPersonalizationEnabled!, + if (advertiserDisplayName != null) + 'advertiserDisplayName': advertiserDisplayName!, + if (advertiserId != null) 'advertiserId': advertiserId!, + if (campaignDataSharingEnabled != null) + 'campaignDataSharingEnabled': campaignDataSharingEnabled!, + if (costDataSharingEnabled != null) + 'costDataSharingEnabled': costDataSharingEnabled!, + if (name != null) 'name': name!, + }; +} + +/// A proposal for a link between a GA4 property and a Display & Video 360 +/// advertiser. +/// +/// A proposal is converted to a DisplayVideo360AdvertiserLink once approved. +/// Google Analytics admins approve inbound proposals while Display & Video 360 +/// admins approve outbound proposals. +class GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal { + /// Enables personalized advertising features with this integration. + /// + /// If this field is not set on create, it will be defaulted to true. + /// + /// Immutable. + core.bool? adsPersonalizationEnabled; + + /// The display name of the Display & Video Advertiser. + /// + /// Only populated for proposals that originated from Display & Video 360. + /// + /// Output only. + core.String? advertiserDisplayName; + + /// The Display & Video 360 Advertiser's advertiser ID. + /// + /// Immutable. + core.String? advertiserId; + + /// Enables the import of campaign data from Display & Video 360. + /// + /// If this field is not set on create, it will be defaulted to true. + /// + /// Immutable. + core.bool? campaignDataSharingEnabled; + + /// Enables the import of cost data from Display & Video 360. + /// + /// This can only be enabled if campaign_data_sharing_enabled is enabled. If + /// this field is not set on create, it will be defaulted to true. + /// + /// Immutable. + core.bool? costDataSharingEnabled; + + /// The status information for this link proposal. + /// + /// Output only. + GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails? + linkProposalStatusDetails; + + /// The resource name for this DisplayVideo360AdvertiserLinkProposal resource. + /// + /// Format: + /// properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} + /// Note: proposalId is not the Display & Video 360 Advertiser ID + /// + /// Output only. + core.String? name; + + /// Input only. + /// + /// On a proposal being sent to Display & Video 360, this field must be set to + /// the email address of an admin on the target advertiser. This is used to + /// verify that the Google Analytics admin is aware of at least one admin on + /// the Display & Video 360 Advertiser. This does not restrict approval of the + /// proposal to a single user. Any admin on the Display & Video 360 Advertiser + /// may approve the proposal. + core.String? validationEmail; + + GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal({ + this.adsPersonalizationEnabled, + this.advertiserDisplayName, + this.advertiserId, + this.campaignDataSharingEnabled, + this.costDataSharingEnabled, + this.linkProposalStatusDetails, + this.name, + this.validationEmail, + }); + + GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal.fromJson( + core.Map json_) + : this( + adsPersonalizationEnabled: + json_.containsKey('adsPersonalizationEnabled') + ? json_['adsPersonalizationEnabled'] as core.bool + : null, + advertiserDisplayName: json_.containsKey('advertiserDisplayName') + ? json_['advertiserDisplayName'] as core.String + : null, + advertiserId: json_.containsKey('advertiserId') + ? json_['advertiserId'] as core.String + : null, + campaignDataSharingEnabled: + json_.containsKey('campaignDataSharingEnabled') + ? json_['campaignDataSharingEnabled'] as core.bool + : null, + costDataSharingEnabled: json_.containsKey('costDataSharingEnabled') + ? json_['costDataSharingEnabled'] as core.bool + : null, + linkProposalStatusDetails: json_ + .containsKey('linkProposalStatusDetails') + ? GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails.fromJson( + json_['linkProposalStatusDetails'] + as core.Map) + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + validationEmail: json_.containsKey('validationEmail') + ? json_['validationEmail'] as core.String + : null, + ); + + core.Map toJson() => { + if (adsPersonalizationEnabled != null) + 'adsPersonalizationEnabled': adsPersonalizationEnabled!, + if (advertiserDisplayName != null) + 'advertiserDisplayName': advertiserDisplayName!, + if (advertiserId != null) 'advertiserId': advertiserId!, + if (campaignDataSharingEnabled != null) + 'campaignDataSharingEnabled': campaignDataSharingEnabled!, + if (costDataSharingEnabled != null) + 'costDataSharingEnabled': costDataSharingEnabled!, + if (linkProposalStatusDetails != null) + 'linkProposalStatusDetails': linkProposalStatusDetails!, + if (name != null) 'name': name!, + if (validationEmail != null) 'validationEmail': validationEmail!, + }; +} + +/// Singleton resource under a web DataStream, configuring measurement of +/// additional site interactions and content. +class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings { + /// If enabled, capture a file download event each time a link is clicked with + /// a common document, compressed file, application, video, or audio + /// extension. + core.bool? fileDownloadsEnabled; + + /// If enabled, capture a form interaction event each time a visitor interacts + /// with a form on your website. + /// + /// False by default. + core.bool? formInteractionsEnabled; + + /// Resource name of the Enhanced Measurement Settings. + /// + /// Format: + /// properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings + /// Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" + /// + /// Output only. + core.String? name; + + /// If enabled, capture an outbound click event each time a visitor clicks a + /// link that leads them away from your domain. + core.bool? outboundClicksEnabled; + + /// If enabled, capture a page view event each time the website changes the + /// browser history state. + core.bool? pageChangesEnabled; + + /// If enabled, capture scroll events each time a visitor gets to the bottom + /// of a page. + core.bool? scrollsEnabled; + + /// URL query parameters to interpret as site search parameters. + /// + /// Max length is 1024 characters. Must not be empty. + /// + /// Required. + core.String? searchQueryParameter; + + /// If enabled, capture a view search results event each time a visitor + /// performs a search on your site (based on a query parameter). + core.bool? siteSearchEnabled; + + /// Indicates whether Enhanced Measurement Settings will be used to + /// automatically measure interactions and content on this web stream. + /// + /// Changing this value does not affect the settings themselves, but + /// determines whether they are respected. + core.bool? streamEnabled; + + /// Additional URL query parameters. + /// + /// Max length is 1024 characters. + core.String? uriQueryParameter; + + /// If enabled, capture video play, progress, and complete events as visitors + /// view embedded videos on your site. + core.bool? videoEngagementEnabled; + + GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings({ + this.fileDownloadsEnabled, + this.formInteractionsEnabled, + this.name, + this.outboundClicksEnabled, + this.pageChangesEnabled, + this.scrollsEnabled, + this.searchQueryParameter, + this.siteSearchEnabled, + this.streamEnabled, + this.uriQueryParameter, + this.videoEngagementEnabled, + }); + + GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.fromJson( + core.Map json_) + : this( + fileDownloadsEnabled: json_.containsKey('fileDownloadsEnabled') + ? json_['fileDownloadsEnabled'] as core.bool + : null, + formInteractionsEnabled: json_.containsKey('formInteractionsEnabled') + ? json_['formInteractionsEnabled'] as core.bool + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + outboundClicksEnabled: json_.containsKey('outboundClicksEnabled') + ? json_['outboundClicksEnabled'] as core.bool + : null, + pageChangesEnabled: json_.containsKey('pageChangesEnabled') + ? json_['pageChangesEnabled'] as core.bool + : null, + scrollsEnabled: json_.containsKey('scrollsEnabled') + ? json_['scrollsEnabled'] as core.bool + : null, + searchQueryParameter: json_.containsKey('searchQueryParameter') + ? json_['searchQueryParameter'] as core.String + : null, + siteSearchEnabled: json_.containsKey('siteSearchEnabled') + ? json_['siteSearchEnabled'] as core.bool + : null, + streamEnabled: json_.containsKey('streamEnabled') + ? json_['streamEnabled'] as core.bool + : null, + uriQueryParameter: json_.containsKey('uriQueryParameter') + ? json_['uriQueryParameter'] as core.String + : null, + videoEngagementEnabled: json_.containsKey('videoEngagementEnabled') + ? json_['videoEngagementEnabled'] as core.bool + : null, + ); + + core.Map toJson() => { + if (fileDownloadsEnabled != null) + 'fileDownloadsEnabled': fileDownloadsEnabled!, + if (formInteractionsEnabled != null) + 'formInteractionsEnabled': formInteractionsEnabled!, + if (name != null) 'name': name!, + if (outboundClicksEnabled != null) + 'outboundClicksEnabled': outboundClicksEnabled!, + if (pageChangesEnabled != null) + 'pageChangesEnabled': pageChangesEnabled!, + if (scrollsEnabled != null) 'scrollsEnabled': scrollsEnabled!, + if (searchQueryParameter != null) + 'searchQueryParameter': searchQueryParameter!, + if (siteSearchEnabled != null) 'siteSearchEnabled': siteSearchEnabled!, + if (streamEnabled != null) 'streamEnabled': streamEnabled!, + if (uriQueryParameter != null) 'uriQueryParameter': uriQueryParameter!, + if (videoEngagementEnabled != null) + 'videoEngagementEnabled': videoEngagementEnabled!, + }; +} + +/// An Event Create Rule defines conditions that will trigger the creation of an +/// entirely new event based upon matched criteria of a source event. +/// +/// Additional mutations of the parameters from the source event can be defined. +/// Unlike Event Edit rules, Event Creation Rules have no defined order. They +/// will all be run independently. Event Edit and Event Create rules can't be +/// used to modify an event created from an Event Create rule. +class GoogleAnalyticsAdminV1alphaEventCreateRule { + /// The name of the new event to be created. + /// + /// This value must: * be less than 40 characters * consist only of letters, + /// digits or _ (underscores) * start with a letter + /// + /// Required. + core.String? destinationEvent; + + /// Must have at least one condition, and can have up to 10 max. + /// + /// Conditions on the source event must match for this rule to be applied. + /// + /// Required. + core.List? eventConditions; + + /// Resource name for this EventCreateRule resource. + /// + /// Format: + /// properties/{property}/dataStreams/{data_stream}/eventCreateRules/{event_create_rule} + /// + /// Output only. + core.String? name; + + /// Parameter mutations define parameter behavior on the new event, and are + /// applied in order. + /// + /// A maximum of 20 mutations can be applied. + core.List? parameterMutations; + + /// If true, the source parameters are copied to the new event. + /// + /// If false, or unset, all non-internal parameters are not copied from the + /// source event. Parameter mutations are applied after the parameters have + /// been copied. + core.bool? sourceCopyParameters; + + GoogleAnalyticsAdminV1alphaEventCreateRule({ + this.destinationEvent, + this.eventConditions, + this.name, + this.parameterMutations, + this.sourceCopyParameters, + }); + + GoogleAnalyticsAdminV1alphaEventCreateRule.fromJson(core.Map json_) + : this( + destinationEvent: json_.containsKey('destinationEvent') + ? json_['destinationEvent'] as core.String + : null, + eventConditions: json_.containsKey('eventConditions') + ? (json_['eventConditions'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaMatchingCondition.fromJson( + value as core.Map)) + .toList() + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + parameterMutations: json_.containsKey('parameterMutations') + ? (json_['parameterMutations'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaParameterMutation.fromJson( + value as core.Map)) + .toList() + : null, + sourceCopyParameters: json_.containsKey('sourceCopyParameters') + ? json_['sourceCopyParameters'] as core.bool + : null, + ); + + core.Map toJson() => { + if (destinationEvent != null) 'destinationEvent': destinationEvent!, + if (eventConditions != null) 'eventConditions': eventConditions!, + if (name != null) 'name': name!, + if (parameterMutations != null) + 'parameterMutations': parameterMutations!, + if (sourceCopyParameters != null) + 'sourceCopyParameters': sourceCopyParameters!, + }; +} + +/// Event setting conditions to match an event. +class GoogleAnalyticsAdminV1alphaEventMapping { + /// Name of the GA4 event. + /// + /// It must always be set. The max allowed display name length is 40 UTF-16 + /// code units. + /// + /// Required. + core.String? eventName; + + /// The maximum number of times the event occurred. + /// + /// If not set, maximum event count won't be checked. + core.String? maxEventCount; + + /// The maximum revenue generated due to the event. + /// + /// Revenue currency will be defined at the property level. If not set, + /// maximum event value won't be checked. + core.double? maxEventValue; + + /// At least one of the following four min/max values must be set. + /// + /// The values set will be ANDed together to qualify an event. The minimum + /// number of times the event occurred. If not set, minimum event count won't + /// be checked. + core.String? minEventCount; + + /// The minimum revenue generated due to the event. + /// + /// Revenue currency will be defined at the property level. If not set, + /// minimum event value won't be checked. + core.double? minEventValue; + + GoogleAnalyticsAdminV1alphaEventMapping({ + this.eventName, + this.maxEventCount, + this.maxEventValue, + this.minEventCount, + this.minEventValue, + }); + + GoogleAnalyticsAdminV1alphaEventMapping.fromJson(core.Map json_) + : this( + eventName: json_.containsKey('eventName') + ? json_['eventName'] as core.String + : null, + maxEventCount: json_.containsKey('maxEventCount') + ? json_['maxEventCount'] as core.String + : null, + maxEventValue: json_.containsKey('maxEventValue') + ? (json_['maxEventValue'] as core.num).toDouble() + : null, + minEventCount: json_.containsKey('minEventCount') + ? json_['minEventCount'] as core.String + : null, + minEventValue: json_.containsKey('minEventValue') + ? (json_['minEventValue'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (eventName != null) 'eventName': eventName!, + if (maxEventCount != null) 'maxEventCount': maxEventCount!, + if (maxEventValue != null) 'maxEventValue': maxEventValue!, + if (minEventCount != null) 'minEventCount': minEventCount!, + if (minEventValue != null) 'minEventValue': minEventValue!, + }; +} + +/// A resource message representing a GA4 ExpandedDataSet. +class GoogleAnalyticsAdminV1alphaExpandedDataSet { + /// Time when expanded data set began (or will begin) collecing data. + /// + /// Output only. + core.String? dataCollectionStartTime; + + /// The description of the ExpandedDataSet. + /// + /// Max 50 chars. + /// + /// Optional. + core.String? description; + + /// A logical expression of ExpandedDataSet filters applied to dimension + /// included in the ExpandedDataSet. + /// + /// This filter is used to reduce the number of rows and thus the chance of + /// encountering `other` row. + /// + /// Immutable. + GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression? + dimensionFilterExpression; + + /// The list of dimensions included in the ExpandedDataSet. + /// + /// See the + /// [API Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) + /// for the list of dimension names. + /// + /// Immutable. + core.List? dimensionNames; + + /// The display name of the ExpandedDataSet. + /// + /// Max 200 chars. + /// + /// Required. + core.String? displayName; + + /// The list of metrics included in the ExpandedDataSet. + /// + /// See the + /// [API Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics) + /// for the list of dimension names. + /// + /// Immutable. + core.List? metricNames; + + /// The resource name for this ExpandedDataSet resource. + /// + /// Format: properties/{property_id}/expandedDataSets/{expanded_data_set} + /// + /// Output only. + core.String? name; + + GoogleAnalyticsAdminV1alphaExpandedDataSet({ + this.dataCollectionStartTime, + this.description, + this.dimensionFilterExpression, + this.dimensionNames, + this.displayName, + this.metricNames, + this.name, + }); + + GoogleAnalyticsAdminV1alphaExpandedDataSet.fromJson(core.Map json_) + : this( + dataCollectionStartTime: json_.containsKey('dataCollectionStartTime') + ? json_['dataCollectionStartTime'] as core.String + : null, + description: json_.containsKey('description') + ? json_['description'] as core.String + : null, + dimensionFilterExpression: + json_.containsKey('dimensionFilterExpression') + ? GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression + .fromJson(json_['dimensionFilterExpression'] + as core.Map) + : null, + dimensionNames: json_.containsKey('dimensionNames') + ? (json_['dimensionNames'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + metricNames: json_.containsKey('metricNames') + ? (json_['metricNames'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + ); + + core.Map toJson() => { + if (dataCollectionStartTime != null) + 'dataCollectionStartTime': dataCollectionStartTime!, + if (description != null) 'description': description!, + if (dimensionFilterExpression != null) + 'dimensionFilterExpression': dimensionFilterExpression!, + if (dimensionNames != null) 'dimensionNames': dimensionNames!, + if (displayName != null) 'displayName': displayName!, + if (metricNames != null) 'metricNames': metricNames!, + if (name != null) 'name': name!, + }; +} + +/// A specific filter for a single dimension +class GoogleAnalyticsAdminV1alphaExpandedDataSetFilter { + /// The dimension name to filter. + /// + /// Required. + core.String? fieldName; + + /// A filter for a string dimension that matches a particular list of options. + GoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter? inListFilter; + + /// A filter for a string-type dimension that matches a particular pattern. + GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter? stringFilter; + + GoogleAnalyticsAdminV1alphaExpandedDataSetFilter({ + this.fieldName, + this.inListFilter, + this.stringFilter, + }); + + GoogleAnalyticsAdminV1alphaExpandedDataSetFilter.fromJson(core.Map json_) + : this( + fieldName: json_.containsKey('fieldName') + ? json_['fieldName'] as core.String + : null, + inListFilter: json_.containsKey('inListFilter') + ? GoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter + .fromJson(json_['inListFilter'] + as core.Map) + : null, + stringFilter: json_.containsKey('stringFilter') + ? GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter + .fromJson(json_['stringFilter'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (fieldName != null) 'fieldName': fieldName!, + if (inListFilter != null) 'inListFilter': inListFilter!, + if (stringFilter != null) 'stringFilter': stringFilter!, + }; +} + +/// A logical expression of EnhancedDataSet dimension filters. +class GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression { + /// A list of expressions to be AND’ed together. + /// + /// It must contain a ExpandedDataSetFilterExpression with either + /// not_expression or dimension_filter. This must be set for the top level + /// ExpandedDataSetFilterExpression. + GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList? andGroup; + + /// A filter on a single dimension. + /// + /// This cannot be set on the top level ExpandedDataSetFilterExpression. + GoogleAnalyticsAdminV1alphaExpandedDataSetFilter? filter; + + /// A filter expression to be NOT'ed (that is, inverted, complemented). + /// + /// It must include a dimension_filter. This cannot be set on the top level + /// ExpandedDataSetFilterExpression. + GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression? notExpression; + + GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression({ + this.andGroup, + this.filter, + this.notExpression, + }); + + GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression.fromJson( + core.Map json_) + : this( + andGroup: json_.containsKey('andGroup') + ? GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList + .fromJson( + json_['andGroup'] as core.Map) + : null, + filter: json_.containsKey('filter') + ? GoogleAnalyticsAdminV1alphaExpandedDataSetFilter.fromJson( + json_['filter'] as core.Map) + : null, + notExpression: json_.containsKey('notExpression') + ? GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression + .fromJson(json_['notExpression'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (andGroup != null) 'andGroup': andGroup!, + if (filter != null) 'filter': filter!, + if (notExpression != null) 'notExpression': notExpression!, + }; +} + +/// A list of ExpandedDataSet filter expressions. +class GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList { + /// A list of ExpandedDataSet filter expressions. + core.List? + filterExpressions; + + GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList({ + this.filterExpressions, + }); + + GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList.fromJson( + core.Map json_) + : this( + filterExpressions: json_.containsKey('filterExpressions') + ? (json_['filterExpressions'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (filterExpressions != null) 'filterExpressions': filterExpressions!, + }; +} + +/// A filter for a string dimension that matches a particular list of options. +class GoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter { + /// If true, the match is case-sensitive. + /// + /// If false, the match is case-insensitive. Must be true. + /// + /// Optional. + core.bool? caseSensitive; + + /// The list of possible string values to match against. + /// + /// Must be non-empty. + /// + /// Required. + core.List? values; + + GoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter({ + this.caseSensitive, + this.values, + }); + + GoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter.fromJson( + core.Map json_) + : this( + caseSensitive: json_.containsKey('caseSensitive') + ? json_['caseSensitive'] as core.bool + : null, + values: json_.containsKey('values') + ? (json_['values'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (caseSensitive != null) 'caseSensitive': caseSensitive!, + if (values != null) 'values': values!, + }; +} + +/// A filter for a string-type dimension that matches a particular pattern. +class GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter { + /// If true, the match is case-sensitive. + /// + /// If false, the match is case-insensitive. Must be true when match_type is + /// EXACT. Must be false when match_type is CONTAINS. + /// + /// Optional. + core.bool? caseSensitive; + + /// The match type for the string filter. + /// + /// Required. + /// Possible string values are: + /// - "MATCH_TYPE_UNSPECIFIED" : Unspecified + /// - "EXACT" : Exact match of the string value. + /// - "CONTAINS" : Contains the string value. + core.String? matchType; + + /// The string value to be matched against. + /// + /// Required. + core.String? value; + + GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter({ + this.caseSensitive, + this.matchType, + this.value, + }); + + GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter.fromJson( + core.Map json_) + : this( + caseSensitive: json_.containsKey('caseSensitive') + ? json_['caseSensitive'] as core.bool + : null, + matchType: json_.containsKey('matchType') + ? json_['matchType'] as core.String + : null, + value: + json_.containsKey('value') ? json_['value'] as core.String : null, + ); + + core.Map toJson() => { + if (caseSensitive != null) 'caseSensitive': caseSensitive!, + if (matchType != null) 'matchType': matchType!, + if (value != null) 'value': value!, + }; +} + +/// Request for fetching the opt out status for the automated GA4 setup process. +class GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest { + /// The UA property to get the opt out status. + /// + /// Note this request uses the internal property ID, not the tracking ID of + /// the form UA-XXXXXX-YY. Format: properties/{internalWebPropertyId} Example: + /// properties/1234 + /// + /// Required. + core.String? property; + + GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest({ + this.property, + }); + + GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest.fromJson( + core.Map json_) + : this( + property: json_.containsKey('property') + ? json_['property'] as core.String + : null, + ); + + core.Map toJson() => { + if (property != null) 'property': property!, + }; +} + +/// Response message for fetching the opt out status for the automated GA4 setup +/// process. +class GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse { + /// The opt out status for the UA property. + core.bool? optOut; + + GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse({ + this.optOut, + }); + + GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse.fromJson( + core.Map json_) + : this( + optOut: + json_.containsKey('optOut') ? json_['optOut'] as core.bool : null, + ); + + core.Map toJson() => { + if (optOut != null) 'optOut': optOut!, + }; +} + +/// Response for looking up GA4 property connected to a UA property. +class GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse { + /// The GA4 property connected to the UA property. + /// + /// An empty string is returned when there is no connected GA4 property. + /// Format: properties/{property_id} Example: properties/1234 + core.String? property; + + GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse({ + this.property, + }); + + GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse.fromJson( + core.Map json_) + : this( + property: json_.containsKey('property') + ? json_['property'] as core.String + : null, + ); + + core.Map toJson() => { + if (property != null) 'property': property!, + }; +} + +/// A link between a GA4 property and a Firebase project. +typedef GoogleAnalyticsAdminV1alphaFirebaseLink = $FirebaseLink; + +/// Read-only resource with the tag for sending data from a website to a +/// DataStream. +/// +/// Only present for web DataStream resources. +class GoogleAnalyticsAdminV1alphaGlobalSiteTag { + /// Resource name for this GlobalSiteTag resource. + /// + /// Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag + /// Example: "properties/123/dataStreams/456/globalSiteTag" + /// + /// Output only. + core.String? name; + + /// JavaScript code snippet to be pasted as the first item into the head tag + /// of every webpage to measure. + /// + /// Immutable. + core.String? snippet; + + GoogleAnalyticsAdminV1alphaGlobalSiteTag({ + this.name, + this.snippet, + }); + + GoogleAnalyticsAdminV1alphaGlobalSiteTag.fromJson(core.Map json_) + : this( + name: json_.containsKey('name') ? json_['name'] as core.String : null, + snippet: json_.containsKey('snippet') + ? json_['snippet'] as core.String + : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + if (snippet != null) 'snippet': snippet!, + }; +} + +/// A link between a GA4 property and a Google Ads account. +typedef GoogleAnalyticsAdminV1alphaGoogleAdsLink = $GoogleAdsLink; + +/// Settings values for Google Signals. +/// +/// This is a singleton resource. +class GoogleAnalyticsAdminV1alphaGoogleSignalsSettings { + /// Terms of Service acceptance. + /// + /// Output only. + /// Possible string values are: + /// - "GOOGLE_SIGNALS_CONSENT_UNSPECIFIED" : Google Signals consent value + /// defaults to GOOGLE_SIGNALS_CONSENT_UNSPECIFIED. This will be treated as + /// GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED. + /// - "GOOGLE_SIGNALS_CONSENT_CONSENTED" : Terms of service have been accepted + /// - "GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED" : Terms of service have not been + /// accepted + core.String? consent; + + /// Resource name of this setting. + /// + /// Format: properties/{property_id}/googleSignalsSettings Example: + /// "properties/1000/googleSignalsSettings" + /// + /// Output only. + core.String? name; + + /// Status of this setting. + /// Possible string values are: + /// - "GOOGLE_SIGNALS_STATE_UNSPECIFIED" : Google Signals status defaults to + /// GOOGLE_SIGNALS_STATE_UNSPECIFIED to represent that the user has not made + /// an explicit choice. + /// - "GOOGLE_SIGNALS_ENABLED" : Google Signals is enabled. + /// - "GOOGLE_SIGNALS_DISABLED" : Google Signals is disabled. + core.String? state; + + GoogleAnalyticsAdminV1alphaGoogleSignalsSettings({ + this.consent, + this.name, + this.state, + }); + + GoogleAnalyticsAdminV1alphaGoogleSignalsSettings.fromJson(core.Map json_) + : this( + consent: json_.containsKey('consent') + ? json_['consent'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + state: + json_.containsKey('state') ? json_['state'] as core.String : null, + ); + + core.Map toJson() => { + if (consent != null) 'consent': consent!, + if (name != null) 'name': name!, + if (state != null) 'state': state!, + }; +} + +/// The rules that govern how traffic is grouped into one channel. +class GoogleAnalyticsAdminV1alphaGroupingRule { + /// Customer defined display name for the channel. + /// + /// Required. + core.String? displayName; + + /// The Filter Expression that defines the Grouping Rule. + /// + /// Required. + GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression? expression; + + GoogleAnalyticsAdminV1alphaGroupingRule({ + this.displayName, + this.expression, + }); + + GoogleAnalyticsAdminV1alphaGroupingRule.fromJson(core.Map json_) + : this( + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + expression: json_.containsKey('expression') + ? GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression + .fromJson(json_['expression'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (expression != null) 'expression': expression!, + }; +} + +/// A key event in a Google Analytics property. +class GoogleAnalyticsAdminV1alphaKeyEvent { + /// The method by which Key Events will be counted across multiple events + /// within a session. + /// + /// Required. + /// Possible string values are: + /// - "COUNTING_METHOD_UNSPECIFIED" : Counting method not specified. + /// - "ONCE_PER_EVENT" : Each Event instance is considered a Key Event. + /// - "ONCE_PER_SESSION" : An Event instance is considered a Key Event at most + /// once per session per user. + core.String? countingMethod; + + /// Time when this key event was created in the property. + /// + /// Output only. + core.String? createTime; + + /// If set to true, this key event refers to a custom event. + /// + /// If set to false, this key event refers to a default event in GA. Default + /// events typically have special meaning in GA. Default events are usually + /// created for you by the GA system, but in some cases can be created by + /// property admins. Custom events count towards the maximum number of custom + /// key events that may be created per property. + /// + /// Output only. + core.bool? custom; + + /// Defines a default value/currency for a key event. + /// + /// Optional. + GoogleAnalyticsAdminV1alphaKeyEventDefaultValue? defaultValue; + + /// If set to true, this event can be deleted. + /// + /// Output only. + core.bool? deletable; + + /// The event name for this key event. + /// + /// Examples: 'click', 'purchase' + /// + /// Immutable. + core.String? eventName; + + /// Resource name of this key event. + /// + /// Format: properties/{property}/keyEvents/{key_event} + /// + /// Output only. + core.String? name; + + GoogleAnalyticsAdminV1alphaKeyEvent({ + this.countingMethod, + this.createTime, + this.custom, + this.defaultValue, + this.deletable, + this.eventName, + this.name, + }); + + GoogleAnalyticsAdminV1alphaKeyEvent.fromJson(core.Map json_) + : this( + countingMethod: json_.containsKey('countingMethod') + ? json_['countingMethod'] as core.String + : null, + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + custom: + json_.containsKey('custom') ? json_['custom'] as core.bool : null, + defaultValue: json_.containsKey('defaultValue') + ? GoogleAnalyticsAdminV1alphaKeyEventDefaultValue.fromJson( + json_['defaultValue'] as core.Map) + : null, + deletable: json_.containsKey('deletable') + ? json_['deletable'] as core.bool + : null, + eventName: json_.containsKey('eventName') + ? json_['eventName'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + ); + + core.Map toJson() => { + if (countingMethod != null) 'countingMethod': countingMethod!, + if (createTime != null) 'createTime': createTime!, + if (custom != null) 'custom': custom!, + if (defaultValue != null) 'defaultValue': defaultValue!, + if (deletable != null) 'deletable': deletable!, + if (eventName != null) 'eventName': eventName!, + if (name != null) 'name': name!, + }; +} + +/// Defines a default value/currency for a key event. +typedef GoogleAnalyticsAdminV1alphaKeyEventDefaultValue = $KeyEventDefaultValue; + +/// Status information for a link proposal. +class GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails { + /// The source of this proposal. + /// + /// Output only. + /// Possible string values are: + /// - "LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED" : Unspecified product. + /// - "GOOGLE_ANALYTICS" : This proposal was created by a user from Google + /// Analytics. + /// - "LINKED_PRODUCT" : This proposal was created by a user from a linked + /// product (not Google Analytics). + core.String? linkProposalInitiatingProduct; + + /// The state of this proposal. + /// + /// Output only. + /// Possible string values are: + /// - "LINK_PROPOSAL_STATE_UNSPECIFIED" : Unspecified state + /// - "AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS" : This proposal is awaiting + /// review from a Google Analytics user. This proposal will automatically + /// expire after some time. + /// - "AWAITING_REVIEW_FROM_LINKED_PRODUCT" : This proposal is awaiting review + /// from a user of a linked product. This proposal will automatically expire + /// after some time. + /// - "WITHDRAWN" : This proposal has been withdrawn by an admin on the + /// initiating product. This proposal will be automatically deleted after some + /// time. + /// - "DECLINED" : This proposal has been declined by an admin on the + /// receiving product. This proposal will be automatically deleted after some + /// time. + /// - "EXPIRED" : This proposal expired due to lack of response from an admin + /// on the receiving product. This proposal will be automatically deleted + /// after some time. + /// - "OBSOLETE" : This proposal has become obsolete because a link was + /// directly created to the same external product resource that this proposal + /// specifies. This proposal will be automatically deleted after some time. + core.String? linkProposalState; + + /// The email address of the user that proposed this linkage. + /// + /// Output only. + core.String? requestorEmail; + + GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails({ + this.linkProposalInitiatingProduct, + this.linkProposalState, + this.requestorEmail, + }); + + GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails.fromJson(core.Map json_) + : this( + linkProposalInitiatingProduct: + json_.containsKey('linkProposalInitiatingProduct') + ? json_['linkProposalInitiatingProduct'] as core.String + : null, + linkProposalState: json_.containsKey('linkProposalState') + ? json_['linkProposalState'] as core.String + : null, + requestorEmail: json_.containsKey('requestorEmail') + ? json_['requestorEmail'] as core.String + : null, + ); + + core.Map toJson() => { + if (linkProposalInitiatingProduct != null) + 'linkProposalInitiatingProduct': linkProposalInitiatingProduct!, + if (linkProposalState != null) 'linkProposalState': linkProposalState!, + if (requestorEmail != null) 'requestorEmail': requestorEmail!, + }; +} + +/// Response message for ListAccessBindings RPC. +class GoogleAnalyticsAdminV1alphaListAccessBindingsResponse { + /// List of AccessBindings. + /// + /// These will be ordered stably, but in an arbitrary order. + core.List? accessBindings; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListAccessBindingsResponse({ + this.accessBindings, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListAccessBindingsResponse.fromJson(core.Map json_) + : this( + accessBindings: json_.containsKey('accessBindings') + ? (json_['accessBindings'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAccessBinding.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (accessBindings != null) 'accessBindings': accessBindings!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListAccountSummaries RPC. +class GoogleAnalyticsAdminV1alphaListAccountSummariesResponse { + /// Account summaries of all accounts the caller has access to. + core.List? accountSummaries; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListAccountSummariesResponse({ + this.accountSummaries, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListAccountSummariesResponse.fromJson( + core.Map json_) + : this( + accountSummaries: json_.containsKey('accountSummaries') + ? (json_['accountSummaries'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAccountSummary.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (accountSummaries != null) 'accountSummaries': accountSummaries!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Request message for ListAccounts RPC. +class GoogleAnalyticsAdminV1alphaListAccountsResponse { + /// Results that were accessible to the caller. + core.List? accounts; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListAccountsResponse({ + this.accounts, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListAccountsResponse.fromJson(core.Map json_) + : this( + accounts: json_.containsKey('accounts') + ? (json_['accounts'] as core.List) + .map((value) => GoogleAnalyticsAdminV1alphaAccount.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 ListAdSenseLinks method. +class GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse { + /// List of AdSenseLinks. + core.List? adsenseLinks; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse({ + this.adsenseLinks, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse.fromJson(core.Map json_) + : this( + adsenseLinks: json_.containsKey('adsenseLinks') + ? (json_['adsenseLinks'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAdSenseLink.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (adsenseLinks != null) 'adsenseLinks': adsenseLinks!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListAudiences RPC. +class GoogleAnalyticsAdminV1alphaListAudiencesResponse { + /// List of Audiences. + core.List? audiences; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListAudiencesResponse({ + this.audiences, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListAudiencesResponse.fromJson(core.Map json_) + : this( + audiences: json_.containsKey('audiences') + ? (json_['audiences'] as core.List) + .map((value) => GoogleAnalyticsAdminV1alphaAudience.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (audiences != null) 'audiences': audiences!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListBigQueryLinks RPC +class GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse { + /// List of BigQueryLinks. + core.List? bigqueryLinks; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse({ + this.bigqueryLinks, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse.fromJson(core.Map json_) + : this( + bigqueryLinks: json_.containsKey('bigqueryLinks') + ? (json_['bigqueryLinks'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaBigQueryLink.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (bigqueryLinks != null) 'bigqueryLinks': bigqueryLinks!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListCalculatedMetrics RPC. +class GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse { + /// List of CalculatedMetrics. + core.List? calculatedMetrics; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse({ + this.calculatedMetrics, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse.fromJson( + core.Map json_) + : this( + calculatedMetrics: json_.containsKey('calculatedMetrics') + ? (json_['calculatedMetrics'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaCalculatedMetric.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (calculatedMetrics != null) 'calculatedMetrics': calculatedMetrics!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListChannelGroups RPC. +class GoogleAnalyticsAdminV1alphaListChannelGroupsResponse { + /// List of ChannelGroup. + /// + /// These will be ordered stably, but in an arbitrary order. + core.List? channelGroups; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListChannelGroupsResponse({ + this.channelGroups, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListChannelGroupsResponse.fromJson(core.Map json_) + : this( + channelGroups: json_.containsKey('channelGroups') + ? (json_['channelGroups'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaChannelGroup.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (channelGroups != null) 'channelGroups': channelGroups!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Request message for ListConnectedSiteTags RPC. +class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest { + /// The Universal Analytics property to fetch connected site tags for. + /// + /// This does not work on GA4 properties. A maximum of 20 connected site tags + /// will be returned. Example Format: `properties/1234` + core.String? property; + + GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest({ + this.property, + }); + + GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest.fromJson( + core.Map json_) + : this( + property: json_.containsKey('property') + ? json_['property'] as core.String + : null, + ); + + core.Map toJson() => { + if (property != null) 'property': property!, + }; +} + +/// Response message for ListConnectedSiteTags RPC. +class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse { + /// The site tags for the Universal Analytics property. + /// + /// A maximum of 20 connected site tags will be returned. + core.List? connectedSiteTags; + + GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse({ + this.connectedSiteTags, + }); + + GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse.fromJson( + core.Map json_) + : this( + connectedSiteTags: json_.containsKey('connectedSiteTags') + ? (json_['connectedSiteTags'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaConnectedSiteTag.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (connectedSiteTags != null) 'connectedSiteTags': connectedSiteTags!, + }; +} + +/// Response message for ListConversionEvents RPC. +class GoogleAnalyticsAdminV1alphaListConversionEventsResponse { + /// The requested conversion events + core.List? conversionEvents; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListConversionEventsResponse({ + this.conversionEvents, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListConversionEventsResponse.fromJson( + core.Map json_) + : this( + conversionEvents: json_.containsKey('conversionEvents') + ? (json_['conversionEvents'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaConversionEvent.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (conversionEvents != null) 'conversionEvents': conversionEvents!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListCustomDimensions RPC. +class GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse { + /// List of CustomDimensions. + core.List? customDimensions; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse({ + this.customDimensions, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse.fromJson( + core.Map json_) + : this( + customDimensions: json_.containsKey('customDimensions') + ? (json_['customDimensions'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaCustomDimension.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (customDimensions != null) 'customDimensions': customDimensions!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListCustomMetrics RPC. +class GoogleAnalyticsAdminV1alphaListCustomMetricsResponse { + /// List of CustomMetrics. + core.List? customMetrics; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListCustomMetricsResponse({ + this.customMetrics, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListCustomMetricsResponse.fromJson(core.Map json_) + : this( + customMetrics: json_.containsKey('customMetrics') + ? (json_['customMetrics'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaCustomMetric.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (customMetrics != null) 'customMetrics': customMetrics!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListDataStreams RPC. +class GoogleAnalyticsAdminV1alphaListDataStreamsResponse { + /// List of DataStreams. + core.List? dataStreams; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListDataStreamsResponse({ + this.dataStreams, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListDataStreamsResponse.fromJson(core.Map json_) + : this( + dataStreams: json_.containsKey('dataStreams') + ? (json_['dataStreams'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaDataStream.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (dataStreams != null) 'dataStreams': dataStreams!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListDisplayVideo360AdvertiserLinkProposals RPC. +class GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse { + /// List of DisplayVideo360AdvertiserLinkProposals. + core.List? + displayVideo360AdvertiserLinkProposals; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse({ + this.displayVideo360AdvertiserLinkProposals, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse.fromJson( + core.Map json_) + : this( + displayVideo360AdvertiserLinkProposals: json_ + .containsKey('displayVideo360AdvertiserLinkProposals') + ? (json_['displayVideo360AdvertiserLinkProposals'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal + .fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (displayVideo360AdvertiserLinkProposals != null) + 'displayVideo360AdvertiserLinkProposals': + displayVideo360AdvertiserLinkProposals!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListDisplayVideo360AdvertiserLinks RPC. +class GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse { + /// List of DisplayVideo360AdvertiserLinks. + core.List? + displayVideo360AdvertiserLinks; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse({ + this.displayVideo360AdvertiserLinks, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse.fromJson( + core.Map json_) + : this( + displayVideo360AdvertiserLinks: json_ + .containsKey('displayVideo360AdvertiserLinks') + ? (json_['displayVideo360AdvertiserLinks'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink + .fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (displayVideo360AdvertiserLinks != null) + 'displayVideo360AdvertiserLinks': displayVideo360AdvertiserLinks!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListEventCreateRules RPC. +class GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse { + /// List of EventCreateRules. + /// + /// These will be ordered stably, but in an arbitrary order. + core.List? eventCreateRules; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse({ + this.eventCreateRules, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse.fromJson( + core.Map json_) + : this( + eventCreateRules: json_.containsKey('eventCreateRules') + ? (json_['eventCreateRules'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaEventCreateRule.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (eventCreateRules != null) 'eventCreateRules': eventCreateRules!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListExpandedDataSets RPC. +class GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse { + /// List of ExpandedDataSet. + /// + /// These will be ordered stably, but in an arbitrary order. + core.List? expandedDataSets; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse({ + this.expandedDataSets, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse.fromJson( + core.Map json_) + : this( + expandedDataSets: json_.containsKey('expandedDataSets') + ? (json_['expandedDataSets'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaExpandedDataSet.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (expandedDataSets != null) 'expandedDataSets': expandedDataSets!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListFirebaseLinks RPC +class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse { + /// List of FirebaseLinks. + /// + /// This will have at most one value. + core.List? firebaseLinks; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. Currently, Google + /// Analytics supports only one FirebaseLink per property, so this will never + /// be populated. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse({ + this.firebaseLinks, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse.fromJson(core.Map json_) + : this( + firebaseLinks: json_.containsKey('firebaseLinks') + ? (json_['firebaseLinks'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaFirebaseLink.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (firebaseLinks != null) 'firebaseLinks': firebaseLinks!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListGoogleAdsLinks RPC. +class GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse { + /// List of GoogleAdsLinks. + core.List? googleAdsLinks; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse({ + this.googleAdsLinks, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse.fromJson(core.Map json_) + : this( + googleAdsLinks: json_.containsKey('googleAdsLinks') + ? (json_['googleAdsLinks'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaGoogleAdsLink.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (googleAdsLinks != null) 'googleAdsLinks': googleAdsLinks!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListKeyEvents RPC. +class GoogleAnalyticsAdminV1alphaListKeyEventsResponse { + /// The requested Key Events + core.List? keyEvents; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListKeyEventsResponse({ + this.keyEvents, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListKeyEventsResponse.fromJson(core.Map json_) + : this( + keyEvents: json_.containsKey('keyEvents') + ? (json_['keyEvents'] as core.List) + .map((value) => GoogleAnalyticsAdminV1alphaKeyEvent.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (keyEvents != null) 'keyEvents': keyEvents!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListMeasurementProtocolSecret RPC +class GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse { + /// A list of secrets for the parent stream specified in the request. + core.List? + measurementProtocolSecrets; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse({ + this.measurementProtocolSecrets, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse.fromJson( + core.Map json_) + : this( + measurementProtocolSecrets: json_ + .containsKey('measurementProtocolSecrets') + ? (json_['measurementProtocolSecrets'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret + .fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (measurementProtocolSecrets != null) + 'measurementProtocolSecrets': measurementProtocolSecrets!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Response message for ListProperties RPC. +class GoogleAnalyticsAdminV1alphaListPropertiesResponse { + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + /// Results that matched the filter criteria and were accessible to the + /// caller. + core.List? properties; + + GoogleAnalyticsAdminV1alphaListPropertiesResponse({ + this.nextPageToken, + this.properties, + }); + + GoogleAnalyticsAdminV1alphaListPropertiesResponse.fromJson(core.Map json_) + : this( + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + properties: json_.containsKey('properties') + ? (json_['properties'] as core.List) + .map((value) => GoogleAnalyticsAdminV1alphaProperty.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (properties != null) 'properties': properties!, + }; +} + +/// Response message for ListRollupPropertySourceLinks RPC. +class GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse { + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + /// List of RollupPropertySourceLinks. + core.List? + rollupPropertySourceLinks; + + GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse({ + this.nextPageToken, + this.rollupPropertySourceLinks, + }); + + GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse.fromJson( + core.Map json_) + : this( + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + rollupPropertySourceLinks: + json_.containsKey('rollupPropertySourceLinks') + ? (json_['rollupPropertySourceLinks'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaRollupPropertySourceLink + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (rollupPropertySourceLinks != null) + 'rollupPropertySourceLinks': rollupPropertySourceLinks!, + }; +} + +/// Response message for ListSKAdNetworkConversionValueSchemas RPC +class GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse { + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. Currently, Google + /// Analytics supports only one SKAdNetworkConversionValueSchema per + /// dataStream, so this will never be populated. + core.String? nextPageToken; + + /// List of SKAdNetworkConversionValueSchemas. + /// + /// This will have at most one value. + core.List? + skadnetworkConversionValueSchemas; + + GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse({ + this.nextPageToken, + this.skadnetworkConversionValueSchemas, + }); + + GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse.fromJson( + core.Map json_) + : this( + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + skadnetworkConversionValueSchemas: json_ + .containsKey('skadnetworkConversionValueSchemas') + ? (json_['skadnetworkConversionValueSchemas'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (skadnetworkConversionValueSchemas != null) + 'skadnetworkConversionValueSchemas': + skadnetworkConversionValueSchemas!, + }; +} + +/// Response message for ListSearchAds360Links RPC. +class GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse { + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + /// List of SearchAds360Links. + core.List? searchAds360Links; + + GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse({ + this.nextPageToken, + this.searchAds360Links, + }); + + GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse.fromJson( + core.Map json_) + : this( + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + searchAds360Links: json_.containsKey('searchAds360Links') + ? (json_['searchAds360Links'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaSearchAds360Link.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (searchAds360Links != null) 'searchAds360Links': searchAds360Links!, + }; +} + +/// Response message for ListSubpropertyEventFilter RPC. +class GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse { + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + /// List of subproperty event filters. + core.List? + subpropertyEventFilters; + + GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse({ + this.nextPageToken, + this.subpropertyEventFilters, + }); + + GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse.fromJson( + core.Map json_) + : this( + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + subpropertyEventFilters: json_.containsKey('subpropertyEventFilters') + ? (json_['subpropertyEventFilters'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaSubpropertyEventFilter + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + if (subpropertyEventFilters != null) + 'subpropertyEventFilters': subpropertyEventFilters!, + }; +} + +/// Defines a condition for when an Event Edit or Event Creation rule applies to +/// an event. +class GoogleAnalyticsAdminV1alphaMatchingCondition { + /// The type of comparison to be applied to the value. + /// + /// Required. + /// Possible string values are: + /// - "COMPARISON_TYPE_UNSPECIFIED" : Unknown + /// - "EQUALS" : Equals, case sensitive + /// - "EQUALS_CASE_INSENSITIVE" : Equals, case insensitive + /// - "CONTAINS" : Contains, case sensitive + /// - "CONTAINS_CASE_INSENSITIVE" : Contains, case insensitive + /// - "STARTS_WITH" : Starts with, case sensitive + /// - "STARTS_WITH_CASE_INSENSITIVE" : Starts with, case insensitive + /// - "ENDS_WITH" : Ends with, case sensitive + /// - "ENDS_WITH_CASE_INSENSITIVE" : Ends with, case insensitive + /// - "GREATER_THAN" : Greater than + /// - "GREATER_THAN_OR_EQUAL" : Greater than or equal + /// - "LESS_THAN" : Less than + /// - "LESS_THAN_OR_EQUAL" : Less than or equal + /// - "REGULAR_EXPRESSION" : regular expression. Only supported for web + /// streams. + /// - "REGULAR_EXPRESSION_CASE_INSENSITIVE" : regular expression, case + /// insensitive. Only supported for web streams. + core.String? comparisonType; + + /// The name of the field that is compared against for the condition. + /// + /// If 'event_name' is specified this condition will apply to the name of the + /// event. Otherwise the condition will apply to a parameter with the + /// specified name. This value cannot contain spaces. + /// + /// Required. + core.String? field; + + /// Whether or not the result of the comparison should be negated. + /// + /// For example, if `negated` is true, then 'equals' comparisons would + /// function as 'not equals'. + core.bool? negated; + + /// The value being compared against for this condition. + /// + /// The runtime implementation may perform type coercion of this value to + /// evaluate this condition based on the type of the parameter value. + /// + /// Required. + core.String? value; + + GoogleAnalyticsAdminV1alphaMatchingCondition({ + this.comparisonType, + this.field, + this.negated, + this.value, + }); + + GoogleAnalyticsAdminV1alphaMatchingCondition.fromJson(core.Map json_) + : this( + comparisonType: json_.containsKey('comparisonType') + ? json_['comparisonType'] as core.String + : null, + field: + json_.containsKey('field') ? json_['field'] as core.String : null, + negated: json_.containsKey('negated') + ? json_['negated'] as core.bool + : null, + value: + json_.containsKey('value') ? json_['value'] as core.String : null, + ); + + core.Map toJson() => { + if (comparisonType != null) 'comparisonType': comparisonType!, + if (field != null) 'field': field!, + if (negated != null) 'negated': negated!, + if (value != null) 'value': value!, + }; +} + +/// A secret value used for sending hits to Measurement Protocol. +typedef GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret + = $MeasurementProtocolSecret; + +/// To represent a number. +typedef GoogleAnalyticsAdminV1alphaNumericValue = $NumericValue; + +/// Defines an event parameter to mutate. +class GoogleAnalyticsAdminV1alphaParameterMutation { + /// The name of the parameter to mutate. + /// + /// This value must: * be less than 40 characters. * be unique across across + /// all mutations within the rule * consist only of letters, digits or _ + /// (underscores) For event edit rules, the name may also be set to + /// 'event_name' to modify the event_name in place. + /// + /// Required. + core.String? parameter; + + /// The value mutation to perform. + /// + /// * Must be less than 100 characters. * To specify a constant value for the + /// param, use the value's string. * To copy value from another parameter, use + /// syntax like "\[\[other_parameter\]\]" For more details, see this + /// [help center article](https://support.google.com/analytics/answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters). + /// + /// Required. + core.String? parameterValue; + + GoogleAnalyticsAdminV1alphaParameterMutation({ + this.parameter, + this.parameterValue, + }); + + GoogleAnalyticsAdminV1alphaParameterMutation.fromJson(core.Map json_) + : this( + parameter: json_.containsKey('parameter') + ? json_['parameter'] as core.String + : null, + parameterValue: json_.containsKey('parameterValue') + ? json_['parameterValue'] as core.String + : null, + ); + + core.Map toJson() => { + if (parameter != null) 'parameter': parameter!, + if (parameterValue != null) 'parameterValue': parameterValue!, + }; +} + +/// Settings for a SKAdNetwork conversion postback window. +class GoogleAnalyticsAdminV1alphaPostbackWindow { + /// Ordering of the repeated field will be used to prioritize the conversion + /// value settings. + /// + /// Lower indexed entries are prioritized higher. The first conversion value + /// setting that evaluates to true will be selected. It must have at least one + /// entry if enable_postback_window_settings is set to true. It can have + /// maximum of 128 entries. + core.List? conversionValues; + + /// If enable_postback_window_settings is true, conversion_values must be + /// populated and will be used for determining when and how to set the + /// Conversion Value on a client device and exporting schema to linked Ads + /// accounts. + /// + /// If false, the settings are not used, but are retained in case they may be + /// used in the future. This must always be true for postback_window_one. + core.bool? postbackWindowSettingsEnabled; + + GoogleAnalyticsAdminV1alphaPostbackWindow({ + this.conversionValues, + this.postbackWindowSettingsEnabled, + }); + + GoogleAnalyticsAdminV1alphaPostbackWindow.fromJson(core.Map json_) + : this( + conversionValues: json_.containsKey('conversionValues') + ? (json_['conversionValues'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaConversionValues.fromJson( + value as core.Map)) + .toList() + : null, + postbackWindowSettingsEnabled: + json_.containsKey('postbackWindowSettingsEnabled') + ? json_['postbackWindowSettingsEnabled'] as core.bool + : null, + ); + + core.Map toJson() => { + if (conversionValues != null) 'conversionValues': conversionValues!, + if (postbackWindowSettingsEnabled != null) + 'postbackWindowSettingsEnabled': postbackWindowSettingsEnabled!, + }; +} + +/// A resource message representing a Google Analytics GA4 property. +typedef GoogleAnalyticsAdminV1alphaProperty = $Property; + +/// A virtual resource representing metadata for a GA4 property. +typedef GoogleAnalyticsAdminV1alphaPropertySummary = $PropertySummary; + +/// Request message for ProvisionAccountTicket RPC. +class GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest { + /// The account to create. + GoogleAnalyticsAdminV1alphaAccount? account; + + /// Redirect URI where the user will be sent after accepting Terms of Service. + /// + /// Must be configured in Cloud Console as a Redirect URI. + core.String? redirectUri; + + GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest({ + this.account, + this.redirectUri, + }); + + GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest.fromJson( + core.Map json_) + : this( + account: json_.containsKey('account') + ? GoogleAnalyticsAdminV1alphaAccount.fromJson( + json_['account'] as core.Map) + : null, + redirectUri: json_.containsKey('redirectUri') + ? json_['redirectUri'] as core.String + : null, + ); + + core.Map toJson() => { + if (account != null) 'account': account!, + if (redirectUri != null) 'redirectUri': redirectUri!, + }; +} + +/// Response message for ProvisionAccountTicket RPC. +typedef GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse + = $ProvisionAccountTicketResponse; + +/// A link that references a source property under the parent rollup property. +class GoogleAnalyticsAdminV1alphaRollupPropertySourceLink { + /// Resource name of this RollupPropertySourceLink. + /// + /// Format: + /// 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' + /// Format: 'properties/123/rollupPropertySourceLinks/456' + /// + /// Output only. + core.String? name; + + /// Resource name of the source property. + /// + /// Format: properties/{property_id} Example: "properties/789" + /// + /// Immutable. + core.String? sourceProperty; + + GoogleAnalyticsAdminV1alphaRollupPropertySourceLink({ + this.name, + this.sourceProperty, + }); + + GoogleAnalyticsAdminV1alphaRollupPropertySourceLink.fromJson(core.Map json_) + : this( + name: json_.containsKey('name') ? json_['name'] as core.String : null, + sourceProperty: json_.containsKey('sourceProperty') + ? json_['sourceProperty'] as core.String + : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + if (sourceProperty != null) 'sourceProperty': sourceProperty!, + }; +} + +/// The request for a Data Access Record Report. +class GoogleAnalyticsAdminV1alphaRunAccessReportRequest { + /// Date ranges of access records to read. + /// + /// If multiple date ranges are requested, each response row will contain a + /// zero based date range index. If two date ranges overlap, the access + /// records for the overlapping days is included in the response rows for both + /// date ranges. Requests are allowed up to 2 date ranges. + core.List? dateRanges; + + /// Dimension filters let you restrict report response to specific dimension + /// values which match the filter. + /// + /// For example, filtering on access records of a single user. To learn more, + /// see + /// [Fundamentals of Dimension Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + /// for examples. Metrics cannot be used in this filter. + GoogleAnalyticsAdminV1alphaAccessFilterExpression? dimensionFilter; + + /// The dimensions requested and displayed in the response. + /// + /// Requests are allowed up to 9 dimensions. + core.List? dimensions; + + /// Decides whether to return the users within user groups. + /// + /// This field works only when include_all_users is set to true. If true, it + /// will return all users with access to the specified property or account. If + /// false, only the users with direct access will be returned. + /// + /// Optional. + core.bool? expandGroups; + + /// Determines whether to include users who have never made an API call in the + /// response. + /// + /// If true, all users with access to the specified property or account are + /// included in the response, regardless of whether they have made an API call + /// or not. If false, only the users who have made an API call will be + /// included. + /// + /// Optional. + core.bool? includeAllUsers; + + /// The number of rows to return. + /// + /// If unspecified, 10,000 rows are returned. The API returns a maximum of + /// 100,000 rows per request, no matter how many you ask for. `limit` must be + /// positive. The API may return fewer rows than the requested `limit`, if + /// there aren't as many remaining rows as the `limit`. For instance, there + /// are fewer than 300 possible values for the dimension `country`, so when + /// reporting on only `country`, you can't get more than 300 rows, even if you + /// set `limit` to a higher value. To learn more about this pagination + /// parameter, see + /// [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + core.String? limit; + + /// Metric filters allow you to restrict report response to specific metric + /// values which match the filter. + /// + /// Metric filters are applied after aggregating the report's rows, similar to + /// SQL having-clause. Dimensions cannot be used in this filter. + GoogleAnalyticsAdminV1alphaAccessFilterExpression? metricFilter; + + /// The metrics requested and displayed in the response. + /// + /// Requests are allowed up to 10 metrics. + core.List? metrics; + + /// The row count of the start row. + /// + /// The first row is counted as row 0. If offset is unspecified, it is treated + /// as 0. If offset is zero, then this method will return the first page of + /// results with `limit` entries. To learn more about this pagination + /// parameter, see + /// [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + core.String? offset; + + /// Specifies how rows are ordered in the response. + core.List? orderBys; + + /// Toggles whether to return the current state of this Analytics Property's + /// quota. + /// + /// Quota is returned in \[AccessQuota\](#AccessQuota). For account-level + /// requests, this field must be false. + core.bool? returnEntityQuota; + + /// This request's time zone if specified. + /// + /// If unspecified, the property's time zone is used. The request's time zone + /// is used to interpret the start & end dates of the report. Formatted as + /// strings from the IANA Time Zone database + /// (https://www.iana.org/time-zones); for example "America/New_York" or + /// "Asia/Tokyo". + core.String? timeZone; + + GoogleAnalyticsAdminV1alphaRunAccessReportRequest({ + this.dateRanges, + this.dimensionFilter, + this.dimensions, + this.expandGroups, + this.includeAllUsers, + this.limit, + this.metricFilter, + this.metrics, + this.offset, + this.orderBys, + this.returnEntityQuota, + this.timeZone, + }); + + GoogleAnalyticsAdminV1alphaRunAccessReportRequest.fromJson(core.Map json_) + : this( + dateRanges: json_.containsKey('dateRanges') + ? (json_['dateRanges'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAccessDateRange.fromJson( + value as core.Map)) + .toList() + : null, + dimensionFilter: json_.containsKey('dimensionFilter') + ? GoogleAnalyticsAdminV1alphaAccessFilterExpression.fromJson( + json_['dimensionFilter'] + as core.Map) + : null, + dimensions: json_.containsKey('dimensions') + ? (json_['dimensions'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAccessDimension.fromJson( + value as core.Map)) + .toList() + : null, + expandGroups: json_.containsKey('expandGroups') + ? json_['expandGroups'] as core.bool + : null, + includeAllUsers: json_.containsKey('includeAllUsers') + ? json_['includeAllUsers'] as core.bool + : null, + limit: + json_.containsKey('limit') ? json_['limit'] as core.String : null, + metricFilter: json_.containsKey('metricFilter') + ? GoogleAnalyticsAdminV1alphaAccessFilterExpression.fromJson( + json_['metricFilter'] as core.Map) + : null, + metrics: json_.containsKey('metrics') + ? (json_['metrics'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAccessMetric.fromJson( + value as core.Map)) + .toList() + : null, + offset: json_.containsKey('offset') + ? json_['offset'] as core.String + : null, + orderBys: json_.containsKey('orderBys') + ? (json_['orderBys'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAccessOrderBy.fromJson( + value as core.Map)) + .toList() + : null, + returnEntityQuota: json_.containsKey('returnEntityQuota') + ? json_['returnEntityQuota'] as core.bool + : null, + timeZone: json_.containsKey('timeZone') + ? json_['timeZone'] as core.String + : null, + ); + + core.Map toJson() => { + if (dateRanges != null) 'dateRanges': dateRanges!, + if (dimensionFilter != null) 'dimensionFilter': dimensionFilter!, + if (dimensions != null) 'dimensions': dimensions!, + if (expandGroups != null) 'expandGroups': expandGroups!, + if (includeAllUsers != null) 'includeAllUsers': includeAllUsers!, + if (limit != null) 'limit': limit!, + if (metricFilter != null) 'metricFilter': metricFilter!, + if (metrics != null) 'metrics': metrics!, + if (offset != null) 'offset': offset!, + if (orderBys != null) 'orderBys': orderBys!, + if (returnEntityQuota != null) 'returnEntityQuota': returnEntityQuota!, + if (timeZone != null) 'timeZone': timeZone!, + }; +} + +/// The customized Data Access Record Report response. +class GoogleAnalyticsAdminV1alphaRunAccessReportResponse { + /// The header for a column in the report that corresponds to a specific + /// dimension. + /// + /// The number of DimensionHeaders and ordering of DimensionHeaders matches + /// the dimensions present in rows. + core.List? dimensionHeaders; + + /// The header for a column in the report that corresponds to a specific + /// metric. + /// + /// The number of MetricHeaders and ordering of MetricHeaders matches the + /// metrics present in rows. + core.List? metricHeaders; + + /// The quota state for this Analytics property including this request. + /// + /// This field doesn't work with account-level requests. + GoogleAnalyticsAdminV1alphaAccessQuota? quota; + + /// The total number of rows in the query result. + /// + /// `rowCount` is independent of the number of rows returned in the response, + /// the `limit` request parameter, and the `offset` request parameter. For + /// example if a query returns 175 rows and includes `limit` of 50 in the API + /// request, the response will contain `rowCount` of 175 but only 50 rows. To + /// learn more about this pagination parameter, see + /// [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + core.int? rowCount; + + /// Rows of dimension value combinations and metric values in the report. + core.List? rows; + + GoogleAnalyticsAdminV1alphaRunAccessReportResponse({ + this.dimensionHeaders, + this.metricHeaders, + this.quota, + this.rowCount, + this.rows, + }); + + GoogleAnalyticsAdminV1alphaRunAccessReportResponse.fromJson(core.Map json_) + : this( + dimensionHeaders: json_.containsKey('dimensionHeaders') + ? (json_['dimensionHeaders'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAccessDimensionHeader.fromJson( + value as core.Map)) + .toList() + : null, + metricHeaders: json_.containsKey('metricHeaders') + ? (json_['metricHeaders'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaAccessMetricHeader.fromJson( + value as core.Map)) + .toList() + : null, + quota: json_.containsKey('quota') + ? GoogleAnalyticsAdminV1alphaAccessQuota.fromJson( + json_['quota'] as core.Map) + : null, + rowCount: json_.containsKey('rowCount') + ? json_['rowCount'] as core.int + : null, + rows: json_.containsKey('rows') + ? (json_['rows'] as core.List) + .map((value) => GoogleAnalyticsAdminV1alphaAccessRow.fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (dimensionHeaders != null) 'dimensionHeaders': dimensionHeaders!, + if (metricHeaders != null) 'metricHeaders': metricHeaders!, + if (quota != null) 'quota': quota!, + if (rowCount != null) 'rowCount': rowCount!, + if (rows != null) 'rows': rows!, + }; +} + +/// SKAdNetwork conversion value schema of an iOS stream. +class GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema { + /// If enabled, the GA SDK will set conversion values using this schema + /// definition, and schema will be exported to any Google Ads accounts linked + /// to this property. + /// + /// If disabled, the GA SDK will not automatically set conversion values, and + /// also the schema will not be exported to Ads. + core.bool? applyConversionValues; + + /// Resource name of the schema. + /// + /// This will be child of ONLY an iOS stream, and there can be at most one + /// such child under an iOS stream. Format: + /// properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema + /// + /// Output only. + core.String? name; + + /// The conversion value settings for the first postback window. + /// + /// These differ from values for postback window two and three in that they + /// contain a "Fine" grained conversion value (a numeric value). Conversion + /// values for this postback window must be set. The other windows are + /// optional and may inherit this window's settings if unset or disabled. + /// + /// Required. + GoogleAnalyticsAdminV1alphaPostbackWindow? postbackWindowOne; + + /// The conversion value settings for the third postback window. + /// + /// This field should only be set if the user chose to define different + /// conversion values for this postback window. It is allowed to configure + /// window 3 without setting window 2. In case window 1 & 2 settings are set + /// and enable_postback_window_settings for this postback window is set to + /// false, the schema will inherit settings from postback_window_two. + GoogleAnalyticsAdminV1alphaPostbackWindow? postbackWindowThree; + + /// The conversion value settings for the second postback window. + /// + /// This field should only be configured if there is a need to define + /// different conversion values for this postback window. If + /// enable_postback_window_settings is set to false for this postback window, + /// the values from postback_window_one will be used. + GoogleAnalyticsAdminV1alphaPostbackWindow? postbackWindowTwo; + + GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema({ + this.applyConversionValues, + this.name, + this.postbackWindowOne, + this.postbackWindowThree, + this.postbackWindowTwo, + }); + + GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema.fromJson( + core.Map json_) + : this( + applyConversionValues: json_.containsKey('applyConversionValues') + ? json_['applyConversionValues'] as core.bool + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + postbackWindowOne: json_.containsKey('postbackWindowOne') + ? GoogleAnalyticsAdminV1alphaPostbackWindow.fromJson( + json_['postbackWindowOne'] + as core.Map) + : null, + postbackWindowThree: json_.containsKey('postbackWindowThree') + ? GoogleAnalyticsAdminV1alphaPostbackWindow.fromJson( + json_['postbackWindowThree'] + as core.Map) + : null, + postbackWindowTwo: json_.containsKey('postbackWindowTwo') + ? GoogleAnalyticsAdminV1alphaPostbackWindow.fromJson( + json_['postbackWindowTwo'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (applyConversionValues != null) + 'applyConversionValues': applyConversionValues!, + if (name != null) 'name': name!, + if (postbackWindowOne != null) 'postbackWindowOne': postbackWindowOne!, + if (postbackWindowThree != null) + 'postbackWindowThree': postbackWindowThree!, + if (postbackWindowTwo != null) 'postbackWindowTwo': postbackWindowTwo!, + }; +} + +/// A link between a GA4 property and a Search Ads 360 entity. +class GoogleAnalyticsAdminV1alphaSearchAds360Link { + /// Enables personalized advertising features with this integration. + /// + /// If this field is not set on create, it will be defaulted to true. + core.bool? adsPersonalizationEnabled; + + /// The display name of the Search Ads 360 Advertiser. + /// + /// Allows users to easily identify the linked resource. + /// + /// Output only. + core.String? advertiserDisplayName; + + /// This field represents the Advertiser ID of the Search Ads 360 Advertiser. + /// + /// that has been linked. + /// + /// Immutable. + core.String? advertiserId; + + /// Enables the import of campaign data from Search Ads 360 into the GA4 + /// property. + /// + /// After link creation, this can only be updated from the Search Ads 360 + /// product. If this field is not set on create, it will be defaulted to true. + /// + /// Immutable. + core.bool? campaignDataSharingEnabled; + + /// Enables the import of cost data from Search Ads 360 to the GA4 property. + /// + /// This can only be enabled if campaign_data_sharing_enabled is enabled. + /// After link creation, this can only be updated from the Search Ads 360 + /// product. If this field is not set on create, it will be defaulted to true. + /// + /// Immutable. + core.bool? costDataSharingEnabled; + + /// The resource name for this SearchAds360Link resource. + /// + /// Format: properties/{propertyId}/searchAds360Links/{linkId} Note: linkId is + /// not the Search Ads 360 advertiser ID + /// + /// Output only. + core.String? name; + + /// Enables export of site stats with this integration. + /// + /// If this field is not set on create, it will be defaulted to true. + core.bool? siteStatsSharingEnabled; + + GoogleAnalyticsAdminV1alphaSearchAds360Link({ + this.adsPersonalizationEnabled, + this.advertiserDisplayName, + this.advertiserId, + this.campaignDataSharingEnabled, + this.costDataSharingEnabled, + this.name, + this.siteStatsSharingEnabled, + }); + + GoogleAnalyticsAdminV1alphaSearchAds360Link.fromJson(core.Map json_) + : this( + adsPersonalizationEnabled: + json_.containsKey('adsPersonalizationEnabled') + ? json_['adsPersonalizationEnabled'] as core.bool + : null, + advertiserDisplayName: json_.containsKey('advertiserDisplayName') + ? json_['advertiserDisplayName'] as core.String + : null, + advertiserId: json_.containsKey('advertiserId') + ? json_['advertiserId'] as core.String + : null, + campaignDataSharingEnabled: + json_.containsKey('campaignDataSharingEnabled') + ? json_['campaignDataSharingEnabled'] as core.bool + : null, + costDataSharingEnabled: json_.containsKey('costDataSharingEnabled') + ? json_['costDataSharingEnabled'] as core.bool + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + siteStatsSharingEnabled: json_.containsKey('siteStatsSharingEnabled') + ? json_['siteStatsSharingEnabled'] as core.bool + : null, + ); + + core.Map toJson() => { + if (adsPersonalizationEnabled != null) + 'adsPersonalizationEnabled': adsPersonalizationEnabled!, + if (advertiserDisplayName != null) + 'advertiserDisplayName': advertiserDisplayName!, + if (advertiserId != null) 'advertiserId': advertiserId!, + if (campaignDataSharingEnabled != null) + 'campaignDataSharingEnabled': campaignDataSharingEnabled!, + if (costDataSharingEnabled != null) + 'costDataSharingEnabled': costDataSharingEnabled!, + if (name != null) 'name': name!, + if (siteStatsSharingEnabled != null) + 'siteStatsSharingEnabled': siteStatsSharingEnabled!, + }; +} + +/// Request message for SearchChangeHistoryEvents RPC. +class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest { + /// If set, only return changes that match one or more of these types of + /// actions. + /// + /// Optional. + core.List? action; + + /// If set, only return changes if they are made by a user in this list. + /// + /// Optional. + core.List? actorEmail; + + /// If set, only return changes made after this time (inclusive). + /// + /// Optional. + core.String? earliestChangeTime; + + /// If set, only return changes made before this time (inclusive). + /// + /// Optional. + core.String? latestChangeTime; + + /// The maximum number of ChangeHistoryEvent items to return. + /// + /// The service may return fewer than this value, even if there are additional + /// pages. If unspecified, at most 50 items will be returned. The maximum + /// value is 200 (higher values will be coerced to the maximum). + /// + /// Optional. + core.int? pageSize; + + /// A page token, received from a previous `SearchChangeHistoryEvents` call. + /// + /// Provide this to retrieve the subsequent page. When paginating, all other + /// parameters provided to `SearchChangeHistoryEvents` must match the call + /// that provided the page token. + /// + /// Optional. + core.String? pageToken; + + /// Resource name for a child property. + /// + /// If set, only return changes made to this property or its child resources. + /// Format: properties/{propertyId} Example: "properties/100" + /// + /// Optional. + core.String? property; + + /// If set, only return changes if they are for a resource that matches at + /// least one of these types. + /// + /// Optional. + core.List? resourceType; + + GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest({ + this.action, + this.actorEmail, + this.earliestChangeTime, + this.latestChangeTime, + this.pageSize, + this.pageToken, + this.property, + this.resourceType, + }); + + GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest.fromJson( + core.Map json_) + : this( + action: json_.containsKey('action') + ? (json_['action'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + actorEmail: json_.containsKey('actorEmail') + ? (json_['actorEmail'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + earliestChangeTime: json_.containsKey('earliestChangeTime') + ? json_['earliestChangeTime'] as core.String + : null, + latestChangeTime: json_.containsKey('latestChangeTime') + ? json_['latestChangeTime'] as core.String + : null, + pageSize: json_.containsKey('pageSize') + ? json_['pageSize'] as core.int + : null, + pageToken: json_.containsKey('pageToken') + ? json_['pageToken'] as core.String + : null, + property: json_.containsKey('property') + ? json_['property'] as core.String + : null, + resourceType: json_.containsKey('resourceType') + ? (json_['resourceType'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + ); + + core.Map toJson() => { + if (action != null) 'action': action!, + if (actorEmail != null) 'actorEmail': actorEmail!, + if (earliestChangeTime != null) + 'earliestChangeTime': earliestChangeTime!, + if (latestChangeTime != null) 'latestChangeTime': latestChangeTime!, + if (pageSize != null) 'pageSize': pageSize!, + if (pageToken != null) 'pageToken': pageToken!, + if (property != null) 'property': property!, + if (resourceType != null) 'resourceType': resourceType!, + }; +} + +/// Response message for SearchAccounts RPC. +class GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse { + /// Results that were accessible to the caller. + core.List? changeHistoryEvents; + + /// A token, which can be sent as `page_token` to retrieve the next page. + /// + /// If this field is omitted, there are no subsequent pages. + core.String? nextPageToken; + + GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse({ + this.changeHistoryEvents, + this.nextPageToken, + }); + + GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse.fromJson( + core.Map json_) + : this( + changeHistoryEvents: json_.containsKey('changeHistoryEvents') + ? (json_['changeHistoryEvents'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaChangeHistoryEvent.fromJson( + value as core.Map)) + .toList() + : null, + nextPageToken: json_.containsKey('nextPageToken') + ? json_['nextPageToken'] as core.String + : null, + ); + + core.Map toJson() => { + if (changeHistoryEvents != null) + 'changeHistoryEvents': changeHistoryEvents!, + if (nextPageToken != null) 'nextPageToken': nextPageToken!, + }; +} + +/// Request for setting the opt out status for the automated GA4 setup process. +class GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest { + /// The status to set. + core.bool? optOut; + + /// The UA property to set the opt out status. + /// + /// Note this request uses the internal property ID, not the tracking ID of + /// the form UA-XXXXXX-YY. Format: properties/{internalWebPropertyId} Example: + /// properties/1234 + /// + /// Required. + core.String? property; + + GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest({ + this.optOut, + this.property, + }); + + GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest.fromJson( + core.Map json_) + : this( + optOut: + json_.containsKey('optOut') ? json_['optOut'] as core.bool : null, + property: json_.containsKey('property') + ? json_['property'] as core.String + : null, + ); + + core.Map toJson() => { + if (optOut != null) 'optOut': optOut!, + if (property != null) 'property': property!, + }; +} + +/// Response message for setting the opt out status for the automated GA4 setup +/// process. +typedef GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse + = $Empty; + +/// A resource message representing a GA4 Subproperty event filter. +class GoogleAnalyticsAdminV1alphaSubpropertyEventFilter { + /// Resource name of the Subproperty that uses this filter. + /// + /// Immutable. + core.String? applyToProperty; + + /// Unordered list. + /// + /// Filter clauses that define the SubpropertyEventFilter. All clauses are + /// AND'ed together to determine what data is sent to the subproperty. + /// + /// Required. + core.List? + filterClauses; + + /// Format: + /// properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} + /// Example: properties/1234/subpropertyEventFilters/5678 + /// + /// Output only. + core.String? name; + + GoogleAnalyticsAdminV1alphaSubpropertyEventFilter({ + this.applyToProperty, + this.filterClauses, + this.name, + }); + + GoogleAnalyticsAdminV1alphaSubpropertyEventFilter.fromJson(core.Map json_) + : this( + applyToProperty: json_.containsKey('applyToProperty') + ? json_['applyToProperty'] as core.String + : null, + filterClauses: json_.containsKey('filterClauses') + ? (json_['filterClauses'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause + .fromJson( + value as core.Map)) + .toList() + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + ); + + core.Map toJson() => { + if (applyToProperty != null) 'applyToProperty': applyToProperty!, + if (filterClauses != null) 'filterClauses': filterClauses!, + if (name != null) 'name': name!, + }; +} + +/// A clause for defining a filter. +/// +/// A filter may be inclusive (events satisfying the filter clause are included +/// in the subproperty's data) or exclusive (events satisfying the filter clause +/// are excluded from the subproperty's data). +class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause { + /// The type for the filter clause. + /// + /// Required. + /// Possible string values are: + /// - "FILTER_CLAUSE_TYPE_UNSPECIFIED" : Filter clause type unknown or not + /// specified. + /// - "INCLUDE" : Events will be included in the Sub property if the filter + /// clause is met. + /// - "EXCLUDE" : Events will be excluded from the Sub property if the filter + /// clause is met. + core.String? filterClauseType; + + /// The logical expression for what events are sent to the subproperty. + /// + /// Required. + GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression? filterExpression; + + GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause({ + this.filterClauseType, + this.filterExpression, + }); + + GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause.fromJson( + core.Map json_) + : this( + filterClauseType: json_.containsKey('filterClauseType') + ? json_['filterClauseType'] as core.String + : null, + filterExpression: json_.containsKey('filterExpression') + ? GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression + .fromJson(json_['filterExpression'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (filterClauseType != null) 'filterClauseType': filterClauseType!, + if (filterExpression != null) 'filterExpression': filterExpression!, + }; +} + +/// A specific filter expression +class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition { + /// The field that is being filtered. + /// + /// Required. + core.String? fieldName; + + /// A filter for null values. + core.bool? nullFilter; + + /// A filter for a string-type dimension that matches a particular pattern. + GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter? + stringFilter; + + GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition({ + this.fieldName, + this.nullFilter, + this.stringFilter, + }); + + GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition.fromJson( + core.Map json_) + : this( + fieldName: json_.containsKey('fieldName') + ? json_['fieldName'] as core.String + : null, + nullFilter: json_.containsKey('nullFilter') + ? json_['nullFilter'] as core.bool + : null, + stringFilter: json_.containsKey('stringFilter') + ? GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter + .fromJson(json_['stringFilter'] + as core.Map) + : null, + ); + + core.Map toJson() => { + if (fieldName != null) 'fieldName': fieldName!, + if (nullFilter != null) 'nullFilter': nullFilter!, + if (stringFilter != null) 'stringFilter': stringFilter!, + }; +} + +/// A filter for a string-type dimension that matches a particular pattern. +class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter { + /// If true, the string value is case sensitive. + /// + /// If false, the match is case-insensitive. + /// + /// Optional. + core.bool? caseSensitive; + + /// The match type for the string filter. + /// + /// Required. + /// Possible string values are: + /// - "MATCH_TYPE_UNSPECIFIED" : Match type unknown or not specified. + /// - "EXACT" : Exact match of the string value. + /// - "BEGINS_WITH" : Begins with the string value. + /// - "ENDS_WITH" : Ends with the string value. + /// - "CONTAINS" : Contains the string value. + /// - "FULL_REGEXP" : Full regular expression matches with the string value. + /// - "PARTIAL_REGEXP" : Partial regular expression matches with the string + /// value. + core.String? matchType; + + /// The string value used for the matching. + /// + /// Required. + core.String? value; + + GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter({ + this.caseSensitive, + this.matchType, + this.value, + }); + + GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter.fromJson( + core.Map json_) + : this( + caseSensitive: json_.containsKey('caseSensitive') + ? json_['caseSensitive'] as core.bool + : null, + matchType: json_.containsKey('matchType') + ? json_['matchType'] as core.String + : null, + value: + json_.containsKey('value') ? json_['value'] as core.String : null, + ); + + core.Map toJson() => { + if (caseSensitive != null) 'caseSensitive': caseSensitive!, + if (matchType != null) 'matchType': matchType!, + if (value != null) 'value': value!, + }; +} + +/// A logical expression of Subproperty event filters. +class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression { + /// Creates a filter that matches a specific event. + /// + /// This cannot be set on the top level SubpropertyEventFilterExpression. + GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition? filterCondition; + + /// A filter expression to be NOT'ed (inverted, complemented). + /// + /// It can only include a filter. This cannot be set on the top level + /// SubpropertyEventFilterExpression. + GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression? notExpression; + + /// A list of expressions to OR’ed together. + /// + /// Must only contain not_expression or filter_condition expressions. + GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList? orGroup; + + GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression({ + this.filterCondition, + this.notExpression, + this.orGroup, + }); + + GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression.fromJson( + core.Map json_) + : this( + filterCondition: json_.containsKey('filterCondition') + ? GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition + .fromJson(json_['filterCondition'] + as core.Map) + : null, + notExpression: json_.containsKey('notExpression') + ? GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression + .fromJson(json_['notExpression'] + as core.Map) + : null, + orGroup: json_.containsKey('orGroup') + ? GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList + .fromJson( + json_['orGroup'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (filterCondition != null) 'filterCondition': filterCondition!, + if (notExpression != null) 'notExpression': notExpression!, + if (orGroup != null) 'orGroup': orGroup!, + }; +} + +/// A list of Subproperty event filter expressions. +class GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList { + /// Unordered list. + /// + /// A list of Subproperty event filter expressions + /// + /// Required. + core.List? + filterExpressions; + + GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList({ + this.filterExpressions, + }); + + GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList.fromJson( + core.Map json_) + : this( + filterExpressions: json_.containsKey('filterExpressions') + ? (json_['filterExpressions'] as core.List) + .map((value) => + GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression + .fromJson( + value as core.Map)) + .toList() + : null, + ); + + core.Map toJson() => { + if (filterExpressions != null) 'filterExpressions': filterExpressions!, + }; +} + +/// Request message for UpdateAccessBinding RPC. +class GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest { + /// The access binding to update. + /// + /// Required. + GoogleAnalyticsAdminV1alphaAccessBinding? accessBinding; + + GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest({ + this.accessBinding, + }); + + GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest.fromJson(core.Map json_) + : this( + accessBinding: json_.containsKey('accessBinding') + ? GoogleAnalyticsAdminV1alphaAccessBinding.fromJson( + json_['accessBinding'] as core.Map) + : null, + ); + + core.Map toJson() => { + if (accessBinding != null) 'accessBinding': accessBinding!, + }; +} + +/// 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 GoogleProtobufEmpty = $Empty; diff --git a/generated/googleapis_beta/lib/analyticsadmin/v1beta.dart b/generated/googleapis_beta/lib/analyticsadmin/v1beta.dart index fa4fd401d..10e6a45b9 100644 --- a/generated/googleapis_beta/lib/analyticsadmin/v1beta.dart +++ b/generated/googleapis_beta/lib/analyticsadmin/v1beta.dart @@ -3,6 +3,7 @@ // 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 @@ -2713,70 +2714,13 @@ class GoogleAnalyticsAdminV1betaAccessBetweenFilter { } /// A contiguous range of days: startDate, startDate + 1, ..., endDate. -class GoogleAnalyticsAdminV1betaAccessDateRange { - /// The inclusive end date for the query in the format `YYYY-MM-DD`. - /// - /// Cannot be before `startDate`. The format `NdaysAgo`, `yesterday`, or - /// `today` is also accepted, and in that case, the date is inferred based on - /// the current time in the request's time zone. - core.String? endDate; - - /// The inclusive start date for the query in the format `YYYY-MM-DD`. - /// - /// Cannot be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` - /// is also accepted, and in that case, the date is inferred based on the - /// current time in the request's time zone. - core.String? startDate; - - GoogleAnalyticsAdminV1betaAccessDateRange({ - this.endDate, - this.startDate, - }); - - GoogleAnalyticsAdminV1betaAccessDateRange.fromJson(core.Map json_) - : this( - endDate: json_.containsKey('endDate') - ? json_['endDate'] as core.String - : null, - startDate: json_.containsKey('startDate') - ? json_['startDate'] as core.String - : null, - ); - - core.Map toJson() => { - if (endDate != null) 'endDate': endDate!, - if (startDate != null) 'startDate': startDate!, - }; -} +typedef GoogleAnalyticsAdminV1betaAccessDateRange = $AccessDateRange; /// Dimensions are attributes of your data. /// /// For example, the dimension `userEmail` indicates the email of the user that /// accessed reporting data. Dimension values in report responses are strings. -class GoogleAnalyticsAdminV1betaAccessDimension { - /// The API name of the dimension. - /// - /// See - /// [Data Access Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - /// for the list of dimensions supported in this API. Dimensions are - /// referenced by name in `dimensionFilter` and `orderBys`. - core.String? dimensionName; - - GoogleAnalyticsAdminV1betaAccessDimension({ - this.dimensionName, - }); - - GoogleAnalyticsAdminV1betaAccessDimension.fromJson(core.Map json_) - : this( - dimensionName: json_.containsKey('dimensionName') - ? json_['dimensionName'] as core.String - : null, - ); - - core.Map toJson() => { - if (dimensionName != null) 'dimensionName': dimensionName!, - }; -} +typedef GoogleAnalyticsAdminV1betaAccessDimension = $AccessDimension; /// Describes a dimension column in the report. /// @@ -2784,47 +2728,11 @@ class GoogleAnalyticsAdminV1betaAccessDimension { /// DimensionHeaders. However, dimensions used exclusively within filters or /// expressions do not produce columns in a report; correspondingly, those /// dimensions do not produce headers. -class GoogleAnalyticsAdminV1betaAccessDimensionHeader { - /// The dimension's name; for example 'userEmail'. - core.String? dimensionName; - - GoogleAnalyticsAdminV1betaAccessDimensionHeader({ - this.dimensionName, - }); - - GoogleAnalyticsAdminV1betaAccessDimensionHeader.fromJson(core.Map json_) - : this( - dimensionName: json_.containsKey('dimensionName') - ? json_['dimensionName'] as core.String - : null, - ); - - core.Map toJson() => { - if (dimensionName != null) 'dimensionName': dimensionName!, - }; -} +typedef GoogleAnalyticsAdminV1betaAccessDimensionHeader + = $AccessDimensionHeader; /// The value of a dimension. -class GoogleAnalyticsAdminV1betaAccessDimensionValue { - /// The dimension value. - /// - /// For example, this value may be 'France' for the 'country' dimension. - core.String? value; - - GoogleAnalyticsAdminV1betaAccessDimensionValue({ - this.value, - }); - - GoogleAnalyticsAdminV1betaAccessDimensionValue.fromJson(core.Map json_) - : this( - value: - json_.containsKey('value') ? json_['value'] as core.String : null, - ); - - core.Map toJson() => { - if (value != null) 'value': value!, - }; -} +typedef GoogleAnalyticsAdminV1betaAccessDimensionValue = $AccessDimensionValue; /// An expression to filter dimension or metric values. class GoogleAnalyticsAdminV1betaAccessFilter { @@ -2970,30 +2878,7 @@ typedef GoogleAnalyticsAdminV1betaAccessInListFilter = $InListFilter; /// /// For example, the metric `accessCount` is the total number of data access /// records. -class GoogleAnalyticsAdminV1betaAccessMetric { - /// The API name of the metric. - /// - /// See - /// [Data Access Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) - /// for the list of metrics supported in this API. Metrics are referenced by - /// name in `metricFilter` & `orderBys`. - core.String? metricName; - - GoogleAnalyticsAdminV1betaAccessMetric({ - this.metricName, - }); - - GoogleAnalyticsAdminV1betaAccessMetric.fromJson(core.Map json_) - : this( - metricName: json_.containsKey('metricName') - ? json_['metricName'] as core.String - : null, - ); - - core.Map toJson() => { - if (metricName != null) 'metricName': metricName!, - }; -} +typedef GoogleAnalyticsAdminV1betaAccessMetric = $AccessMetric; /// Describes a metric column in the report. /// @@ -3001,47 +2886,10 @@ class GoogleAnalyticsAdminV1betaAccessMetric { /// MetricHeaders. However, metrics used exclusively within filters or /// expressions do not produce columns in a report; correspondingly, those /// metrics do not produce headers. -class GoogleAnalyticsAdminV1betaAccessMetricHeader { - /// The metric's name; for example 'accessCount'. - core.String? metricName; - - GoogleAnalyticsAdminV1betaAccessMetricHeader({ - this.metricName, - }); - - GoogleAnalyticsAdminV1betaAccessMetricHeader.fromJson(core.Map json_) - : this( - metricName: json_.containsKey('metricName') - ? json_['metricName'] as core.String - : null, - ); - - core.Map toJson() => { - if (metricName != null) 'metricName': metricName!, - }; -} +typedef GoogleAnalyticsAdminV1betaAccessMetricHeader = $AccessMetricHeader; /// The value of a metric. -class GoogleAnalyticsAdminV1betaAccessMetricValue { - /// The measurement value. - /// - /// For example, this value may be '13'. - core.String? value; - - GoogleAnalyticsAdminV1betaAccessMetricValue({ - this.value, - }); - - GoogleAnalyticsAdminV1betaAccessMetricValue.fromJson(core.Map json_) - : this( - value: - json_.containsKey('value') ? json_['value'] as core.String : null, - ); - - core.Map toJson() => { - if (value != null) 'value': value!, - }; -} +typedef GoogleAnalyticsAdminV1betaAccessMetricValue = $AccessMetricValue; /// Filters for numeric or date values. class GoogleAnalyticsAdminV1betaAccessNumericFilter { @@ -3257,93 +3105,7 @@ class GoogleAnalyticsAdminV1betaAccessRow { typedef GoogleAnalyticsAdminV1betaAccessStringFilter = $StringFilter; /// A resource message representing a Google Analytics account. -class GoogleAnalyticsAdminV1betaAccount { - /// Time when this account was originally created. - /// - /// Output only. - core.String? createTime; - - /// Indicates whether this Account is soft-deleted or not. - /// - /// Deleted accounts are excluded from List results unless specifically - /// requested. - /// - /// Output only. - core.bool? deleted; - - /// Human-readable display name for this account. - /// - /// Required. - core.String? displayName; - - /// The URI for a Google Marketing Platform organization resource. - /// - /// Only set when this account is connected to a GMP organization. Format: - /// marketingplatformadmin.googleapis.com/organizations/{org_id} - /// - /// Output only. - core.String? gmpOrganization; - - /// Resource name of this account. - /// - /// Format: accounts/{account} Example: "accounts/100" - /// - /// Output only. - core.String? name; - - /// Country of business. - /// - /// Must be a Unicode CLDR region code. - core.String? regionCode; - - /// Time when account payload fields were last updated. - /// - /// Output only. - core.String? updateTime; - - GoogleAnalyticsAdminV1betaAccount({ - this.createTime, - this.deleted, - this.displayName, - this.gmpOrganization, - this.name, - this.regionCode, - this.updateTime, - }); - - GoogleAnalyticsAdminV1betaAccount.fromJson(core.Map json_) - : this( - createTime: json_.containsKey('createTime') - ? json_['createTime'] as core.String - : null, - deleted: json_.containsKey('deleted') - ? json_['deleted'] as core.bool - : null, - displayName: json_.containsKey('displayName') - ? json_['displayName'] as core.String - : null, - gmpOrganization: json_.containsKey('gmpOrganization') - ? json_['gmpOrganization'] as core.String - : null, - name: json_.containsKey('name') ? json_['name'] as core.String : null, - regionCode: json_.containsKey('regionCode') - ? json_['regionCode'] as core.String - : null, - updateTime: json_.containsKey('updateTime') - ? json_['updateTime'] as core.String - : null, - ); - - core.Map toJson() => { - if (createTime != null) 'createTime': createTime!, - if (deleted != null) 'deleted': deleted!, - if (displayName != null) 'displayName': displayName!, - if (gmpOrganization != null) 'gmpOrganization': gmpOrganization!, - if (name != null) 'name': name!, - if (regionCode != null) 'regionCode': regionCode!, - if (updateTime != null) 'updateTime': updateTime!, - }; -} +typedef GoogleAnalyticsAdminV1betaAccount = $Account; /// A virtual resource representing an overview of an account and all its child /// GA4 properties. @@ -3397,35 +3159,8 @@ class GoogleAnalyticsAdminV1betaAccountSummary { } /// Request message for AcknowledgeUserDataCollection RPC. -class GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest { - /// An acknowledgement that the caller of this method understands the terms of - /// user data collection. - /// - /// This field must contain the exact value: "I acknowledge that I have the - /// necessary privacy disclosures and rights from my end users for the - /// collection and processing of their data, including the association of such - /// data with the visitation information Google Analytics collects from my - /// site and/or app property." - /// - /// Required. - core.String? acknowledgement; - - GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest({ - this.acknowledgement, - }); - - GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest.fromJson( - core.Map json_) - : this( - acknowledgement: json_.containsKey('acknowledgement') - ? json_['acknowledgement'] as core.String - : null, - ); - - core.Map toJson() => { - if (acknowledgement != null) 'acknowledgement': acknowledgement!, - }; -} +typedef GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest + = $AcknowledgeUserDataCollectionRequest; /// Response message for AcknowledgeUserDataCollection RPC. typedef GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionResponse @@ -3779,748 +3514,147 @@ class GoogleAnalyticsAdminV1betaConversionEvent { /// Defines a default value/currency for a conversion event. /// /// Both value and currency must be provided. -class GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue { - /// When a conversion event for this event_name has no set currency, this - /// currency will be applied as the default. - /// - /// Must be in ISO 4217 currency code format. See - /// https://en.wikipedia.org/wiki/ISO_4217 for more information. - core.String? currencyCode; +typedef GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue + = $ConversionEventDefaultConversionValue; - /// This value will be used to populate the value for all conversions of the - /// specified event_name where the event "value" parameter is unset. - core.double? value; +/// A definition for a CustomDimension. +typedef GoogleAnalyticsAdminV1betaCustomDimension = $CustomDimension; - GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue({ - this.currencyCode, - this.value, - }); +/// A definition for a custom metric. +typedef GoogleAnalyticsAdminV1betaCustomMetric = $CustomMetric; - GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue.fromJson( - core.Map json_) - : this( - currencyCode: json_.containsKey('currencyCode') - ? json_['currencyCode'] as core.String - : null, - value: json_.containsKey('value') - ? (json_['value'] as core.num).toDouble() - : null, - ); +/// Settings values for data retention. +/// +/// This is a singleton resource. +typedef GoogleAnalyticsAdminV1betaDataRetentionSettings + = $DataRetentionSettings; - core.Map toJson() => { - if (currencyCode != null) 'currencyCode': currencyCode!, - if (value != null) 'value': value!, - }; -} +/// A resource message representing data sharing settings of a Google Analytics +/// account. +typedef GoogleAnalyticsAdminV1betaDataSharingSettings = $DataSharingSettings; -/// A definition for a CustomDimension. -class GoogleAnalyticsAdminV1betaCustomDimension { - /// Description for this custom dimension. - /// - /// Max length of 150 characters. +/// A resource message representing a data stream. +class GoogleAnalyticsAdminV1betaDataStream { + /// Data specific to Android app streams. /// - /// Optional. - core.String? description; + /// Must be populated if type is ANDROID_APP_DATA_STREAM. + GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData? + androidAppStreamData; - /// If set to true, sets this dimension as NPA and excludes it from ads - /// personalization. - /// - /// This is currently only supported by user-scoped custom dimensions. + /// Time when this stream was originally created. /// - /// Optional. - core.bool? disallowAdsPersonalization; + /// Output only. + core.String? createTime; - /// Display name for this custom dimension as shown in the Analytics UI. - /// - /// Max length of 82 characters, alphanumeric plus space and underscore - /// starting with a letter. Legacy system-generated display names may contain - /// square brackets, but updates to this field will never permit square - /// brackets. + /// Human-readable display name for the Data Stream. /// - /// Required. + /// Required for web data streams. The max allowed display name length is 255 + /// UTF-16 code units. core.String? displayName; - /// Resource name for this CustomDimension resource. + /// Data specific to iOS app streams. /// - /// Format: properties/{property}/customDimensions/{customDimension} + /// Must be populated if type is IOS_APP_DATA_STREAM. + GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData? iosAppStreamData; + + /// Resource name of this Data Stream. + /// + /// Format: properties/{property_id}/dataStreams/{stream_id} Example: + /// "properties/1000/dataStreams/2000" /// /// Output only. core.String? name; - /// Tagging parameter name for this custom dimension. - /// - /// If this is a user-scoped dimension, then this is the user property name. - /// If this is an event-scoped dimension, then this is the event parameter - /// name. If this is an item-scoped dimension, then this is the parameter name - /// found in the eCommerce items array. May only contain alphanumeric and - /// underscore characters, starting with a letter. Max length of 24 characters - /// for user-scoped dimensions, 40 characters for event-scoped dimensions. + /// The type of this DataStream resource. /// /// Required. Immutable. - core.String? parameterName; + /// Possible string values are: + /// - "DATA_STREAM_TYPE_UNSPECIFIED" : Type unknown or not specified. + /// - "WEB_DATA_STREAM" : Web data stream. + /// - "ANDROID_APP_DATA_STREAM" : Android app data stream. + /// - "IOS_APP_DATA_STREAM" : iOS app data stream. + core.String? type; - /// The scope of this dimension. + /// Time when stream payload fields were last updated. /// - /// Required. Immutable. - /// Possible string values are: - /// - "DIMENSION_SCOPE_UNSPECIFIED" : Scope unknown or not specified. - /// - "EVENT" : Dimension scoped to an event. - /// - "USER" : Dimension scoped to a user. - /// - "ITEM" : Dimension scoped to eCommerce items - core.String? scope; - - GoogleAnalyticsAdminV1betaCustomDimension({ - this.description, - this.disallowAdsPersonalization, + /// Output only. + core.String? updateTime; + + /// Data specific to web streams. + /// + /// Must be populated if type is WEB_DATA_STREAM. + GoogleAnalyticsAdminV1betaDataStreamWebStreamData? webStreamData; + + GoogleAnalyticsAdminV1betaDataStream({ + this.androidAppStreamData, + this.createTime, this.displayName, + this.iosAppStreamData, this.name, - this.parameterName, - this.scope, + this.type, + this.updateTime, + this.webStreamData, }); - GoogleAnalyticsAdminV1betaCustomDimension.fromJson(core.Map json_) + GoogleAnalyticsAdminV1betaDataStream.fromJson(core.Map json_) : this( - description: json_.containsKey('description') - ? json_['description'] as core.String + androidAppStreamData: json_.containsKey('androidAppStreamData') + ? GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData + .fromJson(json_['androidAppStreamData'] + as core.Map) + : null, + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String : null, - disallowAdsPersonalization: - json_.containsKey('disallowAdsPersonalization') - ? json_['disallowAdsPersonalization'] as core.bool - : null, displayName: json_.containsKey('displayName') ? json_['displayName'] as core.String : null, + iosAppStreamData: json_.containsKey('iosAppStreamData') + ? GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData.fromJson( + json_['iosAppStreamData'] + as core.Map) + : null, name: json_.containsKey('name') ? json_['name'] as core.String : null, - parameterName: json_.containsKey('parameterName') - ? json_['parameterName'] as core.String + type: json_.containsKey('type') ? json_['type'] as core.String : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + webStreamData: json_.containsKey('webStreamData') + ? GoogleAnalyticsAdminV1betaDataStreamWebStreamData.fromJson( + json_['webStreamData'] as core.Map) : null, - scope: - json_.containsKey('scope') ? json_['scope'] as core.String : null, ); core.Map toJson() => { - if (description != null) 'description': description!, - if (disallowAdsPersonalization != null) - 'disallowAdsPersonalization': disallowAdsPersonalization!, + if (androidAppStreamData != null) + 'androidAppStreamData': androidAppStreamData!, + if (createTime != null) 'createTime': createTime!, if (displayName != null) 'displayName': displayName!, + if (iosAppStreamData != null) 'iosAppStreamData': iosAppStreamData!, if (name != null) 'name': name!, - if (parameterName != null) 'parameterName': parameterName!, - if (scope != null) 'scope': scope!, + if (type != null) 'type': type!, + if (updateTime != null) 'updateTime': updateTime!, + if (webStreamData != null) 'webStreamData': webStreamData!, }; } -/// A definition for a custom metric. -class GoogleAnalyticsAdminV1betaCustomMetric { - /// Description for this custom dimension. - /// - /// Max length of 150 characters. - /// - /// Optional. - core.String? description; - - /// Display name for this custom metric as shown in the Analytics UI. - /// - /// Max length of 82 characters, alphanumeric plus space and underscore - /// starting with a letter. Legacy system-generated display names may contain - /// square brackets, but updates to this field will never permit square - /// brackets. - /// - /// Required. - core.String? displayName; - - /// The type for the custom metric's value. - /// - /// Required. - /// Possible string values are: - /// - "MEASUREMENT_UNIT_UNSPECIFIED" : MeasurementUnit unspecified or missing. - /// - "STANDARD" : This metric uses default units. - /// - "CURRENCY" : This metric measures a currency. - /// - "FEET" : This metric measures feet. - /// - "METERS" : This metric measures meters. - /// - "KILOMETERS" : This metric measures kilometers. - /// - "MILES" : This metric measures miles. - /// - "MILLISECONDS" : This metric measures milliseconds. - /// - "SECONDS" : This metric measures seconds. - /// - "MINUTES" : This metric measures minutes. - /// - "HOURS" : This metric measures hours. - core.String? measurementUnit; - - /// Resource name for this CustomMetric resource. - /// - /// Format: properties/{property}/customMetrics/{customMetric} - /// - /// Output only. - core.String? name; - - /// Tagging name for this custom metric. - /// - /// If this is an event-scoped metric, then this is the event parameter name. - /// May only contain alphanumeric and underscore charactes, starting with a - /// letter. Max length of 40 characters for event-scoped metrics. - /// - /// Required. Immutable. - core.String? parameterName; - - /// Types of restricted data that this metric may contain. - /// - /// Required for metrics with CURRENCY measurement unit. Must be empty for - /// metrics with a non-CURRENCY measurement unit. - /// - /// Optional. - core.List? restrictedMetricType; - - /// The scope of this custom metric. - /// - /// Required. Immutable. - /// Possible string values are: - /// - "METRIC_SCOPE_UNSPECIFIED" : Scope unknown or not specified. - /// - "EVENT" : Metric scoped to an event. - core.String? scope; - - GoogleAnalyticsAdminV1betaCustomMetric({ - this.description, - this.displayName, - this.measurementUnit, - this.name, - this.parameterName, - this.restrictedMetricType, - this.scope, - }); - - GoogleAnalyticsAdminV1betaCustomMetric.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, - measurementUnit: json_.containsKey('measurementUnit') - ? json_['measurementUnit'] as core.String - : null, - name: json_.containsKey('name') ? json_['name'] as core.String : null, - parameterName: json_.containsKey('parameterName') - ? json_['parameterName'] as core.String - : null, - restrictedMetricType: json_.containsKey('restrictedMetricType') - ? (json_['restrictedMetricType'] as core.List) - .map((value) => value as core.String) - .toList() - : null, - scope: - json_.containsKey('scope') ? json_['scope'] as core.String : null, - ); - - core.Map toJson() => { - if (description != null) 'description': description!, - if (displayName != null) 'displayName': displayName!, - if (measurementUnit != null) 'measurementUnit': measurementUnit!, - if (name != null) 'name': name!, - if (parameterName != null) 'parameterName': parameterName!, - if (restrictedMetricType != null) - 'restrictedMetricType': restrictedMetricType!, - if (scope != null) 'scope': scope!, - }; -} - -/// Settings values for data retention. -/// -/// This is a singleton resource. -class GoogleAnalyticsAdminV1betaDataRetentionSettings { - /// The length of time that event-level data is retained. - /// Possible string values are: - /// - "RETENTION_DURATION_UNSPECIFIED" : Data retention time duration is not - /// specified. - /// - "TWO_MONTHS" : The data retention time duration is 2 months. - /// - "FOURTEEN_MONTHS" : The data retention time duration is 14 months. - /// - "TWENTY_SIX_MONTHS" : The data retention time duration is 26 months. - /// Available to 360 properties only. - /// - "THIRTY_EIGHT_MONTHS" : The data retention time duration is 38 months. - /// Available to 360 properties only. - /// - "FIFTY_MONTHS" : The data retention time duration is 50 months. - /// Available to 360 properties only. - core.String? eventDataRetention; - - /// Resource name for this DataRetentionSetting resource. - /// - /// Format: properties/{property}/dataRetentionSettings - /// - /// Output only. - core.String? name; - - /// If true, reset the retention period for the user identifier with every - /// event from that user. - core.bool? resetUserDataOnNewActivity; - - GoogleAnalyticsAdminV1betaDataRetentionSettings({ - this.eventDataRetention, - this.name, - this.resetUserDataOnNewActivity, - }); - - GoogleAnalyticsAdminV1betaDataRetentionSettings.fromJson(core.Map json_) - : this( - eventDataRetention: json_.containsKey('eventDataRetention') - ? json_['eventDataRetention'] as core.String - : null, - name: json_.containsKey('name') ? json_['name'] as core.String : null, - resetUserDataOnNewActivity: - json_.containsKey('resetUserDataOnNewActivity') - ? json_['resetUserDataOnNewActivity'] as core.bool - : null, - ); - - core.Map toJson() => { - if (eventDataRetention != null) - 'eventDataRetention': eventDataRetention!, - if (name != null) 'name': name!, - if (resetUserDataOnNewActivity != null) - 'resetUserDataOnNewActivity': resetUserDataOnNewActivity!, - }; -} - -/// A resource message representing data sharing settings of a Google Analytics -/// account. -class GoogleAnalyticsAdminV1betaDataSharingSettings { - /// Resource name. - /// - /// Format: accounts/{account}/dataSharingSettings Example: - /// "accounts/1000/dataSharingSettings" - /// - /// Output only. - core.String? name; - - /// Allows any of Google sales to access the data in order to suggest - /// configuration changes to improve results. - core.bool? sharingWithGoogleAnySalesEnabled; - - /// Allows Google sales teams that are assigned to the customer to access the - /// data in order to suggest configuration changes to improve results. - /// - /// Sales team restrictions still apply when enabled. - core.bool? sharingWithGoogleAssignedSalesEnabled; - - /// Allows Google to use the data to improve other Google products or - /// services. - core.bool? sharingWithGoogleProductsEnabled; - - /// Allows Google support to access the data in order to help troubleshoot - /// issues. - core.bool? sharingWithGoogleSupportEnabled; - - /// Allows Google to share the data anonymously in aggregate form with others. - core.bool? sharingWithOthersEnabled; - - GoogleAnalyticsAdminV1betaDataSharingSettings({ - this.name, - this.sharingWithGoogleAnySalesEnabled, - this.sharingWithGoogleAssignedSalesEnabled, - this.sharingWithGoogleProductsEnabled, - this.sharingWithGoogleSupportEnabled, - this.sharingWithOthersEnabled, - }); - - GoogleAnalyticsAdminV1betaDataSharingSettings.fromJson(core.Map json_) - : this( - name: json_.containsKey('name') ? json_['name'] as core.String : null, - sharingWithGoogleAnySalesEnabled: - json_.containsKey('sharingWithGoogleAnySalesEnabled') - ? json_['sharingWithGoogleAnySalesEnabled'] as core.bool - : null, - sharingWithGoogleAssignedSalesEnabled: - json_.containsKey('sharingWithGoogleAssignedSalesEnabled') - ? json_['sharingWithGoogleAssignedSalesEnabled'] as core.bool - : null, - sharingWithGoogleProductsEnabled: - json_.containsKey('sharingWithGoogleProductsEnabled') - ? json_['sharingWithGoogleProductsEnabled'] as core.bool - : null, - sharingWithGoogleSupportEnabled: - json_.containsKey('sharingWithGoogleSupportEnabled') - ? json_['sharingWithGoogleSupportEnabled'] as core.bool - : null, - sharingWithOthersEnabled: - json_.containsKey('sharingWithOthersEnabled') - ? json_['sharingWithOthersEnabled'] as core.bool - : null, - ); - - core.Map toJson() => { - if (name != null) 'name': name!, - if (sharingWithGoogleAnySalesEnabled != null) - 'sharingWithGoogleAnySalesEnabled': sharingWithGoogleAnySalesEnabled!, - if (sharingWithGoogleAssignedSalesEnabled != null) - 'sharingWithGoogleAssignedSalesEnabled': - sharingWithGoogleAssignedSalesEnabled!, - if (sharingWithGoogleProductsEnabled != null) - 'sharingWithGoogleProductsEnabled': sharingWithGoogleProductsEnabled!, - if (sharingWithGoogleSupportEnabled != null) - 'sharingWithGoogleSupportEnabled': sharingWithGoogleSupportEnabled!, - if (sharingWithOthersEnabled != null) - 'sharingWithOthersEnabled': sharingWithOthersEnabled!, - }; -} - -/// A resource message representing a data stream. -class GoogleAnalyticsAdminV1betaDataStream { - /// Data specific to Android app streams. - /// - /// Must be populated if type is ANDROID_APP_DATA_STREAM. - GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData? - androidAppStreamData; - - /// Time when this stream was originally created. - /// - /// Output only. - core.String? createTime; - - /// Human-readable display name for the Data Stream. - /// - /// Required for web data streams. The max allowed display name length is 255 - /// UTF-16 code units. - core.String? displayName; - - /// Data specific to iOS app streams. - /// - /// Must be populated if type is IOS_APP_DATA_STREAM. - GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData? iosAppStreamData; - - /// Resource name of this Data Stream. - /// - /// Format: properties/{property_id}/dataStreams/{stream_id} Example: - /// "properties/1000/dataStreams/2000" - /// - /// Output only. - core.String? name; - - /// The type of this DataStream resource. - /// - /// Required. Immutable. - /// Possible string values are: - /// - "DATA_STREAM_TYPE_UNSPECIFIED" : Type unknown or not specified. - /// - "WEB_DATA_STREAM" : Web data stream. - /// - "ANDROID_APP_DATA_STREAM" : Android app data stream. - /// - "IOS_APP_DATA_STREAM" : iOS app data stream. - core.String? type; - - /// Time when stream payload fields were last updated. - /// - /// Output only. - core.String? updateTime; - - /// Data specific to web streams. - /// - /// Must be populated if type is WEB_DATA_STREAM. - GoogleAnalyticsAdminV1betaDataStreamWebStreamData? webStreamData; - - GoogleAnalyticsAdminV1betaDataStream({ - this.androidAppStreamData, - this.createTime, - this.displayName, - this.iosAppStreamData, - this.name, - this.type, - this.updateTime, - this.webStreamData, - }); - - GoogleAnalyticsAdminV1betaDataStream.fromJson(core.Map json_) - : this( - androidAppStreamData: json_.containsKey('androidAppStreamData') - ? GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData - .fromJson(json_['androidAppStreamData'] - as core.Map) - : null, - createTime: json_.containsKey('createTime') - ? json_['createTime'] as core.String - : null, - displayName: json_.containsKey('displayName') - ? json_['displayName'] as core.String - : null, - iosAppStreamData: json_.containsKey('iosAppStreamData') - ? GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData.fromJson( - json_['iosAppStreamData'] - as core.Map) - : null, - name: json_.containsKey('name') ? json_['name'] as core.String : null, - type: json_.containsKey('type') ? json_['type'] as core.String : null, - updateTime: json_.containsKey('updateTime') - ? json_['updateTime'] as core.String - : null, - webStreamData: json_.containsKey('webStreamData') - ? GoogleAnalyticsAdminV1betaDataStreamWebStreamData.fromJson( - json_['webStreamData'] as core.Map) - : null, - ); - - core.Map toJson() => { - if (androidAppStreamData != null) - 'androidAppStreamData': androidAppStreamData!, - if (createTime != null) 'createTime': createTime!, - if (displayName != null) 'displayName': displayName!, - if (iosAppStreamData != null) 'iosAppStreamData': iosAppStreamData!, - if (name != null) 'name': name!, - if (type != null) 'type': type!, - if (updateTime != null) 'updateTime': updateTime!, - if (webStreamData != null) 'webStreamData': webStreamData!, - }; -} - -/// Data specific to Android app streams. -class GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData { - /// ID of the corresponding Android app in Firebase, if any. - /// - /// This ID can change if the Android app is deleted and recreated. - /// - /// Output only. - core.String? firebaseAppId; - - /// The package name for the app being measured. - /// - /// Example: "com.example.myandroidapp" - /// - /// Immutable. - core.String? packageName; - - GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData({ - this.firebaseAppId, - this.packageName, - }); - - GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData.fromJson( - core.Map json_) - : this( - firebaseAppId: json_.containsKey('firebaseAppId') - ? json_['firebaseAppId'] as core.String - : null, - packageName: json_.containsKey('packageName') - ? json_['packageName'] as core.String - : null, - ); - - core.Map toJson() => { - if (firebaseAppId != null) 'firebaseAppId': firebaseAppId!, - if (packageName != null) 'packageName': packageName!, - }; -} - -/// Data specific to iOS app streams. -class GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData { - /// The Apple App Store Bundle ID for the app Example: "com.example.myiosapp" - /// - /// Required. Immutable. - core.String? bundleId; - - /// ID of the corresponding iOS app in Firebase, if any. - /// - /// This ID can change if the iOS app is deleted and recreated. - /// - /// Output only. - core.String? firebaseAppId; - - GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData({ - this.bundleId, - this.firebaseAppId, - }); - - GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData.fromJson(core.Map json_) - : this( - bundleId: json_.containsKey('bundleId') - ? json_['bundleId'] as core.String - : null, - firebaseAppId: json_.containsKey('firebaseAppId') - ? json_['firebaseAppId'] as core.String - : null, - ); - - core.Map toJson() => { - if (bundleId != null) 'bundleId': bundleId!, - if (firebaseAppId != null) 'firebaseAppId': firebaseAppId!, - }; -} - -/// Data specific to web streams. -class GoogleAnalyticsAdminV1betaDataStreamWebStreamData { - /// Domain name of the web app being measured, or empty. - /// - /// Example: "http://www.google.com", "https://www.google.com" - core.String? defaultUri; - - /// ID of the corresponding web app in Firebase, if any. - /// - /// This ID can change if the web app is deleted and recreated. - /// - /// Output only. - core.String? firebaseAppId; - - /// Analytics Measurement ID. - /// - /// Example: "G-1A2BCD345E" - /// - /// Output only. - core.String? measurementId; - - GoogleAnalyticsAdminV1betaDataStreamWebStreamData({ - this.defaultUri, - this.firebaseAppId, - this.measurementId, - }); - - GoogleAnalyticsAdminV1betaDataStreamWebStreamData.fromJson(core.Map json_) - : this( - defaultUri: json_.containsKey('defaultUri') - ? json_['defaultUri'] as core.String - : null, - firebaseAppId: json_.containsKey('firebaseAppId') - ? json_['firebaseAppId'] as core.String - : null, - measurementId: json_.containsKey('measurementId') - ? json_['measurementId'] as core.String - : null, - ); - - core.Map toJson() => { - if (defaultUri != null) 'defaultUri': defaultUri!, - if (firebaseAppId != null) 'firebaseAppId': firebaseAppId!, - if (measurementId != null) 'measurementId': measurementId!, - }; -} - -/// A link between a GA4 property and a Firebase project. -class GoogleAnalyticsAdminV1betaFirebaseLink { - /// Time when this FirebaseLink was originally created. - /// - /// Output only. - core.String? createTime; - - /// Example format: properties/1234/firebaseLinks/5678 - /// - /// Output only. - core.String? name; - - /// Firebase project resource name. - /// - /// When creating a FirebaseLink, you may provide this resource name using - /// either a project number or project ID. Once this resource has been - /// created, returned FirebaseLinks will always have a project_name that - /// contains a project number. Format: 'projects/{project number}' Example: - /// 'projects/1234' - /// - /// Immutable. - core.String? project; +/// Data specific to Android app streams. +typedef GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData + = $DataStreamAndroidAppStreamData; - GoogleAnalyticsAdminV1betaFirebaseLink({ - this.createTime, - this.name, - this.project, - }); +/// Data specific to iOS app streams. +typedef GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData + = $DataStreamIosAppStreamData; - GoogleAnalyticsAdminV1betaFirebaseLink.fromJson(core.Map json_) - : this( - createTime: json_.containsKey('createTime') - ? json_['createTime'] as core.String - : null, - name: json_.containsKey('name') ? json_['name'] as core.String : null, - project: json_.containsKey('project') - ? json_['project'] as core.String - : null, - ); +/// Data specific to web streams. +typedef GoogleAnalyticsAdminV1betaDataStreamWebStreamData + = $DataStreamWebStreamData; - core.Map toJson() => { - if (createTime != null) 'createTime': createTime!, - if (name != null) 'name': name!, - if (project != null) 'project': project!, - }; -} +/// A link between a GA4 property and a Firebase project. +typedef GoogleAnalyticsAdminV1betaFirebaseLink = $FirebaseLink; /// A link between a GA4 property and a Google Ads account. -class GoogleAnalyticsAdminV1betaGoogleAdsLink { - /// Enable personalized advertising features with this integration. - /// - /// Automatically publish my Google Analytics audience lists and Google - /// Analytics remarketing events/parameters to the linked Google Ads account. - /// If this field is not set on create/update, it will be defaulted to true. - core.bool? adsPersonalizationEnabled; - - /// If true, this link is for a Google Ads manager account. - /// - /// Output only. - core.bool? canManageClients; - - /// Time when this link was originally created. - /// - /// Output only. - core.String? createTime; - - /// Email address of the user that created the link. - /// - /// An empty string will be returned if the email address can't be retrieved. - /// - /// Output only. - core.String? creatorEmailAddress; - - /// Google Ads customer ID. - /// - /// Immutable. - core.String? customerId; - - /// Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: - /// googleAdsLinkId is not the Google Ads customer ID. - /// - /// Output only. - core.String? name; - - /// Time when this link was last updated. - /// - /// Output only. - core.String? updateTime; - - GoogleAnalyticsAdminV1betaGoogleAdsLink({ - this.adsPersonalizationEnabled, - this.canManageClients, - this.createTime, - this.creatorEmailAddress, - this.customerId, - this.name, - this.updateTime, - }); - - GoogleAnalyticsAdminV1betaGoogleAdsLink.fromJson(core.Map json_) - : this( - adsPersonalizationEnabled: - json_.containsKey('adsPersonalizationEnabled') - ? json_['adsPersonalizationEnabled'] as core.bool - : null, - canManageClients: json_.containsKey('canManageClients') - ? json_['canManageClients'] as core.bool - : null, - createTime: json_.containsKey('createTime') - ? json_['createTime'] as core.String - : null, - creatorEmailAddress: json_.containsKey('creatorEmailAddress') - ? json_['creatorEmailAddress'] as core.String - : null, - customerId: json_.containsKey('customerId') - ? json_['customerId'] as core.String - : null, - name: json_.containsKey('name') ? json_['name'] as core.String : null, - updateTime: json_.containsKey('updateTime') - ? json_['updateTime'] as core.String - : null, - ); - - core.Map toJson() => { - if (adsPersonalizationEnabled != null) - 'adsPersonalizationEnabled': adsPersonalizationEnabled!, - if (canManageClients != null) 'canManageClients': canManageClients!, - if (createTime != null) 'createTime': createTime!, - if (creatorEmailAddress != null) - 'creatorEmailAddress': creatorEmailAddress!, - if (customerId != null) 'customerId': customerId!, - if (name != null) 'name': name!, - if (updateTime != null) 'updateTime': updateTime!, - }; -} +typedef GoogleAnalyticsAdminV1betaGoogleAdsLink = $GoogleAdsLink; /// A key event in a Google Analytics property. class GoogleAnalyticsAdminV1betaKeyEvent { @@ -4620,42 +3754,7 @@ class GoogleAnalyticsAdminV1betaKeyEvent { } /// Defines a default value/currency for a key event. -class GoogleAnalyticsAdminV1betaKeyEventDefaultValue { - /// When an occurrence of this Key Event (specified by event_name) has no set - /// currency this currency will be applied as the default. - /// - /// Must be in ISO 4217 currency code format. See - /// https://en.wikipedia.org/wiki/ISO_4217 for more information. - /// - /// Required. - core.String? currencyCode; - - /// This will be used to populate the "value" parameter for all occurrences of - /// this Key Event (specified by event_name) where that parameter is unset. - /// - /// Required. - core.double? numericValue; - - GoogleAnalyticsAdminV1betaKeyEventDefaultValue({ - this.currencyCode, - this.numericValue, - }); - - GoogleAnalyticsAdminV1betaKeyEventDefaultValue.fromJson(core.Map json_) - : this( - currencyCode: json_.containsKey('currencyCode') - ? json_['currencyCode'] as core.String - : null, - numericValue: json_.containsKey('numericValue') - ? (json_['numericValue'] as core.num).toDouble() - : null, - ); - - core.Map toJson() => { - if (currencyCode != null) 'currencyCode': currencyCode!, - if (numericValue != null) 'numericValue': numericValue!, - }; -} +typedef GoogleAnalyticsAdminV1betaKeyEventDefaultValue = $KeyEventDefaultValue; /// Response message for ListAccountSummaries RPC. class GoogleAnalyticsAdminV1betaListAccountSummariesResponse { @@ -5052,310 +4151,17 @@ class GoogleAnalyticsAdminV1betaListPropertiesResponse { } /// A secret value used for sending hits to Measurement Protocol. -class GoogleAnalyticsAdminV1betaMeasurementProtocolSecret { - /// Human-readable display name for this secret. - /// - /// Required. - core.String? displayName; - - /// Resource name of this secret. - /// - /// This secret may be a child of any type of stream. Format: - /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} - /// - /// Output only. - core.String? name; - - /// The measurement protocol secret value. - /// - /// Pass this value to the api_secret field of the Measurement Protocol API - /// when sending hits to this secret's parent property. - /// - /// Output only. - core.String? secretValue; - - GoogleAnalyticsAdminV1betaMeasurementProtocolSecret({ - this.displayName, - this.name, - this.secretValue, - }); - - GoogleAnalyticsAdminV1betaMeasurementProtocolSecret.fromJson(core.Map json_) - : this( - displayName: json_.containsKey('displayName') - ? json_['displayName'] as core.String - : null, - name: json_.containsKey('name') ? json_['name'] as core.String : null, - secretValue: json_.containsKey('secretValue') - ? json_['secretValue'] as core.String - : null, - ); - - core.Map toJson() => { - if (displayName != null) 'displayName': displayName!, - if (name != null) 'name': name!, - if (secretValue != null) 'secretValue': secretValue!, - }; -} +typedef GoogleAnalyticsAdminV1betaMeasurementProtocolSecret + = $MeasurementProtocolSecret; /// To represent a number. typedef GoogleAnalyticsAdminV1betaNumericValue = $NumericValue; /// A resource message representing a Google Analytics GA4 property. -class GoogleAnalyticsAdminV1betaProperty { - /// The resource name of the parent account Format: accounts/{account_id} - /// Example: "accounts/123" - /// - /// Immutable. - core.String? account; - - /// Time when the entity was originally created. - /// - /// Output only. - core.String? createTime; - - /// The currency type used in reports involving monetary values. - /// - /// Format: https://en.wikipedia.org/wiki/ISO_4217 Examples: "USD", "EUR", - /// "JPY" - core.String? currencyCode; - - /// If set, the time at which this property was trashed. - /// - /// If not set, then this property is not currently in the trash can. - /// - /// Output only. - core.String? deleteTime; - - /// Human-readable display name for this property. - /// - /// The max allowed display name length is 100 UTF-16 code units. - /// - /// Required. - core.String? displayName; - - /// If set, the time at which this trashed property will be permanently - /// deleted. - /// - /// If not set, then this property is not currently in the trash can and is - /// not slated to be deleted. - /// - /// Output only. - core.String? expireTime; - - /// Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK - /// Possible string values are: - /// - "INDUSTRY_CATEGORY_UNSPECIFIED" : Industry category unspecified - /// - "AUTOMOTIVE" : Automotive - /// - "BUSINESS_AND_INDUSTRIAL_MARKETS" : Business and industrial markets - /// - "FINANCE" : Finance - /// - "HEALTHCARE" : Healthcare - /// - "TECHNOLOGY" : Technology - /// - "TRAVEL" : Travel - /// - "OTHER" : Other - /// - "ARTS_AND_ENTERTAINMENT" : Arts and entertainment - /// - "BEAUTY_AND_FITNESS" : Beauty and fitness - /// - "BOOKS_AND_LITERATURE" : Books and literature - /// - "FOOD_AND_DRINK" : Food and drink - /// - "GAMES" : Games - /// - "HOBBIES_AND_LEISURE" : Hobbies and leisure - /// - "HOME_AND_GARDEN" : Home and garden - /// - "INTERNET_AND_TELECOM" : Internet and telecom - /// - "LAW_AND_GOVERNMENT" : Law and government - /// - "NEWS" : News - /// - "ONLINE_COMMUNITIES" : Online communities - /// - "PEOPLE_AND_SOCIETY" : People and society - /// - "PETS_AND_ANIMALS" : Pets and animals - /// - "REAL_ESTATE" : Real estate - /// - "REFERENCE" : Reference - /// - "SCIENCE" : Science - /// - "SPORTS" : Sports - /// - "JOBS_AND_EDUCATION" : Jobs and education - /// - "SHOPPING" : Shopping - core.String? industryCategory; - - /// Resource name of this property. - /// - /// Format: properties/{property_id} Example: "properties/1000" - /// - /// Output only. - core.String? name; - - /// Resource name of this property's logical parent. - /// - /// Note: The Property-Moving UI can be used to change the parent. Format: - /// accounts/{account}, properties/{property} Example: "accounts/100", - /// "properties/101" - /// - /// Immutable. - core.String? parent; - - /// The property type for this Property resource. - /// - /// When creating a property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then - /// "ORDINARY_PROPERTY" will be implied. - /// - /// Immutable. - /// Possible string values are: - /// - "PROPERTY_TYPE_UNSPECIFIED" : Unknown or unspecified property type - /// - "PROPERTY_TYPE_ORDINARY" : Ordinary GA4 property - /// - "PROPERTY_TYPE_SUBPROPERTY" : GA4 subproperty - /// - "PROPERTY_TYPE_ROLLUP" : GA4 rollup property - core.String? propertyType; - - /// The Google Analytics service level that applies to this property. - /// - /// Output only. - /// Possible string values are: - /// - "SERVICE_LEVEL_UNSPECIFIED" : Service level not specified or invalid. - /// - "GOOGLE_ANALYTICS_STANDARD" : The standard version of Google Analytics. - /// - "GOOGLE_ANALYTICS_360" : The paid, premium version of Google Analytics. - core.String? serviceLevel; - - /// Reporting Time Zone, used as the day boundary for reports, regardless of - /// where the data originates. - /// - /// If the time zone honors DST, Analytics will automatically adjust for the - /// changes. NOTE: Changing the time zone only affects data going forward, and - /// is not applied retroactively. Format: https://www.iana.org/time-zones - /// Example: "America/Los_Angeles" - /// - /// Required. - core.String? timeZone; - - /// Time when entity payload fields were last updated. - /// - /// Output only. - core.String? updateTime; - - GoogleAnalyticsAdminV1betaProperty({ - this.account, - this.createTime, - this.currencyCode, - this.deleteTime, - this.displayName, - this.expireTime, - this.industryCategory, - this.name, - this.parent, - this.propertyType, - this.serviceLevel, - this.timeZone, - this.updateTime, - }); - - GoogleAnalyticsAdminV1betaProperty.fromJson(core.Map json_) - : this( - account: json_.containsKey('account') - ? json_['account'] as core.String - : null, - createTime: json_.containsKey('createTime') - ? json_['createTime'] as core.String - : null, - currencyCode: json_.containsKey('currencyCode') - ? json_['currencyCode'] as core.String - : null, - deleteTime: json_.containsKey('deleteTime') - ? json_['deleteTime'] as core.String - : null, - displayName: json_.containsKey('displayName') - ? json_['displayName'] as core.String - : null, - expireTime: json_.containsKey('expireTime') - ? json_['expireTime'] as core.String - : null, - industryCategory: json_.containsKey('industryCategory') - ? json_['industryCategory'] as core.String - : null, - name: json_.containsKey('name') ? json_['name'] as core.String : null, - parent: json_.containsKey('parent') - ? json_['parent'] as core.String - : null, - propertyType: json_.containsKey('propertyType') - ? json_['propertyType'] as core.String - : null, - serviceLevel: json_.containsKey('serviceLevel') - ? json_['serviceLevel'] as core.String - : null, - timeZone: json_.containsKey('timeZone') - ? json_['timeZone'] as core.String - : null, - updateTime: json_.containsKey('updateTime') - ? json_['updateTime'] as core.String - : null, - ); - - core.Map toJson() => { - if (account != null) 'account': account!, - if (createTime != null) 'createTime': createTime!, - if (currencyCode != null) 'currencyCode': currencyCode!, - if (deleteTime != null) 'deleteTime': deleteTime!, - if (displayName != null) 'displayName': displayName!, - if (expireTime != null) 'expireTime': expireTime!, - if (industryCategory != null) 'industryCategory': industryCategory!, - if (name != null) 'name': name!, - if (parent != null) 'parent': parent!, - if (propertyType != null) 'propertyType': propertyType!, - if (serviceLevel != null) 'serviceLevel': serviceLevel!, - if (timeZone != null) 'timeZone': timeZone!, - if (updateTime != null) 'updateTime': updateTime!, - }; -} +typedef GoogleAnalyticsAdminV1betaProperty = $Property; /// A virtual resource representing metadata for a GA4 property. -class GoogleAnalyticsAdminV1betaPropertySummary { - /// Display name for the property referred to in this property summary. - core.String? displayName; - - /// Resource name of this property's logical parent. - /// - /// Note: The Property-Moving UI can be used to change the parent. Format: - /// accounts/{account}, properties/{property} Example: "accounts/100", - /// "properties/200" - core.String? parent; - - /// Resource name of property referred to by this property summary Format: - /// properties/{property_id} Example: "properties/1000" - core.String? property; - - /// The property's property type. - /// Possible string values are: - /// - "PROPERTY_TYPE_UNSPECIFIED" : Unknown or unspecified property type - /// - "PROPERTY_TYPE_ORDINARY" : Ordinary GA4 property - /// - "PROPERTY_TYPE_SUBPROPERTY" : GA4 subproperty - /// - "PROPERTY_TYPE_ROLLUP" : GA4 rollup property - core.String? propertyType; - - GoogleAnalyticsAdminV1betaPropertySummary({ - this.displayName, - this.parent, - this.property, - this.propertyType, - }); - - GoogleAnalyticsAdminV1betaPropertySummary.fromJson(core.Map json_) - : this( - displayName: json_.containsKey('displayName') - ? json_['displayName'] as core.String - : null, - parent: json_.containsKey('parent') - ? json_['parent'] as core.String - : null, - property: json_.containsKey('property') - ? json_['property'] as core.String - : null, - propertyType: json_.containsKey('propertyType') - ? json_['propertyType'] as core.String - : null, - ); - - core.Map toJson() => { - if (displayName != null) 'displayName': displayName!, - if (parent != null) 'parent': parent!, - if (property != null) 'property': property!, - if (propertyType != null) 'propertyType': propertyType!, - }; -} +typedef GoogleAnalyticsAdminV1betaPropertySummary = $PropertySummary; /// Request message for ProvisionAccountTicket RPC. class GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest { @@ -5391,26 +4197,8 @@ class GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest { } /// Response message for ProvisionAccountTicket RPC. -class GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse { - /// The param to be passed in the ToS link. - core.String? accountTicketId; - - GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse({ - this.accountTicketId, - }); - - GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse.fromJson( - core.Map json_) - : this( - accountTicketId: json_.containsKey('accountTicketId') - ? json_['accountTicketId'] as core.String - : null, - ); - - core.Map toJson() => { - if (accountTicketId != null) 'accountTicketId': accountTicketId!, - }; -} +typedef GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse + = $ProvisionAccountTicketResponse; /// The request for a Data Access Record Report. class GoogleAnalyticsAdminV1betaRunAccessReportRequest { diff --git a/generated/googleapis_beta/lib/analyticsdata/v1beta.dart b/generated/googleapis_beta/lib/analyticsdata/v1beta.dart index fb1d3b9e2..f198ead56 100644 --- a/generated/googleapis_beta/lib/analyticsdata/v1beta.dart +++ b/generated/googleapis_beta/lib/analyticsdata/v1beta.dart @@ -3,6 +3,7 @@ // 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 @@ -1375,6 +1376,90 @@ class CohortsRange { }; } +/// Defines an individual comparison. +/// +/// Most requests will include multiple comparisons so that the report compares +/// between the comparisons. +class Comparison { + /// A saved comparison identified by the comparison's resource name. + /// + /// For example, 'comparisons/1234'. + core.String? comparison; + + /// A basic comparison. + FilterExpression? dimensionFilter; + + /// Each comparison produces separate rows in the response. + /// + /// In the response, this comparison is identified by this name. If name is + /// unspecified, we will use the saved comparisons display name. + core.String? name; + + Comparison({ + this.comparison, + this.dimensionFilter, + this.name, + }); + + Comparison.fromJson(core.Map json_) + : this( + comparison: json_.containsKey('comparison') + ? json_['comparison'] as core.String + : null, + dimensionFilter: json_.containsKey('dimensionFilter') + ? FilterExpression.fromJson(json_['dimensionFilter'] + as core.Map) + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + ); + + core.Map toJson() => { + if (comparison != null) 'comparison': comparison!, + if (dimensionFilter != null) 'dimensionFilter': dimensionFilter!, + if (name != null) 'name': name!, + }; +} + +/// The metadata for a single comparison. +class ComparisonMetadata { + /// This comparison's resource name. + /// + /// Useable in \[Comparison\](#Comparison)'s `comparison` field. For example, + /// 'comparisons/1234'. + core.String? apiName; + + /// This comparison's description. + core.String? description; + + /// This comparison's name within the Google Analytics user interface. + core.String? uiName; + + ComparisonMetadata({ + this.apiName, + this.description, + this.uiName, + }); + + ComparisonMetadata.fromJson(core.Map json_) + : this( + apiName: json_.containsKey('apiName') + ? json_['apiName'] as core.String + : null, + description: json_.containsKey('description') + ? json_['description'] as core.String + : null, + uiName: json_.containsKey('uiName') + ? json_['uiName'] as core.String + : null, + ); + + core.Map toJson() => { + if (apiName != null) 'apiName': apiName!, + if (description != null) 'description': description!, + if (uiName != null) 'uiName': uiName!, + }; +} + /// Used to combine dimension values to a single dimension. class ConcatenateExpression { /// The delimiter placed between dimension names. @@ -1897,6 +1982,9 @@ class ListAudienceExportsResponse { /// The dimensions, metrics and comparisons currently accepted in reporting /// methods. class Metadata { + /// The comparison descriptions. + core.List? comparisons; + /// The dimension descriptions. core.List? dimensions; @@ -1907,6 +1995,7 @@ class Metadata { core.String? name; Metadata({ + this.comparisons, this.dimensions, this.metrics, this.name, @@ -1914,6 +2003,12 @@ class Metadata { Metadata.fromJson(core.Map json_) : this( + comparisons: json_.containsKey('comparisons') + ? (json_['comparisons'] as core.List) + .map((value) => ComparisonMetadata.fromJson( + value as core.Map)) + .toList() + : null, dimensions: json_.containsKey('dimensions') ? (json_['dimensions'] as core.List) .map((value) => DimensionMetadata.fromJson( @@ -1930,6 +2025,7 @@ class Metadata { ); core.Map toJson() => { + if (comparisons != null) 'comparisons': comparisons!, if (dimensions != null) 'dimensions': dimensions!, if (metrics != null) 'metrics': metrics!, if (name != null) 'name': name!, @@ -3056,6 +3152,14 @@ class RunPivotReportRequest { /// present. CohortSpec? cohortSpec; + /// The configuration of comparisons requested and displayed. + /// + /// The request requires both a comparisons field and a comparisons dimension + /// to receive a comparison column in the response. + /// + /// Optional. + core.List? comparisons; + /// A currency code in ISO4217 format, such as "AED", "USD", "JPY". /// /// If the field is empty, the report uses the property's default currency. @@ -3129,6 +3233,7 @@ class RunPivotReportRequest { RunPivotReportRequest({ this.cohortSpec, + this.comparisons, this.currencyCode, this.dateRanges, this.dimensionFilter, @@ -3147,6 +3252,12 @@ class RunPivotReportRequest { ? CohortSpec.fromJson( json_['cohortSpec'] as core.Map) : null, + comparisons: json_.containsKey('comparisons') + ? (json_['comparisons'] as core.List) + .map((value) => Comparison.fromJson( + value as core.Map)) + .toList() + : null, currencyCode: json_.containsKey('currencyCode') ? json_['currencyCode'] as core.String : null, @@ -3195,6 +3306,7 @@ class RunPivotReportRequest { core.Map toJson() => { if (cohortSpec != null) 'cohortSpec': cohortSpec!, + if (comparisons != null) 'comparisons': comparisons!, if (currencyCode != null) 'currencyCode': currencyCode!, if (dateRanges != null) 'dateRanges': dateRanges!, if (dimensionFilter != null) 'dimensionFilter': dimensionFilter!, @@ -3576,6 +3688,14 @@ class RunReportRequest { /// present. CohortSpec? cohortSpec; + /// The configuration of comparisons requested and displayed. + /// + /// The request only requires a comparisons field in order to receive a + /// comparison column in the response. + /// + /// Optional. + core.List? comparisons; + /// A currency code in ISO4217 format, such as "AED", "USD", "JPY". /// /// If the field is empty, the report uses the property's default currency. @@ -3668,6 +3788,7 @@ class RunReportRequest { RunReportRequest({ this.cohortSpec, + this.comparisons, this.currencyCode, this.dateRanges, this.dimensionFilter, @@ -3689,6 +3810,12 @@ class RunReportRequest { ? CohortSpec.fromJson( json_['cohortSpec'] as core.Map) : null, + comparisons: json_.containsKey('comparisons') + ? (json_['comparisons'] as core.List) + .map((value) => Comparison.fromJson( + value as core.Map)) + .toList() + : null, currencyCode: json_.containsKey('currencyCode') ? json_['currencyCode'] as core.String : null, @@ -3747,6 +3874,7 @@ class RunReportRequest { core.Map toJson() => { if (cohortSpec != null) 'cohortSpec': cohortSpec!, + if (comparisons != null) 'comparisons': comparisons!, if (currencyCode != null) 'currencyCode': currencyCode!, if (dateRanges != null) 'dateRanges': dateRanges!, if (dimensionFilter != null) 'dimensionFilter': dimensionFilter!, diff --git a/generated/googleapis_beta/lib/area120tables/v1alpha1.dart b/generated/googleapis_beta/lib/area120tables/v1alpha1.dart index 9e59c9660..e975350e0 100644 --- a/generated/googleapis_beta/lib/area120tables/v1alpha1.dart +++ b/generated/googleapis_beta/lib/area120tables/v1alpha1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/bigqueryconnection/v1beta1.dart b/generated/googleapis_beta/lib/bigqueryconnection/v1beta1.dart index 8f50fd45a..017241d91 100644 --- a/generated/googleapis_beta/lib/bigqueryconnection/v1beta1.dart +++ b/generated/googleapis_beta/lib/bigqueryconnection/v1beta1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart b/generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart index 9a0aad069..afab8e286 100644 --- a/generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart +++ b/generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/cloudsupport/v2beta.dart b/generated/googleapis_beta/lib/cloudsupport/v2beta.dart index d2974c6ab..e2236a660 100644 --- a/generated/googleapis_beta/lib/cloudsupport/v2beta.dart +++ b/generated/googleapis_beta/lib/cloudsupport/v2beta.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/dataflow/v1b3.dart b/generated/googleapis_beta/lib/dataflow/v1b3.dart index b4357e82b..d74cfc993 100644 --- a/generated/googleapis_beta/lib/dataflow/v1b3.dart +++ b/generated/googleapis_beta/lib/dataflow/v1b3.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/datalabeling/v1beta1.dart b/generated/googleapis_beta/lib/datalabeling/v1beta1.dart index 8133d4076..7b9d08d36 100644 --- a/generated/googleapis_beta/lib/datalabeling/v1beta1.dart +++ b/generated/googleapis_beta/lib/datalabeling/v1beta1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/datastream/v1alpha1.dart b/generated/googleapis_beta/lib/datastream/v1alpha1.dart index 76dc87f4b..b3ace06f0 100644 --- a/generated/googleapis_beta/lib/datastream/v1alpha1.dart +++ b/generated/googleapis_beta/lib/datastream/v1alpha1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/factchecktools/v1alpha1.dart b/generated/googleapis_beta/lib/factchecktools/v1alpha1.dart index a70a2607d..d9c87ad7c 100644 --- a/generated/googleapis_beta/lib/factchecktools/v1alpha1.dart +++ b/generated/googleapis_beta/lib/factchecktools/v1alpha1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/fcmdata/v1beta1.dart b/generated/googleapis_beta/lib/fcmdata/v1beta1.dart index 7e0d71761..9155be434 100644 --- a/generated/googleapis_beta/lib/fcmdata/v1beta1.dart +++ b/generated/googleapis_beta/lib/fcmdata/v1beta1.dart @@ -3,6 +3,7 @@ // 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 @@ -187,12 +188,18 @@ class GoogleFirebaseFcmDataV1beta1AndroidDeliveryData { /// Data detailing messaging delivery class GoogleFirebaseFcmDataV1beta1Data { - /// Count of messages accepted by FCM intended to Android devices. + /// Count of messages accepted by FCM intended for Android devices. /// /// The targeted device must have opted in to the collection of usage and /// diagnostic information. core.String? countMessagesAccepted; + /// Count of notifications accepted by FCM intended for Android devices. + /// + /// The targeted device must have opted in to the collection of usage and + /// diagnostic information. + core.String? countNotificationsAccepted; + /// Additional information about delivery performance for messages that were /// successfully delivered. GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents? @@ -204,11 +211,17 @@ class GoogleFirebaseFcmDataV1beta1Data { /// Mutually exclusive breakdown of message delivery outcomes. GoogleFirebaseFcmDataV1beta1MessageOutcomePercents? messageOutcomePercents; + /// Additional insights about proxy notification delivery. + GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents? + proxyNotificationInsightPercents; + GoogleFirebaseFcmDataV1beta1Data({ this.countMessagesAccepted, + this.countNotificationsAccepted, this.deliveryPerformancePercents, this.messageInsightPercents, this.messageOutcomePercents, + this.proxyNotificationInsightPercents, }); GoogleFirebaseFcmDataV1beta1Data.fromJson(core.Map json_) @@ -216,6 +229,10 @@ class GoogleFirebaseFcmDataV1beta1Data { countMessagesAccepted: json_.containsKey('countMessagesAccepted') ? json_['countMessagesAccepted'] as core.String : null, + countNotificationsAccepted: + json_.containsKey('countNotificationsAccepted') + ? json_['countNotificationsAccepted'] as core.String + : null, deliveryPerformancePercents: json_.containsKey('deliveryPerformancePercents') ? GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents @@ -232,17 +249,27 @@ class GoogleFirebaseFcmDataV1beta1Data { json_['messageOutcomePercents'] as core.Map) : null, + proxyNotificationInsightPercents: + json_.containsKey('proxyNotificationInsightPercents') + ? GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents + .fromJson(json_['proxyNotificationInsightPercents'] + as core.Map) + : null, ); core.Map toJson() => { if (countMessagesAccepted != null) 'countMessagesAccepted': countMessagesAccepted!, + if (countNotificationsAccepted != null) + 'countNotificationsAccepted': countNotificationsAccepted!, if (deliveryPerformancePercents != null) 'deliveryPerformancePercents': deliveryPerformancePercents!, if (messageInsightPercents != null) 'messageInsightPercents': messageInsightPercents!, if (messageOutcomePercents != null) 'messageOutcomePercents': messageOutcomePercents!, + if (proxyNotificationInsightPercents != null) + 'proxyNotificationInsightPercents': proxyNotificationInsightPercents!, }; } @@ -480,6 +507,82 @@ class GoogleFirebaseFcmDataV1beta1MessageOutcomePercents { }; } +/// Additional information about proxy notification delivery. +/// +/// All percentages are calculated with countNotificationsAccepted as the +/// denominator. +class GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents { + /// The percentage of accepted notifications that failed to be proxied. + /// + /// This is usually caused by exceptions that occurred while calling + /// [notifyAsPackage](https://developer.android.com/reference/android/app/NotificationManager#notifyAsPackage%28java.lang.String,%20java.lang.String,%20int,%20android.app.Notification%29). + core.double? failed; + + /// The percentage of accepted notifications that were successfully proxied by + /// [Google Play services](https://developers.google.com/android/guides/overview). + core.double? proxied; + + /// The percentage of accepted notifications that were skipped because the + /// messages were not throttled. + core.double? skippedNotThrottled; + + /// The percentage of accepted notifications that were skipped because the app + /// disallowed these messages to be proxied. + core.double? skippedOptedOut; + + /// The percentage of accepted notifications that were skipped because + /// configurations required for notifications to be proxied were missing. + core.double? skippedUnconfigured; + + /// The percentage of accepted notifications that were skipped because proxy + /// notification is unsupported for the recipient. + core.double? skippedUnsupported; + + GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents({ + this.failed, + this.proxied, + this.skippedNotThrottled, + this.skippedOptedOut, + this.skippedUnconfigured, + this.skippedUnsupported, + }); + + GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents.fromJson( + core.Map json_) + : this( + failed: json_.containsKey('failed') + ? (json_['failed'] as core.num).toDouble() + : null, + proxied: json_.containsKey('proxied') + ? (json_['proxied'] as core.num).toDouble() + : null, + skippedNotThrottled: json_.containsKey('skippedNotThrottled') + ? (json_['skippedNotThrottled'] as core.num).toDouble() + : null, + skippedOptedOut: json_.containsKey('skippedOptedOut') + ? (json_['skippedOptedOut'] as core.num).toDouble() + : null, + skippedUnconfigured: json_.containsKey('skippedUnconfigured') + ? (json_['skippedUnconfigured'] as core.num).toDouble() + : null, + skippedUnsupported: json_.containsKey('skippedUnsupported') + ? (json_['skippedUnsupported'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (failed != null) 'failed': failed!, + if (proxied != null) 'proxied': proxied!, + if (skippedNotThrottled != null) + 'skippedNotThrottled': skippedNotThrottled!, + if (skippedOptedOut != null) 'skippedOptedOut': skippedOptedOut!, + if (skippedUnconfigured != null) + 'skippedUnconfigured': skippedUnconfigured!, + if (skippedUnsupported != null) + 'skippedUnsupported': skippedUnsupported!, + }; +} + /// Represents a whole or partial calendar date, such as a birthday. /// /// The time of day and time zone are either specified elsewhere or are diff --git a/generated/googleapis_beta/lib/firebase/v1beta1.dart b/generated/googleapis_beta/lib/firebase/v1beta1.dart index dce2abb4d..99e5b1681 100644 --- a/generated/googleapis_beta/lib/firebase/v1beta1.dart +++ b/generated/googleapis_beta/lib/firebase/v1beta1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/firebaseappcheck/v1beta.dart b/generated/googleapis_beta/lib/firebaseappcheck/v1beta.dart index 1b0e5f7e3..8193c4b8e 100644 --- a/generated/googleapis_beta/lib/firebaseappcheck/v1beta.dart +++ b/generated/googleapis_beta/lib/firebaseappcheck/v1beta.dart @@ -3,6 +3,7 @@ // 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 @@ -2519,7 +2520,7 @@ class ProjectsServicesResource { /// `firebasedatabase.googleapis.com` (Firebase Realtime Database) * /// `firestore.googleapis.com` (Cloud Firestore) * /// `identitytoolkit.googleapis.com` (Firebase Authentication with Identity - /// Platform) + /// Platform) * `oauth2.googleapis.com` (Google Identity for iOS) /// Value must have pattern `^projects/\[^/\]+/services/\[^/\]+$`. /// /// [$fields] - Selector specifying which fields to include in a partial @@ -2565,9 +2566,8 @@ class ProjectsServicesResource { /// /// [pageSize] - The maximum number of Services to return in the response. /// Only explicitly configured services are returned. The server may return - /// fewer than this at its own discretion. If no value is specified or set to - /// zero (or too large a value is specified), the server will impose its own - /// limit. + /// fewer than this at its own discretion. If no value is specified (or too + /// large a value is specified), the server will impose its own limit. /// /// [pageToken] - Token returned from a previous call to ListServices /// indicating where in the set of Services to resume listing. Provide this to @@ -2934,8 +2934,8 @@ class ProjectsServicesResourcePoliciesResource { /// /// Request parameters: /// - /// [name] - Required. The relative name of the resource policy object, in the - /// format: ``` + /// [name] - Required. Identifier. The relative name of the resource policy + /// object, in the format: ``` /// projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} /// ``` Note that the `service_id` element must be a supported service ID. /// Currently, the following service IDs are supported: * @@ -3375,9 +3375,9 @@ class GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest { /// A comma-separated list of names of fields in the Services to update. /// - /// Example: `display_name`. If this field is present, the `update_mask` field - /// in the UpdateServiceRequest messages must all match this field, or the - /// entire batch fails and no updates will be committed. + /// Example: `display_name`. If the `update_mask` field is set in both this + /// request and any of the UpdateServiceRequest messages, they must match or + /// the entire batch fails and no updates will be committed. /// /// Optional. core.String? updateMask; @@ -4624,10 +4624,11 @@ class GoogleFirebaseAppcheckV1betaResourcePolicy { /// This etag is strongly validated as defined by RFC 7232. core.String? etag; + /// Identifier. + /// /// The relative name of the resource policy object, in the format: ``` /// projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id} /// ``` Note that the `service_id` element must be a supported service ID. - /// /// Currently, the following service IDs are supported: * /// `oauth2.googleapis.com` (Google Identity for iOS) `resource_policy_id` is /// a system-generated UID. @@ -4881,8 +4882,8 @@ class GoogleFirebaseAppcheckV1betaUpdateServiceRequest { /// `firebasedatabase.googleapis.com` (Firebase Realtime Database) * /// `firestore.googleapis.com` (Cloud Firestore) * /// `identitytoolkit.googleapis.com` (Firebase Authentication with Identity - /// Platform) For Firebase Authentication to work with App Check, you must - /// first upgrade to + /// Platform) * `oauth2.googleapis.com` (Google Identity for iOS) For Firebase + /// Authentication to work with App Check, you must first upgrade to /// [Firebase Authentication with Identity Platform](https://firebase.google.com/docs/auth#identity-platform). /// /// Required. diff --git a/generated/googleapis_beta/lib/firebasedatabase/v1beta.dart b/generated/googleapis_beta/lib/firebasedatabase/v1beta.dart index 3f417513b..a31823b16 100644 --- a/generated/googleapis_beta/lib/firebasedatabase/v1beta.dart +++ b/generated/googleapis_beta/lib/firebasedatabase/v1beta.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/firebasestorage/v1beta.dart b/generated/googleapis_beta/lib/firebasestorage/v1beta.dart index 234d7f275..eeb41f5d6 100644 --- a/generated/googleapis_beta/lib/firebasestorage/v1beta.dart +++ b/generated/googleapis_beta/lib/firebasestorage/v1beta.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/gkehub/v2alpha.dart b/generated/googleapis_beta/lib/gkehub/v2alpha.dart index 0dd54a139..654e42105 100644 --- a/generated/googleapis_beta/lib/gkehub/v2alpha.dart +++ b/generated/googleapis_beta/lib/gkehub/v2alpha.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/lifesciences/v2beta.dart b/generated/googleapis_beta/lib/lifesciences/v2beta.dart index 5a87bc79d..a04d07fdd 100644 --- a/generated/googleapis_beta/lib/lifesciences/v2beta.dart +++ b/generated/googleapis_beta/lib/lifesciences/v2beta.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/prod_tt_sasportal/v1alpha1.dart b/generated/googleapis_beta/lib/prod_tt_sasportal/v1alpha1.dart index 56105cbe4..b04f1b7e5 100644 --- a/generated/googleapis_beta/lib/prod_tt_sasportal/v1alpha1.dart +++ b/generated/googleapis_beta/lib/prod_tt_sasportal/v1alpha1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/recommendationengine/v1beta1.dart b/generated/googleapis_beta/lib/recommendationengine/v1beta1.dart index cf19c725c..e498744b8 100644 --- a/generated/googleapis_beta/lib/recommendationengine/v1beta1.dart +++ b/generated/googleapis_beta/lib/recommendationengine/v1beta1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/sasportal/v1alpha1.dart b/generated/googleapis_beta/lib/sasportal/v1alpha1.dart index 77fa3bec2..fed93880f 100644 --- a/generated/googleapis_beta/lib/sasportal/v1alpha1.dart +++ b/generated/googleapis_beta/lib/sasportal/v1alpha1.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/lib/shared.dart b/generated/googleapis_beta/lib/shared.dart index 01648762a..36e9ea744 100644 --- a/generated/googleapis_beta/lib/shared.dart +++ b/generated/googleapis_beta/lib/shared.dart @@ -8,6 +8,7 @@ library; // 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 @@ -18,6 +19,327 @@ library; import 'dart:convert' as convert; import 'dart:core' as core; +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaAccessDateRange +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaAccessDateRange +class $AccessDateRange { + /// The inclusive end date for the query in the format `YYYY-MM-DD`. + /// + /// Cannot be before `startDate`. The format `NdaysAgo`, `yesterday`, or + /// `today` is also accepted, and in that case, the date is inferred based on + /// the current time in the request's time zone. + core.String? endDate; + + /// The inclusive start date for the query in the format `YYYY-MM-DD`. + /// + /// Cannot be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` + /// is also accepted, and in that case, the date is inferred based on the + /// current time in the request's time zone. + core.String? startDate; + + $AccessDateRange({ + this.endDate, + this.startDate, + }); + + $AccessDateRange.fromJson(core.Map json_) + : this( + endDate: json_.containsKey('endDate') + ? json_['endDate'] as core.String + : null, + startDate: json_.containsKey('startDate') + ? json_['startDate'] as core.String + : null, + ); + + core.Map toJson() => { + if (endDate != null) 'endDate': endDate!, + if (startDate != null) 'startDate': startDate!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaAccessDimension +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaAccessDimension +class $AccessDimension { + /// The API name of the dimension. + /// + /// See + /// [Data Access Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + /// for the list of dimensions supported in this API. Dimensions are + /// referenced by name in `dimensionFilter` and `orderBys`. + core.String? dimensionName; + + $AccessDimension({ + this.dimensionName, + }); + + $AccessDimension.fromJson(core.Map json_) + : this( + dimensionName: json_.containsKey('dimensionName') + ? json_['dimensionName'] as core.String + : null, + ); + + core.Map toJson() => { + if (dimensionName != null) 'dimensionName': dimensionName!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaAccessDimensionHeader +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaAccessDimensionHeader +class $AccessDimensionHeader { + /// The dimension's name; for example 'userEmail'. + core.String? dimensionName; + + $AccessDimensionHeader({ + this.dimensionName, + }); + + $AccessDimensionHeader.fromJson(core.Map json_) + : this( + dimensionName: json_.containsKey('dimensionName') + ? json_['dimensionName'] as core.String + : null, + ); + + core.Map toJson() => { + if (dimensionName != null) 'dimensionName': dimensionName!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaAccessDimensionValue +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaAccessDimensionValue +class $AccessDimensionValue { + /// The dimension value. + /// + /// For example, this value may be 'France' for the 'country' dimension. + core.String? value; + + $AccessDimensionValue({ + this.value, + }); + + $AccessDimensionValue.fromJson(core.Map json_) + : this( + value: + json_.containsKey('value') ? json_['value'] as core.String : null, + ); + + core.Map toJson() => { + if (value != null) 'value': value!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaAccessMetric +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaAccessMetric +class $AccessMetric { + /// The API name of the metric. + /// + /// See + /// [Data Access Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) + /// for the list of metrics supported in this API. Metrics are referenced by + /// name in `metricFilter` & `orderBys`. + core.String? metricName; + + $AccessMetric({ + this.metricName, + }); + + $AccessMetric.fromJson(core.Map json_) + : this( + metricName: json_.containsKey('metricName') + ? json_['metricName'] as core.String + : null, + ); + + core.Map toJson() => { + if (metricName != null) 'metricName': metricName!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaAccessMetricHeader +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaAccessMetricHeader +class $AccessMetricHeader { + /// The metric's name; for example 'accessCount'. + core.String? metricName; + + $AccessMetricHeader({ + this.metricName, + }); + + $AccessMetricHeader.fromJson(core.Map json_) + : this( + metricName: json_.containsKey('metricName') + ? json_['metricName'] as core.String + : null, + ); + + core.Map toJson() => { + if (metricName != null) 'metricName': metricName!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaAccessMetricValue +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaAccessMetricValue +class $AccessMetricValue { + /// The measurement value. + /// + /// For example, this value may be '13'. + core.String? value; + + $AccessMetricValue({ + this.value, + }); + + $AccessMetricValue.fromJson(core.Map json_) + : this( + value: + json_.containsKey('value') ? json_['value'] as core.String : null, + ); + + core.Map toJson() => { + if (value != null) 'value': value!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaAccount +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaAccount +class $Account { + /// Time when this account was originally created. + /// + /// Output only. + core.String? createTime; + + /// Indicates whether this Account is soft-deleted or not. + /// + /// Deleted accounts are excluded from List results unless specifically + /// requested. + /// + /// Output only. + core.bool? deleted; + + /// Human-readable display name for this account. + /// + /// Required. + core.String? displayName; + + /// The URI for a Google Marketing Platform organization resource. + /// + /// Only set when this account is connected to a GMP organization. Format: + /// marketingplatformadmin.googleapis.com/organizations/{org_id} + /// + /// Output only. + core.String? gmpOrganization; + + /// Resource name of this account. + /// + /// Format: accounts/{account} Example: "accounts/100" + /// + /// Output only. + core.String? name; + + /// Country of business. + /// + /// Must be a Unicode CLDR region code. + core.String? regionCode; + + /// Time when account payload fields were last updated. + /// + /// Output only. + core.String? updateTime; + + $Account({ + this.createTime, + this.deleted, + this.displayName, + this.gmpOrganization, + this.name, + this.regionCode, + this.updateTime, + }); + + $Account.fromJson(core.Map json_) + : this( + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + deleted: json_.containsKey('deleted') + ? json_['deleted'] as core.bool + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + gmpOrganization: json_.containsKey('gmpOrganization') + ? json_['gmpOrganization'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + regionCode: json_.containsKey('regionCode') + ? json_['regionCode'] as core.String + : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (deleted != null) 'deleted': deleted!, + if (displayName != null) 'displayName': displayName!, + if (gmpOrganization != null) 'gmpOrganization': gmpOrganization!, + if (name != null) 'name': name!, + if (regionCode != null) 'regionCode': regionCode!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionRequest +class $AcknowledgeUserDataCollectionRequest { + /// An acknowledgement that the caller of this method understands the terms of + /// user data collection. + /// + /// This field must contain the exact value: "I acknowledge that I have the + /// necessary privacy disclosures and rights from my end users for the + /// collection and processing of their data, including the association of such + /// data with the visitation information Google Analytics collects from my + /// site and/or app property." + /// + /// Required. + core.String? acknowledgement; + + $AcknowledgeUserDataCollectionRequest({ + this.acknowledgement, + }); + + $AcknowledgeUserDataCollectionRequest.fromJson(core.Map json_) + : this( + acknowledgement: json_.containsKey('acknowledgement') + ? json_['acknowledgement'] as core.String + : null, + ); + + core.Map toJson() => { + if (acknowledgement != null) 'acknowledgement': acknowledgement!, + }; +} + /// Used by: /// /// - datalabeling:v1beta1 : GoogleCloudDatalabelingV1beta1BoundingPolyConfig @@ -25,33 +347,555 @@ import 'dart:core' as core; class $Config { /// Annotation spec set resource name. /// - /// Required. - core.String? annotationSpecSet; + /// Required. + core.String? annotationSpecSet; + + /// Instruction message showed on contributors UI. + /// + /// Optional. + core.String? instructionMessage; + + $Config({ + this.annotationSpecSet, + this.instructionMessage, + }); + + $Config.fromJson(core.Map json_) + : this( + annotationSpecSet: json_.containsKey('annotationSpecSet') + ? json_['annotationSpecSet'] as core.String + : null, + instructionMessage: json_.containsKey('instructionMessage') + ? json_['instructionMessage'] as core.String + : null, + ); + + core.Map toJson() => { + if (annotationSpecSet != null) 'annotationSpecSet': annotationSpecSet!, + if (instructionMessage != null) + 'instructionMessage': instructionMessage!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue +class $ConversionEventDefaultConversionValue { + /// When a conversion event for this event_name has no set currency, this + /// currency will be applied as the default. + /// + /// Must be in ISO 4217 currency code format. See + /// https://en.wikipedia.org/wiki/ISO_4217 for more information. + core.String? currencyCode; + + /// This value will be used to populate the value for all conversions of the + /// specified event_name where the event "value" parameter is unset. + core.double? value; + + $ConversionEventDefaultConversionValue({ + this.currencyCode, + this.value, + }); + + $ConversionEventDefaultConversionValue.fromJson(core.Map json_) + : this( + currencyCode: json_.containsKey('currencyCode') + ? json_['currencyCode'] as core.String + : null, + value: json_.containsKey('value') + ? (json_['value'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (currencyCode != null) 'currencyCode': currencyCode!, + if (value != null) 'value': value!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaCustomDimension +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaCustomDimension +class $CustomDimension { + /// Description for this custom dimension. + /// + /// Max length of 150 characters. + /// + /// Optional. + core.String? description; + + /// If set to true, sets this dimension as NPA and excludes it from ads + /// personalization. + /// + /// This is currently only supported by user-scoped custom dimensions. + /// + /// Optional. + core.bool? disallowAdsPersonalization; + + /// Display name for this custom dimension as shown in the Analytics UI. + /// + /// Max length of 82 characters, alphanumeric plus space and underscore + /// starting with a letter. Legacy system-generated display names may contain + /// square brackets, but updates to this field will never permit square + /// brackets. + /// + /// Required. + core.String? displayName; + + /// Resource name for this CustomDimension resource. + /// + /// Format: properties/{property}/customDimensions/{customDimension} + /// + /// Output only. + core.String? name; + + /// Tagging parameter name for this custom dimension. + /// + /// If this is a user-scoped dimension, then this is the user property name. + /// If this is an event-scoped dimension, then this is the event parameter + /// name. If this is an item-scoped dimension, then this is the parameter name + /// found in the eCommerce items array. May only contain alphanumeric and + /// underscore characters, starting with a letter. Max length of 24 characters + /// for user-scoped dimensions, 40 characters for event-scoped dimensions. + /// + /// Required. Immutable. + core.String? parameterName; + + /// The scope of this dimension. + /// + /// Required. Immutable. + /// Possible string values are: + /// - "DIMENSION_SCOPE_UNSPECIFIED" : Scope unknown or not specified. + /// - "EVENT" : Dimension scoped to an event. + /// - "USER" : Dimension scoped to a user. + /// - "ITEM" : Dimension scoped to eCommerce items + core.String? scope; + + $CustomDimension({ + this.description, + this.disallowAdsPersonalization, + this.displayName, + this.name, + this.parameterName, + this.scope, + }); + + $CustomDimension.fromJson(core.Map json_) + : this( + description: json_.containsKey('description') + ? json_['description'] as core.String + : null, + disallowAdsPersonalization: + json_.containsKey('disallowAdsPersonalization') + ? json_['disallowAdsPersonalization'] as core.bool + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + parameterName: json_.containsKey('parameterName') + ? json_['parameterName'] as core.String + : null, + scope: + json_.containsKey('scope') ? json_['scope'] as core.String : null, + ); + + core.Map toJson() => { + if (description != null) 'description': description!, + if (disallowAdsPersonalization != null) + 'disallowAdsPersonalization': disallowAdsPersonalization!, + if (displayName != null) 'displayName': displayName!, + if (name != null) 'name': name!, + if (parameterName != null) 'parameterName': parameterName!, + if (scope != null) 'scope': scope!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaCustomMetric +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaCustomMetric +class $CustomMetric { + /// Description for this custom dimension. + /// + /// Max length of 150 characters. + /// + /// Optional. + core.String? description; + + /// Display name for this custom metric as shown in the Analytics UI. + /// + /// Max length of 82 characters, alphanumeric plus space and underscore + /// starting with a letter. Legacy system-generated display names may contain + /// square brackets, but updates to this field will never permit square + /// brackets. + /// + /// Required. + core.String? displayName; + + /// The type for the custom metric's value. + /// + /// Required. + /// Possible string values are: + /// - "MEASUREMENT_UNIT_UNSPECIFIED" : MeasurementUnit unspecified or missing. + /// - "STANDARD" : This metric uses default units. + /// - "CURRENCY" : This metric measures a currency. + /// - "FEET" : This metric measures feet. + /// - "METERS" : This metric measures meters. + /// - "KILOMETERS" : This metric measures kilometers. + /// - "MILES" : This metric measures miles. + /// - "MILLISECONDS" : This metric measures milliseconds. + /// - "SECONDS" : This metric measures seconds. + /// - "MINUTES" : This metric measures minutes. + /// - "HOURS" : This metric measures hours. + core.String? measurementUnit; + + /// Resource name for this CustomMetric resource. + /// + /// Format: properties/{property}/customMetrics/{customMetric} + /// + /// Output only. + core.String? name; + + /// Tagging name for this custom metric. + /// + /// If this is an event-scoped metric, then this is the event parameter name. + /// May only contain alphanumeric and underscore charactes, starting with a + /// letter. Max length of 40 characters for event-scoped metrics. + /// + /// Required. Immutable. + core.String? parameterName; + + /// Types of restricted data that this metric may contain. + /// + /// Required for metrics with CURRENCY measurement unit. Must be empty for + /// metrics with a non-CURRENCY measurement unit. + /// + /// Optional. + core.List? restrictedMetricType; + + /// The scope of this custom metric. + /// + /// Required. Immutable. + /// Possible string values are: + /// - "METRIC_SCOPE_UNSPECIFIED" : Scope unknown or not specified. + /// - "EVENT" : Metric scoped to an event. + core.String? scope; + + $CustomMetric({ + this.description, + this.displayName, + this.measurementUnit, + this.name, + this.parameterName, + this.restrictedMetricType, + this.scope, + }); + + $CustomMetric.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, + measurementUnit: json_.containsKey('measurementUnit') + ? json_['measurementUnit'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + parameterName: json_.containsKey('parameterName') + ? json_['parameterName'] as core.String + : null, + restrictedMetricType: json_.containsKey('restrictedMetricType') + ? (json_['restrictedMetricType'] as core.List) + .map((value) => value as core.String) + .toList() + : null, + scope: + json_.containsKey('scope') ? json_['scope'] as core.String : null, + ); + + core.Map toJson() => { + if (description != null) 'description': description!, + if (displayName != null) 'displayName': displayName!, + if (measurementUnit != null) 'measurementUnit': measurementUnit!, + if (name != null) 'name': name!, + if (parameterName != null) 'parameterName': parameterName!, + if (restrictedMetricType != null) + 'restrictedMetricType': restrictedMetricType!, + if (scope != null) 'scope': scope!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaDataRetentionSettings +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaDataRetentionSettings +class $DataRetentionSettings { + /// The length of time that event-level data is retained. + /// Possible string values are: + /// - "RETENTION_DURATION_UNSPECIFIED" : Data retention time duration is not + /// specified. + /// - "TWO_MONTHS" : The data retention time duration is 2 months. + /// - "FOURTEEN_MONTHS" : The data retention time duration is 14 months. + /// - "TWENTY_SIX_MONTHS" : The data retention time duration is 26 months. + /// Available to 360 properties only. + /// - "THIRTY_EIGHT_MONTHS" : The data retention time duration is 38 months. + /// Available to 360 properties only. + /// - "FIFTY_MONTHS" : The data retention time duration is 50 months. + /// Available to 360 properties only. + core.String? eventDataRetention; + + /// Resource name for this DataRetentionSetting resource. + /// + /// Format: properties/{property}/dataRetentionSettings + /// + /// Output only. + core.String? name; + + /// If true, reset the retention period for the user identifier with every + /// event from that user. + core.bool? resetUserDataOnNewActivity; + + $DataRetentionSettings({ + this.eventDataRetention, + this.name, + this.resetUserDataOnNewActivity, + }); + + $DataRetentionSettings.fromJson(core.Map json_) + : this( + eventDataRetention: json_.containsKey('eventDataRetention') + ? json_['eventDataRetention'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + resetUserDataOnNewActivity: + json_.containsKey('resetUserDataOnNewActivity') + ? json_['resetUserDataOnNewActivity'] as core.bool + : null, + ); + + core.Map toJson() => { + if (eventDataRetention != null) + 'eventDataRetention': eventDataRetention!, + if (name != null) 'name': name!, + if (resetUserDataOnNewActivity != null) + 'resetUserDataOnNewActivity': resetUserDataOnNewActivity!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaDataSharingSettings +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaDataSharingSettings +class $DataSharingSettings { + /// Resource name. + /// + /// Format: accounts/{account}/dataSharingSettings Example: + /// "accounts/1000/dataSharingSettings" + /// + /// Output only. + core.String? name; + + /// Allows any of Google sales to access the data in order to suggest + /// configuration changes to improve results. + core.bool? sharingWithGoogleAnySalesEnabled; + + /// Allows Google sales teams that are assigned to the customer to access the + /// data in order to suggest configuration changes to improve results. + /// + /// Sales team restrictions still apply when enabled. + core.bool? sharingWithGoogleAssignedSalesEnabled; + + /// Allows Google to use the data to improve other Google products or + /// services. + core.bool? sharingWithGoogleProductsEnabled; + + /// Allows Google support to access the data in order to help troubleshoot + /// issues. + core.bool? sharingWithGoogleSupportEnabled; + + /// Allows Google to share the data anonymously in aggregate form with others. + core.bool? sharingWithOthersEnabled; + + $DataSharingSettings({ + this.name, + this.sharingWithGoogleAnySalesEnabled, + this.sharingWithGoogleAssignedSalesEnabled, + this.sharingWithGoogleProductsEnabled, + this.sharingWithGoogleSupportEnabled, + this.sharingWithOthersEnabled, + }); + + $DataSharingSettings.fromJson(core.Map json_) + : this( + name: json_.containsKey('name') ? json_['name'] as core.String : null, + sharingWithGoogleAnySalesEnabled: + json_.containsKey('sharingWithGoogleAnySalesEnabled') + ? json_['sharingWithGoogleAnySalesEnabled'] as core.bool + : null, + sharingWithGoogleAssignedSalesEnabled: + json_.containsKey('sharingWithGoogleAssignedSalesEnabled') + ? json_['sharingWithGoogleAssignedSalesEnabled'] as core.bool + : null, + sharingWithGoogleProductsEnabled: + json_.containsKey('sharingWithGoogleProductsEnabled') + ? json_['sharingWithGoogleProductsEnabled'] as core.bool + : null, + sharingWithGoogleSupportEnabled: + json_.containsKey('sharingWithGoogleSupportEnabled') + ? json_['sharingWithGoogleSupportEnabled'] as core.bool + : null, + sharingWithOthersEnabled: + json_.containsKey('sharingWithOthersEnabled') + ? json_['sharingWithOthersEnabled'] as core.bool + : null, + ); + + core.Map toJson() => { + if (name != null) 'name': name!, + if (sharingWithGoogleAnySalesEnabled != null) + 'sharingWithGoogleAnySalesEnabled': sharingWithGoogleAnySalesEnabled!, + if (sharingWithGoogleAssignedSalesEnabled != null) + 'sharingWithGoogleAssignedSalesEnabled': + sharingWithGoogleAssignedSalesEnabled!, + if (sharingWithGoogleProductsEnabled != null) + 'sharingWithGoogleProductsEnabled': sharingWithGoogleProductsEnabled!, + if (sharingWithGoogleSupportEnabled != null) + 'sharingWithGoogleSupportEnabled': sharingWithGoogleSupportEnabled!, + if (sharingWithOthersEnabled != null) + 'sharingWithOthersEnabled': sharingWithOthersEnabled!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData +class $DataStreamAndroidAppStreamData { + /// ID of the corresponding Android app in Firebase, if any. + /// + /// This ID can change if the Android app is deleted and recreated. + /// + /// Output only. + core.String? firebaseAppId; + + /// The package name for the app being measured. + /// + /// Example: "com.example.myandroidapp" + /// + /// Immutable. + core.String? packageName; + + $DataStreamAndroidAppStreamData({ + this.firebaseAppId, + this.packageName, + }); + + $DataStreamAndroidAppStreamData.fromJson(core.Map json_) + : this( + firebaseAppId: json_.containsKey('firebaseAppId') + ? json_['firebaseAppId'] as core.String + : null, + packageName: json_.containsKey('packageName') + ? json_['packageName'] as core.String + : null, + ); + + core.Map toJson() => { + if (firebaseAppId != null) 'firebaseAppId': firebaseAppId!, + if (packageName != null) 'packageName': packageName!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData +class $DataStreamIosAppStreamData { + /// The Apple App Store Bundle ID for the app Example: "com.example.myiosapp" + /// + /// Required. Immutable. + core.String? bundleId; + + /// ID of the corresponding iOS app in Firebase, if any. + /// + /// This ID can change if the iOS app is deleted and recreated. + /// + /// Output only. + core.String? firebaseAppId; + + $DataStreamIosAppStreamData({ + this.bundleId, + this.firebaseAppId, + }); + + $DataStreamIosAppStreamData.fromJson(core.Map json_) + : this( + bundleId: json_.containsKey('bundleId') + ? json_['bundleId'] as core.String + : null, + firebaseAppId: json_.containsKey('firebaseAppId') + ? json_['firebaseAppId'] as core.String + : null, + ); + + core.Map toJson() => { + if (bundleId != null) 'bundleId': bundleId!, + if (firebaseAppId != null) 'firebaseAppId': firebaseAppId!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaDataStreamWebStreamData +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaDataStreamWebStreamData +class $DataStreamWebStreamData { + /// Domain name of the web app being measured, or empty. + /// + /// Example: "http://www.google.com", "https://www.google.com" + core.String? defaultUri; - /// Instruction message showed on contributors UI. + /// ID of the corresponding web app in Firebase, if any. /// - /// Optional. - core.String? instructionMessage; + /// This ID can change if the web app is deleted and recreated. + /// + /// Output only. + core.String? firebaseAppId; - $Config({ - this.annotationSpecSet, - this.instructionMessage, + /// Analytics Measurement ID. + /// + /// Example: "G-1A2BCD345E" + /// + /// Output only. + core.String? measurementId; + + $DataStreamWebStreamData({ + this.defaultUri, + this.firebaseAppId, + this.measurementId, }); - $Config.fromJson(core.Map json_) + $DataStreamWebStreamData.fromJson(core.Map json_) : this( - annotationSpecSet: json_.containsKey('annotationSpecSet') - ? json_['annotationSpecSet'] as core.String + defaultUri: json_.containsKey('defaultUri') + ? json_['defaultUri'] as core.String : null, - instructionMessage: json_.containsKey('instructionMessage') - ? json_['instructionMessage'] as core.String + firebaseAppId: json_.containsKey('firebaseAppId') + ? json_['firebaseAppId'] as core.String + : null, + measurementId: json_.containsKey('measurementId') + ? json_['measurementId'] as core.String : null, ); core.Map toJson() => { - if (annotationSpecSet != null) 'annotationSpecSet': annotationSpecSet!, - if (instructionMessage != null) - 'instructionMessage': instructionMessage!, + if (defaultUri != null) 'defaultUri': defaultUri!, + if (firebaseAppId != null) 'firebaseAppId': firebaseAppId!, + if (measurementId != null) 'measurementId': measurementId!, }; } @@ -98,6 +942,7 @@ class $Date { /// Used by: /// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy /// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaAccessOrderByDimensionOrderBy /// - analyticsdata:v1beta : DimensionOrderBy class $DimensionOrderBy { @@ -170,6 +1015,15 @@ class $DimensionValue { /// - adexchangebuyer2:v2beta1 : ResumeProposalRequest /// - adexchangebuyer2:v2beta1 : StopWatchingCreativeRequest /// - alertcenter:v1beta1 : Empty +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaArchiveAudienceRequest +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse +/// - analyticsadmin:v1alpha : GoogleProtobufEmpty /// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaAcknowledgeUserDataCollectionResponse /// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaArchiveCustomDimensionRequest /// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaArchiveCustomMetricRequest @@ -263,6 +1117,149 @@ class $Entry { /// Used by: /// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaFirebaseLink +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaFirebaseLink +class $FirebaseLink { + /// Time when this FirebaseLink was originally created. + /// + /// Output only. + core.String? createTime; + + /// Example format: properties/1234/firebaseLinks/5678 + /// + /// Output only. + core.String? name; + + /// Firebase project resource name. + /// + /// When creating a FirebaseLink, you may provide this resource name using + /// either a project number or project ID. Once this resource has been + /// created, returned FirebaseLinks will always have a project_name that + /// contains a project number. Format: 'projects/{project number}' Example: + /// 'projects/1234' + /// + /// Immutable. + core.String? project; + + $FirebaseLink({ + this.createTime, + this.name, + this.project, + }); + + $FirebaseLink.fromJson(core.Map json_) + : this( + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + project: json_.containsKey('project') + ? json_['project'] as core.String + : null, + ); + + core.Map toJson() => { + if (createTime != null) 'createTime': createTime!, + if (name != null) 'name': name!, + if (project != null) 'project': project!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaGoogleAdsLink +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaGoogleAdsLink +class $GoogleAdsLink { + /// Enable personalized advertising features with this integration. + /// + /// Automatically publish my Google Analytics audience lists and Google + /// Analytics remarketing events/parameters to the linked Google Ads account. + /// If this field is not set on create/update, it will be defaulted to true. + core.bool? adsPersonalizationEnabled; + + /// If true, this link is for a Google Ads manager account. + /// + /// Output only. + core.bool? canManageClients; + + /// Time when this link was originally created. + /// + /// Output only. + core.String? createTime; + + /// Email address of the user that created the link. + /// + /// An empty string will be returned if the email address can't be retrieved. + /// + /// Output only. + core.String? creatorEmailAddress; + + /// Google Ads customer ID. + /// + /// Immutable. + core.String? customerId; + + /// Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: + /// googleAdsLinkId is not the Google Ads customer ID. + /// + /// Output only. + core.String? name; + + /// Time when this link was last updated. + /// + /// Output only. + core.String? updateTime; + + $GoogleAdsLink({ + this.adsPersonalizationEnabled, + this.canManageClients, + this.createTime, + this.creatorEmailAddress, + this.customerId, + this.name, + this.updateTime, + }); + + $GoogleAdsLink.fromJson(core.Map json_) + : this( + adsPersonalizationEnabled: + json_.containsKey('adsPersonalizationEnabled') + ? json_['adsPersonalizationEnabled'] as core.bool + : null, + canManageClients: json_.containsKey('canManageClients') + ? json_['canManageClients'] as core.bool + : null, + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + creatorEmailAddress: json_.containsKey('creatorEmailAddress') + ? json_['creatorEmailAddress'] as core.String + : null, + customerId: json_.containsKey('customerId') + ? json_['customerId'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (adsPersonalizationEnabled != null) + 'adsPersonalizationEnabled': adsPersonalizationEnabled!, + if (canManageClients != null) 'canManageClients': canManageClients!, + if (createTime != null) 'createTime': createTime!, + if (creatorEmailAddress != null) + 'creatorEmailAddress': creatorEmailAddress!, + if (customerId != null) 'customerId': customerId!, + if (name != null) 'name': name!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaAccessInListFilter /// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaAccessInListFilter /// - analyticsdata:v1beta : InListFilter class $InListFilter { @@ -297,6 +1294,47 @@ class $InListFilter { }; } +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaKeyEventDefaultValue +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaKeyEventDefaultValue +class $KeyEventDefaultValue { + /// When an occurrence of this Key Event (specified by event_name) has no set + /// currency this currency will be applied as the default. + /// + /// Must be in ISO 4217 currency code format. See + /// https://en.wikipedia.org/wiki/ISO_4217 for more information. + /// + /// Required. + core.String? currencyCode; + + /// This will be used to populate the "value" parameter for all occurrences of + /// this Key Event (specified by event_name) where that parameter is unset. + /// + /// Required. + core.double? numericValue; + + $KeyEventDefaultValue({ + this.currencyCode, + this.numericValue, + }); + + $KeyEventDefaultValue.fromJson(core.Map json_) + : this( + currencyCode: json_.containsKey('currencyCode') + ? json_['currencyCode'] as core.String + : null, + numericValue: json_.containsKey('numericValue') + ? (json_['numericValue'] as core.num).toDouble() + : null, + ); + + core.Map toJson() => { + if (currencyCode != null) 'currencyCode': currencyCode!, + if (numericValue != null) 'numericValue': numericValue!, + }; +} + /// Used by: /// /// - datastream:v1alpha1 : Location @@ -372,6 +1410,57 @@ class $Location { /// Used by: /// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaMeasurementProtocolSecret +class $MeasurementProtocolSecret { + /// Human-readable display name for this secret. + /// + /// Required. + core.String? displayName; + + /// Resource name of this secret. + /// + /// This secret may be a child of any type of stream. Format: + /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + /// + /// Output only. + core.String? name; + + /// The measurement protocol secret value. + /// + /// Pass this value to the api_secret field of the Measurement Protocol API + /// when sending hits to this secret's parent property. + /// + /// Output only. + core.String? secretValue; + + $MeasurementProtocolSecret({ + this.displayName, + this.name, + this.secretValue, + }); + + $MeasurementProtocolSecret.fromJson(core.Map json_) + : this( + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + secretValue: json_.containsKey('secretValue') + ? json_['secretValue'] as core.String + : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (name != null) 'name': name!, + if (secretValue != null) 'secretValue': secretValue!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy /// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaAccessOrderByMetricOrderBy /// - analyticsdata:v1beta : MetricOrderBy class $MetricOrderBy { @@ -396,6 +1485,7 @@ class $MetricOrderBy { /// Used by: /// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaNumericValue /// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaNumericValue /// - analyticsdata:v1beta : NumericValue class $NumericValue { @@ -428,6 +1518,293 @@ class $NumericValue { /// Used by: /// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaProperty +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaProperty +class $Property { + /// The resource name of the parent account Format: accounts/{account_id} + /// Example: "accounts/123" + /// + /// Immutable. + core.String? account; + + /// Time when the entity was originally created. + /// + /// Output only. + core.String? createTime; + + /// The currency type used in reports involving monetary values. + /// + /// Format: https://en.wikipedia.org/wiki/ISO_4217 Examples: "USD", "EUR", + /// "JPY" + core.String? currencyCode; + + /// If set, the time at which this property was trashed. + /// + /// If not set, then this property is not currently in the trash can. + /// + /// Output only. + core.String? deleteTime; + + /// Human-readable display name for this property. + /// + /// The max allowed display name length is 100 UTF-16 code units. + /// + /// Required. + core.String? displayName; + + /// If set, the time at which this trashed property will be permanently + /// deleted. + /// + /// If not set, then this property is not currently in the trash can and is + /// not slated to be deleted. + /// + /// Output only. + core.String? expireTime; + + /// Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK + /// Possible string values are: + /// - "INDUSTRY_CATEGORY_UNSPECIFIED" : Industry category unspecified + /// - "AUTOMOTIVE" : Automotive + /// - "BUSINESS_AND_INDUSTRIAL_MARKETS" : Business and industrial markets + /// - "FINANCE" : Finance + /// - "HEALTHCARE" : Healthcare + /// - "TECHNOLOGY" : Technology + /// - "TRAVEL" : Travel + /// - "OTHER" : Other + /// - "ARTS_AND_ENTERTAINMENT" : Arts and entertainment + /// - "BEAUTY_AND_FITNESS" : Beauty and fitness + /// - "BOOKS_AND_LITERATURE" : Books and literature + /// - "FOOD_AND_DRINK" : Food and drink + /// - "GAMES" : Games + /// - "HOBBIES_AND_LEISURE" : Hobbies and leisure + /// - "HOME_AND_GARDEN" : Home and garden + /// - "INTERNET_AND_TELECOM" : Internet and telecom + /// - "LAW_AND_GOVERNMENT" : Law and government + /// - "NEWS" : News + /// - "ONLINE_COMMUNITIES" : Online communities + /// - "PEOPLE_AND_SOCIETY" : People and society + /// - "PETS_AND_ANIMALS" : Pets and animals + /// - "REAL_ESTATE" : Real estate + /// - "REFERENCE" : Reference + /// - "SCIENCE" : Science + /// - "SPORTS" : Sports + /// - "JOBS_AND_EDUCATION" : Jobs and education + /// - "SHOPPING" : Shopping + core.String? industryCategory; + + /// Resource name of this property. + /// + /// Format: properties/{property_id} Example: "properties/1000" + /// + /// Output only. + core.String? name; + + /// Resource name of this property's logical parent. + /// + /// Note: The Property-Moving UI can be used to change the parent. Format: + /// accounts/{account}, properties/{property} Example: "accounts/100", + /// "properties/101" + /// + /// Immutable. + core.String? parent; + + /// The property type for this Property resource. + /// + /// When creating a property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then + /// "ORDINARY_PROPERTY" will be implied. + /// + /// Immutable. + /// Possible string values are: + /// - "PROPERTY_TYPE_UNSPECIFIED" : Unknown or unspecified property type + /// - "PROPERTY_TYPE_ORDINARY" : Ordinary GA4 property + /// - "PROPERTY_TYPE_SUBPROPERTY" : GA4 subproperty + /// - "PROPERTY_TYPE_ROLLUP" : GA4 rollup property + core.String? propertyType; + + /// The Google Analytics service level that applies to this property. + /// + /// Output only. + /// Possible string values are: + /// - "SERVICE_LEVEL_UNSPECIFIED" : Service level not specified or invalid. + /// - "GOOGLE_ANALYTICS_STANDARD" : The standard version of Google Analytics. + /// - "GOOGLE_ANALYTICS_360" : The paid, premium version of Google Analytics. + core.String? serviceLevel; + + /// Reporting Time Zone, used as the day boundary for reports, regardless of + /// where the data originates. + /// + /// If the time zone honors DST, Analytics will automatically adjust for the + /// changes. NOTE: Changing the time zone only affects data going forward, and + /// is not applied retroactively. Format: https://www.iana.org/time-zones + /// Example: "America/Los_Angeles" + /// + /// Required. + core.String? timeZone; + + /// Time when entity payload fields were last updated. + /// + /// Output only. + core.String? updateTime; + + $Property({ + this.account, + this.createTime, + this.currencyCode, + this.deleteTime, + this.displayName, + this.expireTime, + this.industryCategory, + this.name, + this.parent, + this.propertyType, + this.serviceLevel, + this.timeZone, + this.updateTime, + }); + + $Property.fromJson(core.Map json_) + : this( + account: json_.containsKey('account') + ? json_['account'] as core.String + : null, + createTime: json_.containsKey('createTime') + ? json_['createTime'] as core.String + : null, + currencyCode: json_.containsKey('currencyCode') + ? json_['currencyCode'] as core.String + : null, + deleteTime: json_.containsKey('deleteTime') + ? json_['deleteTime'] as core.String + : null, + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + expireTime: json_.containsKey('expireTime') + ? json_['expireTime'] as core.String + : null, + industryCategory: json_.containsKey('industryCategory') + ? json_['industryCategory'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + parent: json_.containsKey('parent') + ? json_['parent'] as core.String + : null, + propertyType: json_.containsKey('propertyType') + ? json_['propertyType'] as core.String + : null, + serviceLevel: json_.containsKey('serviceLevel') + ? json_['serviceLevel'] as core.String + : null, + timeZone: json_.containsKey('timeZone') + ? json_['timeZone'] as core.String + : null, + updateTime: json_.containsKey('updateTime') + ? json_['updateTime'] as core.String + : null, + ); + + core.Map toJson() => { + if (account != null) 'account': account!, + if (createTime != null) 'createTime': createTime!, + if (currencyCode != null) 'currencyCode': currencyCode!, + if (deleteTime != null) 'deleteTime': deleteTime!, + if (displayName != null) 'displayName': displayName!, + if (expireTime != null) 'expireTime': expireTime!, + if (industryCategory != null) 'industryCategory': industryCategory!, + if (name != null) 'name': name!, + if (parent != null) 'parent': parent!, + if (propertyType != null) 'propertyType': propertyType!, + if (serviceLevel != null) 'serviceLevel': serviceLevel!, + if (timeZone != null) 'timeZone': timeZone!, + if (updateTime != null) 'updateTime': updateTime!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaPropertySummary +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaPropertySummary +class $PropertySummary { + /// Display name for the property referred to in this property summary. + core.String? displayName; + + /// Resource name of this property's logical parent. + /// + /// Note: The Property-Moving UI can be used to change the parent. Format: + /// accounts/{account}, properties/{property} Example: "accounts/100", + /// "properties/200" + core.String? parent; + + /// Resource name of property referred to by this property summary Format: + /// properties/{property_id} Example: "properties/1000" + core.String? property; + + /// The property's property type. + /// Possible string values are: + /// - "PROPERTY_TYPE_UNSPECIFIED" : Unknown or unspecified property type + /// - "PROPERTY_TYPE_ORDINARY" : Ordinary GA4 property + /// - "PROPERTY_TYPE_SUBPROPERTY" : GA4 subproperty + /// - "PROPERTY_TYPE_ROLLUP" : GA4 rollup property + core.String? propertyType; + + $PropertySummary({ + this.displayName, + this.parent, + this.property, + this.propertyType, + }); + + $PropertySummary.fromJson(core.Map json_) + : this( + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + parent: json_.containsKey('parent') + ? json_['parent'] as core.String + : null, + property: json_.containsKey('property') + ? json_['property'] as core.String + : null, + propertyType: json_.containsKey('propertyType') + ? json_['propertyType'] as core.String + : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (parent != null) 'parent': parent!, + if (property != null) 'property': property!, + if (propertyType != null) 'propertyType': propertyType!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse +/// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse +class $ProvisionAccountTicketResponse { + /// The param to be passed in the ToS link. + core.String? accountTicketId; + + $ProvisionAccountTicketResponse({ + this.accountTicketId, + }); + + $ProvisionAccountTicketResponse.fromJson(core.Map json_) + : this( + accountTicketId: json_.containsKey('accountTicketId') + ? json_['accountTicketId'] as core.String + : null, + ); + + core.Map toJson() => { + if (accountTicketId != null) 'accountTicketId': accountTicketId!, + }; +} + +/// Used by: +/// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaAccessQuotaStatus /// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaAccessQuotaStatus /// - analyticsdata:v1beta : QuotaStatus class $QuotaStatus { @@ -860,9 +2237,9 @@ class $SasPortalInstallationParams { /// Peak antenna gain in dBi. /// - /// This parameter is an integer with a value between -127 and +128 (dBi) - /// inclusive. - core.int? antennaGain; + /// This parameter is a double with a value between -127 and +128 (dBi) + /// inclusive. Part of Release 2 to support floating-point value + core.double? antennaGain; /// If an external antenna is used, the antenna model is optionally provided /// in this field. @@ -960,7 +2337,7 @@ class $SasPortalInstallationParams { ? json_['antennaDowntilt'] as core.int : null, antennaGain: json_.containsKey('antennaGain') - ? json_['antennaGain'] as core.int + ? (json_['antennaGain'] as core.num).toDouble() : null, antennaModel: json_.containsKey('antennaModel') ? json_['antennaModel'] as core.String @@ -1576,6 +2953,7 @@ class $Status { /// Used by: /// +/// - analyticsadmin:v1alpha : GoogleAnalyticsAdminV1alphaAccessStringFilter /// - analyticsadmin:v1beta : GoogleAnalyticsAdminV1betaAccessStringFilter /// - analyticsdata:v1beta : StringFilter class $StringFilter { diff --git a/generated/googleapis_beta/lib/sqladmin/v1beta4.dart b/generated/googleapis_beta/lib/sqladmin/v1beta4.dart index 4d56fc9f4..1598d6499 100644 --- a/generated/googleapis_beta/lib/sqladmin/v1beta4.dart +++ b/generated/googleapis_beta/lib/sqladmin/v1beta4.dart @@ -3,6 +3,7 @@ // 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 @@ -3101,6 +3102,45 @@ class ApiWarning { }; } +/// An available database version. +/// +/// It can be a major or a minor version. +class AvailableDatabaseVersion { + /// The database version's display name. + core.String? displayName; + + /// The version's major version name. + core.String? majorVersion; + + /// The database version name. + /// + /// For MySQL 8.0, this string provides the database major and minor version. + core.String? name; + + AvailableDatabaseVersion({ + this.displayName, + this.majorVersion, + this.name, + }); + + AvailableDatabaseVersion.fromJson(core.Map json_) + : this( + displayName: json_.containsKey('displayName') + ? json_['displayName'] as core.String + : null, + majorVersion: json_.containsKey('majorVersion') + ? json_['majorVersion'] as core.String + : null, + name: json_.containsKey('name') ? json_['name'] as core.String : null, + ); + + core.Map toJson() => { + if (displayName != null) 'displayName': displayName!, + if (majorVersion != null) 'majorVersion': majorVersion!, + if (name != null) 'name': name!, + }; +} + /// Database instance backup configuration. class BackupConfiguration { /// Backup retention settings. @@ -3624,10 +3664,20 @@ class CloneContext { /// is cloned. core.String? pointInTime; - /// (Point-in-time recovery for PostgreSQL only) Clone to an instance in the + /// Copy clone and point-in-time recovery clone of a regional instance in the + /// specified zones. + /// + /// If not specified, clone to the same secondary zone as the source instance. + /// This value cannot be the same as the preferred_zone field. + /// + /// Optional. + core.String? preferredSecondaryZone; + + /// Copy clone and point-in-time recovery clone of an instance to the /// specified zone. /// - /// If no zone is specified, clone to the same zone as the source instance. + /// If no zone is specified, clone to the same primary zone as the source + /// instance. /// /// Optional. core.String? preferredZone; @@ -3640,6 +3690,7 @@ class CloneContext { this.kind, this.pitrTimestampMs, this.pointInTime, + this.preferredSecondaryZone, this.preferredZone, }); @@ -3667,6 +3718,9 @@ class CloneContext { pointInTime: json_.containsKey('pointInTime') ? json_['pointInTime'] as core.String : null, + preferredSecondaryZone: json_.containsKey('preferredSecondaryZone') + ? json_['preferredSecondaryZone'] as core.String + : null, preferredZone: json_.containsKey('preferredZone') ? json_['preferredZone'] as core.String : null, @@ -3681,6 +3735,8 @@ class CloneContext { if (kind != null) 'kind': kind!, if (pitrTimestampMs != null) 'pitrTimestampMs': pitrTimestampMs!, if (pointInTime != null) 'pointInTime': pointInTime!, + if (preferredSecondaryZone != null) + 'preferredSecondaryZone': preferredSecondaryZone!, if (preferredZone != null) 'preferredZone': preferredZone!, }; } @@ -3732,6 +3788,7 @@ class ConnectSettings { /// - "POSTGRES_13" : The database version is PostgreSQL 13. /// - "POSTGRES_14" : The database version is PostgreSQL 14. /// - "POSTGRES_15" : The database version is PostgreSQL 15. + /// - "POSTGRES_16" : The database version is PostgreSQL 16. /// - "MYSQL_8_0" : The database version is MySQL 8. /// - "MYSQL_8_0_18" : The database major version is MySQL 8.0 and the minor /// version is 18. @@ -3765,6 +3822,9 @@ class ConnectSettings { /// version is 39. /// - "MYSQL_8_0_40" : The database major version is MySQL 8.0 and the minor /// version is 40. + /// - "MYSQL_8_4" : The database version is MySQL 8.4. + /// - "MYSQL_8_4_0" : The database version is MySQL 8.4 and the patch version + /// is 0. /// - "SQLSERVER_2019_STANDARD" : The database version is SQL Server 2019 /// Standard. /// - "SQLSERVER_2019_ENTERPRISE" : The database version is SQL Server 2019 @@ -4105,6 +4165,7 @@ class DatabaseInstance { /// - "POSTGRES_13" : The database version is PostgreSQL 13. /// - "POSTGRES_14" : The database version is PostgreSQL 14. /// - "POSTGRES_15" : The database version is PostgreSQL 15. + /// - "POSTGRES_16" : The database version is PostgreSQL 16. /// - "MYSQL_8_0" : The database version is MySQL 8. /// - "MYSQL_8_0_18" : The database major version is MySQL 8.0 and the minor /// version is 18. @@ -4138,6 +4199,9 @@ class DatabaseInstance { /// version is 39. /// - "MYSQL_8_0_40" : The database major version is MySQL 8.0 and the minor /// version is 40. + /// - "MYSQL_8_4" : The database version is MySQL 8.4. + /// - "MYSQL_8_4_0" : The database version is MySQL 8.4 and the patch version + /// is 0. /// - "SQLSERVER_2019_STANDARD" : The database version is SQL Server 2019 /// Standard. /// - "SQLSERVER_2019_ENTERPRISE" : The database version is SQL Server 2019 @@ -4283,9 +4347,9 @@ class DatabaseInstance { /// to PostgreSQL instances. core.String? rootPassword; - /// The status indicating if instance satisfiesPzs. + /// This status indicates whether the instance satisfies PZS. /// - /// Reserved for future use. + /// The status is reserved for future use. core.bool? satisfiesPzs; /// The start time of any upcoming scheduled maintenance for this instance. @@ -4339,6 +4403,11 @@ class DatabaseInstance { /// If the instance state is SUSPENDED, the reason for the suspension. core.List? suspensionReason; + /// All database versions that are available for upgrade. + /// + /// Output only. + core.List? upgradableDatabaseVersions; + /// The dns name of the primary instance in a replication group. /// /// Output only. @@ -4387,6 +4456,7 @@ class DatabaseInstance { this.sqlNetworkArchitecture, this.state, this.suspensionReason, + this.upgradableDatabaseVersions, this.writeEndpoint, }); @@ -4539,6 +4609,13 @@ class DatabaseInstance { .map((value) => value as core.String) .toList() : null, + upgradableDatabaseVersions: + json_.containsKey('upgradableDatabaseVersions') + ? (json_['upgradableDatabaseVersions'] as core.List) + .map((value) => AvailableDatabaseVersion.fromJson( + value as core.Map)) + .toList() + : null, writeEndpoint: json_.containsKey('writeEndpoint') ? json_['writeEndpoint'] as core.String : null, @@ -4600,6 +4677,8 @@ class DatabaseInstance { 'sqlNetworkArchitecture': sqlNetworkArchitecture!, if (state != null) 'state': state!, if (suspensionReason != null) 'suspensionReason': suspensionReason!, + if (upgradableDatabaseVersions != null) + 'upgradableDatabaseVersions': upgradableDatabaseVersions!, if (writeEndpoint != null) 'writeEndpoint': writeEndpoint!, }; } @@ -7024,7 +7103,8 @@ class Operation { /// - "AUTO_RESTART" : Performs auto-restart of an HA-enabled Cloud SQL /// database for auto recovery. /// - "REENCRYPT" : Re-encrypts CMEK instances with latest key version. - /// - "SWITCHOVER" : Switches over to replica instance from primary. + /// - "SWITCHOVER" : Switches the roles of the primary and replica pair. The + /// target instance should be the replica. /// - "ACQUIRE_SSRS_LEASE" : Acquire a lease for the setup of SQL Server /// Reporting Services (SSRS). /// - "RELEASE_SSRS_LEASE" : Release a lease for the setup of SQL Server @@ -7033,6 +7113,18 @@ class Operation { /// replica operation. Effect of a promote operation to the old primary is /// executed in this operation, asynchronously from the promote replica /// operation executed to the replica. + /// - "CLUSTER_MAINTENANCE" : Indicates that the instance, its read replicas, + /// and its cascading replicas are in maintenance. Maintenance typically gets + /// initiated on groups of replicas first, followed by the primary instance. + /// For each instance, maintenance typically causes the instance to be + /// unavailable for 1-3 minutes. + /// - "SELF_SERVICE_MAINTENANCE" : Indicates that the instance (and any of its + /// replicas) are currently in maintenance. This is initiated as a + /// self-service request by using SSM. Maintenance typically causes the + /// instance to be unavailable for 1-3 minutes. + /// - "SWITCHOVER_TO_REPLICA" : Switches a primary instance to a replica. This + /// operation runs as part of a switchover operation to the original primary + /// instance. core.String? operationType; /// The URI of this resource. @@ -7532,9 +7624,22 @@ class ReplicationCluster { /// Optional. core.String? failoverDrReplicaName; + /// If set, it indicates this instance has a private service access (PSA) dns + /// endpoint that is pointing to the primary instance of the cluster. + /// + /// If this instance is the primary, the dns should be pointing to this + /// instance. After Switchover or Replica failover, this DNS endpoint points + /// to the promoted instance. This is a read-only field, returned to the user + /// as information. This field can exist even if a standalone instance does + /// not yet have a replica, or had a DR replica that was deleted. + /// + /// Output only. + core.String? psaWriteEndpoint; + ReplicationCluster({ this.drReplica, this.failoverDrReplicaName, + this.psaWriteEndpoint, }); ReplicationCluster.fromJson(core.Map json_) @@ -7545,12 +7650,16 @@ class ReplicationCluster { failoverDrReplicaName: json_.containsKey('failoverDrReplicaName') ? json_['failoverDrReplicaName'] as core.String : null, + psaWriteEndpoint: json_.containsKey('psaWriteEndpoint') + ? json_['psaWriteEndpoint'] as core.String + : null, ); core.Map toJson() => { if (drReplica != null) 'drReplica': drReplica!, if (failoverDrReplicaName != null) 'failoverDrReplicaName': failoverDrReplicaName!, + if (psaWriteEndpoint != null) 'psaWriteEndpoint': psaWriteEndpoint!, }; } @@ -7689,8 +7798,8 @@ class Settings { /// Server. SqlActiveDirectoryConfig? activeDirectoryConfig; - /// Specifies advance machine configuration for the instance relevant only for - /// SQL Server. + /// Specifies advanced machine configuration for the instances relevant only + /// for SQL Server. AdvancedMachineFeatures? advancedMachineFeatures; /// The App Engine app IDs that can access this instance. diff --git a/generated/googleapis_beta/lib/toolresults/v1beta3.dart b/generated/googleapis_beta/lib/toolresults/v1beta3.dart index b607fb536..0a021cfa1 100644 --- a/generated/googleapis_beta/lib/toolresults/v1beta3.dart +++ b/generated/googleapis_beta/lib/toolresults/v1beta3.dart @@ -3,6 +3,7 @@ // 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 diff --git a/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart b/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart index ea25f9973..93db6974f 100644 --- a/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart +++ b/generated/googleapis_beta/test/adexchangebuyer2/v2beta1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/alertcenter/v1beta1_test.dart b/generated/googleapis_beta/test/alertcenter/v1beta1_test.dart index c22b0cf09..f6e78f3e0 100644 --- a/generated/googleapis_beta/test/alertcenter/v1beta1_test.dart +++ b/generated/googleapis_beta/test/alertcenter/v1beta1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/analyticsadmin/v1alpha_test.dart b/generated/googleapis_beta/test/analyticsadmin/v1alpha_test.dart new file mode 100644 index 000000000..e6760fefd --- /dev/null +++ b/generated/googleapis_beta/test/analyticsadmin/v1alpha_test.dart @@ -0,0 +1,17382 @@ +// 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_beta/analyticsadmin/v1alpha.dart' as api; +import 'package:http/http.dart' as http; +import 'package:test/test.dart' as unittest; + +import '../test_shared.dart'; + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessBetweenFilter = 0; +api.GoogleAnalyticsAdminV1alphaAccessBetweenFilter + buildGoogleAnalyticsAdminV1alphaAccessBetweenFilter() { + final o = api.GoogleAnalyticsAdminV1alphaAccessBetweenFilter(); + buildCounterGoogleAnalyticsAdminV1alphaAccessBetweenFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessBetweenFilter < 3) { + o.fromValue = buildGoogleAnalyticsAdminV1alphaNumericValue(); + o.toValue = buildGoogleAnalyticsAdminV1alphaNumericValue(); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessBetweenFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessBetweenFilter( + api.GoogleAnalyticsAdminV1alphaAccessBetweenFilter o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessBetweenFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessBetweenFilter < 3) { + checkGoogleAnalyticsAdminV1alphaNumericValue(o.fromValue!); + checkGoogleAnalyticsAdminV1alphaNumericValue(o.toValue!); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessBetweenFilter--; +} + +core.List buildUnnamed0() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed0(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 buildCounterGoogleAnalyticsAdminV1alphaAccessBinding = 0; +api.GoogleAnalyticsAdminV1alphaAccessBinding + buildGoogleAnalyticsAdminV1alphaAccessBinding() { + final o = api.GoogleAnalyticsAdminV1alphaAccessBinding(); + buildCounterGoogleAnalyticsAdminV1alphaAccessBinding++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessBinding < 3) { + o.name = 'foo'; + o.roles = buildUnnamed0(); + o.user = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAccessBinding--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessBinding( + api.GoogleAnalyticsAdminV1alphaAccessBinding o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessBinding++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessBinding < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed0(o.roles!); + unittest.expect( + o.user!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessBinding--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessDateRange = 0; +api.GoogleAnalyticsAdminV1alphaAccessDateRange + buildGoogleAnalyticsAdminV1alphaAccessDateRange() { + final o = api.GoogleAnalyticsAdminV1alphaAccessDateRange(); + buildCounterGoogleAnalyticsAdminV1alphaAccessDateRange++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessDateRange < 3) { + o.endDate = 'foo'; + o.startDate = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAccessDateRange--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessDateRange( + api.GoogleAnalyticsAdminV1alphaAccessDateRange o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessDateRange++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessDateRange < 3) { + unittest.expect( + o.endDate!, + unittest.equals('foo'), + ); + unittest.expect( + o.startDate!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessDateRange--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessDimension = 0; +api.GoogleAnalyticsAdminV1alphaAccessDimension + buildGoogleAnalyticsAdminV1alphaAccessDimension() { + final o = api.GoogleAnalyticsAdminV1alphaAccessDimension(); + buildCounterGoogleAnalyticsAdminV1alphaAccessDimension++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessDimension < 3) { + o.dimensionName = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAccessDimension--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessDimension( + api.GoogleAnalyticsAdminV1alphaAccessDimension o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessDimension++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessDimension < 3) { + unittest.expect( + o.dimensionName!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessDimension--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessDimensionHeader = 0; +api.GoogleAnalyticsAdminV1alphaAccessDimensionHeader + buildGoogleAnalyticsAdminV1alphaAccessDimensionHeader() { + final o = api.GoogleAnalyticsAdminV1alphaAccessDimensionHeader(); + buildCounterGoogleAnalyticsAdminV1alphaAccessDimensionHeader++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessDimensionHeader < 3) { + o.dimensionName = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAccessDimensionHeader--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessDimensionHeader( + api.GoogleAnalyticsAdminV1alphaAccessDimensionHeader o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessDimensionHeader++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessDimensionHeader < 3) { + unittest.expect( + o.dimensionName!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessDimensionHeader--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessDimensionValue = 0; +api.GoogleAnalyticsAdminV1alphaAccessDimensionValue + buildGoogleAnalyticsAdminV1alphaAccessDimensionValue() { + final o = api.GoogleAnalyticsAdminV1alphaAccessDimensionValue(); + buildCounterGoogleAnalyticsAdminV1alphaAccessDimensionValue++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessDimensionValue < 3) { + o.value = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAccessDimensionValue--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessDimensionValue( + api.GoogleAnalyticsAdminV1alphaAccessDimensionValue o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessDimensionValue++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessDimensionValue < 3) { + unittest.expect( + o.value!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessDimensionValue--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessFilter = 0; +api.GoogleAnalyticsAdminV1alphaAccessFilter + buildGoogleAnalyticsAdminV1alphaAccessFilter() { + final o = api.GoogleAnalyticsAdminV1alphaAccessFilter(); + buildCounterGoogleAnalyticsAdminV1alphaAccessFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessFilter < 3) { + o.betweenFilter = buildGoogleAnalyticsAdminV1alphaAccessBetweenFilter(); + o.fieldName = 'foo'; + o.inListFilter = buildGoogleAnalyticsAdminV1alphaAccessInListFilter(); + o.numericFilter = buildGoogleAnalyticsAdminV1alphaAccessNumericFilter(); + o.stringFilter = buildGoogleAnalyticsAdminV1alphaAccessStringFilter(); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessFilter( + api.GoogleAnalyticsAdminV1alphaAccessFilter o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessFilter < 3) { + checkGoogleAnalyticsAdminV1alphaAccessBetweenFilter(o.betweenFilter!); + unittest.expect( + o.fieldName!, + unittest.equals('foo'), + ); + checkGoogleAnalyticsAdminV1alphaAccessInListFilter(o.inListFilter!); + checkGoogleAnalyticsAdminV1alphaAccessNumericFilter(o.numericFilter!); + checkGoogleAnalyticsAdminV1alphaAccessStringFilter(o.stringFilter!); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessFilter--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessFilterExpression = 0; +api.GoogleAnalyticsAdminV1alphaAccessFilterExpression + buildGoogleAnalyticsAdminV1alphaAccessFilterExpression() { + final o = api.GoogleAnalyticsAdminV1alphaAccessFilterExpression(); + buildCounterGoogleAnalyticsAdminV1alphaAccessFilterExpression++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessFilterExpression < 3) { + o.accessFilter = buildGoogleAnalyticsAdminV1alphaAccessFilter(); + o.andGroup = buildGoogleAnalyticsAdminV1alphaAccessFilterExpressionList(); + o.notExpression = buildGoogleAnalyticsAdminV1alphaAccessFilterExpression(); + o.orGroup = buildGoogleAnalyticsAdminV1alphaAccessFilterExpressionList(); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessFilterExpression--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessFilterExpression( + api.GoogleAnalyticsAdminV1alphaAccessFilterExpression o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessFilterExpression++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessFilterExpression < 3) { + checkGoogleAnalyticsAdminV1alphaAccessFilter(o.accessFilter!); + checkGoogleAnalyticsAdminV1alphaAccessFilterExpressionList(o.andGroup!); + checkGoogleAnalyticsAdminV1alphaAccessFilterExpression(o.notExpression!); + checkGoogleAnalyticsAdminV1alphaAccessFilterExpressionList(o.orGroup!); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessFilterExpression--; +} + +core.List + buildUnnamed1() => [ + buildGoogleAnalyticsAdminV1alphaAccessFilterExpression(), + buildGoogleAnalyticsAdminV1alphaAccessFilterExpression(), + ]; + +void checkUnnamed1( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAccessFilterExpression(o[0]); + checkGoogleAnalyticsAdminV1alphaAccessFilterExpression(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessFilterExpressionList = 0; +api.GoogleAnalyticsAdminV1alphaAccessFilterExpressionList + buildGoogleAnalyticsAdminV1alphaAccessFilterExpressionList() { + final o = api.GoogleAnalyticsAdminV1alphaAccessFilterExpressionList(); + buildCounterGoogleAnalyticsAdminV1alphaAccessFilterExpressionList++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessFilterExpressionList < 3) { + o.expressions = buildUnnamed1(); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessFilterExpressionList--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessFilterExpressionList( + api.GoogleAnalyticsAdminV1alphaAccessFilterExpressionList o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessFilterExpressionList++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessFilterExpressionList < 3) { + checkUnnamed1(o.expressions!); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessFilterExpressionList--; +} + +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 buildCounterGoogleAnalyticsAdminV1alphaAccessInListFilter = 0; +api.GoogleAnalyticsAdminV1alphaAccessInListFilter + buildGoogleAnalyticsAdminV1alphaAccessInListFilter() { + final o = api.GoogleAnalyticsAdminV1alphaAccessInListFilter(); + buildCounterGoogleAnalyticsAdminV1alphaAccessInListFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessInListFilter < 3) { + o.caseSensitive = true; + o.values = buildUnnamed2(); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessInListFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessInListFilter( + api.GoogleAnalyticsAdminV1alphaAccessInListFilter o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessInListFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessInListFilter < 3) { + unittest.expect(o.caseSensitive!, unittest.isTrue); + checkUnnamed2(o.values!); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessInListFilter--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessMetric = 0; +api.GoogleAnalyticsAdminV1alphaAccessMetric + buildGoogleAnalyticsAdminV1alphaAccessMetric() { + final o = api.GoogleAnalyticsAdminV1alphaAccessMetric(); + buildCounterGoogleAnalyticsAdminV1alphaAccessMetric++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessMetric < 3) { + o.metricName = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAccessMetric--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessMetric( + api.GoogleAnalyticsAdminV1alphaAccessMetric o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessMetric++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessMetric < 3) { + unittest.expect( + o.metricName!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessMetric--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessMetricHeader = 0; +api.GoogleAnalyticsAdminV1alphaAccessMetricHeader + buildGoogleAnalyticsAdminV1alphaAccessMetricHeader() { + final o = api.GoogleAnalyticsAdminV1alphaAccessMetricHeader(); + buildCounterGoogleAnalyticsAdminV1alphaAccessMetricHeader++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessMetricHeader < 3) { + o.metricName = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAccessMetricHeader--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessMetricHeader( + api.GoogleAnalyticsAdminV1alphaAccessMetricHeader o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessMetricHeader++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessMetricHeader < 3) { + unittest.expect( + o.metricName!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessMetricHeader--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessMetricValue = 0; +api.GoogleAnalyticsAdminV1alphaAccessMetricValue + buildGoogleAnalyticsAdminV1alphaAccessMetricValue() { + final o = api.GoogleAnalyticsAdminV1alphaAccessMetricValue(); + buildCounterGoogleAnalyticsAdminV1alphaAccessMetricValue++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessMetricValue < 3) { + o.value = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAccessMetricValue--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessMetricValue( + api.GoogleAnalyticsAdminV1alphaAccessMetricValue o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessMetricValue++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessMetricValue < 3) { + unittest.expect( + o.value!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessMetricValue--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessNumericFilter = 0; +api.GoogleAnalyticsAdminV1alphaAccessNumericFilter + buildGoogleAnalyticsAdminV1alphaAccessNumericFilter() { + final o = api.GoogleAnalyticsAdminV1alphaAccessNumericFilter(); + buildCounterGoogleAnalyticsAdminV1alphaAccessNumericFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessNumericFilter < 3) { + o.operation = 'foo'; + o.value = buildGoogleAnalyticsAdminV1alphaNumericValue(); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessNumericFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessNumericFilter( + api.GoogleAnalyticsAdminV1alphaAccessNumericFilter o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessNumericFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessNumericFilter < 3) { + unittest.expect( + o.operation!, + unittest.equals('foo'), + ); + checkGoogleAnalyticsAdminV1alphaNumericValue(o.value!); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessNumericFilter--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessOrderBy = 0; +api.GoogleAnalyticsAdminV1alphaAccessOrderBy + buildGoogleAnalyticsAdminV1alphaAccessOrderBy() { + final o = api.GoogleAnalyticsAdminV1alphaAccessOrderBy(); + buildCounterGoogleAnalyticsAdminV1alphaAccessOrderBy++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessOrderBy < 3) { + o.desc = true; + o.dimension = + buildGoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy(); + o.metric = buildGoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy(); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessOrderBy--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessOrderBy( + api.GoogleAnalyticsAdminV1alphaAccessOrderBy o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessOrderBy++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessOrderBy < 3) { + unittest.expect(o.desc!, unittest.isTrue); + checkGoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy(o.dimension!); + checkGoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy(o.metric!); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessOrderBy--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy = + 0; +api.GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy + buildGoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy() { + final o = api.GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy(); + buildCounterGoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy < + 3) { + o.dimensionName = 'foo'; + o.orderType = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy( + api.GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy < + 3) { + unittest.expect( + o.dimensionName!, + unittest.equals('foo'), + ); + unittest.expect( + o.orderType!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy = 0; +api.GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy + buildGoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy() { + final o = api.GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy(); + buildCounterGoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy < 3) { + o.metricName = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy( + api.GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy < 3) { + unittest.expect( + o.metricName!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessQuota = 0; +api.GoogleAnalyticsAdminV1alphaAccessQuota + buildGoogleAnalyticsAdminV1alphaAccessQuota() { + final o = api.GoogleAnalyticsAdminV1alphaAccessQuota(); + buildCounterGoogleAnalyticsAdminV1alphaAccessQuota++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessQuota < 3) { + o.concurrentRequests = buildGoogleAnalyticsAdminV1alphaAccessQuotaStatus(); + o.serverErrorsPerProjectPerHour = + buildGoogleAnalyticsAdminV1alphaAccessQuotaStatus(); + o.tokensPerDay = buildGoogleAnalyticsAdminV1alphaAccessQuotaStatus(); + o.tokensPerHour = buildGoogleAnalyticsAdminV1alphaAccessQuotaStatus(); + o.tokensPerProjectPerHour = + buildGoogleAnalyticsAdminV1alphaAccessQuotaStatus(); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessQuota--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessQuota( + api.GoogleAnalyticsAdminV1alphaAccessQuota o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessQuota++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessQuota < 3) { + checkGoogleAnalyticsAdminV1alphaAccessQuotaStatus(o.concurrentRequests!); + checkGoogleAnalyticsAdminV1alphaAccessQuotaStatus( + o.serverErrorsPerProjectPerHour!); + checkGoogleAnalyticsAdminV1alphaAccessQuotaStatus(o.tokensPerDay!); + checkGoogleAnalyticsAdminV1alphaAccessQuotaStatus(o.tokensPerHour!); + checkGoogleAnalyticsAdminV1alphaAccessQuotaStatus( + o.tokensPerProjectPerHour!); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessQuota--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessQuotaStatus = 0; +api.GoogleAnalyticsAdminV1alphaAccessQuotaStatus + buildGoogleAnalyticsAdminV1alphaAccessQuotaStatus() { + final o = api.GoogleAnalyticsAdminV1alphaAccessQuotaStatus(); + buildCounterGoogleAnalyticsAdminV1alphaAccessQuotaStatus++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessQuotaStatus < 3) { + o.consumed = 42; + o.remaining = 42; + } + buildCounterGoogleAnalyticsAdminV1alphaAccessQuotaStatus--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessQuotaStatus( + api.GoogleAnalyticsAdminV1alphaAccessQuotaStatus o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessQuotaStatus++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessQuotaStatus < 3) { + unittest.expect( + o.consumed!, + unittest.equals(42), + ); + unittest.expect( + o.remaining!, + unittest.equals(42), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessQuotaStatus--; +} + +core.List + buildUnnamed3() => [ + buildGoogleAnalyticsAdminV1alphaAccessDimensionValue(), + buildGoogleAnalyticsAdminV1alphaAccessDimensionValue(), + ]; + +void checkUnnamed3( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAccessDimensionValue(o[0]); + checkGoogleAnalyticsAdminV1alphaAccessDimensionValue(o[1]); +} + +core.List buildUnnamed4() => [ + buildGoogleAnalyticsAdminV1alphaAccessMetricValue(), + buildGoogleAnalyticsAdminV1alphaAccessMetricValue(), + ]; + +void checkUnnamed4( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAccessMetricValue(o[0]); + checkGoogleAnalyticsAdminV1alphaAccessMetricValue(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessRow = 0; +api.GoogleAnalyticsAdminV1alphaAccessRow + buildGoogleAnalyticsAdminV1alphaAccessRow() { + final o = api.GoogleAnalyticsAdminV1alphaAccessRow(); + buildCounterGoogleAnalyticsAdminV1alphaAccessRow++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessRow < 3) { + o.dimensionValues = buildUnnamed3(); + o.metricValues = buildUnnamed4(); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessRow--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessRow( + api.GoogleAnalyticsAdminV1alphaAccessRow o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessRow++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessRow < 3) { + checkUnnamed3(o.dimensionValues!); + checkUnnamed4(o.metricValues!); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessRow--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccessStringFilter = 0; +api.GoogleAnalyticsAdminV1alphaAccessStringFilter + buildGoogleAnalyticsAdminV1alphaAccessStringFilter() { + final o = api.GoogleAnalyticsAdminV1alphaAccessStringFilter(); + buildCounterGoogleAnalyticsAdminV1alphaAccessStringFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessStringFilter < 3) { + o.caseSensitive = true; + o.matchType = 'foo'; + o.value = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAccessStringFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccessStringFilter( + api.GoogleAnalyticsAdminV1alphaAccessStringFilter o) { + buildCounterGoogleAnalyticsAdminV1alphaAccessStringFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccessStringFilter < 3) { + unittest.expect(o.caseSensitive!, unittest.isTrue); + unittest.expect( + o.matchType!, + unittest.equals('foo'), + ); + unittest.expect( + o.value!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAccessStringFilter--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccount = 0; +api.GoogleAnalyticsAdminV1alphaAccount + buildGoogleAnalyticsAdminV1alphaAccount() { + final o = api.GoogleAnalyticsAdminV1alphaAccount(); + buildCounterGoogleAnalyticsAdminV1alphaAccount++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccount < 3) { + o.createTime = 'foo'; + o.deleted = true; + o.displayName = 'foo'; + o.gmpOrganization = 'foo'; + o.name = 'foo'; + o.regionCode = 'foo'; + o.updateTime = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAccount--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccount( + api.GoogleAnalyticsAdminV1alphaAccount o) { + buildCounterGoogleAnalyticsAdminV1alphaAccount++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccount < 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect(o.deleted!, unittest.isTrue); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.gmpOrganization!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.regionCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAccount--; +} + +core.List buildUnnamed5() => [ + buildGoogleAnalyticsAdminV1alphaPropertySummary(), + buildGoogleAnalyticsAdminV1alphaPropertySummary(), + ]; + +void checkUnnamed5( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaPropertySummary(o[0]); + checkGoogleAnalyticsAdminV1alphaPropertySummary(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAccountSummary = 0; +api.GoogleAnalyticsAdminV1alphaAccountSummary + buildGoogleAnalyticsAdminV1alphaAccountSummary() { + final o = api.GoogleAnalyticsAdminV1alphaAccountSummary(); + buildCounterGoogleAnalyticsAdminV1alphaAccountSummary++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccountSummary < 3) { + o.account = 'foo'; + o.displayName = 'foo'; + o.name = 'foo'; + o.propertySummaries = buildUnnamed5(); + } + buildCounterGoogleAnalyticsAdminV1alphaAccountSummary--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAccountSummary( + api.GoogleAnalyticsAdminV1alphaAccountSummary o) { + buildCounterGoogleAnalyticsAdminV1alphaAccountSummary++; + if (buildCounterGoogleAnalyticsAdminV1alphaAccountSummary < 3) { + unittest.expect( + o.account!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed5(o.propertySummaries!); + } + buildCounterGoogleAnalyticsAdminV1alphaAccountSummary--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest = + 0; +api.GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest + buildGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest() { + final o = + api.GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest(); + buildCounterGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest < + 3) { + o.acknowledgement = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest( + api.GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest < + 3) { + unittest.expect( + o.acknowledgement!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse = + 0; +api.GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse + buildGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse() { + final o = + api.GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse(); + buildCounterGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse < + 3) {} + buildCounterGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse( + api.GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse < + 3) {} + buildCounterGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAdSenseLink = 0; +api.GoogleAnalyticsAdminV1alphaAdSenseLink + buildGoogleAnalyticsAdminV1alphaAdSenseLink() { + final o = api.GoogleAnalyticsAdminV1alphaAdSenseLink(); + buildCounterGoogleAnalyticsAdminV1alphaAdSenseLink++; + if (buildCounterGoogleAnalyticsAdminV1alphaAdSenseLink < 3) { + o.adClientCode = 'foo'; + o.name = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAdSenseLink--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAdSenseLink( + api.GoogleAnalyticsAdminV1alphaAdSenseLink o) { + buildCounterGoogleAnalyticsAdminV1alphaAdSenseLink++; + if (buildCounterGoogleAnalyticsAdminV1alphaAdSenseLink < 3) { + unittest.expect( + o.adClientCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAdSenseLink--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest = + 0; +api.GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest + buildGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest() { + final o = api + .GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest(); + buildCounterGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest < + 3) {} + buildCounterGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest( + api.GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest + o) { + buildCounterGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest < + 3) {} + buildCounterGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse = + 0; +api.GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse + buildGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse() { + final o = api + .GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse(); + buildCounterGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse < + 3) { + o.displayVideo360AdvertiserLink = + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(); + } + buildCounterGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse( + api.GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse + o) { + buildCounterGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse < + 3) { + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink( + o.displayVideo360AdvertiserLink!); + } + buildCounterGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaArchiveAudienceRequest = 0; +api.GoogleAnalyticsAdminV1alphaArchiveAudienceRequest + buildGoogleAnalyticsAdminV1alphaArchiveAudienceRequest() { + final o = api.GoogleAnalyticsAdminV1alphaArchiveAudienceRequest(); + buildCounterGoogleAnalyticsAdminV1alphaArchiveAudienceRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaArchiveAudienceRequest < 3) {} + buildCounterGoogleAnalyticsAdminV1alphaArchiveAudienceRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaArchiveAudienceRequest( + api.GoogleAnalyticsAdminV1alphaArchiveAudienceRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaArchiveAudienceRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaArchiveAudienceRequest < 3) {} + buildCounterGoogleAnalyticsAdminV1alphaArchiveAudienceRequest--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest = + 0; +api.GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest + buildGoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest() { + final o = api.GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest(); + buildCounterGoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest < + 3) {} + buildCounterGoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest( + api.GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest < + 3) {} + buildCounterGoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest = 0; +api.GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest + buildGoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest() { + final o = api.GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest(); + buildCounterGoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest < 3) {} + buildCounterGoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest( + api.GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest < 3) {} + buildCounterGoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAttributionSettings = 0; +api.GoogleAnalyticsAdminV1alphaAttributionSettings + buildGoogleAnalyticsAdminV1alphaAttributionSettings() { + final o = api.GoogleAnalyticsAdminV1alphaAttributionSettings(); + buildCounterGoogleAnalyticsAdminV1alphaAttributionSettings++; + if (buildCounterGoogleAnalyticsAdminV1alphaAttributionSettings < 3) { + o.acquisitionConversionEventLookbackWindow = 'foo'; + o.adsWebConversionDataExportScope = 'foo'; + o.name = 'foo'; + o.otherConversionEventLookbackWindow = 'foo'; + o.reportingAttributionModel = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAttributionSettings--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAttributionSettings( + api.GoogleAnalyticsAdminV1alphaAttributionSettings o) { + buildCounterGoogleAnalyticsAdminV1alphaAttributionSettings++; + if (buildCounterGoogleAnalyticsAdminV1alphaAttributionSettings < 3) { + unittest.expect( + o.acquisitionConversionEventLookbackWindow!, + unittest.equals('foo'), + ); + unittest.expect( + o.adsWebConversionDataExportScope!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.otherConversionEventLookbackWindow!, + unittest.equals('foo'), + ); + unittest.expect( + o.reportingAttributionModel!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAttributionSettings--; +} + +core.List + buildUnnamed6() => [ + buildGoogleAnalyticsAdminV1alphaAudienceFilterClause(), + buildGoogleAnalyticsAdminV1alphaAudienceFilterClause(), + ]; + +void checkUnnamed6( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAudienceFilterClause(o[0]); + checkGoogleAnalyticsAdminV1alphaAudienceFilterClause(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAudience = 0; +api.GoogleAnalyticsAdminV1alphaAudience + buildGoogleAnalyticsAdminV1alphaAudience() { + final o = api.GoogleAnalyticsAdminV1alphaAudience(); + buildCounterGoogleAnalyticsAdminV1alphaAudience++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudience < 3) { + o.adsPersonalizationEnabled = true; + o.createTime = 'foo'; + o.description = 'foo'; + o.displayName = 'foo'; + o.eventTrigger = buildGoogleAnalyticsAdminV1alphaAudienceEventTrigger(); + o.exclusionDurationMode = 'foo'; + o.filterClauses = buildUnnamed6(); + o.membershipDurationDays = 42; + o.name = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAudience--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAudience( + api.GoogleAnalyticsAdminV1alphaAudience o) { + buildCounterGoogleAnalyticsAdminV1alphaAudience++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudience < 3) { + unittest.expect(o.adsPersonalizationEnabled!, unittest.isTrue); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + checkGoogleAnalyticsAdminV1alphaAudienceEventTrigger(o.eventTrigger!); + unittest.expect( + o.exclusionDurationMode!, + unittest.equals('foo'), + ); + checkUnnamed6(o.filterClauses!); + unittest.expect( + o.membershipDurationDays!, + unittest.equals(42), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAudience--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter = 0; +api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter() { + final o = api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter(); + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter < + 3) { + o.atAnyPointInTime = true; + o.betweenFilter = + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter(); + o.fieldName = 'foo'; + o.inAnyNDayPeriod = 42; + o.inListFilter = + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter(); + o.numericFilter = + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter(); + o.stringFilter = + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter(); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter( + api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter o) { + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter < + 3) { + unittest.expect(o.atAnyPointInTime!, unittest.isTrue); + checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter( + o.betweenFilter!); + unittest.expect( + o.fieldName!, + unittest.equals('foo'), + ); + unittest.expect( + o.inAnyNDayPeriod!, + unittest.equals(42), + ); + checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter( + o.inListFilter!); + checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter( + o.numericFilter!); + checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter( + o.stringFilter!); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter = + 0; +api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter() { + final o = api + .GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter(); + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter < + 3) { + o.fromValue = + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue(); + o.toValue = + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue(); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter( + api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter + o) { + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter < + 3) { + checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue( + o.fromValue!); + checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue( + o.toValue!); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter--; +} + +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 + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter = + 0; +api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter() { + final o = api + .GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter(); + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter < + 3) { + o.caseSensitive = true; + o.values = buildUnnamed7(); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter( + api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter + o) { + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter < + 3) { + unittest.expect(o.caseSensitive!, unittest.isTrue); + checkUnnamed7(o.values!); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter = + 0; +api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter() { + final o = api + .GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter(); + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter < + 3) { + o.operation = 'foo'; + o.value = + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue(); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter( + api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter + o) { + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter < + 3) { + unittest.expect( + o.operation!, + unittest.equals('foo'), + ); + checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue( + o.value!); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue = + 0; +api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue() { + final o = api + .GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue(); + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue < + 3) { + o.doubleValue = 42.0; + o.int64Value = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue( + api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue + o) { + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue < + 3) { + unittest.expect( + o.doubleValue!, + unittest.equals(42.0), + ); + unittest.expect( + o.int64Value!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter = + 0; +api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter() { + final o = api + .GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter(); + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter < + 3) { + o.caseSensitive = true; + o.matchType = 'foo'; + o.value = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter( + api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter + o) { + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter < + 3) { + unittest.expect(o.caseSensitive!, unittest.isTrue); + unittest.expect( + o.matchType!, + unittest.equals('foo'), + ); + unittest.expect( + o.value!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAudienceEventFilter = 0; +api.GoogleAnalyticsAdminV1alphaAudienceEventFilter + buildGoogleAnalyticsAdminV1alphaAudienceEventFilter() { + final o = api.GoogleAnalyticsAdminV1alphaAudienceEventFilter(); + buildCounterGoogleAnalyticsAdminV1alphaAudienceEventFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceEventFilter < 3) { + o.eventName = 'foo'; + o.eventParameterFilterExpression = + buildGoogleAnalyticsAdminV1alphaAudienceFilterExpression(); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceEventFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAudienceEventFilter( + api.GoogleAnalyticsAdminV1alphaAudienceEventFilter o) { + buildCounterGoogleAnalyticsAdminV1alphaAudienceEventFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceEventFilter < 3) { + unittest.expect( + o.eventName!, + unittest.equals('foo'), + ); + checkGoogleAnalyticsAdminV1alphaAudienceFilterExpression( + o.eventParameterFilterExpression!); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceEventFilter--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAudienceEventTrigger = 0; +api.GoogleAnalyticsAdminV1alphaAudienceEventTrigger + buildGoogleAnalyticsAdminV1alphaAudienceEventTrigger() { + final o = api.GoogleAnalyticsAdminV1alphaAudienceEventTrigger(); + buildCounterGoogleAnalyticsAdminV1alphaAudienceEventTrigger++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceEventTrigger < 3) { + o.eventName = 'foo'; + o.logCondition = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceEventTrigger--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAudienceEventTrigger( + api.GoogleAnalyticsAdminV1alphaAudienceEventTrigger o) { + buildCounterGoogleAnalyticsAdminV1alphaAudienceEventTrigger++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceEventTrigger < 3) { + unittest.expect( + o.eventName!, + unittest.equals('foo'), + ); + unittest.expect( + o.logCondition!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceEventTrigger--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterClause = 0; +api.GoogleAnalyticsAdminV1alphaAudienceFilterClause + buildGoogleAnalyticsAdminV1alphaAudienceFilterClause() { + final o = api.GoogleAnalyticsAdminV1alphaAudienceFilterClause(); + buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterClause++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterClause < 3) { + o.clauseType = 'foo'; + o.sequenceFilter = buildGoogleAnalyticsAdminV1alphaAudienceSequenceFilter(); + o.simpleFilter = buildGoogleAnalyticsAdminV1alphaAudienceSimpleFilter(); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterClause--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAudienceFilterClause( + api.GoogleAnalyticsAdminV1alphaAudienceFilterClause o) { + buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterClause++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterClause < 3) { + unittest.expect( + o.clauseType!, + unittest.equals('foo'), + ); + checkGoogleAnalyticsAdminV1alphaAudienceSequenceFilter(o.sequenceFilter!); + checkGoogleAnalyticsAdminV1alphaAudienceSimpleFilter(o.simpleFilter!); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterClause--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterExpression = 0; +api.GoogleAnalyticsAdminV1alphaAudienceFilterExpression + buildGoogleAnalyticsAdminV1alphaAudienceFilterExpression() { + final o = api.GoogleAnalyticsAdminV1alphaAudienceFilterExpression(); + buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterExpression++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterExpression < 3) { + o.andGroup = buildGoogleAnalyticsAdminV1alphaAudienceFilterExpressionList(); + o.dimensionOrMetricFilter = + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter(); + o.eventFilter = buildGoogleAnalyticsAdminV1alphaAudienceEventFilter(); + o.notExpression = + buildGoogleAnalyticsAdminV1alphaAudienceFilterExpression(); + o.orGroup = buildGoogleAnalyticsAdminV1alphaAudienceFilterExpressionList(); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterExpression--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAudienceFilterExpression( + api.GoogleAnalyticsAdminV1alphaAudienceFilterExpression o) { + buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterExpression++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterExpression < 3) { + checkGoogleAnalyticsAdminV1alphaAudienceFilterExpressionList(o.andGroup!); + checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter( + o.dimensionOrMetricFilter!); + checkGoogleAnalyticsAdminV1alphaAudienceEventFilter(o.eventFilter!); + checkGoogleAnalyticsAdminV1alphaAudienceFilterExpression(o.notExpression!); + checkGoogleAnalyticsAdminV1alphaAudienceFilterExpressionList(o.orGroup!); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterExpression--; +} + +core.List + buildUnnamed8() => [ + buildGoogleAnalyticsAdminV1alphaAudienceFilterExpression(), + buildGoogleAnalyticsAdminV1alphaAudienceFilterExpression(), + ]; + +void checkUnnamed8( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAudienceFilterExpression(o[0]); + checkGoogleAnalyticsAdminV1alphaAudienceFilterExpression(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterExpressionList = + 0; +api.GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList + buildGoogleAnalyticsAdminV1alphaAudienceFilterExpressionList() { + final o = api.GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList(); + buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterExpressionList++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterExpressionList < 3) { + o.filterExpressions = buildUnnamed8(); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterExpressionList--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAudienceFilterExpressionList( + api.GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList o) { + buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterExpressionList++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterExpressionList < 3) { + checkUnnamed8(o.filterExpressions!); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceFilterExpressionList--; +} + +core.List< + api + .GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep> + buildUnnamed9() => [ + buildGoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep(), + buildGoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep(), + ]; + +void checkUnnamed9( + core.List< + api + .GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep> + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep( + o[0]); + checkGoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep( + o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAudienceSequenceFilter = 0; +api.GoogleAnalyticsAdminV1alphaAudienceSequenceFilter + buildGoogleAnalyticsAdminV1alphaAudienceSequenceFilter() { + final o = api.GoogleAnalyticsAdminV1alphaAudienceSequenceFilter(); + buildCounterGoogleAnalyticsAdminV1alphaAudienceSequenceFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceSequenceFilter < 3) { + o.scope = 'foo'; + o.sequenceMaximumDuration = 'foo'; + o.sequenceSteps = buildUnnamed9(); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceSequenceFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAudienceSequenceFilter( + api.GoogleAnalyticsAdminV1alphaAudienceSequenceFilter o) { + buildCounterGoogleAnalyticsAdminV1alphaAudienceSequenceFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceSequenceFilter < 3) { + unittest.expect( + o.scope!, + unittest.equals('foo'), + ); + unittest.expect( + o.sequenceMaximumDuration!, + unittest.equals('foo'), + ); + checkUnnamed9(o.sequenceSteps!); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceSequenceFilter--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep = + 0; +api.GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep + buildGoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep() { + final o = api + .GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep(); + buildCounterGoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep < + 3) { + o.constraintDuration = 'foo'; + o.filterExpression = + buildGoogleAnalyticsAdminV1alphaAudienceFilterExpression(); + o.immediatelyFollows = true; + o.scope = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep( + api.GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep + o) { + buildCounterGoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep < + 3) { + unittest.expect( + o.constraintDuration!, + unittest.equals('foo'), + ); + checkGoogleAnalyticsAdminV1alphaAudienceFilterExpression( + o.filterExpression!); + unittest.expect(o.immediatelyFollows!, unittest.isTrue); + unittest.expect( + o.scope!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaAudienceSimpleFilter = 0; +api.GoogleAnalyticsAdminV1alphaAudienceSimpleFilter + buildGoogleAnalyticsAdminV1alphaAudienceSimpleFilter() { + final o = api.GoogleAnalyticsAdminV1alphaAudienceSimpleFilter(); + buildCounterGoogleAnalyticsAdminV1alphaAudienceSimpleFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceSimpleFilter < 3) { + o.filterExpression = + buildGoogleAnalyticsAdminV1alphaAudienceFilterExpression(); + o.scope = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceSimpleFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaAudienceSimpleFilter( + api.GoogleAnalyticsAdminV1alphaAudienceSimpleFilter o) { + buildCounterGoogleAnalyticsAdminV1alphaAudienceSimpleFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaAudienceSimpleFilter < 3) { + checkGoogleAnalyticsAdminV1alphaAudienceFilterExpression( + o.filterExpression!); + unittest.expect( + o.scope!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaAudienceSimpleFilter--; +} + +core.List + buildUnnamed10() => [ + buildGoogleAnalyticsAdminV1alphaCreateAccessBindingRequest(), + buildGoogleAnalyticsAdminV1alphaCreateAccessBindingRequest(), + ]; + +void checkUnnamed10( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaCreateAccessBindingRequest(o[0]); + checkGoogleAnalyticsAdminV1alphaCreateAccessBindingRequest(o[1]); +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest = 0; +api.GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest + buildGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest() { + final o = api.GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest(); + buildCounterGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest < + 3) { + o.requests = buildUnnamed10(); + } + buildCounterGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest( + api.GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest < + 3) { + checkUnnamed10(o.requests!); + } + buildCounterGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest--; +} + +core.List buildUnnamed11() => [ + buildGoogleAnalyticsAdminV1alphaAccessBinding(), + buildGoogleAnalyticsAdminV1alphaAccessBinding(), + ]; + +void checkUnnamed11(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAccessBinding(o[0]); + checkGoogleAnalyticsAdminV1alphaAccessBinding(o[1]); +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse = + 0; +api.GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse + buildGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse() { + final o = api.GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse(); + buildCounterGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse < + 3) { + o.accessBindings = buildUnnamed11(); + } + buildCounterGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse( + api.GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse < + 3) { + checkUnnamed11(o.accessBindings!); + } + buildCounterGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse--; +} + +core.List + buildUnnamed12() => [ + buildGoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest(), + buildGoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest(), + ]; + +void checkUnnamed12( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest(o[0]); + checkGoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest(o[1]); +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest = 0; +api.GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest + buildGoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest() { + final o = api.GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest(); + buildCounterGoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest < + 3) { + o.requests = buildUnnamed12(); + } + buildCounterGoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest( + api.GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest < + 3) { + checkUnnamed12(o.requests!); + } + buildCounterGoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest--; +} + +core.List buildUnnamed13() => [ + buildGoogleAnalyticsAdminV1alphaAccessBinding(), + buildGoogleAnalyticsAdminV1alphaAccessBinding(), + ]; + +void checkUnnamed13(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAccessBinding(o[0]); + checkGoogleAnalyticsAdminV1alphaAccessBinding(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse = + 0; +api.GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse + buildGoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse() { + final o = api.GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse(); + buildCounterGoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse < + 3) { + o.accessBindings = buildUnnamed13(); + } + buildCounterGoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse( + api.GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse < + 3) { + checkUnnamed13(o.accessBindings!); + } + buildCounterGoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse--; +} + +core.List + buildUnnamed14() => [ + buildGoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest(), + buildGoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest(), + ]; + +void checkUnnamed14( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest(o[0]); + checkGoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest(o[1]); +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest = 0; +api.GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest + buildGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest() { + final o = api.GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest(); + buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest < + 3) { + o.requests = buildUnnamed14(); + } + buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest( + api.GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest < + 3) { + checkUnnamed14(o.requests!); + } + buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest--; +} + +core.List buildUnnamed15() => [ + buildGoogleAnalyticsAdminV1alphaAccessBinding(), + buildGoogleAnalyticsAdminV1alphaAccessBinding(), + ]; + +void checkUnnamed15(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAccessBinding(o[0]); + checkGoogleAnalyticsAdminV1alphaAccessBinding(o[1]); +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse = + 0; +api.GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse + buildGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse() { + final o = api.GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse(); + buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse < + 3) { + o.accessBindings = buildUnnamed15(); + } + buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse( + api.GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse < + 3) { + checkUnnamed15(o.accessBindings!); + } + buildCounterGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse--; +} + +core.List buildUnnamed16() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed16(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 buildUnnamed17() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed17(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 buildCounterGoogleAnalyticsAdminV1alphaBigQueryLink = 0; +api.GoogleAnalyticsAdminV1alphaBigQueryLink + buildGoogleAnalyticsAdminV1alphaBigQueryLink() { + final o = api.GoogleAnalyticsAdminV1alphaBigQueryLink(); + buildCounterGoogleAnalyticsAdminV1alphaBigQueryLink++; + if (buildCounterGoogleAnalyticsAdminV1alphaBigQueryLink < 3) { + o.createTime = 'foo'; + o.dailyExportEnabled = true; + o.excludedEvents = buildUnnamed16(); + o.exportStreams = buildUnnamed17(); + o.freshDailyExportEnabled = true; + o.includeAdvertisingId = true; + o.name = 'foo'; + o.project = 'foo'; + o.streamingExportEnabled = true; + } + buildCounterGoogleAnalyticsAdminV1alphaBigQueryLink--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaBigQueryLink( + api.GoogleAnalyticsAdminV1alphaBigQueryLink o) { + buildCounterGoogleAnalyticsAdminV1alphaBigQueryLink++; + if (buildCounterGoogleAnalyticsAdminV1alphaBigQueryLink < 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect(o.dailyExportEnabled!, unittest.isTrue); + checkUnnamed16(o.excludedEvents!); + checkUnnamed17(o.exportStreams!); + unittest.expect(o.freshDailyExportEnabled!, unittest.isTrue); + unittest.expect(o.includeAdvertisingId!, unittest.isTrue); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.project!, + unittest.equals('foo'), + ); + unittest.expect(o.streamingExportEnabled!, unittest.isTrue); + } + buildCounterGoogleAnalyticsAdminV1alphaBigQueryLink--; +} + +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 buildCounterGoogleAnalyticsAdminV1alphaCalculatedMetric = 0; +api.GoogleAnalyticsAdminV1alphaCalculatedMetric + buildGoogleAnalyticsAdminV1alphaCalculatedMetric() { + final o = api.GoogleAnalyticsAdminV1alphaCalculatedMetric(); + buildCounterGoogleAnalyticsAdminV1alphaCalculatedMetric++; + if (buildCounterGoogleAnalyticsAdminV1alphaCalculatedMetric < 3) { + o.calculatedMetricId = 'foo'; + o.description = 'foo'; + o.displayName = 'foo'; + o.formula = 'foo'; + o.invalidMetricReference = true; + o.metricUnit = 'foo'; + o.name = 'foo'; + o.restrictedMetricType = buildUnnamed18(); + } + buildCounterGoogleAnalyticsAdminV1alphaCalculatedMetric--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaCalculatedMetric( + api.GoogleAnalyticsAdminV1alphaCalculatedMetric o) { + buildCounterGoogleAnalyticsAdminV1alphaCalculatedMetric++; + if (buildCounterGoogleAnalyticsAdminV1alphaCalculatedMetric < 3) { + unittest.expect( + o.calculatedMetricId!, + unittest.equals('foo'), + ); + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.formula!, + unittest.equals('foo'), + ); + unittest.expect(o.invalidMetricReference!, unittest.isTrue); + unittest.expect( + o.metricUnit!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed18(o.restrictedMetricType!); + } + buildCounterGoogleAnalyticsAdminV1alphaCalculatedMetric--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest = + 0; +api.GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest + buildGoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest() { + final o = api + .GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest(); + buildCounterGoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest < + 3) {} + buildCounterGoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest( + api.GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest + o) { + buildCounterGoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest < + 3) {} + buildCounterGoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryChange = 0; +api.GoogleAnalyticsAdminV1alphaChangeHistoryChange + buildGoogleAnalyticsAdminV1alphaChangeHistoryChange() { + final o = api.GoogleAnalyticsAdminV1alphaChangeHistoryChange(); + buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryChange++; + if (buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryChange < 3) { + o.action = 'foo'; + o.resource = 'foo'; + o.resourceAfterChange = + buildGoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource(); + o.resourceBeforeChange = + buildGoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource(); + } + buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryChange--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaChangeHistoryChange( + api.GoogleAnalyticsAdminV1alphaChangeHistoryChange o) { + buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryChange++; + if (buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryChange < 3) { + unittest.expect( + o.action!, + unittest.equals('foo'), + ); + unittest.expect( + o.resource!, + unittest.equals('foo'), + ); + checkGoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource( + o.resourceAfterChange!); + checkGoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource( + o.resourceBeforeChange!); + } + buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryChange--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource = + 0; +api.GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource + buildGoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource() { + final o = + api.GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource(); + buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource++; + if (buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource < + 3) { + o.account = buildGoogleAnalyticsAdminV1alphaAccount(); + o.adsenseLink = buildGoogleAnalyticsAdminV1alphaAdSenseLink(); + o.attributionSettings = + buildGoogleAnalyticsAdminV1alphaAttributionSettings(); + o.audience = buildGoogleAnalyticsAdminV1alphaAudience(); + o.bigqueryLink = buildGoogleAnalyticsAdminV1alphaBigQueryLink(); + o.calculatedMetric = buildGoogleAnalyticsAdminV1alphaCalculatedMetric(); + o.channelGroup = buildGoogleAnalyticsAdminV1alphaChannelGroup(); + o.conversionEvent = buildGoogleAnalyticsAdminV1alphaConversionEvent(); + o.customDimension = buildGoogleAnalyticsAdminV1alphaCustomDimension(); + o.customMetric = buildGoogleAnalyticsAdminV1alphaCustomMetric(); + o.dataRedactionSettings = + buildGoogleAnalyticsAdminV1alphaDataRedactionSettings(); + o.dataRetentionSettings = + buildGoogleAnalyticsAdminV1alphaDataRetentionSettings(); + o.dataStream = buildGoogleAnalyticsAdminV1alphaDataStream(); + o.displayVideo360AdvertiserLink = + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(); + o.displayVideo360AdvertiserLinkProposal = + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal(); + o.enhancedMeasurementSettings = + buildGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings(); + o.eventCreateRule = buildGoogleAnalyticsAdminV1alphaEventCreateRule(); + o.expandedDataSet = buildGoogleAnalyticsAdminV1alphaExpandedDataSet(); + o.firebaseLink = buildGoogleAnalyticsAdminV1alphaFirebaseLink(); + o.googleAdsLink = buildGoogleAnalyticsAdminV1alphaGoogleAdsLink(); + o.googleSignalsSettings = + buildGoogleAnalyticsAdminV1alphaGoogleSignalsSettings(); + o.measurementProtocolSecret = + buildGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret(); + o.property = buildGoogleAnalyticsAdminV1alphaProperty(); + o.searchAds360Link = buildGoogleAnalyticsAdminV1alphaSearchAds360Link(); + o.skadnetworkConversionValueSchema = + buildGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema(); + } + buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource( + api.GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource o) { + buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource++; + if (buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource < + 3) { + checkGoogleAnalyticsAdminV1alphaAccount(o.account!); + checkGoogleAnalyticsAdminV1alphaAdSenseLink(o.adsenseLink!); + checkGoogleAnalyticsAdminV1alphaAttributionSettings(o.attributionSettings!); + checkGoogleAnalyticsAdminV1alphaAudience(o.audience!); + checkGoogleAnalyticsAdminV1alphaBigQueryLink(o.bigqueryLink!); + checkGoogleAnalyticsAdminV1alphaCalculatedMetric(o.calculatedMetric!); + checkGoogleAnalyticsAdminV1alphaChannelGroup(o.channelGroup!); + checkGoogleAnalyticsAdminV1alphaConversionEvent(o.conversionEvent!); + checkGoogleAnalyticsAdminV1alphaCustomDimension(o.customDimension!); + checkGoogleAnalyticsAdminV1alphaCustomMetric(o.customMetric!); + checkGoogleAnalyticsAdminV1alphaDataRedactionSettings( + o.dataRedactionSettings!); + checkGoogleAnalyticsAdminV1alphaDataRetentionSettings( + o.dataRetentionSettings!); + checkGoogleAnalyticsAdminV1alphaDataStream(o.dataStream!); + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink( + o.displayVideo360AdvertiserLink!); + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal( + o.displayVideo360AdvertiserLinkProposal!); + checkGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings( + o.enhancedMeasurementSettings!); + checkGoogleAnalyticsAdminV1alphaEventCreateRule(o.eventCreateRule!); + checkGoogleAnalyticsAdminV1alphaExpandedDataSet(o.expandedDataSet!); + checkGoogleAnalyticsAdminV1alphaFirebaseLink(o.firebaseLink!); + checkGoogleAnalyticsAdminV1alphaGoogleAdsLink(o.googleAdsLink!); + checkGoogleAnalyticsAdminV1alphaGoogleSignalsSettings( + o.googleSignalsSettings!); + checkGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret( + o.measurementProtocolSecret!); + checkGoogleAnalyticsAdminV1alphaProperty(o.property!); + checkGoogleAnalyticsAdminV1alphaSearchAds360Link(o.searchAds360Link!); + checkGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema( + o.skadnetworkConversionValueSchema!); + } + buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource--; +} + +core.List + buildUnnamed19() => [ + buildGoogleAnalyticsAdminV1alphaChangeHistoryChange(), + buildGoogleAnalyticsAdminV1alphaChangeHistoryChange(), + ]; + +void checkUnnamed19( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaChangeHistoryChange(o[0]); + checkGoogleAnalyticsAdminV1alphaChangeHistoryChange(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryEvent = 0; +api.GoogleAnalyticsAdminV1alphaChangeHistoryEvent + buildGoogleAnalyticsAdminV1alphaChangeHistoryEvent() { + final o = api.GoogleAnalyticsAdminV1alphaChangeHistoryEvent(); + buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryEvent++; + if (buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryEvent < 3) { + o.actorType = 'foo'; + o.changeTime = 'foo'; + o.changes = buildUnnamed19(); + o.changesFiltered = true; + o.id = 'foo'; + o.userActorEmail = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryEvent--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaChangeHistoryEvent( + api.GoogleAnalyticsAdminV1alphaChangeHistoryEvent o) { + buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryEvent++; + if (buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryEvent < 3) { + unittest.expect( + o.actorType!, + unittest.equals('foo'), + ); + unittest.expect( + o.changeTime!, + unittest.equals('foo'), + ); + checkUnnamed19(o.changes!); + unittest.expect(o.changesFiltered!, unittest.isTrue); + unittest.expect( + o.id!, + unittest.equals('foo'), + ); + unittest.expect( + o.userActorEmail!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaChangeHistoryEvent--; +} + +core.List buildUnnamed20() => [ + buildGoogleAnalyticsAdminV1alphaGroupingRule(), + buildGoogleAnalyticsAdminV1alphaGroupingRule(), + ]; + +void checkUnnamed20(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaGroupingRule(o[0]); + checkGoogleAnalyticsAdminV1alphaGroupingRule(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaChannelGroup = 0; +api.GoogleAnalyticsAdminV1alphaChannelGroup + buildGoogleAnalyticsAdminV1alphaChannelGroup() { + final o = api.GoogleAnalyticsAdminV1alphaChannelGroup(); + buildCounterGoogleAnalyticsAdminV1alphaChannelGroup++; + if (buildCounterGoogleAnalyticsAdminV1alphaChannelGroup < 3) { + o.description = 'foo'; + o.displayName = 'foo'; + o.groupingRule = buildUnnamed20(); + o.name = 'foo'; + o.primary = true; + o.systemDefined = true; + } + buildCounterGoogleAnalyticsAdminV1alphaChannelGroup--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaChannelGroup( + api.GoogleAnalyticsAdminV1alphaChannelGroup o) { + buildCounterGoogleAnalyticsAdminV1alphaChannelGroup++; + if (buildCounterGoogleAnalyticsAdminV1alphaChannelGroup < 3) { + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + checkUnnamed20(o.groupingRule!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect(o.primary!, unittest.isTrue); + unittest.expect(o.systemDefined!, unittest.isTrue); + } + buildCounterGoogleAnalyticsAdminV1alphaChannelGroup--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilter = 0; +api.GoogleAnalyticsAdminV1alphaChannelGroupFilter + buildGoogleAnalyticsAdminV1alphaChannelGroupFilter() { + final o = api.GoogleAnalyticsAdminV1alphaChannelGroupFilter(); + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilter < 3) { + o.fieldName = 'foo'; + o.inListFilter = + buildGoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter(); + o.stringFilter = + buildGoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter(); + } + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaChannelGroupFilter( + api.GoogleAnalyticsAdminV1alphaChannelGroupFilter o) { + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilter < 3) { + unittest.expect( + o.fieldName!, + unittest.equals('foo'), + ); + checkGoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter( + o.inListFilter!); + checkGoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter( + o.stringFilter!); + } + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilter--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression = + 0; +api.GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression + buildGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression() { + final o = api.GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression(); + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression++; + if (buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression < 3) { + o.andGroup = + buildGoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList(); + o.filter = buildGoogleAnalyticsAdminV1alphaChannelGroupFilter(); + o.notExpression = + buildGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression(); + o.orGroup = + buildGoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList(); + } + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression( + api.GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression o) { + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression++; + if (buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression < 3) { + checkGoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList( + o.andGroup!); + checkGoogleAnalyticsAdminV1alphaChannelGroupFilter(o.filter!); + checkGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression( + o.notExpression!); + checkGoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList( + o.orGroup!); + } + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression--; +} + +core.List + buildUnnamed21() => [ + buildGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression(), + buildGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression(), + ]; + +void checkUnnamed21( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression(o[0]); + checkGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression(o[1]); +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList = 0; +api.GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList + buildGoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList() { + final o = api.GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList(); + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList++; + if (buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList < + 3) { + o.filterExpressions = buildUnnamed21(); + } + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList( + api.GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList o) { + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList++; + if (buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList < + 3) { + checkUnnamed21(o.filterExpressions!); + } + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList--; +} + +core.List buildUnnamed22() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed22(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 buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter = + 0; +api.GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter + buildGoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter() { + final o = api.GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter(); + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter < + 3) { + o.values = buildUnnamed22(); + } + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter( + api.GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter o) { + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter < + 3) { + checkUnnamed22(o.values!); + } + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter = + 0; +api.GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter + buildGoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter() { + final o = api.GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter(); + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter < + 3) { + o.matchType = 'foo'; + o.value = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter( + api.GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter o) { + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter < + 3) { + unittest.expect( + o.matchType!, + unittest.equals('foo'), + ); + unittest.expect( + o.value!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaConnectedSiteTag = 0; +api.GoogleAnalyticsAdminV1alphaConnectedSiteTag + buildGoogleAnalyticsAdminV1alphaConnectedSiteTag() { + final o = api.GoogleAnalyticsAdminV1alphaConnectedSiteTag(); + buildCounterGoogleAnalyticsAdminV1alphaConnectedSiteTag++; + if (buildCounterGoogleAnalyticsAdminV1alphaConnectedSiteTag < 3) { + o.displayName = 'foo'; + o.tagId = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaConnectedSiteTag--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaConnectedSiteTag( + api.GoogleAnalyticsAdminV1alphaConnectedSiteTag o) { + buildCounterGoogleAnalyticsAdminV1alphaConnectedSiteTag++; + if (buildCounterGoogleAnalyticsAdminV1alphaConnectedSiteTag < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.tagId!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaConnectedSiteTag--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaConversionEvent = 0; +api.GoogleAnalyticsAdminV1alphaConversionEvent + buildGoogleAnalyticsAdminV1alphaConversionEvent() { + final o = api.GoogleAnalyticsAdminV1alphaConversionEvent(); + buildCounterGoogleAnalyticsAdminV1alphaConversionEvent++; + if (buildCounterGoogleAnalyticsAdminV1alphaConversionEvent < 3) { + o.countingMethod = 'foo'; + o.createTime = 'foo'; + o.custom = true; + o.defaultConversionValue = + buildGoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue(); + o.deletable = true; + o.eventName = 'foo'; + o.name = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaConversionEvent--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaConversionEvent( + api.GoogleAnalyticsAdminV1alphaConversionEvent o) { + buildCounterGoogleAnalyticsAdminV1alphaConversionEvent++; + if (buildCounterGoogleAnalyticsAdminV1alphaConversionEvent < 3) { + unittest.expect( + o.countingMethod!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect(o.custom!, unittest.isTrue); + checkGoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue( + o.defaultConversionValue!); + unittest.expect(o.deletable!, unittest.isTrue); + unittest.expect( + o.eventName!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaConversionEvent--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue = + 0; +api.GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue + buildGoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue() { + final o = + api.GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue(); + buildCounterGoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue++; + if (buildCounterGoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue < + 3) { + o.currencyCode = 'foo'; + o.value = 42.0; + } + buildCounterGoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue( + api.GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue o) { + buildCounterGoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue++; + if (buildCounterGoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue < + 3) { + unittest.expect( + o.currencyCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.value!, + unittest.equals(42.0), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue--; +} + +core.List buildUnnamed23() => [ + buildGoogleAnalyticsAdminV1alphaEventMapping(), + buildGoogleAnalyticsAdminV1alphaEventMapping(), + ]; + +void checkUnnamed23(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaEventMapping(o[0]); + checkGoogleAnalyticsAdminV1alphaEventMapping(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaConversionValues = 0; +api.GoogleAnalyticsAdminV1alphaConversionValues + buildGoogleAnalyticsAdminV1alphaConversionValues() { + final o = api.GoogleAnalyticsAdminV1alphaConversionValues(); + buildCounterGoogleAnalyticsAdminV1alphaConversionValues++; + if (buildCounterGoogleAnalyticsAdminV1alphaConversionValues < 3) { + o.coarseValue = 'foo'; + o.displayName = 'foo'; + o.eventMappings = buildUnnamed23(); + o.fineValue = 42; + o.lockEnabled = true; + } + buildCounterGoogleAnalyticsAdminV1alphaConversionValues--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaConversionValues( + api.GoogleAnalyticsAdminV1alphaConversionValues o) { + buildCounterGoogleAnalyticsAdminV1alphaConversionValues++; + if (buildCounterGoogleAnalyticsAdminV1alphaConversionValues < 3) { + unittest.expect( + o.coarseValue!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + checkUnnamed23(o.eventMappings!); + unittest.expect( + o.fineValue!, + unittest.equals(42), + ); + unittest.expect(o.lockEnabled!, unittest.isTrue); + } + buildCounterGoogleAnalyticsAdminV1alphaConversionValues--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaCreateAccessBindingRequest = 0; +api.GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest + buildGoogleAnalyticsAdminV1alphaCreateAccessBindingRequest() { + final o = api.GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest(); + buildCounterGoogleAnalyticsAdminV1alphaCreateAccessBindingRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaCreateAccessBindingRequest < 3) { + o.accessBinding = buildGoogleAnalyticsAdminV1alphaAccessBinding(); + o.parent = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaCreateAccessBindingRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaCreateAccessBindingRequest( + api.GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaCreateAccessBindingRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaCreateAccessBindingRequest < 3) { + checkGoogleAnalyticsAdminV1alphaAccessBinding(o.accessBinding!); + unittest.expect( + o.parent!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaCreateAccessBindingRequest--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest = + 0; +api.GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest + buildGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest() { + final o = api.GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest(); + buildCounterGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest < + 3) { + o.connectedSiteTag = buildGoogleAnalyticsAdminV1alphaConnectedSiteTag(); + o.property = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest( + api.GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest < + 3) { + checkGoogleAnalyticsAdminV1alphaConnectedSiteTag(o.connectedSiteTag!); + unittest.expect( + o.property!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse = + 0; +api.GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse + buildGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse() { + final o = api.GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse(); + buildCounterGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse < + 3) {} + buildCounterGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse( + api.GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse < + 3) {} + buildCounterGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse--; +} + +core.List buildUnnamed24() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed24(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 buildCounterGoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest = 0; +api.GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest + buildGoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest() { + final o = api.GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest(); + buildCounterGoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest < 3) { + o.rollupProperty = buildGoogleAnalyticsAdminV1alphaProperty(); + o.sourceProperties = buildUnnamed24(); + } + buildCounterGoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest( + api.GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest < 3) { + checkGoogleAnalyticsAdminV1alphaProperty(o.rollupProperty!); + checkUnnamed24(o.sourceProperties!); + } + buildCounterGoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest--; +} + +core.List + buildUnnamed25() => [ + buildGoogleAnalyticsAdminV1alphaRollupPropertySourceLink(), + buildGoogleAnalyticsAdminV1alphaRollupPropertySourceLink(), + ]; + +void checkUnnamed25( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaRollupPropertySourceLink(o[0]); + checkGoogleAnalyticsAdminV1alphaRollupPropertySourceLink(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse = + 0; +api.GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse + buildGoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse() { + final o = api.GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse(); + buildCounterGoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse < 3) { + o.rollupProperty = buildGoogleAnalyticsAdminV1alphaProperty(); + o.rollupPropertySourceLinks = buildUnnamed25(); + } + buildCounterGoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse( + api.GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse < 3) { + checkGoogleAnalyticsAdminV1alphaProperty(o.rollupProperty!); + checkUnnamed25(o.rollupPropertySourceLinks!); + } + buildCounterGoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaCreateSubpropertyRequest = 0; +api.GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest + buildGoogleAnalyticsAdminV1alphaCreateSubpropertyRequest() { + final o = api.GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest(); + buildCounterGoogleAnalyticsAdminV1alphaCreateSubpropertyRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaCreateSubpropertyRequest < 3) { + o.subproperty = buildGoogleAnalyticsAdminV1alphaProperty(); + o.subpropertyEventFilter = + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilter(); + } + buildCounterGoogleAnalyticsAdminV1alphaCreateSubpropertyRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaCreateSubpropertyRequest( + api.GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaCreateSubpropertyRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaCreateSubpropertyRequest < 3) { + checkGoogleAnalyticsAdminV1alphaProperty(o.subproperty!); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilter( + o.subpropertyEventFilter!); + } + buildCounterGoogleAnalyticsAdminV1alphaCreateSubpropertyRequest--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaCreateSubpropertyResponse = 0; +api.GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse + buildGoogleAnalyticsAdminV1alphaCreateSubpropertyResponse() { + final o = api.GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse(); + buildCounterGoogleAnalyticsAdminV1alphaCreateSubpropertyResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaCreateSubpropertyResponse < 3) { + o.subproperty = buildGoogleAnalyticsAdminV1alphaProperty(); + o.subpropertyEventFilter = + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilter(); + } + buildCounterGoogleAnalyticsAdminV1alphaCreateSubpropertyResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaCreateSubpropertyResponse( + api.GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaCreateSubpropertyResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaCreateSubpropertyResponse < 3) { + checkGoogleAnalyticsAdminV1alphaProperty(o.subproperty!); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilter( + o.subpropertyEventFilter!); + } + buildCounterGoogleAnalyticsAdminV1alphaCreateSubpropertyResponse--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaCustomDimension = 0; +api.GoogleAnalyticsAdminV1alphaCustomDimension + buildGoogleAnalyticsAdminV1alphaCustomDimension() { + final o = api.GoogleAnalyticsAdminV1alphaCustomDimension(); + buildCounterGoogleAnalyticsAdminV1alphaCustomDimension++; + if (buildCounterGoogleAnalyticsAdminV1alphaCustomDimension < 3) { + o.description = 'foo'; + o.disallowAdsPersonalization = true; + o.displayName = 'foo'; + o.name = 'foo'; + o.parameterName = 'foo'; + o.scope = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaCustomDimension--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaCustomDimension( + api.GoogleAnalyticsAdminV1alphaCustomDimension o) { + buildCounterGoogleAnalyticsAdminV1alphaCustomDimension++; + if (buildCounterGoogleAnalyticsAdminV1alphaCustomDimension < 3) { + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + unittest.expect(o.disallowAdsPersonalization!, unittest.isTrue); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.parameterName!, + unittest.equals('foo'), + ); + unittest.expect( + o.scope!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaCustomDimension--; +} + +core.List buildUnnamed26() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed26(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 buildCounterGoogleAnalyticsAdminV1alphaCustomMetric = 0; +api.GoogleAnalyticsAdminV1alphaCustomMetric + buildGoogleAnalyticsAdminV1alphaCustomMetric() { + final o = api.GoogleAnalyticsAdminV1alphaCustomMetric(); + buildCounterGoogleAnalyticsAdminV1alphaCustomMetric++; + if (buildCounterGoogleAnalyticsAdminV1alphaCustomMetric < 3) { + o.description = 'foo'; + o.displayName = 'foo'; + o.measurementUnit = 'foo'; + o.name = 'foo'; + o.parameterName = 'foo'; + o.restrictedMetricType = buildUnnamed26(); + o.scope = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaCustomMetric--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaCustomMetric( + api.GoogleAnalyticsAdminV1alphaCustomMetric o) { + buildCounterGoogleAnalyticsAdminV1alphaCustomMetric++; + if (buildCounterGoogleAnalyticsAdminV1alphaCustomMetric < 3) { + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.measurementUnit!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.parameterName!, + unittest.equals('foo'), + ); + checkUnnamed26(o.restrictedMetricType!); + unittest.expect( + o.scope!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaCustomMetric--; +} + +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 buildCounterGoogleAnalyticsAdminV1alphaDataRedactionSettings = 0; +api.GoogleAnalyticsAdminV1alphaDataRedactionSettings + buildGoogleAnalyticsAdminV1alphaDataRedactionSettings() { + final o = api.GoogleAnalyticsAdminV1alphaDataRedactionSettings(); + buildCounterGoogleAnalyticsAdminV1alphaDataRedactionSettings++; + if (buildCounterGoogleAnalyticsAdminV1alphaDataRedactionSettings < 3) { + o.emailRedactionEnabled = true; + o.name = 'foo'; + o.queryParameterKeys = buildUnnamed27(); + o.queryParameterRedactionEnabled = true; + } + buildCounterGoogleAnalyticsAdminV1alphaDataRedactionSettings--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaDataRedactionSettings( + api.GoogleAnalyticsAdminV1alphaDataRedactionSettings o) { + buildCounterGoogleAnalyticsAdminV1alphaDataRedactionSettings++; + if (buildCounterGoogleAnalyticsAdminV1alphaDataRedactionSettings < 3) { + unittest.expect(o.emailRedactionEnabled!, unittest.isTrue); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed27(o.queryParameterKeys!); + unittest.expect(o.queryParameterRedactionEnabled!, unittest.isTrue); + } + buildCounterGoogleAnalyticsAdminV1alphaDataRedactionSettings--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaDataRetentionSettings = 0; +api.GoogleAnalyticsAdminV1alphaDataRetentionSettings + buildGoogleAnalyticsAdminV1alphaDataRetentionSettings() { + final o = api.GoogleAnalyticsAdminV1alphaDataRetentionSettings(); + buildCounterGoogleAnalyticsAdminV1alphaDataRetentionSettings++; + if (buildCounterGoogleAnalyticsAdminV1alphaDataRetentionSettings < 3) { + o.eventDataRetention = 'foo'; + o.name = 'foo'; + o.resetUserDataOnNewActivity = true; + } + buildCounterGoogleAnalyticsAdminV1alphaDataRetentionSettings--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaDataRetentionSettings( + api.GoogleAnalyticsAdminV1alphaDataRetentionSettings o) { + buildCounterGoogleAnalyticsAdminV1alphaDataRetentionSettings++; + if (buildCounterGoogleAnalyticsAdminV1alphaDataRetentionSettings < 3) { + unittest.expect( + o.eventDataRetention!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect(o.resetUserDataOnNewActivity!, unittest.isTrue); + } + buildCounterGoogleAnalyticsAdminV1alphaDataRetentionSettings--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaDataSharingSettings = 0; +api.GoogleAnalyticsAdminV1alphaDataSharingSettings + buildGoogleAnalyticsAdminV1alphaDataSharingSettings() { + final o = api.GoogleAnalyticsAdminV1alphaDataSharingSettings(); + buildCounterGoogleAnalyticsAdminV1alphaDataSharingSettings++; + if (buildCounterGoogleAnalyticsAdminV1alphaDataSharingSettings < 3) { + o.name = 'foo'; + o.sharingWithGoogleAnySalesEnabled = true; + o.sharingWithGoogleAssignedSalesEnabled = true; + o.sharingWithGoogleProductsEnabled = true; + o.sharingWithGoogleSupportEnabled = true; + o.sharingWithOthersEnabled = true; + } + buildCounterGoogleAnalyticsAdminV1alphaDataSharingSettings--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaDataSharingSettings( + api.GoogleAnalyticsAdminV1alphaDataSharingSettings o) { + buildCounterGoogleAnalyticsAdminV1alphaDataSharingSettings++; + if (buildCounterGoogleAnalyticsAdminV1alphaDataSharingSettings < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect(o.sharingWithGoogleAnySalesEnabled!, unittest.isTrue); + unittest.expect(o.sharingWithGoogleAssignedSalesEnabled!, unittest.isTrue); + unittest.expect(o.sharingWithGoogleProductsEnabled!, unittest.isTrue); + unittest.expect(o.sharingWithGoogleSupportEnabled!, unittest.isTrue); + unittest.expect(o.sharingWithOthersEnabled!, unittest.isTrue); + } + buildCounterGoogleAnalyticsAdminV1alphaDataSharingSettings--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaDataStream = 0; +api.GoogleAnalyticsAdminV1alphaDataStream + buildGoogleAnalyticsAdminV1alphaDataStream() { + final o = api.GoogleAnalyticsAdminV1alphaDataStream(); + buildCounterGoogleAnalyticsAdminV1alphaDataStream++; + if (buildCounterGoogleAnalyticsAdminV1alphaDataStream < 3) { + o.androidAppStreamData = + buildGoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData(); + o.createTime = 'foo'; + o.displayName = 'foo'; + o.iosAppStreamData = + buildGoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData(); + o.name = 'foo'; + o.type = 'foo'; + o.updateTime = 'foo'; + o.webStreamData = buildGoogleAnalyticsAdminV1alphaDataStreamWebStreamData(); + } + buildCounterGoogleAnalyticsAdminV1alphaDataStream--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaDataStream( + api.GoogleAnalyticsAdminV1alphaDataStream o) { + buildCounterGoogleAnalyticsAdminV1alphaDataStream++; + if (buildCounterGoogleAnalyticsAdminV1alphaDataStream < 3) { + checkGoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData( + o.androidAppStreamData!); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + checkGoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData( + o.iosAppStreamData!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.type!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + checkGoogleAnalyticsAdminV1alphaDataStreamWebStreamData(o.webStreamData!); + } + buildCounterGoogleAnalyticsAdminV1alphaDataStream--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData = + 0; +api.GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData + buildGoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData() { + final o = api.GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData(); + buildCounterGoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData++; + if (buildCounterGoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData < + 3) { + o.firebaseAppId = 'foo'; + o.packageName = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData( + api.GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData o) { + buildCounterGoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData++; + if (buildCounterGoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData < + 3) { + unittest.expect( + o.firebaseAppId!, + unittest.equals('foo'), + ); + unittest.expect( + o.packageName!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData = 0; +api.GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData + buildGoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData() { + final o = api.GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData(); + buildCounterGoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData++; + if (buildCounterGoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData < 3) { + o.bundleId = 'foo'; + o.firebaseAppId = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData( + api.GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData o) { + buildCounterGoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData++; + if (buildCounterGoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData < 3) { + unittest.expect( + o.bundleId!, + unittest.equals('foo'), + ); + unittest.expect( + o.firebaseAppId!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaDataStreamWebStreamData = 0; +api.GoogleAnalyticsAdminV1alphaDataStreamWebStreamData + buildGoogleAnalyticsAdminV1alphaDataStreamWebStreamData() { + final o = api.GoogleAnalyticsAdminV1alphaDataStreamWebStreamData(); + buildCounterGoogleAnalyticsAdminV1alphaDataStreamWebStreamData++; + if (buildCounterGoogleAnalyticsAdminV1alphaDataStreamWebStreamData < 3) { + o.defaultUri = 'foo'; + o.firebaseAppId = 'foo'; + o.measurementId = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaDataStreamWebStreamData--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaDataStreamWebStreamData( + api.GoogleAnalyticsAdminV1alphaDataStreamWebStreamData o) { + buildCounterGoogleAnalyticsAdminV1alphaDataStreamWebStreamData++; + if (buildCounterGoogleAnalyticsAdminV1alphaDataStreamWebStreamData < 3) { + unittest.expect( + o.defaultUri!, + unittest.equals('foo'), + ); + unittest.expect( + o.firebaseAppId!, + unittest.equals('foo'), + ); + unittest.expect( + o.measurementId!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaDataStreamWebStreamData--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest = 0; +api.GoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest + buildGoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest() { + final o = api.GoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest(); + buildCounterGoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest < 3) { + o.name = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest( + api.GoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest = + 0; +api.GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest + buildGoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest() { + final o = api.GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest(); + buildCounterGoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest < + 3) { + o.property = 'foo'; + o.tagId = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest( + api.GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest < + 3) { + unittest.expect( + o.property!, + unittest.equals('foo'), + ); + unittest.expect( + o.tagId!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink = + 0; +api.GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink() { + final o = api.GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(); + buildCounterGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink++; + if (buildCounterGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink < + 3) { + o.adsPersonalizationEnabled = true; + o.advertiserDisplayName = 'foo'; + o.advertiserId = 'foo'; + o.campaignDataSharingEnabled = true; + o.costDataSharingEnabled = true; + o.name = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink( + api.GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink o) { + buildCounterGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink++; + if (buildCounterGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink < + 3) { + unittest.expect(o.adsPersonalizationEnabled!, unittest.isTrue); + unittest.expect( + o.advertiserDisplayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.advertiserId!, + unittest.equals('foo'), + ); + unittest.expect(o.campaignDataSharingEnabled!, unittest.isTrue); + unittest.expect(o.costDataSharingEnabled!, unittest.isTrue); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal = + 0; +api.GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal() { + final o = + api.GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal(); + buildCounterGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal++; + if (buildCounterGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal < + 3) { + o.adsPersonalizationEnabled = true; + o.advertiserDisplayName = 'foo'; + o.advertiserId = 'foo'; + o.campaignDataSharingEnabled = true; + o.costDataSharingEnabled = true; + o.linkProposalStatusDetails = + buildGoogleAnalyticsAdminV1alphaLinkProposalStatusDetails(); + o.name = 'foo'; + o.validationEmail = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal( + api.GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal o) { + buildCounterGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal++; + if (buildCounterGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal < + 3) { + unittest.expect(o.adsPersonalizationEnabled!, unittest.isTrue); + unittest.expect( + o.advertiserDisplayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.advertiserId!, + unittest.equals('foo'), + ); + unittest.expect(o.campaignDataSharingEnabled!, unittest.isTrue); + unittest.expect(o.costDataSharingEnabled!, unittest.isTrue); + checkGoogleAnalyticsAdminV1alphaLinkProposalStatusDetails( + o.linkProposalStatusDetails!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.validationEmail!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings = 0; +api.GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings + buildGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings() { + final o = api.GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings(); + buildCounterGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings++; + if (buildCounterGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings < 3) { + o.fileDownloadsEnabled = true; + o.formInteractionsEnabled = true; + o.name = 'foo'; + o.outboundClicksEnabled = true; + o.pageChangesEnabled = true; + o.scrollsEnabled = true; + o.searchQueryParameter = 'foo'; + o.siteSearchEnabled = true; + o.streamEnabled = true; + o.uriQueryParameter = 'foo'; + o.videoEngagementEnabled = true; + } + buildCounterGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings( + api.GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings o) { + buildCounterGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings++; + if (buildCounterGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings < 3) { + unittest.expect(o.fileDownloadsEnabled!, unittest.isTrue); + unittest.expect(o.formInteractionsEnabled!, unittest.isTrue); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect(o.outboundClicksEnabled!, unittest.isTrue); + unittest.expect(o.pageChangesEnabled!, unittest.isTrue); + unittest.expect(o.scrollsEnabled!, unittest.isTrue); + unittest.expect( + o.searchQueryParameter!, + unittest.equals('foo'), + ); + unittest.expect(o.siteSearchEnabled!, unittest.isTrue); + unittest.expect(o.streamEnabled!, unittest.isTrue); + unittest.expect( + o.uriQueryParameter!, + unittest.equals('foo'), + ); + unittest.expect(o.videoEngagementEnabled!, unittest.isTrue); + } + buildCounterGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings--; +} + +core.List buildUnnamed28() => + [ + buildGoogleAnalyticsAdminV1alphaMatchingCondition(), + buildGoogleAnalyticsAdminV1alphaMatchingCondition(), + ]; + +void checkUnnamed28( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaMatchingCondition(o[0]); + checkGoogleAnalyticsAdminV1alphaMatchingCondition(o[1]); +} + +core.List buildUnnamed29() => + [ + buildGoogleAnalyticsAdminV1alphaParameterMutation(), + buildGoogleAnalyticsAdminV1alphaParameterMutation(), + ]; + +void checkUnnamed29( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaParameterMutation(o[0]); + checkGoogleAnalyticsAdminV1alphaParameterMutation(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaEventCreateRule = 0; +api.GoogleAnalyticsAdminV1alphaEventCreateRule + buildGoogleAnalyticsAdminV1alphaEventCreateRule() { + final o = api.GoogleAnalyticsAdminV1alphaEventCreateRule(); + buildCounterGoogleAnalyticsAdminV1alphaEventCreateRule++; + if (buildCounterGoogleAnalyticsAdminV1alphaEventCreateRule < 3) { + o.destinationEvent = 'foo'; + o.eventConditions = buildUnnamed28(); + o.name = 'foo'; + o.parameterMutations = buildUnnamed29(); + o.sourceCopyParameters = true; + } + buildCounterGoogleAnalyticsAdminV1alphaEventCreateRule--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaEventCreateRule( + api.GoogleAnalyticsAdminV1alphaEventCreateRule o) { + buildCounterGoogleAnalyticsAdminV1alphaEventCreateRule++; + if (buildCounterGoogleAnalyticsAdminV1alphaEventCreateRule < 3) { + unittest.expect( + o.destinationEvent!, + unittest.equals('foo'), + ); + checkUnnamed28(o.eventConditions!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkUnnamed29(o.parameterMutations!); + unittest.expect(o.sourceCopyParameters!, unittest.isTrue); + } + buildCounterGoogleAnalyticsAdminV1alphaEventCreateRule--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaEventMapping = 0; +api.GoogleAnalyticsAdminV1alphaEventMapping + buildGoogleAnalyticsAdminV1alphaEventMapping() { + final o = api.GoogleAnalyticsAdminV1alphaEventMapping(); + buildCounterGoogleAnalyticsAdminV1alphaEventMapping++; + if (buildCounterGoogleAnalyticsAdminV1alphaEventMapping < 3) { + o.eventName = 'foo'; + o.maxEventCount = 'foo'; + o.maxEventValue = 42.0; + o.minEventCount = 'foo'; + o.minEventValue = 42.0; + } + buildCounterGoogleAnalyticsAdminV1alphaEventMapping--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaEventMapping( + api.GoogleAnalyticsAdminV1alphaEventMapping o) { + buildCounterGoogleAnalyticsAdminV1alphaEventMapping++; + if (buildCounterGoogleAnalyticsAdminV1alphaEventMapping < 3) { + unittest.expect( + o.eventName!, + unittest.equals('foo'), + ); + unittest.expect( + o.maxEventCount!, + unittest.equals('foo'), + ); + unittest.expect( + o.maxEventValue!, + unittest.equals(42.0), + ); + unittest.expect( + o.minEventCount!, + unittest.equals('foo'), + ); + unittest.expect( + o.minEventValue!, + unittest.equals(42.0), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaEventMapping--; +} + +core.List buildUnnamed30() => [ + 'foo', + 'foo', + ]; + +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], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSet = 0; +api.GoogleAnalyticsAdminV1alphaExpandedDataSet + buildGoogleAnalyticsAdminV1alphaExpandedDataSet() { + final o = api.GoogleAnalyticsAdminV1alphaExpandedDataSet(); + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSet++; + if (buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSet < 3) { + o.dataCollectionStartTime = 'foo'; + o.description = 'foo'; + o.dimensionFilterExpression = + buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression(); + o.dimensionNames = buildUnnamed30(); + o.displayName = 'foo'; + o.metricNames = buildUnnamed31(); + o.name = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSet--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaExpandedDataSet( + api.GoogleAnalyticsAdminV1alphaExpandedDataSet o) { + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSet++; + if (buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSet < 3) { + unittest.expect( + o.dataCollectionStartTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression( + o.dimensionFilterExpression!); + checkUnnamed30(o.dimensionNames!); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + checkUnnamed31(o.metricNames!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSet--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilter = 0; +api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilter + buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilter() { + final o = api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilter(); + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilter < 3) { + o.fieldName = 'foo'; + o.inListFilter = + buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter(); + o.stringFilter = + buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter(); + } + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilter( + api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilter o) { + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilter < 3) { + unittest.expect( + o.fieldName!, + unittest.equals('foo'), + ); + checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter( + o.inListFilter!); + checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter( + o.stringFilter!); + } + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilter--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression = 0; +api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression + buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression() { + final o = api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression(); + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression++; + if (buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression < + 3) { + o.andGroup = + buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList(); + o.filter = buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilter(); + o.notExpression = + buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression(); + } + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression( + api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression o) { + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression++; + if (buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression < + 3) { + checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList( + o.andGroup!); + checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilter(o.filter!); + checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression( + o.notExpression!); + } + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression--; +} + +core.List + buildUnnamed32() => [ + buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression(), + buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression(), + ]; + +void checkUnnamed32( + core.List + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression(o[0]); + checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression(o[1]); +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList = + 0; +api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList + buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList() { + final o = + api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList(); + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList++; + if (buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList < + 3) { + o.filterExpressions = buildUnnamed32(); + } + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList( + api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList o) { + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList++; + if (buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList < + 3) { + checkUnnamed32(o.filterExpressions!); + } + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList--; +} + +core.List buildUnnamed33() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed33(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 + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter = + 0; +api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter + buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter() { + final o = api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter(); + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter < + 3) { + o.caseSensitive = true; + o.values = buildUnnamed33(); + } + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter( + api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter o) { + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter < + 3) { + unittest.expect(o.caseSensitive!, unittest.isTrue); + checkUnnamed33(o.values!); + } + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter = + 0; +api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter + buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter() { + final o = api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter(); + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter < + 3) { + o.caseSensitive = true; + o.matchType = 'foo'; + o.value = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter( + api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter o) { + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter < + 3) { + unittest.expect(o.caseSensitive!, unittest.isTrue); + unittest.expect( + o.matchType!, + unittest.equals('foo'), + ); + unittest.expect( + o.value!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest = + 0; +api.GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest + buildGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest() { + final o = api + .GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest(); + buildCounterGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest < + 3) { + o.property = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest( + api.GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest + o) { + buildCounterGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest < + 3) { + unittest.expect( + o.property!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse = + 0; +api.GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse + buildGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse() { + final o = api + .GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse(); + buildCounterGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse < + 3) { + o.optOut = true; + } + buildCounterGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse( + api.GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse + o) { + buildCounterGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse < + 3) { + unittest.expect(o.optOut!, unittest.isTrue); + } + buildCounterGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse = + 0; +api.GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse + buildGoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse() { + final o = api.GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse(); + buildCounterGoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse < + 3) { + o.property = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse( + api.GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse < + 3) { + unittest.expect( + o.property!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaFirebaseLink = 0; +api.GoogleAnalyticsAdminV1alphaFirebaseLink + buildGoogleAnalyticsAdminV1alphaFirebaseLink() { + final o = api.GoogleAnalyticsAdminV1alphaFirebaseLink(); + buildCounterGoogleAnalyticsAdminV1alphaFirebaseLink++; + if (buildCounterGoogleAnalyticsAdminV1alphaFirebaseLink < 3) { + o.createTime = 'foo'; + o.name = 'foo'; + o.project = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaFirebaseLink--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaFirebaseLink( + api.GoogleAnalyticsAdminV1alphaFirebaseLink o) { + buildCounterGoogleAnalyticsAdminV1alphaFirebaseLink++; + if (buildCounterGoogleAnalyticsAdminV1alphaFirebaseLink < 3) { + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.project!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaFirebaseLink--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaGlobalSiteTag = 0; +api.GoogleAnalyticsAdminV1alphaGlobalSiteTag + buildGoogleAnalyticsAdminV1alphaGlobalSiteTag() { + final o = api.GoogleAnalyticsAdminV1alphaGlobalSiteTag(); + buildCounterGoogleAnalyticsAdminV1alphaGlobalSiteTag++; + if (buildCounterGoogleAnalyticsAdminV1alphaGlobalSiteTag < 3) { + o.name = 'foo'; + o.snippet = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaGlobalSiteTag--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaGlobalSiteTag( + api.GoogleAnalyticsAdminV1alphaGlobalSiteTag o) { + buildCounterGoogleAnalyticsAdminV1alphaGlobalSiteTag++; + if (buildCounterGoogleAnalyticsAdminV1alphaGlobalSiteTag < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.snippet!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaGlobalSiteTag--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaGoogleAdsLink = 0; +api.GoogleAnalyticsAdminV1alphaGoogleAdsLink + buildGoogleAnalyticsAdminV1alphaGoogleAdsLink() { + final o = api.GoogleAnalyticsAdminV1alphaGoogleAdsLink(); + buildCounterGoogleAnalyticsAdminV1alphaGoogleAdsLink++; + if (buildCounterGoogleAnalyticsAdminV1alphaGoogleAdsLink < 3) { + o.adsPersonalizationEnabled = true; + o.canManageClients = true; + o.createTime = 'foo'; + o.creatorEmailAddress = 'foo'; + o.customerId = 'foo'; + o.name = 'foo'; + o.updateTime = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaGoogleAdsLink--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaGoogleAdsLink( + api.GoogleAnalyticsAdminV1alphaGoogleAdsLink o) { + buildCounterGoogleAnalyticsAdminV1alphaGoogleAdsLink++; + if (buildCounterGoogleAnalyticsAdminV1alphaGoogleAdsLink < 3) { + unittest.expect(o.adsPersonalizationEnabled!, unittest.isTrue); + unittest.expect(o.canManageClients!, unittest.isTrue); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.creatorEmailAddress!, + unittest.equals('foo'), + ); + unittest.expect( + o.customerId!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaGoogleAdsLink--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaGoogleSignalsSettings = 0; +api.GoogleAnalyticsAdminV1alphaGoogleSignalsSettings + buildGoogleAnalyticsAdminV1alphaGoogleSignalsSettings() { + final o = api.GoogleAnalyticsAdminV1alphaGoogleSignalsSettings(); + buildCounterGoogleAnalyticsAdminV1alphaGoogleSignalsSettings++; + if (buildCounterGoogleAnalyticsAdminV1alphaGoogleSignalsSettings < 3) { + o.consent = 'foo'; + o.name = 'foo'; + o.state = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaGoogleSignalsSettings--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaGoogleSignalsSettings( + api.GoogleAnalyticsAdminV1alphaGoogleSignalsSettings o) { + buildCounterGoogleAnalyticsAdminV1alphaGoogleSignalsSettings++; + if (buildCounterGoogleAnalyticsAdminV1alphaGoogleSignalsSettings < 3) { + unittest.expect( + o.consent!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.state!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaGoogleSignalsSettings--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaGroupingRule = 0; +api.GoogleAnalyticsAdminV1alphaGroupingRule + buildGoogleAnalyticsAdminV1alphaGroupingRule() { + final o = api.GoogleAnalyticsAdminV1alphaGroupingRule(); + buildCounterGoogleAnalyticsAdminV1alphaGroupingRule++; + if (buildCounterGoogleAnalyticsAdminV1alphaGroupingRule < 3) { + o.displayName = 'foo'; + o.expression = + buildGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression(); + } + buildCounterGoogleAnalyticsAdminV1alphaGroupingRule--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaGroupingRule( + api.GoogleAnalyticsAdminV1alphaGroupingRule o) { + buildCounterGoogleAnalyticsAdminV1alphaGroupingRule++; + if (buildCounterGoogleAnalyticsAdminV1alphaGroupingRule < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + checkGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression(o.expression!); + } + buildCounterGoogleAnalyticsAdminV1alphaGroupingRule--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaKeyEvent = 0; +api.GoogleAnalyticsAdminV1alphaKeyEvent + buildGoogleAnalyticsAdminV1alphaKeyEvent() { + final o = api.GoogleAnalyticsAdminV1alphaKeyEvent(); + buildCounterGoogleAnalyticsAdminV1alphaKeyEvent++; + if (buildCounterGoogleAnalyticsAdminV1alphaKeyEvent < 3) { + o.countingMethod = 'foo'; + o.createTime = 'foo'; + o.custom = true; + o.defaultValue = buildGoogleAnalyticsAdminV1alphaKeyEventDefaultValue(); + o.deletable = true; + o.eventName = 'foo'; + o.name = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaKeyEvent--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaKeyEvent( + api.GoogleAnalyticsAdminV1alphaKeyEvent o) { + buildCounterGoogleAnalyticsAdminV1alphaKeyEvent++; + if (buildCounterGoogleAnalyticsAdminV1alphaKeyEvent < 3) { + unittest.expect( + o.countingMethod!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect(o.custom!, unittest.isTrue); + checkGoogleAnalyticsAdminV1alphaKeyEventDefaultValue(o.defaultValue!); + unittest.expect(o.deletable!, unittest.isTrue); + unittest.expect( + o.eventName!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaKeyEvent--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaKeyEventDefaultValue = 0; +api.GoogleAnalyticsAdminV1alphaKeyEventDefaultValue + buildGoogleAnalyticsAdminV1alphaKeyEventDefaultValue() { + final o = api.GoogleAnalyticsAdminV1alphaKeyEventDefaultValue(); + buildCounterGoogleAnalyticsAdminV1alphaKeyEventDefaultValue++; + if (buildCounterGoogleAnalyticsAdminV1alphaKeyEventDefaultValue < 3) { + o.currencyCode = 'foo'; + o.numericValue = 42.0; + } + buildCounterGoogleAnalyticsAdminV1alphaKeyEventDefaultValue--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaKeyEventDefaultValue( + api.GoogleAnalyticsAdminV1alphaKeyEventDefaultValue o) { + buildCounterGoogleAnalyticsAdminV1alphaKeyEventDefaultValue++; + if (buildCounterGoogleAnalyticsAdminV1alphaKeyEventDefaultValue < 3) { + unittest.expect( + o.currencyCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.numericValue!, + unittest.equals(42.0), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaKeyEventDefaultValue--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaLinkProposalStatusDetails = 0; +api.GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails + buildGoogleAnalyticsAdminV1alphaLinkProposalStatusDetails() { + final o = api.GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails(); + buildCounterGoogleAnalyticsAdminV1alphaLinkProposalStatusDetails++; + if (buildCounterGoogleAnalyticsAdminV1alphaLinkProposalStatusDetails < 3) { + o.linkProposalInitiatingProduct = 'foo'; + o.linkProposalState = 'foo'; + o.requestorEmail = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaLinkProposalStatusDetails--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaLinkProposalStatusDetails( + api.GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails o) { + buildCounterGoogleAnalyticsAdminV1alphaLinkProposalStatusDetails++; + if (buildCounterGoogleAnalyticsAdminV1alphaLinkProposalStatusDetails < 3) { + unittest.expect( + o.linkProposalInitiatingProduct!, + unittest.equals('foo'), + ); + unittest.expect( + o.linkProposalState!, + unittest.equals('foo'), + ); + unittest.expect( + o.requestorEmail!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaLinkProposalStatusDetails--; +} + +core.List buildUnnamed34() => [ + buildGoogleAnalyticsAdminV1alphaAccessBinding(), + buildGoogleAnalyticsAdminV1alphaAccessBinding(), + ]; + +void checkUnnamed34(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAccessBinding(o[0]); + checkGoogleAnalyticsAdminV1alphaAccessBinding(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListAccessBindingsResponse = 0; +api.GoogleAnalyticsAdminV1alphaListAccessBindingsResponse + buildGoogleAnalyticsAdminV1alphaListAccessBindingsResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListAccessBindingsResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListAccessBindingsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListAccessBindingsResponse < 3) { + o.accessBindings = buildUnnamed34(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListAccessBindingsResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListAccessBindingsResponse( + api.GoogleAnalyticsAdminV1alphaListAccessBindingsResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListAccessBindingsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListAccessBindingsResponse < 3) { + checkUnnamed34(o.accessBindings!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListAccessBindingsResponse--; +} + +core.List buildUnnamed35() => [ + buildGoogleAnalyticsAdminV1alphaAccountSummary(), + buildGoogleAnalyticsAdminV1alphaAccountSummary(), + ]; + +void checkUnnamed35( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAccountSummary(o[0]); + checkGoogleAnalyticsAdminV1alphaAccountSummary(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListAccountSummariesResponse = + 0; +api.GoogleAnalyticsAdminV1alphaListAccountSummariesResponse + buildGoogleAnalyticsAdminV1alphaListAccountSummariesResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListAccountSummariesResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListAccountSummariesResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListAccountSummariesResponse < 3) { + o.accountSummaries = buildUnnamed35(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListAccountSummariesResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListAccountSummariesResponse( + api.GoogleAnalyticsAdminV1alphaListAccountSummariesResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListAccountSummariesResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListAccountSummariesResponse < 3) { + checkUnnamed35(o.accountSummaries!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListAccountSummariesResponse--; +} + +core.List buildUnnamed36() => [ + buildGoogleAnalyticsAdminV1alphaAccount(), + buildGoogleAnalyticsAdminV1alphaAccount(), + ]; + +void checkUnnamed36(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAccount(o[0]); + checkGoogleAnalyticsAdminV1alphaAccount(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListAccountsResponse = 0; +api.GoogleAnalyticsAdminV1alphaListAccountsResponse + buildGoogleAnalyticsAdminV1alphaListAccountsResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListAccountsResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListAccountsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListAccountsResponse < 3) { + o.accounts = buildUnnamed36(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListAccountsResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListAccountsResponse( + api.GoogleAnalyticsAdminV1alphaListAccountsResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListAccountsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListAccountsResponse < 3) { + checkUnnamed36(o.accounts!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListAccountsResponse--; +} + +core.List buildUnnamed37() => [ + buildGoogleAnalyticsAdminV1alphaAdSenseLink(), + buildGoogleAnalyticsAdminV1alphaAdSenseLink(), + ]; + +void checkUnnamed37(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAdSenseLink(o[0]); + checkGoogleAnalyticsAdminV1alphaAdSenseLink(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListAdSenseLinksResponse = 0; +api.GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse + buildGoogleAnalyticsAdminV1alphaListAdSenseLinksResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListAdSenseLinksResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListAdSenseLinksResponse < 3) { + o.adsenseLinks = buildUnnamed37(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListAdSenseLinksResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListAdSenseLinksResponse( + api.GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListAdSenseLinksResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListAdSenseLinksResponse < 3) { + checkUnnamed37(o.adsenseLinks!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListAdSenseLinksResponse--; +} + +core.List buildUnnamed38() => [ + buildGoogleAnalyticsAdminV1alphaAudience(), + buildGoogleAnalyticsAdminV1alphaAudience(), + ]; + +void checkUnnamed38(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAudience(o[0]); + checkGoogleAnalyticsAdminV1alphaAudience(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListAudiencesResponse = 0; +api.GoogleAnalyticsAdminV1alphaListAudiencesResponse + buildGoogleAnalyticsAdminV1alphaListAudiencesResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListAudiencesResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListAudiencesResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListAudiencesResponse < 3) { + o.audiences = buildUnnamed38(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListAudiencesResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListAudiencesResponse( + api.GoogleAnalyticsAdminV1alphaListAudiencesResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListAudiencesResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListAudiencesResponse < 3) { + checkUnnamed38(o.audiences!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListAudiencesResponse--; +} + +core.List buildUnnamed39() => [ + buildGoogleAnalyticsAdminV1alphaBigQueryLink(), + buildGoogleAnalyticsAdminV1alphaBigQueryLink(), + ]; + +void checkUnnamed39(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaBigQueryLink(o[0]); + checkGoogleAnalyticsAdminV1alphaBigQueryLink(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListBigQueryLinksResponse = 0; +api.GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse + buildGoogleAnalyticsAdminV1alphaListBigQueryLinksResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListBigQueryLinksResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListBigQueryLinksResponse < 3) { + o.bigqueryLinks = buildUnnamed39(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListBigQueryLinksResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListBigQueryLinksResponse( + api.GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListBigQueryLinksResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListBigQueryLinksResponse < 3) { + checkUnnamed39(o.bigqueryLinks!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListBigQueryLinksResponse--; +} + +core.List buildUnnamed40() => [ + buildGoogleAnalyticsAdminV1alphaCalculatedMetric(), + buildGoogleAnalyticsAdminV1alphaCalculatedMetric(), + ]; + +void checkUnnamed40( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaCalculatedMetric(o[0]); + checkGoogleAnalyticsAdminV1alphaCalculatedMetric(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse = + 0; +api.GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse + buildGoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse < + 3) { + o.calculatedMetrics = buildUnnamed40(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse( + api.GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse < + 3) { + checkUnnamed40(o.calculatedMetrics!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse--; +} + +core.List buildUnnamed41() => [ + buildGoogleAnalyticsAdminV1alphaChannelGroup(), + buildGoogleAnalyticsAdminV1alphaChannelGroup(), + ]; + +void checkUnnamed41(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaChannelGroup(o[0]); + checkGoogleAnalyticsAdminV1alphaChannelGroup(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListChannelGroupsResponse = 0; +api.GoogleAnalyticsAdminV1alphaListChannelGroupsResponse + buildGoogleAnalyticsAdminV1alphaListChannelGroupsResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListChannelGroupsResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListChannelGroupsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListChannelGroupsResponse < 3) { + o.channelGroups = buildUnnamed41(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListChannelGroupsResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListChannelGroupsResponse( + api.GoogleAnalyticsAdminV1alphaListChannelGroupsResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListChannelGroupsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListChannelGroupsResponse < 3) { + checkUnnamed41(o.channelGroups!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListChannelGroupsResponse--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest = + 0; +api.GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest + buildGoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest() { + final o = api.GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest(); + buildCounterGoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest < 3) { + o.property = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest( + api.GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest < 3) { + unittest.expect( + o.property!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest--; +} + +core.List buildUnnamed42() => [ + buildGoogleAnalyticsAdminV1alphaConnectedSiteTag(), + buildGoogleAnalyticsAdminV1alphaConnectedSiteTag(), + ]; + +void checkUnnamed42( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaConnectedSiteTag(o[0]); + checkGoogleAnalyticsAdminV1alphaConnectedSiteTag(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse = + 0; +api.GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse + buildGoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse < + 3) { + o.connectedSiteTags = buildUnnamed42(); + } + buildCounterGoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse( + api.GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse < + 3) { + checkUnnamed42(o.connectedSiteTags!); + } + buildCounterGoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse--; +} + +core.List buildUnnamed43() => [ + buildGoogleAnalyticsAdminV1alphaConversionEvent(), + buildGoogleAnalyticsAdminV1alphaConversionEvent(), + ]; + +void checkUnnamed43( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaConversionEvent(o[0]); + checkGoogleAnalyticsAdminV1alphaConversionEvent(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListConversionEventsResponse = + 0; +api.GoogleAnalyticsAdminV1alphaListConversionEventsResponse + buildGoogleAnalyticsAdminV1alphaListConversionEventsResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListConversionEventsResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListConversionEventsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListConversionEventsResponse < 3) { + o.conversionEvents = buildUnnamed43(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListConversionEventsResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListConversionEventsResponse( + api.GoogleAnalyticsAdminV1alphaListConversionEventsResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListConversionEventsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListConversionEventsResponse < 3) { + checkUnnamed43(o.conversionEvents!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListConversionEventsResponse--; +} + +core.List buildUnnamed44() => [ + buildGoogleAnalyticsAdminV1alphaCustomDimension(), + buildGoogleAnalyticsAdminV1alphaCustomDimension(), + ]; + +void checkUnnamed44( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaCustomDimension(o[0]); + checkGoogleAnalyticsAdminV1alphaCustomDimension(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse = + 0; +api.GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse + buildGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse < 3) { + o.customDimensions = buildUnnamed44(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse( + api.GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse < 3) { + checkUnnamed44(o.customDimensions!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse--; +} + +core.List buildUnnamed45() => [ + buildGoogleAnalyticsAdminV1alphaCustomMetric(), + buildGoogleAnalyticsAdminV1alphaCustomMetric(), + ]; + +void checkUnnamed45(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaCustomMetric(o[0]); + checkGoogleAnalyticsAdminV1alphaCustomMetric(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListCustomMetricsResponse = 0; +api.GoogleAnalyticsAdminV1alphaListCustomMetricsResponse + buildGoogleAnalyticsAdminV1alphaListCustomMetricsResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListCustomMetricsResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListCustomMetricsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListCustomMetricsResponse < 3) { + o.customMetrics = buildUnnamed45(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListCustomMetricsResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListCustomMetricsResponse( + api.GoogleAnalyticsAdminV1alphaListCustomMetricsResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListCustomMetricsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListCustomMetricsResponse < 3) { + checkUnnamed45(o.customMetrics!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListCustomMetricsResponse--; +} + +core.List buildUnnamed46() => [ + buildGoogleAnalyticsAdminV1alphaDataStream(), + buildGoogleAnalyticsAdminV1alphaDataStream(), + ]; + +void checkUnnamed46(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaDataStream(o[0]); + checkGoogleAnalyticsAdminV1alphaDataStream(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListDataStreamsResponse = 0; +api.GoogleAnalyticsAdminV1alphaListDataStreamsResponse + buildGoogleAnalyticsAdminV1alphaListDataStreamsResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListDataStreamsResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListDataStreamsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListDataStreamsResponse < 3) { + o.dataStreams = buildUnnamed46(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListDataStreamsResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListDataStreamsResponse( + api.GoogleAnalyticsAdminV1alphaListDataStreamsResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListDataStreamsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListDataStreamsResponse < 3) { + checkUnnamed46(o.dataStreams!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListDataStreamsResponse--; +} + +core.List + buildUnnamed47() => [ + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal(), + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal(), + ]; + +void checkUnnamed47( + core.List< + api + .GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal> + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal(o[0]); + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal(o[1]); +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse = + 0; +api.GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse + buildGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse() { + final o = api + .GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse < + 3) { + o.displayVideo360AdvertiserLinkProposals = buildUnnamed47(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse( + api.GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse + o) { + buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse < + 3) { + checkUnnamed47(o.displayVideo360AdvertiserLinkProposals!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse--; +} + +core.List + buildUnnamed48() => [ + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(), + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(), + ]; + +void checkUnnamed48( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(o[0]); + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(o[1]); +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse = + 0; +api.GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse + buildGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse() { + final o = api + .GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse < + 3) { + o.displayVideo360AdvertiserLinks = buildUnnamed48(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse( + api.GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse + o) { + buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse < + 3) { + checkUnnamed48(o.displayVideo360AdvertiserLinks!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse--; +} + +core.List buildUnnamed49() => [ + buildGoogleAnalyticsAdminV1alphaEventCreateRule(), + buildGoogleAnalyticsAdminV1alphaEventCreateRule(), + ]; + +void checkUnnamed49( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaEventCreateRule(o[0]); + checkGoogleAnalyticsAdminV1alphaEventCreateRule(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListEventCreateRulesResponse = + 0; +api.GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse + buildGoogleAnalyticsAdminV1alphaListEventCreateRulesResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListEventCreateRulesResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListEventCreateRulesResponse < 3) { + o.eventCreateRules = buildUnnamed49(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListEventCreateRulesResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListEventCreateRulesResponse( + api.GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListEventCreateRulesResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListEventCreateRulesResponse < 3) { + checkUnnamed49(o.eventCreateRules!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListEventCreateRulesResponse--; +} + +core.List buildUnnamed50() => [ + buildGoogleAnalyticsAdminV1alphaExpandedDataSet(), + buildGoogleAnalyticsAdminV1alphaExpandedDataSet(), + ]; + +void checkUnnamed50( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaExpandedDataSet(o[0]); + checkGoogleAnalyticsAdminV1alphaExpandedDataSet(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse = + 0; +api.GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse + buildGoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse < 3) { + o.expandedDataSets = buildUnnamed50(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse( + api.GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse < 3) { + checkUnnamed50(o.expandedDataSets!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse--; +} + +core.List buildUnnamed51() => [ + buildGoogleAnalyticsAdminV1alphaFirebaseLink(), + buildGoogleAnalyticsAdminV1alphaFirebaseLink(), + ]; + +void checkUnnamed51(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaFirebaseLink(o[0]); + checkGoogleAnalyticsAdminV1alphaFirebaseLink(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse = 0; +api.GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse + buildGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse < 3) { + o.firebaseLinks = buildUnnamed51(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse( + api.GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse < 3) { + checkUnnamed51(o.firebaseLinks!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse--; +} + +core.List buildUnnamed52() => [ + buildGoogleAnalyticsAdminV1alphaGoogleAdsLink(), + buildGoogleAnalyticsAdminV1alphaGoogleAdsLink(), + ]; + +void checkUnnamed52(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaGoogleAdsLink(o[0]); + checkGoogleAnalyticsAdminV1alphaGoogleAdsLink(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse = 0; +api.GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse + buildGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse < 3) { + o.googleAdsLinks = buildUnnamed52(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse( + api.GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse < 3) { + checkUnnamed52(o.googleAdsLinks!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse--; +} + +core.List buildUnnamed53() => [ + buildGoogleAnalyticsAdminV1alphaKeyEvent(), + buildGoogleAnalyticsAdminV1alphaKeyEvent(), + ]; + +void checkUnnamed53(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaKeyEvent(o[0]); + checkGoogleAnalyticsAdminV1alphaKeyEvent(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListKeyEventsResponse = 0; +api.GoogleAnalyticsAdminV1alphaListKeyEventsResponse + buildGoogleAnalyticsAdminV1alphaListKeyEventsResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListKeyEventsResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListKeyEventsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListKeyEventsResponse < 3) { + o.keyEvents = buildUnnamed53(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListKeyEventsResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListKeyEventsResponse( + api.GoogleAnalyticsAdminV1alphaListKeyEventsResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListKeyEventsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListKeyEventsResponse < 3) { + checkUnnamed53(o.keyEvents!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListKeyEventsResponse--; +} + +core.List + buildUnnamed54() => [ + buildGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret(), + buildGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret(), + ]; + +void checkUnnamed54( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret(o[0]); + checkGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret(o[1]); +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse = + 0; +api.GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse + buildGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse() { + final o = + api.GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse < + 3) { + o.measurementProtocolSecrets = buildUnnamed54(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse( + api.GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse < + 3) { + checkUnnamed54(o.measurementProtocolSecrets!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse--; +} + +core.List buildUnnamed55() => [ + buildGoogleAnalyticsAdminV1alphaProperty(), + buildGoogleAnalyticsAdminV1alphaProperty(), + ]; + +void checkUnnamed55(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaProperty(o[0]); + checkGoogleAnalyticsAdminV1alphaProperty(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListPropertiesResponse = 0; +api.GoogleAnalyticsAdminV1alphaListPropertiesResponse + buildGoogleAnalyticsAdminV1alphaListPropertiesResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListPropertiesResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListPropertiesResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListPropertiesResponse < 3) { + o.nextPageToken = 'foo'; + o.properties = buildUnnamed55(); + } + buildCounterGoogleAnalyticsAdminV1alphaListPropertiesResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListPropertiesResponse( + api.GoogleAnalyticsAdminV1alphaListPropertiesResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListPropertiesResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListPropertiesResponse < 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed55(o.properties!); + } + buildCounterGoogleAnalyticsAdminV1alphaListPropertiesResponse--; +} + +core.List + buildUnnamed56() => [ + buildGoogleAnalyticsAdminV1alphaRollupPropertySourceLink(), + buildGoogleAnalyticsAdminV1alphaRollupPropertySourceLink(), + ]; + +void checkUnnamed56( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaRollupPropertySourceLink(o[0]); + checkGoogleAnalyticsAdminV1alphaRollupPropertySourceLink(o[1]); +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse = + 0; +api.GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse + buildGoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse() { + final o = + api.GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse < + 3) { + o.nextPageToken = 'foo'; + o.rollupPropertySourceLinks = buildUnnamed56(); + } + buildCounterGoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse( + api.GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse < + 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed56(o.rollupPropertySourceLinks!); + } + buildCounterGoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse--; +} + +core.List + buildUnnamed57() => [ + buildGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema(), + buildGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema(), + ]; + +void checkUnnamed57( + core.List + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema(o[0]); + checkGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema(o[1]); +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse = + 0; +api.GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse + buildGoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse() { + final o = api + .GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse < + 3) { + o.nextPageToken = 'foo'; + o.skadnetworkConversionValueSchemas = buildUnnamed57(); + } + buildCounterGoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse( + api.GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse + o) { + buildCounterGoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse < + 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed57(o.skadnetworkConversionValueSchemas!); + } + buildCounterGoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse--; +} + +core.List buildUnnamed58() => [ + buildGoogleAnalyticsAdminV1alphaSearchAds360Link(), + buildGoogleAnalyticsAdminV1alphaSearchAds360Link(), + ]; + +void checkUnnamed58( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaSearchAds360Link(o[0]); + checkGoogleAnalyticsAdminV1alphaSearchAds360Link(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse = + 0; +api.GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse + buildGoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse() { + final o = api.GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse < + 3) { + o.nextPageToken = 'foo'; + o.searchAds360Links = buildUnnamed58(); + } + buildCounterGoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse( + api.GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse < + 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed58(o.searchAds360Links!); + } + buildCounterGoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse--; +} + +core.List + buildUnnamed59() => [ + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilter(), + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilter(), + ]; + +void checkUnnamed59( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilter(o[0]); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilter(o[1]); +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse = + 0; +api.GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse + buildGoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse() { + final o = + api.GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse(); + buildCounterGoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse < + 3) { + o.nextPageToken = 'foo'; + o.subpropertyEventFilters = buildUnnamed59(); + } + buildCounterGoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse( + api.GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse < + 3) { + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + checkUnnamed59(o.subpropertyEventFilters!); + } + buildCounterGoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaMatchingCondition = 0; +api.GoogleAnalyticsAdminV1alphaMatchingCondition + buildGoogleAnalyticsAdminV1alphaMatchingCondition() { + final o = api.GoogleAnalyticsAdminV1alphaMatchingCondition(); + buildCounterGoogleAnalyticsAdminV1alphaMatchingCondition++; + if (buildCounterGoogleAnalyticsAdminV1alphaMatchingCondition < 3) { + o.comparisonType = 'foo'; + o.field = 'foo'; + o.negated = true; + o.value = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaMatchingCondition--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaMatchingCondition( + api.GoogleAnalyticsAdminV1alphaMatchingCondition o) { + buildCounterGoogleAnalyticsAdminV1alphaMatchingCondition++; + if (buildCounterGoogleAnalyticsAdminV1alphaMatchingCondition < 3) { + unittest.expect( + o.comparisonType!, + unittest.equals('foo'), + ); + unittest.expect( + o.field!, + unittest.equals('foo'), + ); + unittest.expect(o.negated!, unittest.isTrue); + unittest.expect( + o.value!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaMatchingCondition--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret = 0; +api.GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret + buildGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret() { + final o = api.GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret(); + buildCounterGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret++; + if (buildCounterGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret < 3) { + o.displayName = 'foo'; + o.name = 'foo'; + o.secretValue = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret( + api.GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret o) { + buildCounterGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret++; + if (buildCounterGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.secretValue!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaNumericValue = 0; +api.GoogleAnalyticsAdminV1alphaNumericValue + buildGoogleAnalyticsAdminV1alphaNumericValue() { + final o = api.GoogleAnalyticsAdminV1alphaNumericValue(); + buildCounterGoogleAnalyticsAdminV1alphaNumericValue++; + if (buildCounterGoogleAnalyticsAdminV1alphaNumericValue < 3) { + o.doubleValue = 42.0; + o.int64Value = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaNumericValue--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaNumericValue( + api.GoogleAnalyticsAdminV1alphaNumericValue o) { + buildCounterGoogleAnalyticsAdminV1alphaNumericValue++; + if (buildCounterGoogleAnalyticsAdminV1alphaNumericValue < 3) { + unittest.expect( + o.doubleValue!, + unittest.equals(42.0), + ); + unittest.expect( + o.int64Value!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaNumericValue--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaParameterMutation = 0; +api.GoogleAnalyticsAdminV1alphaParameterMutation + buildGoogleAnalyticsAdminV1alphaParameterMutation() { + final o = api.GoogleAnalyticsAdminV1alphaParameterMutation(); + buildCounterGoogleAnalyticsAdminV1alphaParameterMutation++; + if (buildCounterGoogleAnalyticsAdminV1alphaParameterMutation < 3) { + o.parameter = 'foo'; + o.parameterValue = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaParameterMutation--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaParameterMutation( + api.GoogleAnalyticsAdminV1alphaParameterMutation o) { + buildCounterGoogleAnalyticsAdminV1alphaParameterMutation++; + if (buildCounterGoogleAnalyticsAdminV1alphaParameterMutation < 3) { + unittest.expect( + o.parameter!, + unittest.equals('foo'), + ); + unittest.expect( + o.parameterValue!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaParameterMutation--; +} + +core.List buildUnnamed60() => [ + buildGoogleAnalyticsAdminV1alphaConversionValues(), + buildGoogleAnalyticsAdminV1alphaConversionValues(), + ]; + +void checkUnnamed60( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaConversionValues(o[0]); + checkGoogleAnalyticsAdminV1alphaConversionValues(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaPostbackWindow = 0; +api.GoogleAnalyticsAdminV1alphaPostbackWindow + buildGoogleAnalyticsAdminV1alphaPostbackWindow() { + final o = api.GoogleAnalyticsAdminV1alphaPostbackWindow(); + buildCounterGoogleAnalyticsAdminV1alphaPostbackWindow++; + if (buildCounterGoogleAnalyticsAdminV1alphaPostbackWindow < 3) { + o.conversionValues = buildUnnamed60(); + o.postbackWindowSettingsEnabled = true; + } + buildCounterGoogleAnalyticsAdminV1alphaPostbackWindow--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaPostbackWindow( + api.GoogleAnalyticsAdminV1alphaPostbackWindow o) { + buildCounterGoogleAnalyticsAdminV1alphaPostbackWindow++; + if (buildCounterGoogleAnalyticsAdminV1alphaPostbackWindow < 3) { + checkUnnamed60(o.conversionValues!); + unittest.expect(o.postbackWindowSettingsEnabled!, unittest.isTrue); + } + buildCounterGoogleAnalyticsAdminV1alphaPostbackWindow--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaProperty = 0; +api.GoogleAnalyticsAdminV1alphaProperty + buildGoogleAnalyticsAdminV1alphaProperty() { + final o = api.GoogleAnalyticsAdminV1alphaProperty(); + buildCounterGoogleAnalyticsAdminV1alphaProperty++; + if (buildCounterGoogleAnalyticsAdminV1alphaProperty < 3) { + o.account = 'foo'; + o.createTime = 'foo'; + o.currencyCode = 'foo'; + o.deleteTime = 'foo'; + o.displayName = 'foo'; + o.expireTime = 'foo'; + o.industryCategory = 'foo'; + o.name = 'foo'; + o.parent = 'foo'; + o.propertyType = 'foo'; + o.serviceLevel = 'foo'; + o.timeZone = 'foo'; + o.updateTime = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaProperty--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaProperty( + api.GoogleAnalyticsAdminV1alphaProperty o) { + buildCounterGoogleAnalyticsAdminV1alphaProperty++; + if (buildCounterGoogleAnalyticsAdminV1alphaProperty < 3) { + unittest.expect( + o.account!, + unittest.equals('foo'), + ); + unittest.expect( + o.createTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.currencyCode!, + unittest.equals('foo'), + ); + unittest.expect( + o.deleteTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.expireTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.industryCategory!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.parent!, + unittest.equals('foo'), + ); + unittest.expect( + o.propertyType!, + unittest.equals('foo'), + ); + unittest.expect( + o.serviceLevel!, + unittest.equals('foo'), + ); + unittest.expect( + o.timeZone!, + unittest.equals('foo'), + ); + unittest.expect( + o.updateTime!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaProperty--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaPropertySummary = 0; +api.GoogleAnalyticsAdminV1alphaPropertySummary + buildGoogleAnalyticsAdminV1alphaPropertySummary() { + final o = api.GoogleAnalyticsAdminV1alphaPropertySummary(); + buildCounterGoogleAnalyticsAdminV1alphaPropertySummary++; + if (buildCounterGoogleAnalyticsAdminV1alphaPropertySummary < 3) { + o.displayName = 'foo'; + o.parent = 'foo'; + o.property = 'foo'; + o.propertyType = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaPropertySummary--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaPropertySummary( + api.GoogleAnalyticsAdminV1alphaPropertySummary o) { + buildCounterGoogleAnalyticsAdminV1alphaPropertySummary++; + if (buildCounterGoogleAnalyticsAdminV1alphaPropertySummary < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.parent!, + unittest.equals('foo'), + ); + unittest.expect( + o.property!, + unittest.equals('foo'), + ); + unittest.expect( + o.propertyType!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaPropertySummary--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest = + 0; +api.GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest + buildGoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest() { + final o = api.GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest(); + buildCounterGoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest < + 3) { + o.account = buildGoogleAnalyticsAdminV1alphaAccount(); + o.redirectUri = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest( + api.GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest < + 3) { + checkGoogleAnalyticsAdminV1alphaAccount(o.account!); + unittest.expect( + o.redirectUri!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse = + 0; +api.GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse + buildGoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse() { + final o = api.GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse(); + buildCounterGoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse < + 3) { + o.accountTicketId = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse( + api.GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse < + 3) { + unittest.expect( + o.accountTicketId!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaRollupPropertySourceLink = 0; +api.GoogleAnalyticsAdminV1alphaRollupPropertySourceLink + buildGoogleAnalyticsAdminV1alphaRollupPropertySourceLink() { + final o = api.GoogleAnalyticsAdminV1alphaRollupPropertySourceLink(); + buildCounterGoogleAnalyticsAdminV1alphaRollupPropertySourceLink++; + if (buildCounterGoogleAnalyticsAdminV1alphaRollupPropertySourceLink < 3) { + o.name = 'foo'; + o.sourceProperty = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaRollupPropertySourceLink--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaRollupPropertySourceLink( + api.GoogleAnalyticsAdminV1alphaRollupPropertySourceLink o) { + buildCounterGoogleAnalyticsAdminV1alphaRollupPropertySourceLink++; + if (buildCounterGoogleAnalyticsAdminV1alphaRollupPropertySourceLink < 3) { + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect( + o.sourceProperty!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaRollupPropertySourceLink--; +} + +core.List buildUnnamed61() => [ + buildGoogleAnalyticsAdminV1alphaAccessDateRange(), + buildGoogleAnalyticsAdminV1alphaAccessDateRange(), + ]; + +void checkUnnamed61( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAccessDateRange(o[0]); + checkGoogleAnalyticsAdminV1alphaAccessDateRange(o[1]); +} + +core.List buildUnnamed62() => [ + buildGoogleAnalyticsAdminV1alphaAccessDimension(), + buildGoogleAnalyticsAdminV1alphaAccessDimension(), + ]; + +void checkUnnamed62( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAccessDimension(o[0]); + checkGoogleAnalyticsAdminV1alphaAccessDimension(o[1]); +} + +core.List buildUnnamed63() => [ + buildGoogleAnalyticsAdminV1alphaAccessMetric(), + buildGoogleAnalyticsAdminV1alphaAccessMetric(), + ]; + +void checkUnnamed63(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAccessMetric(o[0]); + checkGoogleAnalyticsAdminV1alphaAccessMetric(o[1]); +} + +core.List buildUnnamed64() => [ + buildGoogleAnalyticsAdminV1alphaAccessOrderBy(), + buildGoogleAnalyticsAdminV1alphaAccessOrderBy(), + ]; + +void checkUnnamed64(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAccessOrderBy(o[0]); + checkGoogleAnalyticsAdminV1alphaAccessOrderBy(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportRequest = 0; +api.GoogleAnalyticsAdminV1alphaRunAccessReportRequest + buildGoogleAnalyticsAdminV1alphaRunAccessReportRequest() { + final o = api.GoogleAnalyticsAdminV1alphaRunAccessReportRequest(); + buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportRequest < 3) { + o.dateRanges = buildUnnamed61(); + o.dimensionFilter = + buildGoogleAnalyticsAdminV1alphaAccessFilterExpression(); + o.dimensions = buildUnnamed62(); + o.expandGroups = true; + o.includeAllUsers = true; + o.limit = 'foo'; + o.metricFilter = buildGoogleAnalyticsAdminV1alphaAccessFilterExpression(); + o.metrics = buildUnnamed63(); + o.offset = 'foo'; + o.orderBys = buildUnnamed64(); + o.returnEntityQuota = true; + o.timeZone = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaRunAccessReportRequest( + api.GoogleAnalyticsAdminV1alphaRunAccessReportRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportRequest < 3) { + checkUnnamed61(o.dateRanges!); + checkGoogleAnalyticsAdminV1alphaAccessFilterExpression(o.dimensionFilter!); + checkUnnamed62(o.dimensions!); + unittest.expect(o.expandGroups!, unittest.isTrue); + unittest.expect(o.includeAllUsers!, unittest.isTrue); + unittest.expect( + o.limit!, + unittest.equals('foo'), + ); + checkGoogleAnalyticsAdminV1alphaAccessFilterExpression(o.metricFilter!); + checkUnnamed63(o.metrics!); + unittest.expect( + o.offset!, + unittest.equals('foo'), + ); + checkUnnamed64(o.orderBys!); + unittest.expect(o.returnEntityQuota!, unittest.isTrue); + unittest.expect( + o.timeZone!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportRequest--; +} + +core.List + buildUnnamed65() => [ + buildGoogleAnalyticsAdminV1alphaAccessDimensionHeader(), + buildGoogleAnalyticsAdminV1alphaAccessDimensionHeader(), + ]; + +void checkUnnamed65( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAccessDimensionHeader(o[0]); + checkGoogleAnalyticsAdminV1alphaAccessDimensionHeader(o[1]); +} + +core.List buildUnnamed66() => + [ + buildGoogleAnalyticsAdminV1alphaAccessMetricHeader(), + buildGoogleAnalyticsAdminV1alphaAccessMetricHeader(), + ]; + +void checkUnnamed66( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAccessMetricHeader(o[0]); + checkGoogleAnalyticsAdminV1alphaAccessMetricHeader(o[1]); +} + +core.List buildUnnamed67() => [ + buildGoogleAnalyticsAdminV1alphaAccessRow(), + buildGoogleAnalyticsAdminV1alphaAccessRow(), + ]; + +void checkUnnamed67(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaAccessRow(o[0]); + checkGoogleAnalyticsAdminV1alphaAccessRow(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportResponse = 0; +api.GoogleAnalyticsAdminV1alphaRunAccessReportResponse + buildGoogleAnalyticsAdminV1alphaRunAccessReportResponse() { + final o = api.GoogleAnalyticsAdminV1alphaRunAccessReportResponse(); + buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportResponse < 3) { + o.dimensionHeaders = buildUnnamed65(); + o.metricHeaders = buildUnnamed66(); + o.quota = buildGoogleAnalyticsAdminV1alphaAccessQuota(); + o.rowCount = 42; + o.rows = buildUnnamed67(); + } + buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaRunAccessReportResponse( + api.GoogleAnalyticsAdminV1alphaRunAccessReportResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportResponse < 3) { + checkUnnamed65(o.dimensionHeaders!); + checkUnnamed66(o.metricHeaders!); + checkGoogleAnalyticsAdminV1alphaAccessQuota(o.quota!); + unittest.expect( + o.rowCount!, + unittest.equals(42), + ); + checkUnnamed67(o.rows!); + } + buildCounterGoogleAnalyticsAdminV1alphaRunAccessReportResponse--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema = 0; +api.GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema + buildGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema() { + final o = api.GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema(); + buildCounterGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema++; + if (buildCounterGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema < + 3) { + o.applyConversionValues = true; + o.name = 'foo'; + o.postbackWindowOne = buildGoogleAnalyticsAdminV1alphaPostbackWindow(); + o.postbackWindowThree = buildGoogleAnalyticsAdminV1alphaPostbackWindow(); + o.postbackWindowTwo = buildGoogleAnalyticsAdminV1alphaPostbackWindow(); + } + buildCounterGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema( + api.GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema o) { + buildCounterGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema++; + if (buildCounterGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema < + 3) { + unittest.expect(o.applyConversionValues!, unittest.isTrue); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + checkGoogleAnalyticsAdminV1alphaPostbackWindow(o.postbackWindowOne!); + checkGoogleAnalyticsAdminV1alphaPostbackWindow(o.postbackWindowThree!); + checkGoogleAnalyticsAdminV1alphaPostbackWindow(o.postbackWindowTwo!); + } + buildCounterGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaSearchAds360Link = 0; +api.GoogleAnalyticsAdminV1alphaSearchAds360Link + buildGoogleAnalyticsAdminV1alphaSearchAds360Link() { + final o = api.GoogleAnalyticsAdminV1alphaSearchAds360Link(); + buildCounterGoogleAnalyticsAdminV1alphaSearchAds360Link++; + if (buildCounterGoogleAnalyticsAdminV1alphaSearchAds360Link < 3) { + o.adsPersonalizationEnabled = true; + o.advertiserDisplayName = 'foo'; + o.advertiserId = 'foo'; + o.campaignDataSharingEnabled = true; + o.costDataSharingEnabled = true; + o.name = 'foo'; + o.siteStatsSharingEnabled = true; + } + buildCounterGoogleAnalyticsAdminV1alphaSearchAds360Link--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaSearchAds360Link( + api.GoogleAnalyticsAdminV1alphaSearchAds360Link o) { + buildCounterGoogleAnalyticsAdminV1alphaSearchAds360Link++; + if (buildCounterGoogleAnalyticsAdminV1alphaSearchAds360Link < 3) { + unittest.expect(o.adsPersonalizationEnabled!, unittest.isTrue); + unittest.expect( + o.advertiserDisplayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.advertiserId!, + unittest.equals('foo'), + ); + unittest.expect(o.campaignDataSharingEnabled!, unittest.isTrue); + unittest.expect(o.costDataSharingEnabled!, unittest.isTrue); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + unittest.expect(o.siteStatsSharingEnabled!, unittest.isTrue); + } + buildCounterGoogleAnalyticsAdminV1alphaSearchAds360Link--; +} + +core.List buildUnnamed68() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed68(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 buildUnnamed69() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed69(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 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 + buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest = 0; +api.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest + buildGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest() { + final o = api.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest(); + buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest < + 3) { + o.action = buildUnnamed68(); + o.actorEmail = buildUnnamed69(); + o.earliestChangeTime = 'foo'; + o.latestChangeTime = 'foo'; + o.pageSize = 42; + o.pageToken = 'foo'; + o.property = 'foo'; + o.resourceType = buildUnnamed70(); + } + buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest( + api.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest < + 3) { + checkUnnamed68(o.action!); + checkUnnamed69(o.actorEmail!); + unittest.expect( + o.earliestChangeTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.latestChangeTime!, + unittest.equals('foo'), + ); + unittest.expect( + o.pageSize!, + unittest.equals(42), + ); + unittest.expect( + o.pageToken!, + unittest.equals('foo'), + ); + unittest.expect( + o.property!, + unittest.equals('foo'), + ); + checkUnnamed70(o.resourceType!); + } + buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest--; +} + +core.List buildUnnamed71() => + [ + buildGoogleAnalyticsAdminV1alphaChangeHistoryEvent(), + buildGoogleAnalyticsAdminV1alphaChangeHistoryEvent(), + ]; + +void checkUnnamed71( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaChangeHistoryEvent(o[0]); + checkGoogleAnalyticsAdminV1alphaChangeHistoryEvent(o[1]); +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse = + 0; +api.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse + buildGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse() { + final o = api.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse(); + buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse < + 3) { + o.changeHistoryEvents = buildUnnamed71(); + o.nextPageToken = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse( + api.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse o) { + buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse < + 3) { + checkUnnamed71(o.changeHistoryEvents!); + unittest.expect( + o.nextPageToken!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest = + 0; +api.GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest + buildGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest() { + final o = api + .GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest(); + buildCounterGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest < + 3) { + o.optOut = true; + o.property = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest( + api.GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest + o) { + buildCounterGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest < + 3) { + unittest.expect(o.optOut!, unittest.isTrue); + unittest.expect( + o.property!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse = + 0; +api.GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse + buildGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse() { + final o = api + .GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse(); + buildCounterGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse < + 3) {} + buildCounterGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse( + api.GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse + o) { + buildCounterGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse++; + if (buildCounterGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse < + 3) {} + buildCounterGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse--; +} + +core.List + buildUnnamed72() => [ + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause(), + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause(), + ]; + +void checkUnnamed72( + core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause(o[0]); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause(o[1]); +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilter = 0; +api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilter + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilter() { + final o = api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilter(); + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilter < 3) { + o.applyToProperty = 'foo'; + o.filterClauses = buildUnnamed72(); + o.name = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilter( + api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilter o) { + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilter < 3) { + unittest.expect( + o.applyToProperty!, + unittest.equals('foo'), + ); + checkUnnamed72(o.filterClauses!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilter--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause = + 0; +api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause() { + final o = api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause(); + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause++; + if (buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause < 3) { + o.filterClauseType = 'foo'; + o.filterExpression = + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression(); + } + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause( + api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause o) { + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause++; + if (buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause < 3) { + unittest.expect( + o.filterClauseType!, + unittest.equals('foo'), + ); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression( + o.filterExpression!); + } + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition = 0; +api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition() { + final o = api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition(); + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition++; + if (buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition < + 3) { + o.fieldName = 'foo'; + o.nullFilter = true; + o.stringFilter = + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter(); + } + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition( + api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition o) { + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition++; + if (buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition < + 3) { + unittest.expect( + o.fieldName!, + unittest.equals('foo'), + ); + unittest.expect(o.nullFilter!, unittest.isTrue); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter( + o.stringFilter!); + } + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter = + 0; +api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter() { + final o = api + .GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter(); + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter < + 3) { + o.caseSensitive = true; + o.matchType = 'foo'; + o.value = 'foo'; + } + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter( + api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter + o) { + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter++; + if (buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter < + 3) { + unittest.expect(o.caseSensitive!, unittest.isTrue); + unittest.expect( + o.matchType!, + unittest.equals('foo'), + ); + unittest.expect( + o.value!, + unittest.equals('foo'), + ); + } + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter--; +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression = 0; +api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression() { + final o = api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression(); + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression++; + if (buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression < + 3) { + o.filterCondition = + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition(); + o.notExpression = + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression(); + o.orGroup = + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList(); + } + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression( + api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression o) { + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression++; + if (buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression < + 3) { + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition( + o.filterCondition!); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression( + o.notExpression!); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList( + o.orGroup!); + } + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression--; +} + +core.List + buildUnnamed73() => [ + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression(), + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression(), + ]; + +void checkUnnamed73( + core.List + o) { + unittest.expect(o, unittest.hasLength(2)); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression(o[0]); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression(o[1]); +} + +core.int + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList = + 0; +api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList() { + final o = + api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList(); + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList++; + if (buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList < + 3) { + o.filterExpressions = buildUnnamed73(); + } + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList( + api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList o) { + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList++; + if (buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList < + 3) { + checkUnnamed73(o.filterExpressions!); + } + buildCounterGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList--; +} + +core.int buildCounterGoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest = 0; +api.GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest + buildGoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest() { + final o = api.GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest(); + buildCounterGoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest < 3) { + o.accessBinding = buildGoogleAnalyticsAdminV1alphaAccessBinding(); + } + buildCounterGoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest--; + return o; +} + +void checkGoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest( + api.GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest o) { + buildCounterGoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest++; + if (buildCounterGoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest < 3) { + checkGoogleAnalyticsAdminV1alphaAccessBinding(o.accessBinding!); + } + buildCounterGoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest--; +} + +core.int buildCounterGoogleProtobufEmpty = 0; +api.GoogleProtobufEmpty buildGoogleProtobufEmpty() { + final o = api.GoogleProtobufEmpty(); + buildCounterGoogleProtobufEmpty++; + if (buildCounterGoogleProtobufEmpty < 3) {} + buildCounterGoogleProtobufEmpty--; + return o; +} + +void checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { + buildCounterGoogleProtobufEmpty++; + if (buildCounterGoogleProtobufEmpty < 3) {} + buildCounterGoogleProtobufEmpty--; +} + +core.List buildUnnamed74() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed74(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 buildUnnamed75() => [ + 'foo', + 'foo', + ]; + +void checkUnnamed75(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + unittest.expect( + o[0], + unittest.equals('foo'), + ); + unittest.expect( + o[1], + unittest.equals('foo'), + ); +} + +void main() { + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessBetweenFilter', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessBetweenFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessBetweenFilter.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessBetweenFilter(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessBinding', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessBinding(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessBinding.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessBinding(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessDateRange', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessDateRange(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessDateRange.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessDateRange(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessDimension', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessDimension(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessDimension.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessDimension(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessDimensionHeader', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessDimensionHeader(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessDimensionHeader.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessDimensionHeader(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessDimensionValue', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessDimensionValue(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessDimensionValue.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessDimensionValue(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessFilter', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessFilter.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessFilter(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessFilterExpression', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessFilterExpression(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessFilterExpression.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessFilterExpression(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaAccessFilterExpressionList', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessFilterExpressionList(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaAccessFilterExpressionList.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessFilterExpressionList(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessInListFilter', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessInListFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessInListFilter.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessInListFilter(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessMetric', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessMetric(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessMetric.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessMetric(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessMetricHeader', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessMetricHeader(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessMetricHeader.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessMetricHeader(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessMetricValue', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessMetricValue(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessMetricValue.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessMetricValue(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessNumericFilter', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessNumericFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessNumericFilter.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessNumericFilter(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessOrderBy', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessOrderBy(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessOrderBy.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessOrderBy(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessOrderByDimensionOrderBy(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessOrderByMetricOrderBy(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessQuota', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessQuota(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessQuota.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessQuota(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessQuotaStatus', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessQuotaStatus(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessQuotaStatus.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessQuotaStatus(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessRow', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessRow(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessRow.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessRow(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccessStringFilter', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccessStringFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccessStringFilter.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessStringFilter(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccount', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccount(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccount.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccount(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAccountSummary', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAccountSummary(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAccountSummary.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAccountSummary(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAdSenseLink', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAdSenseLink(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAdSenseLink.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAdSenseLink(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse( + od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaArchiveAudienceRequest', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaArchiveAudienceRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaArchiveAudienceRequest.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaArchiveAudienceRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAttributionSettings', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAttributionSettings(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAttributionSettings.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAttributionSettings(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAudience', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAudience(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAudience.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAudience(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilter(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterInListFilter( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericFilter( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterNumericValue( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterStringFilter( + od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAudienceEventFilter', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAudienceEventFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAudienceEventFilter.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAudienceEventFilter(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAudienceEventTrigger', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAudienceEventTrigger(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAudienceEventTrigger.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAudienceEventTrigger(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAudienceFilterClause', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAudienceFilterClause(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAudienceFilterClause.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAudienceFilterClause(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaAudienceFilterExpression', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAudienceFilterExpression(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaAudienceFilterExpression.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAudienceFilterExpression(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAudienceFilterExpressionList(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaAudienceFilterExpressionList.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAudienceFilterExpressionList(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAudienceSequenceFilter', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAudienceSequenceFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAudienceSequenceFilter.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAudienceSequenceFilter(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAudienceSequenceFilterAudienceSequenceStep( + od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaAudienceSimpleFilter', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaAudienceSimpleFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaAudienceSimpleFilter.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaAudienceSimpleFilter(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaBigQueryLink', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaBigQueryLink(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaBigQueryLink.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaBigQueryLink(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaCalculatedMetric', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaCalculatedMetric(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaCalculatedMetric.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaCalculatedMetric(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest( + od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaChangeHistoryChange', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaChangeHistoryChange(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaChangeHistoryChange.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaChangeHistoryChange(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaChangeHistoryChangeChangeHistoryResource( + od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaChangeHistoryEvent', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaChangeHistoryEvent(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaChangeHistoryEvent.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaChangeHistoryEvent(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaChannelGroup', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaChannelGroup(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaChannelGroup.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaChannelGroup(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaChannelGroupFilter', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaChannelGroupFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaChannelGroupFilter.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaChannelGroupFilter(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaChannelGroupFilterExpression(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaConnectedSiteTag', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaConnectedSiteTag(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaConnectedSiteTag.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaConnectedSiteTag(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaConversionEvent', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaConversionEvent(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaConversionEvent.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaConversionEvent(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaConversionEventDefaultConversionValue(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaConversionValues', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaConversionValues(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaConversionValues.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaConversionValues(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaCreateAccessBindingRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaCreateAccessBindingRequest.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaCreateAccessBindingRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaCreateSubpropertyRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaCreateSubpropertyRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaCreateSubpropertyResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaCreateSubpropertyResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaCustomDimension', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaCustomDimension(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaCustomDimension.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaCustomDimension(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaCustomMetric', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaCustomMetric(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaCustomMetric.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaCustomMetric(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaDataRedactionSettings', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaDataRedactionSettings(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaDataRedactionSettings.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaDataRedactionSettings(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaDataRetentionSettings', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaDataRetentionSettings(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaDataRetentionSettings.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaDataRetentionSettings(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaDataSharingSettings', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaDataSharingSettings(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaDataSharingSettings.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaDataSharingSettings(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaDataStream', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaDataStream(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaDataStream.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaDataStream(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaDataStreamAndroidAppStreamData(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaDataStreamIosAppStreamData(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaDataStreamWebStreamData', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaDataStreamWebStreamData(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaDataStreamWebStreamData.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaDataStreamWebStreamData(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaDeleteAccessBindingRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaEventCreateRule', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaEventCreateRule(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaEventCreateRule.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaEventCreateRule(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaEventMapping', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaEventMapping(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaEventMapping.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaEventMapping(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaExpandedDataSet', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaExpandedDataSet(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaExpandedDataSet.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaExpandedDataSet(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaExpandedDataSetFilter', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilter.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilter(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpression(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilterExpressionList(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilterInListFilter(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaExpandedDataSetFilterStringFilter(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaFirebaseLink', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaFirebaseLink(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaFirebaseLink.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaFirebaseLink(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaGlobalSiteTag', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaGlobalSiteTag(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaGlobalSiteTag.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaGlobalSiteTag(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaGoogleAdsLink', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaGoogleAdsLink(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaGoogleAdsLink.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaGoogleAdsLink(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaGoogleSignalsSettings', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaGoogleSignalsSettings(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaGoogleSignalsSettings.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaGoogleSignalsSettings(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaGroupingRule', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaGroupingRule(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaGroupingRule.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaGroupingRule(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaKeyEvent', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaKeyEvent(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaKeyEvent.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaKeyEvent(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaKeyEventDefaultValue', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaKeyEventDefaultValue(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaKeyEventDefaultValue.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaKeyEventDefaultValue(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaLinkProposalStatusDetails(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaLinkProposalStatusDetails(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListAccessBindingsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListAccessBindingsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListAccessBindingsResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListAccessBindingsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListAccountSummariesResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListAccountSummariesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListAccountSummariesResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListAccountSummariesResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaListAccountsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListAccountsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaListAccountsResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListAccountsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListAdSenseLinksResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListAdSenseLinksResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaListAudiencesResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListAudiencesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaListAudiencesResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListAudiencesResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListBigQueryLinksResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListBigQueryLinksResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListChannelGroupsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListChannelGroupsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListChannelGroupsResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListChannelGroupsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListConversionEventsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListConversionEventsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListConversionEventsResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListConversionEventsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListCustomMetricsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListCustomMetricsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListCustomMetricsResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListCustomMetricsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListDataStreamsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListDataStreamsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListDataStreamsResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListDataStreamsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListEventCreateRulesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListEventCreateRulesResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaListKeyEventsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListKeyEventsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaListKeyEventsResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListKeyEventsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse( + od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaListPropertiesResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListPropertiesResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaListPropertiesResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListPropertiesResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaMatchingCondition', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaMatchingCondition(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaMatchingCondition.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaMatchingCondition(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaNumericValue', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaNumericValue(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaNumericValue.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaNumericValue(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaParameterMutation', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaParameterMutation(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaParameterMutation.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaParameterMutation(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaPostbackWindow', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaPostbackWindow(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaPostbackWindow.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaPostbackWindow(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaProperty', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaProperty(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaProperty.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaProperty(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaPropertySummary', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaPropertySummary(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaPropertySummary.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaPropertySummary(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaRollupPropertySourceLink', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaRollupPropertySourceLink(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaRollupPropertySourceLink.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaRollupPropertySourceLink(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaRunAccessReportRequest', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaRunAccessReportRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaRunAccessReportRequest.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaRunAccessReportRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaRunAccessReportResponse', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaRunAccessReportResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaRunAccessReportResponse.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaRunAccessReportResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema(od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaSearchAds360Link', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaSearchAds360Link(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaSearchAds360Link.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaSearchAds360Link(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse( + od); + }); + }); + + unittest.group('obj-schema-GoogleAnalyticsAdminV1alphaSubpropertyEventFilter', + () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilter.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilter(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterClause(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterCondition(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterConditionStringFilter( + od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpression(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList + .fromJson(oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilterExpressionList(od); + }); + }); + + unittest.group( + 'obj-schema-GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest.fromJson( + oJson as core.Map); + checkGoogleAnalyticsAdminV1alphaUpdateAccessBindingRequest(od); + }); + }); + + unittest.group('obj-schema-GoogleProtobufEmpty', () { + unittest.test('to-json--from-json', () async { + final o = buildGoogleProtobufEmpty(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.GoogleProtobufEmpty.fromJson( + oJson as core.Map); + checkGoogleProtobufEmpty(od); + }); + }); + + unittest.group('resource-AccountSummariesResource', () { + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).accountSummaries; + 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 + 24), + unittest.equals('v1alpha/accountSummaries'), + ); + pathOffset += 24; + + 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( + buildGoogleAnalyticsAdminV1alphaListAccountSummariesResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list( + pageSize: arg_pageSize, + pageToken: arg_pageToken, + $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaListAccountSummariesResponse(response + as api.GoogleAnalyticsAdminV1alphaListAccountSummariesResponse); + }); + }); + + unittest.group('resource-AccountsResource', () { + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).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 + 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(buildGoogleAnalyticsAdminV1alphaAccount()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaAccount( + response as api.GoogleAnalyticsAdminV1alphaAccount); + }); + + unittest.test('method--getDataSharingSettings', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).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 + 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(buildGoogleAnalyticsAdminV1alphaDataSharingSettings()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.getDataSharingSettings(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaDataSharingSettings( + response as api.GoogleAnalyticsAdminV1alphaDataSharingSettings); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).accounts; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_showDeleted = 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 + 16), + unittest.equals('v1alpha/accounts'), + ); + pathOffset += 16; + + 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['showDeleted']!.first, + unittest.equals('$arg_showDeleted'), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleAnalyticsAdminV1alphaListAccountsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list( + pageSize: arg_pageSize, + pageToken: arg_pageToken, + showDeleted: arg_showDeleted, + $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaListAccountsResponse( + response as api.GoogleAnalyticsAdminV1alphaListAccountsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).accounts; + final arg_request = buildGoogleAnalyticsAdminV1alphaAccount(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaAccount.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaAccount(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['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(buildGoogleAnalyticsAdminV1alphaAccount()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaAccount( + response as api.GoogleAnalyticsAdminV1alphaAccount); + }); + + unittest.test('method--provisionAccountTicket', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).accounts; + final arg_request = + buildGoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest(); + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest(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 + 39), + unittest.equals('v1alpha/accounts:provisionAccountTicket'), + ); + pathOffset += 39; + + 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( + buildGoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.provisionAccountTicket(arg_request, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse(response + as api.GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse); + }); + + unittest.test('method--runAccessReport', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).accounts; + final arg_request = + buildGoogleAnalyticsAdminV1alphaRunAccessReportRequest(); + final arg_entity = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaRunAccessReportRequest.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaRunAccessReportRequest(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(buildGoogleAnalyticsAdminV1alphaRunAccessReportResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.runAccessReport(arg_request, arg_entity, + $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaRunAccessReportResponse( + response as api.GoogleAnalyticsAdminV1alphaRunAccessReportResponse); + }); + + unittest.test('method--searchChangeHistoryEvents', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).accounts; + final arg_request = + buildGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest(); + final arg_account = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsRequest(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( + buildGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.searchChangeHistoryEvents( + arg_request, arg_account, + $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse(response + as api.GoogleAnalyticsAdminV1alphaSearchChangeHistoryEventsResponse); + }); + }); + + unittest.group('resource-AccountsAccessBindingsResource', () { + unittest.test('method--batchCreate', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).accounts.accessBindings; + final arg_request = + buildGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest(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( + buildGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.batchCreate(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse(response + as api.GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse); + }); + + unittest.test('method--batchDelete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).accounts.accessBindings; + final arg_request = + buildGoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest(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.batchDelete(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--batchGet', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).accounts.accessBindings; + final arg_parent = 'foo'; + final arg_names = buildUnnamed74(); + 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 + 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['names']!, + unittest.equals(arg_names), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode( + buildGoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.batchGet(arg_parent, + names: arg_names, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse(response + as api.GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse); + }); + + unittest.test('method--batchUpdate', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).accounts.accessBindings; + final arg_request = + buildGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest(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( + buildGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.batchUpdate(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse(response + as api.GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse); + }); + + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).accounts.accessBindings; + final arg_request = buildGoogleAnalyticsAdminV1alphaAccessBinding(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaAccessBinding.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessBinding(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(buildGoogleAnalyticsAdminV1alphaAccessBinding()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaAccessBinding( + response as api.GoogleAnalyticsAdminV1alphaAccessBinding); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).accounts.accessBindings; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).accounts.accessBindings; + 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 + 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(buildGoogleAnalyticsAdminV1alphaAccessBinding()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaAccessBinding( + response as api.GoogleAnalyticsAdminV1alphaAccessBinding); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).accounts.accessBindings; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListAccessBindingsResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListAccessBindingsResponse(response + as api.GoogleAnalyticsAdminV1alphaListAccessBindingsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).accounts.accessBindings; + final arg_request = buildGoogleAnalyticsAdminV1alphaAccessBinding(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaAccessBinding.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessBinding(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(buildGoogleAnalyticsAdminV1alphaAccessBinding()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.patch(arg_request, arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaAccessBinding( + response as api.GoogleAnalyticsAdminV1alphaAccessBinding); + }); + }); + + unittest.group('resource-PropertiesResource', () { + unittest.test('method--acknowledgeUserDataCollection', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_request = + buildGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest(); + final arg_property = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionRequest( + 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( + buildGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.acknowledgeUserDataCollection( + arg_request, arg_property, + $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse( + response as api + .GoogleAnalyticsAdminV1alphaAcknowledgeUserDataCollectionResponse); + }); + + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_request = buildGoogleAnalyticsAdminV1alphaProperty(); + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaProperty.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaProperty(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('v1alpha/properties'), + ); + 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(buildGoogleAnalyticsAdminV1alphaProperty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaProperty( + response as api.GoogleAnalyticsAdminV1alphaProperty); + }); + + unittest.test('method--createConnectedSiteTag', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_request = + buildGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest(); + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagRequest(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 + 41), + unittest.equals('v1alpha/properties:createConnectedSiteTag'), + ); + pathOffset += 41; + + 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( + buildGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.createConnectedSiteTag(arg_request, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse(response + as api.GoogleAnalyticsAdminV1alphaCreateConnectedSiteTagResponse); + }); + + unittest.test('method--createRollupProperty', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_request = + buildGoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest(); + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaCreateRollupPropertyRequest(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 + 39), + unittest.equals('v1alpha/properties:createRollupProperty'), + ); + pathOffset += 39; + + 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( + buildGoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.createRollupProperty(arg_request, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse(response + as api.GoogleAnalyticsAdminV1alphaCreateRollupPropertyResponse); + }); + + unittest.test('method--createSubproperty', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_request = + buildGoogleAnalyticsAdminV1alphaCreateSubpropertyRequest(); + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaCreateSubpropertyRequest.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaCreateSubpropertyRequest(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 + 36), + unittest.equals('v1alpha/properties:createSubproperty'), + ); + pathOffset += 36; + + 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( + buildGoogleAnalyticsAdminV1alphaCreateSubpropertyResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.createSubproperty(arg_request, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaCreateSubpropertyResponse( + response as api.GoogleAnalyticsAdminV1alphaCreateSubpropertyResponse); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + 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 + 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(buildGoogleAnalyticsAdminV1alphaProperty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.delete(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaProperty( + response as api.GoogleAnalyticsAdminV1alphaProperty); + }); + + unittest.test('method--deleteConnectedSiteTag', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_request = + buildGoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest(); + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaDeleteConnectedSiteTagRequest(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 + 41), + unittest.equals('v1alpha/properties:deleteConnectedSiteTag'), + ); + pathOffset += 41; + + 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.deleteConnectedSiteTag(arg_request, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--fetchAutomatedGa4ConfigurationOptOut', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_request = + buildGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest(); + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutRequest( + 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 + 55), + unittest.equals( + 'v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut'), + ); + pathOffset += 55; + + 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( + buildGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.fetchAutomatedGa4ConfigurationOptOut( + arg_request, + $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse( + response as api + .GoogleAnalyticsAdminV1alphaFetchAutomatedGa4ConfigurationOptOutResponse); + }); + + unittest.test('method--fetchConnectedGa4Property', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_property = '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 + 44), + unittest.equals('v1alpha/properties:fetchConnectedGa4Property'), + ); + pathOffset += 44; + + 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['property']!.first, + unittest.equals(arg_property), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode( + buildGoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.fetchConnectedGa4Property( + property: arg_property, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse(response + as api.GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + 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 + 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(buildGoogleAnalyticsAdminV1alphaProperty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaProperty( + response as api.GoogleAnalyticsAdminV1alphaProperty); + }); + + unittest.test('method--getAttributionSettings', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + 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 + 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(buildGoogleAnalyticsAdminV1alphaAttributionSettings()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.getAttributionSettings(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaAttributionSettings( + response as api.GoogleAnalyticsAdminV1alphaAttributionSettings); + }); + + unittest.test('method--getDataRetentionSettings', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + 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 + 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(buildGoogleAnalyticsAdminV1alphaDataRetentionSettings()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.getDataRetentionSettings(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaDataRetentionSettings( + response as api.GoogleAnalyticsAdminV1alphaDataRetentionSettings); + }); + + unittest.test('method--getGoogleSignalsSettings', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + 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 + 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(buildGoogleAnalyticsAdminV1alphaGoogleSignalsSettings()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.getGoogleSignalsSettings(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaGoogleSignalsSettings( + response as api.GoogleAnalyticsAdminV1alphaGoogleSignalsSettings); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_filter = 'foo'; + final arg_pageSize = 42; + final arg_pageToken = 'foo'; + final arg_showDeleted = 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('v1alpha/properties'), + ); + 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['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['showDeleted']!.first, + unittest.equals('$arg_showDeleted'), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleAnalyticsAdminV1alphaListPropertiesResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.list( + filter: arg_filter, + pageSize: arg_pageSize, + pageToken: arg_pageToken, + showDeleted: arg_showDeleted, + $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaListPropertiesResponse( + response as api.GoogleAnalyticsAdminV1alphaListPropertiesResponse); + }); + + unittest.test('method--listConnectedSiteTags', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_request = + buildGoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest(); + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest(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 + 40), + unittest.equals('v1alpha/properties:listConnectedSiteTags'), + ); + pathOffset += 40; + + 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( + buildGoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.listConnectedSiteTags(arg_request, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse(response + as api.GoogleAnalyticsAdminV1alphaListConnectedSiteTagsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_request = buildGoogleAnalyticsAdminV1alphaProperty(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaProperty.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaProperty(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['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(buildGoogleAnalyticsAdminV1alphaProperty()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaProperty( + response as api.GoogleAnalyticsAdminV1alphaProperty); + }); + + unittest.test('method--runAccessReport', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_request = + buildGoogleAnalyticsAdminV1alphaRunAccessReportRequest(); + final arg_entity = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaRunAccessReportRequest.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaRunAccessReportRequest(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(buildGoogleAnalyticsAdminV1alphaRunAccessReportResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.runAccessReport(arg_request, arg_entity, + $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaRunAccessReportResponse( + response as api.GoogleAnalyticsAdminV1alphaRunAccessReportResponse); + }); + + unittest.test('method--setAutomatedGa4ConfigurationOptOut', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_request = + buildGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest(); + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutRequest( + 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 + 53), + unittest + .equals('v1alpha/properties:setAutomatedGa4ConfigurationOptOut'), + ); + pathOffset += 53; + + 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( + buildGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.setAutomatedGa4ConfigurationOptOut(arg_request, + $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse( + response as api + .GoogleAnalyticsAdminV1alphaSetAutomatedGa4ConfigurationOptOutResponse); + }); + + unittest.test('method--updateAttributionSettings', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_request = buildGoogleAnalyticsAdminV1alphaAttributionSettings(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaAttributionSettings.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaAttributionSettings(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['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(buildGoogleAnalyticsAdminV1alphaAttributionSettings()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.updateAttributionSettings( + arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaAttributionSettings( + response as api.GoogleAnalyticsAdminV1alphaAttributionSettings); + }); + + unittest.test('method--updateDataRetentionSettings', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_request = + buildGoogleAnalyticsAdminV1alphaDataRetentionSettings(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaDataRetentionSettings.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaDataRetentionSettings(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['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(buildGoogleAnalyticsAdminV1alphaDataRetentionSettings()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.updateDataRetentionSettings( + arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaDataRetentionSettings( + response as api.GoogleAnalyticsAdminV1alphaDataRetentionSettings); + }); + + unittest.test('method--updateGoogleSignalsSettings', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties; + final arg_request = + buildGoogleAnalyticsAdminV1alphaGoogleSignalsSettings(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaGoogleSignalsSettings.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaGoogleSignalsSettings(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['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(buildGoogleAnalyticsAdminV1alphaGoogleSignalsSettings()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.updateGoogleSignalsSettings( + arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaGoogleSignalsSettings( + response as api.GoogleAnalyticsAdminV1alphaGoogleSignalsSettings); + }); + }); + + unittest.group('resource-PropertiesAccessBindingsResource', () { + unittest.test('method--batchCreate', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.accessBindings; + final arg_request = + buildGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsRequest(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( + buildGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.batchCreate(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse(response + as api.GoogleAnalyticsAdminV1alphaBatchCreateAccessBindingsResponse); + }); + + unittest.test('method--batchDelete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.accessBindings; + final arg_request = + buildGoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaBatchDeleteAccessBindingsRequest(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.batchDelete(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--batchGet', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.accessBindings; + final arg_parent = 'foo'; + final arg_names = buildUnnamed75(); + 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 + 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['names']!, + unittest.equals(arg_names), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json.encode( + buildGoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.batchGet(arg_parent, + names: arg_names, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse(response + as api.GoogleAnalyticsAdminV1alphaBatchGetAccessBindingsResponse); + }); + + unittest.test('method--batchUpdate', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.accessBindings; + final arg_request = + buildGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsRequest(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( + buildGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.batchUpdate(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse(response + as api.GoogleAnalyticsAdminV1alphaBatchUpdateAccessBindingsResponse); + }); + + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.accessBindings; + final arg_request = buildGoogleAnalyticsAdminV1alphaAccessBinding(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaAccessBinding.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessBinding(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(buildGoogleAnalyticsAdminV1alphaAccessBinding()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaAccessBinding( + response as api.GoogleAnalyticsAdminV1alphaAccessBinding); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.accessBindings; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.accessBindings; + 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 + 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(buildGoogleAnalyticsAdminV1alphaAccessBinding()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaAccessBinding( + response as api.GoogleAnalyticsAdminV1alphaAccessBinding); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.accessBindings; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListAccessBindingsResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListAccessBindingsResponse(response + as api.GoogleAnalyticsAdminV1alphaListAccessBindingsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.accessBindings; + final arg_request = buildGoogleAnalyticsAdminV1alphaAccessBinding(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaAccessBinding.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaAccessBinding(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(buildGoogleAnalyticsAdminV1alphaAccessBinding()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.patch(arg_request, arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaAccessBinding( + response as api.GoogleAnalyticsAdminV1alphaAccessBinding); + }); + }); + + unittest.group('resource-PropertiesAdSenseLinksResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.adSenseLinks; + final arg_request = buildGoogleAnalyticsAdminV1alphaAdSenseLink(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaAdSenseLink.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaAdSenseLink(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(buildGoogleAnalyticsAdminV1alphaAdSenseLink()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaAdSenseLink( + response as api.GoogleAnalyticsAdminV1alphaAdSenseLink); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.adSenseLinks; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.adSenseLinks; + 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 + 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(buildGoogleAnalyticsAdminV1alphaAdSenseLink()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaAdSenseLink( + response as api.GoogleAnalyticsAdminV1alphaAdSenseLink); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.adSenseLinks; + 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 + 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( + 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(buildGoogleAnalyticsAdminV1alphaListAdSenseLinksResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListAdSenseLinksResponse( + response as api.GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse); + }); + }); + + unittest.group('resource-PropertiesAudiencesResource', () { + unittest.test('method--archive', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.audiences; + final arg_request = + buildGoogleAnalyticsAdminV1alphaArchiveAudienceRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaArchiveAudienceRequest.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaArchiveAudienceRequest(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.archive(arg_request, arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.audiences; + final arg_request = buildGoogleAnalyticsAdminV1alphaAudience(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaAudience.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaAudience(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(buildGoogleAnalyticsAdminV1alphaAudience()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaAudience( + response as api.GoogleAnalyticsAdminV1alphaAudience); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.audiences; + 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 + 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(buildGoogleAnalyticsAdminV1alphaAudience()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaAudience( + response as api.GoogleAnalyticsAdminV1alphaAudience); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.audiences; + 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 + 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( + 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(buildGoogleAnalyticsAdminV1alphaListAudiencesResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListAudiencesResponse( + response as api.GoogleAnalyticsAdminV1alphaListAudiencesResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.audiences; + final arg_request = buildGoogleAnalyticsAdminV1alphaAudience(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaAudience.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaAudience(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['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(buildGoogleAnalyticsAdminV1alphaAudience()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaAudience( + response as api.GoogleAnalyticsAdminV1alphaAudience); + }); + }); + + unittest.group('resource-PropertiesBigQueryLinksResource', () { + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.bigQueryLinks; + 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 + 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(buildGoogleAnalyticsAdminV1alphaBigQueryLink()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaBigQueryLink( + response as api.GoogleAnalyticsAdminV1alphaBigQueryLink); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.bigQueryLinks; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListBigQueryLinksResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListBigQueryLinksResponse( + response as api.GoogleAnalyticsAdminV1alphaListBigQueryLinksResponse); + }); + }); + + unittest.group('resource-PropertiesCalculatedMetricsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = + api.GoogleAnalyticsAdminApi(mock).properties.calculatedMetrics; + final arg_request = buildGoogleAnalyticsAdminV1alphaCalculatedMetric(); + final arg_parent = 'foo'; + final arg_calculatedMetricId = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaCalculatedMetric.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaCalculatedMetric(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['calculatedMetricId']!.first, + unittest.equals(arg_calculatedMetricId), + ); + unittest.expect( + queryMap['fields']!.first, + unittest.equals(arg_$fields), + ); + + final h = { + 'content-type': 'application/json; charset=utf-8', + }; + final resp = convert.json + .encode(buildGoogleAnalyticsAdminV1alphaCalculatedMetric()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.create(arg_request, arg_parent, + calculatedMetricId: arg_calculatedMetricId, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaCalculatedMetric( + response as api.GoogleAnalyticsAdminV1alphaCalculatedMetric); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = + api.GoogleAnalyticsAdminApi(mock).properties.calculatedMetrics; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = + api.GoogleAnalyticsAdminApi(mock).properties.calculatedMetrics; + 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 + 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(buildGoogleAnalyticsAdminV1alphaCalculatedMetric()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaCalculatedMetric( + response as api.GoogleAnalyticsAdminV1alphaCalculatedMetric); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = + api.GoogleAnalyticsAdminApi(mock).properties.calculatedMetrics; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse(response + as api.GoogleAnalyticsAdminV1alphaListCalculatedMetricsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = + api.GoogleAnalyticsAdminApi(mock).properties.calculatedMetrics; + final arg_request = buildGoogleAnalyticsAdminV1alphaCalculatedMetric(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaCalculatedMetric.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaCalculatedMetric(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['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(buildGoogleAnalyticsAdminV1alphaCalculatedMetric()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaCalculatedMetric( + response as api.GoogleAnalyticsAdminV1alphaCalculatedMetric); + }); + }); + + unittest.group('resource-PropertiesChannelGroupsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.channelGroups; + final arg_request = buildGoogleAnalyticsAdminV1alphaChannelGroup(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaChannelGroup.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaChannelGroup(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(buildGoogleAnalyticsAdminV1alphaChannelGroup()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaChannelGroup( + response as api.GoogleAnalyticsAdminV1alphaChannelGroup); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.channelGroups; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.channelGroups; + 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 + 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(buildGoogleAnalyticsAdminV1alphaChannelGroup()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaChannelGroup( + response as api.GoogleAnalyticsAdminV1alphaChannelGroup); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.channelGroups; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListChannelGroupsResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListChannelGroupsResponse( + response as api.GoogleAnalyticsAdminV1alphaListChannelGroupsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.channelGroups; + final arg_request = buildGoogleAnalyticsAdminV1alphaChannelGroup(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaChannelGroup.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaChannelGroup(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['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(buildGoogleAnalyticsAdminV1alphaChannelGroup()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaChannelGroup( + response as api.GoogleAnalyticsAdminV1alphaChannelGroup); + }); + }); + + unittest.group('resource-PropertiesConversionEventsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.conversionEvents; + final arg_request = buildGoogleAnalyticsAdminV1alphaConversionEvent(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaConversionEvent.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaConversionEvent(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(buildGoogleAnalyticsAdminV1alphaConversionEvent()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaConversionEvent( + response as api.GoogleAnalyticsAdminV1alphaConversionEvent); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.conversionEvents; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.conversionEvents; + 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 + 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(buildGoogleAnalyticsAdminV1alphaConversionEvent()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaConversionEvent( + response as api.GoogleAnalyticsAdminV1alphaConversionEvent); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.conversionEvents; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListConversionEventsResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListConversionEventsResponse(response + as api.GoogleAnalyticsAdminV1alphaListConversionEventsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.conversionEvents; + final arg_request = buildGoogleAnalyticsAdminV1alphaConversionEvent(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaConversionEvent.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaConversionEvent(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['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(buildGoogleAnalyticsAdminV1alphaConversionEvent()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaConversionEvent( + response as api.GoogleAnalyticsAdminV1alphaConversionEvent); + }); + }); + + unittest.group('resource-PropertiesCustomDimensionsResource', () { + unittest.test('method--archive', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.customDimensions; + final arg_request = + buildGoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest(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.archive(arg_request, arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.customDimensions; + final arg_request = buildGoogleAnalyticsAdminV1alphaCustomDimension(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaCustomDimension.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaCustomDimension(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(buildGoogleAnalyticsAdminV1alphaCustomDimension()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaCustomDimension( + response as api.GoogleAnalyticsAdminV1alphaCustomDimension); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.customDimensions; + 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 + 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(buildGoogleAnalyticsAdminV1alphaCustomDimension()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaCustomDimension( + response as api.GoogleAnalyticsAdminV1alphaCustomDimension); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.customDimensions; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListCustomDimensionsResponse(response + as api.GoogleAnalyticsAdminV1alphaListCustomDimensionsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.customDimensions; + final arg_request = buildGoogleAnalyticsAdminV1alphaCustomDimension(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaCustomDimension.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaCustomDimension(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['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(buildGoogleAnalyticsAdminV1alphaCustomDimension()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaCustomDimension( + response as api.GoogleAnalyticsAdminV1alphaCustomDimension); + }); + }); + + unittest.group('resource-PropertiesCustomMetricsResource', () { + unittest.test('method--archive', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.customMetrics; + final arg_request = + buildGoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaArchiveCustomMetricRequest(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.archive(arg_request, arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.customMetrics; + final arg_request = buildGoogleAnalyticsAdminV1alphaCustomMetric(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaCustomMetric.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaCustomMetric(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(buildGoogleAnalyticsAdminV1alphaCustomMetric()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaCustomMetric( + response as api.GoogleAnalyticsAdminV1alphaCustomMetric); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.customMetrics; + 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 + 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(buildGoogleAnalyticsAdminV1alphaCustomMetric()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaCustomMetric( + response as api.GoogleAnalyticsAdminV1alphaCustomMetric); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.customMetrics; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListCustomMetricsResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListCustomMetricsResponse( + response as api.GoogleAnalyticsAdminV1alphaListCustomMetricsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.customMetrics; + final arg_request = buildGoogleAnalyticsAdminV1alphaCustomMetric(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaCustomMetric.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaCustomMetric(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['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(buildGoogleAnalyticsAdminV1alphaCustomMetric()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaCustomMetric( + response as api.GoogleAnalyticsAdminV1alphaCustomMetric); + }); + }); + + unittest.group('resource-PropertiesDataStreamsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.dataStreams; + final arg_request = buildGoogleAnalyticsAdminV1alphaDataStream(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaDataStream.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaDataStream(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(buildGoogleAnalyticsAdminV1alphaDataStream()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaDataStream( + response as api.GoogleAnalyticsAdminV1alphaDataStream); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.dataStreams; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.dataStreams; + 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 + 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(buildGoogleAnalyticsAdminV1alphaDataStream()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaDataStream( + response as api.GoogleAnalyticsAdminV1alphaDataStream); + }); + + unittest.test('method--getDataRedactionSettings', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.dataStreams; + 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 + 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(buildGoogleAnalyticsAdminV1alphaDataRedactionSettings()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.getDataRedactionSettings(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaDataRedactionSettings( + response as api.GoogleAnalyticsAdminV1alphaDataRedactionSettings); + }); + + unittest.test('method--getEnhancedMeasurementSettings', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.dataStreams; + 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 + 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( + buildGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.getEnhancedMeasurementSettings(arg_name, + $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings(response + as api.GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings); + }); + + unittest.test('method--getGlobalSiteTag', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.dataStreams; + 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 + 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(buildGoogleAnalyticsAdminV1alphaGlobalSiteTag()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.getGlobalSiteTag(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaGlobalSiteTag( + response as api.GoogleAnalyticsAdminV1alphaGlobalSiteTag); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.dataStreams; + 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 + 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( + 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(buildGoogleAnalyticsAdminV1alphaListDataStreamsResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListDataStreamsResponse( + response as api.GoogleAnalyticsAdminV1alphaListDataStreamsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.dataStreams; + final arg_request = buildGoogleAnalyticsAdminV1alphaDataStream(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaDataStream.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaDataStream(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['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(buildGoogleAnalyticsAdminV1alphaDataStream()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaDataStream( + response as api.GoogleAnalyticsAdminV1alphaDataStream); + }); + + unittest.test('method--updateDataRedactionSettings', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.dataStreams; + final arg_request = + buildGoogleAnalyticsAdminV1alphaDataRedactionSettings(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaDataRedactionSettings.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaDataRedactionSettings(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['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(buildGoogleAnalyticsAdminV1alphaDataRedactionSettings()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.updateDataRedactionSettings( + arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaDataRedactionSettings( + response as api.GoogleAnalyticsAdminV1alphaDataRedactionSettings); + }); + + unittest.test('method--updateEnhancedMeasurementSettings', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.dataStreams; + final arg_request = + buildGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings(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['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( + buildGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.updateEnhancedMeasurementSettings( + arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings(response + as api.GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings); + }); + }); + + unittest.group('resource-PropertiesDataStreamsEventCreateRulesResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .dataStreams + .eventCreateRules; + final arg_request = buildGoogleAnalyticsAdminV1alphaEventCreateRule(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaEventCreateRule.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaEventCreateRule(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(buildGoogleAnalyticsAdminV1alphaEventCreateRule()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaEventCreateRule( + response as api.GoogleAnalyticsAdminV1alphaEventCreateRule); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .dataStreams + .eventCreateRules; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .dataStreams + .eventCreateRules; + 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 + 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(buildGoogleAnalyticsAdminV1alphaEventCreateRule()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaEventCreateRule( + response as api.GoogleAnalyticsAdminV1alphaEventCreateRule); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .dataStreams + .eventCreateRules; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListEventCreateRulesResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListEventCreateRulesResponse(response + as api.GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .dataStreams + .eventCreateRules; + final arg_request = buildGoogleAnalyticsAdminV1alphaEventCreateRule(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaEventCreateRule.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaEventCreateRule(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['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(buildGoogleAnalyticsAdminV1alphaEventCreateRule()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaEventCreateRule( + response as api.GoogleAnalyticsAdminV1alphaEventCreateRule); + }); + }); + + unittest.group( + 'resource-PropertiesDataStreamsMeasurementProtocolSecretsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .dataStreams + .measurementProtocolSecrets; + final arg_request = + buildGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret(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( + buildGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret( + response as api.GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .dataStreams + .measurementProtocolSecrets; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .dataStreams + .measurementProtocolSecrets; + 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 + 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( + buildGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret( + response as api.GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .dataStreams + .measurementProtocolSecrets; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse( + response as api + .GoogleAnalyticsAdminV1alphaListMeasurementProtocolSecretsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .dataStreams + .measurementProtocolSecrets; + final arg_request = + buildGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret(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['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( + buildGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaMeasurementProtocolSecret( + response as api.GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret); + }); + }); + + unittest.group( + 'resource-PropertiesDataStreamsSKAdNetworkConversionValueSchemaResource', + () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .dataStreams + .sKAdNetworkConversionValueSchema; + final arg_request = + buildGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema(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( + buildGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema(response + as api.GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .dataStreams + .sKAdNetworkConversionValueSchema; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .dataStreams + .sKAdNetworkConversionValueSchema; + 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 + 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( + buildGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema(response + as api.GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .dataStreams + .sKAdNetworkConversionValueSchema; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse( + response as api + .GoogleAnalyticsAdminV1alphaListSKAdNetworkConversionValueSchemasResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .dataStreams + .sKAdNetworkConversionValueSchema; + final arg_request = + buildGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema(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['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( + buildGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema(response + as api.GoogleAnalyticsAdminV1alphaSKAdNetworkConversionValueSchema); + }); + }); + + unittest.group( + 'resource-PropertiesDisplayVideo360AdvertiserLinkProposalsResource', () { + unittest.test('method--approve', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .displayVideo360AdvertiserLinkProposals; + final arg_request = + buildGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest( + 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( + buildGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.approve(arg_request, arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse( + response as api + .GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalResponse); + }); + + unittest.test('method--cancel', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .displayVideo360AdvertiserLinkProposals; + final arg_request = + buildGoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest(); + final arg_name = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaCancelDisplayVideo360AdvertiserLinkProposalRequest( + 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( + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.cancel(arg_request, arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal( + response as api + .GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal); + }); + + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .displayVideo360AdvertiserLinkProposals; + final arg_request = + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal( + 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( + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal( + response as api + .GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .displayVideo360AdvertiserLinkProposals; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .displayVideo360AdvertiserLinkProposals; + 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 + 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( + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal( + response as api + .GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLinkProposal); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .displayVideo360AdvertiserLinkProposals; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse( + response as api + .GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinkProposalsResponse); + }); + }); + + unittest.group('resource-PropertiesDisplayVideo360AdvertiserLinksResource', + () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .displayVideo360AdvertiserLinks; + final arg_request = + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(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( + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(response + as api.GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .displayVideo360AdvertiserLinks; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .displayVideo360AdvertiserLinks; + 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 + 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( + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(response + as api.GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .displayVideo360AdvertiserLinks; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse( + response as api + .GoogleAnalyticsAdminV1alphaListDisplayVideo360AdvertiserLinksResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .displayVideo360AdvertiserLinks; + final arg_request = + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink + .fromJson(json as core.Map); + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(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['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( + buildGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink(response + as api.GoogleAnalyticsAdminV1alphaDisplayVideo360AdvertiserLink); + }); + }); + + unittest.group('resource-PropertiesExpandedDataSetsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.expandedDataSets; + final arg_request = buildGoogleAnalyticsAdminV1alphaExpandedDataSet(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaExpandedDataSet.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaExpandedDataSet(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(buildGoogleAnalyticsAdminV1alphaExpandedDataSet()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaExpandedDataSet( + response as api.GoogleAnalyticsAdminV1alphaExpandedDataSet); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.expandedDataSets; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.expandedDataSets; + 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 + 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(buildGoogleAnalyticsAdminV1alphaExpandedDataSet()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaExpandedDataSet( + response as api.GoogleAnalyticsAdminV1alphaExpandedDataSet); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.expandedDataSets; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse(response + as api.GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.expandedDataSets; + final arg_request = buildGoogleAnalyticsAdminV1alphaExpandedDataSet(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaExpandedDataSet.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaExpandedDataSet(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['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(buildGoogleAnalyticsAdminV1alphaExpandedDataSet()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaExpandedDataSet( + response as api.GoogleAnalyticsAdminV1alphaExpandedDataSet); + }); + }); + + unittest.group('resource-PropertiesFirebaseLinksResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.firebaseLinks; + final arg_request = buildGoogleAnalyticsAdminV1alphaFirebaseLink(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaFirebaseLink.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaFirebaseLink(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(buildGoogleAnalyticsAdminV1alphaFirebaseLink()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaFirebaseLink( + response as api.GoogleAnalyticsAdminV1alphaFirebaseLink); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.firebaseLinks; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.firebaseLinks; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListFirebaseLinksResponse( + response as api.GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse); + }); + }); + + unittest.group('resource-PropertiesGoogleAdsLinksResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.googleAdsLinks; + final arg_request = buildGoogleAnalyticsAdminV1alphaGoogleAdsLink(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaGoogleAdsLink.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaGoogleAdsLink(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(buildGoogleAnalyticsAdminV1alphaGoogleAdsLink()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaGoogleAdsLink( + response as api.GoogleAnalyticsAdminV1alphaGoogleAdsLink); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.googleAdsLinks; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.googleAdsLinks; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse(response + as api.GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.googleAdsLinks; + final arg_request = buildGoogleAnalyticsAdminV1alphaGoogleAdsLink(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaGoogleAdsLink.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaGoogleAdsLink(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['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(buildGoogleAnalyticsAdminV1alphaGoogleAdsLink()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaGoogleAdsLink( + response as api.GoogleAnalyticsAdminV1alphaGoogleAdsLink); + }); + }); + + unittest.group('resource-PropertiesKeyEventsResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.keyEvents; + final arg_request = buildGoogleAnalyticsAdminV1alphaKeyEvent(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaKeyEvent.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaKeyEvent(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(buildGoogleAnalyticsAdminV1alphaKeyEvent()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaKeyEvent( + response as api.GoogleAnalyticsAdminV1alphaKeyEvent); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.keyEvents; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.keyEvents; + 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 + 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(buildGoogleAnalyticsAdminV1alphaKeyEvent()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaKeyEvent( + response as api.GoogleAnalyticsAdminV1alphaKeyEvent); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.keyEvents; + 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 + 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( + 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(buildGoogleAnalyticsAdminV1alphaListKeyEventsResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListKeyEventsResponse( + response as api.GoogleAnalyticsAdminV1alphaListKeyEventsResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock).properties.keyEvents; + final arg_request = buildGoogleAnalyticsAdminV1alphaKeyEvent(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaKeyEvent.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaKeyEvent(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['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(buildGoogleAnalyticsAdminV1alphaKeyEvent()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaKeyEvent( + response as api.GoogleAnalyticsAdminV1alphaKeyEvent); + }); + }); + + unittest.group('resource-PropertiesRollupPropertySourceLinksResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .rollupPropertySourceLinks; + final arg_request = + buildGoogleAnalyticsAdminV1alphaRollupPropertySourceLink(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaRollupPropertySourceLink.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaRollupPropertySourceLink(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(buildGoogleAnalyticsAdminV1alphaRollupPropertySourceLink()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaRollupPropertySourceLink( + response as api.GoogleAnalyticsAdminV1alphaRollupPropertySourceLink); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .rollupPropertySourceLinks; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .rollupPropertySourceLinks; + 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 + 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(buildGoogleAnalyticsAdminV1alphaRollupPropertySourceLink()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaRollupPropertySourceLink( + response as api.GoogleAnalyticsAdminV1alphaRollupPropertySourceLink); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = api.GoogleAnalyticsAdminApi(mock) + .properties + .rollupPropertySourceLinks; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse( + response as api + .GoogleAnalyticsAdminV1alphaListRollupPropertySourceLinksResponse); + }); + }); + + unittest.group('resource-PropertiesSearchAds360LinksResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = + api.GoogleAnalyticsAdminApi(mock).properties.searchAds360Links; + final arg_request = buildGoogleAnalyticsAdminV1alphaSearchAds360Link(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaSearchAds360Link.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaSearchAds360Link(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(buildGoogleAnalyticsAdminV1alphaSearchAds360Link()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaSearchAds360Link( + response as api.GoogleAnalyticsAdminV1alphaSearchAds360Link); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = + api.GoogleAnalyticsAdminApi(mock).properties.searchAds360Links; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = + api.GoogleAnalyticsAdminApi(mock).properties.searchAds360Links; + 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 + 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(buildGoogleAnalyticsAdminV1alphaSearchAds360Link()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaSearchAds360Link( + response as api.GoogleAnalyticsAdminV1alphaSearchAds360Link); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = + api.GoogleAnalyticsAdminApi(mock).properties.searchAds360Links; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse(response + as api.GoogleAnalyticsAdminV1alphaListSearchAds360LinksResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = + api.GoogleAnalyticsAdminApi(mock).properties.searchAds360Links; + final arg_request = buildGoogleAnalyticsAdminV1alphaSearchAds360Link(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = api.GoogleAnalyticsAdminV1alphaSearchAds360Link.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaSearchAds360Link(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['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(buildGoogleAnalyticsAdminV1alphaSearchAds360Link()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaSearchAds360Link( + response as api.GoogleAnalyticsAdminV1alphaSearchAds360Link); + }); + }); + + unittest.group('resource-PropertiesSubpropertyEventFiltersResource', () { + unittest.test('method--create', () async { + final mock = HttpServerMock(); + final res = + api.GoogleAnalyticsAdminApi(mock).properties.subpropertyEventFilters; + final arg_request = + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilter(); + final arg_parent = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilter.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilter(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(buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilter()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = + await res.create(arg_request, arg_parent, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilter( + response as api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilter); + }); + + unittest.test('method--delete', () async { + final mock = HttpServerMock(); + final res = + api.GoogleAnalyticsAdminApi(mock).properties.subpropertyEventFilters; + 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 + 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.delete(arg_name, $fields: arg_$fields); + checkGoogleProtobufEmpty(response as api.GoogleProtobufEmpty); + }); + + unittest.test('method--get', () async { + final mock = HttpServerMock(); + final res = + api.GoogleAnalyticsAdminApi(mock).properties.subpropertyEventFilters; + 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 + 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(buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilter()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.get(arg_name, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilter( + response as api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilter); + }); + + unittest.test('method--list', () async { + final mock = HttpServerMock(); + final res = + api.GoogleAnalyticsAdminApi(mock).properties.subpropertyEventFilters; + 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 + 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( + 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( + buildGoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse()); + 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); + checkGoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse( + response as api + .GoogleAnalyticsAdminV1alphaListSubpropertyEventFiltersResponse); + }); + + unittest.test('method--patch', () async { + final mock = HttpServerMock(); + final res = + api.GoogleAnalyticsAdminApi(mock).properties.subpropertyEventFilters; + final arg_request = + buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilter(); + final arg_name = 'foo'; + final arg_updateMask = 'foo'; + final arg_$fields = 'foo'; + mock.register(unittest.expectAsync2((http.BaseRequest req, json) { + final obj = + api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilter.fromJson( + json as core.Map); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilter(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['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(buildGoogleAnalyticsAdminV1alphaSubpropertyEventFilter()); + return async.Future.value(stringResponse(200, h, resp)); + }), true); + final response = await res.patch(arg_request, arg_name, + updateMask: arg_updateMask, $fields: arg_$fields); + checkGoogleAnalyticsAdminV1alphaSubpropertyEventFilter( + response as api.GoogleAnalyticsAdminV1alphaSubpropertyEventFilter); + }); + }); +} diff --git a/generated/googleapis_beta/test/analyticsadmin/v1beta_test.dart b/generated/googleapis_beta/test/analyticsadmin/v1beta_test.dart index 43eb573c8..6bc272cb5 100644 --- a/generated/googleapis_beta/test/analyticsadmin/v1beta_test.dart +++ b/generated/googleapis_beta/test/analyticsadmin/v1beta_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/analyticsdata/v1beta_test.dart b/generated/googleapis_beta/test/analyticsdata/v1beta_test.dart index f1fb0cc25..6ff0b3f08 100644 --- a/generated/googleapis_beta/test/analyticsdata/v1beta_test.dart +++ b/generated/googleapis_beta/test/analyticsdata/v1beta_test.dart @@ -1,6 +1,7 @@ // 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 @@ -522,6 +523,67 @@ void checkCohortsRange(api.CohortsRange o) { buildCounterCohortsRange--; } +core.int buildCounterComparison = 0; +api.Comparison buildComparison() { + final o = api.Comparison(); + buildCounterComparison++; + if (buildCounterComparison < 3) { + o.comparison = 'foo'; + o.dimensionFilter = buildFilterExpression(); + o.name = 'foo'; + } + buildCounterComparison--; + return o; +} + +void checkComparison(api.Comparison o) { + buildCounterComparison++; + if (buildCounterComparison < 3) { + unittest.expect( + o.comparison!, + unittest.equals('foo'), + ); + checkFilterExpression(o.dimensionFilter!); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterComparison--; +} + +core.int buildCounterComparisonMetadata = 0; +api.ComparisonMetadata buildComparisonMetadata() { + final o = api.ComparisonMetadata(); + buildCounterComparisonMetadata++; + if (buildCounterComparisonMetadata < 3) { + o.apiName = 'foo'; + o.description = 'foo'; + o.uiName = 'foo'; + } + buildCounterComparisonMetadata--; + return o; +} + +void checkComparisonMetadata(api.ComparisonMetadata o) { + buildCounterComparisonMetadata++; + if (buildCounterComparisonMetadata < 3) { + unittest.expect( + o.apiName!, + unittest.equals('foo'), + ); + unittest.expect( + o.description!, + unittest.equals('foo'), + ); + unittest.expect( + o.uiName!, + unittest.equals('foo'), + ); + } + buildCounterComparisonMetadata--; +} + core.List buildUnnamed11() => [ 'foo', 'foo', @@ -953,23 +1015,34 @@ void checkListAudienceExportsResponse(api.ListAudienceExportsResponse o) { buildCounterListAudienceExportsResponse--; } -core.List buildUnnamed16() => [ +core.List buildUnnamed16() => [ + buildComparisonMetadata(), + buildComparisonMetadata(), + ]; + +void checkUnnamed16(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkComparisonMetadata(o[0]); + checkComparisonMetadata(o[1]); +} + +core.List buildUnnamed17() => [ buildDimensionMetadata(), buildDimensionMetadata(), ]; -void checkUnnamed16(core.List o) { +void checkUnnamed17(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionMetadata(o[0]); checkDimensionMetadata(o[1]); } -core.List buildUnnamed17() => [ +core.List buildUnnamed18() => [ buildMetricMetadata(), buildMetricMetadata(), ]; -void checkUnnamed17(core.List o) { +void checkUnnamed18(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricMetadata(o[0]); checkMetricMetadata(o[1]); @@ -980,8 +1053,9 @@ api.Metadata buildMetadata() { final o = api.Metadata(); buildCounterMetadata++; if (buildCounterMetadata < 3) { - o.dimensions = buildUnnamed16(); - o.metrics = buildUnnamed17(); + o.comparisons = buildUnnamed16(); + o.dimensions = buildUnnamed17(); + o.metrics = buildUnnamed18(); o.name = 'foo'; } buildCounterMetadata--; @@ -991,8 +1065,9 @@ api.Metadata buildMetadata() { void checkMetadata(api.Metadata o) { buildCounterMetadata++; if (buildCounterMetadata < 3) { - checkUnnamed16(o.dimensions!); - checkUnnamed17(o.metrics!); + checkUnnamed16(o.comparisons!); + checkUnnamed17(o.dimensions!); + checkUnnamed18(o.metrics!); unittest.expect( o.name!, unittest.equals('foo'), @@ -1081,12 +1156,12 @@ void checkMetricHeader(api.MetricHeader o) { buildCounterMetricHeader--; } -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], @@ -1098,12 +1173,12 @@ void checkUnnamed18(core.List o) { ); } -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], @@ -1121,10 +1196,10 @@ api.MetricMetadata buildMetricMetadata() { buildCounterMetricMetadata++; if (buildCounterMetricMetadata < 3) { o.apiName = 'foo'; - o.blockedReasons = buildUnnamed18(); + o.blockedReasons = buildUnnamed19(); o.category = 'foo'; o.customDefinition = true; - o.deprecatedApiNames = buildUnnamed19(); + o.deprecatedApiNames = buildUnnamed20(); o.description = 'foo'; o.expression = 'foo'; o.type = 'foo'; @@ -1141,13 +1216,13 @@ void checkMetricMetadata(api.MetricMetadata o) { o.apiName!, unittest.equals('foo'), ); - checkUnnamed18(o.blockedReasons!); + checkUnnamed19(o.blockedReasons!); unittest.expect( o.category!, unittest.equals('foo'), ); unittest.expect(o.customDefinition!, unittest.isTrue); - checkUnnamed19(o.deprecatedApiNames!); + checkUnnamed20(o.deprecatedApiNames!); unittest.expect( o.description!, unittest.equals('foo'), @@ -1295,7 +1370,7 @@ void checkNumericValue(api.NumericValue o) { buildCounterNumericValue--; } -core.Map buildUnnamed20() => { +core.Map buildUnnamed21() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1308,7 +1383,7 @@ core.Map buildUnnamed20() => { }, }; -void checkUnnamed20(core.Map o) { +void checkUnnamed21(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted1 = (o['x']!) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); @@ -1340,7 +1415,7 @@ void checkUnnamed20(core.Map o) { ); } -core.Map buildUnnamed21() => { +core.Map buildUnnamed22() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -1353,7 +1428,7 @@ core.Map buildUnnamed21() => { }, }; -void checkUnnamed21(core.Map o) { +void checkUnnamed22(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted3 = (o['x']!) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); @@ -1392,9 +1467,9 @@ api.Operation buildOperation() { if (buildCounterOperation < 3) { o.done = true; o.error = buildStatus(); - o.metadata = buildUnnamed20(); + o.metadata = buildUnnamed21(); o.name = 'foo'; - o.response = buildUnnamed21(); + o.response = buildUnnamed22(); } buildCounterOperation--; return o; @@ -1405,12 +1480,12 @@ void checkOperation(api.Operation o) { if (buildCounterOperation < 3) { unittest.expect(o.done!, unittest.isTrue); checkStatus(o.error!); - checkUnnamed20(o.metadata!); + checkUnnamed21(o.metadata!); unittest.expect( o.name!, unittest.equals('foo'), ); - checkUnnamed21(o.response!); + checkUnnamed22(o.response!); } buildCounterOperation--; } @@ -1440,12 +1515,12 @@ void checkOrderBy(api.OrderBy o) { buildCounterOrderBy--; } -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], @@ -1457,12 +1532,12 @@ void checkUnnamed22(core.List o) { ); } -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], @@ -1474,12 +1549,12 @@ void checkUnnamed23(core.List o) { ); } -core.List buildUnnamed24() => [ +core.List buildUnnamed25() => [ buildOrderBy(), buildOrderBy(), ]; -void checkUnnamed24(core.List o) { +void checkUnnamed25(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderBy(o[0]); checkOrderBy(o[1]); @@ -1490,11 +1565,11 @@ api.Pivot buildPivot() { final o = api.Pivot(); buildCounterPivot++; if (buildCounterPivot < 3) { - o.fieldNames = buildUnnamed22(); + o.fieldNames = buildUnnamed23(); o.limit = 'foo'; - o.metricAggregations = buildUnnamed23(); + o.metricAggregations = buildUnnamed24(); o.offset = 'foo'; - o.orderBys = buildUnnamed24(); + o.orderBys = buildUnnamed25(); } buildCounterPivot--; return o; @@ -1503,27 +1578,27 @@ api.Pivot buildPivot() { void checkPivot(api.Pivot o) { buildCounterPivot++; if (buildCounterPivot < 3) { - checkUnnamed22(o.fieldNames!); + checkUnnamed23(o.fieldNames!); unittest.expect( o.limit!, unittest.equals('foo'), ); - checkUnnamed23(o.metricAggregations!); + checkUnnamed24(o.metricAggregations!); unittest.expect( o.offset!, unittest.equals('foo'), ); - checkUnnamed24(o.orderBys!); + checkUnnamed25(o.orderBys!); } buildCounterPivot--; } -core.List buildUnnamed25() => [ +core.List buildUnnamed26() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed25(core.List o) { +void checkUnnamed26(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); @@ -1534,7 +1609,7 @@ api.PivotDimensionHeader buildPivotDimensionHeader() { final o = api.PivotDimensionHeader(); buildCounterPivotDimensionHeader++; if (buildCounterPivotDimensionHeader < 3) { - o.dimensionValues = buildUnnamed25(); + o.dimensionValues = buildUnnamed26(); } buildCounterPivotDimensionHeader--; return o; @@ -1543,17 +1618,17 @@ api.PivotDimensionHeader buildPivotDimensionHeader() { void checkPivotDimensionHeader(api.PivotDimensionHeader o) { buildCounterPivotDimensionHeader++; if (buildCounterPivotDimensionHeader < 3) { - checkUnnamed25(o.dimensionValues!); + checkUnnamed26(o.dimensionValues!); } buildCounterPivotDimensionHeader--; } -core.List buildUnnamed26() => [ +core.List buildUnnamed27() => [ buildPivotDimensionHeader(), buildPivotDimensionHeader(), ]; -void checkUnnamed26(core.List o) { +void checkUnnamed27(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPivotDimensionHeader(o[0]); checkPivotDimensionHeader(o[1]); @@ -1564,7 +1639,7 @@ api.PivotHeader buildPivotHeader() { final o = api.PivotHeader(); buildCounterPivotHeader++; if (buildCounterPivotHeader < 3) { - o.pivotDimensionHeaders = buildUnnamed26(); + o.pivotDimensionHeaders = buildUnnamed27(); o.rowCount = 42; } buildCounterPivotHeader--; @@ -1574,7 +1649,7 @@ api.PivotHeader buildPivotHeader() { void checkPivotHeader(api.PivotHeader o) { buildCounterPivotHeader++; if (buildCounterPivotHeader < 3) { - checkUnnamed26(o.pivotDimensionHeaders!); + checkUnnamed27(o.pivotDimensionHeaders!); unittest.expect( o.rowCount!, unittest.equals(42), @@ -1583,12 +1658,12 @@ void checkPivotHeader(api.PivotHeader o) { buildCounterPivotHeader--; } -core.List buildUnnamed27() => [ +core.List buildUnnamed28() => [ buildPivotSelection(), buildPivotSelection(), ]; -void checkUnnamed27(core.List o) { +void checkUnnamed28(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPivotSelection(o[0]); checkPivotSelection(o[1]); @@ -1600,7 +1675,7 @@ api.PivotOrderBy buildPivotOrderBy() { buildCounterPivotOrderBy++; if (buildCounterPivotOrderBy < 3) { o.metricName = 'foo'; - o.pivotSelections = buildUnnamed27(); + o.pivotSelections = buildUnnamed28(); } buildCounterPivotOrderBy--; return o; @@ -1613,7 +1688,7 @@ void checkPivotOrderBy(api.PivotOrderBy o) { o.metricName!, unittest.equals('foo'), ); - checkUnnamed27(o.pivotSelections!); + checkUnnamed28(o.pivotSelections!); } buildCounterPivotOrderBy--; } @@ -1701,12 +1776,12 @@ void checkQueryAudienceExportRequest(api.QueryAudienceExportRequest o) { buildCounterQueryAudienceExportRequest--; } -core.List buildUnnamed28() => [ +core.List buildUnnamed29() => [ buildV1betaAudienceRow(), buildV1betaAudienceRow(), ]; -void checkUnnamed28(core.List o) { +void checkUnnamed29(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkV1betaAudienceRow(o[0]); checkV1betaAudienceRow(o[1]); @@ -1718,7 +1793,7 @@ api.QueryAudienceExportResponse buildQueryAudienceExportResponse() { buildCounterQueryAudienceExportResponse++; if (buildCounterQueryAudienceExportResponse < 3) { o.audienceExport = buildAudienceExport(); - o.audienceRows = buildUnnamed28(); + o.audienceRows = buildUnnamed29(); o.rowCount = 42; } buildCounterQueryAudienceExportResponse--; @@ -1729,7 +1804,7 @@ void checkQueryAudienceExportResponse(api.QueryAudienceExportResponse o) { buildCounterQueryAudienceExportResponse++; if (buildCounterQueryAudienceExportResponse < 3) { checkAudienceExport(o.audienceExport!); - checkUnnamed28(o.audienceRows!); + checkUnnamed29(o.audienceRows!); unittest.expect( o.rowCount!, unittest.equals(42), @@ -1765,12 +1840,12 @@ void checkQuotaStatus(api.QuotaStatus o) { buildCounterQuotaStatus--; } -core.List buildUnnamed29() => [ +core.List buildUnnamed30() => [ buildSamplingMetadata(), buildSamplingMetadata(), ]; -void checkUnnamed29(core.List o) { +void checkUnnamed30(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSamplingMetadata(o[0]); checkSamplingMetadata(o[1]); @@ -1784,7 +1859,7 @@ api.ResponseMetaData buildResponseMetaData() { o.currencyCode = 'foo'; o.dataLossFromOtherRow = true; o.emptyReason = 'foo'; - o.samplingMetadatas = buildUnnamed29(); + o.samplingMetadatas = buildUnnamed30(); o.schemaRestrictionResponse = buildSchemaRestrictionResponse(); o.subjectToThresholding = true; o.timeZone = 'foo'; @@ -1805,7 +1880,7 @@ void checkResponseMetaData(api.ResponseMetaData o) { o.emptyReason!, unittest.equals('foo'), ); - checkUnnamed29(o.samplingMetadatas!); + checkUnnamed30(o.samplingMetadatas!); checkSchemaRestrictionResponse(o.schemaRestrictionResponse!); unittest.expect(o.subjectToThresholding!, unittest.isTrue); unittest.expect( @@ -1816,23 +1891,23 @@ void checkResponseMetaData(api.ResponseMetaData o) { buildCounterResponseMetaData--; } -core.List buildUnnamed30() => [ +core.List buildUnnamed31() => [ buildDimensionValue(), buildDimensionValue(), ]; -void checkUnnamed30(core.List o) { +void checkUnnamed31(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionValue(o[0]); checkDimensionValue(o[1]); } -core.List buildUnnamed31() => [ +core.List buildUnnamed32() => [ buildMetricValue(), buildMetricValue(), ]; -void checkUnnamed31(core.List o) { +void checkUnnamed32(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricValue(o[0]); checkMetricValue(o[1]); @@ -1843,8 +1918,8 @@ api.Row buildRow() { final o = api.Row(); buildCounterRow++; if (buildCounterRow < 3) { - o.dimensionValues = buildUnnamed30(); - o.metricValues = buildUnnamed31(); + o.dimensionValues = buildUnnamed31(); + o.metricValues = buildUnnamed32(); } buildCounterRow--; return o; @@ -1853,51 +1928,62 @@ api.Row buildRow() { void checkRow(api.Row o) { buildCounterRow++; if (buildCounterRow < 3) { - checkUnnamed30(o.dimensionValues!); - checkUnnamed31(o.metricValues!); + checkUnnamed31(o.dimensionValues!); + checkUnnamed32(o.metricValues!); } buildCounterRow--; } -core.List buildUnnamed32() => [ +core.List buildUnnamed33() => [ + buildComparison(), + buildComparison(), + ]; + +void checkUnnamed33(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkComparison(o[0]); + checkComparison(o[1]); +} + +core.List buildUnnamed34() => [ buildDateRange(), buildDateRange(), ]; -void checkUnnamed32(core.List o) { +void checkUnnamed34(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDateRange(o[0]); checkDateRange(o[1]); } -core.List buildUnnamed33() => [ +core.List buildUnnamed35() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed33(core.List o) { +void checkUnnamed35(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed34() => [ +core.List buildUnnamed36() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed34(core.List o) { +void checkUnnamed36(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed35() => [ +core.List buildUnnamed37() => [ buildPivot(), buildPivot(), ]; -void checkUnnamed35(core.List o) { +void checkUnnamed37(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPivot(o[0]); checkPivot(o[1]); @@ -1909,14 +1995,15 @@ api.RunPivotReportRequest buildRunPivotReportRequest() { buildCounterRunPivotReportRequest++; if (buildCounterRunPivotReportRequest < 3) { o.cohortSpec = buildCohortSpec(); + o.comparisons = buildUnnamed33(); o.currencyCode = 'foo'; - o.dateRanges = buildUnnamed32(); + o.dateRanges = buildUnnamed34(); o.dimensionFilter = buildFilterExpression(); - o.dimensions = buildUnnamed33(); + o.dimensions = buildUnnamed35(); o.keepEmptyRows = true; o.metricFilter = buildFilterExpression(); - o.metrics = buildUnnamed34(); - o.pivots = buildUnnamed35(); + o.metrics = buildUnnamed36(); + o.pivots = buildUnnamed37(); o.property = 'foo'; o.returnPropertyQuota = true; } @@ -1928,17 +2015,18 @@ void checkRunPivotReportRequest(api.RunPivotReportRequest o) { buildCounterRunPivotReportRequest++; if (buildCounterRunPivotReportRequest < 3) { checkCohortSpec(o.cohortSpec!); + checkUnnamed33(o.comparisons!); unittest.expect( o.currencyCode!, unittest.equals('foo'), ); - checkUnnamed32(o.dateRanges!); + checkUnnamed34(o.dateRanges!); checkFilterExpression(o.dimensionFilter!); - checkUnnamed33(o.dimensions!); + checkUnnamed35(o.dimensions!); unittest.expect(o.keepEmptyRows!, unittest.isTrue); checkFilterExpression(o.metricFilter!); - checkUnnamed34(o.metrics!); - checkUnnamed35(o.pivots!); + checkUnnamed36(o.metrics!); + checkUnnamed37(o.pivots!); unittest.expect( o.property!, unittest.equals('foo'), @@ -1948,56 +2036,56 @@ void checkRunPivotReportRequest(api.RunPivotReportRequest o) { buildCounterRunPivotReportRequest--; } -core.List buildUnnamed36() => [ +core.List buildUnnamed38() => [ buildRow(), buildRow(), ]; -void checkUnnamed36(core.List o) { +void checkUnnamed38(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); } -core.List buildUnnamed37() => [ +core.List buildUnnamed39() => [ buildDimensionHeader(), buildDimensionHeader(), ]; -void checkUnnamed37(core.List o) { +void checkUnnamed39(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionHeader(o[0]); checkDimensionHeader(o[1]); } -core.List buildUnnamed38() => [ +core.List buildUnnamed40() => [ buildMetricHeader(), buildMetricHeader(), ]; -void checkUnnamed38(core.List o) { +void checkUnnamed40(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricHeader(o[0]); checkMetricHeader(o[1]); } -core.List buildUnnamed39() => [ +core.List buildUnnamed41() => [ buildPivotHeader(), buildPivotHeader(), ]; -void checkUnnamed39(core.List o) { +void checkUnnamed41(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkPivotHeader(o[0]); checkPivotHeader(o[1]); } -core.List buildUnnamed40() => [ +core.List buildUnnamed42() => [ buildRow(), buildRow(), ]; -void checkUnnamed40(core.List o) { +void checkUnnamed42(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); @@ -2008,14 +2096,14 @@ api.RunPivotReportResponse buildRunPivotReportResponse() { final o = api.RunPivotReportResponse(); buildCounterRunPivotReportResponse++; if (buildCounterRunPivotReportResponse < 3) { - o.aggregates = buildUnnamed36(); - o.dimensionHeaders = buildUnnamed37(); + o.aggregates = buildUnnamed38(); + o.dimensionHeaders = buildUnnamed39(); o.kind = 'foo'; o.metadata = buildResponseMetaData(); - o.metricHeaders = buildUnnamed38(); - o.pivotHeaders = buildUnnamed39(); + o.metricHeaders = buildUnnamed40(); + o.pivotHeaders = buildUnnamed41(); o.propertyQuota = buildPropertyQuota(); - o.rows = buildUnnamed40(); + o.rows = buildUnnamed42(); } buildCounterRunPivotReportResponse--; return o; @@ -2024,38 +2112,38 @@ api.RunPivotReportResponse buildRunPivotReportResponse() { void checkRunPivotReportResponse(api.RunPivotReportResponse o) { buildCounterRunPivotReportResponse++; if (buildCounterRunPivotReportResponse < 3) { - checkUnnamed36(o.aggregates!); - checkUnnamed37(o.dimensionHeaders!); + checkUnnamed38(o.aggregates!); + checkUnnamed39(o.dimensionHeaders!); unittest.expect( o.kind!, unittest.equals('foo'), ); checkResponseMetaData(o.metadata!); - checkUnnamed38(o.metricHeaders!); - checkUnnamed39(o.pivotHeaders!); + checkUnnamed40(o.metricHeaders!); + checkUnnamed41(o.pivotHeaders!); checkPropertyQuota(o.propertyQuota!); - checkUnnamed40(o.rows!); + checkUnnamed42(o.rows!); } buildCounterRunPivotReportResponse--; } -core.List buildUnnamed41() => [ +core.List buildUnnamed43() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed41(core.List o) { +void checkUnnamed43(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(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], @@ -2067,34 +2155,34 @@ void checkUnnamed42(core.List o) { ); } -core.List buildUnnamed43() => [ +core.List buildUnnamed45() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed43(core.List o) { +void checkUnnamed45(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed44() => [ +core.List buildUnnamed46() => [ buildMinuteRange(), buildMinuteRange(), ]; -void checkUnnamed44(core.List o) { +void checkUnnamed46(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMinuteRange(o[0]); checkMinuteRange(o[1]); } -core.List buildUnnamed45() => [ +core.List buildUnnamed47() => [ buildOrderBy(), buildOrderBy(), ]; -void checkUnnamed45(core.List o) { +void checkUnnamed47(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderBy(o[0]); checkOrderBy(o[1]); @@ -2106,13 +2194,13 @@ api.RunRealtimeReportRequest buildRunRealtimeReportRequest() { buildCounterRunRealtimeReportRequest++; if (buildCounterRunRealtimeReportRequest < 3) { o.dimensionFilter = buildFilterExpression(); - o.dimensions = buildUnnamed41(); + o.dimensions = buildUnnamed43(); o.limit = 'foo'; - o.metricAggregations = buildUnnamed42(); + o.metricAggregations = buildUnnamed44(); o.metricFilter = buildFilterExpression(); - o.metrics = buildUnnamed43(); - o.minuteRanges = buildUnnamed44(); - o.orderBys = buildUnnamed45(); + o.metrics = buildUnnamed45(); + o.minuteRanges = buildUnnamed46(); + o.orderBys = buildUnnamed47(); o.returnPropertyQuota = true; } buildCounterRunRealtimeReportRequest--; @@ -2123,82 +2211,82 @@ void checkRunRealtimeReportRequest(api.RunRealtimeReportRequest o) { buildCounterRunRealtimeReportRequest++; if (buildCounterRunRealtimeReportRequest < 3) { checkFilterExpression(o.dimensionFilter!); - checkUnnamed41(o.dimensions!); + checkUnnamed43(o.dimensions!); unittest.expect( o.limit!, unittest.equals('foo'), ); - checkUnnamed42(o.metricAggregations!); + checkUnnamed44(o.metricAggregations!); checkFilterExpression(o.metricFilter!); - checkUnnamed43(o.metrics!); - checkUnnamed44(o.minuteRanges!); - checkUnnamed45(o.orderBys!); + checkUnnamed45(o.metrics!); + checkUnnamed46(o.minuteRanges!); + checkUnnamed47(o.orderBys!); unittest.expect(o.returnPropertyQuota!, unittest.isTrue); } buildCounterRunRealtimeReportRequest--; } -core.List buildUnnamed46() => [ +core.List buildUnnamed48() => [ buildDimensionHeader(), buildDimensionHeader(), ]; -void checkUnnamed46(core.List o) { +void checkUnnamed48(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionHeader(o[0]); checkDimensionHeader(o[1]); } -core.List buildUnnamed47() => [ +core.List buildUnnamed49() => [ buildRow(), buildRow(), ]; -void checkUnnamed47(core.List o) { +void checkUnnamed49(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); } -core.List buildUnnamed48() => [ +core.List buildUnnamed50() => [ buildMetricHeader(), buildMetricHeader(), ]; -void checkUnnamed48(core.List o) { +void checkUnnamed50(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricHeader(o[0]); checkMetricHeader(o[1]); } -core.List buildUnnamed49() => [ +core.List buildUnnamed51() => [ buildRow(), buildRow(), ]; -void checkUnnamed49(core.List o) { +void checkUnnamed51(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); } -core.List buildUnnamed50() => [ +core.List buildUnnamed52() => [ buildRow(), buildRow(), ]; -void checkUnnamed50(core.List o) { +void checkUnnamed52(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); } -core.List buildUnnamed51() => [ +core.List buildUnnamed53() => [ buildRow(), buildRow(), ]; -void checkUnnamed51(core.List o) { +void checkUnnamed53(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); @@ -2209,15 +2297,15 @@ api.RunRealtimeReportResponse buildRunRealtimeReportResponse() { final o = api.RunRealtimeReportResponse(); buildCounterRunRealtimeReportResponse++; if (buildCounterRunRealtimeReportResponse < 3) { - o.dimensionHeaders = buildUnnamed46(); + o.dimensionHeaders = buildUnnamed48(); o.kind = 'foo'; - o.maximums = buildUnnamed47(); - o.metricHeaders = buildUnnamed48(); - o.minimums = buildUnnamed49(); + o.maximums = buildUnnamed49(); + o.metricHeaders = buildUnnamed50(); + o.minimums = buildUnnamed51(); o.propertyQuota = buildPropertyQuota(); o.rowCount = 42; - o.rows = buildUnnamed50(); - o.totals = buildUnnamed51(); + o.rows = buildUnnamed52(); + o.totals = buildUnnamed53(); } buildCounterRunRealtimeReportResponse--; return o; @@ -2226,53 +2314,64 @@ api.RunRealtimeReportResponse buildRunRealtimeReportResponse() { void checkRunRealtimeReportResponse(api.RunRealtimeReportResponse o) { buildCounterRunRealtimeReportResponse++; if (buildCounterRunRealtimeReportResponse < 3) { - checkUnnamed46(o.dimensionHeaders!); + checkUnnamed48(o.dimensionHeaders!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed47(o.maximums!); - checkUnnamed48(o.metricHeaders!); - checkUnnamed49(o.minimums!); + checkUnnamed49(o.maximums!); + checkUnnamed50(o.metricHeaders!); + checkUnnamed51(o.minimums!); checkPropertyQuota(o.propertyQuota!); unittest.expect( o.rowCount!, unittest.equals(42), ); - checkUnnamed50(o.rows!); - checkUnnamed51(o.totals!); + checkUnnamed52(o.rows!); + checkUnnamed53(o.totals!); } buildCounterRunRealtimeReportResponse--; } -core.List buildUnnamed52() => [ +core.List buildUnnamed54() => [ + buildComparison(), + buildComparison(), + ]; + +void checkUnnamed54(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkComparison(o[0]); + checkComparison(o[1]); +} + +core.List buildUnnamed55() => [ buildDateRange(), buildDateRange(), ]; -void checkUnnamed52(core.List o) { +void checkUnnamed55(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDateRange(o[0]); checkDateRange(o[1]); } -core.List buildUnnamed53() => [ +core.List buildUnnamed56() => [ buildDimension(), buildDimension(), ]; -void checkUnnamed53(core.List o) { +void checkUnnamed56(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimension(o[0]); checkDimension(o[1]); } -core.List buildUnnamed54() => [ +core.List buildUnnamed57() => [ 'foo', 'foo', ]; -void checkUnnamed54(core.List o) { +void checkUnnamed57(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -2284,23 +2383,23 @@ void checkUnnamed54(core.List o) { ); } -core.List buildUnnamed55() => [ +core.List buildUnnamed58() => [ buildMetric(), buildMetric(), ]; -void checkUnnamed55(core.List o) { +void checkUnnamed58(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetric(o[0]); checkMetric(o[1]); } -core.List buildUnnamed56() => [ +core.List buildUnnamed59() => [ buildOrderBy(), buildOrderBy(), ]; -void checkUnnamed56(core.List o) { +void checkUnnamed59(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOrderBy(o[0]); checkOrderBy(o[1]); @@ -2312,17 +2411,18 @@ api.RunReportRequest buildRunReportRequest() { buildCounterRunReportRequest++; if (buildCounterRunReportRequest < 3) { o.cohortSpec = buildCohortSpec(); + o.comparisons = buildUnnamed54(); o.currencyCode = 'foo'; - o.dateRanges = buildUnnamed52(); + o.dateRanges = buildUnnamed55(); o.dimensionFilter = buildFilterExpression(); - o.dimensions = buildUnnamed53(); + o.dimensions = buildUnnamed56(); o.keepEmptyRows = true; o.limit = 'foo'; - o.metricAggregations = buildUnnamed54(); + o.metricAggregations = buildUnnamed57(); o.metricFilter = buildFilterExpression(); - o.metrics = buildUnnamed55(); + o.metrics = buildUnnamed58(); o.offset = 'foo'; - o.orderBys = buildUnnamed56(); + o.orderBys = buildUnnamed59(); o.property = 'foo'; o.returnPropertyQuota = true; } @@ -2334,26 +2434,27 @@ void checkRunReportRequest(api.RunReportRequest o) { buildCounterRunReportRequest++; if (buildCounterRunReportRequest < 3) { checkCohortSpec(o.cohortSpec!); + checkUnnamed54(o.comparisons!); unittest.expect( o.currencyCode!, unittest.equals('foo'), ); - checkUnnamed52(o.dateRanges!); + checkUnnamed55(o.dateRanges!); checkFilterExpression(o.dimensionFilter!); - checkUnnamed53(o.dimensions!); + checkUnnamed56(o.dimensions!); unittest.expect(o.keepEmptyRows!, unittest.isTrue); unittest.expect( o.limit!, unittest.equals('foo'), ); - checkUnnamed54(o.metricAggregations!); + checkUnnamed57(o.metricAggregations!); checkFilterExpression(o.metricFilter!); - checkUnnamed55(o.metrics!); + checkUnnamed58(o.metrics!); unittest.expect( o.offset!, unittest.equals('foo'), ); - checkUnnamed56(o.orderBys!); + checkUnnamed59(o.orderBys!); unittest.expect( o.property!, unittest.equals('foo'), @@ -2363,67 +2464,67 @@ void checkRunReportRequest(api.RunReportRequest o) { buildCounterRunReportRequest--; } -core.List buildUnnamed57() => [ +core.List buildUnnamed60() => [ buildDimensionHeader(), buildDimensionHeader(), ]; -void checkUnnamed57(core.List o) { +void checkUnnamed60(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDimensionHeader(o[0]); checkDimensionHeader(o[1]); } -core.List buildUnnamed58() => [ +core.List buildUnnamed61() => [ buildRow(), buildRow(), ]; -void checkUnnamed58(core.List o) { +void checkUnnamed61(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); } -core.List buildUnnamed59() => [ +core.List buildUnnamed62() => [ buildMetricHeader(), buildMetricHeader(), ]; -void checkUnnamed59(core.List o) { +void checkUnnamed62(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkMetricHeader(o[0]); checkMetricHeader(o[1]); } -core.List buildUnnamed60() => [ +core.List buildUnnamed63() => [ buildRow(), buildRow(), ]; -void checkUnnamed60(core.List o) { +void checkUnnamed63(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); } -core.List buildUnnamed61() => [ +core.List buildUnnamed64() => [ buildRow(), buildRow(), ]; -void checkUnnamed61(core.List o) { +void checkUnnamed64(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); } -core.List buildUnnamed62() => [ +core.List buildUnnamed65() => [ buildRow(), buildRow(), ]; -void checkUnnamed62(core.List o) { +void checkUnnamed65(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkRow(o[0]); checkRow(o[1]); @@ -2434,16 +2535,16 @@ api.RunReportResponse buildRunReportResponse() { final o = api.RunReportResponse(); buildCounterRunReportResponse++; if (buildCounterRunReportResponse < 3) { - o.dimensionHeaders = buildUnnamed57(); + o.dimensionHeaders = buildUnnamed60(); o.kind = 'foo'; - o.maximums = buildUnnamed58(); + o.maximums = buildUnnamed61(); o.metadata = buildResponseMetaData(); - o.metricHeaders = buildUnnamed59(); - o.minimums = buildUnnamed60(); + o.metricHeaders = buildUnnamed62(); + o.minimums = buildUnnamed63(); o.propertyQuota = buildPropertyQuota(); o.rowCount = 42; - o.rows = buildUnnamed61(); - o.totals = buildUnnamed62(); + o.rows = buildUnnamed64(); + o.totals = buildUnnamed65(); } buildCounterRunReportResponse--; return o; @@ -2452,22 +2553,22 @@ api.RunReportResponse buildRunReportResponse() { void checkRunReportResponse(api.RunReportResponse o) { buildCounterRunReportResponse++; if (buildCounterRunReportResponse < 3) { - checkUnnamed57(o.dimensionHeaders!); + checkUnnamed60(o.dimensionHeaders!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed58(o.maximums!); + checkUnnamed61(o.maximums!); checkResponseMetaData(o.metadata!); - checkUnnamed59(o.metricHeaders!); - checkUnnamed60(o.minimums!); + checkUnnamed62(o.metricHeaders!); + checkUnnamed63(o.minimums!); checkPropertyQuota(o.propertyQuota!); unittest.expect( o.rowCount!, unittest.equals(42), ); - checkUnnamed61(o.rows!); - checkUnnamed62(o.totals!); + checkUnnamed64(o.rows!); + checkUnnamed65(o.totals!); } buildCounterRunReportResponse--; } @@ -2499,12 +2600,12 @@ void checkSamplingMetadata(api.SamplingMetadata o) { buildCounterSamplingMetadata--; } -core.List buildUnnamed63() => [ +core.List buildUnnamed66() => [ buildActiveMetricRestriction(), buildActiveMetricRestriction(), ]; -void checkUnnamed63(core.List o) { +void checkUnnamed66(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkActiveMetricRestriction(o[0]); checkActiveMetricRestriction(o[1]); @@ -2515,7 +2616,7 @@ api.SchemaRestrictionResponse buildSchemaRestrictionResponse() { final o = api.SchemaRestrictionResponse(); buildCounterSchemaRestrictionResponse++; if (buildCounterSchemaRestrictionResponse < 3) { - o.activeMetricRestrictions = buildUnnamed63(); + o.activeMetricRestrictions = buildUnnamed66(); } buildCounterSchemaRestrictionResponse--; return o; @@ -2524,12 +2625,12 @@ api.SchemaRestrictionResponse buildSchemaRestrictionResponse() { void checkSchemaRestrictionResponse(api.SchemaRestrictionResponse o) { buildCounterSchemaRestrictionResponse++; if (buildCounterSchemaRestrictionResponse < 3) { - checkUnnamed63(o.activeMetricRestrictions!); + checkUnnamed66(o.activeMetricRestrictions!); } buildCounterSchemaRestrictionResponse--; } -core.Map buildUnnamed64() => { +core.Map buildUnnamed67() => { 'x': { 'list': [1, 2, 3], 'bool': true, @@ -2542,7 +2643,7 @@ core.Map buildUnnamed64() => { }, }; -void checkUnnamed64(core.Map o) { +void checkUnnamed67(core.Map o) { unittest.expect(o, unittest.hasLength(2)); var casted5 = (o['x']!) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); @@ -2574,15 +2675,15 @@ void checkUnnamed64(core.Map o) { ); } -core.List> buildUnnamed65() => [ - buildUnnamed64(), - buildUnnamed64(), +core.List> buildUnnamed68() => [ + buildUnnamed67(), + buildUnnamed67(), ]; -void checkUnnamed65(core.List> o) { +void checkUnnamed68(core.List> o) { unittest.expect(o, unittest.hasLength(2)); - checkUnnamed64(o[0]); - checkUnnamed64(o[1]); + checkUnnamed67(o[0]); + checkUnnamed67(o[1]); } core.int buildCounterStatus = 0; @@ -2591,7 +2692,7 @@ api.Status buildStatus() { buildCounterStatus++; if (buildCounterStatus < 3) { o.code = 42; - o.details = buildUnnamed65(); + o.details = buildUnnamed68(); o.message = 'foo'; } buildCounterStatus--; @@ -2605,7 +2706,7 @@ void checkStatus(api.Status o) { o.code!, unittest.equals(42), ); - checkUnnamed65(o.details!); + checkUnnamed68(o.details!); unittest.expect( o.message!, unittest.equals('foo'), @@ -2687,12 +2788,12 @@ void checkV1betaAudienceDimensionValue(api.V1betaAudienceDimensionValue o) { buildCounterV1betaAudienceDimensionValue--; } -core.List buildUnnamed66() => [ +core.List buildUnnamed69() => [ buildV1betaAudienceDimensionValue(), buildV1betaAudienceDimensionValue(), ]; -void checkUnnamed66(core.List o) { +void checkUnnamed69(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkV1betaAudienceDimensionValue(o[0]); checkV1betaAudienceDimensionValue(o[1]); @@ -2703,7 +2804,7 @@ api.V1betaAudienceRow buildV1betaAudienceRow() { final o = api.V1betaAudienceRow(); buildCounterV1betaAudienceRow++; if (buildCounterV1betaAudienceRow < 3) { - o.dimensionValues = buildUnnamed66(); + o.dimensionValues = buildUnnamed69(); } buildCounterV1betaAudienceRow--; return o; @@ -2712,7 +2813,7 @@ api.V1betaAudienceRow buildV1betaAudienceRow() { void checkV1betaAudienceRow(api.V1betaAudienceRow o) { buildCounterV1betaAudienceRow++; if (buildCounterV1betaAudienceRow < 3) { - checkUnnamed66(o.dimensionValues!); + checkUnnamed69(o.dimensionValues!); } buildCounterV1betaAudienceRow--; } @@ -2858,6 +2959,26 @@ void main() { }); }); + unittest.group('obj-schema-Comparison', () { + unittest.test('to-json--from-json', () async { + final o = buildComparison(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.Comparison.fromJson(oJson as core.Map); + checkComparison(od); + }); + }); + + unittest.group('obj-schema-ComparisonMetadata', () { + unittest.test('to-json--from-json', () async { + final o = buildComparisonMetadata(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.ComparisonMetadata.fromJson( + oJson as core.Map); + checkComparisonMetadata(od); + }); + }); + unittest.group('obj-schema-ConcatenateExpression', () { unittest.test('to-json--from-json', () async { final o = buildConcatenateExpression(); diff --git a/generated/googleapis_beta/test/area120tables/v1alpha1_test.dart b/generated/googleapis_beta/test/area120tables/v1alpha1_test.dart index 14518e89d..53f7b7ebf 100644 --- a/generated/googleapis_beta/test/area120tables/v1alpha1_test.dart +++ b/generated/googleapis_beta/test/area120tables/v1alpha1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/bigqueryconnection/v1beta1_test.dart b/generated/googleapis_beta/test/bigqueryconnection/v1beta1_test.dart index ffad94eb9..713c817d7 100644 --- a/generated/googleapis_beta/test/bigqueryconnection/v1beta1_test.dart +++ b/generated/googleapis_beta/test/bigqueryconnection/v1beta1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/clouderrorreporting/v1beta1_test.dart b/generated/googleapis_beta/test/clouderrorreporting/v1beta1_test.dart index f1a6420ee..ee1a25299 100644 --- a/generated/googleapis_beta/test/clouderrorreporting/v1beta1_test.dart +++ b/generated/googleapis_beta/test/clouderrorreporting/v1beta1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/cloudsupport/v2beta_test.dart b/generated/googleapis_beta/test/cloudsupport/v2beta_test.dart index 9d4fe212d..ba225325a 100644 --- a/generated/googleapis_beta/test/cloudsupport/v2beta_test.dart +++ b/generated/googleapis_beta/test/cloudsupport/v2beta_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/dataflow/v1b3_test.dart b/generated/googleapis_beta/test/dataflow/v1b3_test.dart index 56afc7402..c931e2497 100644 --- a/generated/googleapis_beta/test/dataflow/v1b3_test.dart +++ b/generated/googleapis_beta/test/dataflow/v1b3_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/datalabeling/v1beta1_test.dart b/generated/googleapis_beta/test/datalabeling/v1beta1_test.dart index 57a930064..21fa25cec 100644 --- a/generated/googleapis_beta/test/datalabeling/v1beta1_test.dart +++ b/generated/googleapis_beta/test/datalabeling/v1beta1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/datastream/v1alpha1_test.dart b/generated/googleapis_beta/test/datastream/v1alpha1_test.dart index bc3a45368..8c77f9881 100644 --- a/generated/googleapis_beta/test/datastream/v1alpha1_test.dart +++ b/generated/googleapis_beta/test/datastream/v1alpha1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/factchecktools/v1alpha1_test.dart b/generated/googleapis_beta/test/factchecktools/v1alpha1_test.dart index 8bfdca500..1341d77c3 100644 --- a/generated/googleapis_beta/test/factchecktools/v1alpha1_test.dart +++ b/generated/googleapis_beta/test/factchecktools/v1alpha1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/fcmdata/v1beta1_test.dart b/generated/googleapis_beta/test/fcmdata/v1beta1_test.dart index f01003f62..e850c2354 100644 --- a/generated/googleapis_beta/test/fcmdata/v1beta1_test.dart +++ b/generated/googleapis_beta/test/fcmdata/v1beta1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -63,12 +64,15 @@ api.GoogleFirebaseFcmDataV1beta1Data buildGoogleFirebaseFcmDataV1beta1Data() { buildCounterGoogleFirebaseFcmDataV1beta1Data++; if (buildCounterGoogleFirebaseFcmDataV1beta1Data < 3) { o.countMessagesAccepted = 'foo'; + o.countNotificationsAccepted = 'foo'; o.deliveryPerformancePercents = buildGoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents(); o.messageInsightPercents = buildGoogleFirebaseFcmDataV1beta1MessageInsightPercents(); o.messageOutcomePercents = buildGoogleFirebaseFcmDataV1beta1MessageOutcomePercents(); + o.proxyNotificationInsightPercents = + buildGoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents(); } buildCounterGoogleFirebaseFcmDataV1beta1Data--; return o; @@ -82,12 +86,18 @@ void checkGoogleFirebaseFcmDataV1beta1Data( o.countMessagesAccepted!, unittest.equals('foo'), ); + unittest.expect( + o.countNotificationsAccepted!, + unittest.equals('foo'), + ); checkGoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents( o.deliveryPerformancePercents!); checkGoogleFirebaseFcmDataV1beta1MessageInsightPercents( o.messageInsightPercents!); checkGoogleFirebaseFcmDataV1beta1MessageOutcomePercents( o.messageOutcomePercents!); + checkGoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents( + o.proxyNotificationInsightPercents!); } buildCounterGoogleFirebaseFcmDataV1beta1Data--; } @@ -247,6 +257,59 @@ void checkGoogleFirebaseFcmDataV1beta1MessageOutcomePercents( buildCounterGoogleFirebaseFcmDataV1beta1MessageOutcomePercents--; } +core.int + buildCounterGoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents = + 0; +api.GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents + buildGoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents() { + final o = api.GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents(); + buildCounterGoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents++; + if (buildCounterGoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents < + 3) { + o.failed = 42.0; + o.proxied = 42.0; + o.skippedNotThrottled = 42.0; + o.skippedOptedOut = 42.0; + o.skippedUnconfigured = 42.0; + o.skippedUnsupported = 42.0; + } + buildCounterGoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents--; + return o; +} + +void checkGoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents( + api.GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents o) { + buildCounterGoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents++; + if (buildCounterGoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents < + 3) { + unittest.expect( + o.failed!, + unittest.equals(42.0), + ); + unittest.expect( + o.proxied!, + unittest.equals(42.0), + ); + unittest.expect( + o.skippedNotThrottled!, + unittest.equals(42.0), + ); + unittest.expect( + o.skippedOptedOut!, + unittest.equals(42.0), + ); + unittest.expect( + o.skippedUnconfigured!, + unittest.equals(42.0), + ); + unittest.expect( + o.skippedUnsupported!, + unittest.equals(42.0), + ); + } + buildCounterGoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents--; +} + core.int buildCounterGoogleTypeDate = 0; api.GoogleTypeDate buildGoogleTypeDate() { final o = api.GoogleTypeDate(); @@ -350,6 +413,20 @@ void main() { }); }); + unittest.group( + 'obj-schema-GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents', + () { + unittest.test('to-json--from-json', () async { + final o = + buildGoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = + api.GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents + .fromJson(oJson as core.Map); + checkGoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents(od); + }); + }); + unittest.group('obj-schema-GoogleTypeDate', () { unittest.test('to-json--from-json', () async { final o = buildGoogleTypeDate(); diff --git a/generated/googleapis_beta/test/firebase/v1beta1_test.dart b/generated/googleapis_beta/test/firebase/v1beta1_test.dart index 2345307d9..152e52046 100644 --- a/generated/googleapis_beta/test/firebase/v1beta1_test.dart +++ b/generated/googleapis_beta/test/firebase/v1beta1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/firebaseappcheck/v1beta_test.dart b/generated/googleapis_beta/test/firebaseappcheck/v1beta_test.dart index 2717100c4..7c31a5518 100644 --- a/generated/googleapis_beta/test/firebaseappcheck/v1beta_test.dart +++ b/generated/googleapis_beta/test/firebaseappcheck/v1beta_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/firebasedatabase/v1beta_test.dart b/generated/googleapis_beta/test/firebasedatabase/v1beta_test.dart index 364bfc8af..0778cbe10 100644 --- a/generated/googleapis_beta/test/firebasedatabase/v1beta_test.dart +++ b/generated/googleapis_beta/test/firebasedatabase/v1beta_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/firebasestorage/v1beta_test.dart b/generated/googleapis_beta/test/firebasestorage/v1beta_test.dart index b34ab2456..f7cd525a1 100644 --- a/generated/googleapis_beta/test/firebasestorage/v1beta_test.dart +++ b/generated/googleapis_beta/test/firebasestorage/v1beta_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/gkehub/v2alpha_test.dart b/generated/googleapis_beta/test/gkehub/v2alpha_test.dart index d58cea242..67d1cbb34 100644 --- a/generated/googleapis_beta/test/gkehub/v2alpha_test.dart +++ b/generated/googleapis_beta/test/gkehub/v2alpha_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/lifesciences/v2beta_test.dart b/generated/googleapis_beta/test/lifesciences/v2beta_test.dart index 72d717f7d..bf5d61d70 100644 --- a/generated/googleapis_beta/test/lifesciences/v2beta_test.dart +++ b/generated/googleapis_beta/test/lifesciences/v2beta_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/prod_tt_sasportal/v1alpha1_test.dart b/generated/googleapis_beta/test/prod_tt_sasportal/v1alpha1_test.dart index d27ff6dfd..74220caaf 100644 --- a/generated/googleapis_beta/test/prod_tt_sasportal/v1alpha1_test.dart +++ b/generated/googleapis_beta/test/prod_tt_sasportal/v1alpha1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -726,7 +727,7 @@ api.SasPortalInstallationParams buildSasPortalInstallationParams() { o.antennaAzimuth = 42; o.antennaBeamwidth = 42; o.antennaDowntilt = 42; - o.antennaGain = 42; + o.antennaGain = 42.0; o.antennaModel = 'foo'; o.cpeCbsdIndication = true; o.eirpCapability = 42; @@ -759,7 +760,7 @@ void checkSasPortalInstallationParams(api.SasPortalInstallationParams o) { ); unittest.expect( o.antennaGain!, - unittest.equals(42), + unittest.equals(42.0), ); unittest.expect( o.antennaModel!, diff --git a/generated/googleapis_beta/test/recommendationengine/v1beta1_test.dart b/generated/googleapis_beta/test/recommendationengine/v1beta1_test.dart index 39ee2a1ea..c2608b648 100644 --- a/generated/googleapis_beta/test/recommendationengine/v1beta1_test.dart +++ b/generated/googleapis_beta/test/recommendationengine/v1beta1_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/generated/googleapis_beta/test/sasportal/v1alpha1_test.dart b/generated/googleapis_beta/test/sasportal/v1alpha1_test.dart index 075ae57c9..316dd8c38 100644 --- a/generated/googleapis_beta/test/sasportal/v1alpha1_test.dart +++ b/generated/googleapis_beta/test/sasportal/v1alpha1_test.dart @@ -1,6 +1,7 @@ // 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 @@ -726,7 +727,7 @@ api.SasPortalInstallationParams buildSasPortalInstallationParams() { o.antennaAzimuth = 42; o.antennaBeamwidth = 42; o.antennaDowntilt = 42; - o.antennaGain = 42; + o.antennaGain = 42.0; o.antennaModel = 'foo'; o.cpeCbsdIndication = true; o.eirpCapability = 42; @@ -759,7 +760,7 @@ void checkSasPortalInstallationParams(api.SasPortalInstallationParams o) { ); unittest.expect( o.antennaGain!, - unittest.equals(42), + unittest.equals(42.0), ); unittest.expect( o.antennaModel!, diff --git a/generated/googleapis_beta/test/sqladmin/v1beta4_test.dart b/generated/googleapis_beta/test/sqladmin/v1beta4_test.dart index 771b38b5b..7fd24db97 100644 --- a/generated/googleapis_beta/test/sqladmin/v1beta4_test.dart +++ b/generated/googleapis_beta/test/sqladmin/v1beta4_test.dart @@ -1,6 +1,7 @@ // 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 @@ -152,6 +153,38 @@ void checkApiWarning(api.ApiWarning o) { buildCounterApiWarning--; } +core.int buildCounterAvailableDatabaseVersion = 0; +api.AvailableDatabaseVersion buildAvailableDatabaseVersion() { + final o = api.AvailableDatabaseVersion(); + buildCounterAvailableDatabaseVersion++; + if (buildCounterAvailableDatabaseVersion < 3) { + o.displayName = 'foo'; + o.majorVersion = 'foo'; + o.name = 'foo'; + } + buildCounterAvailableDatabaseVersion--; + return o; +} + +void checkAvailableDatabaseVersion(api.AvailableDatabaseVersion o) { + buildCounterAvailableDatabaseVersion++; + if (buildCounterAvailableDatabaseVersion < 3) { + unittest.expect( + o.displayName!, + unittest.equals('foo'), + ); + unittest.expect( + o.majorVersion!, + unittest.equals('foo'), + ); + unittest.expect( + o.name!, + unittest.equals('foo'), + ); + } + buildCounterAvailableDatabaseVersion--; +} + core.int buildCounterBackupConfiguration = 0; api.BackupConfiguration buildBackupConfiguration() { final o = api.BackupConfiguration(); @@ -479,6 +512,7 @@ api.CloneContext buildCloneContext() { o.kind = 'foo'; o.pitrTimestampMs = 'foo'; o.pointInTime = 'foo'; + o.preferredSecondaryZone = 'foo'; o.preferredZone = 'foo'; } buildCounterCloneContext--; @@ -510,6 +544,10 @@ void checkCloneContext(api.CloneContext o) { o.pointInTime!, unittest.equals('foo'), ); + unittest.expect( + o.preferredSecondaryZone!, + unittest.equals('foo'), + ); unittest.expect( o.preferredZone!, unittest.equals('foo'), @@ -769,6 +807,17 @@ void checkUnnamed6(core.List o) { ); } +core.List buildUnnamed7() => [ + buildAvailableDatabaseVersion(), + buildAvailableDatabaseVersion(), + ]; + +void checkUnnamed7(core.List o) { + unittest.expect(o, unittest.hasLength(2)); + checkAvailableDatabaseVersion(o[0]); + checkAvailableDatabaseVersion(o[1]); +} + core.int buildCounterDatabaseInstance = 0; api.DatabaseInstance buildDatabaseInstance() { final o = api.DatabaseInstance(); @@ -816,6 +865,7 @@ api.DatabaseInstance buildDatabaseInstance() { o.sqlNetworkArchitecture = 'foo'; o.state = 'foo'; o.suspensionReason = buildUnnamed6(); + o.upgradableDatabaseVersions = buildUnnamed7(); o.writeEndpoint = 'foo'; } buildCounterDatabaseInstance--; @@ -945,6 +995,7 @@ void checkDatabaseInstance(api.DatabaseInstance o) { unittest.equals('foo'), ); checkUnnamed6(o.suspensionReason!); + checkUnnamed7(o.upgradableDatabaseVersions!); unittest.expect( o.writeEndpoint!, unittest.equals('foo'), @@ -953,12 +1004,12 @@ void checkDatabaseInstance(api.DatabaseInstance o) { buildCounterDatabaseInstance--; } -core.List buildUnnamed7() => [ +core.List buildUnnamed8() => [ buildDatabase(), buildDatabase(), ]; -void checkUnnamed7(core.List o) { +void checkUnnamed8(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatabase(o[0]); checkDatabase(o[1]); @@ -969,7 +1020,7 @@ api.DatabasesListResponse buildDatabasesListResponse() { final o = api.DatabasesListResponse(); buildCounterDatabasesListResponse++; if (buildCounterDatabasesListResponse < 3) { - o.items = buildUnnamed7(); + o.items = buildUnnamed8(); o.kind = 'foo'; } buildCounterDatabasesListResponse--; @@ -979,7 +1030,7 @@ api.DatabasesListResponse buildDatabasesListResponse() { void checkDatabasesListResponse(api.DatabasesListResponse o) { buildCounterDatabasesListResponse++; if (buildCounterDatabasesListResponse < 3) { - checkUnnamed7(o.items!); + checkUnnamed8(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1297,12 +1348,12 @@ void checkExportContextCsvExportOptions(api.ExportContextCsvExportOptions o) { buildCounterExportContextCsvExportOptions--; } -core.List buildUnnamed8() => [ +core.List buildUnnamed9() => [ 'foo', 'foo', ]; -void checkUnnamed8(core.List o) { +void checkUnnamed9(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1338,12 +1389,12 @@ void checkExportContextSqlExportOptionsMysqlExportOptions( buildCounterExportContextSqlExportOptionsMysqlExportOptions--; } -core.List buildUnnamed9() => [ +core.List buildUnnamed10() => [ 'foo', 'foo', ]; -void checkUnnamed9(core.List o) { +void checkUnnamed10(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1364,7 +1415,7 @@ api.ExportContextSqlExportOptions buildExportContextSqlExportOptions() { buildExportContextSqlExportOptionsMysqlExportOptions(); o.parallel = true; o.schemaOnly = true; - o.tables = buildUnnamed9(); + o.tables = buildUnnamed10(); o.threads = 42; } buildCounterExportContextSqlExportOptions--; @@ -1377,7 +1428,7 @@ void checkExportContextSqlExportOptions(api.ExportContextSqlExportOptions o) { checkExportContextSqlExportOptionsMysqlExportOptions(o.mysqlExportOptions!); unittest.expect(o.parallel!, unittest.isTrue); unittest.expect(o.schemaOnly!, unittest.isTrue); - checkUnnamed9(o.tables!); + checkUnnamed10(o.tables!); unittest.expect( o.threads!, unittest.equals(42), @@ -1393,7 +1444,7 @@ api.ExportContext buildExportContext() { if (buildCounterExportContext < 3) { o.bakExportOptions = buildExportContextBakExportOptions(); o.csvExportOptions = buildExportContextCsvExportOptions(); - o.databases = buildUnnamed8(); + o.databases = buildUnnamed9(); o.fileType = 'foo'; o.kind = 'foo'; o.offload = true; @@ -1409,7 +1460,7 @@ void checkExportContext(api.ExportContext o) { if (buildCounterExportContext < 3) { checkExportContextBakExportOptions(o.bakExportOptions!); checkExportContextCsvExportOptions(o.csvExportOptions!); - checkUnnamed8(o.databases!); + checkUnnamed9(o.databases!); unittest.expect( o.fileType!, unittest.equals('foo'), @@ -1455,12 +1506,12 @@ void checkFailoverContext(api.FailoverContext o) { buildCounterFailoverContext--; } -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], @@ -1472,12 +1523,12 @@ void checkUnnamed10(core.List o) { ); } -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], @@ -1489,12 +1540,12 @@ void checkUnnamed11(core.List 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], @@ -1511,9 +1562,9 @@ api.Flag buildFlag() { final o = api.Flag(); buildCounterFlag++; if (buildCounterFlag < 3) { - o.allowedIntValues = buildUnnamed10(); - o.allowedStringValues = buildUnnamed11(); - o.appliesTo = buildUnnamed12(); + o.allowedIntValues = buildUnnamed11(); + o.allowedStringValues = buildUnnamed12(); + o.appliesTo = buildUnnamed13(); o.inBeta = true; o.kind = 'foo'; o.maxValue = 'foo'; @@ -1529,9 +1580,9 @@ api.Flag buildFlag() { void checkFlag(api.Flag o) { buildCounterFlag++; if (buildCounterFlag < 3) { - checkUnnamed10(o.allowedIntValues!); - checkUnnamed11(o.allowedStringValues!); - checkUnnamed12(o.appliesTo!); + checkUnnamed11(o.allowedIntValues!); + checkUnnamed12(o.allowedStringValues!); + checkUnnamed13(o.appliesTo!); unittest.expect(o.inBeta!, unittest.isTrue); unittest.expect( o.kind!, @@ -1558,12 +1609,12 @@ void checkFlag(api.Flag o) { buildCounterFlag--; } -core.List buildUnnamed13() => [ +core.List buildUnnamed14() => [ buildFlag(), buildFlag(), ]; -void checkUnnamed13(core.List o) { +void checkUnnamed14(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkFlag(o[0]); checkFlag(o[1]); @@ -1574,7 +1625,7 @@ api.FlagsListResponse buildFlagsListResponse() { final o = api.FlagsListResponse(); buildCounterFlagsListResponse++; if (buildCounterFlagsListResponse < 3) { - o.items = buildUnnamed13(); + o.items = buildUnnamed14(); o.kind = 'foo'; } buildCounterFlagsListResponse--; @@ -1584,7 +1635,7 @@ api.FlagsListResponse buildFlagsListResponse() { void checkFlagsListResponse(api.FlagsListResponse o) { buildCounterFlagsListResponse++; if (buildCounterFlagsListResponse < 3) { - checkUnnamed13(o.items!); + checkUnnamed14(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -1752,12 +1803,12 @@ void checkImportContextBakImportOptions(api.ImportContextBakImportOptions o) { buildCounterImportContextBakImportOptions--; } -core.List buildUnnamed14() => [ +core.List buildUnnamed15() => [ 'foo', 'foo', ]; -void checkUnnamed14(core.List o) { +void checkUnnamed15(core.List o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o[0], @@ -1774,7 +1825,7 @@ api.ImportContextCsvImportOptions buildImportContextCsvImportOptions() { final o = api.ImportContextCsvImportOptions(); buildCounterImportContextCsvImportOptions++; if (buildCounterImportContextCsvImportOptions < 3) { - o.columns = buildUnnamed14(); + o.columns = buildUnnamed15(); o.escapeCharacter = 'foo'; o.fieldsTerminatedBy = 'foo'; o.linesTerminatedBy = 'foo'; @@ -1788,7 +1839,7 @@ api.ImportContextCsvImportOptions buildImportContextCsvImportOptions() { void checkImportContextCsvImportOptions(api.ImportContextCsvImportOptions o) { buildCounterImportContextCsvImportOptions++; if (buildCounterImportContextCsvImportOptions < 3) { - checkUnnamed14(o.columns!); + checkUnnamed15(o.columns!); unittest.expect( o.escapeCharacter!, unittest.equals('foo'), @@ -2084,23 +2135,23 @@ void checkInstancesImportRequest(api.InstancesImportRequest o) { buildCounterInstancesImportRequest--; } -core.List buildUnnamed15() => [ +core.List buildUnnamed16() => [ buildDatabaseInstance(), buildDatabaseInstance(), ]; -void checkUnnamed15(core.List o) { +void checkUnnamed16(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatabaseInstance(o[0]); checkDatabaseInstance(o[1]); } -core.List buildUnnamed16() => [ +core.List buildUnnamed17() => [ buildApiWarning(), buildApiWarning(), ]; -void checkUnnamed16(core.List o) { +void checkUnnamed17(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkApiWarning(o[0]); checkApiWarning(o[1]); @@ -2111,10 +2162,10 @@ api.InstancesListResponse buildInstancesListResponse() { final o = api.InstancesListResponse(); buildCounterInstancesListResponse++; if (buildCounterInstancesListResponse < 3) { - o.items = buildUnnamed15(); + o.items = buildUnnamed16(); o.kind = 'foo'; o.nextPageToken = 'foo'; - o.warnings = buildUnnamed16(); + o.warnings = buildUnnamed17(); } buildCounterInstancesListResponse--; return o; @@ -2123,7 +2174,7 @@ api.InstancesListResponse buildInstancesListResponse() { void checkInstancesListResponse(api.InstancesListResponse o) { buildCounterInstancesListResponse++; if (buildCounterInstancesListResponse < 3) { - checkUnnamed15(o.items!); + checkUnnamed16(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2132,17 +2183,17 @@ void checkInstancesListResponse(api.InstancesListResponse o) { o.nextPageToken!, unittest.equals('foo'), ); - checkUnnamed16(o.warnings!); + checkUnnamed17(o.warnings!); } buildCounterInstancesListResponse--; } -core.List buildUnnamed17() => [ +core.List buildUnnamed18() => [ buildSslCert(), buildSslCert(), ]; -void checkUnnamed17(core.List o) { +void checkUnnamed18(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSslCert(o[0]); checkSslCert(o[1]); @@ -2154,7 +2205,7 @@ api.InstancesListServerCasResponse buildInstancesListServerCasResponse() { buildCounterInstancesListServerCasResponse++; if (buildCounterInstancesListServerCasResponse < 3) { o.activeVersion = 'foo'; - o.certs = buildUnnamed17(); + o.certs = buildUnnamed18(); o.kind = 'foo'; } buildCounterInstancesListServerCasResponse--; @@ -2168,7 +2219,7 @@ void checkInstancesListServerCasResponse(api.InstancesListServerCasResponse o) { o.activeVersion!, unittest.equals('foo'), ); - checkUnnamed17(o.certs!); + checkUnnamed18(o.certs!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2253,12 +2304,12 @@ void checkInstancesTruncateLogRequest(api.InstancesTruncateLogRequest o) { buildCounterInstancesTruncateLogRequest--; } -core.List buildUnnamed18() => [ +core.List buildUnnamed19() => [ buildAclEntry(), buildAclEntry(), ]; -void checkUnnamed18(core.List o) { +void checkUnnamed19(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkAclEntry(o[0]); checkAclEntry(o[1]); @@ -2270,7 +2321,7 @@ api.IpConfiguration buildIpConfiguration() { buildCounterIpConfiguration++; if (buildCounterIpConfiguration < 3) { o.allocatedIpRange = 'foo'; - o.authorizedNetworks = buildUnnamed18(); + o.authorizedNetworks = buildUnnamed19(); o.enablePrivatePathForGoogleCloudServices = true; o.ipv4Enabled = true; o.privateNetwork = 'foo'; @@ -2289,7 +2340,7 @@ void checkIpConfiguration(api.IpConfiguration o) { o.allocatedIpRange!, unittest.equals('foo'), ); - checkUnnamed18(o.authorizedNetworks!); + checkUnnamed19(o.authorizedNetworks!); unittest.expect( o.enablePrivatePathForGoogleCloudServices!, unittest.isTrue); unittest.expect(o.ipv4Enabled!, unittest.isTrue); @@ -2482,12 +2533,12 @@ void checkMySqlReplicaConfiguration(api.MySqlReplicaConfiguration o) { buildCounterMySqlReplicaConfiguration--; } -core.List buildUnnamed19() => [ +core.List buildUnnamed20() => [ buildSyncFlags(), buildSyncFlags(), ]; -void checkUnnamed19(core.List o) { +void checkUnnamed20(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSyncFlags(o[0]); checkSyncFlags(o[1]); @@ -2498,7 +2549,7 @@ api.MySqlSyncConfig buildMySqlSyncConfig() { final o = api.MySqlSyncConfig(); buildCounterMySqlSyncConfig++; if (buildCounterMySqlSyncConfig < 3) { - o.initialSyncFlags = buildUnnamed19(); + o.initialSyncFlags = buildUnnamed20(); } buildCounterMySqlSyncConfig--; return o; @@ -2507,7 +2558,7 @@ api.MySqlSyncConfig buildMySqlSyncConfig() { void checkMySqlSyncConfig(api.MySqlSyncConfig o) { buildCounterMySqlSyncConfig++; if (buildCounterMySqlSyncConfig < 3) { - checkUnnamed19(o.initialSyncFlags!); + checkUnnamed20(o.initialSyncFlags!); } buildCounterMySqlSyncConfig--; } @@ -2692,12 +2743,12 @@ void checkOperationError(api.OperationError o) { buildCounterOperationError--; } -core.List buildUnnamed20() => [ +core.List buildUnnamed21() => [ buildOperationError(), buildOperationError(), ]; -void checkUnnamed20(core.List o) { +void checkUnnamed21(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperationError(o[0]); checkOperationError(o[1]); @@ -2708,7 +2759,7 @@ api.OperationErrors buildOperationErrors() { final o = api.OperationErrors(); buildCounterOperationErrors++; if (buildCounterOperationErrors < 3) { - o.errors = buildUnnamed20(); + o.errors = buildUnnamed21(); o.kind = 'foo'; } buildCounterOperationErrors--; @@ -2718,7 +2769,7 @@ api.OperationErrors buildOperationErrors() { void checkOperationErrors(api.OperationErrors o) { buildCounterOperationErrors++; if (buildCounterOperationErrors < 3) { - checkUnnamed20(o.errors!); + checkUnnamed21(o.errors!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2727,12 +2778,12 @@ void checkOperationErrors(api.OperationErrors o) { buildCounterOperationErrors--; } -core.List buildUnnamed21() => [ +core.List buildUnnamed22() => [ buildOperation(), buildOperation(), ]; -void checkUnnamed21(core.List o) { +void checkUnnamed22(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkOperation(o[0]); checkOperation(o[1]); @@ -2743,7 +2794,7 @@ api.OperationsListResponse buildOperationsListResponse() { final o = api.OperationsListResponse(); buildCounterOperationsListResponse++; if (buildCounterOperationsListResponse < 3) { - o.items = buildUnnamed21(); + o.items = buildUnnamed22(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -2754,7 +2805,7 @@ api.OperationsListResponse buildOperationsListResponse() { void checkOperationsListResponse(api.OperationsListResponse o) { buildCounterOperationsListResponse++; if (buildCounterOperationsListResponse < 3) { - checkUnnamed21(o.items!); + checkUnnamed22(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -2856,12 +2907,12 @@ void checkPerformDiskShrinkContext(api.PerformDiskShrinkContext o) { buildCounterPerformDiskShrinkContext--; } -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], @@ -2878,7 +2929,7 @@ api.PscConfig buildPscConfig() { final o = api.PscConfig(); buildCounterPscConfig++; if (buildCounterPscConfig < 3) { - o.allowedConsumerProjects = buildUnnamed22(); + o.allowedConsumerProjects = buildUnnamed23(); o.pscEnabled = true; } buildCounterPscConfig--; @@ -2888,7 +2939,7 @@ api.PscConfig buildPscConfig() { void checkPscConfig(api.PscConfig o) { buildCounterPscConfig++; if (buildCounterPscConfig < 3) { - checkUnnamed22(o.allowedConsumerProjects!); + checkUnnamed23(o.allowedConsumerProjects!); unittest.expect(o.pscEnabled!, unittest.isTrue); } buildCounterPscConfig--; @@ -2929,6 +2980,7 @@ api.ReplicationCluster buildReplicationCluster() { if (buildCounterReplicationCluster < 3) { o.drReplica = true; o.failoverDrReplicaName = 'foo'; + o.psaWriteEndpoint = 'foo'; } buildCounterReplicationCluster--; return o; @@ -2942,6 +2994,10 @@ void checkReplicationCluster(api.ReplicationCluster o) { o.failoverDrReplicaName!, unittest.equals('foo'), ); + unittest.expect( + o.psaWriteEndpoint!, + unittest.equals('foo'), + ); } buildCounterReplicationCluster--; } @@ -3037,12 +3093,12 @@ void checkRotateServerCaContext(api.RotateServerCaContext o) { buildCounterRotateServerCaContext--; } -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], @@ -3054,34 +3110,34 @@ void checkUnnamed23(core.List o) { ); } -core.List buildUnnamed24() => [ +core.List buildUnnamed25() => [ buildDatabaseFlags(), buildDatabaseFlags(), ]; -void checkUnnamed24(core.List o) { +void checkUnnamed25(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDatabaseFlags(o[0]); checkDatabaseFlags(o[1]); } -core.List buildUnnamed25() => [ +core.List buildUnnamed26() => [ buildDenyMaintenancePeriod(), buildDenyMaintenancePeriod(), ]; -void checkUnnamed25(core.List o) { +void checkUnnamed26(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkDenyMaintenancePeriod(o[0]); checkDenyMaintenancePeriod(o[1]); } -core.Map buildUnnamed26() => { +core.Map buildUnnamed27() => { 'x': 'foo', 'y': 'foo', }; -void checkUnnamed26(core.Map o) { +void checkUnnamed27(core.Map o) { unittest.expect(o, unittest.hasLength(2)); unittest.expect( o['x']!, @@ -3101,7 +3157,7 @@ api.Settings buildSettings() { o.activationPolicy = 'foo'; o.activeDirectoryConfig = buildSqlActiveDirectoryConfig(); o.advancedMachineFeatures = buildAdvancedMachineFeatures(); - o.authorizedGaeApplications = buildUnnamed23(); + o.authorizedGaeApplications = buildUnnamed24(); o.availabilityType = 'foo'; o.backupConfiguration = buildBackupConfiguration(); o.collation = 'foo'; @@ -3110,10 +3166,10 @@ api.Settings buildSettings() { o.dataCacheConfig = buildDataCacheConfig(); o.dataDiskSizeGb = 'foo'; o.dataDiskType = 'foo'; - o.databaseFlags = buildUnnamed24(); + o.databaseFlags = buildUnnamed25(); o.databaseReplicationEnabled = true; o.deletionProtectionEnabled = true; - o.denyMaintenancePeriods = buildUnnamed25(); + o.denyMaintenancePeriods = buildUnnamed26(); o.edition = 'foo'; o.enableGoogleMlIntegration = true; o.insightsConfig = buildInsightsConfig(); @@ -3130,7 +3186,7 @@ api.Settings buildSettings() { o.storageAutoResizeLimit = 'foo'; o.tier = 'foo'; o.timeZone = 'foo'; - o.userLabels = buildUnnamed26(); + o.userLabels = buildUnnamed27(); } buildCounterSettings--; return o; @@ -3145,7 +3201,7 @@ void checkSettings(api.Settings o) { ); checkSqlActiveDirectoryConfig(o.activeDirectoryConfig!); checkAdvancedMachineFeatures(o.advancedMachineFeatures!); - checkUnnamed23(o.authorizedGaeApplications!); + checkUnnamed24(o.authorizedGaeApplications!); unittest.expect( o.availabilityType!, unittest.equals('foo'), @@ -3169,10 +3225,10 @@ void checkSettings(api.Settings o) { o.dataDiskType!, unittest.equals('foo'), ); - checkUnnamed24(o.databaseFlags!); + checkUnnamed25(o.databaseFlags!); unittest.expect(o.databaseReplicationEnabled!, unittest.isTrue); unittest.expect(o.deletionProtectionEnabled!, unittest.isTrue); - checkUnnamed25(o.denyMaintenancePeriods!); + checkUnnamed26(o.denyMaintenancePeriods!); unittest.expect( o.edition!, unittest.equals('foo'), @@ -3213,7 +3269,7 @@ void checkSettings(api.Settings o) { o.timeZone!, unittest.equals('foo'), ); - checkUnnamed26(o.userLabels!); + checkUnnamed27(o.userLabels!); } buildCounterSettings--; } @@ -3504,23 +3560,23 @@ void checkSqlInstancesVerifyExternalSyncSettingsRequest( buildCounterSqlInstancesVerifyExternalSyncSettingsRequest--; } -core.List buildUnnamed27() => [ +core.List buildUnnamed28() => [ buildSqlExternalSyncSettingError(), buildSqlExternalSyncSettingError(), ]; -void checkUnnamed27(core.List o) { +void checkUnnamed28(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSqlExternalSyncSettingError(o[0]); checkSqlExternalSyncSettingError(o[1]); } -core.List buildUnnamed28() => [ +core.List buildUnnamed29() => [ buildSqlExternalSyncSettingError(), buildSqlExternalSyncSettingError(), ]; -void checkUnnamed28(core.List o) { +void checkUnnamed29(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSqlExternalSyncSettingError(o[0]); checkSqlExternalSyncSettingError(o[1]); @@ -3532,9 +3588,9 @@ api.SqlInstancesVerifyExternalSyncSettingsResponse final o = api.SqlInstancesVerifyExternalSyncSettingsResponse(); buildCounterSqlInstancesVerifyExternalSyncSettingsResponse++; if (buildCounterSqlInstancesVerifyExternalSyncSettingsResponse < 3) { - o.errors = buildUnnamed27(); + o.errors = buildUnnamed28(); o.kind = 'foo'; - o.warnings = buildUnnamed28(); + o.warnings = buildUnnamed29(); } buildCounterSqlInstancesVerifyExternalSyncSettingsResponse--; return o; @@ -3544,12 +3600,12 @@ void checkSqlInstancesVerifyExternalSyncSettingsResponse( api.SqlInstancesVerifyExternalSyncSettingsResponse o) { buildCounterSqlInstancesVerifyExternalSyncSettingsResponse++; if (buildCounterSqlInstancesVerifyExternalSyncSettingsResponse < 3) { - checkUnnamed27(o.errors!); + checkUnnamed28(o.errors!); unittest.expect( o.kind!, unittest.equals('foo'), ); - checkUnnamed28(o.warnings!); + checkUnnamed29(o.warnings!); } buildCounterSqlInstancesVerifyExternalSyncSettingsResponse--; } @@ -3676,12 +3732,12 @@ void checkSqlServerDatabaseDetails(api.SqlServerDatabaseDetails o) { buildCounterSqlServerDatabaseDetails--; } -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], @@ -3699,7 +3755,7 @@ api.SqlServerUserDetails buildSqlServerUserDetails() { buildCounterSqlServerUserDetails++; if (buildCounterSqlServerUserDetails < 3) { o.disabled = true; - o.serverRoles = buildUnnamed29(); + o.serverRoles = buildUnnamed30(); } buildCounterSqlServerUserDetails--; return o; @@ -3709,7 +3765,7 @@ void checkSqlServerUserDetails(api.SqlServerUserDetails o) { buildCounterSqlServerUserDetails++; if (buildCounterSqlServerUserDetails < 3) { unittest.expect(o.disabled!, unittest.isTrue); - checkUnnamed29(o.serverRoles!); + checkUnnamed30(o.serverRoles!); } buildCounterSqlServerUserDetails--; } @@ -3877,12 +3933,12 @@ void checkSslCertsInsertResponse(api.SslCertsInsertResponse o) { buildCounterSslCertsInsertResponse--; } -core.List buildUnnamed30() => [ +core.List buildUnnamed31() => [ buildSslCert(), buildSslCert(), ]; -void checkUnnamed30(core.List o) { +void checkUnnamed31(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkSslCert(o[0]); checkSslCert(o[1]); @@ -3893,7 +3949,7 @@ api.SslCertsListResponse buildSslCertsListResponse() { final o = api.SslCertsListResponse(); buildCounterSslCertsListResponse++; if (buildCounterSslCertsListResponse < 3) { - o.items = buildUnnamed30(); + o.items = buildUnnamed31(); o.kind = 'foo'; } buildCounterSslCertsListResponse--; @@ -3903,7 +3959,7 @@ api.SslCertsListResponse buildSslCertsListResponse() { void checkSslCertsListResponse(api.SslCertsListResponse o) { buildCounterSslCertsListResponse++; if (buildCounterSslCertsListResponse < 3) { - checkUnnamed30(o.items!); + checkUnnamed31(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -3939,12 +3995,12 @@ void checkSyncFlags(api.SyncFlags o) { buildCounterSyncFlags--; } -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], @@ -3964,7 +4020,7 @@ api.Tier buildTier() { o.DiskQuota = 'foo'; o.RAM = 'foo'; o.kind = 'foo'; - o.region = buildUnnamed31(); + o.region = buildUnnamed32(); o.tier = 'foo'; } buildCounterTier--; @@ -3986,7 +4042,7 @@ void checkTier(api.Tier o) { o.kind!, unittest.equals('foo'), ); - checkUnnamed31(o.region!); + checkUnnamed32(o.region!); unittest.expect( o.tier!, unittest.equals('foo'), @@ -3995,12 +4051,12 @@ void checkTier(api.Tier o) { buildCounterTier--; } -core.List buildUnnamed32() => [ +core.List buildUnnamed33() => [ buildTier(), buildTier(), ]; -void checkUnnamed32(core.List o) { +void checkUnnamed33(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkTier(o[0]); checkTier(o[1]); @@ -4011,7 +4067,7 @@ api.TiersListResponse buildTiersListResponse() { final o = api.TiersListResponse(); buildCounterTiersListResponse++; if (buildCounterTiersListResponse < 3) { - o.items = buildUnnamed32(); + o.items = buildUnnamed33(); o.kind = 'foo'; } buildCounterTiersListResponse--; @@ -4021,7 +4077,7 @@ api.TiersListResponse buildTiersListResponse() { void checkTiersListResponse(api.TiersListResponse o) { buildCounterTiersListResponse++; if (buildCounterTiersListResponse < 3) { - checkUnnamed32(o.items!); + checkUnnamed33(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4156,12 +4212,12 @@ void checkUserPasswordValidationPolicy(api.UserPasswordValidationPolicy o) { buildCounterUserPasswordValidationPolicy--; } -core.List buildUnnamed33() => [ +core.List buildUnnamed34() => [ buildUser(), buildUser(), ]; -void checkUnnamed33(core.List o) { +void checkUnnamed34(core.List o) { unittest.expect(o, unittest.hasLength(2)); checkUser(o[0]); checkUser(o[1]); @@ -4172,7 +4228,7 @@ api.UsersListResponse buildUsersListResponse() { final o = api.UsersListResponse(); buildCounterUsersListResponse++; if (buildCounterUsersListResponse < 3) { - o.items = buildUnnamed33(); + o.items = buildUnnamed34(); o.kind = 'foo'; o.nextPageToken = 'foo'; } @@ -4183,7 +4239,7 @@ api.UsersListResponse buildUsersListResponse() { void checkUsersListResponse(api.UsersListResponse o) { buildCounterUsersListResponse++; if (buildCounterUsersListResponse < 3) { - checkUnnamed33(o.items!); + checkUnnamed34(o.items!); unittest.expect( o.kind!, unittest.equals('foo'), @@ -4237,6 +4293,16 @@ void main() { }); }); + unittest.group('obj-schema-AvailableDatabaseVersion', () { + unittest.test('to-json--from-json', () async { + final o = buildAvailableDatabaseVersion(); + final oJson = convert.jsonDecode(convert.jsonEncode(o)); + final od = api.AvailableDatabaseVersion.fromJson( + oJson as core.Map); + checkAvailableDatabaseVersion(od); + }); + }); + unittest.group('obj-schema-BackupConfiguration', () { unittest.test('to-json--from-json', () async { final o = buildBackupConfiguration(); diff --git a/generated/googleapis_beta/test/toolresults/v1beta3_test.dart b/generated/googleapis_beta/test/toolresults/v1beta3_test.dart index eb7c408e1..c01fef049 100644 --- a/generated/googleapis_beta/test/toolresults/v1beta3_test.dart +++ b/generated/googleapis_beta/test/toolresults/v1beta3_test.dart @@ -1,6 +1,7 @@ // 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 diff --git a/overrides/i411.diff b/overrides/i411.diff index b87635246..8d20aca1a 100644 --- a/overrides/i411.diff +++ b/overrides/i411.diff @@ -4,7 +4,7 @@ index fa0986123..2d66e6fbe 100644 +++ b/discovery/googleapis/admob__v1.json @@ -455,21 +455,24 @@ "GenerateMediationReportResponse": { - "description": "The streaming response for the AdMob mediation report where the first response contains the report header, then a stream of row responses, and finally a footer as the last response message. For example: [{ \"header\": { \"date_range\": { \"start_date\": {\"year\": 2018, \"month\": 9, \"day\": 1}, \"end_date\": {\"year\": 2018, \"month\": 9, \"day\": 1} }, \"localization_settings\": { \"currency_code\": \"USD\", \"language_code\": \"en-US\" } } }, { \"row\": { \"dimension_values\": { \"DATE\": {\"value\": \"20180918\"}, \"APP\": { \"value\": \"ca-app-pub-8123415297019784~1001342552\", \"display_label\": \"My app name!\" } }, \"metric_values\": { \"ESTIMATED_EARNINGS\": {\"decimal_value\": \"1324746\"} } } }, { \"footer\": {\"matching_row_count\": 1} }]", + "description": "The streaming response for the AdMob Mediation report where the first response contains the report header, then a stream of row responses, and finally a footer as the last response message. For example: [{ \"header\": { \"date_range\": { \"start_date\": {\"year\": 2018, \"month\": 9, \"day\": 1}, \"end_date\": {\"year\": 2018, \"month\": 9, \"day\": 1} }, \"localization_settings\": { \"currency_code\": \"USD\", \"language_code\": \"en-US\" } } }, { \"row\": { \"dimension_values\": { \"DATE\": {\"value\": \"20180918\"}, \"APP\": { \"value\": \"ca-app-pub-8123415297019784~1001342552\", \"display_label\": \"My app name!\" } }, \"metric_values\": { \"ESTIMATED_EARNINGS\": {\"decimal_value\": \"1324746\"} } } }, { \"footer\": {\"matching_row_count\": 1} }]", "id": "GenerateMediationReportResponse", - "properties": { - "footer": { diff --git a/resources/googleapis/CHANGELOG.md b/resources/googleapis/CHANGELOG.md index 3bba86575..57bb557c5 100644 --- a/resources/googleapis/CHANGELOG.md +++ b/resources/googleapis/CHANGELOG.md @@ -7,6 +7,7 @@ - `addressvalidation` - new! - `cloudcontrolspartner` - new! +- `developerconnect` - new! - `solar` - new! ## 13.1.0